/* ==========================================================================
   Good Day Print — storefront styles
   ========================================================================== */

:root {
  --ink:        #131A24;
  --ink-soft:   #3D4A5C;
  --muted:      #6B7A90;
  --line:       #E3E8EF;
  --bg:         #FFFFFF;
  --bg-soft:    #F7F9FC;
  --bg-warm:    #FFF9EC;

  --brand:      #F2B705;
  --brand-dark: #D19C00;
  --brand-tint: #FFF3D2;
  --accent:     #FF6B35;
  --accent-dark:#E4521E;
  --teal:       #0E9594;

  --ok:    #17864F;
  --warn:  #B27400;
  --danger:#C0392B;

  --radius:   14px;
  --radius-sm: 9px;
  --shadow:    0 1px 2px rgba(19,26,36,.06), 0 8px 24px rgba(19,26,36,.07);
  --shadow-lg: 0 18px 46px rgba(19,26,36,.14);
  --wrap: 1240px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -.02em; font-weight: 750; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.16rem; }
p  { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .84rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 12px; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 650; font-size: .95rem; cursor: pointer; transition: .18s ease;
  font-family: inherit; white-space: nowrap; line-height: 1.2;
}
.btn-primary  { background: var(--ink); color: #fff; }
.btn-primary:hover  { background: #000; transform: translateY(-1px); }
.btn-brand    { background: var(--brand); color: var(--ink); }
.btn-brand:hover    { background: var(--brand-dark); transform: translateY(-1px); }
.btn-accent   { background: var(--accent); color: #fff; }
.btn-accent:hover   { background: var(--accent-dark); transform: translateY(-1px); }
.btn-outline  { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover  { border-color: var(--ink); }
.btn-ghost    { background: transparent; color: var(--ink); padding: 8px 12px; }
.btn-ghost:hover    { background: var(--bg-soft); }
.btn-light    { background: #fff; color: var(--ink); }
.btn-sm { padding: 8px 15px; font-size: .85rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ------------------------------------------------------------ Top utility */
.topbar {
  background: var(--ink); color: #C9D2E0; font-size: .82rem;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--brand); }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-promo { color: var(--brand); font-weight: 600; }

/* ----------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-main { display: flex; align-items: center; gap: 24px; padding: 10px 0; }

/* Brand lockup — the supplied logo artwork, never re-typeset. */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { display: block; width: auto; }
.site-header .logo img { height: 64px; }
.footer-brand .logo img { height: 72px; }

.header-search { flex: 1; max-width: 460px; position: relative; }
.header-search input {
  width: 100%; padding: 11px 44px 11px 16px; border: 1.5px solid var(--line);
  border-radius: 999px; font-family: inherit; font-size: .92rem; background: var(--bg-soft);
}
.header-search input:focus { outline: none; border-color: var(--brand); background: #fff; }
.header-search button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  border: 0; background: var(--ink); color: #fff; width: 32px; height: 32px;
  border-radius: 50%; cursor: pointer; display: grid; place-items: center;
}

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
  display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px;
  font-size: .88rem; font-weight: 600; position: relative; transition: .15s;
}
.icon-btn:hover { background: var(--bg-soft); }
.cart-pill { background: var(--brand-tint); }
.cart-pill:hover { background: var(--brand); }
.cart-count {
  background: var(--accent); color: #fff; font-size: .68rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px;
}

/* Primary nav + mega menu */
.nav-bar { border-top: 1px solid var(--line); background: #fff; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 5px; padding: 13px 11px;
  font-weight: 620; font-size: .885rem; color: var(--ink-soft); border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.nav-list > li > a:hover, .nav-list > li > a.active { color: var(--ink); border-bottom-color: var(--brand); }
.nav-list .caret { width: 9px; height: 9px; opacity: .55; }

.submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none; margin: 0; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: .16s ease; z-index: 70;
}
.nav-list > li:hover .submenu, .nav-list > li:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 9px 13px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--ink-soft); }
.submenu a:hover { background: var(--bg-warm); color: var(--ink); }

.nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; padding: 6px 0; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 11px; cursor: pointer; }

/* ------------------------------------------------------------------- Hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(242,183,5,.26), transparent 62%),
    radial-gradient(620px 420px at 6% 108%, rgba(255,107,53,.22), transparent 60%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 72px 0 80px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18); color: var(--brand);
  padding: 6px 14px; border-radius: 999px; font-size: .77rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; margin-bottom: 18px;
}
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero p.lead { font-size: 1.08rem; color: #C6D0DE; max-width: 52ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.hero-trust div strong { display: block; font-size: 1.45rem; color: var(--brand); line-height: 1.1; }
.hero-trust div span { font-size: .8rem; color: #9DABBE; }

.hero-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 18px; backdrop-filter: blur(8px);
}
.hero-card:nth-child(1) { grid-column: span 2; }
.hero-card .hc-icon { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; margin-bottom: 11px; }
.hero-card h4 { color: #fff; font-size: .98rem; margin-bottom: 3px; }
.hero-card p { color: #A9B6C8; font-size: .84rem; margin: 0; }

/* Hero slider dots */
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 8px; margin-top: 26px; }
.hero-dots button {
  width: 30px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.28); transition: .2s; padding: 0;
}
.hero-dots button.is-active { background: var(--brand); width: 46px; }

/* ------------------------------------------------------------ Trust strip */
.strip { background: var(--bg-warm); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 22px 0; }
.strip-item { display: flex; gap: 12px; align-items: flex-start; }
.strip-item .si-icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 9px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow); }
.strip-item strong { display: block; font-size: .92rem; }
.strip-item span { font-size: .8rem; color: var(--muted); }

/* --------------------------------------------------------------- Sections */
.section { padding: 66px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.section-head .eyebrow {
  display: block; font-size: .76rem; font-weight: 750; letter-spacing: .13em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 7px;
}
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); margin: 8px 0 0; max-width: 60ch; }

/* ------------------------------------------------------ Category tiles */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff; transition: .2s ease; display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.cat-card .cat-img { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-card .cat-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { font-size: .88rem; color: var(--muted); margin-bottom: 14px; flex: 1; }
.cat-link { font-weight: 650; font-size: .88rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.cat-card:hover .cat-link { color: var(--accent); }
.cat-link .arrow { transition: .2s; }
.cat-card:hover .cat-link .arrow { transform: translateX(4px); }

/* ------------------------------------------------------- Product cards */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; display: flex; flex-direction: column; transition: .2s ease; position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pc-media { position: relative; aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.product-card:hover .pc-media img { transform: scale(1.04); }
.pc-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pc-badge {
  font-size: .68rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: var(--ink); color: #fff;
}
.pc-badge.sale  { background: var(--accent); }
.pc-badge.best  { background: var(--brand); color: var(--ink); }
.pc-badge.quote { background: var(--teal); }
.pc-body { padding: 15px 17px 18px; display: flex; flex-direction: column; flex: 1; }
.pc-cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .09em; color: var(--accent); font-weight: 700; margin-bottom: 6px; }
.pc-body h3 { font-size: 1rem; margin-bottom: 6px; }
.pc-body h3 a:hover { color: var(--accent); }
.pc-desc { font-size: .84rem; color: var(--muted); margin-bottom: 13px; flex: 1; }
.pc-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.pc-price strong { font-size: 1.12rem; font-weight: 750; display: block; line-height: 1.2; }
.pc-price .was { font-size: .8rem; color: var(--muted); text-decoration: line-through; margin-right: 6px; }
.pc-price .unit { font-size: .74rem; color: var(--muted); }
.pc-turn { font-size: .74rem; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-top: 8px; }

/* -------------------------------------------------------------- Split CTA */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 18px;
  overflow: hidden; border: 1px solid var(--line);
}
.split-media { background: var(--ink); min-height: 320px; position: relative; overflow: hidden; }
.split-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(520px 320px at 30% 20%, rgba(242,183,5,.3), transparent 60%),
              radial-gradient(420px 300px at 80% 90%, rgba(255,107,53,.28), transparent 60%);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body { padding: 48px 46px; background: #fff; display: flex; flex-direction: column; justify-content: center; }
.split-body ul { list-style: none; padding: 0; margin: 0 0 26px; }
.split-body li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .93rem; }
.split-body li::before {
  content: "\f00c";                    /* fa-check */
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  color: var(--ok); flex-shrink: 0; font-size: .82em; margin-top: .35em;
}

/* -------------------------------------------------------------- Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint);
  color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.03rem; margin-bottom: 5px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------- Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.stars { color: var(--brand); letter-spacing: 2px; font-size: .95rem; margin-bottom: 10px; }
.quote-card p { font-size: .92rem; color: var(--ink-soft); }
.quote-who { display: flex; align-items: center; gap: 11px; margin-top: 16px; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex-shrink: 0;
}
.quote-who strong { display: block; font-size: .9rem; }
.quote-who span { font-size: .78rem; color: var(--muted); }

/* ------------------------------------------------------------- Big CTA */
.cta-band { background: var(--brand); border-radius: 18px; padding: 46px 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #5A4200; font-weight: 500; }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: #9FADC0; padding-top: 58px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 42px; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.site-footer a { color: #9FADC0; }
.site-footer a:hover { color: var(--brand); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 5px 0; font-size: .89rem; }
.footer-brand p { font-size: .88rem; margin: 16px 0; max-width: 40ch; }
.newsletter-form { display: flex; gap: 8px; margin: 14px 0 18px; }
.newsletter-form input {
  flex: 1; padding: 11px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06); color: #fff; font-family: inherit; font-size: .88rem;
}
.newsletter-form input::placeholder { color: #7C8AA0; }
.newsletter-form input:focus { outline: none; border-color: var(--brand); }
.socials { display: flex; gap: 9px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16);
  display: grid; place-items: center; transition: .15s;
}
.socials a:hover { background: var(--brand); border-color: var(--brand); color: var(--ink); }
.footer-contact li { display: flex; gap: 10px; padding: 7px 0; font-size: .89rem; align-items: flex-start; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex;
  justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: .83rem;
}
.pay-methods { display: flex; gap: 7px; flex-wrap: wrap; }
.pay-chip {
  background: rgba(255,255,255,.08); border-radius: 5px; padding: 4px 9px;
  font-size: .68rem; font-weight: 700; letter-spacing: .04em; color: #CBD5E1;
}

/* ------------------------------------------------------------ Page head */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 34px 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 9px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent); }
.page-head h1 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-head p { margin: 8px 0 0; color: var(--muted); max-width: 70ch; }

/* ----------------------------------------------------------- Shop layout */
.shop-layout { display: grid; grid-template-columns: 265px 1fr; gap: 34px; padding: 40px 0 70px; align-items: start; }
.filter-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 152px; }
.filter-block + .filter-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.filter-block h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li a { display: block; padding: 6px 10px; border-radius: 8px; font-size: .89rem; color: var(--ink-soft); }
.filter-list li a:hover { background: var(--bg-soft); }
.filter-list li a.active { background: var(--brand-tint); color: var(--ink); font-weight: 650; }
.filter-list .sub { padding-left: 12px; font-size: .85rem; }
.price-row { display: flex; gap: 8px; align-items: center; }
.price-row input { width: 100%; }

.shop-toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin-bottom: 22px; flex-wrap: wrap;
}
.shop-toolbar .count { font-size: .9rem; color: var(--muted); }
.sort-select { display: flex; align-items: center; gap: 8px; font-size: .88rem; }

.chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: .85rem; font-weight: 600; background: #fff; transition: .15s;
}
.chip:hover, .chip.active { border-color: var(--ink); background: var(--ink); color: #fff; }

/* -------------------------------------------------------- Product detail */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 40px 0 20px; align-items: start; }
.pd-gallery { position: sticky; top: 152px; }
.pd-main-img { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); aspect-ratio: 4/3; }
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.pd-feature { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; text-align: center; }
.pd-feature strong { display: block; font-size: .8rem; }
.pd-feature span { font-size: .72rem; color: var(--muted); }

.pd-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.pd-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.pd-short { font-size: 1rem; color: var(--ink-soft); margin-bottom: 22px; }

.configurator { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: #fff; box-shadow: var(--shadow); }
.opt-group { margin-bottom: 18px; }
.opt-group > label.opt-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 650; font-size: .88rem; margin-bottom: 8px;
}
.opt-label .req { color: var(--accent); font-size: .75rem; font-weight: 600; }
.opt-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.opt-pill { position: relative; }
.opt-pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt-pill span {
  display: block; padding: 9px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: .87rem; cursor: pointer; transition: .15s; background: #fff;
}
.opt-pill input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt-pill span small { display: block; font-size: .72rem; opacity: .7; }

.price-box {
  background: var(--bg-warm); border: 1px solid var(--brand); border-radius: var(--radius);
  padding: 18px 20px; margin: 20px 0;
}
.price-box .pb-row { display: flex; justify-content: space-between; align-items: baseline; }
.price-box .pb-total { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price-box .pb-unit { font-size: .82rem; color: var(--ink-soft); }
.price-breakdown { margin-top: 13px; padding-top: 13px; border-top: 1px dashed rgba(90,66,0,.28); font-size: .82rem; }
.price-breakdown div { display: flex; justify-content: space-between; padding: 2px 0; color: var(--ink-soft); }
.calc-flash { animation: flash .45s ease; }
@keyframes flash { 0% { background: var(--brand); } 100% { background: var(--bg-warm); } }

.upload-zone {
  border: 2px dashed var(--line); border-radius: var(--radius); padding: 20px; text-align: center;
  background: var(--bg-soft); transition: .15s; cursor: pointer; display: block;
}
.upload-zone:hover { border-color: var(--brand); background: var(--bg-warm); }
.upload-zone input[type=file] { display: none; }
.upload-zone .uz-name { font-weight: 650; font-size: .88rem; color: var(--ok); margin-top: 6px; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 50px 0 0; flex-wrap: wrap; }
.tab-btn {
  padding: 12px 18px; border: 0; background: none; font-family: inherit; font-size: .93rem;
  font-weight: 650; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab-btn.active { color: var(--ink); border-bottom-color: var(--brand); }
.tab-panel { display: none; padding: 26px 0 10px; max-width: 80ch; }
.tab-panel.active { display: block; }
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.spec-list li strong { min-width: 150px; }

/* --------------------------------------------------------------- Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.data th {
  text-align: left; padding: 13px 16px; background: var(--bg-soft); font-size: .76rem;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700;
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
table.data td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--bg-soft); }

/* ----------------------------------------------------------------- Cart */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 30px; padding: 40px 0 70px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 18px; border-bottom: 1px solid var(--line); align-items: start; }
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 96px; height: 76px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item h3 { font-size: 1rem; margin-bottom: 4px; }
.ci-options { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.ci-file { font-size: .78rem; color: var(--ok); display: inline-flex; gap: 5px; align-items: center; }
.qty-input { width: 78px; padding: 8px 10px; border: 1.5px solid var(--line); border-radius: 9px; font-family: inherit; text-align: center; }
.summary-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px; position: sticky; top: 152px; }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .92rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; font-size: 1.22rem; font-weight: 800; }
.free-ship-note { background: var(--bg-warm); border-radius: var(--radius-sm); padding: 11px 13px; font-size: .82rem; margin: 12px 0; }

/* -------------------------------------------------------------- Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 650; font-size: .86rem; margin-bottom: 6px; }
.field .hint { font-size: .78rem; color: var(--muted); font-weight: 400; }
.input, .field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=password], .field input[type=number], .field input[type=date],
.field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .93rem; background: #fff; color: var(--ink); transition: .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.field .error { color: var(--danger); font-size: .8rem; margin-top: 5px; }
.field input.is-error, .field textarea.is-error, .field select.is-error { border-color: var(--danger); }
.checkline { display: flex; align-items: flex-start; gap: 9px; font-size: .9rem; }
.checkline input { margin-top: 3px; }

.auth-card { max-width: 440px; margin: 60px auto 80px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 1.6rem; margin-bottom: 6px; }

/* ------------------------------------------------------------- Alerts */
.alert {
  padding: 13px 17px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: .9rem;
  display: flex; gap: 10px; align-items: flex-start; border: 1px solid transparent;
}
.alert-success { background: #E8F6EE; color: #0E6B3D; border-color: #BCE5CD; }
.alert-error   { background: #FDECEA; color: #96281B; border-color: #F5C6C0; }
.alert-info    { background: #E8F1FB; color: #1C4E8A; border-color: #C4DBF4; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

/* ------------------------------------------------------------- Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .02em; text-transform: capitalize;
}
.badge-ok     { background: #E8F6EE; color: #0E6B3D; }
.badge-warn   { background: #FFF4DB; color: #8A5A00; }
.badge-info   { background: #E8F1FB; color: #1C4E8A; }
.badge-purple { background: #F1EAFB; color: #5B3A9B; }
.badge-danger { background: #FDECEA; color: #96281B; }
.badge-muted  { background: var(--bg-soft); color: var(--muted); }

/* ------------------------------------------------------------- Account */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; padding: 40px 0 70px; align-items: start; }
.account-nav { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: #fff; position: sticky; top: 152px; }
.account-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 13px; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.account-nav a:hover { background: var(--bg-soft); }
.account-nav a.active { background: var(--ink); color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.stat-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; }
.stat-card .sv { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stat-card .sl { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; }

.panel { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 22px; }
.panel-head { padding: 16px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { margin: 0; font-size: 1.02rem; }
.panel-body { padding: 20px; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-state .es-icon { font-size: 2.4rem; margin-bottom: 10px; }

/* ------------------------------------------------------------ Pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 34px; list-style: none; padding: 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 38px; height: 38px; display: grid; place-items: center; padding: 0 12px;
  border: 1.5px solid var(--line); border-radius: 9px; font-size: .88rem; font-weight: 600; background: #fff;
}
.pagination a:hover { border-color: var(--ink); }
.pagination .active span, .pagination li.active a { background: var(--ink); color: #fff; border-color: var(--ink); }
.pagination .disabled span { opacity: .4; }

/* ------------------------------------------------------------ CMS prose */
.prose { max-width: 72ch; font-size: 1rem; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.7em; font-size: 1.1rem; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 7px; }

/* --------------------------------------------------------------- Mobile */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 30px; }
  .quote-grid   { grid-template-columns: repeat(2, 1fr); }
  .steps        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 60px; }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .shop-layout, .cart-layout, .account-layout, .product-detail { grid-template-columns: 1fr; }
  .filter-panel, .summary-card, .account-nav, .pd-gallery { position: static; }
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 220px; }
  .split-body { padding: 34px 26px; }
  .cta-band { grid-template-columns: 1fr; padding: 34px 28px; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .header-search { display: none; }
  .nav-bar .nav-list { display: none; flex-direction: column; align-items: stretch; width: 100%; padding-bottom: 10px; }
  .nav-bar .nav-list.is-open { display: flex; }
  .nav-list > li > a { border-bottom: 0; padding: 11px 4px; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; margin: 0 0 8px 14px; padding: 0; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0; font-family: inherit; font-weight: 650; }
  .nav-bar .wrap { flex-wrap: wrap; }
  .nav-cta { margin: 0 0 10px; }
}
@media (max-width: 680px) {
  .product-grid, .product-grid.cols-3, .cat-grid, .quote-grid, .steps,
  .form-grid, .stat-row, .pd-features, .strip-grid, .hero-cards { grid-template-columns: 1fr; }
  .hero-card:nth-child(1) { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 46px 0; }
  .cart-item { grid-template-columns: 70px 1fr; }
  .cart-item img { width: 70px; height: 60px; }
  .topbar-left { display: none; }
  .site-header .logo img { height: 50px; }
}

@media print {
  .site-header, .site-footer, .topbar, .no-print { display: none !important; }
}


/* ==========================================================================
   Font Awesome icons — sizing and colour per context
   ========================================================================== */

/* Icons never stretch a flex row or inherit an underline from their link. */
.fa-solid, .fa-regular, .fa-brands { line-height: 1; text-decoration: none; }

/* Utility bar + header */
.topbar a .fa-solid { width: 13px; text-align: center; opacity: .85; }
.header-search button .fa-solid { font-size: .82rem; }
.icon-btn .fa-solid { font-size: .95rem; }
.nav-list .caret .fa-solid { font-size: .58rem; opacity: .6; }

/* Hero feature cards — dark glyph on the yellow tile */
.hero-card .hc-icon .fa-solid { color: var(--ink); font-size: 1.05rem; }

/* Trust strip */
.strip-item .si-icon .fa-solid { color: var(--accent); font-size: .95rem; }

/* Category tiles */
.cat-link .arrow .fa-solid { font-size: .8rem; }

/* Product cards */
.pc-turn .fa-solid { color: var(--brand-dark); font-size: .78rem; }

/* Process steps */
.step-num .fa-solid { font-size: 1rem; }

/* Stars */
.stars .fa-solid { margin-right: 3px; font-size: .9rem; }
.inline-stars .fa-solid { color: var(--brand); font-size: .78rem; margin-right: 1px; }

/* Footer */
.socials a .fa-brands { font-size: .92rem; }
.footer-contact li .fa-solid { width: 16px; text-align: center; color: var(--brand); margin-top: 4px; }

/* Product detail */
.pd-feature strong .fa-solid { color: var(--accent); margin-right: 2px; }
.upload-zone .fa-solid { color: var(--muted); margin-right: 4px; }

/* Cart / checkout */
.ci-file .fa-solid { font-size: .74rem; }
.free-ship-note .fa-solid { color: var(--brand-dark); margin-right: 4px; }
.opt-pill span .fa-solid { margin-right: 5px; }

/* Alerts and empty states */
.alert .fa-solid { margin-top: 3px; font-size: .95rem; flex-shrink: 0; }
.alert-success .fa-solid { color: #17864F; }
.alert-error .fa-solid { color: var(--danger); }
.alert-info .fa-solid { color: #1C4E8A; }
.empty-state .es-icon .fa-solid { color: var(--line); }

/* Account nav */
.account-nav a .fa-solid { width: 16px; text-align: center; font-size: .88rem; }
