/* ── Product Page v2 — extends ../styles-v2.css ─────── */

.navbar {
    /*background: rgba(234,224,213,.96);*/ /*(234,224,213,.96),6B7C49,F4EEE0,B2C5A8*/
    background: rgba(178, 197, 168,.98);
}
.nav-mobile-menu {
    /*background: rgba(234,224,213,.98);*/
    background: rgba(178, 197, 168,.98);
}

.product-page {
    margin-top: var(--nav-height);
    padding: 0 0 80px;
    background: var(--cream);
    min-height: 100vh;
}

/* ── Breadcrumb ─────────────────────────────────────── */
.breadcrumb {
    padding: 18px 0 0;
    margin-bottom: 32px;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .75rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.breadcrumb li { display: flex; align-items: center; gap: 6px; }
.breadcrumb a { color: var(--ink-light); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--ink); font-weight: 500; }

/* ── Layout ─────────────────────────────────────────── */
.product-layout {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 64px;
    align-items: start;
}

/* ── Gallery ────────────────────────────────────────── */
.product-gallery {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.gallery-main-wrap {
    position: relative;
    background: var(--white);
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 1 / 1;
}
.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
    transition: opacity .25s ease;
}
.gallery-main-img.fading { opacity: 0; }

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    background: rgba(255,255,255,.85);
    border: 1px solid var(--border);
    border-radius: 0;
    font-size: .9rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
    transition: background var(--transition);
    z-index: 2;
}
.gallery-arrow:hover { background: var(--white); }
.gallery-arrow-left  { left: 12px; }
.gallery-arrow-right { right: 12px; }

.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gallery-thumb {
    width: 72px; height: 72px;
    object-fit: contain;
    background: var(--white);
    padding: 6px;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: border-color var(--transition);
    flex-shrink: 0;
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--ink); }

/* ── Product Info ────────────────────────────────────── */
.product-info h1 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    margin-bottom: 14px;
}

.product-price-display {
    font-size: 1.1rem;
    color: var(--ink-mid);
    margin-bottom: 24px;
}
.product-price-display strong {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
}
.product-price-display .price-note {
    font-size: .8rem;
    color: var(--ink-light);
    margin-left: 4px;
}

.divider { border: none; border-top: 1px solid var(--border); margin: 0 0 24px; }

/* ── Options ────────────────────────────────────────── */
.option-block { margin-bottom: 22px; }
.option-block > label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 10px;
}
.option-block > label span {
    font-weight: 400;
    color: var(--ink-mid);
    text-transform: none;
    letter-spacing: 0;
}

.pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pill {
    padding: 8px 18px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: .82rem;
    font-weight: 500;
    color: var(--ink-mid);
    cursor: pointer;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.pill:hover { border-color: var(--ink); color: var(--ink); }
.pill.selected { border-color: var(--ink); background: var(--ink); color: var(--white); }

.option-select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    background: var(--white);
    color: var(--ink);
    font-size: .9rem;
    font-family: 'Inter', sans-serif;
    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='%231C1C1C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    transition: border-color var(--transition);
}
.option-select:focus { outline: none; border-color: var(--ink); }

/* ── Quantity + Cart ─────────────────────────────────── */
.purchase-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}

.qty-control {
    display: flex;
    border: 1.5px solid var(--border);
    background: var(--white);
    flex-shrink: 0;
}
.qty-btn {
    width: 40px;
    border: none;
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--ink);
    transition: background var(--transition);
}
.qty-btn:hover { background: var(--cream); }
.qty-input {
    width: 48px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: .95rem;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--white);
}
.qty-input:focus { outline: none; }

.btn-add-cart {
    flex: 1;
    background: var(--ink);
    color: var(--white);
    border: none;
    padding: 14px 28px;
    font-size: .88rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--transition);
}
.btn-add-cart:hover { background: var(--accent-hover); }
.btn-add-cart.added { background: #3A6B3A; }

/* ── Trust row ───────────────────────────────────────── */
.trust-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}
.trust-row-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    color: var(--ink-mid);
    letter-spacing: .04em;
}
.trust-row-item i { font-size: .9rem; color: var(--ink-mid); }

/* ── Description ─────────────────────────────────────── */
.product-desc {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--ink-mid);
    margin-bottom: 28px;
}

.product-features-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--ink-mid);
    line-height: 1.5;
}
.product-features-list li::before {
    content: '';
    display: block;
    width: 5px; height: 5px;
    background: var(--ink);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
}

/* ── Accordion ───────────────────────────────────────── */
.accordion { border-top: 1px solid var(--border); }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink);
    font-family: 'Inter', sans-serif;
}
.accordion-trigger .icon { font-size: .7rem; transition: transform .25s ease; }
.accordion-trigger.open .icon { transform: rotate(180deg); }

.accordion-body {
    display: none;
    padding: 0 0 20px;
}
.accordion-body.open { display: block; }
.accordion-body p, .accordion-body li {
    font-size: .88rem;
    color: var(--ink-mid);
    line-height: 1.7;
}
.accordion-body ul { list-style: disc; padding-left: 18px; }
.accordion-body ul li { margin-bottom: 4px; }

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .88rem;
}
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table td { padding: 8px 0; vertical-align: top; }
.spec-table td:first-child {
    font-weight: 600;
    color: var(--ink);
    width: 40%;
    padding-right: 16px;
}
.spec-table td:last-child { color: var(--ink-mid); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
    .product-layout { grid-template-columns: 1fr; gap: 40px; }
    .product-gallery { position: static; }
}

@media (max-width: 480px) {
    .gallery-thumb { width: 60px; height: 60px; }
    .purchase-row { flex-direction: column; }
    .btn-add-cart { width: 100%; }
    .trust-row { gap: 12px; }
}
