/* =====================================================
   PRODUCT DETAIL PAGE - Django Styles
   static/css/pages/product-detail.css
   ===================================================== */

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    background: var(--color-stone-50);
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-stone-100);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb__link {
    color: var(--color-stone-500);
    transition: color 0.2s;
}

.breadcrumb__link:hover {
    color: var(--color-gold);
}

.breadcrumb__separator {
    color: var(--color-stone-300);
}

.breadcrumb__current {
    color: var(--color-stone-800);
    font-weight: 500;
}

/* =====================================================
   PRODUCT SECTION & LAYOUT
   ===================================================== */
.product-section {
    padding: 2rem 0 3rem;
    background: var(--color-white);
}

.product-layout {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .product-layout {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* =====================================================
   PRODUCT GALLERY
   ===================================================== */
.product-gallery {
    position: relative;
    overflow: hidden;    /* ← ou min-width: 0 */
    min-width: 0;

}

@media (min-width: 1024px) {
    .product-gallery {
        position: sticky;
        top: 125px;
        height: fit-content;
    }
}

.product-gallery__main {
    position: relative;
    aspect-ratio: 1;
    background: var(--color-stone-50);
    border-radius: 1.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.product-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.3s ease;
}

.product-gallery__main:hover .product-gallery__image {
    transform: scale(1.05);
}

.product-gallery__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.product-badge {
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-badge--bestseller {
    background: var(--color-gold);
    color: white;
}

.product-badge--sale {
    background: #DC2626;
    color: white;
}

.product-badge--new {
    background: #059669;
    color: white;
}

.product-gallery__zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s;
    z-index: 2;
    cursor: pointer;
}

.product-gallery__zoom:hover {
    background: var(--color-gold);
    color: white;
}

.product-gallery__zoom svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Thumbnails */
.product-gallery__thumbs {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    overflow-y: hidden;  /* ← empêche le débordement vertical */
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    min-width: 0;        /* ← permet au flex item de rétrécir */
    width: 100%;         /* ← contraint la largeur au parent */
}

.product-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
    cursor: pointer;
}

.product-gallery__thumb:hover {
    opacity: 1;
}

.product-gallery__thumb--active {
    border-color: var(--color-gold);
    opacity: 1;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =====================================================
   PRODUCT INFO
   ===================================================== */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-info__header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-info__brand {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-gold);
}

.product-info__brand:hover {
    text-decoration: underline;
}

.product-info__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-stone-850);
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 768px) {
    .product-info__title {
        font-size: 2.25rem;
    }
}

/* Rating */
.product-info__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.product-info__rating--empty {
    color: var(--color-stone-500);
    font-size: 0.875rem;
}

.rating-link {
    color: var(--color-gold);
    font-weight: 500;
}

.rating-link:hover {
    text-decoration: underline;
}

.stars {
    display: flex;
    gap: 0.125rem;
    color: var(--color-gold);
}

.stars svg {
    width: 1.125rem;
    height: 1.125rem;
}

.stars--large svg {
    width: 1.5rem;
    height: 1.5rem;
}

.star--empty {
    color: var(--color-stone-300);
}

.rating-score {
    font-weight: 700;
    color: var(--color-stone-800);
}

.rating-count {
    color: var(--color-stone-500);
    font-size: 0.875rem;
}

.rating-count:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

/* Description */
.product-info__description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-stone-600);
    margin: 0;
}

/* Specs Badges */
.product-info__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.spec-badge {
    padding: 0.375rem 0.75rem;
    background: var(--color-stone-100);
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-stone-700);
}

.spec-badge--family {
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(184, 134, 11, 0.2));
    color: var(--color-gold-dark);
}

/* Price Block */
.product-info__price-block {
    padding: 1.25rem;
    background: var(--color-stone-50);
    border-radius: 1rem;
}

.product-info__price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price-current {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-stone-850);
}

.price-old {
    font-size: 1.25rem;
    color: var(--color-stone-400);
    text-decoration: line-through;
}

.price-discount {
    padding: 0.25rem 0.5rem;
    background: #DC2626;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
}

.product-info__price-note {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 0.875rem;
    color: var(--color-stone-500);
}

/* =====================================================
   SIZE OPTIONS
   ===================================================== */

.product-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-options__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-options__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-stone-800);
}

@media (min-width: 640px) {
    .product-options__label {
        font-size: 1rem;
    }
}

.product-options__selected {
    font-size: 0.8rem;
    color: var(--color-stone-500);
}

@media (min-width: 640px) {
    .product-options__selected {
        font-size: 0.875rem;
    }
}

.size-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

@media (min-width: 640px) {
    .size-options {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

.size-option {
    cursor: pointer;
}

.size-option input {
    display: none;
}

.size-option__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.65rem 0.5rem;
    border: 2px solid var(--color-stone-200);
    border-radius: 0.5rem;
    transition: all 0.2s;
    text-align: center;
}

@media (min-width: 640px) {
    .size-option__btn {
        padding: 1rem;
        border-radius: 0.75rem;
    }
}

.size-option:hover .size-option__btn {
    border-color: var(--color-stone-400);
}

.size-option input:checked + .size-option__btn {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.05), rgba(184, 134, 11, 0.1));
}

.size-option--disabled .size-option__btn {
    opacity: 0.5;
    cursor: not-allowed;
}

.size-option__value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-stone-800);
}

@media (min-width: 640px) {
    .size-option__value {
        font-size: 1rem;
    }
}

.size-option__price {
    font-size: 0.75rem;
    color: var(--color-stone-500);
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .size-option__price {
        font-size: 0.875rem;
    }
}
/* =====================================================
   PRODUCT ACTIONS
   ===================================================== */
.product-actions {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-stone-200);
    border-radius: 0.75rem;
    overflow: hidden;
}

.quantity-btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-stone-600);
    transition: all 0.2s;
    cursor: pointer;
    background: none;
    border: none;
}

.quantity-btn:hover {
    background: var(--color-stone-100);
    color: var(--color-stone-800);
}

.quantity-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.quantity-selector input {
    width: 3rem;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    background: transparent;
}

.btn-add-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--color-gold);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    position: relative;
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);
}

.btn-add-cart:disabled {
    background: var(--color-stone-300);
    cursor: not-allowed;
}

.btn-add-cart .btn-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* HTMX Loading Indicator */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-flex;
}

.htmx-request .btn-icon,
.htmx-request .btn-text {
    display: none;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-wishlist {
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-stone-200);
    border-radius: 0.75rem;
    color: var(--color-stone-500);
    transition: all 0.2s;
    background: none;
    cursor: pointer;
}

.btn-wishlist:hover {
    border-color: #EF4444;
    color: #EF4444;
}

.btn-wishlist.active {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #EF4444;
}

.btn-wishlist svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile */
@media (max-width: 640px) {
    .text-cart {
        display: none;
    }

    .quantity-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .btn-add-cart {
        padding: 0.9rem 1.25rem;
    }
}
/* =====================================================
   STOCK STATUS
   ===================================================== */
.stock-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
}

.stock-status svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

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

.stock-status--low-stock {
    color: #D97706;
}

.stock-status--out-of-stock {
    color: #DC2626;
}

.stock-notify-btn {
    margin-left: auto;
    padding: 0.5rem 1rem;
    background: var(--color-stone-100);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-stone-700);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.stock-notify-btn:hover {
    background: var(--color-stone-200);
}

/* =====================================================
   AUTHENTICITY BADGE
   ===================================================== */
.authenticity-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #065F46;
}

.authenticity-badge svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

/* =====================================================
   PRODUCT TRUST
   ===================================================== */
.product-trust {
    display: grid;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--color-stone-50);
    border-radius: 1rem;
}

.product-trust__item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.product-trust__item svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-gold);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.product-trust__item strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-stone-800);
}

.product-trust__item span {
    font-size: 0.8125rem;
    color: var(--color-stone-500);
}

/* =====================================================
   SHARE
   ===================================================== */
.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-stone-100);
}

.product-share > span {
    font-size: 0.875rem;
    color: var(--color-stone-500);
}

.product-share__links {
    display: flex;
    gap: 0.5rem;
}

.product-share__link {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-stone-100);
    border-radius: 50%;
    color: var(--color-stone-600);
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.product-share__link:hover {
    background: var(--color-gold);
    color: white;
}

.product-share__link--whatsapp:hover {
    background: #25D366;
}

.product-share__link svg {
    width: 1rem;
    height: 1rem;
}

/* =====================================================
   PRODUCT TABS
   ===================================================== */
.product-tabs-section {
    padding: 3rem 0;
    background: var(--color-off-white);
}

.product-tabs {
    background: var(--color-white);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.product-tabs__nav {
    display: flex;
    overflow-x: auto;
    border-bottom: 1px solid var(--color-stone-100);
    background: var(--color-stone-50);
    scrollbar-width: none;
}

.product-tabs__nav::-webkit-scrollbar {
    display: none;
}

.product-tabs__btn {
    flex: 1;
    min-width: fit-content;
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: var(--color-stone-500);
    white-space: nowrap;
    transition: all 0.2s;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    background: transparent;
    cursor: pointer;
}

.product-tabs__btn:hover {
    color: var(--color-stone-800);
    background: var(--color-white);
}

.product-tabs__btn--active {
    color: var(--color-gold);
    background: var(--color-white);
    border-bottom-color: var(--color-gold);
}

.tab-count {
    font-size: 0.8125rem;
    color: var(--color-stone-400);
}

.product-tabs__content {
    padding: 2rem;
}

@media (min-width: 768px) {
    .product-tabs__content {
        padding: 2.5rem;
    }
}

.product-tab[hidden] {
    display: none;
}

.tab-content h3,
.tab-content h4 {
    font-family: var(--font-display);
    color: var(--color-stone-850);
    margin-top: 0;
}

.tab-content p {
    color: var(--color-stone-600);
    line-height: 1.8;
}

.tab-empty {
    color: var(--color-stone-400);
    font-style: italic;
}

/* Tab Brand Info */
.tab-brand-info {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--color-stone-50);
    border-radius: 1rem;
    margin-top: 2rem;
}

.tab-brand-info__logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
}

.tab-brand-info__content h4 {
    margin-bottom: 0.5rem;
}

.tab-brand-info__content p {
    margin-bottom: 1rem;
}

.tab-brand-info__link {
    color: var(--color-gold);
    font-weight: 500;
}

.tab-brand-info__link:hover {
    text-decoration: underline;
}

/* =====================================================
   FRAGRANCE PYRAMID
   ===================================================== */
.fragrance-pyramid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.fragrance-level {
    padding: 1.5rem;
    background: var(--color-stone-50);
    border-radius: 1rem;
}

.fragrance-level__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.fragrance-level__icon {
    font-size: 1.5rem;
}

.fragrance-level__header h4 {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.fragrance-level__duration {
    font-size: 0.75rem;
    color: var(--color-stone-400);
    background: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.fragrance-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fragrance-note {
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-stone-200);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--color-stone-700);
}

.fragrance-note--highlight {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: white;
    font-weight: 500;
}

.fragrance-family-info {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.05), rgba(184, 134, 11, 0.1));
    border-radius: 1rem;
    border-left: 4px solid var(--color-gold);
}

.fragrance-family-info h4 {
    margin-bottom: 0.5rem;
}

.fragrance-family-info p {
    margin: 0;
}

/* =====================================================
   DETAILS GRID
   ===================================================== */
.details-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.details-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-gold);
    display: inline-block;
}

.details-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
}

.details-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-stone-100);
}

.details-item dt {
    color: var(--color-stone-500);
    font-size: 0.9375rem;
}

.details-item dd {
    font-weight: 500;
    color: var(--color-stone-800);
    font-size: 0.9375rem;
    margin: 0;
}

.details-note {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: #FEF3C7;
    border-radius: 1rem;
    margin-top: 2rem;
}

.details-note svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #D97706;
    flex-shrink: 0;
}

.details-note p {
    font-size: 0.9375rem;
    color: #92400E;
    margin: 0;
    line-height: 1.6;
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews-summary {
    display: grid;
    gap: 2rem;
    padding: 2rem;
    background: var(--color-stone-50);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .reviews-summary {
        grid-template-columns: auto 1fr auto;
        align-items: center;
    }
}

.reviews-summary__score {
    text-align: center;
}

.reviews-summary__number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-stone-850);
    line-height: 1;
}

.reviews-summary__stars {
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
}

.reviews-summary__count {
    font-size: 0.875rem;
    color: var(--color-stone-500);
}

.reviews-summary__note {
    font-size: 0.875rem;
    color: var(--color-stone-500);
    text-align: center;
}

.reviews-summary__bars {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.reviews-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.reviews-bar__label {
    width: 2.5rem;
    font-size: 0.8125rem;
    color: var(--color-stone-600);
}

.reviews-bar__track {
    flex: 1;
    height: 8px;
    background: var(--color-stone-200);
    border-radius: 4px;
    overflow: hidden;
}

.reviews-bar__fill {
    height: 100%;
    background: var(--color-gold);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.reviews-bar__count {
    width: 2rem;
    font-size: 0.8125rem;
    color: var(--color-stone-500);
    text-align: right;
}

.reviews-summary__btn {
    white-space: nowrap;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review {
    padding: 1.5rem;
    background: var(--color-white);
    border: 1px solid var(--color-stone-100);
    border-radius: 1rem;
}

.review__header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review__avatar--placeholder {
    background: var(--color-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.review__meta {
    flex: 1;
    min-width: 0;
}

.review__author {
    font-weight: 600;
    color: var(--color-stone-800);
}

.review__info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

.review__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    background: #D1FAE5;
    color: #065F46;
    border-radius: 0.25rem;
}

.review__date {
    font-size: 0.8125rem;
    color: var(--color-stone-400);
}

.review__rating {
    flex-shrink: 0;
}

.review__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-stone-800);
    margin: 0 0 0.5rem;
}

.review__text {
    font-size: 0.9375rem;
    color: var(--color-stone-600);
    line-height: 1.7;
    margin: 0;
}

.review__images {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.review__image-btn {
    width: 60px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    border: none;
    padding: 0;
    cursor: pointer;
}

.review__image-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review__footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-stone-100);
    display: flex;
    gap: 1rem;
}

.review__helpful {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-stone-500);
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.review__helpful:hover {
    color: var(--color-gold);
}

.review__helpful--active {
    color: var(--color-gold);
}

.review__helpful svg {
    width: 1rem;
    height: 1rem;
}

.review__edit {
    font-size: 0.8125rem;
    color: var(--color-stone-400);
    background: none;
    border: none;
    cursor: pointer;
}

.review__edit:hover {
    color: var(--color-gold);
    text-decoration: underline;
}

.reviews-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.reviews-pagination__btn {
    padding: 0.75rem 1.25rem;
    background: var(--color-white);
    border: 1px solid var(--color-stone-200);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.reviews-pagination__btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.reviews-pagination__info {
    font-size: 0.875rem;
    color: var(--color-stone-500);
}

.reviews-empty {
    text-align: center;
    padding: 3rem 2rem;
}

.reviews-empty__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.reviews-empty h4 {
    margin-bottom: 0.5rem;
}

.reviews-empty p {
    color: var(--color-stone-500);
}

/* =====================================================
   SIMILAR PRODUCTS & RECENTLY VIEWED
   ===================================================== */
.similar-products,
.recently-viewed {
    padding: 3rem 0;
    background: var(--color-white);
}

.recently-viewed {
    background: var(--color-off-white);
    padding-bottom: 4rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-stone-850);
    margin: 0;
}

.section-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--color-gold);
    transition: gap 0.2s;
}

.section-link:hover {
    gap: 0.75rem;
}

.section-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

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

@media (min-width: 768px) {
    .products-slider {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* =====================================================
   STICKY CART (Mobile)
   ===================================================== */
.sticky-cart {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--color-white);
    border-top: 1px solid var(--color-stone-100);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 90;
    gap: 1rem;
    align-items: center;
}

.sticky-cart.visible {
    display: flex;
}

@media (min-width: 1024px) {
    .sticky-cart {
        display: none !important;
    }
}

.sticky-cart__info {
    flex: 1;
}

.sticky-cart__price {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-stone-850);
}

.sticky-cart__name {
    font-size: 0.8125rem;
    color: var(--color-stone-500);
}

.sticky-cart__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--color-gold);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
}

.sticky-cart__btn:disabled {
    background: var(--color-stone-300);
    cursor: not-allowed;
}

.sticky-cart__btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* =====================================================
   MODAL CONTAINER
   ===================================================== */
#modal-container:empty {
    display: none;
}

#modal-container {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Promo details */
.product-info__price--promo {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border: 2px solid #C4A962;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 12px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.promo-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.promo-details__badge {
    display: flex;
    gap: 8px;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge--vendor {
    background: #C4A962;
    color: white;
}

.badge--platform {
    background: #2c3e50;
    color: white;
}

.promo-details__name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.promo-details__countdown {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #e74c3c;
    font-weight: 600;
}

.countdown-icon {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .product-info__price--promo {
        padding: 16px;
    }
    
    .price-wrapper {
        flex-wrap: wrap;
        gap: 8px;
    }
}