/* Pinay Love To Buy — storefront */
:root {
  --paper: #fffcfd;
  --blush: #fbe8ec;
  --petal: #f3c4cf;
  --berry: #9e1f4f;
  --berry-deep: #7a1239;
  --ink: #2a1720;
  --muted: #75606a;
  --line: #f0dbe1;
  --sun: #f6c85f;
  --radius-s: 6px;
  --radius-m: 12px;
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); }
img { max-width: 100%; display: block; }
a { color: var(--berry); text-underline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--berry); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* top */
.announce { background: var(--berry); color: #fff; text-align: center; font-size: 14px; padding: 7px 16px; }
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 12px 0; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--ink); line-height: 1; white-space: nowrap; }
.logo-script { font-family: var(--script); font-size: 38px; color: var(--berry); line-height: .8; }
.logo-serif { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: .01em; }
.search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 16px; max-width: 560px; width: 100%; justify-self: center; }
.search:focus-within { border-color: var(--berry); }
.search input { flex: 1; border: 0; background: transparent; padding: 9px 0; min-width: 0; outline: none; }
.search button { border: 0; background: transparent; color: var(--muted); padding: 8px 10px; cursor: pointer; border-radius: 999px; }
.bag { position: relative; color: var(--ink); padding: 8px; display: inline-flex; }
.bag-count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--berry); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.rail { border-top: 1px solid var(--line); }
.rail-inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.rail-inner::-webkit-scrollbar { display: none; }
.rail a { flex: none; text-decoration: none; color: var(--ink); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; }
.rail a:hover { background: var(--blush); }
.rail a[aria-current] { background: var(--ink); color: #fff; }

@media (max-width: 760px) {
  .top-row { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 10px 0 12px; }
  .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .logo-script { font-size: 32px; }
  .logo-serif { font-size: 18px; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--berry); color: #fff; border: 0; border-radius: 999px; padding: 13px 24px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s; }
.btn:hover { background: var(--berry-deep); }
.btn:disabled { background: #c7b6bd; cursor: not-allowed; }
.btn-soft { background: var(--blush); color: var(--berry); }
.btn-soft:hover { background: var(--petal); }
.btn-block { width: 100%; }
.linkish { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* hero */
.hero { background: var(--blush); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 24px; padding: 56px 0 60px; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; margin: 0 0 18px; }
.hero p { max-width: 46ch; font-size: 18px; margin: 0 0 26px; color: #4d3540; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.hero-tag { display: grid; place-items: center; }
.big-tag { position: relative; display: grid; gap: 2px; background: #fff; padding: 46px 40px 34px; border-radius: 10px 10px 28px 28px; transform: rotate(-6deg); box-shadow: 0 18px 40px -22px rgba(122, 18, 57, .45); min-width: 220px; text-align: center; }
.big-tag::before { content: ""; position: absolute; left: 50%; top: -70px; width: 2px; height: 82px; background: var(--berry); transform: translateX(-50%) rotate(8deg); transform-origin: bottom; }
.big-tag-hole { position: absolute; top: 14px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--blush); border: 2px solid var(--petal); transform: translateX(-50%); }
.big-tag-line { font-family: var(--display); font-size: 26px; color: var(--muted); }
.big-tag-strong { font-family: var(--script); font-size: 54px; color: var(--berry); line-height: 1; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; padding: 36px 0 40px; }
  .hero-tag { display: none; }
  .hero p { font-size: 16px; }
}

/* sections */
.block { padding: 36px 0 8px; }
.h-sec { font-family: var(--display); font-weight: 500; font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 16px; }
.h-page { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 8px 0 14px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.more { font-weight: 600; text-decoration: none; }
.lead { font-size: 17px; color: #4d3540; }
.count { color: var(--muted); font-size: 14px; margin: 0 0 12px; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cat-tile { position: relative; display: flex; align-items: flex-end; min-height: 92px; padding: 14px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; overflow: hidden; }
.cat-tile:hover { border-color: var(--petal); background: var(--blush); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile img + span { position: relative; background: rgba(255, 255, 255, .92); padding: 4px 10px; border-radius: 999px; }

/* product cards with hang tags */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 14px; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 210px); gap: 14px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.row-scroll > * { scroll-snap-align: start; }
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; }
  .row-scroll { grid-auto-columns: 46%; }
}
.card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--ink); position: relative; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--blush); border-radius: var(--radius-m); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-noimg { display: grid; place-items: center; height: 100%; font-family: var(--script); font-size: 64px; color: var(--petal); }
.card-noimg.big { font-size: 120px; aspect-ratio: 4 / 5; }
.card-title { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-out { position: absolute; top: 10px; right: 10px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }

.tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: baseline; gap: 6px; background: #fff; color: var(--berry); padding: 5px 11px 5px 18px; border-radius: 3px 8px 8px 3px; transform: rotate(-3deg); box-shadow: 0 6px 14px -8px rgba(42, 23, 32, .5); }
.tag::before { content: ""; position: absolute; left: 6px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--blush); box-shadow: inset 0 0 0 1.5px var(--petal); }
.tag-price { font-weight: 700; font-size: 15px; letter-spacing: .01em; }
.tag-was { font-size: 12px; color: var(--muted); }
.tag-inline { position: relative; left: 0; bottom: 0; transform: rotate(-2deg); font-size: 20px; padding: 8px 16px 8px 24px; }
.tag-inline .tag-price { font-size: 24px; }
.tag-inline::before { left: 9px; width: 8px; height: 8px; margin-top: -4px; }

/* breadcrumbs, lists */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs > * + *::before { content: "/"; margin-right: 6px; color: var(--petal); }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sort select { border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 14px; background: #fff; }
.chip:hover { border-color: var(--berry); }
.pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin: 28px 0; font-size: 15px; }

.empty { text-align: center; background: #fff; border: 1px dashed var(--petal); border-radius: var(--radius-m); padding: 40px 20px; margin: 10px 0 20px; }
.empty h2, .empty h1 { font-family: var(--display); font-weight: 500; margin: 0 0 8px; }
.empty p { max-width: 44ch; margin: 0 auto 18px; color: #4d3540; }

/* product page */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; margin-top: 14px; }
@media (max-width: 860px) { .pdp { grid-template-columns: 1fr; gap: 22px; } }
.gallery-main { background: var(--blush); border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs button { flex: none; width: 64px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--blush); cursor: pointer; }
.thumbs button[aria-current] { border-color: var(--berry); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-title { font-family: var(--display); font-weight: 500; font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; margin: 0 0 16px; }
.pdp-price { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.was { color: var(--muted); }
.buy { display: grid; gap: 14px; }
.opt { border: 0; padding: 0; margin: 0; }
.opt legend { font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.opt-list label { position: relative; }
.opt-list input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-list span { display: inline-block; min-width: 46px; text-align: center; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; }
.opt-list input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.opt-list input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }
.qty-row { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 15px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { border: 0; background: none; width: 40px; font-size: 20px; cursor: pointer; color: var(--berry); }
.qty input { width: 46px; border: 0; text-align: center; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.buy-msg { min-height: 1.4em; margin: 0; font-weight: 600; color: var(--berry); }
.desc h2 { font-size: 17px; margin: 22px 0 6px; }
.desc p { margin: 0; color: #4d3540; }
.assure { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 22px; }

/* cart & checkout */
.cart-list { list-style: none; padding: 0; margin: 0 0 18px; border-top: 1px solid var(--line); }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img, .cart-item .ph { width: 72px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--blush); }
.cart-item a { color: var(--ink); text-decoration: none; font-weight: 500; }
.cart-item small { display: block; color: var(--muted); }
.cart-side { display: grid; justify-items: end; gap: 6px; }
.cart-remove { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.cart-total { display: flex; justify-content: space-between; font-size: 18px; margin: 10px 0 18px; }
.co-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 14px 16px; margin: 0 0 22px; }
.co-summary ul { list-style: none; margin: 0; padding: 0; }
.co-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 15px; }
.co-summary .tot { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-weight: 700; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field small { color: var(--muted); font-size: 13px; }
.opt-label { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid #e6cfd6; border-radius: 10px; background: #fff; font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--berry); outline: none; box-shadow: 0 0 0 3px rgba(158, 31, 79, .12); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: block; text-align: center; padding: 12px; border: 1px solid #e6cfd6; border-radius: 10px; background: #fff; font-weight: 600; cursor: pointer; }
.seg input:checked + span { border-color: var(--berry); background: var(--blush); color: var(--berry); }
.seg input:focus-visible + span { outline: 2px solid var(--berry); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--berry); }
.hp { position: absolute; left: -9999px; }
.alert { background: #fdecef; border: 1px solid #f0b7c5; color: var(--berry-deep); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.done .code { font-family: var(--text); background: var(--blush); padding: 2px 8px; border-radius: 6px; letter-spacing: .04em; }
.order-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 16px 18px; margin: 18px 0 22px; }
.order-items { list-style: none; margin: 10px 0; padding: 0; }
.order-items li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 6px 0; }
.order-items img { width: 44px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
.order-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 10px; }

/* info pages */
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 24px; margin: 28px 0 8px; }
.prose p { max-width: 68ch; }
.facts { margin: 0; }
.facts dt { font-weight: 700; margin-top: 14px; }
.facts dd { margin: 2px 0 0; color: #4d3540; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-m); padding: 18px 18px 18px 64px; position: relative; display: grid; gap: 4px; }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--blush); color: var(--berry); font-family: var(--display); font-size: 18px; display: grid; place-items: center; }
.steps span { color: #4d3540; font-size: 15px; }
.steps-wrap { padding-bottom: 40px; }

/* footer */
.foot { margin-top: 48px; background: var(--ink); color: #f6e7ec; }
.foot a { color: #fff; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; padding: 40px 0 24px; }
.foot h2 { font-size: 14px; font-weight: 600; color: var(--petal); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.logo-foot { color: #fff; }
.logo-foot .logo-script { color: var(--petal); }
.foot-note { color: #d9c3cb; font-size: 14px; max-width: 34ch; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; border-top: 1px solid #4a2d39; padding: 16px 0 90px; font-size: 13px; color: #cbb3bc; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* chat */
.chat-fab { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; display: inline-flex; align-items: center; gap: 8px; background: var(--berry); color: #fff; border: 0; border-radius: 999px; padding: 13px 20px 13px 16px; font-weight: 600; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(122, 18, 57, .7); }
.chat-fab:hover { background: var(--berry-deep); }
@media (max-width: 520px) { .chat-fab span { display: none; } .chat-fab { padding: 15px; } }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 45; width: min(390px, calc(100vw - 24px)); height: min(640px, calc(100vh - 36px)); }
.chat-panel { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 24px 60px -18px rgba(42, 23, 32, .45); border: 1px solid var(--line); }
@media (max-width: 520px) {
  .chat { inset: 0; width: 100%; height: 100%; height: 100dvh; }
  .chat-panel { border-radius: 0; border: 0; }
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; background: var(--blush); }
.chat-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--berry); color: #fff; display: grid; place-items: center; font-family: var(--script); font-size: 28px; padding-top: 4px; }
.chat-who { flex: 1; display: grid; line-height: 1.25; }
.chat-who span { font-size: 13px; color: var(--muted); }
.chat-x { border: 0; background: none; color: var(--ink); padding: 8px; cursor: pointer; border-radius: 50%; }
.chat-x:hover { background: rgba(255, 255, 255, .7); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 8px; background: var(--paper); }
.msg { max-width: 84%; padding: 9px 13px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.msg a { color: inherit; text-decoration: underline; word-break: break-all; }
.msg-user { align-self: flex-end; background: var(--berry); color: #fff; border-bottom-right-radius: 5px; }
.msg-bot, .msg-agent { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg-agent { border-color: var(--petal); }
.msg-who { display: block; font-size: 12px; font-weight: 600; color: var(--berry); margin-bottom: 2px; }
.msg-system { align-self: center; background: none; color: var(--muted); font-size: 13px; text-align: center; padding: 4px 8px; }
.msg-typing { align-self: flex-start; background: #fff; border: 1px solid var(--line); padding: 12px 16px; border-radius: 16px; display: inline-flex; gap: 4px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--petal); animation: blink 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .2s; }
.msg-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px 12px 0; background: var(--paper); }
.chat-quick button { border: 1px solid var(--petal); background: #fff; color: var(--berry); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 500; cursor: pointer; }
.chat-quick button:hover { background: var(--blush); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; background: var(--paper); border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid #e6cfd6; border-radius: 20px; padding: 10px 14px; max-height: 120px; font-size: 16px; background: #fff; }
.chat-form textarea:focus { border-color: var(--berry); outline: none; }
.chat-form button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--berry); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-form button:disabled { background: #c7b6bd; }
.chat-fine { margin: 0; padding: 0 14px 10px; font-size: 11px; color: var(--muted); background: var(--paper); }
.chat-fine a { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* refinements */
.hero .btn-soft { background: #fff; }
.hero .btn-soft:hover { background: var(--petal); }
img.img-broken { visibility: hidden; }
@media (max-width: 520px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cat-tile { min-height: 58px; padding: 12px; }
  .gallery-main { aspect-ratio: auto; height: min(125vw, 62vh); }
}
