/* ==========================================================
   Multi Shop Option - style.css
   Colors are defined once at the top. Change them here.
   ========================================================== */

/* ---------- Colors and fonts ---------- */
:root {
  --bg: #F5F6FA;          /* page background */
  --card: #FFFFFF;        /* cards and panels */
  --soft: #E8EDFB;        /* soft blue background */
  --text: #141B34;        /* main text */
  --muted: #555D78;       /* secondary text */
  --line: #DDE1EC;        /* borders */
  --brand: #2547B8;       /* brand color (indigo blue): buttons, links */
  --brand-dark: #1B3794;
  --accent: #F2C14E;      /* accent color (mustard) */
  --deep: #141B34;        /* dark sections: footer */
  --good: #137A45;        /* savings */
  --bad: #C0262D;         /* errors */
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'Source Code Pro', ui-monospace, monospace;
  --radius: 16px;
}
/* Dark mode: same names, darker values */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1222; --card: #171D33; --soft: #1E2847; --text: #EEF1FA; --muted: #A9B0C8; --line: #29324F;
    --brand: #8EA6FF; --brand-dark: #B0C1FF; --deep: #090C17; --good: #6EE7A0; --bad: #FF8A8A;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0E1222; --card: #171D33; --soft: #1E2847; --text: #EEF1FA; --muted: #A9B0C8; --line: #29324F;
  --brand: #8EA6FF; --brand-dark: #B0C1FF; --deep: #090C17; --good: #6EE7A0; --bad: #FF8A8A;
  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 { 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: var(--accent); }
.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: 999px; padding: 11px 22px; 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(--accent); color: #141B34; }
.btn-accent:hover { background: #E0AD34; }
.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 blue 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: #0E1222; } }
:root[data-theme="dark"] .btn:not(.btn-outline):not(.btn-outline-light) { color: #0E1222; }
.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(--brand); color: #E4EAFF; font-size: 13.5px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .topbar { background: var(--soft); } }
:root[data-theme="dark"] .topbar { background: var(--soft); }
.topbar .container { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; flex-wrap: wrap; }
.topbar b { color: #141B34; background: var(--accent); 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: 0; border-radius: 999px; padding: 4px; 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: 999px; background: var(--brand); 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(--accent); color: #141B34 !important; padding: 8px 14px; border-radius: 999px; }
.cart-count { display: inline-block; min-width: 22px; text-align: center; background: #141B34; color: var(--accent); 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(--accent); 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 (photo left, words right) ---------- */
.banner { background: var(--soft); }
.banner-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.banner-photo { margin: 0; }
.banner-photo img { border-radius: 28px 28px 28px 4px; outline: 3px dashed var(--brand); outline-offset: 10px; }
.banner-text h1 span { display: block; color: var(--brand); }
.banner-text p { color: var(--muted); font-size: 17px; }
.banner-buttons { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 14px; }
.banner-code { font-size: 15px; }
.banner-code b { font-family: var(--mono); background: var(--accent); color: #141B34; padding: 0 6px; border-radius: 4px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
figcaption a { color: inherit; }
@media (max-width: 860px) { .banner-row { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 28px; } .banner-photo img { outline-offset: 6px; } }

/* ---------- Three ways to shop ---------- */
.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.option { position: relative; display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); }
.option:hover { border-color: var(--brand); }
.option-letter { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.option:nth-child(2) .option-letter { background: var(--accent); color: #141B34; }
.option:nth-child(3) .option-letter { background: var(--deep); }
.option b { font-size: 19px; }
.option p { color: var(--muted); font-size: 14.5px; margin: 6px 0 10px; }
.option em { font-style: normal; font-weight: 700; color: var(--brand); }
@media (max-width: 860px) { .options { grid-template-columns: 1fr; } }

/* ---------- Departments as rows ---------- */
.dept-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dept-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px 10px 10px; text-decoration: none; color: var(--text); }
.dept-row:hover { border-color: var(--brand); }
.dept-row img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.dept-row b { display: block; font-size: 16.5px; }
.dept-row small { color: var(--muted); font-size: 13.5px; }
.dept-row em { font-style: normal; font-weight: 700; color: var(--brand); font-size: 14px; white-space: nowrap; }
@media (max-width: 860px) { .dept-rows { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Delivery options table ---------- */
.delivery-box { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.delivery-box p { color: var(--muted); }
.delivery-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.delivery-table th { text-align: left; font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
.delivery-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); }
.delivery-table td:first-child { font-weight: 700; }
.delivery-table b { color: var(--good); }
@media (max-width: 860px) { .delivery-box { grid-template-columns: minmax(0, 1fr); padding: 18px; } .delivery-table { font-size: 14px; } }

/* ---------- Local band (photo with text box on top) ---------- */
.local-band { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--deep); }
.local-band img { width: 100%; height: 440px; object-fit: cover; }
.local-text { position: absolute; left: 24px; bottom: 24px; max-width: 460px; background: var(--card); border-radius: 14px; padding: 24px; border-left: 6px solid var(--accent); }
.local-text p { color: var(--muted); }
.local-credit { position: absolute; right: 12px; top: 10px; margin: 0; font-size: 12px; color: #fff; background: rgba(0, 0, 0, 0.45); padding: 3px 8px; border-radius: 6px; }
.local-credit a { color: #fff; }
@media (max-width: 860px) {
  .local-band img { height: 220px; }
  .local-text { position: static; max-width: none; border-radius: 0; border-left: 0; border-top: 6px solid var(--accent); }
}

/* ---------- 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 12px 28px rgba(37, 71, 184, 0.14); }
.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: var(--accent); }
.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: #E8A317; 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: #141B34; background: var(--accent); 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: #E4EAFF; margin: 0; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; border: 0; border-radius: 999px; 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: #C5CBE0; 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: #C5CBE0; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.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(--good); 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: 999px; 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: #D6DEE8; border: 0; }
.panel.dark a { color: var(--accent); }
.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: var(--accent); }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
