    html {
        scroll-behavior: smooth;
    }

    .product-detail-page {
        max-width: 1180px;
        margin: 20px auto 40px;
        padding: 0 16px;
    }

    .product-detail-breadcrumb {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 18px;
        font-size: 13px;
        color: #64748b;
    }

    .product-detail-breadcrumb a {
        color: inherit;
        text-decoration: none;
        font-weight: 700;
    }

    .product-detail-shell {
        display: grid;
        grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .product-detail-card {
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 24px;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    }

    .product-detail-gallery {
        position: relative;
        padding: 16px;
    }

    .product-detail-gallery-badge {
        position: absolute;
        top: 28px;
        left: 28px;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 32px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(190, 24, 93, 0.96);
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        box-shadow: 0 12px 22px rgba(190, 24, 93, 0.25);
    }

    .product-detail-summary {
        padding: 24px;
    }

    .product-detail-guarantee {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 6px 12px;
        border-radius: 999px;
        margin-bottom: 14px;
        background: #ecfdf5;
        border: 1px solid #bbf7d0;
        color: #166534;
        font-size: 12px;
        font-weight: 900;
    }

    .product-detail-promo-soon {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 8px 14px;
        border-radius: 999px;
        margin: 0 0 14px;
        background: #dc2626;
        border: 1px solid #fca5a5;
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.02em;
        box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
        animation: product-detail-danger-blink 1s ease-in-out infinite;
    }

    .product-detail-promo-soon::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    }

    @keyframes product-detail-danger-blink {
        0%,
        100% {
            opacity: 1;
            transform: scale(1);
            box-shadow: 0 12px 24px rgba(220, 38, 38, 0.28);
        }

        50% {
            opacity: 0.52;
            transform: scale(1.02);
            box-shadow: 0 18px 30px rgba(220, 38, 38, 0.42);
        }
    }

    .product-detail-promo-ending {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 8px 14px;
        border-radius: 999px;
        margin: 0 0 14px;
        background: #f97316;
        border: 1px solid #fdba74;
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.02em;
        box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
        animation: product-detail-warning-blink 1s ease-in-out infinite;
    }

    .product-detail-promo-ending::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    }

    .product-detail-promo-live,
    .product-detail-promo-expired {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 34px;
        padding: 8px 14px;
        border-radius: 999px;
        margin: 0 0 14px;
        color: #ffffff;
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.02em;
    }

    .product-detail-promo-live {
        background: #15803d;
        border: 1px solid #86efac;
        box-shadow: 0 12px 24px rgba(21, 128, 61, 0.24);
    }

    .product-detail-promo-expired {
        background: #475569;
        border: 1px solid #94a3b8;
        box-shadow: 0 12px 24px rgba(71, 85, 105, 0.2);
    }

    .product-detail-promo-live::before,
    .product-detail-promo-expired::before {
        content: '';
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
    }

    @keyframes product-detail-warning-blink {
        0%,
        100% {
            opacity: 1;
            transform: scale(1);
            box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
        }

        50% {
            opacity: 0.58;
            transform: scale(1.02);
            box-shadow: 0 18px 30px rgba(249, 115, 22, 0.4);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .product-detail-promo-soon,
        .product-detail-promo-ending,
        .product-detail-promo-live,
        .product-detail-promo-expired {
            animation: none;
        }
    }

    .product-detail-chip-row {
        display: flex;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .product-detail-chip {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 6px 11px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        text-decoration: none;
        border: 1px solid #e5e7eb;
        background: #f8fafc;
        color: #0f172a;
    }

    .product-detail-chip.is-category {
        background: #eef2ff;
        color: #3730a3;
        border-color: #c7d2fe;
    }

    .product-detail-chip.is-promo {
        background: #fee2e2;
        color: #b91c1c;
        border-color: #fecaca;
    }

    .product-detail-chip.is-stock {
        background: #ecfdf5;
        color: #166534;
        border-color: #bbf7d0;
    }

    .product-detail-title {
        margin: 0 0 14px;
        font-size: 38px;
        line-height: 1.08;
        color: #111827;
    }

    .product-detail-price-before {
        margin-bottom: 6px;
        font-size: 16px;
        color: #94a3b8;
        text-decoration: line-through;
    }

    .product-detail-rating-row {
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 0 0 12px;
        color: #475569;
        font-size: 14px;
        line-height: 1.5;
        font-weight: 700;
        flex-wrap: wrap;
    }

    .product-detail-rating-star {
        color: #f59e0b;
        font-size: 16px;
        line-height: 1;
    }

    .product-detail-rating-value {
        color: #111827;
        font-weight: 900;
    }

    .product-detail-rating-empty {
        color: #94a3b8;
        font-weight: 700;
    }

    .product-detail-price {
        margin-bottom: 14px;
        font-size: 38px;
        font-weight: 900;
        color: #111827;
    }

    .product-detail-price-inline {
        display: flex;
        align-items: baseline;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 18px;
    }

    .product-detail-weight {
        font-size: 15px;
        font-weight: 800;
        color: #475569;
    }

    .product-detail-lead {
        margin: 0 0 18px;
        font-size: 15px;
        line-height: 1.75;
        color: #475569;
    }

    .product-detail-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-bottom: 18px;
    }

    .product-detail-meta-item {
        padding: 12px 14px;
        border-radius: 16px;
        border: 1px solid #e5e7eb;
        background: #f8fafc;
    }

    .product-detail-meta-label {
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 800;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .product-detail-meta-value {
        font-size: 14px;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.45;
    }

    .product-detail-buy-form {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        gap: 10px;
        margin-bottom: 14px;
    }

    .product-detail-qty-label {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        color: #64748b;
        font-weight: 700;
    }

    .product-detail-qty-input {
        width: 44px;
        height: 44px;
        border: none;
        border-radius: 0;
        padding: 0;
        font-size: 15px;
        font-weight: 800;
        background: transparent;
        color: #0f172a;
        box-sizing: border-box;
        text-align: center;
    }

    .product-detail-qty-input::-webkit-outer-spin-button,
    .product-detail-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .product-detail-qty-stepper {
        display: inline-grid;
        grid-template-columns: 44px 44px 44px;
        align-items: center;
        border: 1px solid #d1d5db;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
    }

    .product-detail-step-button {
        width: 44px;
        height: 44px;
        border: none;
        background: #f8fafc;
        color: #111827;
        font-size: 20px;
        font-weight: 800;
        cursor: pointer;
    }

    .product-detail-action {
        min-height: 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 14px;
        border: none;
        font-size: 14px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
        box-sizing: border-box;
    }

    .product-detail-action-primary {
        background: #111827;
        color: #ffffff;
    }

    .product-detail-action svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex: 0 0 auto;
    }

    .product-detail-secondary-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-bottom: 14px;
    }

    .product-detail-secondary-button {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 10px 14px;
        border-radius: 12px;
        border: 1px solid #dbe4f0;
        background: #ffffff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        cursor: pointer;
    }

    .product-detail-secondary-form {
        margin: 0;
    }

    .product-detail-share-group {
        display: grid;
        gap: 12px;
        margin-bottom: 18px;
    }

    .product-detail-share-title {
        margin: 0;
    }

    .product-detail-title-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 10px 16px;
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
        color: #111827;
        font-size: 14px;
        font-weight: 900;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    }

    .product-detail-title-badge.is-shipping {
        background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .product-detail-title-badge.is-description {
        background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
        border-color: #fed7aa;
        color: #c2410c;
    }

    .product-detail-share-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .product-detail-share-button {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 12px;
        border: 1px solid #dbe4f0;
        background: #ffffff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
        box-sizing: border-box;
    }

    .product-detail-share-button svg {
        width: 16px;
        height: 16px;
        fill: currentColor;
        flex: 0 0 auto;
    }

    .product-detail-share-button.is-whatsapp {
        background: #ecfdf5;
        border-color: #bbf7d0;
        color: #15803d;
    }

    .product-detail-share-button.is-facebook {
        background: #eff6ff;
        border-color: #bfdbfe;
        color: #1d4ed8;
    }

    .product-detail-share-button.is-telegram {
        background: #f0f9ff;
        border-color: #bae6fd;
        color: #0284c7;
    }

    .product-detail-share-button.is-x {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: #111827;
    }

    .product-detail-note-card {
        padding: 16px 18px;
        border-radius: 18px;
        border: 1px solid #e5e7eb;
        background: #fafaf9;
    }

    .product-detail-note-title {
        margin: 0 0 12px;
    }

    .product-detail-note-list {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 8px;
        color: #475569;
        font-size: 14px;
        line-height: 1.7;
    }

    .product-detail-note-copy {
        margin: 0 0 16px;
        color: #475569;
        font-size: 14px;
        line-height: 1.8;
        font-weight: 700;
    }

    .product-detail-guideline-grid {
        display: grid;
        gap: 12px;
    }

    .product-detail-guideline-block {
        padding: 14px;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }

    .product-detail-guideline-block.is-note {
        background: #eff6ff;
        border-color: #bfdbfe;
    }

    .product-detail-guideline-title {
        margin: 0 0 10px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #0f172a;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.5;
    }

    .product-detail-guideline-index {
        min-width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #dbeafe;
        color: #1d4ed8;
        font-size: 12px;
        font-weight: 900;
        flex: 0 0 auto;
    }

    .product-detail-guideline-list {
        margin: 0;
        padding-left: 18px;
        display: grid;
        gap: 8px;
        color: #475569;
        font-size: 14px;
        line-height: 1.75;
    }

    .product-detail-sections {
        display: grid;
        gap: 20px;
        margin-top: 24px;
    }

    .product-detail-section {
        padding: 22px;
    }

    .product-detail-section-title {
        margin: 0 0 16px;
    }

    .product-detail-description {
        font-size: 15px;
        line-height: 1.85;
        color: #334155;
    }

    .product-detail-description strong {
        font-weight: 800;
        color: #0f172a;
    }

    .product-detail-description em {
        font-style: italic;
        color: #475569;
    }

    .product-detail-description-accent {
        font-weight: 800;
    }

    .product-detail-description-accent.is-merah {
        color: #b91c1c;
    }

    .product-detail-description-accent.is-hijau {
        color: #15803d;
    }

    .product-detail-description-accent.is-oranye {
        color: #c2410c;
    }

    .product-detail-description-accent.is-biru {
        color: #1d4ed8;
    }

    .product-detail-description-accent.is-emas {
        color: #b45309;
    }

    .product-detail-description-accent.is-ungu {
        color: #7c3aed;
    }

    .product-detail-description-accent.is-pink {
        color: #db2777;
    }

    .product-detail-description-accent.is-abu {
        color: #475569;
    }

    .product-detail-description-accent.is-hitam {
        color: #111827;
    }

    .product-detail-description-hashtag {
        display: inline-flex;
        align-items: center;
        margin: 2px 4px 2px 0;
        padding: 2px 10px;
        border-radius: 999px;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.5;
    }

    .product-detail-disclaimer {
        margin-top: 16px;
        font-size: 14px;
        line-height: 1.8;
        color: #475569;
        font-weight: 700;
    }

    .product-detail-faq-list {
        display: grid;
        gap: 12px;
    }

    .product-detail-faq-item {
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #f8fafc;
        overflow: hidden;
    }

    .product-detail-faq-item summary {
        cursor: pointer;
        list-style: none;
        padding: 14px 16px;
        font-size: 15px;
        font-weight: 800;
        color: #111827;
    }

    .product-detail-faq-item summary::-webkit-details-marker {
        display: none;
    }

    .product-detail-faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
        line-height: 1.75;
        color: #475569;
    }

    .product-detail-review-list {
        display: grid;
        gap: 12px;
    }

    .product-detail-review-summary {
        display: grid;
        gap: 10px;
        margin-bottom: 14px;
        padding: 16px;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        background: linear-gradient(180deg, #fffdf7, #ffffff);
    }

    .product-detail-review-summary-row {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr) 64px;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        color: #475569;
        font-weight: 700;
    }

    .product-detail-review-summary-bar {
        position: relative;
        height: 8px;
        border-radius: 999px;
        background: #e2e8f0;
        overflow: hidden;
    }

    .product-detail-review-summary-bar::before {
        content: '';
        position: absolute;
        inset: 0 auto 0 0;
        width: var(--review-bar-width, 0%);
        border-radius: inherit;
        background: linear-gradient(90deg, #f59e0b, #fbbf24);
    }

    .product-detail-review-summary-count {
        text-align: right;
        white-space: nowrap;
        color: #111827;
        font-weight: 800;
    }

    .product-detail-testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
    }

    .product-detail-testimonial-card {
        background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
        border: 1px solid #dbe4f0;
        border-radius: 20px;
        padding: 16px;
        box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
    }

    .product-detail-testimonial-stars {
        color: #f59e0b;
        font-size: 14px;
        letter-spacing: 0.16em;
        margin-bottom: 10px;
    }

    .product-detail-testimonial-copy {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.65;
        color: #334155;
    }

    .product-detail-testimonial-customer {
        font-size: 15px;
        font-weight: 800;
        color: #0f172a;
    }

    .product-detail-testimonial-product {
        margin-top: 4px;
        font-size: 12px;
        color: #64748b;
    }

    .product-detail-review-item {
        padding: 14px 16px;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        background: #f8fafc;
    }

    .product-detail-review-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 8px;
    }

    .product-detail-review-name {
        font-size: 14px;
        font-weight: 800;
        color: #111827;
    }

    .product-detail-review-rating {
        font-size: 13px;
        font-weight: 800;
        color: #f59e0b;
    }

    .product-detail-review-text {
        font-size: 14px;
        line-height: 1.75;
        color: #475569;
    }

    .product-detail-review-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: inherit;
        text-decoration: none;
        flex-wrap: wrap;
    }

    .product-detail-review-link:hover {
        color: #0f172a;
    }

    .product-detail-anchor-section {
        scroll-margin-top: 120px;
    }

    .product-detail-related {
        margin-top: 28px;
    }

    .product-detail-related-title {
        margin: 0 0 16px;
        font-size: 24px;
        color: #111827;
    }

    .product-detail-related-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 16px;
    }

    .product-detail-related-link {
        display: block;
        text-decoration: none;
        color: inherit;
    }

    .product-detail-related-card {
        height: 100%;
        overflow: hidden;
    }

    .product-detail-related-body {
        padding: 14px 16px 16px;
    }

    .product-detail-related-name {
        margin: 0 0 8px;
        font-size: 17px;
        font-weight: 800;
        color: #111827;
        line-height: 1.35;
    }

    .product-detail-related-rating {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-bottom: 8px;
        font-size: 13px;
        line-height: 1.4;
        color: #475569;
        font-weight: 700;
        flex-wrap: wrap;
    }

    .product-detail-related-rating-link {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: inherit;
        text-decoration: none;
        flex-wrap: wrap;
    }

    .product-detail-related-rating-link:hover {
        color: #0f172a;
    }

    .product-detail-related-rating-star {
        color: #f59e0b;
        font-size: 14px;
        line-height: 1;
    }

    .product-detail-related-rating-value {
        color: #111827;
        font-weight: 900;
    }

    .product-detail-related-price {
        font-size: 19px;
        font-weight: 900;
        color: #111827;
    }

    .product-detail-related-price-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }

    .product-detail-related-sold {
        font-size: 12px;
        font-weight: 800;
        color: #64748b;
        white-space: nowrap;
    }

    @media (max-width: 900px) {
        .product-detail-shell {
            grid-template-columns: 1fr;
        }

        .product-detail-title,
        .product-detail-price {
            font-size: 32px;
        }

        .product-detail-meta {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 640px) {
        .product-detail-page {
            margin-top: 14px;
            padding: 0 12px;
        }

        .product-detail-gallery,
        .product-detail-summary,
        .product-detail-section {
            padding: 16px;
        }

        .product-detail-title,
        .product-detail-price {
            font-size: 28px;
        }

        .product-detail-meta {
            grid-template-columns: 1fr;
        }

        .product-detail-buy-form {
            grid-template-columns: 1fr;
        }

        .product-detail-share-actions {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .product-detail-related-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }
    
    .product-detail-gallery {
    position: relative;
    overflow: hidden;
}

.product-detail-marketplace-badges {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 32px);
}

.detail-mp-badge {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    color: #fff;
    box-shadow: 0 10px 20px rgba(15,23,42,.18);
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.detail-mp-voucher {
    background: linear-gradient(135deg,#ff4d6d,#ec4899);
}

.detail-mp-ongkir {
    background: linear-gradient(135deg,#00b894,#10b981);
}

.detail-mp-cashback {
    background: linear-gradient(135deg,#ff8a00,#f97316);
}

@media (max-width: 768px) {
    .detail-mp-badge {
        height: 22px;
        font-size: 10px;
        padding: 0 8px;
    }

    .product-detail-marketplace-badges {
        left: 12px;
        bottom: 12px;
        gap: 5px;
    }
}