/* ==========================================================
   Primary Flash Sale - style.css
   Colors are defined once at the top. Change them here.
   ========================================================== */

/* ---------- Colors and fonts ----------
   One brand color (magenta) plus neutrals: white, greys and near-black. */
:root {
  --bg: #FFFFFF;          /* page background */
  --card: #FFFFFF;        /* cards and panels */
  --soft: #F5F4F5;        /* light grey sections */
  --text: #17141A;        /* main text */
  --muted: #5E5A62;       /* secondary text */
  --line: #E6E3E7;        /* borders */
  --brand: #B5005E;       /* THE brand color: buttons, links, highlights */
  --brand-dark: #8F004A;
  --brand-tint: #FBEAF3;  /* very light version of the brand color */
  --accent: var(--brand); /* kept for older class names; same color */
  --deep: #17141A;        /* dark sections: footer */
  --good: #17141A;        /* savings lines use text color (no second color) */
  --bad: #B5005E;         /* errors use the brand color */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --radius: 8px;
}
/* Dark mode: same names, darker values */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121014; --card: #1B181D; --soft: #201D22; --text: #F3F1F4; --muted: #B3AEB6; --line: #322E35;
    --brand: #FF5CAA; --brand-dark: #FF8CC4; --brand-tint: #2E1825; --deep: #0B0A0C; --good: #F3F1F4; --bad: #FF5CAA;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121014; --card: #1B181D; --soft: #201D22; --text: #F3F1F4; --muted: #B3AEB6; --line: #322E35;
  --brand: #FF5CAA; --brand-dark: #FF8CC4; --brand-tint: #2E1825; --deep: #0B0A0C; --good: #F3F1F4; --bad: #FF5CAA;
  color-scheme: dark;
}

/* ---------- Basics ---------- */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; }
h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
h3 { font-size: 18px; }
p { margin: 0 0 12px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; padding-top: 24px; padding-bottom: 24px; }
.section { padding-top: 28px; padding-bottom: 28px; }
.eyebrow { display: inline-block; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand); margin-bottom: 8px; }
.eyebrow.light { color: #fff; }
.eyebrow { font-weight: 600; }
.lead { font-size: 18px; color: var(--muted); }
.small-note { font-size: 13.5px; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; background: var(--brand); color: #fff; border: 2px solid transparent; border-radius: var(--radius); padding: 11px 22px; font-size: 15px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--brand-dark); }
.btn-small { padding: 8px 14px; font-size: 14px; }
.btn-full { width: 100%; text-align: center; margin-top: 10px; }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-accent { background: var(--brand); color: #fff; }
.btn-accent:hover { background: var(--brand-dark); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); }
/* In dark mode the pink is lighter, so solid buttons use dark text */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:not(.btn-outline):not(.btn-outline-light) { color: #121014; } }
:root[data-theme="dark"] .btn:not(.btn-outline):not(.btn-outline-light) { color: #121014; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--brand); text-decoration: underline; cursor: pointer; }

/* ---------- Top bar and header ---------- */
.topbar { background: var(--deep); color: #E9E6EA; font-size: 13.5px; }

.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar b { color: #fff; background: var(--brand); padding: 0 6px; border-radius: 4px; font-family: var(--mono); }
.topbar a { color: #fff; text-decoration: none; }
.header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.logo img { height: 40px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-light { display: none; } :root:not([data-theme="light"]) .logo-dark { display: block; } }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }
.search { flex: 1; display: flex; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 3px; min-width: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 14px; font: inherit; color: var(--text); outline: none; }
.search button { border: 0; border-radius: 6px; background: var(--brand); color: #fff; color: #fff; font: inherit; font-weight: 700; padding: 8px 18px; cursor: pointer; }
.header-links { display: flex; align-items: center; gap: 16px; }
.header-links a { color: var(--text); text-decoration: none; font-weight: 600; }
.cart-link { background: var(--brand); color: #fff !important; padding: 8px 14px; border-radius: var(--radius); }
.cart-count { display: inline-block; min-width: 22px; text-align: center; background: #fff; color: #B5005E; border-radius: 999px; font-size: 13px; padding: 0 6px; margin-left: 4px; }
.dept-nav { background: var(--card); border-bottom: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dept-nav { background: var(--soft); } }
:root[data-theme="dark"] .dept-nav { background: var(--soft); }
.dept-nav .container { display: flex; gap: 4px; overflow-x: auto; white-space: nowrap; }
.dept-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 11px 12px; border-bottom: 3px solid transparent; }
.dept-nav a:hover, .dept-nav a.active { border-bottom-color: var(--brand); color: var(--brand); }
@media (max-width: 860px) {
  .header-row { flex-wrap: wrap; }
  .search { order: 3; flex-basis: 100%; }
  .header-links a:not(.cart-link) { display: none; }
  .header-links { margin-left: auto; }
  .logo img { height: 32px; }
}

/* ---------- Homepage banner: text and image in one row ---------- */
.banner { background: var(--soft); border-bottom: 1px solid var(--line); }
.banner-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.banner h1 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.05; }
.banner h1 span { display: block; color: var(--brand); }
.banner p { color: var(--muted); font-size: 17px; }
.banner-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0 14px; }
.banner-code { font-size: 15px; }
.banner-code b { font-family: var(--mono); color: var(--brand); background: var(--brand-tint); padding: 1px 6px; border-radius: 4px; }
.banner-photo { margin: 0; }
.banner-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 30%; border-radius: 12px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
figcaption a { color: inherit; }
/* Tablets keep the single row; phones stack the image under the text */
@media (max-width: 640px) { .banner-row { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 24px; } }

/* ---------- Quick picks row (scrolls sideways) ---------- */
.quick-row { display: grid; grid-auto-flow: column; grid-auto-columns: 168px; gap: 12px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.quick { scroll-snap-align: start; display: grid; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-decoration: none; color: var(--text); }
.quick:hover { border-color: var(--brand); }
.quick img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.quick span { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.quick b { color: var(--brand); }

/* ---------- Departments as colored tiles ---------- */
.dept-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.dept-tile { position: relative; overflow: hidden; display: block; min-height: 190px; border-radius: var(--radius); padding: 16px; text-decoration: none; color: var(--text); background: var(--soft); border: 1px solid var(--line); }
.dept-tile:hover { border-color: var(--brand); }
.dept-tile b { position: relative; z-index: 1; display: block; font-family: var(--display); font-size: 16px; max-width: 75%; line-height: 1.2; }
.dept-tile span { position: relative; z-index: 1; font-size: 13px; color: var(--muted); }
.dept-tile img { position: absolute; right: 8px; bottom: 8px; width: 44%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 6px; padding: 6px; transition: transform 0.2s; }
.dept-tile:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .dept-tiles { grid-template-columns: 1fr 1fr; } .dept-tile { min-height: 140px; } .dept-tile b { font-size: 14px; } }

/* ---------- "Fast, not fake" promise ---------- */
.promise { background: var(--brand); color: #fff; margin: 20px 0; padding-top: 40px; padding-bottom: 40px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .promise { background: var(--soft); } }
:root[data-theme="dark"] .promise { background: var(--soft); }
.promise h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.promise .eyebrow.light { color: #fff; opacity: 0.85; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.promise-grid div { border-top: 2px solid rgba(255, 255, 255, 0.6); padding-top: 12px; }
.promise-grid b { font-family: var(--display); font-size: 26px; color: #fff; }
.promise-grid p { color: #FFFFFF; margin: 6px 0 0; }
@media (max-width: 860px) { .promise-grid { grid-template-columns: 1fr; } }

/* ---------- City strip ---------- */
.city-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.city-strip img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.city-strip > div { padding: 28px; align-self: center; }
.city-strip p { color: var(--muted); }
@media (max-width: 860px) { .city-strip { grid-template-columns: minmax(0, 1fr); } .city-strip img { min-height: 200px; height: 220px; } .city-strip > div { padding: 20px; } }

/* ---------- Section headings ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.section-head > div { min-width: 0; }
.section-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.page-head { padding-top: 10px; padding-bottom: 6px; }
.page-head p { color: var(--muted); max-width: 760px; }
.sub-title { font-size: 22px; margin-bottom: 14px; }
.crumbs { font-size: 14px; color: var(--muted); padding-top: 16px; padding-bottom: 8px; }
.crumbs a { color: var(--muted); }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card:hover { box-shadow: 0 10px 24px rgba(23, 20, 26, 0.10); }
.card-img { display: block; background: #fff; padding: 14px; }
.card-img img { aspect-ratio: 1; object-fit: contain; width: 100%; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; border-top: 1px solid var(--line); }
.card-dept { font-size: 12px; font-family: var(--mono); color: var(--brand); text-transform: uppercase; }
.card-title { color: var(--text); text-decoration: none; font-weight: 600; font-size: 14.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-title:hover { color: var(--brand); }
.card-note { font-size: 13px; color: var(--muted); }
.card .btn { margin-top: auto; }
.price { font-size: 24px; font-weight: 800; }
.price sup { font-size: 0.5em; top: -0.8em; }
.plan-art { aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: 4px; background: var(--deep); color: #fff; border-radius: 10px; padding: 12px; }
.plan-art b { font-size: 18px; color: #fff; }
.plan-art.big { border-radius: var(--radius); }
.plan-art.big b { font-size: 28px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .price { font-size: 20px; } .card-img { padding: 8px; } }

/* ---------- Second banner ---------- */
.promo-banner { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--soft); border-radius: 24px; overflow: hidden; }
.promo-banner figure { margin: 0; }
.promo-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.promo-banner figcaption { padding: 6px 14px; margin: 0; }
.promo-text { padding: 32px; align-self: center; }
.promo-text p { color: var(--muted); }
@media (max-width: 860px) { .promo-banner { grid-template-columns: 1fr; } .promo-text { padding: 22px; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { margin: 0; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); padding: 18px; }
.sample-label { display: inline-block; font-family: var(--mono); font-size: 11px; text-transform: uppercase; background: var(--soft); padding: 2px 8px; border-radius: 6px; color: var(--muted); }
.stars { color: var(--brand); margin: 8px 0; letter-spacing: 2px; }
.review blockquote { margin: 0 0 10px; font-style: italic; color: var(--muted); }
.review figcaption { font-size: 13px; margin: 0; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); }
.post-card:hover { border-color: var(--brand); }
.post-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: var(--soft); padding: 12px; }
.post-imgs img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; }
.post-imgs.big { border-radius: var(--radius); margin: 16px 0 20px; }
.post-text { padding: 16px; }
.post-text p { color: var(--muted); font-size: 14.5px; margin: 0; }
.post-meta { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.article h2 { margin-top: 26px; font-size: 22px; }
.article ul { padding-left: 20px; }
@media (max-width: 860px) { .post-grid, .post-grid.two { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--brand); color: #fff; margin-top: 30px; }
.newsletter .eyebrow.light { color: #fff; background: rgba(255, 255, 255, 0.18); padding: 2px 8px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .newsletter { background: var(--soft); } }
:root[data-theme="dark"] .newsletter { background: var(--soft); }
.newsletter-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.newsletter p { color: #FFFFFF; margin: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; border: 0; border-radius: 4px; padding: 12px 18px; font: inherit; }
.newsletter .success { background: rgba(255, 255, 255, 0.15); color: #fff; }
@media (max-width: 860px) { .newsletter-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #CFCBD1; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 24px; padding-top: 40px; padding-bottom: 24px; }
.footer-logo { height: 34px; width: auto; margin-bottom: 14px; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { color: #CFCBD1; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 16px; padding-bottom: 20px; font-size: 13px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Department page listings (full product details, no separate product pages) ---------- */
.listings { display: grid; gap: 16px; }
.listing { display: grid; grid-template-columns: 220px minmax(0, 1fr) 210px; gap: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; scroll-margin-top: 16px; }
.listing:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--soft); }
.listing-img { background: #fff; border-radius: 8px; padding: 10px; align-self: start; }
.listing-img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.listing-info h2 { font-size: 19px; font-weight: 600; line-height: 1.35; margin: 4px 0 6px; letter-spacing: 0; }
.listing-info > .price { display: none; }
.features { padding-left: 18px; margin: 8px 0 10px; font-size: 14.5px; }
.features li { margin-bottom: 5px; }
.listing details { border-top: 1px solid var(--line); padding-top: 10px; }
.listing summary { cursor: pointer; font-weight: 600; color: var(--brand); }
.listing details[open] summary { margin-bottom: 10px; }
.listing details p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.listing-buy { border-left: 1px solid var(--line); padding-left: 20px; align-self: start; }
@media (max-width: 860px) {
  .listing { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 14px; }
  .listing-img { width: 160px; justify-self: center; }
  .listing-info > .price { display: block; }
  .listing-buy { grid-column: 1 / -1; border-left: 0; padding-left: 0; }
  .listing-buy > .price, .listing-buy .stock { display: none; }
  .listing-info h2 { font-size: 16px; }
}

/* ---------- Product page (not used: products are listed on department pages) ---------- */
.product { display: grid; grid-template-columns: 1fr 1.2fr 300px; gap: 28px; align-items: start; padding-top: 8px; }
.product-img { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: sticky; top: 16px; }
.product-info h1 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; }
.brand { font-size: 14px; }
.product-price { padding: 8px 0 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.about h2 { font-size: 18px; }
.about ul { padding-left: 18px; margin: 0; }
.about li { margin-bottom: 8px; }
.buy-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.buy-box label { display: block; font-weight: 600; margin-top: 10px; }
.buy-box select { width: 100%; padding: 9px; border-radius: 10px; border: 1px solid var(--line); font: inherit; background: var(--bg); color: var(--text); }
.delivery { font-size: 14px; color: var(--muted); }
.stock { color: var(--text); font-weight: 700; margin: 0; }
.mini-table { width: 100%; font-size: 13.5px; margin-top: 14px; border-collapse: collapse; }
.mini-table th { text-align: left; color: var(--muted); font-weight: 500; padding: 4px 8px 4px 0; vertical-align: top; }
.product-details { padding-top: 24px; }
.product-details > * { max-width: 900px; }
.product-details h2 { font-size: 21px; margin-top: 26px; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 34%; background: var(--soft); font-weight: 600; }
@media (max-width: 960px) {
  .product { grid-template-columns: 1fr; }
  .product-img { position: static; max-width: 420px; }
}

/* ---------- Cart and checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding-bottom: 30px; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 10px; }
.cart-line img { width: 80px; height: 80px; object-fit: contain; background: #fff; border-radius: 8px; }
.cart-name { font-weight: 700; color: var(--text); text-decoration: none; display: block; }
.qty-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.qty-row button:not(.link-button) { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; font-size: 16px; }
.summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; position: sticky; top: 16px; }
.summary h2 { font-size: 20px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.sum-row.good { color: var(--good); font-weight: 600; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; font-weight: 800; font-size: 18px; }
.promo-form { margin-top: 12px; }
.promo-form label { font-weight: 600; font-size: 14px; }
.promo-form div { display: flex; gap: 8px; margin-top: 4px; }
.promo-form input { flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: 4px; font: inherit; background: var(--bg); color: var(--text); text-transform: uppercase; }
.promo-msg { color: var(--bad); font-size: 13.5px; margin: 6px 0 0; }
.promo-on { color: var(--good); font-weight: 600; font-size: 14px; margin-top: 10px; }
.mini-lines { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 10px; }
.mini-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--muted); padding: 3px 0; }
.checkout-form h2 { font-size: 19px; margin-top: 22px; }
.checkout-form label, .panel label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; }
input, select, textarea { font: inherit; color: var(--text); }
.checkout-form input, .checkout-form select, .panel input, .panel select, .panel textarea {
  display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-weight: 400;
}
.invalid { border-color: var(--bad) !important; background: color-mix(in srgb, var(--bad) 6%, var(--card)) !important; }
.form-error { color: var(--bad); font-weight: 600; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.three { grid-template-columns: 1.4fr 1fr 1fr; }
.radio { display: flex !important; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 400 !important; }
.radio span:nth-of-type(1) { flex: 1; }
.radio input { width: auto !important; margin: 0 !important; display: inline !important; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .row, .row.three { grid-template-columns: 1fr; }
}

/* ---------- Content pages ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel.dark { background: var(--deep); color: #E6E3E7; border: 0; }
.panel.dark a { color: #fff; }
.panel.dark b { color: #fff; }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
.about-page { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; padding-top: 10px; padding-bottom: 30px; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.about-grid div { background: var(--soft); border-radius: var(--radius); padding: 18px; }
.about-grid p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
fieldset { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 12px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.check { display: flex !important; gap: 8px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto !important; display: inline !important; margin-top: 5px !important; }
.success { background: var(--soft); color: var(--text); border-radius: 12px; padding: 14px 16px; font-weight: 600; margin: 0; }
.empty { color: var(--muted); }
.shop-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.shop-tools select { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); }
#shop-count { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .contact-layout, .about-page, .about-grid, .checks { grid-template-columns: 1fr; } }

/* ---------- Pop-up message ---------- */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translate(-50%, 140%); background: var(--deep); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14.5px; transition: transform 0.25s; z-index: 50; max-width: calc(100% - 32px); visibility: hidden; }
.toast a { color: #fff; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- Cart panel (slides in from the right) ---------- */
.cart-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 60; }
.mini-cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100%); background: var(--card); z-index: 61; display: flex; flex-direction: column; transform: translateX(105%); transition: transform 0.25s ease; box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15); }
.mini-cart.open { transform: none; }
.mini-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mini-head h2 { font-size: 20px; margin: 0; }
.mini-close { border: 0; background: var(--soft); color: var(--text); width: 36px; height: 36px; border-radius: 8px; font-size: 22px; cursor: pointer; }
.mini-body { padding: 16px 20px; overflow-y: auto; display: grid; gap: 10px; align-content: start; }
.mini-notice { margin: 0; padding: 10px 12px; border-radius: 8px; background: var(--brand-tint); color: var(--brand); font-weight: 600; font-size: 14px; }
.mini-lines-list { display: grid; }
.mini-line { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mini-line img { width: 56px; height: 56px; object-fit: contain; background: #fff; border-radius: 6px; border: 1px solid var(--line); }
.mini-line a { color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; display: block; }
.mini-line b { font-size: 14px; }
.mini-empty { color: var(--muted); }
