/* ════════════════════════════════════════════════
   Products Page — Premium Lux Decor
   ════════════════════════════════════════════════ */

/* ── Page Hero / Category Banner ──────────────── */
.products-hero {
    padding: 160px 0 64px;
    background: linear-gradient(160deg, var(--light) 60%, var(--navy-l) 100%);
    border-bottom: 1px solid var(--sand);
    position: relative;
    overflow: hidden;
}

.products-hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -80px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,144,74,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk-m);
    margin-bottom: 20px;
}

.breadcrumb a { color: var(--gold); transition: opacity 0.2s; }
.breadcrumb a:hover { opacity: 0.7; }

.breadcrumb-sep {
    width: 14px; height: 1px;
    background: var(--text-dk-m);
    opacity: 0.4;
}

.products-hero-inner { max-width: 560px; }

.products-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 16px;
    color: var(--text-dk);
}

.products-hero p {
    font-size: 0.85rem;
    color: var(--text-dk-m);
    line-height: 1.8;
    max-width: 440px;
}

/* ── Products Layout ───────────────────────────── */
.products-section { padding: 56px 0 80px; }

.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    align-items: start;
}

/* ── Sidebar ───────────────────────────────────── */
.products-sidebar { position: sticky; top: 100px; }

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--sand);
}

.sidebar-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-dk);
}

.sidebar-clear {
    font-size: 0.6rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.sidebar-clear:hover { opacity: 0.6; }

.filter-group {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--sand);
}

.filter-group:last-child { border-bottom: none; margin-bottom: 0; }

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 16px;
    user-select: none;
}

.filter-group-header h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk);
}

.filter-toggle-icon {
    width: 14px; height: 14px;
    position: relative;
    flex-shrink: 0;
}

.filter-toggle-icon::before,
.filter-toggle-icon::after {
    content: '';
    position: absolute;
    background: var(--text-dk-m);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.filter-toggle-icon::before { width: 14px; height: 1px; top: 6px; left: 0; }
.filter-toggle-icon::after  { width: 1px; height: 14px; top: 0; left: 6px; }

.filter-group.collapsed .filter-toggle-icon::after { transform: rotate(90deg); opacity: 0; }

.filter-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
    max-height: 600px;
    transition: max-height 0.35s ease;
}

.filter-group.collapsed .filter-list { max-height: 0; }

.filter-list li a,
.filter-list li label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    font-size: 0.75rem;
    color: var(--text-dk-m);
    cursor: pointer;
    transition: color 0.2s;
    border-bottom: 1px solid transparent;
}

.filter-list li a:hover,
.filter-list li label:hover { color: var(--gold); }

.filter-list li.active a,
.filter-list li.active label { color: var(--gold); font-weight: 500; }

.filter-list li a::after {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-right: 1px solid var(--sand);
    border-bottom: 1px solid var(--sand);
    transform: rotate(-45deg);
    transition: border-color 0.2s;
    flex-shrink: 0;
}

.filter-list li.active a::after,
.filter-list li a:hover::after { border-color: var(--gold); }

/* Color swatches */
.filter-color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.color-swatch {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
}

.color-swatch:hover { transform: scale(1.15); border-color: var(--text-dk-m); }
.color-swatch.active { border-color: var(--gold); }
.color-swatch::after { content: attr(title); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-size: 0.58rem; white-space: nowrap; background: var(--text-dk); color: var(--cream); padding: 3px 7px; border-radius: 2px; opacity: 0; pointer-events: none; transition: opacity 0.2s; }
.color-swatch:hover::after { opacity: 1; }

/* ── Toolbar ───────────────────────────────────── */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sand);
    gap: 16px;
}

.product-count-text {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-dk-m);
}

.product-count-text strong {
    color: var(--gold);
    font-weight: 600;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-select-wrap label {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk-m);
    white-space: nowrap;
}

.sort-select {
    background: transparent;
    border: 1px solid var(--sand);
    color: var(--text-dk);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    padding: 8px 28px 8px 12px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23b8904a' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    min-width: 160px;
    transition: border-color 0.2s;
}

.sort-select:focus { outline: none; border-color: var(--gold); }

.view-toggle {
    display: flex;
    gap: 6px;
}

.view-btn {
    width: 34px; height: 34px;
    border: 1px solid var(--sand);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: var(--text-dk-m);
}

.view-btn.active, .view-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(184,144,74,0.06);
}

.view-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ── Products Grid ─────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.products-main.view-list .products-grid {
    grid-template-columns: 1fr;
}

/* ── Product Card ──────────────────────────────── */
.product-card {
    background: var(--white);
    border: 1px solid var(--sand);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.product-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.10);
    transform: translateY(-4px);
}

.product-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--light-2);
}

.product-card-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.product-card-img img.active { opacity: 1; }

.product-badge {
    position: absolute;
    top: 14px; left: 14px;
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 12px;
    background: rgba(245,234,216,0.92);
    color: var(--gold);
    border: 1px solid rgba(184,144,74,0.3);
    backdrop-filter: blur(6px);
    z-index: 3;
}

/* ── Zone divider hints (1/3 | 2/3 guides) ───── */
.product-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    background-image: linear-gradient(
        to right,
        transparent calc(33.333% - 1px),
        rgba(255,255,255,0.28) calc(33.333% - 1px),
        rgba(255,255,255,0.28) 33.333%,
        transparent 33.333%,
        transparent calc(66.666% - 1px),
        rgba(255,255,255,0.28) calc(66.666% - 1px),
        rgba(255,255,255,0.28) 66.666%,
        transparent 66.666%
    );
}
.product-card:hover .product-card-img::before { opacity: 1; }

.product-card:hover .product-card-overlay { opacity: 1; }

/* ── Image indicator dots ─────────────────────── */
.img-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.product-card:hover .img-indicators { opacity: 1; }
.img-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    transition: background 0.2s, transform 0.2s;
}
.img-dot.active {
    background: #fff;
    transform: scale(1.35);
}

.product-card-overlay-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 10px 24px;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transform: translateY(10px);
    transition: transform 0.3s ease, background 0.2s;
}

.product-card:hover .product-card-overlay-btn { transform: translateY(0); }
.product-card-overlay-btn:hover { background: var(--gold-l); }

.product-card-body { padding: 20px 20px 22px; }

.product-cat {
    font-size: 0.6rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dk);
    line-height: 1.3;
    margin-bottom: 8px;
}

.product-spec {
    font-size: 0.68rem;
    color: var(--text-dk-m);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--sand);
}

.product-quote-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 9px 20px;
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-quote-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: 0;
}

.product-quote-btn:hover::before { transform: scaleX(1); }
.product-quote-btn:hover { color: var(--white); }
.product-quote-btn span { position: relative; z-index: 1; }

.product-details-link {
    font-size: 0.62rem;
    letter-spacing: 1px;
    color: var(--text-dk-m);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.product-details-link svg { width: 14px; height: 14px; stroke: currentColor; fill: none; transition: transform 0.2s; }
.product-details-link:hover { color: var(--gold); }
.product-details-link:hover svg { transform: translateX(3px); }

/* List view card adjustments */
.products-main.view-list .product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
}

.products-main.view-list .product-card-img {
    aspect-ratio: auto;
    height: 200px;
}

.products-main.view-list .product-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 28px;
}

/* ── Pagination / Load More ────────────────────── */
.products-footer {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.load-more-bar {
    width: 100%;
    max-width: 360px;
    text-align: center;
}

.load-more-text {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--text-dk-m);
    margin-bottom: 18px;
}

.load-more-text strong { color: var(--text-dk); }

.load-more-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 14px 48px;
    border: 1px solid var(--gold);
    color: var(--gold);
    background: transparent;
    cursor: pointer;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.load-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s ease;
    z-index: 0;
}

.load-more-btn:hover::before { transform: scaleY(1); }
.load-more-btn:hover { color: var(--white); }
.load-more-btn span { position: relative; z-index: 1; }

/* ── Category Info Section ─────────────────────── */
.category-info {
    background: var(--navy-l);
    border-top: 1px solid var(--sand);
    padding: 72px 0;
}

.category-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.category-info .section-label { text-align: left; margin: 0 0 14px; }
.category-info .section-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.category-info p {
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--text-dk-m);
    margin-top: 18px;
}

.category-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 12px;
}

.category-feature {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    background: var(--light);
    border: 1px solid var(--sand);
}

.category-feature-icon {
    width: 32px; height: 32px;
    margin-bottom: 4px;
}

.category-feature-icon svg {
    width: 100%; height: 100%;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.2;
}

.category-feature h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk);
}

.category-feature p {
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--text-dk-m);
    margin: 0;
}

/* ── Mobile Sidebar Toggle ─────────────────────── */
.sidebar-mobile-toggle {
    display: none;
    width: 100%;
    padding: 12px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--white);
    border: 1px solid var(--sand);
    color: var(--text-dk);
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sidebar-mobile-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }

/* ── Active Filter Tags ────────────────────────── */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.active-filter-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 14px;
    background: rgba(184,144,74,0.1);
    border: 1px solid rgba(184,144,74,0.3);
    font-size: 0.62rem;
    letter-spacing: 1px;
    color: var(--text-dk);
}

.active-filter-tag button {
    width: 14px; height: 14px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 12px;
    line-height: 1;
    transition: opacity 0.2s;
}

.active-filter-tag button:hover { opacity: 0.6; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1024px) {
    .products-layout { grid-template-columns: 220px 1fr; gap: 32px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .category-info-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .products-hero { padding: 130px 0 44px; }
    .products-layout { grid-template-columns: 1fr; gap: 0; }

    .products-sidebar {
        position: fixed;
        top: 0; left: 0;
        width: 300px;
        height: 100dvh;
        background: var(--light);
        z-index: 900;
        padding: 80px 24px 40px;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.4s ease;
        box-shadow: 4px 0 40px rgba(0,0,0,0.12);
    }

    .products-sidebar.open { transform: translateX(0); }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 899;
    }

    .sidebar-overlay.visible { display: block; }

    .sidebar-mobile-toggle { display: flex; }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .products-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
    .toolbar-right { width: 100%; justify-content: space-between; }

    .products-main.view-list .product-card { grid-template-columns: 1fr; }
    .products-main.view-list .product-card-img { height: 200px; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .category-features { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   Product Detail Page
   ════════════════════════════════════════════════ */

.pd-hero {
    padding: 90px 0 0;
    background: var(--light);
}

.pd-hero .breadcrumb {
    padding: 28px 0;
    border-bottom: 1px solid var(--sand);
}

.pd-section {
    padding: 48px 0 80px;
    background: var(--light);
}

.pd-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

/* ── Gallery ── */
.pd-gallery-main {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-2);
}

.pd-gallery-main img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.35s ease;
    position: absolute;
    inset: 0;
    opacity: 0;
}

.pd-gallery-main img.active { opacity: 1; }

.pd-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.pd-thumb {
    flex: 1;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.pd-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pd-thumb:hover img { transform: scale(1.06); }
.pd-thumb.active { border-color: var(--gold); }
.pd-thumb:not(.active):hover { border-color: var(--text-dk-m); }

/* ── Info Panel ── */
.pd-cat-tag {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(184,144,74,0.4);
    padding: 5px 14px;
    margin-bottom: 18px;
}

.pd-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--text-dk);
    line-height: 1.2;
    margin-bottom: 20px;
}

.pd-short-desc {
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--text-dk-m);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--sand);
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--sand);
    border: 1px solid var(--sand);
    margin-bottom: 36px;
}

.pd-spec-item {
    background: var(--white);
    padding: 16px 18px;
}

.pd-spec-label {
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk-m);
    margin-bottom: 5px;
}

.pd-spec-val {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dk);
}

.pd-cta {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pd-quote-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 16px 40px;
    background: var(--gold);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.pd-quote-btn:hover { background: var(--gold-l); transform: translateY(-1px); }

.pd-contact-link {
    font-size: 0.68rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dk-m);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.pd-contact-link:hover { color: var(--gold); }

.pd-contact-link svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 1.5;
    transition: transform 0.2s;
}

.pd-contact-link:hover svg { transform: translateX(3px); }

.pd-code {
    font-size: 0.62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk-m);
    opacity: 0.55;
    padding-top: 16px;
    border-top: 1px solid var(--sand);
    margin-top: 8px;
}

/* ── Tabs ── */
.pd-tabs-section {
    padding: 0 0 80px;
    background: var(--light);
}

.pd-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--sand);
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pd-tab-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 28px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--text-dk-m);
    transition: color 0.2s, border-color 0.2s;
    margin-bottom: -1px;
}

.pd-tab-btn:hover { color: var(--text-dk); }
.pd-tab-btn.active { color: var(--gold); border-bottom-color: var(--gold); }

.pd-tab-panel { display: none; }
.pd-tab-panel.active { display: block; animation: pdFadeIn 0.3s ease; }

@keyframes pdFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pd-tab-panel p {
    font-size: 0.82rem;
    line-height: 1.9;
    color: var(--text-dk-m);
    max-width: 720px;
    margin-bottom: 16px;
}

.pd-tech-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 640px;
}

.pd-tech-table tr { border-bottom: 1px solid var(--sand); }
.pd-tech-table tr:last-child { border-bottom: none; }
.pd-tech-table td { padding: 12px 16px; font-size: 0.78rem; }
.pd-tech-table td:first-child { color: var(--text-dk-m); font-weight: 500; width: 42%; }
.pd-tech-table td:last-child { color: var(--text-dk); }

.pd-dims-note {
    font-size: 0.78rem;
    color: var(--text-dk-m);
    line-height: 1.8;
    max-width: 580px;
    padding: 24px;
    border: 1px solid var(--sand);
    background: var(--white);
}

.pd-dims-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--sand);
    border: 1px solid var(--sand);
    max-width: 480px;
    margin-bottom: 24px;
}

.pd-dim-box {
    background: var(--white);
    padding: 20px;
    text-align: center;
}

.pd-dim-box strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.pd-dim-box span {
    font-size: 0.58rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-dk-m);
}

/* ── Related Products ── */
.pd-related {
    padding: 64px 0 80px;
    background: var(--light-2);
}

.pd-related .section-label { color: var(--gold); margin-bottom: 8px; }
.pd-related .section-title { margin-bottom: 40px; }

.pd-related-grid { grid-template-columns: repeat(3, 1fr) !important; }

/* ── PD Responsive ── */
@media (max-width: 960px) {
    .pd-layout { grid-template-columns: 1fr; gap: 36px; }
    .pd-gallery-main { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
    .pd-hero { padding: 70px 0 0; }
    .pd-related-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .pd-tab-btn { padding: 12px 16px; }
}

@media (max-width: 480px) {
    .pd-related-grid { grid-template-columns: 1fr !important; }
    .pd-specs-grid { grid-template-columns: 1fr; }
    .pd-dims-grid { grid-template-columns: 1fr; max-width: 100%; }
    .pd-cta { flex-direction: column; align-items: flex-start; }
}
