/* ─── Design Tokens ─────────────────── */
:root {
    --bg:     #FAF9F7;
    --white:  #FFFFFF;
    --ink:    #2C2621;
    --muted:  #6E665F;
    --accent: #9A8873;
    --border: #EBE5DF;
    --ease:   cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ─── Reset ─────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { font-size:16px; }
body { font-family:'Montserrat',sans-serif; color:var(--ink); background:var(--bg); line-height:1.7; -webkit-font-smoothing:antialiased; }
a { text-decoration:none; color:inherit; }
img { display:block; max-width:100%; }
h1,h2,h3,.serif { font-family:'Cormorant Garamond',serif; }

/* ─── Nav ─────────────────────────── */
nav {
    padding: 1.4rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-back {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}
.nav-back:hover { color: var(--ink); }
.nav-logo {
    font-family:'Cormorant Garamond',serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.nav-inquire {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    transition: color 0.3s;
}
.nav-inquire:hover { color: var(--ink); }

/* ─── Product Layout ──────────────── */
.product-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: calc(100vh - 65px);
    max-width: 1400px;
    margin: 0 auto;
}

/* Left panel */
.product-info {
    padding: 4rem;
    position: sticky;
    top: 65px;
    height: calc(100vh - 65px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background: var(--bg);
}

.breadcrumb {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}
.breadcrumb span { color: var(--ink); }

h1 {
    font-size: clamp(2.4rem,3.5vw,3.4rem);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}
.price {
    font-family:'Cormorant Garamond',serif;
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 2rem;
}
.description {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 380px;
    line-height: 1.85;
}

/* Color section */
.color-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--muted);
    margin-bottom: 0.9rem;
    display: block;
}
.swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}
.color-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}
.swatch {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 1px solid #d1d1d1;
    flex-shrink: 0;
}
.swatch-name {
    font-size: 0.78rem;
    font-weight: 500;
}

/* CTA */
.buy-btn {
    display: block;
    width: 100%;
    padding: 1.15rem;
    background: var(--ink);
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    border: 1px solid var(--ink);
    transition: background 0.3s var(--ease), color 0.3s var(--ease);
    cursor: pointer;
}
.buy-btn:hover { background: transparent; color: var(--ink); }
.buy-note {
    text-align: center;
    font-size: 0.68rem;
    color: var(--muted);
    margin-top: 0.8rem;
}

/* Right panel — gallery */
.product-gallery {
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--white);
    border-left: 1px solid var(--border);
}
.gallery-img {
    width: 100%;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
}

/* ─── You May Also Like ───────────── */
.also-like {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}
.also-like-header {
    text-align: center;
    margin-bottom: 3rem;
}
.also-like-header span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}
.also-like-header h2 {
    font-size: 2rem;
    font-weight: 300;
}
.also-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}
.also-card {
    display: block;
    text-align: center;
}
.also-img-wrap {
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #f0ede9;
    margin-bottom: 1rem;
}
.also-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.also-card:hover .also-img-wrap img { transform: scale(1.05); }
.also-name { font-family:'Cormorant Garamond',serif; font-size:1.2rem; margin-bottom:0.2rem; }
.also-price { font-size:0.82rem; color:var(--accent); font-weight:500; }

/* ─── Footer strip ────────────────── */
.page-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2rem;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
}
.page-footer a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.page-footer a:hover { color: #fff; }

/* ─── Mobile ──────────────────────── */
@media (max-width: 900px) {
    .product-wrap { grid-template-columns: 1fr; }
    .product-info { position:static; height:auto; padding:2rem; order:2; }
    .product-gallery { padding:1.5rem; border-left:none; order:1; }
    h1 { font-size: 2.4rem; }
    .description { max-width: 100%; }
}
@media (max-width: 600px) {
    nav { padding: 1.2rem 1.5rem; }
    .also-grid { grid-template-columns: 1fr; max-width: 320px; }
}
