.pdp-page { margin-bottom: 80px; }

.pdp-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px 20px 64px;
    /* IMPORTANT: do NOT add overflow here — breaks sticky */
}

.pdp-images {
    position: sticky;
    top: 80px;
    align-self: start;
}

.pdp-main-wrap {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f3;
    position: relative;
    cursor: zoom-in;
}

.pdp-main-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease, opacity .25s ease;
}

.pdp-main-wrap:hover img { transform: scale(1.05); }

.pdp-sale-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 6px;
    z-index: 2;
}

/* ── Thumbnails ───────────────────────────────────────── */
.pdp-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.pdp-thumb {
    width: 68px;
    height: 68px;
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    background: #f5f5f3;
    flex-shrink: 0;
    transition: border-color .2s;
}

.pdp-thumb:hover  { border-color: #9ca3af; }
.pdp-thumb.active { border-color: #fecc00; }

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

/* ── Info column ──────────────────────────────────────── */
.pdp-info { min-width: 0; }

.pdp-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.pdp-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6366f1;
    background: #eef2ff;
    padding: 4px 10px;
    border-radius: 20px;
}

.pdp-name {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    margin: 0 0 14px;
}

/* ── Rating row ───────────────────────────────────────── */
.pdp-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.pdp-stars { display: flex; gap: 2px; }
.star-filled { color: #f59e0b; font-size: 16px; }
.star-empty  { color: #d1d5db; font-size: 16px; }
.pdp-rating-avg   { font-size: 14px; font-weight: 700; color: #111; }
.pdp-rating-count { font-size: 13px; color: #6b7280; }

/* ── Price ────────────────────────────────────────────── */
.pdp-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.pdp-price {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: #111;
}

.pdp-price-old {
    font-size: 16px;
    color: #9ca3af;
    text-decoration: line-through;
}

.pdp-save {
    font-size: 12px;
    font-weight: 700;
    color: #16a34a;
    background: #dcfce7;
    padding: 3px 9px;
    border-radius: 4px;
}

.pdp-price-sub { font-size: 13px; color: #6b7280; margin-bottom: 6px; }

.pdp-divider { border: none; border-top: 1px solid #f0f0f0; margin: 20px 0; }

.pdp-desc { font-size: 15px; line-height: 1.7; color: #374151; margin-bottom: 20px; }

/* ── Stock status ─────────────────────────────────────── */
.pdp-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 6px 12px;
    border-radius: 20px;
}

.pdp-stock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.stock-in   { background: #f0fdf4; color: #16a34a; }
.stock-in  .pdp-stock-dot { background: #16a34a; }
.stock-out  { background: #fef2f2; color: #ef4444; }
.stock-out .pdp-stock-dot { background: #ef4444; }
.stock-back { background: #fffbeb; color: #d97706; }
.stock-back .pdp-stock-dot { background: #d97706; }

.pdp-stock-qty { font-weight: 400; color: #6b7280; font-size: 12px; }

/* ── Variation attributes ─────────────────────────────── */
.pdp-attr { margin-bottom: 20px; }

.pdp-attr-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pdp-attr-name {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #111;
}

.pdp-attr-sel { font-size: 13px; color: #6366f1; font-weight: 500; }

.pdp-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pdp-chip {
    padding: 8px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    color: #111;
    transition: all .15s;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdp-chip:hover    { border-color: #111; }
.pdp-chip.active   { border-color: #111; background: #111; color: #fff; }
.pdp-chip.disabled { opacity: .35; cursor: not-allowed; text-decoration: line-through; }

.pdp-chip.chip-color {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 50%;
    position: relative;
    justify-content: center;
}

.pdp-chip.chip-color.active::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

.chip-img { width: 24px; height: 24px; border-radius: 3px; object-fit: cover; }

/* ── Variation status badge ───────────────────────────── */
.pdp-var-status {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    display: none;
}

.pdp-var-status.show { display: block; }
.status-in   { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.status-out  { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
.status-back { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

/* ── Buy row ──────────────────────────────────────────── */
.pdp-buy {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.pdp-qty {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    background: #fff;
    flex-shrink: 0;
}

.pdp-qty-btn {
    width: 42px;
    height: 50px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.pdp-qty-btn:hover { background: #f3f4f6; }

.pdp-qty-input {
    width: 50px;
    height: 50px;
    border: none;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    outline: none;
    color: #111;
}

.pdp-atc {
    flex: 1;
    min-width: 160px;
    height: 50px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .15s;
    text-transform: uppercase;
}

.pdp-atc:hover:not(:disabled) {
    background: #fecc00;
    transform: translateY(-1px);
    color: #000;
}

.pdp-atc:disabled { background: #d1d5db; cursor: not-allowed; transform: none; }

.pdp-wish {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
    transition: all .2s;
}

.pdp-wish:hover,
.pdp-wish.wished { border-color: #ef4444; color: #ef4444; background: #fef2f2; }
.pdp-wish.wished svg { fill: #ef4444; }

/* ── Photo Upload — Modern UI ─────────────────────────── */
.ppu-wrap {
    margin: 16px 0;
    background: #fff;
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.ppu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
    flex-wrap: wrap;
}

.ppu-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ppu-icon {
    width: 40px;
    height: 40px;
    background: #eef2ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
}

.ppu-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
}

.ppu-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-top: 2px;
}

.ppu-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.ppu-progress-bar {
    width: 120px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.ppu-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px;
    transition: width .4s ease;
}

.ppu-progress-text {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    white-space: nowrap;
}

.ppu-upload-zone {
    margin: 16px 20px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: #fafafa;
    color: #6b7280;
}

.ppu-upload-zone:hover,
.ppu-upload-zone.dragover {
    border-color: #6366f1;
    background: #eef2ff;
    color: #6366f1;
}

.ppu-upload-zone svg { margin-bottom: 8px; }

.ppu-zone-text {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.ppu-zone-text span {
    color: #6366f1;
    font-weight: 700;
    text-decoration: underline;
}

.ppu-zone-hint { font-size: 12px; color: #9ca3af; }

.ppu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    padding: 0 20px 20px;
    min-height: 0;
}

.ppu-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .2s, opacity .2s;
}

.ppu-item-inner {
    position: relative;
    aspect-ratio: 1;
}

.ppu-item-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.ppu-item-overlay {
    position: absolute;
    inset: 0;
    border-radius: 10px;
    opacity: 0;
    transition: opacity .2s;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 6px;
}

.ppu-item:hover .ppu-item-overlay { opacity: 1; }

.ppu-item-num {
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}

.ppu-item-remove {
    width: 22px;
    height: 22px;
    background: rgba(220,38,38,.85);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}

.ppu-item-remove:hover { background: #dc2626; }

.ppu-item-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
}

.ppu-item.uploading .ppu-item-status { background: rgba(0,0,0,.45); }
.ppu-item.done      .ppu-item-status { background: rgba(22,163,74,.75); }
.ppu-item.failed    .ppu-item-status { background: rgba(220,38,38,.75); }

.ppu-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ppuSpin .7s linear infinite;
}

@keyframes ppuSpin { to { transform: rotate(360deg); } }

.ppu-msg {
    padding: 0 20px 16px;
    font-size: 13px;
    font-weight: 600;
}

/* ── Product meta ─────────────────────────────────────── */
.pdp-meta { display: flex; flex-direction: column; gap: 6px; }

.pdp-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #374151;
}

.pdp-meta-label {
    font-weight: 700;
    color: #111;
    min-width: 72px;
    font-size: 12px;
    text-transform: uppercase;
}

.pdp-free-shipping { color: #16a34a; font-weight: 600; }

/* ── Toast notification ───────────────────────────────── */
.pdp-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #111;
    color: #fff;
    padding: 13px 24px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0,0,0,.18);
    opacity: 0;
    transition: transform .35s cubic-bezier(.175,.885,.32,1.275), opacity .35s;
    z-index: 9999;
    white-space: nowrap;
    pointer-events: none;
}

.pdp-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ── Photo upload slots ───────────────────────────────── */
.pdp-photo-upload {
    margin: 16px 0;
    padding: 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.ppu-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #166534;
    margin-bottom: 4px;
}

.ppu-sub { font-size: 12px; color: #6b7280; margin-bottom: 14px; }

.ppu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
}

.ppu-slot { position: relative; }

.ppu-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    aspect-ratio: 1;
    border: 2px dashed #86efac;
    border-radius: 8px;
    cursor: pointer;
    background: #fff;
    transition: all .18s;
    font-size: 11px;
    color: #6b7280;
}

.ppu-placeholder:hover { border-color: #16a34a; background: #dcfce7; }

.ppu-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #86efac;
}

.ppu-preview img { width: 100%; height: 100%; object-fit: cover; display: block; }

.ppu-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(220,38,38,.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ppu-status {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 10px;
    text-align: center;
    padding: 3px;
}

.ppu-msg { margin-top: 10px; font-size: 13px; font-weight: 600; }

/* ── Tabs section ─────────────────────────────────────── */
.pdp-tabs-section {
    max-width: 1440px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.pdp-tab-nav {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 32px;
}

.pdp-tab-btn {
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #6b7280;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color .15s, border-color .15s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pdp-tab-btn:hover { color: #111; }

.pdp-tab-btn.active {
    color: #111;
    border-bottom-color: #111;
}

.pdp-tab-badge {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 20px;
}

.pdp-tab-btn.active .pdp-tab-badge {
    background: #111;
    color: #fff;
}

.pdp-tab-panel        { display: none; }
.pdp-tab-panel.active { display: block; }

/* ── Description panel ────────────────────────────────── */

.pdp-brief-panel p {
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
    margin: 0;
}

.pdp-brief-empty { font-size: 14px; color: #9ca3af; font-style: italic; }

/* ── Reviews layout ───────────────────────────────────── */
.reviews-layout {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}

.reviews-left { display: flex; flex-direction: column; gap: 20px; }

/* ── Reviews summary card ─────────────────────────────── */
.reviews-summary {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.rs-score {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.rs-avg {
    font-size: 52px;
    font-weight: 800;
    color: #111;
    line-height: 1;
    margin-bottom: 8px;
}

.rs-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-bottom: 6px;
}

.rs-stars .star-filled { color: #f59e0b; font-size: 20px; }
.rs-stars .star-empty  { color: #e5e7eb; font-size: 20px; }
.rs-count { font-size: 13px; color: #6b7280; }

.rs-bars { display: flex; flex-direction: column; gap: 8px; }

.rs-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; }

.rs-bar-label { width: 22px; color: #6b7280; text-align: right; flex-shrink: 0; font-weight: 600; }

.rs-bar-track { flex: 1; height: 7px; background: #f3f4f6; border-radius: 4px; overflow: hidden; }

.rs-bar-fill { height: 100%; background: #f59e0b; border-radius: 4px; transition: width .6s ease; }

.rs-bar-num { width: 20px; color: #6b7280; text-align: right; flex-shrink: 0; }

/* ── Review form card ─────────────────────────────────── */
.review-form-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.review-form-title { font-size: 15px; font-weight: 800; color: #111; margin: 0 0 20px; }

.rf-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
    line-height: 1.5;
}

.rf-alert svg { flex-shrink: 0; margin-top: 1px; }
.rf-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.rf-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

.rf-field { margin-bottom: 14px; }
.rf-field:last-of-type { margin-bottom: 0; }

.rf-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rf-required { color: #ef4444; }

.rf-field input,
.rf-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 13px;
    color: #111;
    background: #fff;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    box-sizing: border-box;
}

.rf-field input:focus,
.rf-field textarea:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.08);
}

.rf-field textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.rf-hint { font-size: 10px; color: #9ca3af; margin-top: 4px; display: block; }

.rf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }



/* ── Star picker ──────────────────────────────────────── */
.star-picker {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
    margin-bottom: 14px;
}

.star-picker input { display: none; }

.star-picker label {
    font-size: 30px;
    color: #d1d5db;
    cursor: pointer;
    transition: color .15s;
    line-height: 1;
}

.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #f59e0b; }

/* ── Logged-in user card ──────────────────────────────── */
.rf-user-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 13px;
    background: #eef2ff;
    border: 1px solid #c7d2fe;
    border-radius: 9px;
    margin-bottom: 14px;
}

.rf-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.rf-user-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rf-user-name  { font-size: 13px; font-weight: 700; color: #111; }
.rf-user-email { font-size: 11px; color: #6b7280; }
.rf-logged-badge { margin-left: auto; font-size: 11px; color: #6366f1; font-weight: 700; white-space: nowrap; flex-shrink: 0; }

.rf-verified-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #16a34a;
    font-weight: 600;
    margin-bottom: 12px;
}

.rf-submit {
    width: 100%;
    height: 46px;
    background: #111;
    color: #fff;
    border: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s, transform .15s;
    margin-top: 14px;
}

.rf-submit:hover { background: #fecc00; color: #000; transform: translateY(-1px); }

/* ── Review cards ─────────────────────────────────────── */
.review-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.review-card:last-child { margin-bottom: 0; }

.rc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.rc-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef2ff;
    color: #6366f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
}

.rc-meta { flex: 1; min-width: 0; }
.rc-name { font-size: 14px; font-weight: 700; color: #111; margin-bottom: 2px; }
.rc-date { font-size: 12px; color: #9ca3af; }

.rc-stars { display: flex; gap: 2px; margin-left: auto; }
.rc-stars .star-filled { color: #f59e0b; font-size: 15px; }
.rc-stars .star-empty  { color: #e5e7eb; font-size: 15px; }

.rc-text { font-size: 14px; line-height: 1.7; color: #374151; margin: 0; }

.rc-verified {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #16a34a;
    font-weight: 700;
    margin-top: 10px;
}

/* ── Empty reviews state ──────────────────────────────── */
.reviews-empty {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #6b7280;
}

.reviews-empty-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #d1d5db;
}

.reviews-empty h3 { font-size: 16px; font-weight: 700; color: #111; margin: 0 0 6px; }
.reviews-empty p  { font-size: 13px; margin: 0; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1024px) {
    .reviews-layout { grid-template-columns: 300px 1fr; gap: 28px; }
}

@media (max-width: 900px) {
    .pdp-wrap { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px 48px; }
    /* On mobile the grid collapses to 1 col, so sticky is pointless — reset it */
    .pdp-images { position: static; }
    .reviews-layout { grid-template-columns: 1fr; }
    .reviews-left { flex-direction: row; flex-wrap: wrap; }
    .reviews-summary,
    .review-form-card { flex: 1; min-width: 280px; }
}

@media (max-width: 768px) {
    .pdp-wrap { padding: 20px 16px 40px; }
    .pdp-buy  { flex-wrap: wrap; }
    .pdp-atc  { min-width: 100%; order: -1; }
    .rf-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .pdp-thumbs { gap: 6px; }
    .pdp-thumb  { width: 56px; height: 56px; }
    .reviews-left { flex-direction: column; }
    .pdp-buy    { gap: 8px; }
}