/* Buy$mart shop — layout after the SKT Bags theme (Oswald + Poppins, bold uppercase headings), in Buy$mart red and light grey. */
:root {
  --brand: #e3202b; --brand-dk: #b5121b; --soft: #fbe9ea; --soft2: #f5c9cc;
  --ink: #282828; --muted: #6b6b6b; --line: #e4e4e4; --bg: #ffffff; --tile: #ffffff; --back: #f2f2f2; --grey: #ececec;
  --ok: #16a34a; --wh: #d97706;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 "Poppins", system-ui, sans-serif; }
h1, h2, h3, h4, .btn, .page-h { font-family: "Oswald", "Poppins", sans-serif; font-weight: 500; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.link { color: var(--brand); font-weight: 600; font-size: 14px; }

/* buttons: square-cornered, uppercase Oswald */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff;
  border: 0; border-radius: 4px; padding: 13px 28px; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--brand-dk); color: #fff; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn-outline { display: inline-flex; align-items: center; background: #fff; border: 1px solid #d0d0d0; border-radius: 4px;
  padding: 9px 18px; font-weight: 600; font-size: 14px; cursor: pointer; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-outline.danger:hover { border-color: #b91c1c; color: #b91c1c; }
.pill { display: inline-block; background: #fff; color: var(--brand); border: 1px solid var(--soft2); border-radius: 4px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; }
.pill-light { border-color: rgba(255,255,255,.5); }

/* top bar + header: menu left, logo centred on a grey block, icons right */
.topbar { background: var(--brand); color: #fff; font-size: 12px; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { font-weight: 600; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.tb-left a { margin-right: 16px; }
.tb-mid a { text-decoration: underline; }
.site-head { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.head-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 84px; }
.logo { align-self: stretch; display: grid; place-items: center; background: var(--back); padding: 0 34px; }
.logo img { height: 46px; width: auto; }
.main-nav { display: flex; gap: 26px; font: 500 15px "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .03em; }
.main-nav > a, .dd > a { padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav .on { color: var(--brand); border-bottom-color: var(--brand); }
.main-nav .hot { color: var(--brand); }
.dd { position: relative; }
.dd-panel { display: none; position: absolute; top: 100%; left: -16px; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.08); padding: 10px; width: 300px; z-index: 30;
  font: 500 14px "Poppins", sans-serif; text-transform: none; letter-spacing: 0; }
.dd:hover .dd-panel, .dd:focus-within .dd-panel { display: block; }
.dd-panel a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; }
.dd-panel a:hover { background: var(--back); }
.dd-panel small { margin-left: auto; color: var(--muted); font-weight: 400; }
.dd::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 30px; }
.caret { font-size: 10px; }
.head-icons { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.search { display: flex; align-items: center; background: var(--back); border: 1px solid var(--line); border-radius: 4px; padding: 2px 4px 2px 14px; }
.search input { border: 0; background: transparent; outline: none; width: 170px; padding: 6px 0; }
.search button { border: 0; background: none; font-size: 20px; cursor: pointer; padding: 0 8px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 8px; border: 0; background: none;
  font-size: 20px; cursor: pointer; border-radius: 6px; }
.icon-btn .lbl { font-size: 13px; font-weight: 500; }
.badge { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

.flashes { margin-top: 16px; }
.flash { background: #ecfdf3; border: 1px solid #b7ebc6; color: #14532d; padding: 10px 14px; border-radius: 6px; margin-bottom: 8px; }
.flash.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* section titles: small kicker over a big uppercase word */
.sec-title { text-align: center; margin-bottom: 30px; }
.sec-title small { display: block; font: 500 19px "Oswald", sans-serif; text-transform: uppercase; letter-spacing: .04em; color: var(--brand); }
.sec-title h2 { font-size: clamp(34px, 4.2vw, 52px); text-transform: uppercase; }
.sec-title.left { text-align: left; margin-bottom: 18px; }

/* hero: full-width red banner */
.hero { background: var(--hero-from) linear-gradient(110deg, var(--hero-from) 40%, var(--hero-to)); color: var(--hero-text); overflow: hidden; position: relative; }
.hero.has-art { background-image: var(--art), linear-gradient(110deg, var(--hero-from) 40%, var(--hero-to)); background-size: cover; background-position: center; }
.hero.has-photo { background-image: linear-gradient(90deg, rgba(0,0,0,.6), rgba(0,0,0,.15) 70%), var(--art); color: #fff; }
.hero.has-art::after { display: none; }
.hero .btn-light { color: var(--ink); }
.countdown { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: 5px 12px;
  margin-bottom: 18px; font: 500 15px "Oswald"; text-transform: uppercase; letter-spacing: .05em; }
.countdown b { font-size: 20px; }
.preview-bar { position: sticky; top: 0; z-index: 60; display: flex; justify-content: space-between; align-items: center; gap: 10px 16px; flex-wrap: wrap;
  background: #111; color: #fff; padding: 9px 16px; font: 500 14px/1.3 "Poppins", sans-serif; }
.preview-bar .pb-actions { display: flex; align-items: center; gap: 10px; }
.preview-bar form { margin: 0; }
.preview-bar button { border: 1px solid rgba(255,255,255,.5); background: none; color: #fff; border-radius: 4px; padding: 6px 12px; cursor: pointer; font: inherit; }
.preview-bar .pb-go { background: #16a34a; border-color: #16a34a; }
.preview-bar a { color: #fff; text-decoration: underline; }
.preview-bar ~ .site-head, .preview-bar ~ header { top: 46px; }
.hero::after { content: "BUY$MART"; position: absolute; right: -2%; bottom: -12%; font: 600 clamp(90px, 15vw, 220px) "Oswald", sans-serif;
  color: rgba(255,255,255,.07); line-height: 1; pointer-events: none; }
.hero-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 64px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(54px, 8vw, 110px); font-weight: 600; text-transform: uppercase; line-height: .95; }
.hero h1 span { display: block; font-size: .52em; font-weight: 500; margin-top: 8px; }
.hero p { max-width: 460px; margin: 22px 0 28px; opacity: .93; }
.hero-art { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 480px; justify-self: end; width: 100%; }
.hero-tile { position: relative; overflow: hidden; aspect-ratio: 1; background: #fff; border-radius: 14px; display: grid; place-items: center; padding: 14px;
  text-align: center; color: var(--ink); box-shadow: 0 14px 34px rgba(0,0,0,.18); transition: transform .15s; }
.hero-tile:nth-child(2), .hero-tile:nth-child(4) { transform: translateY(22px); }
.hero-tile:hover { transform: translateY(-4px); }
.hero-tile img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.hero-ico { font-size: 54px; display: block; }
.hero-tile b { font: 500 16px "Oswald"; text-transform: uppercase; }

/* promo tiles: two stacked on the left, one tall on the right */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; margin-top: 56px; }
.promo { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 220px; display: flex; align-items: center; gap: 16px; padding: 26px 30px; }
.promo img { width: 46%; height: 170px; object-fit: contain; background: #fff; border-radius: 10px; padding: 10px; transition: transform .2s; }
.promo:hover img { transform: scale(1.04); }
.promo-text { display: flex; flex-direction: column; gap: 2px; }
.promo small { font: 500 18px "Oswald"; text-transform: uppercase; }
.promo b { font: 500 34px/1.05 "Oswald"; text-transform: uppercase; }
.promo em { font: 500 20px "Oswald"; font-style: normal; text-transform: uppercase; }
.promo .mini-btn { margin-top: 14px; align-self: flex-start; background: #fff; color: var(--ink); border-radius: 4px; padding: 8px 18px;
  font: 400 15px "Oswald"; text-transform: uppercase; transition: background .15s, color .15s; }
.promo:hover .mini-btn { background: var(--ink); color: #fff; }
.promo-red { background: var(--brand); color: #fff; }
.promo-red:hover { color: #fff; }
.promo-grey { background: var(--grey); color: var(--ink); }
.promo-grey .mini-btn { background: var(--brand); color: #fff; }
.promo-tall { grid-column: 2; grid-row: 1 / 3; background: var(--accent); color: #fff; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.promo-tall:hover { color: #fff; }
.promo-tall b { font-size: 46px; }
.promo-tall img { width: 100%; height: 260px; }
.promo-red img { order: 2; }
.promo.has-img { background-image: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.05)), var(--art); background-size: cover; background-position: center; color: #fff; }
.promo-grid.n1 { grid-template-columns: 1fr; grid-template-rows: auto; }
.promo-grid.n2 { grid-template-rows: auto; }
.promo-grid.n1 .promo, .promo-grid.n2 .promo { grid-column: auto; grid-row: auto; }

/* grey band behind product rows */
.band { background: var(--back); padding: 64px 0; margin-top: 64px; }
.band.block { margin-top: 64px; }
.rail-wrap { position: relative; }
.arrow { position: absolute; top: 38%; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink);
  box-shadow: 0 4px 14px rgba(0,0,0,.12); font-size: 26px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.arrow:hover { background: var(--brand); color: #fff; }
.arrow-l { left: -14px; } .arrow-r { right: -14px; }

/* welcome / about strip */
.welcome { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-top: 72px; }
.welcome-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: var(--back); border-radius: var(--radius); padding: 30px; }
.welcome-art img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; padding: 12px; }
.welcome-art img:nth-child(2) { margin-top: 40px; }
.welcome-text p { color: #4b4b4b; margin: 0 0 24px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.stats div { text-align: center; background: var(--back); border-radius: 10px; padding: 16px 8px; border-bottom: 3px solid var(--brand); }
.stats b { display: block; font: 500 32px "Oswald"; color: var(--brand); }
.stats span { font: 400 15px "Oswald"; text-transform: uppercase; letter-spacing: .03em; }

.aisle-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.aisle { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; background: var(--back); border-radius: var(--radius);
  padding: 22px 10px 18px; font: 500 17px/1.2 "Oswald"; text-transform: uppercase; transition: background .15s, color .15s; }
.aisle small { font: 400 12px "Poppins"; text-transform: none; color: var(--muted); }
.aisle-ico { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 32px; margin-bottom: 8px; transition: transform .15s; }
.aisle:hover { background: var(--brand); color: #fff; }
.aisle:hover small { color: #fff; }
.aisle:hover .aisle-ico { transform: translateY(-3px); }

/* sections */
.block { margin-top: 64px; }
.block-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.block-head h2 { font-size: 30px; text-transform: uppercase; }
.block-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.arrows { display: flex; gap: 6px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 22px) / 4); gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 20px; }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.band .grid + p { margin: 36px 0 0; }

/* product card: white photo box, centred uppercase name, full-width button */
.card { display: flex; flex-direction: column; min-width: 0; text-align: center; }
.card-img { position: relative; aspect-ratio: 1; background: var(--tile); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
.band .card-img { border-color: transparent; }
.card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .2s; }
.card:hover .card-img img { transform: scale(1.05); }
.tags { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.tags.inline { position: static; flex-direction: row; margin: 6px 0 2px; }
.tag { background: var(--ink); color: #fff; font: 500 11px "Oswald"; letter-spacing: .06em; padding: 3px 8px; border-radius: 3px; }
.tag.sale { background: var(--brand); }
.card-body { padding: 14px 4px 0; display: flex; flex-direction: column; align-items: center; gap: 4px; flex: 1; }
.card-brand { color: var(--muted); font-size: 11px; }
.card-name { font: 400 16px/1.3 "Oswald"; text-transform: uppercase; color: #393939; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font: 500 16px "Poppins"; color: var(--ink); margin-top: auto; padding-top: 2px; }
.price s { color: var(--muted); font-weight: 400; font-size: 13px; margin-right: 6px; }
.card .js-add { width: 100%; margin-top: 8px; }
.add-btn { width: 100%; border: 0; background: var(--brand); color: #fff; border-radius: 4px; padding: 9px 10px; font: 400 14px "Oswald";
  text-transform: uppercase; letter-spacing: .04em; cursor: pointer; white-space: nowrap; transition: background .15s; }
.add-btn:hover { background: var(--ink); }

/* placeholders: light grey with the department icon */
.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #8a8a8a; background: var(--back); }
.ph-ico { font-size: 44px; opacity: .8; }
.ph small { font-size: 11px; }
.ph-big .ph-ico { font-size: 96px; }

.banner.has-img { background-image: linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,.1)), var(--art); background-size: cover; background-position: center; }
.banner:hover { color: #fff; }
.more { margin: 30px 0 0; }
.banner { position: relative; overflow: hidden; border-radius: var(--radius); padding: 48px 52px; background: var(--accent);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border-left: 8px solid var(--brand); }
.banner small { font: 500 18px "Oswald"; text-transform: uppercase; color: #ff8a90; letter-spacing: .04em; }
.banner h2 { font-size: clamp(28px, 3.4vw, 42px); text-transform: uppercase; margin: 6px 0 8px; }
.banner p { margin: 0; opacity: .9; max-width: 540px; }
.how { background: var(--back); border-radius: var(--radius); padding: 36px 40px; }
.how h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 18px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.how li { counter-increment: s; display: flex; flex-direction: column; gap: 4px; }
.how li::before { content: counter(s); width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-family: "Oswald"; margin-bottom: 6px; }
.how span { color: var(--muted); }

/* perks band: red, with a faded watermark word, round icons */
.perks { position: relative; overflow: hidden; margin-top: 80px; background: var(--brand); color: #fff; }
.watermark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font: 600 clamp(80px, 14vw, 200px) "Oswald", sans-serif;
  color: rgba(255,255,255,.08); white-space: nowrap; pointer-events: none; }
.perk-row { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 52px; padding-bottom: 52px; }
.perk { display: flex; align-items: center; gap: 16px; }
.perk > span { flex: none; width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.16); border: 2px solid rgba(255,255,255,.35);
  display: grid; place-items: center; font-size: 30px; }
.perk b { display: block; font: 500 22px/1.1 "Oswald"; text-transform: uppercase; }
.perk small { opacity: .88; }

/* footer: light grey, contact row, white box of links */
.site-foot { background: var(--back); padding-top: 40px; font-size: 14px; }
.foot-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding-bottom: 32px; }
.foot-call { display: flex; align-items: center; gap: 14px; }
.foot-call > span:first-child { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 22px; }
.foot-call b { display: block; font: 500 20px "Oswald"; }
.foot-call small { color: var(--muted); }
.foot-where { text-align: right; color: #4b4b4b; }
.foot-logo { height: 52px; width: auto; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; background: #fff; border-radius: 18px; padding: 36px 40px; }
.site-foot h4 { font-size: 22px; margin: 0 0 14px; color: #414141; }
.site-foot .foot-grid a { display: block; color: #4b4b4b; margin-bottom: 8px; }
.site-foot .foot-grid a::before { content: "›"; margin-right: 8px; color: var(--brand); font-weight: 600; }
.site-foot a:hover { color: var(--brand); }
.site-foot p { color: #4b4b4b; margin: 0 0 8px; }
.hrs span { font-weight: 600; color: var(--ink); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; color: var(--muted); font-size: 12px; }
.foot-base a { text-decoration: underline; }

/* catalogue */
.cat-banner { margin-top: 24px; background: var(--brand); color: #fff; border-radius: var(--radius); padding: 34px 40px; display: flex; align-items: center; gap: 28px; }
.cat-banner h1 { font-size: clamp(30px, 4vw, 52px); text-transform: uppercase; }
.cat-banner p { margin: 0; opacity: .92; max-width: 460px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 16px 0 20px; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--brand); }
.catalog { display: grid; grid-template-columns: 230px 1fr; gap: 32px; }
.filters h3 { font-size: 19px; text-transform: uppercase; margin: 18px 0 8px; }
.filters h3:first-of-type { margin-top: 0; }
.f-link { display: block; padding: 4px 0; font-size: 14px; color: #374151; }
.f-link.on { color: var(--brand); font-weight: 700; }
.f-link small { color: var(--muted); }
.f-sub { border-left: 2px solid var(--soft2); margin: 4px 0 6px 4px; padding-left: 12px; max-height: 340px; overflow: auto; }
.f-sub .f-link { font-size: 13px; }
.f-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 14px; }
.f-check::before { content: ""; width: 14px; height: 14px; border: 1.5px solid #c7c7c7; border-radius: 3px; flex: none; }
.f-check.on::before { background: var(--brand); border-color: var(--brand); box-shadow: inset 0 0 0 2px #fff; }
.close-filters, .show-filters { display: none; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 14px; color: var(--muted); }
.sort label { flex-direction: row; align-items: center; margin: 0; font-weight: 400; font-size: 14px; }
.sort select { margin-left: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { background: var(--soft); color: var(--brand); border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; }
.results .grid { grid-template-columns: repeat(4, 1fr); }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a, .pager span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 8px; font-weight: 700; font-size: 14px; }
.pager a:hover { background: var(--soft); }
.pager .on { background: var(--brand); color: #fff; }
.empty { text-align: center; padding: 48px 16px; }
.empty p { color: var(--muted); }
.big-ico { font-size: 52px; display: block; margin-bottom: 8px; }

/* product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.pdp-img { position: relative; aspect-ratio: 1; background: var(--back); border-radius: 18px; overflow: hidden; display: grid; place-items: center; }
.photo-credit { position: absolute; left: 12px; bottom: 10px; font-size: 11px; color: var(--muted); background: rgba(255,255,255,.85); padding: 2px 8px; border-radius: 6px; }
.photo-credit a { text-decoration: underline; }
.pdp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 28px; mix-blend-mode: multiply; }
.pdp-info h1 { font-size: clamp(28px, 3.4vw, 40px); text-transform: uppercase; margin-top: 6px; }
.pdp-price { font-family: "Oswald"; font-size: 34px; font-weight: 500; color: var(--brand); margin: 16px 0 6px; }
.pdp-price s { font-size: 18px; color: var(--muted); font-weight: 400; margin-left: 8px; }
.stock { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin: 0 0 20px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.ok { background: var(--ok); } .dot.wh { background: var(--wh); }
.buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid #d7d7d7; border-radius: 4px; overflow: hidden; background: #fff; }
.qty button { border: 0; background: none; width: 36px; height: 40px; font-size: 18px; cursor: pointer; }
.qty input { width: 44px; border: 0; text-align: center; outline: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.pdp-perks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 8px; font-size: 14px; color: #374151; }
.spec { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 14px; border-top: 1px solid var(--line); padding-top: 16px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; }
.long { color: #374151; }

/* cart, checkout, account */
.narrow-top { margin-top: 28px; }
.page-h { font-size: 36px; text-transform: uppercase; margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 21px; text-transform: uppercase; margin: 4px 0 12px; }
.panel h3 ~ h3 { margin-top: 26px; }
.line { display: grid; grid-template-columns: 72px 1fr auto 90px 28px; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line-img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--back); }
.line-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-img .ph-ico { font-size: 28px; }
.line-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.line-info small { color: var(--muted); }
.line-info .warn { color: var(--wh); }
.line-total { text-align: right; font-family: "Oswald"; }
.x { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 15px; }
.x:hover { color: var(--brand); }
.line-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; font-weight: 700; font-size: 14px; }
.summary { position: sticky; top: 92px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-size: 14px; }
.sum-row span:first-child { color: #4b5563; }
.sum-row.total { border-top: 1px solid var(--line); padding-top: 12px; font-size: 17px; }
.summary .btn { margin: 8px 0 10px; }
label { display: flex; flex-direction: column; gap: 5px; font-weight: 700; font-size: 13px; margin-bottom: 14px; }
label small { font-weight: 400; color: var(--muted); }
input:not([type=radio]):not([type=checkbox]), textarea { border: 1px solid #d7d7d7; border-radius: 4px; padding: 11px 12px; font-weight: 400; font-size: 15px; background: #fff; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--soft2); border-color: var(--brand); }
.qty input:focus { outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pay-opt { flex-direction: row; align-items: flex-start; gap: 12px; border: 1px solid #d7d7d7; border-radius: 12px; padding: 14px 16px; cursor: pointer; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: var(--soft); }
.pay-opt.disabled { opacity: .55; cursor: not-allowed; }
.pay-opt input { margin-top: 3px; accent-color: var(--brand); }
.pay-opt span { display: flex; flex-direction: column; gap: 2px; }
.pay-opt small { font-weight: 400; color: #4b5563; font-size: 13px; }
.err { color: #b91c1c; font-weight: 700; }
.auth { display: grid; place-items: center; margin-top: 40px; }
.auth-box { width: 100%; max-width: 480px; padding: 32px; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.acct-head .page-h { margin-bottom: 2px; }
.acct-actions { display: flex; gap: 10px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 6px; border-bottom: 1px solid var(--line); }
.tbl tfoot td { border-bottom: 0; }
.tbl .r { text-align: right; }
.tbl a { color: var(--brand); font-weight: 700; }
.st { display: inline-block; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 700; background: #eef2ff; color: #3730a3; }
.st-new { background: #fff7ed; color: #9a3412; } .st-ready { background: #ecfdf3; color: #166534; }
.st-collected { background: #f0fdf4; color: #15803d; } .st-cancelled { background: #f3f4f6; color: #6b7280; }
.st-awaiting_payment { background: #fef9c3; color: #854d0e; }
.thanks { text-align: center; margin-bottom: 24px; background: var(--soft); border-color: var(--soft2); }
.thanks p { max-width: 560px; margin: 6px auto; }
.prose { max-width: 760px; }
.prose h3 { margin-top: 20px !important; }
.prose p { color: #374151; }

/* staff */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0; }
.tabs a { padding: 8px 14px; border-radius: 999px; background: var(--back); font-weight: 700; font-size: 14px; }
.tabs a.on { background: var(--brand); color: #fff; }
.tabs small { opacity: .75; margin-left: 4px; }
.order-card { margin-bottom: 16px; }
.oc-head { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; font-size: 14px; }
.oc-no { font-family: "Oswald"; font-size: 18px; }
.note { background: #fffbeb; border-radius: 8px; padding: 8px 12px; font-size: 14px; }
.oc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.photo-grid .card-img { margin-bottom: 6px; }
.photo-grid form { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: 12px; }

/* sign in: customer + wholesale side by side; wholesale application */
.signin-tabs { display: none; justify-content: center; gap: 6px; margin: 0 0 16px; }
.signin-tabs a { padding: 8px 18px; border-radius: 4px; background: var(--back); font-weight: 600; font-size: 14px; }
.signin-tabs a.on { background: var(--brand); color: #fff; }
.small-tabs { display: flex; justify-content: flex-start; margin: 4px 0 12px; }
.signin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 980px; margin: 8px auto 0; }
.signin-grid .auth-box { max-width: none; padding: 30px; }
.signin-grid h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 4px; }
.ws-box { border-top: 5px solid var(--accent); }
.ws-apply { max-width: 820px; margin: 0 auto; padding: 32px; }
.ws-apply h3 { font-size: 20px; text-transform: uppercase; margin: 26px 0 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.ws-apply select, .ws-apply textarea { border: 1px solid #d7d7d7; border-radius: 4px; padding: 11px 12px; font-weight: 400; font-size: 15px; background: #fff; }
.ws-radios { border: 0; padding: 0; margin: 0 0 14px; }
.ws-radios legend { font-weight: 700; font-size: 13px; margin-bottom: 6px; }
.ws-status { border-left: 6px solid var(--wh); margin-bottom: 18px; }
.ws-status h3 { font-size: 26px; }
.ws-status.ws-approved { border-left-color: var(--ok); }
.ws-status.ws-declined, .ws-status.ws-suspended { border-left-color: #b91c1c; }

.ws-price { color: var(--accent); }
.ws-req { margin-top: 18px; }
.req-row { display: grid; grid-template-columns: 2fr 80px 1.4fr; gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.req-row label { margin-bottom: 8px; }
.quote-actions { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.quote-actions p { flex-basis: 100%; margin: 0 0 4px; }

/* staff: site templates */
.th-status { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; border-left: 6px solid var(--ok); }
.th-status h3 { font-size: 28px; margin: 2px 0 4px; }
.th-status p { margin: 0; }
.th-season-switch { display: flex; align-items: center; gap: 16px; max-width: 520px; }
.th-season-switch small { display: block; }
.th-group { font-size: 26px; text-transform: uppercase; margin: 30px 0 14px; }
.th-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.th-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.th-card.is-live { border: 2px solid var(--ok); box-shadow: 0 8px 24px rgba(22,163,74,.12); }
.th-thumb { position: relative; height: 150px; overflow: hidden; }
.th-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th-thumb-text { position: absolute; left: 16px; top: 18px; display: flex; flex-direction: column; gap: 2px; max-width: 70%; }
.th-thumb-text b { font: 600 26px/1 "Oswald", sans-serif; text-transform: uppercase; }
.th-thumb-text small { font: 500 15px "Oswald", sans-serif; text-transform: uppercase; }
.th-thumb-text i { align-self: flex-start; margin-top: 8px; color: #fff; font: normal 600 11px "Poppins"; padding: 4px 10px; border-radius: 3px; }
.th-swatches { position: absolute; right: 10px; bottom: 10px; display: flex; gap: 4px; }
.th-swatches span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.th-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.th-body h3 { font-size: 21px; text-transform: uppercase; }
.th-body p { margin: 0; }
.th-badges { display: flex; gap: 6px; flex-wrap: wrap; min-height: 22px; }
.th-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 10px; }
.th-actions form, .th-more form { margin: 0; }
.th-actions .btn { padding: 9px 18px; font-size: 14px; }
.th-more { margin-top: 8px; font-size: 13px; }
.th-more summary { cursor: pointer; color: var(--muted); }
.th-more[open] { display: grid; gap: 8px; }
.th-dup { display: flex; gap: 6px; }
.th-dup input { flex: 1; min-width: 0; padding: 8px 10px !important; font-size: 13px !important; }
.th-bottom { margin-top: 30px; grid-template-columns: 1fr 1fr; }
.th-upload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.th-form .panel { margin-bottom: 18px; }
.th-form .field-row > label { min-width: 0; justify-content: flex-end; }
.th-form input:not([type=radio]):not([type=checkbox]):not([type=color]) { width: 100%; min-width: 0; }
.th-form .two-col { grid-template-columns: 1fr 380px; }
.th-layouts { display: grid; gap: 10px; }
.th-slot { border-top: 1px solid var(--line); padding: 10px 0; }
.th-slot summary { cursor: pointer; font-weight: 600; }
.th-slot[open] summary { margin-bottom: 12px; }
.th-img-field { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; background: var(--back); border-radius: 8px; padding: 12px; }
.th-img-field img { width: 180px; height: 70px; object-fit: cover; border-radius: 4px; background: #ccc; }
.th-img-field > label:last-child { flex: 1; min-width: 220px; margin: 0; }
.f-inline { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 14px; margin-bottom: 8px; }
.th-color { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; font-size: 14px; margin-bottom: 8px; }
.th-color input { width: 44px; height: 32px; padding: 0 !important; border: 1px solid var(--line) !important; border-radius: 4px !important; cursor: pointer; }
.th-aisles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; margin-top: 6px; }
.th-aisles .f-inline { font-size: 13px; margin-bottom: 4px; }
.th-form textarea { width: 100%; font: 13px/1.4 Consolas, monospace; }
.th-save { position: sticky; bottom: 12px; display: grid; gap: 8px; box-shadow: 0 8px 30px rgba(0,0,0,.08); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 12px; font-size: 14px; font-weight: 700; z-index: 50; transition: transform .25s; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); }
.toast a { color: #fca5a5; margin-left: 10px; text-decoration: underline; }

/* responsive */
@media (max-width: 1100px) {
  .main-nav { gap: 16px; font-size: 14px; }
  .main-nav > a:nth-child(n+4) { display: none; }
  .search input { width: 110px; }
  .logo { padding: 0 20px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
  .results .grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 22px) / 3); }
  .perk-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar .tb-left, .topbar .tb-right { display: none; }
  .topbar .wrap { justify-content: center; }
  .main-nav, .head-icons .search, .icon-btn .lbl { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { grid-template-columns: auto 1fr auto; gap: 8px; height: 64px; }
  .logo { padding: 0 16px; justify-self: center; }
  .logo img { height: 34px; }
  body.nav-open .mobile-nav { display: grid; gap: 2px; padding: 10px 16px 16px; border-top: 1px solid var(--line); max-height: 75vh; overflow: auto; }
  .mobile-nav a { padding: 10px 4px; font-weight: 700; border-bottom: 1px solid var(--line); }
  .mobile-nav .search { margin-bottom: 8px; }
  .mobile-nav .search input { width: 100%; }
  .hero-row { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 56px; gap: 28px; }
  .hero-art { max-width: 340px; justify-self: start; }
  .promo-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; margin-top: 32px; }
  .promo-tall { grid-column: auto; grid-row: auto; }
  .promo { min-height: 0; padding: 22px; }
  .promo b, .promo-tall b { font-size: 30px; }
  .promo img { height: 130px; }
  .promo-tall img { height: 180px; }
  .band, .band.block { padding: 44px 0; margin-top: 44px; }
  .arrow { display: none; }
  .welcome { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 48px; }
  .welcome-art { padding: 18px; }
  .stats b { font-size: 24px; }
  .stats span { font-size: 13px; }
  .aisle-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .aisle { font-size: 15px; padding: 16px 8px; }
  .aisle-ico { width: 60px; height: 60px; font-size: 26px; }
  .grid, .grid-6, .results .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .rail { grid-auto-columns: calc((100% - 12px) / 2.1); gap: 12px; }
  .card-name { font-size: 14px; }
  .banner { padding: 30px 24px; }
  .how { padding: 26px 22px; }
  .how ol { grid-template-columns: 1fr; }
  .perks { margin-top: 56px; }
  .perk-row { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 36px; }
  .perk > span { width: 56px; height: 56px; font-size: 24px; }
  .foot-top { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-where { text-align: center; }
  .foot-grid { grid-template-columns: 1fr 1fr; padding: 26px 22px; gap: 24px; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  body.filters-open .filters { display: block; position: fixed; inset: 0; background: #fff; z-index: 40; overflow: auto; padding: 20px; }
  .close-filters, .show-filters { display: inline-flex; }
  .close-filters { border: 0; background: var(--back); border-radius: 999px; padding: 8px 14px; font-weight: 700; margin-bottom: 12px; cursor: pointer; }
  .toolbar { flex-wrap: wrap; }
  .cat-banner { padding: 22px; flex-direction: column; align-items: flex-start; gap: 6px; }
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .two-col { grid-template-columns: 1fr; }
  .summary { position: static; }
  .line { grid-template-columns: 56px 1fr auto; grid-template-areas: "img info x" "img qty total"; row-gap: 8px; }
  .line-img { grid-area: img; width: 56px; height: 56px; } .line-info { grid-area: info; } .line .qty { grid-area: qty; justify-self: start; }
  .line-total { grid-area: total; } .x { grid-area: x; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .th-form .two-col, .th-bottom { grid-template-columns: 1fr; }
  .signin-tabs { display: flex; }
  .req-row { grid-template-columns: 1fr 80px; }
  .req-row label:last-of-type { grid-column: 1 / -1; }
  .signin-grid { grid-template-columns: 1fr; }
  .signin-grid .dim { display: none; }
  .ws-apply { padding: 22px; }
  .th-season-switch { flex-direction: column; align-items: flex-start; }
  .tbl { font-size: 13px; }
  .auth-box { padding: 22px; }
}
@media print {
  .topbar, .site-head, .perks, .site-foot, .no-print, .toast { display: none !important; }
  .order-card { break-inside: avoid; border-color: #999; }
}
