:root {
    --ink: #26313c;
    --muted: #5e6267;
    --paper: #f6f4f0;
    --white: #fff;
    --gold: #805619;
    --line: #ded9d0;
    --shadow: 0 18px 50px rgba(38, 49, 60, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Montserrat, Arial, sans-serif;
    line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 100;
    padding: .75rem 1rem;
    color: var(--white);
    background: #111;
    transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 1rem clamp(1rem, 5vw, 5rem);
    color: var(--white);
    background: rgba(38, 49, 60, .97);
}

.brand img { width: 230px; height: auto; }
.site-header nav { display: flex; gap: clamp(.8rem, 2vw, 2rem); }
.site-header nav a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: #e0ba81; }

main > section { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 6vw, 7rem); }

.product-information { background: var(--paper); }
.product-information-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.product-information-grid h3 { margin: 0 0 1rem; font-size: 1.2rem; line-height: 1.4; }
.product-information-grid p { margin: 0; color: var(--muted); }
@media (max-width: 760px) {
    .product-information-grid { grid-template-columns: 1fr; }
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    min-height: min(760px, calc(100vh - 82px));
    background: var(--paper);
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.5rem; font-size: .9rem; }
.breadcrumb a { color: var(--gold); }
.eyebrow { margin: 0 0 .8rem; color: var(--gold); font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2 { margin: 0; line-height: 1.1; font-weight: 400; }
h1 { max-width: 13ch; font-size: clamp(2.6rem, 6vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.lead { max-width: 65ch; margin: 1.5rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }

.hero-image { margin: 0; overflow: hidden; min-height: 480px; background: #d8d4cc; box-shadow: var(--shadow); }
.hero-image img { width: 100%; height: min(70vh, 680px); object-fit: cover; }
.hero-image.contain-cover { background: var(--white); }
.hero-image.contain-cover img { padding: clamp(2rem, 7vw, 6rem); object-fit: contain; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.3rem; border: 1px solid var(--gold); text-decoration: none; }
.button.primary { color: var(--white); background: var(--gold); }
.button.secondary { color: var(--gold); background: transparent; }
.button:hover, .button:focus-visible { filter: brightness(.9); }

.section-heading { max-width: 760px; margin-bottom: 2.5rem; }
.highlights { background: var(--ink); color: var(--white); }
.highlights .eyebrow { color: #e0ba81; }
.highlights ul { display: flex; flex-wrap: wrap; gap: .75rem; padding: 0; margin: 0; list-style: none; }
.highlights li { padding: .75rem 1rem; border: 1px solid rgba(255,255,255,.25); }

.gallery-section { background: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); max-width: 1320px; margin: 0 auto; }
.gallery-card { margin: 0; background: var(--paper); box-shadow: 0 8px 25px rgba(38,49,60,.08); }
.gallery-card a { display: block; overflow: hidden; height: clamp(190px, 17vw, 260px); background: #ddd8d0; cursor: zoom-in; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-card a:hover img, .gallery-card a:focus-visible img { transform: scale(1.025); }
.gallery-card figcaption { min-height: 62px; padding: 1rem; font-weight: 600; }

.faq { background: var(--paper); }
.faq-list { max-width: 960px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 64px; padding: 1.2rem 2.5rem 1.2rem 0; cursor: pointer; font-weight: 700; }
.faq details p { max-width: 75ch; margin: 0; padding: 0 0 1.4rem; color: var(--muted); }

.related { overflow: hidden; background: #fbfaf8; }
.related-carousel-shell { position: relative; }
.related-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    padding: .5rem .15rem 1.25rem;
    scroll-behavior: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.related-carousel::-webkit-scrollbar { display: none; }
.related-card {
    position: relative;
    flex: 0 0 calc((100% - 3.75rem) / 4);
    min-width: 230px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    box-shadow: 0 12px 32px rgba(38,49,60,.12);
    scroll-snap-align: start;
    text-decoration: none;
}
.related-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(18,24,29,.86) 100%);
}
.related-card img { width: 100%; height: 230px; object-fit: cover; transition: transform .35s ease; }
.related-card.contain-cover img { padding: 2.5rem; object-fit: contain; background: var(--white); }
.related-card > span {
    position: absolute;
    right: 1.1rem;
    bottom: 1rem;
    left: 1.1rem;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 700;
}
.related-card:hover img, .related-card:focus-visible img { transform: scale(1.035); }
.related-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255,255,255,.96);
    box-shadow: 0 6px 20px rgba(38,49,60,.15);
    cursor: pointer;
    transform: translateY(-50%);
}
.related-control.previous { left: -23px; }
.related-control.next { right: -23px; }
.related-control:hover, .related-control:focus-visible { color: var(--white); background: var(--gold); }

.contact { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; color: var(--white); background: var(--ink); }
.contact .eyebrow { color: #e0ba81; }
.contact ul { padding: 0; margin: 0; list-style: none; }
.contact li + li { margin-top: .6rem; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem clamp(1rem, 6vw, 7rem); color: var(--white); background: #1d252d; }
footer p { margin: 0; }
footer nav { display: flex; gap: 1.5rem; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }

.product-site-footer { display: block; padding: 0; color: var(--white); background: #1d252d; }
.product-footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .7fr .95fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 6vw, 7rem);
}
.product-footer-brand img { width: 250px; height: auto; margin-bottom: 1.5rem; }
.product-footer-brand p { max-width: 58ch; margin-bottom: 1.2rem; color: rgba(255,255,255,.78); }
.product-footer-brand > a:not(:first-child) { display: flex; width: fit-content; min-height: 34px; }
.product-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.product-site-footer h3 { margin: 0 0 1.2rem; color: var(--white); font-size: 1.25rem; font-weight: 600; }
.product-footer-hours p { display: flex; justify-content: space-between; gap: 1.5rem; padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.82); }
.product-footer-hours b { color: var(--white); font-weight: 600; white-space: nowrap; }
.product-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem clamp(1rem, 6vw, 7rem); border-top: 1px solid rgba(255,255,255,.1); background: #182028; }
.product-footer-bottom nav { display: flex; gap: 1.5rem; }
.product-footer-bottom nav a { justify-content: center; width: 42px; height: 42px; min-height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.product-footer-bottom nav svg { width: 18px; height: 18px; fill: currentColor; }
.product-footer-bottom nav svg rect,
.product-footer-bottom nav svg circle { fill: none; stroke: currentColor; stroke-width: 2; }
.product-footer-bottom nav svg .solid { fill: currentColor; stroke: none; }
.product-footer-bottom nav a:hover,
.product-footer-bottom nav a:focus-visible { color: var(--ink); background: var(--white); }

.product-lightbox-dialog {
    width: min(94vw, 1120px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    overflow: visible;
    border: 0;
    color: var(--white);
    background: transparent;
}
.product-lightbox-dialog::backdrop { background: rgba(10,13,16,.92); }
.product-lightbox-dialog figure { display: grid; place-items: center; margin: 0; }
.product-lightbox-dialog img { width: auto; max-width: 100%; max-height: 82vh; object-fit: contain; box-shadow: 0 18px 70px rgba(0,0,0,.4); }
.product-lightbox-dialog figcaption { width: 100%; padding: .8rem 4rem 0; text-align: center; }
.lightbox-close,
.lightbox-control {
    position: fixed;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    color: var(--white);
    background: rgba(17,22,27,.72);
    cursor: pointer;
}
.lightbox-close { top: 1rem; right: 1rem; font-size: 2rem; }
.lightbox-control { top: 50%; font-size: 1.4rem; transform: translateY(-50%); }
.lightbox-control.previous { left: 1rem; }
.lightbox-control.next { right: 1rem; }
.lightbox-close:hover,
.lightbox-close:focus-visible,
.lightbox-control:hover,
.lightbox-control:focus-visible { color: var(--ink); background: var(--white); }
body.lightbox-open { overflow: hidden; }

.whatsapp-float {
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    color: var(--white);
    background: #25d366;
    box-shadow: 1px 1px 3px rgba(0,0,0,.35);
    text-decoration: none;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: currentColor; }
.whatsapp-float:hover, .whatsapp-float:focus-visible { color: var(--white); background: #1fbd5a; transform: translateY(-2px); }

a:focus-visible, summary:focus-visible { outline: 3px solid #c1842e; outline-offset: 4px; }

@media (max-width: 840px) {
    .site-header { position: relative; align-items: flex-start; gap: 1rem; }
    .site-header nav { flex-wrap: wrap; justify-content: flex-end; }
    .hero { grid-template-columns: 1fr; min-height: 0; }
    .hero-image { min-height: 380px; }
    .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .related-card { flex-basis: calc((100% - 1.25rem) / 2); }
    .related-control.previous { left: .5rem; }
    .related-control.next { right: .5rem; }
    .contact { grid-template-columns: 1fr; }
    .product-footer-grid { grid-template-columns: 1fr 1fr; }
    .product-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .site-header { display: block; }
    .brand img { width: 200px; }
    .site-header nav { justify-content: flex-start; margin-top: .8rem; gap: .25rem 1rem; }
    .site-header nav a { min-height: 40px; }
    .gallery { grid-template-columns: 1fr; }
    .related-card { flex-basis: 84%; min-width: 240px; }
    .related-control { width: 42px; height: 42px; }
    .hero-image { min-height: 320px; }
    .hero-image img { height: 420px; }
    .whatsapp-float { right: 20px; bottom: 20px; }
    .product-footer-grid { grid-template-columns: 1fr; }
    .product-footer-brand { grid-column: auto; }
    .product-footer-bottom { align-items: flex-start; flex-direction: column; }
    .lightbox-control { width: 42px; height: 42px; }
    .lightbox-control.previous { left: .5rem; }
    .lightbox-control.next { right: .5rem; }
    .product-lightbox-dialog figcaption { padding-right: 3rem; padding-left: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
