/* components.css: shared components for every page. */

/* ---------- Type helpers ---------- */
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.u-gold { text-decoration-line: underline; text-decoration-color: var(--gold); text-decoration-thickness: .12em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.section--cream { background: var(--cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  height: 48px; padding: 0 1.4rem; border-radius: var(--radius-button);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1;
  text-decoration: none; white-space: nowrap; border: 1.5px solid transparent;
  transition: transform .45s var(--ease-out), background-color .45s var(--ease-out), color .45s var(--ease-out), border-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.btn i { font-size: 1.25em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }
.btn--secondary { background: transparent; color: var(--burgundy); border-color: var(--burgundy); }
.btn--secondary:hover { background: var(--burgundy); color: var(--cream); }
.btn--gold { background: var(--gold); color: var(--burgundy-deep); }
.btn--gold:hover { background: color-mix(in oklab, var(--gold) 86%, var(--white)); }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--red);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em;
  transition: color .3s var(--ease-out);
}
.link:hover { color: var(--red-deep); }
.link i { transition: transform .4s var(--ease-out); }
.link:hover i { transform: translate(2px, -2px); }
.link--light { color: var(--cream); }
.link--light:hover { color: var(--white); }

/* ---------- Utility bar ---------- */
.utility { background: var(--burgundy); color: var(--cream); height: var(--utility-h); border-bottom: 2px solid var(--gold); font-size: .85rem; }
.utility__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility a { text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.utility a:hover { text-decoration: underline; }
.utility i { color: var(--gold); font-size: 1.05rem; }
.utility__loc { display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 639px) {
  .utility__loc { display: none; }
  .utility__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.sentinel { height: 1px; margin-bottom: -1px; pointer-events: none; }
.header {
  position: sticky; top: 0; z-index: var(--z-nav); height: var(--nav-h);
  background: color-mix(in oklab, var(--white) 92%, transparent);
  backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .4s var(--ease-out);
}
.header.is-scrolled { box-shadow: var(--shadow-sm); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.header__right { display: flex; align-items: center; gap: .6rem; }

.wordmark { display: inline-flex; align-items: flex-start; gap: .55rem; text-decoration: none; line-height: 1.15; color: var(--ink); }
.wordmark > i { color: var(--gold); font-size: 1.3rem; margin-top: .08rem; flex: none; }
.wordmark__text { display: grid; }
.wordmark__name { font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; }
.wordmark__branch { font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .18em; color: var(--gold-text); }
@media (max-width: 420px) { .wordmark__name { font-size: .78rem; letter-spacing: .02em; } .wordmark > i { font-size: 1.1rem; } }

.nav-links { display: none; gap: clamp(1.1rem, 2vw, 2.1rem); list-style: none; padding: 0; font-weight: 500; font-size: .98rem; }
.nav-links a { display: block; padding: .5rem 0; text-decoration: none; color: var(--ink); border-bottom: 2px solid transparent; transition: color .3s var(--ease-out); }
.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { border-bottom-color: var(--red); }
.header__cta { display: none; }
.wa-icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-button); background: var(--red); color: var(--white); font-size: 1.5rem; text-decoration: none; transition: background-color .45s var(--ease-out), transform .45s var(--ease-out); }
.wa-icon-btn:hover { background: var(--red-deep); transform: translateY(-1px); }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-button); font-size: 1.6rem; color: var(--ink); }
.menu-btn .menu-btn__close { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__open { display: none; }
.menu-btn[aria-expanded="true"] .menu-btn__close { display: inline-block; }
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .header__cta { display: inline-flex; }
  .wa-icon-btn, .menu-btn { display: none; }
}

.sheet {
  position: fixed; inset: 0; z-index: calc(var(--z-nav) - 1); background: var(--cream);
  padding: calc(var(--nav-h) + var(--utility-h) + 1.5rem) var(--gutter) 2rem; display: none; overflow-y: auto;
}
.sheet[data-open="true"] { display: block; }
.sheet__links { list-style: none; padding: 0; }
.sheet__links a { display: block; padding: .7rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 8vw, 2.4rem); text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet__links a[aria-current="page"] { color: var(--red); }
.sheet .btn { margin-top: 1.75rem; width: 100%; }
html.menu-open { overflow: hidden; }
@media (min-width: 900px) { .sheet { display: none !important; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: calc(1rem + env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: var(--z-sticky);
  width: 56px; height: 56px; border-radius: 18px; background: var(--red); color: var(--white);
  display: grid; place-items: center; font-size: 1.9rem; text-decoration: none; box-shadow: var(--shadow-lg);
  transition: background-color .45s var(--ease-out), transform .45s var(--ease-out);
}
.wa-float:hover { background: var(--red-deep); transform: translateY(-3px); }

/* ---------- Footer ---------- */
.footer { background: var(--burgundy-deep); color: var(--cream); border-top: 2px solid var(--gold); padding-block: 4rem 2rem; font-size: .98rem; }
.footer a { text-decoration: none; color: var(--cream); }
.footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .25em; }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; } }
.footer .wordmark { color: var(--white); }
.footer .wordmark__branch { color: var(--gold); }
.footer__title { font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .04em; color: var(--gold); margin-bottom: 1rem; }
.footer__list { list-style: none; padding: 0; display: grid; gap: .6rem; }
.footer__about { margin-top: 1.25rem; display: grid; gap: .5rem; max-width: 34ch; }
.footer__about p { max-width: none; }
.footer__about a { display: inline-flex; align-items: center; gap: .5rem; }
.footer__about i { color: var(--gold); }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(251 243 230 / 0.16); font-size: .88rem; color: rgb(251 243 230 / 0.78); }

/* ---------- Product cards ---------- */
.pgrid { list-style: none; padding: 0; display: grid; gap: 2.25rem 1.25rem; grid-template-columns: 1fr; }
.pgrid > li { max-width: none; }
@media (min-width: 480px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }

.pcard { display: block; text-decoration: none; color: inherit; transition: transform .5s var(--ease-out); }
.pcard:hover, .pcard:focus-visible { transform: translateY(-4px); }
.pcard:focus-visible { box-shadow: none; }
.pcard__media { position: relative; }
.pcard__media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-card); box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .5s var(--ease-out); z-index: 0; }
.pcard:hover .pcard__media::after, .pcard:focus-visible .pcard__media::after { opacity: 1; }
.pcard:focus-visible .pcard__media { box-shadow: var(--focus); border-radius: var(--radius-card); }
.pcard__frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-card); background: var(--cream); }
.pcard__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.pcard:hover .pcard__frame img, .pcard:focus-visible .pcard__frame img { transform: scale(1.04); }
.pcard__meta { display: flex; align-items: center; gap: .6rem; margin-top: .9rem; }
.pcard__cat { font-size: .85rem; color: var(--muted); }
.badge { display: inline-block; background: var(--gold); color: var(--burgundy-deep); font-size: .72rem; font-weight: 600; letter-spacing: .02em; padding: .15rem .5rem; border-radius: var(--radius-tag); line-height: 1.4; }
.pcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; line-height: 1.2; margin-top: .25rem; }
.pcard__price { display: flex; align-items: center; gap: .4rem; margin-top: .4rem; color: var(--gold-text); font-weight: 600; font-size: .95rem; }
.pcard__price i { color: var(--gold); font-size: 1.1rem; }

/* ---------- Burgundy band ---------- */
.band { background: var(--burgundy); color: var(--cream); padding-block: var(--section-y); }
.band h2, .band h3 { color: var(--white); }
.band .link { color: var(--cream); }
.band .link:hover { color: var(--white); }
.band--center { text-align: center; }
.band--center .container { display: grid; justify-items: center; gap: 1.25rem; }
.band--center p { margin-inline: auto; }
.band__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 1.75rem; margin-top: .5rem; }

/* ---------- Inline cream strip ---------- */
.strip { background: var(--cream); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.strip h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.015em; }

/* ---------- Breadcrumb ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .5rem; list-style: none; padding: 0; font-size: .88rem; color: var(--muted); }
.crumbs li { max-width: none; display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "/"; opacity: .55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }
.crumbs--light ol { color: rgb(251 243 230 / 0.82); }
.crumbs--light a:hover { color: var(--white); }
.crumbs--light [aria-current] { color: var(--white); }

/* ---------- Text tabs ---------- */
.tabs { display: flex; gap: 1.75rem; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { padding: .9rem 0; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .3s var(--ease-out); border-radius: 0; }
.tabs a:hover, .tabs button:hover { color: var(--red); }
.tabs a[aria-current="page"], .tabs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--red); }

/* ---------- Accordions ---------- */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; color: var(--red); transition: transform .4s var(--ease-out); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details p { padding-bottom: 1.25rem; color: var(--muted); max-width: 62ch; }

/* ---------- Info rows (address, phone...) ---------- */
.info { display: grid; gap: 1.1rem; margin-top: 1.75rem; }
.info__row dt { display: flex; align-items: center; gap: .75rem; font-size: .85rem; font-weight: 600; color: var(--muted); }
.info__row dt i { font-size: 1.4rem; color: var(--red); }
.info dd { margin: 0; padding-left: 2.15rem; font-weight: 500; }
.info a { text-decoration: none; }
.info a:hover { color: var(--red); text-decoration: underline; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn:active, .pcard:hover, .pcard:focus-visible, .wa-float:hover, .wa-icon-btn:hover, .link:hover i { transform: none; }
  .pcard:hover .pcard__frame img, .pcard:focus-visible .pcard__frame img { transform: none; }
  .btn, .pcard, .pcard__frame img, .pcard__media::after, .wa-float, .header, .faq summary i, .link i { transition: none; }
}
