* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: diroz;
    background-color: #ffffff;
    color: #111827;
    -webkit-user-select: none;
    user-select: none;
}

@font-face {
    src: url("/static/fonts/Dirooz.ttf");
    font-family: diroz;
}

a {
    text-decoration: none;
    color: inherit;
}



.product-page {
    width: 90%;
    max-width: 1400px;
    margin: 150px auto 80px;
}


.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 30px;

    font-size: 13px;
    color: #888;
}

.breadcrumb .current {
    color: #222;
    font-weight: 600;
}



.product-main {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 60px;

    background: #fff;

    padding: 25px;

    border-radius: 24px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
}



.product-gallery-wrapper {
    display: flex;
    gap: 15px;
}



.product-thumbnails {
    width: 75px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.product-thumb {
    width: 70px;
    height: 70px;

    border-radius: 12px;

    border: 1px solid #e5e5e5;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    cursor: pointer;

    transition: 0.25s;
}

.product-thumb:hover {
    border-color: #111;
}

.product-thumb.active {
    border: 2px solid #111;
}

.product-thumb img {
    width: 90%;
    height: 90%;

    object-fit: contain;
}




.product-gallery {
    flex: 1;

    min-height: 520px;

    background: #f7f7f7;

    border-radius: 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;
}

.product-gallery img {
    width: 85%;

    max-width: 500px;

    height: 460px;

    object-fit: contain;
}




.product-favorite {
    position: absolute;

    top: 20px;
    right: 20px;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: #fff;

    border: 1px solid #eee;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    font-size: 19px;

    transition: 0.25s;
}

.product-favorite:hover {
    background: #111;
    color: #fff;
}




.product-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px 0;
}


.product-meta-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.meta-tags-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-brand {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #2168ff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-brand:hover {
    background: #2168ff;
    color: #ffffff;
    border-color: #2168ff;
}

.badge-category {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.badge-category:hover {
    border-color: #cbd5e1;
    color: #0f172a;
}

.badge-sku {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
}

.action-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-icon-btn:hover {
    border-color: #fecaca;
    background: #fef2f2;
    color: #ef4444;
    transform: scale(1.06);
}

.action-icon-btn.active {
    border-color: #fecaca;
    background: #fef2f2;
}


.product-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.5;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}


.product-rating-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: 13px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #b45309;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 700;
}

.rating-badge .star-icon {
    color: #f59e0b;
    font-size: 14px;
}

.reviews-link {
    color: #2168ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.reviews-link:hover {
    color: #1545cc;
    text-decoration: underline;
}

.sep-dot {
    color: #cbd5e1;
    font-size: 10px;
}

.buyer-recommend-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}


.product-highlights-preview {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
}

.highlights-preview-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
}

.highlights-preview-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px 16px;
}

.highlights-preview-list li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.highlights-preview-list .hl-label {
    color: #64748b;
    flex-shrink: 0;
    white-space: nowrap;
}

.highlights-preview-list .hl-value {
    color: #0f172a;
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.view-all-specs-link {
    font-size: 12.5px;
    color: #2168ff;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.view-all-specs-link:hover {
    color: #1545cc;
    transform: translateX(-2px);
}

.product-buy-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.03);
}

.buy-box-status-row {
    margin-bottom: 14px;
}

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
}

.stock-pill.in-stock {
    color: #059669;
}

.stock-pill.out-of-stock {
    color: #ef4444;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    display: inline-block;
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.buy-box-commitments {
    margin: 14px 0;
    padding: 12px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.commit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #475569;
    font-weight: 500;
}

.commit-item svg {
    width: 16px;
    height: 16px;
    stroke: #2168ff;
    flex-shrink: 0;
}

.buy-box-price-section {
    margin: 16px 0;
}

.price-discount-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.old-price-val {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: line-through;
}

.discount-badge-red {
    background: #ef4444;

    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 6px;
}

.current-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.current-price-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
}

.price-currency {
    font-size: 13px;
    color: #64748b;
}

.buy-actions-wrapper {
    margin-top: 16px;
}

.btn-main-add-cart {
    width: 100%;
    background: #2168ff;
    color: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 15px 24px;
    font-size: 15px;
    font-weight: 800;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 8px 24px rgba(33, 104, 255, 0.25);
}

.btn-main-add-cart:hover {
    background: #1545cc;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(33, 104, 255, 0.35);
}

.btn-main-add-cart.disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.out-of-stock-note {
    margin: 10px 0 0;
    font-size: 12px;
    line-height: 1.9;
    color: #64748b;
    text-align: center;
}

.buy-box-footer-badges {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    flex-wrap: wrap;
    gap: 8px;
}


.product-option {
    margin-bottom: 22px;
}

.product-option-title {
    font-size: 14px;

    font-weight: 700;

    margin-bottom: 12px;
}

.option-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.option-button {
    border: 1px solid #ddd;

    background: #fff;

    padding: 10px 18px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 13px;

    cursor: pointer;

    transition: 0.25s;
}

.option-button:hover {
    border-color: #111;
}

.option-button.active {
    background: #111;

    color: #fff;

    border-color: #111;
}




.color-options {
    display: flex;

    gap: 12px;
}

.color-option {
    width: 32px;
    height: 32px;

    border-radius: 50%;

    border: 3px solid #fff;

    outline: 1px solid #ddd;

    cursor: pointer;
}

.color-option.active {
    outline: 2px solid #111;
}



.quick-specs {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 10px;

    padding: 20px 0;

    border-top: 1px solid #eee;

    border-bottom: 1px solid #eee;

    margin-bottom: 20px;
}

.quick-spec {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    font-size: 12px;

    color: #777;

    padding: 8px 0;
}

.quick-spec strong {
    color: #222;
}



.product-price-box {
    padding: 15px 0;

    margin-bottom: 20px;
}

.old-price {
    display: block;

    color: #999;

    font-size: 14px;

    text-decoration: line-through;

    margin-bottom: 5px;
}

.current-price {
    font-size: 30px;

    font-weight: 800;
}

.price-unit {
    font-size: 13px;

    color: #777;

    margin-right: 5px;
}




.discount-badge {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-right: 10px;

    padding: 5px 9px;

    border-radius: 7px;

    background: #f1f1f1;

    font-size: 11px;

    font-weight: bold;
}



.buy-row {
    display: flex;

    gap: 12px;

    align-items: center;
}

.quantity {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 120px;

    height: 52px;

    border: 1px solid #ddd;

    border-radius: 12px;

    padding: 0 12px;
}

.quantity button {
    border: none;

    background: transparent;

    font-size: 20px;

    cursor: pointer;

    font-family: inherit;
}

.quantity span {
    font-size: 14px;
}

.add-cart {
    flex: 1;

    height: 52px;

    border: none;

    border-radius: 12px;

    background: #111;

    color: #fff;

    font-family: inherit;

    font-size: 14px;

    cursor: pointer;

    transition: 0.3s;
}

.add-cart:hover {
    transform: translateY(-2px);

    background-color: #2168ff;
}



.benefits {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    margin-top: 25px;
}

.benefit {
    background: #fff;

    padding: 22px;

    border-radius: 16px;

    text-align: center;

    color: #555;

    font-size: 13px;

    border: 1px solid #f0f0f0;

    transition: 0.25s;
}

.benefit:hover {
    transform: translateY(-3px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.benefit-icon {
    font-size: 22px;

    margin-bottom: 8px;
}

.benefit-title {
    font-weight: 700;

    color: #222;

    margin-bottom: 5px;
}


.product-section {
    background: #fff;

    margin-top: 25px;

    padding: 40px;

    border-radius: 24px;

    border: 1px solid #f0f0f0;
}

.section-title {
    display: flex;

    align-items: center;

    gap: 15px;

    font-size: 22px;

    margin-bottom: 30px;
}

.section-title::after {
    content: "";

    flex: 1;

    height: 1px;

    background: #eee;
}


.product-introduction p {
    color: #666;

    line-height: 2.3;

    font-size: 14px;

    margin-bottom: 15px;
}



.spec-table {
    width: 100%;

    border-collapse: collapse;
}

.spec-table tr {
    border-bottom: 1px solid #eee;
}

.spec-table td {
    padding: 16px 12px;

    font-size: 13px;
}

.spec-table td:first-child {
    width: 30%;

    color: #888;
}

.spec-table td:last-child {
    color: #222;

    font-weight: 600;
}


.faq-list {
    display: flex;

    flex-direction: column;

    gap: 12px;
}

.faq-item {
    border: 1px solid #eee;

    border-radius: 12px;

    padding: 18px;

    background: #fafafa;
}

.faq-question {
    font-weight: 700;

    font-size: 14px;

    margin-bottom: 8px;
}

.faq-answer {
    color: #666;

    font-size: 13px;

    line-height: 2;
}


.related-products {
    display: flex;

    gap: 18px;

    overflow-x: auto;

    padding-bottom: 10px;
}

.related-products::-webkit-scrollbar {
    height: 5px;
}

.related-products::-webkit-scrollbar-thumb {
    background: #ccc;

    border-radius: 20px;
}

.related-card {
    min-width: 220px;

    padding: 18px;

    border: 1px solid #eee;

    border-radius: 18px;

    background: #fff;

    transition: 0.25s;
}

.related-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.related-card img {
    width: 100%;

    height: 190px;

    object-fit: contain;

    margin-bottom: 15px;
}

.related-card-title {
    font-size: 14px;

    line-height: 1.8;

    margin-bottom: 10px;
}

.related-card-price {
    font-size: 16px;

    font-weight: 800;
}



@media (max-width: 992px) {
    .product-page {
        width: 92%;
        margin: 100px auto 50px;
    }

    .product-main {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
        border-radius: 20px;
    }

    .product-gallery-interactive {
        max-height: 380px;
    }

    .product-gallery-interactive img {
        max-height: 340px;
    }

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


    .product-tabs-bar {
        top: 76px;
        gap: 8px;
        padding: 10px 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 14px;
        background: #ffffff;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    }

    .product-tabs-bar::-webkit-scrollbar {
        display: none;
    }

    .product-tab-btn {
        padding: 9px 18px;
        font-size: 13px;
        font-weight: 700;
        border-radius: 999px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        color: #475569;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 7px;
        scroll-snap-align: start;
        transition: all 0.2s ease;
        margin-bottom: 0;
    }

    .product-tab-btn svg {
        width: 16px;
        height: 16px;
        stroke: #64748b;
        transition: stroke 0.2s ease;
    }

    .product-tab-btn.active {
        color: #ffffff;
        border-color: #2168ff;
        box-shadow: 0 4px 14px rgba(33, 104, 255, 0.28);
    }

    .product-tab-btn.active svg {
        stroke: #ffffff;
    }


    .overview-card {
        padding: 22px 18px;
        border-radius: 18px;
        margin-bottom: 20px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }

    .overview-card h3 {
        font-size: 1.22rem;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .overview-card p {
        font-size: 0.95rem;
        line-height: 1.95;
        color: #475569;
        text-align: justify;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 24px;
    }

    .highlight-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 14px 16px;
        display: flex;
        align-items: flex-start;
        gap: 14px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        transition: all 0.2s ease;
    }

    .highlight-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: #eff6ff;
        color: #2168ff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .highlight-icon svg {
        width: 20px;
        height: 20px;
        stroke: #2168ff;
    }

    .highlight-text h4 {
        font-size: 0.94rem;
        font-weight: 700;
        color: #0f172a;
        margin: 0 0 4px 0;
        line-height: 1.4;
    }

    .highlight-text p {
        font-size: 0.82rem;
        color: #64748b;
        line-height: 1.55;
        margin: 0;
    }


    .specs-section-box {
        padding: 20px 16px;
        border-radius: 18px;
    }

    .spec-table-modern th {
        width: 140px;
        padding: 12px 10px;
        font-size: 12.5px;
    }

    .spec-table-modern td {
        padding: 12px 10px;
        font-size: 13px;
    }


    .guarantee-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .guarantee-card {
        padding: 20px 16px;
        border-radius: 16px;
    }
}

@media (max-width: 650px) {
    .product-page {
        width: 92%;
        margin: 90px auto 40px;
        overflow-x: clip;
    }

    .breadcrumb {
        font-size: 11.5px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        margin-bottom: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .product-main {
        grid-template-columns: 1fr;
        padding: 16px 14px;
        gap: 22px;
        border-radius: 18px;
        overflow-x: clip;
    }

    .product-gallery-interactive {
        max-height: 300px;
    }

    .product-gallery-interactive img {
        max-height: 260px;
    }

    .gallery-zoom-badge {
        bottom: 8px;
        right: 8px;
        font-size: 11px;
        padding: 4px 10px;
    }

    .product-details {
        padding: 0;
    }

    .product-title {
        font-size: 1.22rem;
        line-height: 1.5;
        margin: 6px 0 10px;
    }

    .product-meta-header {
        gap: 8px;
    }

    .badge-brand,
    .badge-category {
        font-size: 11px;
        padding: 3px 9px;
    }

    .badge-sku {
        font-size: 11px;
    }

    .product-rating-row {
        gap: 8px;
        font-size: 12px;
        margin-bottom: 14px;
    }

    .buyer-recommend-badge {
        font-size: 11px;
        padding: 2px 8px;
    }

    .product-highlights-preview {
        padding: 14px 12px;
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .highlights-preview-list {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .highlights-preview-list li {
        font-size: 12.5px;
    }

    .product-buy-box {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .current-price-val {
        font-size: 1.55rem;
    }

    .btn-main-add-cart {
        padding: 13px 18px;
        font-size: 14px;
        border-radius: 12px;
    }

    .buy-box-footer-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        font-size: 11px;
    }

    .product-tabs-container {
        margin-top: 35px;
    }

    .product-tabs-bar {
        top: 76px;
        padding: 8px 12px;
        gap: 6px;
        scroll-padding: 0 12px;
    }

    .product-tab-btn {
        padding: 8px 14px;
        font-size: 12.5px;
        gap: 6px;
        border-radius: 999px;
    }

    .product-tab-btn svg {
        width: 15px;
        height: 15px;
    }


    .overview-card {
        padding: 18px 14px;
        border-radius: 16px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
    }

    .overview-card h3 {
        font-size: 1.12rem;
        margin-bottom: 10px;
        line-height: 1.45;
    }

    .overview-card p {
        font-size: 0.9rem;
        line-height: 1.85;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 18px;
    }

    .highlight-box {
        padding: 13px 14px;
        gap: 12px;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        display: flex;
        align-items: flex-start;
    }

    .highlight-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        background: #eff6ff;
        color: #2168ff;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .highlight-icon svg {
        width: 18px;
        height: 18px;
        stroke: #2168ff;
    }

    .highlight-text h4 {
        font-size: 0.9rem;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 3px;
        line-height: 1.4;
    }

    .highlight-text p {
        font-size: 0.8rem;
        color: #64748b;
        line-height: 1.5;
    }


    .specs-section-box {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .spec-category-header {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .spec-table-modern th {
        width: 110px;
        padding: 10px 8px;
        font-size: 12px;
    }

    .spec-table-modern td {
        padding: 10px 8px;
        font-size: 12.5px;
    }


    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .guarantee-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .guarantee-icon-wrapper {
        width: 44px;
        height: 44px;
        margin-bottom: 10px;
    }

    .guarantee-icon-wrapper svg {
        width: 22px;
        height: 22px;
    }

    .guarantee-card h4 {
        font-size: 0.98rem;
    }

    .guarantee-card p {
        font-size: 0.82rem;
        line-height: 1.65;
    }


    .product-reviews-section {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .reviews-header h2 {
        font-size: 1.2rem;
    }

    .reviews-overview-grid {
        padding: 16px 12px;
        gap: 18px;
        border-radius: 14px;
    }

    .score-big {
        font-size: 2.8rem;
    }

    .review-form-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .product-review-item {
        padding: 14px 12px;
        border-radius: 14px;
    }


    .lightbox-topbar {
        padding: 10px 14px;
    }

    .lightbox-title {
        max-width: 40%;
        font-size: 13px;
    }

    .lb-btn span {
        display: none;
    }

    .lb-btn {
        padding: 8px 10px;
    }

    .lightbox-hint {
        display: none;
    }

    .lightbox-zoom-indicator {
        bottom: 12px;
        left: 12px;
        font-size: 11px;
        padding: 4px 10px;
    }
}


.product-reviews-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 36px 32px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.reviews-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.reviews-overview-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .reviews-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.overall-score-box {
    text-align: center;
    border-left: 1px solid #e2e8f0;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .overall-score-box {
        border-left: none;
        padding-left: 0;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 20px;
    }
}

.score-big {
    font-size: 3.5rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 8px;
}

.score-stars {
    color: #f59e0b;
    font-size: 20px;
    margin-bottom: 6px;
    letter-spacing: 2px;
}

.score-caption {
    font-size: 0.85rem;
    color: #64748b;
}


.rating-bars-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}

.star-label {
    width: 60px;
    color: #334155;
    font-weight: 600;
    white-space: nowrap;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #f59e0b;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.star-count {
    width: 45px;
    text-align: left;
    color: #64748b;
    font-size: 12px;
}


.review-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.review-form-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.review-form-card p.subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}


.star-picker-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.star-picker-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
}

.star-picker {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.star-picker input[type="radio"] {
    display: none;
}

.star-picker label {
    font-size: 28px;
    color: #cbd5e1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-picker label:hover,
.star-picker label:hover~label,
.star-picker input[type="radio"]:checked~label {
    color: #f59e0b;
    transform: scale(1.1);
}

.review-input-text {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13.5px;
    margin-bottom: 14px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.review-input-text:focus {
    border-color: #2168ff;
    box-shadow: 0 0 0 3px rgba(33, 104, 255, 0.12);
}

textarea.review-input-text {
    min-height: 110px;
    resize: none !important;
}

.btn-submit-review {
    padding: 12px 28px;
    background: #2168ff;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-submit-review:hover {
    background: #1545cc;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(33, 104, 255, 0.2);
}


.product-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-review-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px;
    transition: all 0.2s ease;
}

.product-review-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
}

.review-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.reviewer-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eff6ff;
    color: #2168ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.reviewer-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.reviewer-badge {
    font-size: 11px;
    background: #ecfdf5;
    color: #059669;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    margin-right: 6px;
}

.review-item-date {
    font-size: 0.8rem;
    color: #94a3b8;
}

.review-stars-badge {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 1px;
}

.review-item-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.review-item-body {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.8;
}


.product-gallery-interactive {
    position: relative;
    cursor: default;
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    align-self: start;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.product-gallery-interactive:hover,
.product-gallery-interactive.is-zoomed {
    border-color: #111827;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.product-gallery-interactive.is-zoomed {
    cursor: crosshair;
}

.product-gallery-interactive img {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    transform-origin: center center;
    pointer-events: none;
    will-change: transform, transform-origin;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.gallery-zoom-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
    z-index: 2;
}

.product-gallery-interactive:hover .gallery-zoom-badge {
    background: #111827;
}

.product-gallery-interactive.is-zoomed .gallery-zoom-badge {
    opacity: 0.2;
    transform: scale(0.92);
}

.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    z-index: 999999;
    display: none;
    flex-direction: column;
    user-select: none;
}

.lightbox-modal.active {
    display: flex;
    animation: lbFadeIn 0.25s ease;
}

@keyframes lbFadeIn {
    from {
        opacity: 0;
        transform: scale(0.98);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(15, 23, 42, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    z-index: 10;
}

.lightbox-title {
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 50%;
}

.lightbox-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.lb-btn:hover {
    background: #2168ff;
    border-color: #2168ff;
    transform: translateY(-1px);
}

.lb-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.lb-btn.close-btn {
    background: #ef4444;
    border-color: #ef4444;
}

.lb-btn.close-btn:hover {
    background: #dc2626;
}

.lightbox-stage {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.lightbox-stage.dragging {
    cursor: grabbing;
}

.lightbox-img-wrapper {
    transition: transform 0.15s ease-out;
    transform-origin: center center;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.lightbox-zoom-indicator {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-hint {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.65);
    color: #cbd5e1;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}


.product-tabs-container {
    margin-top: 50px;
}

.product-tabs-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid #e2e8f0;
    background: #ffffff;
    position: sticky;
    top: 75px;
    z-index: 100;
    padding-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-tabs-bar::-webkit-scrollbar {
    display: none;
}

.product-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin-bottom: -2px;
}

.product-tab-btn:hover {
    color: #2168ff;
}

.product-tab-btn.active {
    color: #2168ff;
    border-bottom-color: #2168ff;
}

.tab-pane {
    display: none;
    padding: 36px 0;
    animation: tabFadeIn 0.25s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.overview-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.overview-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
}

.overview-card p {
    font-size: 1.05rem;
    line-height: 2;
    color: #475569;
    text-align: justify;
    margin-bottom: 24px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.highlight-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.2s ease;
}

.highlight-box:hover {
    border-color: #2168ff;
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(33, 104, 255, 0.07);
}

.highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #eff6ff;
    color: #2168ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.highlight-text p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

.specs-section-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.spec-category-group {
    margin-bottom: 36px;
}

.spec-category-group:last-child {
    margin-bottom: 0;
}

.spec-category-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
}

.spec-table-modern {
    width: 100%;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
}

.spec-table-modern tr {
    border-bottom: 1px solid #f1f5f9;
}

.spec-table-modern tr:nth-child(even) {
    background: #f8fafc;
}

.spec-table-modern th {
    width: 240px;
    padding: 14px 18px;
    text-align: right;
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    vertical-align: middle;
}

.spec-table-modern td {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    vertical-align: middle;
}


.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.guarantee-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px;
    text-align: right;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
    transition: all 0.25s ease;
}

.guarantee-card:hover {
    border-color: #2168ff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(33, 104, 255, 0.08);
}

.guarantee-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: all 0.25s ease;
}

.guarantee-icon-wrapper svg {
    width: 26px;
    height: 26px;
    stroke: #2168ff;
}

.guarantee-card:hover .guarantee-icon-wrapper {
    background: #2168ff;
}

.guarantee-card:hover .guarantee-icon-wrapper svg {
    stroke: #ffffff;
}

.guarantee-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.guarantee-card p {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.8;
}


.footer-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: #475569;
    font-weight: 600;
}

.footer-badge-item svg {
    flex-shrink: 0;
}


.mobile-sticky-buy-bar {
    display: none;
}

@media (max-width: 768px) {
    .mobile-sticky-buy-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
        z-index: 990;
        padding: 10px 16px;
    }

    .mobile-sticky-buy-content {
        max-width: 500px;
        margin: 0 auto;
        display: flex;
        align-items: center;
    }

    .btn-mobile-sticky-buy {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: #2168ff;
        color: #ffffff;
        border: none;
        padding: 11px 22px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 13.5px;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: 0 4px 14px rgba(33, 104, 255, 0.28);
        white-space: nowrap;
    }

    .btn-mobile-sticky-buy:active {
        background: #1545cc;
        transform: scale(0.97);
    }

    .mobile-sticky-price {
        text-align: left;
    }

    .mobile-sticky-old-price {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        color: #94a3b8;
        justify-content: flex-end;
        line-height: 1;
        margin-bottom: 2px;
    }

    .mobile-sticky-badge {
        background: #fee2e2;
        color: #ef4444;
        font-size: 10px;
        font-weight: 700;
        padding: 1px 5px;
        border-radius: 4px;
    }

    .mobile-sticky-current-price {
        display: flex;
        align-items: baseline;
        gap: 4px;
        color: #0f172a;
        justify-content: flex-end;
    }

    .mobile-sticky-current-price strong {
        font-size: 1.25rem;
        font-weight: 800;
        color: #0f172a;
    }

    .mobile-sticky-current-price span {
        font-size: 11px;
        color: #64748b;
        font-weight: 600;
    }

    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 768px) {
    .product-page {
        width: 92%;
        overflow-x: clip;
    }

    .product-tabs-container {
        margin-top: 30px;
    }

    .product-tabs-bar {
        gap: 2px;
        padding: 8px 2px 0;
    }

    .product-tab-btn {
        padding: 10px 12px;
        font-size: 12.5px;
        gap: 6px;
    }

    .product-tab-btn svg {
        width: 15px;
        height: 15px;
    }

    .tab-pane {
        padding: 20px 0;
    }

    .overview-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .overview-card h3 {
        font-size: 1.08rem;
        line-height: 1.7;
        margin-bottom: 12px;
    }

    .overview-card p {
        font-size: 0.9rem;
        line-height: 2;
        text-align: justify;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .highlight-box {
        padding: 14px;
    }

    .highlight-text h4 {
        font-size: 0.92rem;
    }

    .highlight-text p {
        font-size: 0.82rem;
    }

    .specs-section-box {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .spec-category-group {
        margin-bottom: 26px;
    }

    .spec-category-header {
        font-size: 1rem;
        gap: 8px;
        margin-bottom: 12px;
    }

    .spec-table-modern {
        width: 100%;
        table-layout: fixed;
    }

    .spec-table-modern th {
        width: 42%;
        padding: 11px 10px;
        font-size: 12px;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .spec-table-modern td {
        padding: 11px 10px;
        font-size: 12.5px;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .guarantee-card {
        padding: 18px 16px;
        border-radius: 16px;
    }

    .guarantee-card h4 {
        font-size: 1.05rem;
    }

    .guarantee-card p {
        font-size: 0.88rem;
    }

    .product-reviews-section {
        padding: 20px 14px;
        border-radius: 18px;
        margin-top: 28px;
    }

    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .reviews-header h2 {
        font-size: 1.15rem;
        line-height: 1.6;
    }

    .reviews-overview-grid {
        padding: 18px 14px;
        gap: 18px;
        margin-bottom: 26px;
    }

    .score-big {
        font-size: 2.8rem;
    }

    .review-form-card {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .review-form-card h3 {
        font-size: 1.1rem;
    }

    .star-picker-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }

    .star-picker label {
        font-size: 24px;
    }

    .btn-submit-review {
        width: 100%;
    }

    .product-review-item {
        padding: 14px 12px;
        border-radius: 14px;
    }

    .review-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .review-item-body {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}