/* Storefront themes. The default ("classic") look lives in style.css; these override it. */

/* ===================== แฟชั่น (fashion) ===================== */
body.theme-fashion {
  --font-h: 'Noto Serif Thai', Georgia, serif;
  --radius: 0px;
  --shadow: none;
  --bg: #fff;
  --ink: #141414;
  --line: #e7e7e7;
}
.theme-fashion .announce { background: #111; letter-spacing: .04em; }
.theme-fashion .brand-mark { border-radius: 0; font-family: var(--font-h); }
.theme-fashion .brand-name { font-family: var(--font-h); font-size: 1.3rem; letter-spacing: .02em; }
.theme-fashion .search { border-radius: 0; background: #fff; }
.theme-fashion .cat-scroll { justify-content: safe center; gap: 18px; }
.theme-fashion .cat-scroll a { border-radius: 0; padding: 6px 2px; letter-spacing: .06em; font-size: .88rem; }
.theme-fashion .cat-scroll a.active { background: none; color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.theme-fashion .hero { background: linear-gradient(160deg, #3a3a3a, #0d0d0d); }
.theme-fashion .hero-inner { padding-top: 110px; padding-bottom: 110px; text-align: center; }
.theme-fashion .hero h1 { font-weight: 500; letter-spacing: .01em; margin-left: auto; margin-right: auto; font-size: clamp(2rem, 5.5vw, 3.4rem); }
.theme-fashion .hero p { margin-left: auto; margin-right: auto; }
.theme-fashion .btn { border-radius: 0; letter-spacing: .06em; }
.theme-fashion .btn-primary { box-shadow: none; }
.theme-fashion .btn-light { background: transparent; color: #fff; border-color: #fff; }
.theme-fashion .btn-light:hover { background: #fff; color: var(--ink); }
.theme-fashion .perks { margin-top: 0; border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
.theme-fashion .perks b { color: var(--ink); font-family: var(--font-h); font-weight: 500; }
.theme-fashion .section-head { justify-content: center; position: relative; margin-bottom: 22px; }
.theme-fashion .section-head h2 { font-family: var(--font-h); font-weight: 500; font-size: 1.7rem; }
.theme-fashion .section-head a { position: absolute; right: 0; bottom: 4px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.theme-fashion .cat-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
.theme-fashion .cat-tile { letter-spacing: .04em; }
.theme-fashion .cat-img { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 0; border: 0; box-shadow: none; }
.theme-fashion .cat-tile:hover .cat-img { transform: none; opacity: .9; }
.theme-fashion .p-grid { gap: 28px 18px; }
.theme-fashion .p-card { background: transparent; box-shadow: none; border-radius: 0; }
.theme-fashion .p-card:hover { transform: none; box-shadow: none; }
.theme-fashion .p-img { aspect-ratio: 3 / 4; background: #f3f3f3; overflow: hidden; }
.theme-fashion .p-img img { transition: transform .5s ease; }
.theme-fashion .p-card:hover .p-img img { transform: scale(1.04); }
.theme-fashion .p-body { padding: 12px 0 0; }
.theme-fashion .p-name { font-weight: 400; min-height: 0; }
.theme-fashion .p-price .now { color: var(--ink); font-weight: 600; font-size: 1rem; }
.theme-fashion .tag-sale { background: var(--ink); border-radius: 0; letter-spacing: .04em; }
.theme-fashion .soldout { background: rgba(255, 255, 255, .7); letter-spacing: .08em; }
.theme-fashion .pd { background: transparent; box-shadow: none; padding: 0; }
.theme-fashion .pd-main { border-radius: 0; aspect-ratio: 3 / 4; }
.theme-fashion .pd-thumbs button { border-radius: 0; }
.theme-fashion .pd-info h1 { font-family: var(--font-h); font-weight: 500; font-size: 2rem; }
.theme-fashion .pd-price { background: none; padding: 0 0 18px; border-radius: 0; border-bottom: 1px solid var(--line); }
.theme-fashion .pd-price .now { color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 1.6rem; }
.theme-fashion .opt span { border-radius: 0; }
.theme-fashion .opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.theme-fashion .qty, .theme-fashion .pay-opt, .theme-fashion .bank, .theme-fashion .qr-wrap, .theme-fashion .free-ship, .theme-fashion .alert, .theme-fashion .form-error { border-radius: 0; }
.theme-fashion .card { border-radius: 0; box-shadow: none; border: 1px solid var(--line); }
.theme-fashion input:not([type=radio]):not([type=checkbox]):not([type=file]), .theme-fashion select, .theme-fashion textarea { border-radius: 0; }
.theme-fashion .cart-line img, .theme-fashion .sum-line img, .theme-fashion .rv-img { border-radius: 0; }
.theme-fashion .site-footer { background: #0f0f0f; color: #d5d5d5; border-top: 0; }
.theme-fashion .footer-brand { font-family: var(--font-h); font-weight: 500; }
.theme-fashion .footer-list, .theme-fashion .site-footer .muted { color: #9a9a9a; }
.theme-fashion .socials, .theme-fashion .site-footer a:hover { color: #fff; }
.theme-fashion .copyright { color: #777; }

/* ===================== อาหาร / ขนม (food) ===================== */
body.theme-food {
  --font-h: 'Mitr', var(--font);
  --radius: 22px;
  --bg: #fff7ef;
  --line: #f2e2d2;
  --shadow: 0 2px 4px rgba(130, 70, 10, .05), 0 10px 24px rgba(130, 70, 10, .08);
}
.theme-food h1, .theme-food h2, .theme-food h3 { font-weight: 500; }
.theme-food .brand-mark { border-radius: 50%; }
.theme-food .brand-name { font-family: var(--font-h); font-weight: 500; }
.theme-food .cat-scroll a { background: #fff; border: 1.5px solid var(--line); font-weight: 500; }
.theme-food .cat-scroll a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.theme-food .hero {
  width: calc(100% - 32px); max-width: 1168px; margin: 16px auto 0; border-radius: 28px;
  background:
    radial-gradient(circle at 86% 24%, rgba(255, 255, 255, .22) 0 70px, transparent 71px),
    radial-gradient(circle at 94% 80%, rgba(255, 255, 255, .14) 0 46px, transparent 47px),
    linear-gradient(120deg, var(--brand), color-mix(in srgb, var(--brand) 55%, #ffb703));
}
.theme-food .hero.has-img { background: linear-gradient(90deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .1)), var(--hero) center/cover no-repeat; }
.theme-food .hero-inner { padding-top: 52px; padding-bottom: 56px; }
.theme-food .hero h1 { font-family: var(--font-h); }
.theme-food .perks { margin-top: 16px; }
.theme-food .perks b { font-family: var(--font-h); font-weight: 500; }
.theme-food .btn { font-family: var(--font-h); font-weight: 500; }
.theme-food .section-head h2 { font-family: var(--font-h); }
.theme-food .cat-img { border-radius: 24px; border: 0; }
.theme-food .p-card { border-radius: 22px; }
.theme-food .p-img { aspect-ratio: 4 / 3; }
.theme-food .p-name { font-family: var(--font-h); font-weight: 500; }
.theme-food .p-price .now { font-family: var(--font-h); }
.theme-food .tag-sale { border-radius: 999px; padding: 3px 10px; }
.theme-food .p-wrap { position: relative; display: flex; flex-direction: column; }
.theme-food .p-wrap .p-card { flex: 1; }
.theme-food .p-wrap .p-body { padding-right: 58px; }
.theme-food .quick-add {
  position: absolute; right: 12px; bottom: 12px; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--brand); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 14px color-mix(in srgb, var(--brand) 40%, transparent); transition: transform .1s, background .2s;
}
.theme-food .quick-add:active { transform: scale(.92); }
.theme-food .quick-add.added { background: var(--ok); }
.theme-food .pd { border-radius: 26px; }
.theme-food .pd-main { border-radius: 20px; aspect-ratio: 4 / 3; }
.theme-food .pd-info h1 { font-family: var(--font-h); }
.theme-food .pd-price { border-radius: 18px; }
.theme-food .opt span { border-radius: 999px; }
.theme-food .site-footer { background: #fff1e3; border-top: 0; }
.theme-food .footer-brand { font-family: var(--font-h); font-weight: 500; }

/* ===================== มินิมอล (minimal) ===================== */
body.theme-minimal {
  --font-h: var(--font);
  --radius: 6px;
  --shadow: none;
  --bg: #fff;
  --ink: #222;
  --line: #ececec;
}
.theme-minimal h1, .theme-minimal h2, .theme-minimal h3 { font-weight: 500; letter-spacing: -.01em; }
.theme-minimal .announce { background: #f5f4f0; color: var(--ink); }
.theme-minimal .brand-mark { background: none; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 50%; font-weight: 500; }
.theme-minimal .brand-name { font-weight: 500; }
.theme-minimal .search { background: #f7f7f7; border-color: transparent; }
.theme-minimal .cat-bar { border-top: 0; }
.theme-minimal .cat-scroll a.active { background: none; color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 6px; }
.theme-minimal .hero { background: #f5f4f0; color: var(--ink); }
.theme-minimal .hero.has-img { color: #fff; }
.theme-minimal .hero-inner { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.theme-minimal .hero h1, .theme-minimal .hero p { margin-left: auto; margin-right: auto; }
.theme-minimal .hero h1 { font-weight: 400; }
.theme-minimal .hero p { opacity: .7; }
.theme-minimal .btn { font-weight: 500; border-radius: 6px; }
.theme-minimal .btn-primary { box-shadow: none; }
.theme-minimal .btn-light { background: var(--ink); color: #fff; }
.theme-minimal .hero.has-img .btn-light { background: #fff; color: var(--ink); }
.theme-minimal .perks { margin-top: 24px; box-shadow: none; border: 1px solid var(--line); }
.theme-minimal .perks b { color: var(--ink); font-weight: 500; }
.theme-minimal .section-head h2 { font-weight: 400; font-size: 1.4rem; }
.theme-minimal .section-head a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.theme-minimal .cat-img { box-shadow: none; border: 1px solid var(--line); background: #f5f4f0; }
.theme-minimal .cat-tile { font-weight: 400; }
.theme-minimal .p-grid { gap: 24px 16px; }
.theme-minimal .p-card { background: transparent; box-shadow: none; }
.theme-minimal .p-card:hover { transform: none; box-shadow: none; }
.theme-minimal .p-card:hover .p-name { text-decoration: underline; text-underline-offset: 3px; }
.theme-minimal .p-img { background: #f5f4f0; border-radius: 6px; overflow: hidden; }
.theme-minimal .p-body { padding: 10px 0 0; }
.theme-minimal .p-name { font-weight: 400; }
.theme-minimal .p-price .now { color: var(--ink); font-weight: 500; }
.theme-minimal .tag-sale { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.theme-minimal .pd { background: transparent; box-shadow: none; padding: 0; }
.theme-minimal .pd-price { background: none; padding: 0 0 6px; }
.theme-minimal .pd-price .now { color: var(--ink); font-weight: 500; font-family: var(--font); }
.theme-minimal .opt input:checked + span { background: none; color: var(--ink); border-color: var(--ink); }
.theme-minimal .card { box-shadow: none; border: 1px solid var(--line); }
.theme-minimal .site-footer { background: #fafafa; }

@media (max-width: 640px) {
  .theme-fashion .hero-inner { padding-top: 70px; padding-bottom: 70px; }
  .theme-fashion .section-head a { position: static; }
  .theme-fashion .section-head { justify-content: space-between; }
  .theme-fashion .cat-grid, .theme-food .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-fashion .cat-img { width: 100%; height: auto; }
  .theme-fashion .p-grid, .theme-minimal .p-grid { gap: 20px 12px; }
  .theme-food .hero { width: calc(100% - 24px); margin-top: 12px; border-radius: 22px; }
  .theme-food .hero-inner { padding-top: 36px; padding-bottom: 40px; }
  .theme-food .p-wrap .p-body { padding-right: 50px; }
  .theme-food .quick-add { width: 36px; height: 36px; font-size: 1.35rem; right: 8px; bottom: 8px; }
  .theme-minimal .hero-inner { padding-top: 52px; padding-bottom: 52px; }
}

/* ---------- v2.4: split hero, brand story, reviews per theme ---------- */
.theme-fashion .hero.hero-split { background: #f3efe9; color: var(--ink); }
.theme-fashion .hero-split-inner { max-width: none; padding: 0; gap: 0; grid-template-columns: 1fr 1fr; }
.theme-fashion .hero-wide .hero-split-inner { grid-template-columns: 1fr 1.2fr; }
.theme-fashion .hero-copy { justify-self: center; padding: 64px 32px; }
.theme-fashion .hero-split h1 { font-weight: 500; }
.theme-fashion .hero-split .eyebrow { opacity: .7; letter-spacing: .2em; }
.theme-fashion .hero-media { border-radius: 0; max-height: 760px; }
.theme-fashion .hero-btn { background: var(--ink); color: #fff; }
.theme-fashion .hero-btn:hover { background: #333; }
.theme-fashion .story { background: #f3efe9; }
.theme-fashion .story-copy h2 { font-family: var(--font-h); font-weight: 500; }
.theme-fashion .story-link, .theme-fashion .eyebrow { color: var(--ink); }
.theme-fashion .voice { border: 1px solid var(--line); }
.theme-fashion .voice-prod img { border-radius: 0; }
.theme-fashion .pd-trust { border-radius: 0; }
.theme-fashion .pd-trust svg, .theme-minimal .pd-trust svg { color: var(--ink); }

.theme-food .hero.hero-split { background: color-mix(in srgb, var(--brand) 9%, #fff); color: var(--ink); }
.theme-food .hero-split-inner { padding: 36px 40px; }
.theme-food .hero-split h1 { font-family: var(--font-h); font-weight: 500; }
.theme-food .hero-split .eyebrow { color: var(--brand); opacity: 1; }
.theme-food .hero-media { border-radius: 22px; max-height: 520px; }
.theme-food .hero-btn { background: var(--brand); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--brand) 35%, transparent); }
.theme-food .hero-btn:hover { background: var(--brand-dark); }
.theme-food .story { background: #fff; }
.theme-food .story-copy h2 { font-family: var(--font-h); font-weight: 500; }
.theme-food .story-media { border-radius: 24px; }

.theme-minimal .hero.hero-split { background: #f5f4f0; color: var(--ink); }
.theme-minimal .hero-split h1 { font-weight: 400; }
.theme-minimal .hero-split .eyebrow { opacity: .6; }
.theme-minimal .hero-media { border-radius: 4px; }
.theme-minimal .hero-btn { background: var(--ink); color: #fff; }
.theme-minimal .hero-btn:hover { background: #444; }
.theme-minimal .story { background: #f5f4f0; }
.theme-minimal .story-copy h2 { font-weight: 400; }
.theme-minimal .story-link, .theme-minimal .eyebrow { color: var(--ink); }
.theme-minimal .voice { border: 1px solid var(--line); }

@media (max-width: 760px) {
  .theme-fashion .hero-split-inner, .theme-fashion .hero-wide .hero-split-inner { grid-template-columns: 1fr; padding: 0 0 36px; gap: 24px; }
  .theme-fashion .hero-copy { padding: 0 16px; justify-self: start; }
  .theme-food .hero-split-inner { padding: 12px 12px 28px; }
  .theme-food .hero-copy { padding: 0 6px; }
}

/* fashion and minimal shops without a logo read as a wordmark, like luxury brands */
.theme-fashion .brand-mark, .theme-minimal .brand-mark { display: none; }
.theme-fashion .brand-name { letter-spacing: .06em; font-size: 1.35rem; }

/* ===================== มืออาชีพ / บริการ (pro) — 25/10 user: like รถสไลด์นครนายก.com: navy + yellow, LINE Seed, banner hero, round service cards ===================== */
@font-face { font-family: "LINE Seed Sans TH"; src: url(fonts/LINESeedSansTH_Rg.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "LINE Seed Sans TH"; src: url(fonts/LINESeedSansTH_Bd.ttf) format("truetype"); font-weight: 700; font-display: swap; }
body.theme-pro {
  --font: "LINE Seed Sans TH", system-ui, sans-serif;
  --font-h: "LINE Seed Sans TH", system-ui, sans-serif;
  --navy: #041e40;
  --navy-2: #082648;
  --yel: #ffcc00;
  --radius: 4px;
  --shadow: none;
  --bg: #f7f6f6;
  --ink: #000;
  --ink-2: #3b4250;
  --line: #dddddd;
}
.theme-pro h1, .theme-pro h2, .theme-pro h3 { font-weight: 700; letter-spacing: -.02em; }
.theme-pro .announce { background: var(--navy-2); text-align: left; padding: 8px max(16px, calc((100% - 1200px) / 2 + 16px)); font-size: .88rem; }
.theme-pro .brand { border: 1px solid #d6d6d6; padding: 4px 10px 4px 4px; border-radius: 3px; }
.theme-pro .brand-mark { background: var(--navy); color: var(--yel); border-radius: 3px; }
.theme-pro .brand-name { font-weight: 700; color: var(--navy); letter-spacing: -.02em; font-size: 1.2rem; }
.theme-pro .cat-bar { background: var(--navy); border-top: 0; }
.theme-pro .cat-scroll a { color: #fff; border-radius: 0; font-size: .95rem; }
.theme-pro .cat-scroll a:hover { background: rgba(255, 255, 255, .1); }
.theme-pro .cat-scroll a.active { background: var(--yel); color: var(--navy); font-weight: 700; }
.theme-pro .btn { border-radius: 999px; font-weight: 700; }
.theme-pro .btn-primary { background: var(--navy); box-shadow: none; }
.theme-pro .btn-primary:hover { background: var(--navy-2); }
.theme-pro .btn-outline { border-color: var(--navy); color: var(--navy); }

/* banner hero: photo full width, big outlined title, yellow ribbon, yellow-blue swoosh */
.theme-pro .hero, .theme-pro .hero-split { background: var(--navy); overflow: hidden; }
.theme-pro .hero-split-inner, .theme-pro .hero-wide .hero-split-inner { max-width: none; grid-template-columns: 1fr; padding: 0; position: relative; min-height: clamp(440px, 46vw, 580px); place-items: center; }
.theme-pro .hero-media, .theme-pro .hero-media.is-wide { position: absolute; inset: 0; aspect-ratio: auto; max-height: none; border-radius: 0; }
.theme-pro .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 30, 64, .1), rgba(4, 30, 64, .5) 65%, rgba(4, 30, 64, .8)); }
.theme-pro .hero-copy, .theme-pro .hero-inner { position: relative; z-index: 1; max-width: 980px; justify-items: center; text-align: center; padding: 48px 16px 90px; margin: 0 auto; }
.theme-pro .hero.has-img { background: linear-gradient(180deg, rgba(4, 30, 64, .2), rgba(4, 30, 64, .75)), var(--hero) center/cover no-repeat; }
.theme-pro .hero h1, .theme-pro .hero-split h1 { font-size: clamp(2.1rem, 5.6vw, 4.2rem); line-height: 1.15; color: #fff; max-width: none; -webkit-text-stroke: clamp(4px, .6vw, 8px) var(--navy); paint-order: stroke fill; text-shadow: 0 5px 0 var(--navy), 0 10px 22px rgba(0, 0, 0, .35); }
.theme-pro .hero .eyebrow, .theme-pro .hero-split .eyebrow { order: 2; opacity: 1; display: inline-block; background: linear-gradient(180deg, #ffe24d, #ffc400); color: var(--navy); border: 3px solid var(--navy); box-shadow: 0 4px 0 var(--navy); border-radius: 999px; padding: 6px 20px; font-size: clamp(.95rem, 1.8vw, 1.25rem); letter-spacing: 0; text-transform: none; font-weight: 700; }
.theme-pro .hero-copy h1 { order: 1; }
.theme-pro .hero-copy p, .theme-pro .hero p { order: 3; color: #fff; opacity: 1; margin-left: auto; margin-right: auto; text-shadow: 0 1px 6px rgba(0, 0, 0, .55); }
.theme-pro .hero-copy .hero-btn, .theme-pro .hero .btn-light { order: 4; background: var(--yel); color: var(--navy); border-color: var(--navy); }
.theme-pro .hero-btn:hover, .theme-pro .hero .btn-light:hover { background: #ffe24d; }
.theme-pro .hero::after, .theme-pro .hero-split::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 2; background: linear-gradient(176deg, transparent 38%, var(--yel) 39%, var(--yel) 58%, #1757ad 59%, #1757ad 76%, var(--bg) 77%); }

/* perks: a navy band with yellow ticks */
.theme-pro .perks, .theme-pro .perks.perks-flat { margin: 28px 0 0; background: var(--navy); color: #fff; border-radius: 0; box-shadow: none; border: 0; }
.theme-pro .perks li { border-right: 1px solid rgba(255, 255, 255, .15); padding: 18px 20px 18px 50px; position: relative; }
.theme-pro .perks li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 20px; height: 15px; background: var(--yel); clip-path: polygon(0 52%, 14% 38%, 38% 62%, 86% 0, 100% 14%, 38% 100%); }
.theme-pro .perks b { color: var(--yel); font-weight: 700; font-size: 1.05rem; }
.theme-pro .perks span { color: #dfe6f1; }

/* section titles: centred, big, a yellow slanted bar under */
.theme-pro .section { padding-top: 36px; }
.theme-pro .section-head { flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 26px; }
.theme-pro .section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.theme-pro .section-head h2::after { content: ""; display: block; width: 90px; height: 10px; margin: 10px auto 0; background: var(--yel); transform: skewX(-20deg); }
.theme-pro .section-head a { background: var(--navy); color: #fff; padding: 4px 14px; font-size: .9rem; border-radius: 0; }

/* categories as service cards with a round photo */
.theme-pro .cat-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.theme-pro .cat-tile { background: #fff; padding: 24px 16px 26px; font-weight: 700; font-size: 1.3rem; color: var(--navy); border: 1px solid #eee; }
.theme-pro .cat-img { width: 140px; height: 140px; border: 0; box-shadow: none; }
.theme-pro .cat-tile:hover { border-color: var(--yel); }

/* product cards: white, thin border, navy price */
.theme-pro .p-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 270px)); justify-content: center; gap: 18px; }
.theme-pro .p-card { border: 1px solid var(--line); border-radius: 0; background: #fff; }
.theme-pro .p-card:hover { box-shadow: 0 14px 30px -18px rgba(4, 30, 64, .45); border-color: var(--yel); }
.theme-pro .p-name { font-weight: 700; color: var(--navy); }
.theme-pro .p-price .now { color: var(--navy); font-size: 1.2rem; }
.theme-pro .tag-sale { background: var(--yel); color: var(--navy); border-radius: 0; }

/* story: navy-to-blue band with a yellow corner */
.theme-pro .story { position: relative; overflow: hidden; color: #fff; background: linear-gradient(110deg, var(--navy) 0%, var(--navy) 45%, #1757ad 100%); }
.theme-pro .story::before { content: ""; position: absolute; left: 0; bottom: 0; width: 30%; height: 100%; background: var(--yel); clip-path: polygon(0 0, 40% 0, 100% 100%, 0 100%); }
.theme-pro .story-inner { position: relative; }
.theme-pro .story-media { border-radius: 0; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .6); }
.theme-pro .story .eyebrow { display: inline-block; background: var(--yel); color: var(--navy); padding: 2px 14px; letter-spacing: .14em; }
.theme-pro .story h2 { color: #fff; font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
.theme-pro .story p { color: #e6edf8; }
.theme-pro .story-link { display: inline-block; background: #fff; color: var(--navy); padding: 8px 20px; border-radius: 999px; font-weight: 700; }

/* footer: light grey, navy headings */
.theme-pro .site-footer { background: var(--bg); border-top: 0; }
.theme-pro .footer-brand { color: var(--navy); font-weight: 700; font-size: 1.6rem; }
.theme-pro .footer-h { color: var(--navy); font-weight: 700; font-size: 1.15rem; }
.theme-pro .copyright { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .theme-pro .p-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .theme-pro .perks li { padding-left: 46px; }
  .theme-pro .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .theme-pro .cat-tile { font-size: 1.05rem; padding: 16px 8px; }
  .theme-pro .cat-img { width: 110px; height: 110px; }
  .theme-pro .story::before { width: 100%; height: 30%; top: 0; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 20%, 0 100%); }
}

/* ===================== market (v2, 29/10 — matched to the owner's reference): royal-blue header, white page, yellow accents ===================== */
body.theme-market {
  --navy: #0b2a63; --royal: #1553c4; --yel: #ffd200; --red: #e3262f; --mk-line: #dfe5ee; --mk-ink: #1d2a44;
  --font-h: 'Kanit', 'IBM Plex Sans Thai', system-ui, sans-serif;
  background: #fff; color: var(--mk-ink);
}
.theme-market .container { max-width: 1300px; }
.theme-market h1, .theme-market h2, .theme-market h3 { font-family: var(--font-h); font-weight: 600; }
.theme-market main { min-height: calc(100vh - 290px); }

/* header */
.theme-market .site-header.mk-header { position: relative; border-bottom: 0; background: none; }
.mk-top { background: linear-gradient(180deg, #1a5fd0 0%, #0f45a8 55%, #0b3a8f 100%); color: #fff; }
.mk-top-row { display: grid; grid-template-columns: auto minmax(220px, 1fr) auto auto; gap: 22px; align-items: center; padding-top: 12px; padding-bottom: 12px; }
.mk-brand { display: flex; gap: 12px; align-items: center; min-width: 0; color: #fff; }
.mk-logo { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); flex: none; }
.mk-logo-fb { display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffe766, #f2b600); color: var(--navy); }
.mk-brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.mk-name { font-family: var(--font-h); font-weight: 700; font-size: 2.45rem; line-height: 1.05; white-space: nowrap; letter-spacing: -.01em; text-shadow: 0 3px 0 #08296b, 0 5px 12px rgba(0, 0, 0, .35); }
.mk-name .w { color: #fff; }
.mk-name .y { color: var(--yel); }
.mk-sub { font-family: var(--font-h); font-weight: 500; font-size: 1.08rem; color: #fff; margin-top: 2px; }
.mk-loc { display: flex; align-items: center; gap: 3px; font-size: .8rem; color: #cfe0ff; margin-top: 1px; }
.mk-search { display: flex; background: #fff; border-radius: 6px; overflow: hidden; height: 48px; width: 100%; max-width: 560px; justify-self: center; box-shadow: 0 3px 10px rgba(0, 0, 0, .2); border: 2px solid #fff; }
.mk-search input { flex: 1; min-width: 0; border: 0; padding: 0 16px; outline: none; color: var(--mk-ink); background: #fff; font-size: 1rem; }
.mk-search button { width: 64px; border: 0; background: var(--royal); color: #fff; cursor: pointer; display: grid; place-items: center; border-radius: 4px; }
.mk-search button:hover { background: var(--navy); }
.mk-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mk-soc { display: grid; grid-template-columns: repeat(2, auto); gap: 4px 16px; }
.mk-soc a { display: flex; align-items: center; gap: 6px; color: #fff; font-size: .8rem; white-space: nowrap; line-height: 1.3; }
.mk-soc a:hover .s-lbl { text-decoration: underline; }
.mk-soc .s-ic { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.s-facebook .s-ic { background: #1877f2; } .s-youtube .s-ic { background: #ff0000; }
.s-tiktok .s-ic { background: #111; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); } .s-line .s-ic { background: #06c755; }
.mk-phone { display: flex; gap: 8px; align-items: center; color: var(--yel); }
.mk-phone b { font-family: var(--font-h); font-weight: 700; font-size: 1.8rem; line-height: 1.05; white-space: nowrap; text-shadow: 0 2px 0 #08296b; }
.mk-phone-ic { width: 32px; height: 32px; border-radius: 50%; background: var(--yel); color: var(--navy); display: grid; place-items: center; flex: none; }
.mk-cart { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #fff; font-size: .8rem; padding: 4px 6px; border-radius: 8px; white-space: nowrap; }
.mk-cart:hover { background: rgba(255, 255, 255, .1); }
.mk-cart-ic { position: relative; display: grid; place-items: center; width: 52px; height: 44px; }
.theme-market .mk-cart .cart-count { top: -2px; right: 0; background: var(--red); color: #fff; border-color: #fff; }
.theme-market .mk-cart .cart-count[hidden] { display: grid !important; }
.mk-call { display: none; }
.mk-nav { background: #fff; border-bottom: 1px solid var(--mk-line); box-shadow: 0 2px 6px rgba(11, 42, 99, .07); }
.mk-nav-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mk-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.mk-links::-webkit-scrollbar { display: none; }
.mk-links a { display: flex; align-items: center; gap: 7px; padding: 12px 14px 10px; font-family: var(--font-h); font-weight: 500; font-size: 1.02rem; color: var(--mk-ink); white-space: nowrap; border-bottom: 3px solid transparent; }
.mk-links a.active, .mk-links a:hover { color: var(--royal); border-bottom-color: var(--royal); }
.mk-nav-ic { display: inline-flex; color: var(--royal); }
.mk-links a:nth-child(2) .mk-nav-ic { color: #ff5a1f; }
.mk-sale { background: var(--red); color: #fff; font: 700 .64rem/1 system-ui, sans-serif; padding: 3px 5px; border-radius: 3px; letter-spacing: .04em; }
.mk-login { display: flex; gap: 6px; align-items: center; color: var(--mk-ink); font-family: var(--font-h); font-weight: 500; white-space: nowrap; font-size: .95rem; }
.mk-login svg { color: var(--royal); }
.mk-login:hover { color: var(--royal); }

/* home: categories | banner + best sellers | trust + contact */
.mk-home { display: grid; grid-template-columns: 214px minmax(0, 1fr) 248px; gap: 14px; padding-top: 14px; align-items: start; }
.mk-cats { background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--mk-line); }
.mk-cats-h { background: var(--navy); color: #fff; font-family: var(--font-h); font-weight: 600; padding: 11px 12px; display: flex; gap: 8px; align-items: center; font-size: 1.08rem; }
.mk-cats .mk-cats-h, .mk-cats .mk-cats-h:hover { color: #fff; background: var(--navy); border-bottom: 0; padding: 11px 12px; font-size: 1.08rem; }
.mk-cats-h span { flex: 1; }
.mk-cats ul { list-style: none; margin: 0; padding: 0; }
.mk-cats a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: .95rem; color: var(--mk-ink); border-bottom: 1px solid #eef1f6; line-height: 1.3; }
.mk-cats li:last-child a { border-bottom: 0; }
.mk-cats a:hover, .mk-cats a.active { background: #eef4fd; color: var(--royal); }
.mk-cats a.active { font-weight: 600; box-shadow: inset 3px 0 0 var(--royal); }
.mk-ci { width: 26px; display: grid; place-items: center; color: #1f2a3d; flex: none; }
.mk-cats a:hover .mk-ci, .mk-cats a.active .mk-ci { color: var(--royal); }
.mk-cn { flex: 1; min-width: 0; }

.mk-slides { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 7.2; background: linear-gradient(120deg, var(--navy), var(--royal)); }
.mk-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; pointer-events: none; display: block; color: #fff; }
.mk-slide.on { opacity: 1; pointer-events: auto; }
.mk-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 22, 60, .78) 0%, rgba(4, 22, 60, .5) 38%, rgba(4, 22, 60, 0) 62%); }
.mk-corner { position: absolute; z-index: 2; top: 12px; right: 18px; font-family: var(--font-h); font-weight: 600; font-style: italic; font-size: 1rem; color: #fff; text-shadow: 0 2px 6px rgba(0, 0, 0, .55); }
.mk-slide-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 18px 28px 30px; }
.mk-h1 { font-family: var(--font-h); font-weight: 700; font-size: clamp(1.25rem, 2.15vw, 2rem); line-height: 1.2; white-space: nowrap; text-shadow: 0 2px 0 #072255, 0 4px 12px rgba(0, 0, 0, .45); }
.mk-h1 .y { color: var(--yel); }
.mk-h1 .w { color: #fff; }
.mk-ribbon { position: relative; display: inline-block; margin: 10px 0 14px; padding: 2px 34px 4px 18px; background: var(--red); color: #fff; font-family: var(--font-h); font-weight: 700; font-size: clamp(1.5rem, 2.7vw, 2.5rem); line-height: 1.2;
  clip-path: polygon(0 0, 100% 0, calc(100% - 18px) 50%, 100% 100%, 0 100%); box-shadow: 0 6px 14px rgba(0, 0, 0, .3); text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.mk-ticks { display: grid; gap: 6px; }
.mk-tick-row { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mk-tick-row > span { display: inline-flex; align-items: center; gap: 5px; color: var(--yel); font-family: var(--font-h); font-weight: 600; font-size: 1.06rem; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.mk-tick-row svg { color: var(--yel); flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
.mk-dots { position: absolute; z-index: 3; bottom: 10px; left: 50%; transform: translateX(-50%); display: flex; gap: 7px; }
.mk-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .65); cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, .4); }
.mk-dots button.on { background: var(--yel); }

.mk-sec { background: #fff; border: 1px solid var(--mk-line); border-radius: 6px; padding: 10px 12px 12px; margin-top: 14px; }
.mk-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid #eef1f6; }
.mk-sec-h h2 { font-size: 1.28rem; margin: 0; color: var(--navy); display: flex; gap: 4px; align-items: center; font-weight: 700; }
.mk-fire { color: #ff5a1f; display: inline-flex; }
.mk-sec-h a { color: var(--royal); font-weight: 600; display: flex; align-items: center; gap: 2px; font-size: .92rem; white-space: nowrap; }
.theme-market .mk-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }

/* product cards: white photo, 2-line name, red price, full-width blue button */
.theme-market .p-wrap { display: flex; flex-direction: column; background: #fff; border: 1px solid #e3e8f0; border-radius: 6px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.theme-market .p-wrap:hover { border-color: var(--royal); box-shadow: 0 8px 20px -12px rgba(21, 83, 196, .6); }
.theme-market .p-card { box-shadow: none; border-radius: 0; flex: 1; background: #fff; }
.theme-market .p-card:hover { transform: none; box-shadow: none; }
.theme-market .p-grid > .p-card { border: 1px solid #e3e8f0; border-radius: 6px; }
.theme-market .p-img { background: #fff; }
.theme-market .p-body { padding: 8px 8px 2px; gap: 2px; }
.theme-market .p-name { font-size: .86rem; font-weight: 500; color: var(--mk-ink); line-height: 1.4; min-height: 2.8em; }
.theme-market .p-price { flex-wrap: wrap; gap: 0 6px; }
.theme-market .p-price .now { color: var(--red); font-size: 1.12rem; font-family: var(--font-h); font-weight: 600; }
.theme-market .p-sold { font-size: .72rem; }
.theme-market .tag-sale { background: var(--red); color: #fff; border-radius: 3px; font-size: .72rem; padding: 1px 6px; top: 6px; left: 6px; }
.theme-market .quick-add { margin: 6px 8px 8px; border: 0; background: var(--royal); color: #fff; border-radius: 4px; padding: 7px 4px; font-weight: 600; font-size: .84rem; display: flex; gap: 5px; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; font-family: inherit; white-space: nowrap; }
.theme-market .quick-add:hover { background: var(--navy); }
.theme-market .quick-add.added { background: var(--ok); }
/* the narrow 6-in-a-row best sellers on home */
.mk-grid .p-sold { display: none; }
.mk-grid .p-body { padding: 6px 6px 0; }
.mk-grid .p-name { font-size: .78rem; }
.mk-grid .p-price .now { font-size: 1rem; }
.mk-grid .p-price s { font-size: .7rem; }
.theme-market .mk-grid .quick-add { margin: 5px 6px 6px; font-size: .74rem; padding: 6px 2px; gap: 3px; }
.theme-market .mk-grid .quick-add svg { width: 13px; height: 13px; }

/* right column */
.mk-trust { display: grid; gap: 10px; }
.mk-trust-item { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--mk-line); border-radius: 6px; padding: 12px; color: var(--mk-ink); }
.mk-trust-item:hover { border-color: var(--royal); }
.mk-trust-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.mk-trust-item b { display: block; font-family: var(--font-h); color: var(--navy); font-size: 1.05rem; font-weight: 700; }
.mk-trust-item small { display: block; color: #6b7690; font-size: .8rem; line-height: 1.4; }
.mk-contact-box { margin-top: 10px; background: linear-gradient(160deg, #123d8a, var(--navy)); color: #fff; border-radius: 6px; padding: 14px; text-align: center; }
.mk-cb-h { font-family: var(--font-h); font-weight: 600; font-size: 1.06rem; margin-bottom: 6px; }
.mk-cb-phone { display: flex; gap: 8px; align-items: center; justify-content: center; font-family: var(--font-h); font-weight: 700; color: var(--yel); font-size: 1.45rem; line-height: 1.1; white-space: nowrap; }
.mk-cb-qr { margin: 12px auto 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-qr { width: 112px; height: 112px; background: #fff; border-radius: 6px; padding: 5px; }
.mk-qr svg { width: 100%; height: 100%; display: block; }
.mk-cb-qr small { font-size: .78rem; color: #cfe0ff; }
.mk-cb-soc { grid-template-columns: 1fr; gap: 0; text-align: left; }
.mk-cb-soc a { padding: 6px 2px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; }

/* 4 picture promo tiles, words drawn in HTML */
.mk-promos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.mk-promo { position: relative; display: block; aspect-ratio: 2.4 / 1; border-radius: 8px; overflow: hidden; background: var(--navy); transition: transform .15s, box-shadow .15s; }
.mk-promo:hover { transform: translateY(-3px); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .45); }
.mk-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-promo-txt { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; font-family: var(--font-h); line-height: 1.12; }
.mk-promo-txt small { font-size: .95rem; font-weight: 600; }
.mk-promo-txt b { font-size: 1.5rem; font-weight: 700; }
.mk-promo-txt em { font-style: normal; font-weight: 700; font-size: 2.3rem; line-height: 1; }
.mk-promo.t1 { background: #c81f24; } .mk-promo.t2 { background: var(--royal); } .mk-promo.t3 { background: #ffb400; } .mk-promo.t4 { background: var(--navy); }
.mk-promo.t1 .mk-promo-txt, .mk-promo.t2 .mk-promo-txt, .mk-promo.t4 .mk-promo-txt { color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .3), 0 3px 10px rgba(0, 0, 0, .35); }
.mk-promo.t1 em { color: var(--yel); font-size: 2.7rem; }
.mk-promo.t2 em { color: var(--yel); }
.mk-promo.t3 .mk-promo-txt { color: var(--navy); text-shadow: 0 1px 0 rgba(255, 255, 255, .5); }
.mk-promo.t3 b { font-size: 1.8rem; color: var(--red); }
.mk-promo.t3 em { font-size: 1.7rem; color: var(--navy); }
.mk-promo.t4 b { font-size: 1.45rem; }
.mk-promo.t4 small { color: var(--yel); font-size: 1.1rem; }

/* list / info pages: category column + content */
.mk-cols { display: grid; grid-template-columns: 214px minmax(0, 1fr); gap: 16px; align-items: start; }
.theme-market .mk-cols .p-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.theme-market .mk-cols .list-head { background: #f5f8fd; border-radius: 6px; padding: 10px 14px; border: 1px solid var(--mk-line); margin-bottom: 12px; }
.theme-market .page-title { color: var(--navy); font-weight: 700; }
.theme-market .crumbs a { color: var(--royal); }
.theme-market .card { border: 1px solid var(--mk-line); box-shadow: none; border-radius: 6px; }
.mk-page .prose h2 { color: var(--navy); font-size: 1.2rem; }
.theme-market .info-card .info-v { color: var(--navy); }
.theme-market .info-card.hot { border-color: var(--yel); background: #fffbe6; }

/* slim navy footer bar */
.mk-footer { margin-top: 22px; background: linear-gradient(180deg, #123d8a, var(--navy)); color: #fff; }
.mk-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 12px; padding-bottom: 10px; flex-wrap: wrap; }
.mk-foot-brand .mk-logo { width: 54px; height: 54px; border-width: 2px; }
.mk-foot-brand .mk-name { font-size: 1.5rem; text-shadow: 0 2px 0 #06204f; }
.mk-foot-brand .mk-sub { font-size: .85rem; }
.mk-foot-soc { grid-template-columns: repeat(4, auto); gap: 4px 14px; }
.mk-foot-phone b { font-size: 1.45rem; }
.mk-foot-loc { display: flex; align-items: center; gap: 4px; font-size: .84rem; color: #dbe6ff; }
.mk-totop { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--yel); color: var(--navy); display: grid; place-items: center; cursor: pointer; flex: none; box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.mk-copy { font-size: .74rem; color: #9fb3d9; text-align: center; padding-top: 6px; padding-bottom: 12px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mk-copy a { color: #cfe0ff; }
.theme-market .float-line { bottom: 84px; }

@media (max-width: 1240px) {
  .mk-name { font-size: 2rem; }
  .mk-logo { width: 70px; height: 70px; }
  .mk-soc { grid-template-columns: repeat(2, auto); }
  .mk-home { grid-template-columns: 200px minmax(0, 1fr) 230px; }
  .theme-market .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1060px) {
  .mk-top-row { grid-template-columns: auto minmax(200px, 1fr) auto; }
  .mk-contact { display: none; }
  .mk-call { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--yel); font-size: .8rem; padding: 4px 6px; }
  .mk-call svg { width: 30px; height: 30px; margin: 7px 0; }
  .mk-top-row { grid-template-columns: auto minmax(200px, 1fr) auto auto; }
  .mk-home { grid-template-columns: 200px minmax(0, 1fr); }
  .mk-right { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 12px; }
  .mk-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mk-contact-box { margin-top: 0; }
  .mk-promos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .mk-top-row { grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 4px; padding-top: 10px; padding-bottom: 10px; }
  .mk-search { grid-column: 1 / -1; order: 3; max-width: none; height: 44px; }
  .mk-brand { gap: 9px; }
  .mk-logo { width: 54px; height: 54px; border-width: 2px; }
  .mk-name { font-size: 1.55rem; }
  .mk-sub { font-size: .84rem; }
  .mk-loc { font-size: .72rem; }
  .mk-cart-ic { width: 40px; height: 38px; }
  .mk-cart-ic svg { width: 26px; height: 26px; }
  .mk-call svg { width: 24px; height: 24px; margin: 7px 0; }
  .mk-cart, .mk-call { font-size: .7rem; padding: 2px; }
  .mk-links a { padding: 10px 10px 8px; font-size: .92rem; gap: 5px; }
  .mk-login { font-size: 0; gap: 0; padding-left: 6px; }
  .mk-login svg { width: 22px; height: 22px; }
  .mk-home, .mk-cols { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mk-home { padding-top: 10px; }
  .mk-cats { border: 0; border-radius: 0; overflow: visible; background: none; }
  .mk-cats .mk-cats-h { display: none; }
  .mk-cats ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .mk-cats ul::-webkit-scrollbar { display: none; }
  .mk-cats li { flex: none; }
  .mk-cats a, .mk-cats li:last-child a { border: 1px solid var(--mk-line); border-radius: 999px; padding: 5px 12px 5px 8px; white-space: nowrap; font-size: .86rem; gap: 6px; background: #fff; }
  .mk-cats a.active { box-shadow: none; border-color: var(--royal); }
  .mk-ci { width: 20px; }
  .mk-ci svg { width: 18px; height: 18px; }
  .mk-slides { aspect-ratio: 16 / 10.5; }
  .mk-slide::before { background: linear-gradient(90deg, rgba(4, 22, 60, .82) 0%, rgba(4, 22, 60, .55) 60%, rgba(4, 22, 60, .1) 100%); }
  .mk-slide-copy { padding: 26px 14px 26px; }
  .mk-h1 { white-space: normal; font-size: 1.12rem; max-width: 72%; }
  .mk-ribbon { font-size: 1.35rem; margin: 6px 0 10px; padding: 1px 26px 2px 12px; }
  .mk-tick-row { gap: 2px 10px; }
  .mk-tick-row > span { font-size: .8rem; gap: 3px; }
  .mk-tick-row svg { width: 14px; height: 14px; }
  .mk-corner { font-size: .76rem; top: 7px; right: 10px; }
  .theme-market .mk-grid, .theme-market .mk-cols .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mk-grid .p-name { font-size: .86rem; }
  .theme-market .mk-grid .quick-add { font-size: .82rem; padding: 7px 2px; }
  .mk-right { grid-template-columns: minmax(0, 1fr); }
  .mk-trust { gap: 6px; }
  .mk-trust-item { flex-direction: column; text-align: center; gap: 6px; padding: 10px 4px; }
  .mk-trust-ic { width: 40px; height: 40px; }
  .mk-trust-ic svg { width: 20px; height: 20px; }
  .mk-trust-item b { font-size: .86rem; }
  .mk-trust-item small { font-size: .7rem; }
  .mk-promos { grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
  .mk-foot-row { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 16px; }
  .mk-foot-soc { grid-template-columns: repeat(2, auto); }
  .mk-totop { position: absolute; right: 16px; }
  .mk-footer { position: relative; }
  .theme-market .float-line { bottom: 18px; }
}

/* 30/10: a shop's own finished banner (hero_plain) shows as is: no dark shade */
.mk-slide.mk-slide-plain::before { display: none; }
