/* AG StoreBuilder — storefront styles. Colors/fonts come from the admin (CSS variables). */
:root {
  --accent: #1F4E3D;
  --accent-ink: #FFFFFF;
  --accent-soft: #E3EFE8;
  --ink: #111111;
  --muted: #4A4A47;
  --faint: #6B6B67;
  --line: #E6E6E3;
  --soft: #F4F4F2;
  --bg: #FFFFFF;
  --display: 'Archivo', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
.sr-only, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.loading { padding: 80px 24px; color: var(--faint); }
main { outline: none; min-height: 60vh; }

/* header */
.announce { background: var(--ink); color: #fff; font-size: 13px; padding: 10px 16px; text-align: center; }
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 20; }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 76px; flex-wrap: wrap; }
.logo { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: 0.04em; display: flex; align-items: center; }
.logo img { max-height: 44px; width: auto; }
.logo .dot { color: var(--accent); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; font-weight: 500; flex: 1; }
.nav a[aria-current="page"] { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search input { height: 44px; width: 130px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--bg); }
.list-btn { height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.list-btn:hover { color: #fff; opacity: 0.9; }
.list-btn .count { background: #fff; color: var(--ink); border-radius: 999px; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; order: 3; }
  .header-actions { order: 2; }
  .nav { order: 4; flex-basis: 100%; flex-direction: column; gap: 0; display: none; padding-bottom: 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  .search { display: none; }
  .header-row { gap: 12px; }
}
@media (max-width: 480px) { .list-btn .list-label { display: none; } .logo { font-size: 20px; } }

/* buttons */
.btn { height: 52px; padding: 0 28px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 600; border: 1.5px solid transparent; cursor: pointer; background: var(--accent); color: var(--accent-ink); font-size: 16px; }
.btn:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn.outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.outline:hover { background: var(--ink); color: #fff; filter: none; }
.btn.light { background: #fff; color: var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn.block { width: 100%; border-radius: 12px; }

/* sections */
.section { padding-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head h2 { font-size: 32px; font-weight: 700; }
.section-head a { font-weight: 600; text-decoration: underline; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.lead { color: var(--muted); font-size: 18px; line-height: 1.6; margin: 0; }

/* hero */
.hero { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 32px; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 24px 0; }
.hero-copy h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.02em; }
.hero-media { min-height: 460px; border-radius: 24px; overflow: hidden; background: var(--soft); position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.dots { display: flex; gap: 8px; justify-content: center; padding-top: 18px; }
.dots button { width: 10px; height: 10px; border-radius: 6px; border: none; background: #C8C8C4; cursor: pointer; padding: 0; transition: width .2s; }
.dots button[aria-current="true"] { width: 28px; background: var(--ink); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* grids & cards */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.grid.cats { gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; }
.ph { border-radius: var(--radius); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.45); font-family: var(--display); font-weight: 700; font-size: 28px; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ratio-34 { aspect-ratio: 3 / 4; }
.ratio-45 { aspect-ratio: 4 / 5; }
.badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 999px; font-family: var(--body); }
.card .name { font-weight: 600; font-size: 16px; }
.price-row { display: flex; gap: 8px; align-items: baseline; }
.price-row .was { color: var(--faint); text-decoration: line-through; font-size: 14px; }
.ws-note { font-size: 13px; color: var(--accent); font-weight: 500; }
.swatches { display: flex; gap: 6px; }
.swatches span { width: 14px; height: 14px; border-radius: 999px; border: 1px solid #D4D4D0; }
.cat-name { display: flex; justify-content: space-between; font-weight: 600; }
.cat-name small { color: var(--faint); font-weight: 400; font-size: 14px; }
.out { color: #A2322A; font-size: 13px; font-weight: 600; }

/* promo + wholesale */
.promo { border-radius: 24px; background: var(--ink); color: #fff; padding: 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.promo h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
.promo p { color: #CFCFCB; margin: 10px 0 0; }
.promo .eyebrow { color: #fff; opacity: .75; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 40px; align-items: center; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; display: flex; flex-direction: column; gap: 6px; }
.tier b { font-family: var(--display); font-size: 32px; font-weight: 800; }
.tier span { font-size: 14px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.step { background: var(--soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.step b { font-family: var(--display); font-size: 28px; color: var(--accent); }
.step strong { font-size: 18px; }
.step span { color: var(--muted); font-size: 15px; }
.branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.branch { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.branch strong { font-size: 18px; }
.branch span { color: var(--muted); }
.branch a.map { margin-top: 8px; font-weight: 600; text-decoration: underline; }

/* shop */
.page-head { padding-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; }
.crumbs { font-size: 14px; color: var(--faint); display: flex; gap: 8px; flex-wrap: wrap; padding-top: 20px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; background: var(--bg); cursor: pointer; }
.chip[aria-current="page"], .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 48px 0; color: var(--muted); }

/* product */
.product { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: start; padding-top: 24px; padding-bottom: 40px; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: var(--soft); }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.info { display: flex; flex-direction: column; gap: 26px; }
.info h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; }
.big-price { font-family: var(--display); font-weight: 700; font-size: 30px; }
.pill { background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }
.desc { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; white-space: pre-line; }
.opt-label { font-weight: 600; font-size: 15px; margin-bottom: 10px; display: block; }
.opt-label span { font-weight: 400; }
.color-opts, .size-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.color-opts button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid #CFCFCB; cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; }
.color-opts button[aria-pressed="true"] { outline-color: var(--ink); }
.size-opts button { min-width: 56px; height: 48px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #CFCFCB; background: var(--bg); font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.1; }
.size-opts button small { font-size: 11px; font-weight: 500; }
.size-opts button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-opts button:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.tier-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tier-table .head { padding: 14px 18px; background: var(--soft); font-weight: 600; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.tier-table .head small { font-weight: 400; color: var(--muted); font-size: 14px; }
.tier-table .row { display: flex; justify-content: space-between; padding: 13px 18px; border-top: 1px solid var(--line); }
.tier-table .row.on { background: var(--accent-soft); font-weight: 600; }
.qty-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--ink); border-radius: 999px; height: 52px; }
.stepper button { width: 48px; height: 48px; border: none; background: transparent; font-size: 22px; cursor: pointer; border-radius: 999px; }
.stepper input { width: 64px; text-align: center; border: none; font-size: 17px; font-weight: 600; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.sm { height: 40px; }
.stepper.sm button { width: 36px; height: 36px; font-size: 18px; }
.stepper.sm input { width: 52px; font-size: 15px; }
.ask { border-top: 1px solid var(--line); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.channel-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ch { height: 44px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; font-weight: 600; font-size: 14px; border: none; cursor: pointer; }
.ch.messenger { background: #EAF0FF; color: #1D3FA8; }
.ch.viber { background: #F1ECFA; color: #59309C; }
.ch.email { background: var(--soft); color: var(--ink); }

/* inquiry */
.inq { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding: 8px 0 40px; }
.inq-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.inq-side { flex: 1 1 340px; min-width: 0; border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.notice { background: var(--accent-soft); color: var(--accent); border-radius: 14px; padding: 14px 18px; font-weight: 500; }
.items { border: 1px solid var(--line); border-radius: var(--radius); }
.item { display: flex; gap: 14px; padding: 16px; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.item:first-child { border-top: none; }
.item .thumb { width: 64px; height: 76px; border-radius: 10px; flex: none; font-size: 16px; }
.item .meta { flex: 1 1 180px; min-width: 0; }
.item .meta strong { display: block; }
.item .meta small { color: var(--faint); font-size: 14px; }
.item .line-total { font-weight: 600; min-width: 90px; text-align: right; }
.item .unit { font-size: 14px; color: var(--muted); }
.link-btn { background: none; border: none; color: var(--faint); text-decoration: underline; cursor: pointer; font-size: 14px; padding: 4px; }
.form { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { min-height: 46px; border: 1px solid #CFCFCB; border-radius: 10px; padding: 10px 14px; background: var(--bg); }
.sum-row { display: flex; justify-content: space-between; }
.sum-row.save { color: var(--accent); font-weight: 500; }
.sum-row.total { padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.send-btn { height: 52px; border-radius: 12px; border: none; font-weight: 600; font-size: 16px; cursor: pointer; color: #fff; }
.send-btn.messenger { background: #0866FF; }
.send-btn.viber { background: #7360F2; }
.send-btn.email { background: var(--bg); color: var(--ink); border: 1.5px solid var(--ink); }
.hint { background: var(--soft); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--muted); }
.preview { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; line-height: 1.6; border: 1px dashed #CFCFCB; border-radius: 12px; padding: 14px; white-space: pre-wrap; margin: 0; max-height: 260px; overflow: auto; }
.hp { position: absolute; left: -9999px; }

/* page */
.prose { max-width: 720px; padding: 8px 0 40px; font-size: 17px; line-height: 1.7; color: #2B2B29; }
.prose p { margin: 0 0 16px; }

/* footer */
.site-footer { margin-top: 88px; background: var(--soft); }
.foot { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding: 56px 24px 32px; }
.foot .col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot .col strong { font-weight: 600; }
.foot .about { max-width: 320px; color: var(--muted); }
.foot-bottom { border-top: 1px solid #DEDEDA; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 20px 24px 32px; font-size: 13px; color: #5B5B57; }
.foot-bottom a { color: var(--ink); font-weight: 600; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 12px; font-size: 15px; opacity: 0; pointer-events: none; transition: all .25s; max-width: calc(100% - 32px); z-index: 50; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* services, packages & add-ons */
.badge.svc { left: auto; right: 12px; background: var(--ink); color: #fff; }
.packages { display: grid; gap: 10px; }
.package { text-align: left; border: 1.5px solid #CFCFCB; background: var(--bg); border-radius: 14px; padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.package[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.pk-top { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.pk-desc { color: var(--muted); font-size: 14px; }
.addon-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); }
.addon-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.addon-opts button { min-height: 48px; padding: 6px 14px; border-radius: 10px; border: 1.5px solid #CFCFCB; background: var(--bg); font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.2; font-size: 14px; }
.addon-opts button small { font-weight: 500; font-size: 12px; color: var(--muted); }
.addon-opts button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.addon-box textarea { min-height: 64px; border: 1px solid #CFCFCB; border-radius: 10px; padding: 10px 14px; resize: vertical; }
.line-addon { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; font-size: 13px; }
.line-addon label { color: var(--muted); font-weight: 600; min-width: 96px; }
.line-addon select, .line-addon input { min-height: 36px; border: 1px solid #CFCFCB; border-radius: 8px; padding: 4px 10px; background: var(--bg); font-size: 14px; flex: 1 1 180px; min-width: 0; }
.item .meta small { display: block; }
.notice.cutoff { background: var(--ink); color: #fff; }
input[type="date"] { min-height: 46px; border: 1px solid #CFCFCB; border-radius: 10px; padding: 8px 12px; background: var(--bg); }

@media (max-width: 1240px) and (min-width: 901px) { .search { display: none; } }

/* ===================== LAYOUTS ===================== */
.h1like { font-size: clamp(40px, 6vw, 72px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.hero-text { display: flex; flex-direction: column; gap: 18px; }
.date-row { display: flex; gap: 12px; flex-wrap: wrap; }
.date-row .field { flex: 1 1 200px; }
.info .field select { min-height: 46px; border: 1px solid #CFCFCB; border-radius: 10px; padding: 0 12px; background: var(--bg); }

/* --- Boutique: full-width photo banners, centered and airy --- */
.hero-wide { position: relative; }
.hero-full { position: relative; min-height: min(78vh, 680px); display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-full > img, .hero-strip > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full.has-img::after, .hero-strip.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.22), rgba(0,0,0,.5)); }
.hero-full .hero-in { position: relative; z-index: 1; max-width: 780px; padding: 72px 24px; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.hero-full h1, .hero-full .h1like { font-size: clamp(44px, 7vw, 84px); font-weight: 700; letter-spacing: -0.01em; }
.hero-full.has-img .hero-in, .hero-full.has-img .eyebrow, .hero-strip.has-img .hero-in, .hero-strip.has-img .eyebrow { color: #fff; }
.hero-full.has-img .lead, .hero-strip.has-img .lead { color: rgba(255,255,255,.92); }
.hero-full .btn-row { justify-content: center; }
.lay-boutique .section { padding-top: 96px; }
.lay-boutique .section-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; margin-bottom: 36px; }
.lay-boutique .section-head h2 { font-size: clamp(30px, 4vw, 40px); }
.lay-boutique .grid { gap: 36px 28px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.lay-boutique .grid .card { text-align: center; align-items: center; }
.lay-boutique .grid .card > div { width: 100%; }
.lay-boutique .price-row, .lay-boutique .swatches { justify-content: center; }
.lay-boutique .ratio-34 { aspect-ratio: 4 / 5; }
.lay-boutique .card .name { font-family: var(--display); font-size: 19px; font-weight: 600; }
.lay-boutique .promo { background: var(--accent); color: var(--accent-ink); flex-direction: column; text-align: center; padding: 64px 32px; }
.lay-boutique .promo p, .lay-boutique .promo .eyebrow { color: inherit; opacity: .85; }
.lay-boutique .step { background: transparent; border: 1px solid var(--line); text-align: center; align-items: center; }
.lay-boutique .badge { left: 50%; transform: translateX(-50%); }
.lay-boutique .badge.svc { left: auto; right: 12px; transform: none; }

/* --- Catalog: compact grid, category sidebar, quick add --- */
.hero-strip { border-radius: 16px; position: relative; overflow: hidden; }
.hero-strip .hero-in { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 36px 40px; }
.hero-strip .hero-text { max-width: 720px; gap: 10px; }
.hero-strip h1, .hero-strip .h1like { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
.hero-strip .lead { font-size: 16px; }
.lay-catalog .hero { padding-top: 24px; }
.lay-catalog .section { padding-top: 48px; }
.lay-catalog .section-head h2 { font-size: 26px; }
.lay-catalog .grid.cats { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.lay-catalog .grid.cats .ratio-45 { aspect-ratio: 16 / 10; font-size: 20px; }
.grid.compact { grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 14px; }
.cat-card { border: 1px solid var(--line); border-radius: 12px; padding: 10px; gap: 10px; background: var(--bg); }
.cat-link { display: flex; flex-direction: column; gap: 5px; }
.cat-card .name { font-size: 14px; line-height: 1.3; }
.cat-card .price-row { font-weight: 700; }
.cat-card .ws-note { font-size: 12px; }
.ratio-11 { aspect-ratio: 1 / 1; border-radius: 8px !important; font-size: 22px; }
.cat-card .badge { top: 6px; left: 6px; font-size: 11px; padding: 4px 8px; }
.quick { display: flex; gap: 6px; margin-top: auto; }
.quick input { width: 64px; min-height: 38px; border: 1px solid #CFCFCB; border-radius: 8px; text-align: center; padding: 0 4px; }
.quick .btn { height: 38px; padding: 0 12px; flex: 1; font-size: 14px; border-radius: 8px; }
.quick-choose { height: 38px; font-size: 13px; border-radius: 8px; padding: 0 10px; margin-top: auto; }
.shop-cols { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; margin-top: 24px; align-items: start; }
.cat-side { position: sticky; top: 100px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.cat-side strong { padding: 8px 10px; }
.cat-side a { padding: 9px 10px; border-radius: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: 15px; }
.cat-side a small { color: var(--faint); }
.cat-side a.sub { padding-left: 24px; font-size: 14px; }
.cat-side a[aria-current] { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.shop-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 8px; }
.shop-bar select { min-height: 38px; border: 1px solid #CFCFCB; border-radius: 8px; padding: 0 10px; margin-left: 6px; background: var(--bg); }
@media (max-width: 760px) {
  .shop-cols { grid-template-columns: 1fr; gap: 16px; }
  .cat-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; border: none; padding: 0; }
  .cat-side strong { display: none; }
  .cat-side a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
  .cat-side a.sub { padding-left: 14px; }
  .grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-strip .hero-in { padding: 28px 22px; }
}

/* --- Services: booking-first --- */
.hero-svc { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 900px) { .hero-svc { grid-template-columns: 1fr; } }
.hero-svc .hero-copy { border-radius: 24px; padding: 56px 48px; position: relative; overflow: hidden; min-height: 420px; display: flex; align-items: center; }
.hero-svc .hero-copy > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-svc .hero-copy .hero-text { position: relative; z-index: 1; gap: 20px; max-width: 560px; }
.hero-svc .hero-copy > img ~ .hero-text { background: rgba(255,255,255,.92); padding: 28px; border-radius: 18px; color: var(--ink); }
.hero-svc h1, .hero-svc .h1like { font-size: clamp(36px, 5vw, 60px); }
@media (max-width: 600px) { .hero-svc .hero-copy { padding: 36px 24px; min-height: 0; } }
.quick-book { border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; }
.quick-book strong { font-family: var(--display); font-size: 22px; margin-bottom: 10px; }
.quick-book a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; border-top: 1px solid var(--line); font-weight: 500; }
.quick-book a span:last-child { color: var(--accent); white-space: nowrap; font-weight: 600; }
.quick-book a.all { justify-content: center; font-weight: 600; text-decoration: underline; }
.svc-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.svc-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.svc-row:first-child { border-top: none; }
.svc-row:hover { background: var(--soft); color: inherit; }
.svc-thumb { width: 88px; height: 88px; border-radius: 12px; font-size: 22px; }
.svc-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.svc-info .name { font-weight: 600; font-size: 17px; }
.svc-desc { color: var(--muted); font-size: 14px; }
.svc-price { text-align: right; display: flex; flex-direction: column; }
.svc-price b { font-size: 17px; }
.svc-price small { color: var(--faint); }
.svc-book { height: 42px; padding: 0 20px; font-size: 14px; }
.tag-mini { font-size: 11px; background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.lay-services .section { padding-top: 64px; }
@media (max-width: 640px) {
  .svc-row { grid-template-columns: 64px minmax(0, 1fr); gap: 12px 14px; padding: 14px; }
  .svc-thumb { width: 64px; height: 64px; }
  .svc-price { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
  .svc-book { grid-column: 1 / -1; width: 100%; }
}

.tag-mini { align-self: flex-start; }
.lay-boutique .cat-name { flex-direction: column; align-items: center; gap: 2px; }
