:root {
        --brand: #0A58CA;
        --brand-dark: #0947A8;
        --brand-light: #E8F0FE;
        --gray-50: #F8F9FC;
        --gray-100: #F1F3F7;
        --gray-200: #E9ECF0;
        --gray-500: #9AA4B2;
        --gray-600: #6C757D;
        --gray-700: #495057;
        --gray-800: #212529;
        --gray-900: #1A1F2C;
        --shadow-sm: 0 1px 2px rgba(0,0,0,0.02), 0 4px 12px rgba(0,0,0,0.03);
        --shadow-md: 0 4px 12px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
        --shadow-lg: 0 20px 35px -12px rgba(0,0,0,0.08);
        --radius: 20px;
        --radius-sm: 14px;
    }

    .breadcrumb-section {
        background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
        border-bottom: 1px solid var(--gray-200);
    }
    .breadcrumb {
        --bs-breadcrumb-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 24 24' fill='none' stroke='%236C757D' stroke-width='2'%3E%3Cpolyline points='15 18 9 12 15 6'%3E%3C/polyline%3E%3C/svg%3E");
    }
    .breadcrumb-item a {
        text-decoration: none;
        transition: color 0.2s;
    }
    .breadcrumb-item a:hover {
        color: var(--brand);
    }

    /* Product Gallery */
    .product-gallery {
        position: relative;
    }
    .main-image {
        position: relative;
        display: block;
        width: 100%;
        padding: 0;
        border: 0;
        background: transparent;
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        cursor: zoom-in;
    }
    .main-image img {
        transition: transform 0.3s ease;
        display: block;
        width: 100%;
    }
    .main-image:hover img {
        transform: scale(1.02);
    }
    .main-image-zoom-hint {
        position: absolute;
        left: 14px;
        bottom: 14px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(15, 23, 42, 0.62);
        color: #fff;
        font-size: 1.15rem;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
    .main-image:hover .main-image-zoom-hint {
        opacity: 0.95;
        transform: scale(1.05);
    }
    .thumbnail-list {
        padding-bottom: 8px;
        scrollbar-width: thin;
    }
    .thumbnail-list::-webkit-scrollbar {
        height: 4px;
    }
    .thumbnail-list::-webkit-scrollbar-track {
        background: var(--gray-200);
        border-radius: 4px;
    }
    .thumbnail-list::-webkit-scrollbar-thumb {
        background: var(--brand);
        border-radius: 4px;
    }
    .thumbnail-item {
        display: block;
        flex: 0 0 auto;
        border-radius: 12px;
        overflow: hidden;
        transition: all 0.2s;
        opacity: 0.6;
        border: 2px solid transparent;
        cursor: pointer;
        line-height: 0;
        text-decoration: none;
    }
    .thumbnail-item.active {
        opacity: 1;
        border-color: var(--brand);
        box-shadow: 0 0 0 2px var(--brand-light);
    }
    .thumbnail-item:hover {
        opacity: 0.8;
        transform: translateY(-2px);
    }

    /* Product title — 20% smaller than display-6 */
    .product-detail h1[itemprop="name"].display-6 {
        font-size: calc((1.375rem + 1.5vw) * 0.8);
    }
    @media (min-width: 1200px) {
        .product-detail h1[itemprop="name"].display-6 {
            font-size: 2rem;
        }
    }

    .btn-brand {
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
        color: #fff;
        border: none;
        border-radius: 44px;
        padding: 0.65rem 1.35rem;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    .btn-brand:hover,
    .btn-brand:focus {
        background: linear-gradient(135deg, var(--brand-dark), var(--brand));
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(10, 88, 202, 0.25);
    }
    .btn-brand:disabled {
        opacity: 0.65;
        transform: none;
        cursor: not-allowed;
    }
    .btn-review-cta {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
        box-shadow: 0 10px 24px rgba(10, 88, 202, 0.22);
    }
    .btn-review-cta:hover {
        box-shadow: 0 14px 28px rgba(10, 88, 202, 0.28);
    }

    /* Product Price */
    .old-price {
        text-decoration: line-through;
        color: var(--gray-500);
        font-size: 1.1rem;
    }
    .new-price {
        color: var(--brand);
        font-size: 2rem;
        font-weight: 800;
    }

    /* Quantity Selector */
    .quantity-selector {
        background: white;
        border: 1px solid var(--gray-200);
        border-radius: 44px;
        overflow: hidden;
    }
    .quantity-selector .btn {
        background: transparent;
        border: none;
        padding: 0.6rem 1rem;
        transition: background 0.2s;
    }
    .quantity-selector .btn:hover {
        background: var(--brand-light);
    }
    .quantity-input {
        width: 60px;
        text-align: center;
        border: none;
        font-weight: 600;
        font-size: 1rem;
    }
    .quantity-input:focus {
        outline: none;
        box-shadow: none;
    }

    /* Rating Input */
    .rating-input {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        gap: 8px;
    }
    .rating-input .star-label {
        font-size: 2rem;
        color: var(--gray-300);
        cursor: pointer;
        transition: all 0.2s;
    }
    .rating-input .star-label:hover,
    .rating-input .star-label:hover ~ .star-label,
    .rating-input input:checked ~ .star-label {
        color: #FBBF24;
        transform: scale(1.05);
    }

    /* Product Tabs */
    .product-tabs {
        border-bottom: 1px solid var(--gray-200);
    }
    .product-tabs .nav-link {
        color: var(--gray-600);
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        border: none;
        border-radius: 0;
        transition: all 0.2s;
    }
    .product-tabs .nav-link:hover {
        color: var(--brand);
    }
    .product-tabs .nav-link.active {
        color: var(--brand);
        border-bottom: 2px solid var(--brand);
        background: transparent;
    }
    .product-specs-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .product-spec-card {
        background: #f8fafc;
        border: 1px solid var(--gray-200);
        border-radius: 16px;
        padding: 14px 16px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .product-spec-label {
        font-size: 0.78rem;
        color: var(--gray-600);
        font-weight: 700;
    }
    .product-spec-value {
        font-weight: 800;
        color: var(--gray-900);
    }
    .product-buy-btn {
        background: linear-gradient(135deg, var(--brand), var(--brand-dark));
        border: 0;
        color: #fff;
        font-weight: 800;
        box-shadow: 0 16px 30px rgba(10, 88, 202, 0.22);
    }
    .product-buy-btn:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(10, 88, 202, 0.28);
    }
    .share-buttons {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
    .share-buttons strong {
        margin-inline-end: 2px;
    }
    .share-btn {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        border: 1px solid var(--gray-200);
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
        box-shadow: var(--shadow-sm);
    }
    .share-btn i {
        font-size: 1.2rem;
    }
    .share-btn[data-platform="telegram"] {
        color: #229ED9;
    }
    .share-btn[data-platform="whatsapp"] {
        color: #25D366;
    }
    .share-btn[data-platform="copy"] {
        color: #0A58CA;
    }
    .share-btn:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
        border-color: var(--brand-light);
        background: var(--brand-light);
    }

    /* Product Card */
    .product-card {
        background: white;
        border-radius: var(--radius-sm);
        overflow: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--gray-200);
        height: 100%;
    }
    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }
    .product-card .card-image {
        position: relative;
        overflow: hidden;
        height: 200px;
    }
    .product-card .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .product-card:hover .card-image img {
        transform: scale(1.05);
    }
    .discount-badge {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 2;
        background: linear-gradient(135deg, #DC2626, #B91C1C);
        padding: 4px 10px;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 700;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* Toast Notification */
    .toast-notification {
        position: fixed;
        bottom: 24px;
        right: 24px;
        padding: 14px 24px;
        border-radius: 12px;
        color: white;
        font-weight: 500;
        z-index: 10000;
        transform: translateX(400px);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .toast-notification.toast-success {
        background: linear-gradient(135deg, #10B981, #059669);
    }
    .toast-notification.toast-error {
        background: linear-gradient(135deg, #EF4444, #DC2626);
    }
    .toast-notification.toast-info {
        background: linear-gradient(135deg, #0A58CA, #0947A8);
    }

    /* Loading Button */
    .btn-loading {
        position: relative;
        pointer-events: none;
        opacity: 0.7;
    }
    .btn-loading::after {
        content: '';
        position: absolute;
        width: 16px;
        height: 16px;
        top: 50%;
        left: 50%;
        margin-top: -8px;
        margin-left: -8px;
        border: 2px solid transparent;
        border-top-color: currentColor;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }
    @keyframes spin {
        to { transform: rotate(360deg); }
    }

    /* Responsive */
    @media (max-width: 768px) {
        .new-price {
            font-size: 1.5rem;
        }
        .quantity-selector .btn {
            padding: 0.4rem 0.8rem;
        }
        .product-tabs .nav-link {
            padding: 0.5rem 1rem;
            font-size: 0.85rem;
        }
    }

    .product-variants .variant-option {
        border-radius: 14px;
        min-width: 110px;
        text-align: center;
    }
    .product-variants .variant-option.active,
    .product-variants .variant-option[aria-pressed="true"] {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand);
    }
    .product-variants .variant-option.active .small,
    .product-variants .variant-option[aria-pressed="true"] .small {
        color: rgba(255, 255, 255, 0.9) !important;
    }
