/* The "black stage" look: rounded panels floating on #082A2F, gold accent,
   wide uppercase headlines. Loaded last, so it overrides the earlier files. */

/* ---------- Page structure ---------- */
body:not(.admin-body) h1, body:not(.admin-body) h2, body:not(.admin-body) h3 { text-transform: uppercase; }
main { padding-bottom: 8px; }
body:not(.home) main { padding-top: 104px; }

main > section:not(.hero) {
  width: min(1280px, calc(100% - 32px)) !important;
  max-width: none !important;
  margin: 18px auto !important;
  padding: clamp(34px, 5vw, 72px) clamp(20px, 4.5vw, 64px) !important;
  background: rgba(15, 58, 64, 0.94);
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
}
main > section.narrow, main > section.prose { width: min(980px, calc(100% - 32px)) !important; }
main > section .container { max-width: none; padding-left: 0; padding-right: 0; }
main > section.panel { background: rgba(19, 67, 73, 0.94); }
main > section.page-hero {
  text-align: center;
  padding-top: clamp(40px, 6vw, 84px) !important;
  background: radial-gradient(ellipse at 50% -30%, rgba(201, 164, 92, 0.2), transparent 62%), rgba(15, 58, 64, 0.94);
}
main > section.page-hero-img {
  background: linear-gradient(rgba(8, 42, 47, 0.74), rgba(8, 42, 47, 0.9)), var(--hero-img) center 40% / cover no-repeat;
}
main > section.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(201, 164, 92, 0.24), rgba(15, 58, 64, 0.95) 62%);
}
.section { padding-top: 0; }
.section.panel { margin-top: 0; padding-bottom: 0; }

/* ---------- Typography ---------- */
main h2 { font-size: clamp(1.5rem, 3.1vw, 2.5rem); }
main h3 { font-size: 1.02rem; letter-spacing: -0.005em; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; }
.page-hero .hero-sub { margin: 14px auto 0; }
.eyebrow, .product-category, .contact-list strong, .footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.muted, .hero-sub { font-weight: 300; }
.feature-copy h2, .cta-band h2, .prose h2, .service-row h2 { font-size: clamp(1.5rem, 3.1vw, 2.5rem); }
.prose .lead { font-family: var(--font-body); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 300; line-height: 1.65; color: var(--text); }
.why-card h3, .process-step h3, .service-card h3, .info-card h3, .step h3, .promise h3, .values-grid h3, .why-grid h3 { font-size: 1.02rem; color: var(--text); }
.process-step span, .step span { font-family: var(--font-heading); font-stretch: 125%; font-weight: 800; }
.review-card blockquote { font-family: var(--font-body); font-size: 1rem; font-weight: 300; line-height: 1.6; font-style: italic; text-transform: none; }
.stat strong, .rating-big { font-family: var(--font-heading); font-stretch: 125%; font-weight: 800; color: var(--text); letter-spacing: -0.03em; }
.product-price.large { font-family: var(--font-heading); font-stretch: 125%; font-weight: 700; color: var(--gold); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.text-link { color: var(--gold-light); }
.brand-small { display: none; }

/* ---------- Header: logo notch in the middle, links left and right ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0 16px;
  background: none;
  border: 0;
  backdrop-filter: none;
  pointer-events: none;
}
.site-header .bar {
  pointer-events: auto;
  position: relative;
  max-width: 1280px;
  height: 64px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 1fr 290px 1fr;
  align-items: center;
  background: rgba(12, 50, 56, 0.6);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--border);
  border-radius: 22px;
}
.nav-side { display: flex; align-items: center; gap: 24px; }
.nav-left { justify-content: flex-start; grid-column: 1; }
.nav-right { justify-content: flex-end; grid-column: 3; }
.nav-side > a, .nav-dropdown > a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 239, 234, 0.78);
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-side > a:hover, .nav-dropdown > a:hover, .nav-side a.active { color: var(--gold-light); }
.only-mobile { display: none; }

.brand-tab {
  position: absolute;
  left: 50%;
  top: -1px;
  transform: translateX(-50%);
  height: 86px;
  min-width: 250px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 28px 28px;
  color: var(--text);
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #082A2F;
  font-family: var(--font-heading);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 1rem;
}
.brand-name {
  font-family: var(--font-heading);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
}
.brand-name span { color: var(--gold-light); }

.icon-row { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover, .icon-btn.active { background: var(--gold); border-color: var(--gold); color: #082A2F; transform: translateY(-1px); }
.icon-btn .wish-count { top: -5px; right: -5px; background: var(--gold-light); color: #082A2F; }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--text); margin: 0; border-radius: 2px; }

.nav-dropdown { position: relative; }
.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: -18px;
  min-width: 220px;
  padding: 10px;
  background: rgba(15, 58, 64, 0.98);
  border: 1px solid var(--border);
  border-radius: 18px;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.nav-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-right .nav-menu { left: auto; right: -18px; }
.nav-dropdown:hover .nav-menu, .nav-dropdown:focus-within .nav-menu { display: flex; }
.nav-menu a { padding: 10px 14px; border-radius: 10px; font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.nav-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--gold-light); }

@media (max-width: 1279px) {
  .site-header .bar { grid-template-columns: 1fr auto; height: 58px; }
  .brand-tab { position: static; transform: none; height: auto; min-width: 0; padding: 0; background: none; border: 0; justify-content: flex-start; grid-column: 1; grid-row: 1; }
  .nav-right { grid-column: 2; grid-row: 1; gap: 10px; }
  .nav-right .not-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-left { display: none; }
  .only-mobile { display: block; }
  .site-header.nav-open .nav-left {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 14px 22px 18px;
    background: rgba(15, 58, 64, 0.98);
    border: 1px solid var(--border);
    border-radius: 22px;
    max-height: calc(100svh - 110px);
    overflow-y: auto;
  }
  .site-header.nav-open .nav-left > a, .site-header.nav-open .nav-left .nav-dropdown > a { padding: 12px 0; font-size: 0.8rem; }
  .nav-left .nav-menu { display: none !important; }
  .nav-left .nav-dropdown { width: 100%; }
  body:not(.home) main { padding-top: 92px; }
}
@media (max-width: 420px) { .brand-name { font-size: 0.7rem; } .icon-btn { width: 36px; height: 36px; } .icon-row { gap: 6px; } }

/* ---------- Search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 90; display: grid; place-items: start center; padding: 18vh 20px 0; background: rgba(6, 34, 38, 0.9); backdrop-filter: blur(10px); }
.search-overlay[hidden] { display: none; }
.search-form { position: relative; width: min(680px, 100%); }
.search-form label { display: block; margin-bottom: 14px; font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; min-width: 0; padding: 18px 22px; border-radius: 999px; border: 1px solid var(--border); background: #0F3A40; color: var(--text); font-family: var(--font-body); font-size: 1.05rem; }
.search-row input:focus { outline: none; border-color: var(--gold); }
.search-close { position: absolute; right: 0; top: -64px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #0F3A40; color: var(--text); font-size: 1.5rem; cursor: pointer; }
.search-close:hover { border-color: var(--gold); color: var(--gold-light); }

/* ---------- Marquee: a quiet outlined strip ---------- */
.marquee {
  width: min(1280px, calc(100% - 32px));
  margin: 18px auto;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(15, 58, 64, 0.94);
  color: var(--text-muted);
  padding: 17px 0;
}
.marquee-group span { font-family: var(--font-heading); font-stretch: 125%; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.26em; color: var(--text-muted); }
.marquee-group i { color: var(--gold); opacity: 1; }

/* ---------- Section heads ---------- */
.section-head { margin-bottom: clamp(22px, 3.4vw, 40px); }
.section-head h2 { margin: 0; }

/* ---------- Category tiles ---------- */
.category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.category-tile { border-radius: 24px; background: #0C3238; }
.category-label h3 { font-size: 0.82rem; margin: 0 0 2px; }
.category-label span { font-size: 0.7rem; letter-spacing: 0.06em; color: var(--text-muted); }
.category-fallback { background: radial-gradient(circle at 50% 40%, #1A5058, #0C3238); }

/* ---------- Cards: dark rounded panels with a gold border glow ---------- */
.product-card, .why-card, .service-card, .info-card, .process-step, .review-card, .category-tile, .gift-tile, .tl-card, .hero-card { position: relative; }
.product-card {
  border-radius: 24px;
  background: #134349;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s, border-color 0.4s;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(201, 164, 92, 0.5); box-shadow: 0 26px 60px -26px rgba(201, 164, 92, 0.45); }
.product-image { aspect-ratio: 1; background: radial-gradient(circle at 50% 38%, #1A5058, #0B3035 78%); }
.product-image img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.product-card:hover .product-image img { transform: scale(1.07); }
.product-info { padding: 16px 20px 22px; }
.product-category { font-size: 0.6rem; letter-spacing: 0.26em; color: var(--text-muted); margin: 0 0 8px; }
.product-name { font-family: var(--font-heading); font-stretch: 125%; font-weight: 700; font-size: 0.84rem; letter-spacing: -0.005em; line-height: 1.22; text-transform: uppercase; margin: 0 0 10px; }
.product-price { color: var(--gold); font-weight: 600; font-size: 0.95rem; margin: 0; }
.badge { border-radius: 999px; font-weight: 600; letter-spacing: 0.1em; }
.badge-featured { background: var(--gold); color: #082A2F; }

/* pointer-following border glow (gold to silver), set up by site.js */
.glow-card::before {
  content: '';
  position: absolute;
  inset: 0;
  height: auto;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(201, 164, 92, 0.95), rgba(192, 192, 192, 0.35) 42%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  transition: opacity 0.35s;
}
.glow-card:hover::before { opacity: 1; }
.wish-btn { z-index: 5; border-color: rgba(255, 255, 255, 0.16); }
.wish-btn[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #082A2F; }

/* ---------- Home sections ---------- */
.feature-img { border-radius: 26px; }
.carousel-btn { border-color: rgba(255, 255, 255, 0.18); color: var(--text); }
.carousel-btn:hover { background: var(--gold); border-color: var(--gold); color: #082A2F; }
.gift-tile { border-radius: 24px; }
.gift-label { font-family: var(--font-heading); font-stretch: 125%; font-size: 0.86rem; font-weight: 700; letter-spacing: -0.005em; text-transform: uppercase; }
.process-step, .service-card, .info-card, .review-card { border-radius: 24px; background: #134349; border-color: var(--border); }
.service-card { border-top: 1px solid var(--border); }
.service-card h3 { margin-bottom: 8px; }
.process-step span { color: var(--gold); font-size: 1.9rem; }
.stat strong { font-size: clamp(1.9rem, 4vw, 3rem); }
.insta-tile { border-radius: 16px; }
.form-card { border-radius: 26px; background: #134349; border-color: var(--border); backdrop-filter: none; }
.map-box { border-radius: 24px; }
.faq { border-bottom-color: var(--border); }
.faq summary { font-family: var(--font-body); font-weight: 500; }

/* "Why Edwards" cards */
.why-card { border-radius: 24px; background: #134349; border: 1px solid var(--border); padding: 28px 24px 26px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s; backdrop-filter: none; }
.why-card::after { content: none; }
.why-card:hover { transform: translateY(-5px); border-color: var(--border); box-shadow: 0 24px 60px -28px rgba(201, 164, 92, 0.5); }
.why-icon { border-color: rgba(201, 164, 92, 0.5); background: rgba(201, 164, 92, 0.1); color: var(--gold-light); }

/* ---------- Teaser: 50+ years story ---------- */
.story-teaser { display: grid; grid-template-columns: auto 1fr; gap: clamp(26px, 5vw, 72px); align-items: center; }
.years-badge {
  width: clamp(150px, 20vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid rgba(201, 164, 92, 0.55);
  background: radial-gradient(circle at 50% 40%, rgba(201, 164, 92, 0.2), rgba(15, 58, 64, 0.2) 70%);
  box-shadow: 0 0 0 10px rgba(201, 164, 92, 0.06), 0 30px 70px -30px rgba(201, 164, 92, 0.5);
}
.years-badge strong { font-family: var(--font-heading); font-stretch: 125%; font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -0.04em; color: var(--text); }
.years-badge span { font-size: 0.66rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.gen-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 26px; }
.gen-pill { padding: 9px 16px; border: 1px solid var(--border); border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); background: #134349; }
.gen-pill b { color: var(--gold-light); font-weight: 600; margin-right: 6px; }
@media (max-width: 760px) { .story-teaser { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Our Story page ---------- */
.story-hero .years-badge { margin: 30px auto 0; }
.story-intro { max-width: 860px; margin: 0 auto; text-align: center; }
.story-intro p { font-size: clamp(1.05rem, 1.9vw, 1.35rem); font-weight: 300; line-height: 1.65; color: var(--text); margin: 0; }
.story-intro strong { color: var(--gold-light); font-weight: 500; }

.timeline { position: relative; max-width: 880px; margin: clamp(26px, 4vw, 44px) auto 0; }
.tl-line { position: absolute; left: 22px; top: 12px; bottom: 12px; width: 2px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; }
.tl-progress { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p, 0) * 100%); background: linear-gradient(var(--gold), var(--gold-light)); border-radius: 2px; box-shadow: 0 0 14px rgba(201, 164, 92, 0.6); transition: height 0.2s linear; }
.tl-item { position: relative; padding-left: 74px; margin-bottom: 26px; }
.tl-item:last-child { margin-bottom: 0; }
html.js .tl-item { opacity: 0; transform: translateY(28px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .tl-item.in { opacity: 1; transform: none; }
.tl-dot { position: absolute; left: 9px; top: 24px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 7px rgba(201, 164, 92, 0.12); }
.tl-dot::after { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform 0.5s 0.3s; }
.tl-item.in .tl-dot::after { transform: scale(1); }
.tl-card { padding: 26px 28px; border: 1px solid var(--border); border-radius: 24px; background: #134349; }
.tl-step { margin: 0 0 8px; font-size: 0.66rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.tl-card h3 { font-size: clamp(1.05rem, 2vw, 1.4rem); margin-bottom: 10px; }
.tl-card p:last-child { margin: 0; color: var(--text-muted); font-weight: 300; }
html.js.reduce-motion .tl-item { opacity: 1; transform: none; transition: none; }
html.reduce-motion .tl-dot::after { transform: scale(1); }

.family-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
@media (max-width: 860px) { .family-grid { grid-template-columns: 1fr; } }
.family-card { padding: 28px 24px; border: 1px solid var(--border); border-radius: 24px; background: #134349; }
.family-card .num { font-family: var(--font-heading); font-stretch: 125%; font-weight: 800; color: var(--gold); font-size: 1.5rem; display: block; margin-bottom: 12px; }
.family-card p { margin: 0; font-size: 1.02rem; font-weight: 300; line-height: 1.6; }
.quality-list { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.quality-pill { padding: 14px 22px; border: 1px solid rgba(201, 164, 92, 0.45); border-radius: 999px; font-family: var(--font-heading); font-stretch: 125%; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; background: rgba(201, 164, 92, 0.1); }
.closing { text-align: center; }
.closing h2 { font-size: clamp(1.6rem, 4.6vw, 3.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; max-width: 1000px; margin: 0 auto; }
.closing h2 em { font-style: normal; color: var(--gold); }
.about-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- Custom orders: photo upload ---------- */
.upload-box { display: grid; gap: 10px; padding: 22px; border: 1.5px dashed rgba(201, 164, 92, 0.55); border-radius: 20px; background: rgba(201, 164, 92, 0.06); text-align: center; cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.upload-box:hover, .upload-box.dragover { background: rgba(201, 164, 92, 0.12); border-color: var(--gold); }
.upload-box input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload-box strong { font-family: var(--font-heading); font-stretch: 125%; font-size: 0.82rem; text-transform: uppercase; color: var(--text); }
.upload-box span { font-size: 0.82rem; color: var(--text-muted); }
.upload-names { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.upload-names em { font-style: normal; font-size: 0.74rem; padding: 3px 10px; border-radius: 999px; background: #1A5058; color: var(--text); }
.custom-lead { text-align: center; max-width: 760px; margin: 0 auto 34px; }
.custom-lead p { font-size: 1.1rem; font-weight: 300; color: var(--text-muted); }
.custom-lead p strong { color: var(--text); font-weight: 500; }

/* ---------- Watches / contact extras ---------- */
.repair-card { display: flex; justify-content: space-between; align-items: center; gap: 22px; flex-wrap: wrap; padding: 26px 30px; border: 1px solid rgba(201, 164, 92, 0.4); border-radius: 24px; background: linear-gradient(135deg, rgba(201, 164, 92, 0.16), #134349 70%); }
.repair-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.repair-card p { margin: 0; color: var(--text-muted); max-width: 40em; }
.address-line { font-size: 1.05rem; line-height: 1.6; }
.search-count { color: var(--text-muted); }

/* ---------- Pagination, tabs, pills ---------- */
.filter-pill { border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
.filter-pill.active { background: var(--gold); border-color: var(--gold); color: #082A2F; }
.page-link { border-radius: 999px; }
.page-link.active { background: var(--gold); border-color: var(--gold); color: #082A2F; }

/* ---------- Forms ---------- */
.inquiry-form input, .inquiry-form textarea, .inquiry-form select { border-radius: 14px; background: #0E383E; border-color: var(--border); font-family: var(--font-body); }
.inquiry-form input:focus, .inquiry-form textarea:focus, .inquiry-form select:focus { border-color: var(--gold); outline: none; }

/* ---------- Footer: one more floating panel ---------- */
.site-footer { background: none; border: 0; margin: 18px 0 0; padding: 0 16px 96px; text-align: left; }
.footer-inner { max-width: 1280px; margin: 0 auto; padding: clamp(34px, 5vw, 60px) clamp(20px, 4.5vw, 64px) 26px; background: #0F3A40; border: 1px solid var(--border); border-radius: 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding: 0; max-width: none; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { font-family: var(--font-heading); font-stretch: 125%; font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 10px; }
.footer-brand span { color: var(--gold); }
.footer-years { margin: 14px 0 0; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.footer-years strong { color: var(--gold-light); font-size: 1rem; }
.footer-col h4 { margin: 0 0 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); }
.footer-bottom p { margin: 0; }
.footer-staff-link a { color: #6F9792; font-size: 0.7rem; }

/* ---------- Floating controls ---------- */
.fab-wa { background: #25d366; color: #fff; }
.fab-top { background: rgba(15, 58, 64, 0.95); color: var(--gold-light); border: 1px solid var(--border); }
.motion-toggle { background: rgba(15, 58, 64, 0.92); border-color: var(--border); }

/* ---------- Panels on small screens ---------- */
@media (max-width: 720px) {
  main > section:not(.hero) { width: calc(100% - 20px) !important; margin: 12px auto !important; border-radius: 24px; }
  .marquee { width: calc(100% - 20px); }
  .footer-inner { border-radius: 24px; }
  .site-header { top: 10px; padding: 0 10px; }
}
html.reduce-motion .product-card, html.reduce-motion .why-card { transition: none; }

/* On Home the floating buttons sit above the hero's round badge */
body.home:not(.scrolled) .fab-stack { bottom: 140px; }
.fab-stack { transition: bottom 0.35s ease; }
@media (max-width: 800px) { body.home:not(.scrolled) .fab-stack { bottom: 108px; } }

/* Small phones: the floating WhatsApp button already covers WhatsApp, so keep the bar to search + wishlist + menu */
@media (max-width: 600px) { .wa-icon { display: none; } }
@media (max-width: 800px) { .hero-kicker { white-space: nowrap; } .hero-kicker .kick-extra { display: none; } }

/* tighter spacing at the top of listing panels */
main > section .filter-bar { margin-top: 0; margin-bottom: 26px; }

/* Animations switch now lives in the footer's bottom row */
.footer-bottom .motion-toggle { position: static; left: auto; bottom: auto; z-index: auto; padding: 7px 14px 7px 11px; background: transparent; backdrop-filter: none; }

/* ---------- Weight / size on cards and product page ---------- */
.product-meta { margin: -4px 0 8px; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--text-muted); }
.card-actions { padding: 0 20px 20px; }
.btn-cart { width: 100%; padding: 12px 16px; font-size: 0.7rem; }
.btn-cart[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.spec-list { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; padding: 0; margin: 0 0 18px; }
.spec-list li { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border: 1px solid var(--border); border-radius: 14px; background: #134349; min-width: 92px; }
.spec-list span { font-size: 0.62rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.spec-list strong { font-weight: 600; }
.buy-box { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 6px 0 26px; padding: 18px; border: 1px solid var(--border); border-radius: 20px; background: #103C42; }
.buy-box label { display: flex; flex-direction: column; gap: 6px; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.buy-box select, .buy-box input { background: #0C3238; color: var(--text); border: 1px solid var(--border); border-radius: 12px; padding: 11px 12px; font-family: var(--font-body); font-size: 0.95rem; }
.buy-box input { width: 84px; }
.buy-box select:focus, .buy-box input:focus { outline: none; border-color: var(--gold); }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-items { display: grid; gap: 12px; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto auto 32px; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 20px; background: #134349; }
.cart-row.unavailable { border-color: rgba(192, 57, 43, 0.5); }
.cart-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: #0C3238; display: block; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-name { font-family: var(--font-heading); font-stretch: 125%; font-weight: 700; font-size: 0.82rem; text-transform: uppercase; line-height: 1.25; }
.cart-name:hover { color: var(--gold-light); }
.cart-meta { margin: 6px 0 0; font-size: 0.8rem; color: var(--text-muted); }
.cart-warn { margin: 6px 0 0; font-size: 0.78rem; color: #e58b80; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { background: var(--gold); color: #082A2F; }
.qty span { min-width: 28px; text-align: center; font-weight: 600; }
.cart-line { color: var(--gold); min-width: 110px; text-align: right; }
.cart-remove { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: transparent; color: var(--text-muted); font-size: 1.2rem; cursor: pointer; }
.cart-remove:hover { border-color: var(--gold); color: var(--gold-light); }
@media (max-width: 640px) {
  .cart-row { grid-template-columns: 64px 1fr auto; grid-template-areas: 'img info rm' 'img qty line'; row-gap: 10px; }
  .cart-remove { justify-self: end; }
  .cart-img { width: 64px; height: 64px; grid-area: img; align-self: start; }
  .cart-info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-line { grid-area: line; min-width: 0; }
  .cart-remove { grid-area: rm; align-self: start; }
}
.cart-summary { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--border); border-radius: 24px; background: #134349; display: grid; gap: 14px; }
.cart-summary h2 { font-size: 1.05rem; margin: 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cart-total-row strong { font-family: var(--font-heading); font-stretch: 125%; font-size: 1.5rem; color: var(--gold); }
.cart-summary .muted { margin: 0; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- "Added to cart" toast ---------- */
.cart-toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; display: flex; gap: 16px; align-items: center; padding: 14px 20px; border-radius: 999px; background: #0F3A40; border: 1px solid var(--gold); color: var(--text); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6); transform: translate(-50%, 140%); opacity: 0; transition: transform 0.35s ease, opacity 0.35s; font-size: 0.9rem; }
.cart-toast.show { transform: translate(-50%, 0); opacity: 1; }
.cart-toast a { color: var(--gold-light); font-weight: 600; white-space: nowrap; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--gold-light); color: #082A2F; font-size: 0.65rem; font-weight: 600; line-height: 17px; text-align: center; font-family: var(--font-body); }
.cart-count[hidden] { display: none; }

/* Header: four round icons now (search, cart, wishlist, WhatsApp). Give the links room
   next to the centered logo; below 1500px the floating WhatsApp button covers WhatsApp. */
.nav-side { gap: 18px; }
.wa-icon { display: none; }

/* ================= Teal, brass & marble theme ================= */
html, body {
  background-color: #F3EFE8;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='900'><filter id='v' x='0' y='0'><feTurbulence type='turbulence' baseFrequency='0.0028 0.0075' numOctaves='5' seed='17'/><feColorMatrix type='matrix' values='0 0 0 0 0.42  0 0 0 0 0.41  0 0 0 0 0.39  0 0 0 -7 1.55'/></filter><rect width='100%' height='100%' filter='url(%23v)' opacity='0.22'/></svg>"),
    radial-gradient(ellipse at 18% 8%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(233, 225, 212, 0.9), transparent 60%),
    linear-gradient(160deg, #F7F4EE 0%, #EFEAE1 55%, #F5F1EA 100%);
  background-size: 900px 900px, 100% 100%, 100% 100%, 100% 100%;
  background-attachment: fixed;
}
body { background: transparent; }
.fx-bg, .fx-overlay { display: none !important; }

/* panels: deep teal cabinetry, with a thin brass edge and soft warm shadow on the marble */
main > section:not(.hero), .marquee, .footer-inner {
  box-shadow: 0 30px 60px -38px rgba(8, 42, 47, 0.55), inset 0 1px 0 rgba(201, 164, 92, 0.18);
}
.site-header .bar { background: rgba(10, 46, 52, 0.82); border-color: rgba(201, 164, 92, 0.22); }
.brand-tab { border-color: rgba(201, 164, 92, 0.22); }
.hero { border-color: rgba(201, 164, 92, 0.22); box-shadow: 0 40px 80px -40px rgba(8, 42, 47, 0.6); }
.marquee { border-color: rgba(201, 164, 92, 0.22); }
.fab-top { background: #0F3A40; }

/* panels are solid teal so the marble never shows through text */
main > section:not(.hero) { background-color: #0F3A40 !important; }
main > section.panel { background-color: #12434A !important; }
main > section.page-hero { background: radial-gradient(ellipse at 50% -30%, rgba(201, 164, 92, 0.18), transparent 62%), #0F3A40 !important; }
main > section.page-hero-img { background: linear-gradient(rgba(8, 42, 47, 0.74), rgba(8, 42, 47, 0.9)), var(--hero-img) center 40% / cover no-repeat !important; }
main > section.cta-band { background: linear-gradient(135deg, rgba(201, 164, 92, 0.22), #0F3A40 62%) !important; }
.marquee, .footer-inner { background: #0F3A40; }

/* exactly 5 pieces: one full row of five on wide screens instead of 4 + 1 */
@media (min-width: 1100px) {
  .product-grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
  .product-grid:has(> :nth-child(5):last-child) .product-name { font-size: 0.74rem; }
}
