/* ==========================================
   Samsung Galaxy A06 PDP - Cell C Styles
   ========================================== */

:root {
    --cellc-orange: #ea5b0c;
    --cellc-dark: #1a1a1a;
    --cellc-white: #ffffff;
    --cellc-gray: #666666;
    --cellc-light-gray: #f5f5f5;
    --font-primary: 'Poppins', sans-serif;
}

.pdp-page {
    background: var(--cellc-dark);
    min-height: 100vh;
    background-image: url('https://www.cellc.co.za/cellc/img/productDetailsUI/background-stripes.png');
    background-repeat: repeat;
    padding-bottom: 120px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Cart Count Badge */
.btn-cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--cellc-orange);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Notification */
.cart-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #2a2a2a;
    border: 2px solid var(--cellc-orange);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    z-index: 9999;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--cellc-white);
    font-weight: 600;
}

.notification-content svg {
    color: var(--cellc-orange);
    flex-shrink: 0;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cellc-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.5rem 0;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: var(--cellc-orange);
}

.back-btn svg {
    transition: transform 0.3s ease;
}

.back-btn:hover svg {
    transform: translateX(-3px);
}

/* Product Hero Section */
.product-hero {
    padding: 2rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-image-section {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: sticky;
    top: 100px;
}

.product-image {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* Product Info Section */
.product-info-section {
    color: var(--cellc-white);
}

.product-brand {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--cellc-orange);
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.95rem;
}

.meta-item svg {
    color: var(--cellc-orange);
}

.product-ccd {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}

/* Section Titles */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--cellc-white);
    margin-bottom: 1rem;
}

.section-title-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cellc-white);
    margin-bottom: 2rem;
}

/* Contract Toggle */
.contract-section {
    margin-bottom: 2rem;
}

.contract-toggle {
    display: inline-flex;
    background: #2a2a2a;
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    padding: 0.75rem 2rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: #888;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: var(--cellc-orange);
    color: var(--cellc-white);
}

.toggle-btn:hover:not(.active) {
    color: var(--cellc-white);
}

/* Color Selection */
.color-section {
    margin-bottom: 2rem;
}

.color-options {
    display: flex;
    gap: 1rem;
}

.color-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #2a2a2a;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-btn.active {
    border-color: var(--cellc-orange);
    background: rgba(234, 91, 12, 0.1);
}

.color-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #444;
}

.color-name {
    color: var(--cellc-white);
    font-weight: 600;
}

/* Storage Selection */
.storage-section {
    margin-bottom: 2rem;
}

.storage-options {
    display: flex;
    gap: 1rem;
}

.storage-btn {
    padding: 0.75rem 1.5rem;
    background: #2a2a2a;
    border: 2px solid transparent;
    border-radius: 12px;
    color: var(--cellc-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.storage-btn.active {
    border-color: var(--cellc-orange);
    background: rgba(234, 91, 12, 0.1);
}

/* Inline Buy Now Button */
.inline-call-back {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.btn-call-back-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 2.5rem;
    background: var(--cellc-orange);
    color: var(--cellc-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-call-back-inline:hover {
    background: #d04f00;
    transform: scale(1.02);
}

.btn-call-back-inline svg {
    transition: transform 0.3s ease;
}

.btn-call-back-inline:hover svg {
    transform: translateY(2px);
}

/* Package Section */
.package-section {
    padding: 3rem 0;
}

.package-scroll-wrapper {
    position: relative;
}

.package-scroll-container {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--cellc-orange) #2a2a2a;
}

.package-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.package-scroll-container::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.package-scroll-container::-webkit-scrollbar-thumb {
    background: var(--cellc-orange);
    border-radius: 4px;
}

.package-card {
    min-width: 280px;
    flex-shrink: 0;
    background: #2a2a2a;
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(234, 91, 12, 0.2);
}

.package-card.active {
    border-color: var(--cellc-orange);
    background: rgba(234, 91, 12, 0.05);
}

.package-badge {
    background: var(--cellc-orange);
    color: var(--cellc-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
}

.package-data {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cellc-white);
    margin-bottom: 0.25rem;
}

.package-label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.detail-item svg {
    color: var(--cellc-orange);
    flex-shrink: 0;
}

/* Mobicred Section */
.mobicred-section {
    padding: 2rem 0 3rem;
}

.mobicred-card {
    background: #2a2a2a;
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    max-width: 400px;
}

.mobicred-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.mobicred-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cellc-white);
    margin-bottom: 0.5rem;
}

.mobicred-text {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.mobicred-link {
    color: var(--cellc-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobicred-link:hover {
    color: #d04f00;
}

/* Help Section */
.help-section {
    padding: 4rem 0;
    background: #0a0a0a;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.help-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-icon {
    margin-bottom: 1.5rem;
}

.help-icon img {
    width: 64px;
    height: 64px;
}

.help-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--cellc-orange);
    margin-bottom: 1rem;
}

.help-description {
    font-size: 1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.help-link {
    color: var(--cellc-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #d04f00;
}

/* Fixed Bottom Bar */
.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0a0a0a;
    border-top: 2px solid #2a2a2a;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.fixed-bottom-bar.visible {
    opacity: 1;
    transform: translateY(0);
}

.fixed-bottom-bar.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
}

.bottom-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.monthly-cost-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cost-label {
    font-size: 0.9rem;
    color: #888;
}

.cost-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--cellc-white);
}

.btn-call-back {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: var(--cellc-orange);
    color: var(--cellc-white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-call-back:hover {
    background: #d04f00;
    transform: scale(1.05);
}

.btn-call-back svg {
    transition: transform 0.3s ease;
}

.btn-call-back:hover svg {
    transform: translateY(2px);
}

/* Utility Classes */
.d-none {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-section {
        position: static;
        min-height: 400px;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .section-title-main {
        font-size: 1.5rem;
    }

    .contract-toggle {
        width: 100%;
        flex-direction: column;
    }

    .toggle-btn {
        width: 100%;
        text-align: center;
    }

    .package-card {
        min-width: 250px;
    }

    .bottom-bar-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .btn-call-back {
        width: 100%;
        justify-content: center;
    }

    .cost-amount {
        font-size: 1.75rem;
    }

    .cart-notification {
        right: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .product-image-section {
        padding: 2rem;
        min-height: 300px;
    }

    .product-title {
        font-size: 1.5rem;
    }

    .package-card {
        min-width: 220px;
    }

    .package-data {
        font-size: 2rem;
    }
}