/* ═══════════════════════════════════════
   SALSABIL — Product Page
   ═══════════════════════════════════════ */

.product-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px var(--content-padding-x, 40px) 60px;
    box-sizing: border-box;
    min-height: 60vh;
}

/* Page title above layout */
.product-page-title {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: 0.28px;
    margin: 0 0 40px;
}

/* Rating row in info card */
.product-info-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.product-info-stars {
    color: #f5a623;
    font-size: 16px;
    letter-spacing: 2px;
}
.product-info-rating-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    opacity: 0.5;
    letter-spacing: 0.16px;
}

/* ── Breadcrumb ── */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    flex-wrap: wrap;
    letter-spacing: 0.28px;
}

.product-breadcrumb-link {
    color: #1a1a1a;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity .15s;
}
.product-breadcrumb-link:hover { opacity: 0.8; }

.product-breadcrumb-sep {
    display: flex;
    align-items: center;
    color: #1a1a1a;
    opacity: 0.5;
}

.product-breadcrumb-cat-link {
    color: #1a1a1a;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity .15s;
}
.product-breadcrumb-cat-link:hover { opacity: 0.8; }

.product-breadcrumb-current {
    color: #1a1a1a;
    font-weight: 600;
}

/* ── Main layout ── */
.product-layout {
    display: flex;
    gap: 24px;
    align-items: start;
}

/* ─────────────────────────────────────────
   GALLERY
───────────────────────────────────────── */
.product-gallery {
    display: flex;
    flex-direction: row;
    gap: 24px;
    position: sticky;
    top: 24px;
    flex: 0 0 552px;
    width: 552px;
}

.product-gallery-main {
    flex: 1;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #efefef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .3s ease;
}

.product-gallery-main:hover img {
    transform: scale(1.04);
}

.product-gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: none;
    border-radius: 12px;
}
.product-gallery-placeholder-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #9cb8c4;
    letter-spacing: 0.3px;
}

/* ── Overlay (badges + wishlist on top of photo) ── */
.product-gallery-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px;
    gap: 8px;
}

.product-gallery-badges {
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.product-gallery-wishlist {
    pointer-events: all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--grey-500);
    flex-shrink: 0;
    transition: background .15s, color .15s, transform .15s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.product-gallery-wishlist:hover {
    background: #fff;
    color: var(--red-500);
    transform: scale(1.1);
}

.product-gallery-wishlist.liked {
    color: var(--red-500);
    background: #fff;
}

.product-gallery-wishlist.liked svg path {
    fill: var(--red-500);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    width: fit-content;
}

.badge-hit  { background: var(--badge-hit-bg, #e65100); color: #fff; }
.badge-new  { background: var(--badge-new-bg, #02a0b4); color: #fff; }
.badge-sale { background: var(--badge-sale-bg, #dddd07); color: var(--baseblack-500, #1a202c); }

/* ── Thumbnails ── */
.product-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 91px;
    flex-shrink: 0;
    order: -1;
}

.product-gallery-thumb {
    width: 91px;
    height: 92px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    border: 1px solid #efefef;
    transition: border-color .15s, opacity .15s;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.product-gallery-thumb.active {
    border-color: var(--teal-500, #02a0b4);
    opacity: 1;
}
.product-gallery-thumb:hover {
    opacity: 1;
}

/* ─────────────────────────────────────────
   INFO
───────────────────────────────────────── */
.product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 24px;
    padding: 32px;
}

/* Article + rating header row */
.product-info-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.product-info-article {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #1a1a1a;
    opacity: 0.5;
    letter-spacing: 0.16px;
}

/* Category */
.product-info-category {
    display: inline-block;
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--baseblack-500);
    letter-spacing: .3px;
    margin-bottom: 0;
}
.product-info-category:empty { display: none; }

/* Name */
.product-info-name {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    letter-spacing: 0.24px;
    color: #1a1a1a;
    margin: 0;
}

/* Description */
.product-info-desc-wrap {
    margin-bottom: 0;
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 16px 24px;
    background: #fff;
}

.product-info-desc-label {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--teal-500, #02a0b4);
    margin: 0 0 8px;
    letter-spacing: 0.28px;
}

.product-info-description {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--grey-500);
    white-space: pre-wrap;
}

/* Price cards row */
.product-price-cards {
    display: flex;
    gap: 16px;
}
.product-price-card {
    flex: 1;
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.product-price-card-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.28px;
    width: 100%;
}
.product-price-card-value {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.32px;
    width: 100%;
}
.product-price-card-value small {
    font-size: 24px;
}

/* Stock indicator */
.product-stock {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.28px;
}
.product-stock-icon {
    width: 22px;
    height: 22px;
    background: #38a169;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}

/* Action row: quantity + cart + details + share */
.product-info-buy {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.product-info-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-shrink: 0;
}

.product-price-current {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 28px;
    color: #1a1a1a;
    white-space: nowrap;
    letter-spacing: 0.32px;
}

.product-price-old {
    font-size: 17px;
    font-weight: 500;
    color: var(--grey-300);
    text-decoration: line-through;
    white-space: nowrap;
}

/* Quantity selector */
.product-qty {
    flex: 1;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #efefef;
    border-radius: 12px;
    padding: 0 12px;
}
.product-qty-btn {
    width: 18px;
    height: 18px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #1a1a1a;
    padding: 0;
}
.product-qty-value {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.2px;
}

/* Cart button */
.product-btn-cart {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 56px;
    padding: 12px 24px;
    background: var(--teal-500, #02a0b4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.product-btn-cart img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

.product-btn-cart:hover { background: var(--teal-600, #017f8f); }
.product-btn-cart.in-cart { background: var(--teal-500); }

/* Details button */
.product-btn-details {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 12px 24px;
    background: transparent;
    color: var(--teal-500, #02a0b4);
    border: 1px solid var(--teal-500, #02a0b4);
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
    text-decoration: none;
}
.product-btn-details:hover { background: var(--teal-50, #e0f5f8); }

/* Min quantity card */
.product-min-qty-card {
    border: 1px solid #efefef;
    border-radius: 16px;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-min-qty-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.28px;
}
.product-min-qty-value {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

/* ─────────────────────────────────────────
   TABS
───────────────────────────────────────── */
.product-tabs {
    margin-top: 40px;
    position: relative;
}
.product-tabs-header {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}
.product-tab {
    padding: 16px 40px 16px 20px;
    border: none;
    background: none;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.16px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: color .15s;
    white-space: nowrap;
}
.product-tab:hover { color: var(--teal-500, #02a0b4); }
.product-tab.active {
    background: #fff;
    color: var(--teal-500, #02a0b4);
    border: 1px solid #efefef;
    border-bottom: 1px solid #fff;
    margin-bottom: -1px;
}
.product-tabs-body {
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 8px;
    padding: 32px;
    position: relative;
    z-index: 1;
}
.product-tab-pane { display: none; }
.product-tab-pane.active { display: block; }

/* ─────────────────────────────────────────
   SIMILAR PRODUCTS
───────────────────────────────────────── */
.similar-products-section {
    width: 100%;
    padding: 0 0 60px;
}
.similar-products-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--content-padding-x, 40px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.similar-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.similar-products-title {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
}
.similar-products-link {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    border: 1px solid rgba(47,47,187,0.2);
    border-radius: 8px;
    padding: 12px 24px;
    transition: background .15s;
}
.similar-products-link:hover { background: #f7f7f7; }
.similar-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ─────────────────────────────────────────
   SKELETON
───────────────────────────────────────── */
.product-skeleton {
    animation: skeleton-pulse 1.4s ease-in-out infinite;
}

@keyframes skeleton-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .55; }
}

.product-skeleton-breadcrumb {
    width: 280px;
    height: 14px;
    background: var(--grey-100);
    border-radius: 4px;
    margin-bottom: 28px;
}

.product-skeleton-body {
    display: grid;
    grid-template-columns: 560px 1fr;
    gap: 48px;
    align-items: start;
}

.product-skeleton-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-skeleton-main-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--grey-100);
    border-radius: 12px;
}

.product-skeleton-thumbs {
    display: flex;
    gap: 10px;
}

.product-skeleton-thumb {
    width: 76px;
    height: 76px;
    background: var(--grey-100);
    border-radius: 8px;
}

.product-skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.product-skeleton-line {
    background: var(--grey-100);
    border-radius: 4px;
    margin-bottom: 0;
}

/* ─────────────────────────────────────────
   ERROR STATE
───────────────────────────────────────── */
.product-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    gap: 14px;
    color: var(--grey-300);
}

.product-error-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--baseblack-500);
}

.product-error-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 28px;
    background: #02a0b4;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-top: 8px;
    transition: background .15s;
}

.product-error-btn:hover { background: #017f8f; }

/* ─────────────────────────────────────────
   REVIEWS SECTION
───────────────────────────────────────── */
.reviews-section {
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.reviews-inner {
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Header */
.reviews-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}

.reviews-title {
    font-family: var(--desktop-heading-h2-font-family);
    font-weight: 700;
    font-size: 24px;
    color: var(--baseblack-500);
    margin: 0;
}

.reviews-avg {
    display: flex;
    align-items: center;
    gap: 10px;
}

.reviews-avg-score {
    font-size: 32px;
    font-weight: 700;
    color: var(--baseblack-500);
    line-height: 1;
}

.reviews-stars-display {
    display: flex;
    gap: 2px;
}

.rv-star {
    font-size: 20px;
    color: var(--grey-200);
    line-height: 1;
}

.rv-star-filled { color: #f5a623; }

.rv-star-half {
    color: #f5a623;
    opacity: .5;
}

.reviews-avg-count {
    font-size: 14px;
    color: var(--grey-500);
    font-weight: 500;
}

/* Form wrap */
.reviews-form-wrap {
    background: #fff;
    border: 1.5px solid var(--grey-100);
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 28px;
}

/* Guest prompt */
.reviews-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--grey-500);
}

.reviews-guest svg { flex-shrink: 0; color: var(--grey-300); }

.reviews-login-link {
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #02a0b4;
    cursor: pointer;
    text-decoration: underline;
}

.reviews-login-link:hover { text-decoration: none; }

/* Form */
.reviews-form { display: flex; flex-direction: column; gap: 24px; }

.reviews-form-title {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.16px;
    margin: 0;
}

/* Star picker */
.reviews-star-picker {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rsp-star {
    background: none;
    border: none;
    font-size: 40px;
    color: var(--grey-200);
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color .1s, transform .1s;
}

.rsp-star:hover,
.rsp-star-active { color: #f5a623; transform: scale(1.1); }

.rsp-label {
    font-size: 14px;
    color: var(--grey-500);
    font-weight: 500;
    margin-left: 8px;
    display: none;
}

.reviews-textarea {
    width: 100%;
    padding: 24px;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    resize: none;
    outline: none;
    box-sizing: border-box;
    line-height: normal;
    min-height: 120px;
}
.reviews-textarea::placeholder {
    color: #1a1a1a;
    opacity: 0.5;
    font-weight: 700;
}

.reviews-form-comment-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reviews-form-rating-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}
.reviews-form-actions {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}

.reviews-submit {
    padding: 14px 24px;
    height: 56px;
    background: #02a0b4;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.2px;
    cursor: pointer;
    transition: background .15s;
    white-space: nowrap;
}

.reviews-submit:hover { background: #017f8f; }
.reviews-submit:disabled { background: var(--grey-200); cursor: not-allowed; }

.reviews-delete {
    padding: 11px 18px;
    background: none;
    color: var(--grey-500);
    border: 1.5px solid var(--grey-100);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color .15s, border-color .15s;
}

.reviews-delete:hover { color: var(--red-500); border-color: var(--red-500); }

.reviews-form-error {
    font-size: 13px;
    font-weight: 500;
    color: var(--red-500);
    min-height: 18px;
    margin: 0;
}

/* Loading / empty */
.reviews-loading,
.reviews-empty {
    font-size: 14px;
    color: var(--grey-500);
    padding: 24px 0;
    text-align: center;
}

/* Review cards */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    background: #fff;
    border: none;
    border-bottom: 1px solid #f5f5f5;
    border-radius: 0;
    padding: 0 0 24px;
    margin-bottom: 32px;
}
.review-card:last-child { border-bottom: none; margin-bottom: 0; }

.review-card-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.review-card-name {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.16px;
}

.review-card-date {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    opacity: 0.5;
    letter-spacing: 0.16px;
}

.review-card-stars-row {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

.review-card-text {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    letter-spacing: 0.16px;
    margin: 0;
}
.review-card-text strong {
    font-weight: 700;
}

/* Legacy — hide old elements */
.review-card-header { display: none; }
.review-card-author { display: none; }
.review-card-avatar { display: none; }
.review-card-stars { display: none; }
.review-card-own { border-color: rgba(2,160,180,.2); }
.review-own-badge { display: none; }

/* Admin reply block */
.review-admin-reply {
    margin-top: 12px;
    background: rgba(2,160,180,.04);
    border-left: 3px solid #02a0b4;
    border-radius: 0 8px 8px 0;
    padding: 12px 14px;
}

.review-admin-reply-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.review-admin-reply-label {
    font-size: 12px;
    font-weight: 700;
    color: #02a0b4;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.review-admin-reply-date {
    font-size: 11px;
    color: var(--grey-300);
    margin-left: auto;
}

.review-admin-reply-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--grey-500);
    margin: 0;
}

@media (max-width: 768px) {
    .reviews-section { padding: 32px 0 40px; }
    .reviews-inner   { padding: 0 14px; }
    .reviews-header  { flex-direction: column; align-items: flex-start; gap: 8px; }
    .reviews-avg-score { font-size: 26px; }
    .rsp-star { font-size: 26px; }
    .review-card { padding: 14px 16px; }
    .review-card-header { flex-direction: column; gap: 8px; }
}

/* ─────────────────────────────────────────
   RESPONSIVE — tablet
───────────────────────────────────────── */
@media (max-width: 1100px) {
    .product-layout {
        flex-direction: column;
        gap: 28px;
    }

    .product-skeleton-body {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .product-gallery {
        position: static;
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .product-skeleton-gallery {
        max-width: 560px;
        width: 100%;
    }

    .similar-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ─────────────────────────────────────────
   RESPONSIVE — mobile
───────────────────────────────────────── */
@media (max-width: 768px) {
    .product-page {
        padding: 16px 14px 40px;
    }

    .product-breadcrumb {
        font-size: 12px;
        margin-bottom: 16px;
        gap: 8px;
    }

    .product-page-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .product-layout {
        gap: 20px;
    }

    .product-gallery {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .product-gallery-thumbs {
        flex-direction: row;
        width: 100%;
        overflow-x: auto;
        gap: 8px;
        order: 0;
    }

    .product-gallery-thumb {
        width: 72px;
        height: 72px;
        flex-shrink: 0;
    }

    .product-info {
        padding: 20px;
        gap: 24px;
    }

    .product-price-cards {
        flex-direction: column;
        gap: 12px;
    }

    .product-info-buy {
        flex-wrap: wrap;
        gap: 12px;
    }

    .product-qty,
    .product-btn-cart,
    .product-btn-details {
        flex: 1 1 100%;
        min-width: 0;
    }

    .product-tabs-header {
        overflow-x: auto;
    }

    .product-tab {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .similar-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .similar-products-title {
        font-size: 24px;
    }

    .product-info-name {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .product-price-current {
        font-size: 24px;
    }

    .product-price-old {
        font-size: 15px;
    }

    .product-info-buy {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .product-btn-cart {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .product-gallery-thumb {
        width: 60px;
        height: 60px;
    }

    .product-skeleton-breadcrumb {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .product-page { padding: 14px 12px 40px; }
    .product-breadcrumb { font-size: 11px; gap: 6px; }
    .product-page-title { font-size: 18px; margin-bottom: 16px; }

    /* Gallery mobile */
    .product-gallery { gap: 10px; }
    .product-gallery-main { border-radius: 16px; }
    .product-gallery-thumb { width: 60px; height: 60px; border-radius: 10px; }

    /* Info card mobile */
    .product-info { padding: 16px; gap: 20px; border-radius: 16px; }
    .product-info-header { flex-direction: column; gap: 8px; }
    .product-info-article { font-size: 13px; }
    .product-info-rating-text { font-size: 13px; }
    .product-info-name { font-size: 17px; }

    /* Price cards */
    .product-price-card { padding: 14px 16px; border-radius: 12px; }
    .product-price-card-label { font-size: 12px; }
    .product-price-card-value { font-size: 22px; }
    .product-price-card-value small { font-size: 18px; }
    .product-price-current { font-size: 20px; }

    /* Min qty */
    .product-min-qty-card { padding: 14px 16px; border-radius: 12px; }
    .product-min-qty-label { font-size: 12px; }
    .product-min-qty-value { font-size: 20px; }

    /* Action buttons */
    .product-qty, .product-btn-cart, .product-btn-details {
        height: 48px;
        font-size: 16px;
        border-radius: 10px;
    }
    .product-qty-value { font-size: 16px; }

    /* Tabs */
    .product-tabs { margin-top: 24px; }
    .product-tab { padding: 10px 16px; font-size: 13px; }
    .product-tabs-body { padding: 16px; border-radius: 8px; }

    /* Reviews */
    .review-card { padding: 0 0 16px; margin-bottom: 16px; }
    .review-card-row { flex-direction: column; gap: 4px; }
    .review-card-name { font-size: 14px; }
    .review-card-date { font-size: 13px; }
    .review-card-text { font-size: 14px; }
    .rsp-star { font-size: 32px; }
    .reviews-textarea { padding: 16px; font-size: 14px; }
    .reviews-submit { width: 100%; font-size: 16px; }
    .reviews-form-actions { flex-direction: column; align-items: stretch; gap: 16px; }

    /* Similar products */
    .similar-products-inner { padding: 0 12px; gap: 20px; }
    .similar-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .similar-products-title { font-size: 20px; }
    .similar-products-link { padding: 10px 16px; font-size: 12px; }
}
@media (max-width: 360px) {
    .product-page-title { font-size: 16px; }
    .product-info-name { font-size: 16px; }
    .similar-products-grid { grid-template-columns: 1fr; }
}
