@font-face { font-family: Sarabun; src: url('/fonts/Sarabun-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Sarabun; src: url('/fonts/Sarabun-Bold.ttf') format('truetype'); font-weight: 700 950; font-display: swap; }
:root {
  color-scheme: light;
  --brown: #60483e;
  --brown-2: #765f54;
  --cream: #fffcf8;
  --blue: #cbe3ee;
  --blue-soft: #eaf4f8;
  --pink: #f5d4e0;
  --pink-soft: #fbeef2;
  --yellow: #f4e1a6;
  --yellow-soft: #fbf2d7;
  --line: #e6dad3;
  --muted: #8e756a;
  --danger: #9b3030;
  --success: #2f7048;
  --shadow: 0 14px 36px rgba(96,72,62,.1);
  --radius: 16px;
  font-family: Sarabun, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--brown); background: var(--cream); font-size: 15px; line-height: 1.55; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; letter-spacing: -.045em; }
h2 { line-height: 1.2; }
label { display: grid; gap: 7px; color: var(--brown-2); font-size: 13px; font-weight: 800; }
input, select, textarea { width: 100%; min-height: 46px; padding: 11px 13px; color: var(--brown); background: #fffefd; border: 1px solid #c7b3a8; border-radius: 9px; outline: none; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(203,227,238,.75); }
input[type=radio], input[type=checkbox] { width: 19px; min-height: 19px; accent-color: var(--brown); }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
.loading, .fatal { min-height: 100vh; display: grid; place-items: center; align-content: center; gap: 16px; padding: 30px; text-align: center; }
.site-header { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 12px max(24px, calc((100% - 1180px) / 2)); background: rgba(255,252,248,.95); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(96,72,62,.04); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); }
.brand { color: var(--brown); font-size: 21px; font-weight: 950; letter-spacing: -.04em; white-space: nowrap; }
.site-header nav { display: flex; justify-content: center; gap: 4px; }
.site-header nav a { padding: 9px 12px; color: var(--brown-2); border-radius: 10px; font-weight: 750; white-space: nowrap; }
.site-header nav a:hover { background: var(--yellow-soft); }
.site-header nav a.active { color: var(--brown); background: var(--blue); }
.cart-pill { display: flex; align-items: center; gap: 8px; padding: 10px 15px; color: var(--cream); background: var(--brown); border-radius: 999px; font-weight: 850; white-space: nowrap; }
.cart-pill b { min-width: 23px; height: 23px; display: grid; place-items: center; color: var(--brown); background: var(--yellow); border-radius: 50%; font-size: 11px; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; color: var(--brown); background: var(--cream); border: 1px solid #c7b3a8; border-radius: 999px; font-weight: 850; }
.button:hover { background: var(--yellow-soft); border-color: var(--brown); }
.button.primary { color: var(--cream); background: var(--brown); border-color: var(--brown); }
.button.primary:hover { background: #513b32; }
.button.full { width: 100%; margin-top: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.link { padding: 0; color: var(--brown-2); background: transparent; border: 0; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.link.danger, .danger { color: var(--danger); }
.hero { min-height: 575px; display: grid; grid-template-columns: .9fr 1.1fr; background: var(--blue); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px max(28px, calc((100vw - 1180px) / 2)); padding-right: 48px; position: relative; overflow: hidden; }
.hero-copy::before { width: 130px; height: 130px; content: ''; background: var(--pink); border-radius: 50%; position: absolute; left: -30px; top: 58px; }
.hero-copy > * { position: relative; }
.hero-copy > small, .section-title small { font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { margin: 20px 0 22px; font-size: clamp(50px, 5.8vw, 82px); overflow-wrap: anywhere; }
.hero-copy h2 { margin-bottom: 10px; font-size: clamp(20px, 2vw, 28px); }
.hero-copy p { color: var(--brown-2); }
.hero-art { display: grid; place-items: center; padding: 52px; background: var(--yellow); }
.art-card { width: min(100%, 560px); min-height: 420px; overflow: hidden; background: linear-gradient(145deg,var(--pink),#f8e2ea); border: 2px solid var(--brown); border-radius: 18px; box-shadow: 16px 16px 0 var(--brown); position: relative; isolation: isolate; }
.art-card::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(96,72,62,.16) 1.4px,transparent 1.4px); background-size: 22px 22px; opacity: .42; z-index: -1; }
.art-card::after { width: 210px; height: 72px; content: ''; background: var(--blue); border: 2px solid var(--brown); border-radius: 999px; position: absolute; right: -55px; top: 42px; transform: rotate(-12deg); }
.rack { width: min(76%,410px); height: 280px; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); }
.rack > i { height: 8px; background: var(--brown); border-radius: 99px; position: absolute; left: 2%; right: 2%; top: 33px; box-shadow: 0 216px 0 var(--brown); }
.rack > i::before, .rack > i::after { width: 7px; height: 220px; content: ''; background: var(--brown); border-radius: 99px; position: absolute; top: 0; }
.rack > i::before { left: 6px; }.rack > i::after { right: 6px; }
.rack b { position: absolute; top: 66px; filter: drop-shadow(5px 7px 0 rgba(96,72,62,.14)); }
.rack .top { width: 102px; height: 112px; left: 10%; background: var(--blue); clip-path: polygon(27% 0,42% 10%,58% 10%,73% 0,100% 19%,84% 42%,76% 34%,76% 100%,24% 100%,24% 34%,16% 42%,0 19%); }
.rack .dress { width: 118px; height: 178px; left: 36%; background: var(--yellow); clip-path: polygon(38% 0,62% 0,70% 24%,94% 100%,6% 100%,30% 24%); }
.rack .skirt { width: 108px; height: 120px; right: 10%; top: 78px; background: repeating-linear-gradient(90deg,var(--blue) 0 15px,#e7f2f7 15px 30px); clip-path: polygon(18% 0,82% 0,100% 100%,0 100%); }
.art-star { width: 31px; height: 31px; background: var(--yellow); clip-path: polygon(50% 0,61% 37%,100% 50%,61% 63%,50% 100%,39% 63%,0 50%,39% 37%); position: absolute; left: 35px; top: 34px; }
.art-flower { width: 80px; height: 80px; background: radial-gradient(circle,var(--yellow) 0 24%,var(--brown) 25% 28%,var(--blue) 29% 52%,transparent 53%),conic-gradient(var(--yellow),var(--pink),var(--blue),var(--yellow)); border: 2px solid var(--brown); border-radius: 50%; position: absolute; left: 24px; bottom: 20px; }
.art-pill { width: 112px; height: 28px; background: var(--yellow); border: 2px solid var(--brown); border-radius: 99px; position: absolute; right: 18px; bottom: 28px; transform: rotate(-7deg); }
.section { width: min(1180px,calc(100% - 48px)); margin-inline: auto; padding: 78px 0; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-title h2 { margin: 6px 0 0; font-size: clamp(32px,4vw,48px); letter-spacing: -.04em; }
.section-title a { font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.categories { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 12px; }
.categories a { min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid rgba(96,72,62,.35); border-radius: var(--radius); transition: .2s; }
.categories a:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.categories span { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; }
.categories strong { margin-top: auto; font-size: 18px; }.categories small { opacity: .72; }
.tone-0 { background: var(--pink); }.tone-1 { background: var(--blue); }.tone-2 { background: var(--yellow); }.tone-3 { color: var(--cream); background: var(--brown); }
.featured { width: 100%; padding-inline: max(24px,calc((100% - 1180px)/2)); background: var(--blue); }
.product-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.product-card { overflow: hidden; background: var(--cream); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 6px 20px rgba(96,72,62,.07); transition: .2s; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-image { display: block; position: relative; background: var(--blue-soft); overflow: hidden; }
.product-image img { width: 100%; aspect-ratio: 4/5; display: block; object-fit: cover; }
.product-image span { padding: 6px 10px; color: var(--brown); background: var(--pink); border-radius: 999px; position: absolute; left: 12px; top: 12px; font-size: 11px; font-weight: 850; }
.product-body { padding: 17px; }.product-body > small { color: var(--muted); }.product-body h3 { min-height: 48px; margin: 5px 0; font-size: 19px; }
.price { display: flex; justify-content: space-between; align-items: center; margin: 8px 0 15px; }.price strong { font-size: 18px; }.price small { color: var(--muted); }
.product-card .actions { display: grid; grid-template-columns: 1fr 1fr; }.product-card .button { padding-inline: 10px; font-size: 12px; }
.page-head { min-height: 205px; display: flex; flex-direction: column; justify-content: flex-end; padding: 42px max(24px,calc((100% - 1180px)/2)); background: linear-gradient(90deg,var(--blue-soft) 0 64%,var(--pink-soft) 64% 82%,var(--yellow-soft) 82%); border-bottom: 1px solid var(--line); }
.page-head h1 { margin-bottom: 8px; }.page-head p { margin: 0; color: var(--brown-2); }
.catalog { width: min(1180px,calc(100% - 48px)); display: grid; grid-template-columns: 230px 1fr; gap: 28px; margin-inline: auto; padding: 42px 0 78px; align-items: start; }
.filters { display: grid; gap: 18px; padding: 20px; background: var(--yellow-soft); border: 1px solid #e2cf96; border-radius: var(--radius); position: sticky; top: 96px; }.filters h2 { margin: 0; }.filters p { margin: 0; color: var(--brown-2); font-size: 12px; }
.result-bar { margin-bottom: 18px; color: var(--brown-2); }
.detail { width: min(1100px,calc(100% - 48px)); display: grid; grid-template-columns: 1.1fr .8fr; gap: 34px; margin-inline: auto; padding: 48px 0; align-items: start; }
.detail-image { overflow: hidden; background: var(--blue-soft); border-radius: var(--radius); }.detail-image img { width: 100%; max-height: 760px; display: block; object-fit: cover; }
.buy-card, .panel, .summary { padding: 24px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 5px 18px rgba(96,72,62,.05); }
.buy-card { display: grid; gap: 16px; border-top: 6px solid var(--yellow); position: sticky; top: 98px; }.buy-card h1 { margin: 0; font-size: 38px; }.detail-price { font-size: 28px; }.hint { margin: 0; color: var(--muted); font-size: 12px; }
.product-copy { padding-top: 20px; }.product-copy p { max-width: 760px; }.product-copy dl { max-width: 520px; }.product-copy dl div, .how dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }.product-copy dd, .how dd { margin: 0; font-weight: 800; }
.two-column { width: min(1180px,calc(100% - 48px)); display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 28px; margin-inline: auto; padding: 42px 0 78px; align-items: start; }.stack { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 110px 1fr 90px auto; align-items: center; gap: 18px; padding: 14px; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }.cart-line img { width: 110px; aspect-ratio: 4/5; object-fit: cover; border-radius: 10px; }.cart-line h3 { margin: 4px 0; }.cart-line p { margin-bottom: 8px; color: var(--muted); }.cart-line label { align-self: center; }.cart-line strong { font-size: 18px; }
.summary { border-top: 6px solid var(--yellow); position: sticky; top: 98px; }.summary p, .panel > p { display: flex; justify-content: space-between; gap: 16px; }.summary > small { display: block; margin: 12px 0; padding: 10px; background: var(--yellow-soft); border-radius: 8px; text-align: center; }.total { margin-top: 14px; padding-top: 14px; border-top: 1px solid #c7b3a8; font-size: 19px; }
.steps { width: min(1180px,calc(100% - 48px)); display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin: 36px auto 0; }.steps b { padding: 10px; color: var(--brown-2); background: var(--pink-soft); border-radius: 999px; text-align: center; }.steps b.active { color: var(--brown); background: var(--pink); border: 1px solid var(--brown); }
.checkout .panel:nth-child(1) h2 span { background: var(--blue); }.checkout .panel:nth-child(2) h2 span { background: var(--pink); }.checkout .panel:nth-child(3) h2 span { background: var(--yellow); }.checkout .panel:nth-child(4) h2 span { background: var(--blue); }
.panel h2 span { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.form-grid .wide { grid-column: 1/-1; }.choice { grid-template-columns: 22px 1fr; align-items: center; margin-top: 10px; padding: 14px; background: var(--blue-soft); border: 1px solid var(--line); border-radius: 10px; }.consent { grid-template-columns: 22px 1fr; align-items: start; padding: 14px; background: var(--yellow-soft); border-radius: 10px; }
.shipping-summary { display: flex; align-items: center; justify-content: space-between; padding: 15px; color: var(--brown); background: var(--blue-soft); border: 1px solid var(--line); border-radius: 10px; }.shipping-summary span { font-size: 18px; font-weight: 900; }
.demo-track-hint { display:block!important; margin:14px 0 0!important; padding:10px; border-radius:8px; background:var(--yellow-soft); color:var(--brown); font-size:12px; }
.postal-tracking { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.postal-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.postal-heading h3 { margin:0 0 3px; }.postal-heading small { color:var(--muted); }
.demo-badge { padding:4px 8px; border-radius:999px; background:var(--yellow-soft); color:#805913; font-size:10px; font-weight:900; }
.demo-badge.pending { white-space:nowrap; background:var(--blue-soft); color:var(--brown); }
.postal-awaiting { display:grid; gap:5px; }.postal-awaiting strong { color:var(--brown); font-size:15px; }.postal-awaiting span { line-height:1.55; }
.postal-events { display:grid; margin-top:16px; }.postal-events article { position:relative; display:grid; grid-template-columns:14px 1fr; gap:12px; padding-bottom:18px; }
.postal-events article:not(:last-child)::before { content:""; position:absolute; left:5px; top:12px; bottom:0; width:2px; background:var(--line); }
.postal-events i { width:12px; height:12px; margin-top:4px; border-radius:50%; background:#c7b3a8; z-index:1; }.postal-events .latest i { background:var(--brown); box-shadow:0 0 0 4px var(--yellow-soft); }
.postal-events b,.postal-events p,.postal-events small { display:block; }.postal-events p { margin:4px 0; color:var(--muted); font-size:13px; }.postal-events small { color:var(--muted); }
.warning { padding: 14px; color: #805913; background: var(--yellow-soft); border: 1px solid #dec894; border-radius: 10px; }
.countdown { margin-bottom: 18px; padding: 16px; color: var(--brown); background: var(--yellow); border-radius: 12px; font-size: 24px; font-weight: 900; text-align: center; }.bank { display: grid; gap: 4px; padding: 18px; background: var(--blue-soft); border-radius: 12px; }.bank strong { font-size: 24px; }.pay-total { margin-top: 18px!important; padding-top: 16px; border-top: 1px solid var(--line); }.pay-total b { font-size: 26px; }.slip-form { display: grid; gap: 16px; }.upload { min-height: 170px; place-items: center; align-content: center; padding: 24px; background: var(--pink-soft); border: 2px dashed #c7b3a8; border-radius: 12px; text-align: center; }
.track-box { width: min(950px,calc(100% - 48px)); display: grid; grid-template-columns: 360px 1fr; gap: 28px; margin: 48px auto 78px; }.track-box form { display: grid; gap: 15px; }.track-art { min-height: 360px; display: grid; place-items: center; align-content: center; gap: 12px; background: linear-gradient(145deg,var(--blue),var(--pink)); border-radius: var(--radius); }.track-art b { width: 96px; height: 96px; display: grid; place-items: center; background: var(--yellow); border: 2px solid var(--brown); border-radius: 50%; font-size: 44px; }.single { width: min(760px,calc(100% - 48px)); margin: 42px auto 78px; }.status-row { display: flex; justify-content: space-between; gap: 16px; align-items: start; }.status { display: inline-flex; padding: 6px 10px; color: #805913; background: var(--yellow-soft); border-radius: 999px; font-size: 12px; font-weight: 850; }.status.paid,.status.preparing,.status.shipped { color: var(--success); background: #edf7f1; }.status.cancelled,.status.expired,.status.rejected { color: var(--danger); background: #fff0f0; }.timeline { display: grid; margin: 24px 0; }.timeline > div { min-height: 60px; display: grid; grid-template-columns: 16px 1fr; gap: 12px; position: relative; }.timeline i { width: 12px; height: 12px; margin-top: 5px; background: var(--pink); border: 2px solid var(--brown); border-radius: 50%; }.timeline b,.timeline small { display: block; }.timeline small { color: var(--muted); }.tracking { padding: 14px; background: var(--blue-soft); border-radius: 10px; }
.info-grid { width: min(1000px,calc(100% - 48px)); display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 48px auto 78px; }.info-grid article { min-height: 170px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }.info-grid article:nth-child(3n+1) { background: var(--blue-soft); }.info-grid article:nth-child(3n+2) { background: var(--pink-soft); }.info-grid article:nth-child(3n) { background: var(--yellow-soft); }.info-grid h2 { overflow-wrap: anywhere; }
.about { width: min(1000px,calc(100% - 48px)); display: grid; grid-template-columns: 1fr 1fr; margin: 48px auto 78px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }.about-art { min-height: 420px; background: linear-gradient(145deg,var(--blue) 0 55%,var(--pink) 55% 78%,var(--yellow) 78%); }.about article { align-self: center; padding: 48px; }.about article p { white-space: pre-line; }
.how { width: min(1000px,calc(100% - 48px)); display: grid; grid-template-columns: 1fr 360px; gap: 28px; margin: 48px auto 78px; align-items: start; }.how article { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }.how article span { width: 44px; height: 44px; display: grid; place-items: center; background: var(--pink); border: 1px solid var(--brown); border-radius: 50%; font-weight: 900; }.how article h2 { margin: 0; font-size: 18px; }
.empty { min-height: 300px; display: grid; place-items: center; align-content: center; gap: 14px; padding: 28px; text-align: center; }.toast { max-width: min(390px,calc(100% - 32px)); padding: 13px 17px; color: var(--cream); background: var(--brown); border-radius: 12px; box-shadow: var(--shadow); position: fixed; right: 20px; bottom: 20px; z-index: 100; font-weight: 800; }
.admin-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: var(--blue-soft); }.admin-login form { width: min(440px,100%); display: grid; gap: 16px; }.admin-login h1 { font-size: 36px; }.admin-login a { text-align: center; text-decoration: underline; }
.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 250px 1fr; background: #f6f3f1; }.admin-shell > aside { height: 100vh; display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; color: #f8efea; background: #342822; position: sticky; top: 0; }.admin-shell > aside .brand { color: #fff; padding-inline: 10px; }.admin-shell > aside small { padding: 0 10px 18px; color: #baa89f; border-bottom: 1px solid #5c4a42; }.admin-shell > aside nav { display: grid; gap: 5px; padding-top: 12px; }.admin-shell > aside nav a { padding: 12px; color: #cdbfb8; border-radius: 9px; font-weight: 750; }.admin-shell > aside nav a:hover,.admin-shell > aside nav a.active { color: #342822; background: var(--blue); }.admin-shell > aside > .link { margin-top: auto; color: #fff; text-align: left; padding: 10px; }
.admin-main { min-width: 0; padding: 34px; }.admin-title { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }.admin-title h1 { margin: 0; font-size: 36px; }.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }.stats article { min-height: 130px; display: grid; align-content: space-between; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }.stats article:nth-child(4n+1) { border-top: 5px solid var(--blue); }.stats article:nth-child(4n+2) { border-top: 5px solid var(--pink); }.stats article:nth-child(4n+3) { border-top: 5px solid var(--yellow); }.stats article:nth-child(4n) { border-top: 5px solid var(--brown); }.stats b { font-size: 28px; }.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }table { width: 100%; border-collapse: collapse; }th,td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; }th { color: var(--brown-2); background: var(--yellow-soft); font-size: 12px; }td small { display: block; color: var(--muted); }.admin-form { margin-bottom: 20px; }.admin-order { display: grid; grid-template-columns: 1fr 340px; gap: 18px; align-items: start; }.admin-order .panel > p { padding: 9px 0; border-bottom: 1px solid var(--line); }.backup { margin-top: 20px; }
@media (max-width: 1050px) { .product-grid { grid-template-columns: repeat(3,1fr); }.categories { grid-template-columns: repeat(3,1fr); }.site-header { gap: 12px; padding-inline: 18px; }.site-header nav a { padding-inline: 8px; }.stats { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 820px) {
  .site-header { grid-template-columns: 1fr auto; }.site-header nav { grid-column: 1/-1; justify-content: flex-start; overflow-x: auto; order: 3; padding-bottom: 2px; }.hero { grid-template-columns: 1fr; }.hero-copy { padding: 68px 24px 56px; }.hero-art { padding: 34px 24px; }.art-card { min-height: 340px; }.rack { transform: translate(-50%,-50%) scale(.86); }.catalog,.detail,.two-column,.track-box,.how,.admin-order { grid-template-columns: 1fr; }.filters,.buy-card,.summary { position: static; }.product-grid { grid-template-columns: repeat(2,1fr); }.cart-line { grid-template-columns: 90px 1fr auto; }.cart-line img { width: 90px; }.cart-line label { grid-column: 2; }.cart-line > strong { grid-column: 3; grid-row: 1; }.about { grid-template-columns: 1fr; }.about-art { min-height: 270px; }.admin-shell { display: block; }.admin-shell > aside { height: auto; position: static; }.admin-shell > aside nav { grid-template-columns: repeat(5,max-content); overflow-x: auto; }.admin-shell > aside > .link { margin-top: 10px; }.admin-main { padding: 22px 16px; }
}
@media (max-width: 560px) {
  h1 { font-size: 36px; }.site-header { padding: 10px 14px; }.brand { font-size: 18px; }.cart-pill { padding: 8px 11px; }.hero-copy h1 { font-size: clamp(45px,14vw,66px); }.hero-art { padding: 24px 18px; }.art-card { min-height: 292px; box-shadow: 9px 9px 0 var(--brown); }.rack { width: 410px; transform: translate(-50%,-50%) scale(.66); }.art-flower { width: 54px; height: 54px; left: 15px; bottom: 14px; }.art-pill { width: 76px; height: 20px; right: 12px; bottom: 18px; }.section,.catalog,.detail,.two-column,.steps,.track-box,.single,.info-grid,.about,.how { width: calc(100% - 28px); }.section { padding-block: 58px; }.section-title { align-items: flex-start; flex-direction: column; }.categories,.product-grid,.info-grid,.stats { grid-template-columns: 1fr; }.categories a { min-height: 130px; }.page-head { min-height: 165px; padding-inline: 16px; }.detail,.two-column { padding-block: 28px 56px; }.buy-card h1 { font-size: 32px; }.cart-line { grid-template-columns: 74px 1fr; }.cart-line img { width: 74px; }.cart-line label,.cart-line > strong { grid-column: 2; grid-row: auto; }.steps { grid-template-columns: 1fr 1fr; }.form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }.status-row,.admin-title { align-items: flex-start; flex-direction: column; }.about article { padding: 28px; }.admin-main { padding-inline: 10px; }
}
/* Prototype parity: spacing, controls, responsive navigation and storefront hierarchy. */
body.store-theme-mode {
  --brown: #60483e;
  --brown-2: #765f54;
  --muted: #765f54;
  --line: #e6dad3;
  --cream: #fffcf8;
  --blue: #cbe3ee;
  --blue-soft: #eaf4f8;
  --pink: #f5d4e0;
  --pink-soft: #fbeef2;
  --yellow: #f4e1a6;
  --yellow-soft: #fbf2d7;
  --radius: 14px;
  --shadow: 0 12px 32px rgba(96,72,62,.1);
}
h1 { font-size: clamp(32px,4vw,52px); line-height: 1.12; letter-spacing: -.025em; }
p { color: var(--muted); }
input, select, textarea { min-height: 44px; padding: 10px 12px; border-radius: 5px; }
.mobile-only { display: none !important; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; color: var(--brown); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; }
.icon-button svg, .cart-button svg, .input-with-icon svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-button svg { width: 20px; height: 20px; }
.site-header { min-height: 76px; grid-template-columns: auto minmax(0,1fr) auto; gap: 20px; padding: 12px 40px; }
.brand-wordmark { font-size: 23px; font-weight: 800; letter-spacing: -.055em; }
.top-nav { display: flex; align-items: center; justify-content: center; gap: 6px; }
.top-nav a { padding: 10px; color: var(--brown-2); border-radius: 5px; font-weight: 700; }
.top-nav a:hover { background: var(--yellow-soft); }
.top-nav a.active { color: var(--brown); background: var(--blue); }
.header-actions { display: flex; justify-content: flex-end; }
.cart-button { min-height: 42px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--cream); background: var(--brown); border: 1px solid var(--brown); border-radius: 999px; font-weight: 800; }
.cart-button svg { width: 19px; height: 19px; }
.cart-button strong { min-width: 20px; height: 20px; display: grid; place-items: center; color: var(--brown); background: var(--yellow); border-radius: 50%; font-size: 11px; }
.mobile-drawer { display: none; }

.hero { min-height: 580px; }
.section { padding-block: 82px; }
.categories a { min-height: 190px; border-radius: 10px; }
.featured { padding-block: 82px; }
.featured .product-card { border-radius: 22px; }
.featured .product-image { border-radius: 21px 21px 0 0; }
.product-card { min-width: 0; border-radius: 14px; }
.product-image span { top: 10px; left: 10px; padding: 5px 8px; }
.product-body { padding: 15px; }
.product-body > small { font-size: 11px; }
.product-body h3 { min-height: 42px; font-size: 17px; }

.page-head { min-height: 0; padding: 38px max(24px,calc((100% - 1180px)/2)); background: linear-gradient(90deg,var(--blue-soft) 0 64%,var(--pink-soft) 64% 82%,var(--yellow-soft) 82%); }
.page-head h1 { margin: 0; }
.catalog { padding-block: 42px 76px; }
.filters { gap: 20px; padding: 18px; top: 100px; }
.filter-heading { display: flex; align-items: center; justify-content: space-between; }
.filter-heading h2 { margin: 0; }
.filter-note { display: block; padding: 12px; color: var(--brown-2); background: rgba(255,252,248,.86); border: 1px dashed #d6bd76; border-radius: 5px; font-size: 11px; }
.input-with-icon { position: relative; }
.input-with-icon svg { width: 18px; height: 18px; color: var(--muted); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.input-with-icon input { padding-left: 38px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.catalog-results .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }

.detail-wrap { width: min(1100px,calc(100% - 48px)); margin-inline: auto; padding: 28px 0 72px; }
.detail-wrap .detail { width: 100%; margin: 0; padding: 0; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: var(--muted); font-size: 12px; }
.breadcrumbs b { color: var(--brown); }
.stock-line { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.quantity-field { display: grid; grid-template-columns: 44px minmax(55px,1fr) 44px; }
.quantity-field button, .quantity-field input, .quantity-field b { min-height: 44px; display: grid; place-items: center; padding: 0; color: var(--brown); background: #fff; border: 1px solid #c7b3a8; border-radius: 0; text-align: center; }
.quantity-field button:first-child { border-radius: 5px 0 0 5px; }
.quantity-field button:last-child { border-radius: 0 5px 5px 0; }
.quantity-field input, .quantity-field b { border-inline: 0; }
.quantity-field.compact { grid-template-columns: 34px 38px 34px; }
.quantity-field.compact button, .quantity-field.compact b { min-height: 34px; }
.detail-notes { display: grid; gap: 4px; padding-top: 12px; color: var(--muted); border-top: 1px solid var(--line); font-size: 12px; }
.product-tabs { display: flex; gap: 28px; margin-top: 50px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.product-tabs b:first-child { border-bottom: 2px solid var(--brown); }
.product-copy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 28px 0; }
.product-copy-grid dl > div { display: grid; grid-template-columns: 100px 1fr; padding: 8px 0; border-bottom: 1px solid var(--line); }
.product-copy-grid dt { color: var(--muted); }
.product-copy-grid dd { margin: 0; font-weight: 700; }
.cart-qty { display: grid; gap: 6px; }

.buy-card, .panel, .summary { padding: 22px; }
.panel-note { margin: -5px 0 18px; font-size: 12px; }
.choice { grid-template-columns: 20px 1fr; gap: 12px; border-radius: 6px; }
.choice span, .choice strong, .choice small { display: block; }
.choice small { color: var(--muted); font-weight: 500; }
.consent { grid-template-columns: 20px 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 6px; }
.reservation-note { display: grid; gap: 3px; margin-top: 4px; padding: 14px; color: #805913; background: #fff8e8; border: 1px solid #dec894; border-radius: 6px; }
.reservation-note span { font-size: 12px; }
.mini-product { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-product img { width: 52px; height: 62px; object-fit: cover; border-radius: 4px; }
.mini-product b, .mini-product small { display: block; }
.mini-product small { color: var(--muted); font-size: 11px; }

.track-box { width: min(1180px,calc(100% - 48px)); grid-template-columns: 420px 1fr; padding: 50px 0 76px; margin: 0 auto; }
.track-art { min-height: 390px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; background: repeating-linear-gradient(45deg,#f5f5f5,#f5f5f5 16px,#efefef 16px,#efefef 32px); border: 1px dashed #c7b3a8; }
.track-art .track-mark { width: 44px; height: 44px; display: grid; place-items: center; color: var(--brown); background: var(--yellow); border: 1px solid var(--brown); border-radius: 50%; font-size: 22px; font-weight: 900; }
.track-art h2 { margin: 22px 0 10px; font-size: 30px; }
.track-art p { max-width: 560px; }
.track-art a { font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.empty-inline { margin-top: 18px; padding: 14px; color: var(--muted); background: var(--blue-soft); border-radius: 6px; }
.status-stepper { display: grid; grid-template-columns: repeat(5,1fr); margin: 28px 0; }
.status-stepper > div { display: grid; justify-items: center; gap: 8px; color: #987f74; position: relative; text-align: center; }
.status-stepper > div::after { height: 2px; content: ""; background: var(--line); position: absolute; left: 50%; right: -50%; top: 18px; }
.status-stepper > div:last-child::after { display: none; }
.status-stepper span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--cream); border: 2px solid var(--line); border-radius: 50%; z-index: 1; font-weight: 800; }
.status-stepper b { font-size: 11px; }
.status-stepper .done { color: var(--brown); }
.status-stepper .done span { background: var(--pink); border-color: var(--brown); }
.status-stepper .done::after { background: var(--pink); }
.status-stepper .current span { box-shadow: 0 0 0 5px var(--yellow-soft); }
.timeline > div::after { width: 1px; content: ""; background: var(--line); position: absolute; left: 5px; top: 17px; bottom: -4px; }
.timeline > div:last-child::after { display: none; }
.timeline > div.latest i { background: var(--brown); box-shadow: 0 0 0 4px var(--blue-soft); }

body.admin-mode { background: #f4f4f4; }
body.admin-mode .admin-shell { background: #f4f4f4; }
body.admin-mode .admin-shell > aside { color: #ddd; background: #202020; }
body.admin-mode .admin-shell > aside nav a { color: #aaa; }
body.admin-mode .admin-shell > aside nav a:hover,
body.admin-mode .admin-shell > aside nav a.active { color: #fff; background: #373737; }
body.admin-mode .admin-shell > aside > .link { color: #ddd; }
body.admin-mode th { color: #666; background: #f5f5f5; }
.admin-brand { display: flex; align-items: center; gap: 11px; padding: 0 10px 24px; color: #fff; border-bottom: 1px solid #3a3a3a; }
.admin-brand > span:first-child { width: 40px; height: 40px; display: grid; place-items: center; color: #202020; background: #fff; border-radius: 4px; font-size: 12px; font-weight: 900; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-shell > aside .admin-brand small { padding: 0; color: #aaa; border: 0; font-size: 10px; }
.admin-sidebar nav a { min-height: 44px; display: grid; grid-template-columns: 22px 1fr; align-items: center; gap: 10px; }
.admin-nav-dot { width: 7px; height: 7px; background: currentColor; border-radius: 50%; }
.admin-sidebar-footer { display: grid; gap: 12px; margin-top: auto; padding: 18px 10px 0; color: #aaa; border-top: 1px solid #3a3a3a; font-size: 12px; }
.admin-sidebar-footer a { color: #fff; }
.admin-sidebar-footer button { padding: 0; color: #ddd; background: transparent; border: 0; text-align: left; font-size: 12px; font-weight: 700; }

@media (max-width: 1100px) {
  .catalog-results .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .mobile-only { display: inline-grid !important; }
  .top-nav { display: none !important; }
  .site-header { min-height: 66px; grid-template-columns: 44px 1fr auto; gap: 10px; padding: 10px 16px; }
  .brand-wordmark { justify-self: center; }
  .cart-button span { display: none; }
  .mobile-drawer { display: block; visibility: hidden; opacity: 0; position: fixed; inset: 0; z-index: 80; transition: .2s; }
  .mobile-drawer.open { visibility: visible; opacity: 1; }
  .drawer-backdrop { width: 100%; height: 100%; padding: 0; background: rgba(0,0,0,.55); border: 0; position: absolute; inset: 0; }
  .drawer-panel { width: min(88vw,360px); height: 100%; padding: 18px; background: var(--cream); position: relative; transform: translateX(-100%); transition: transform .25s; }
  .mobile-drawer.open .drawer-panel { transform: translateX(0); }
  .drawer-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .drawer-panel nav { display: grid; padding-top: 12px; }
  .drawer-panel nav a { padding: 13px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
  .drawer-panel nav a.active { background: var(--blue-soft); }
  .catalog { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; position: static; }
  .filter-heading, .filter-note { grid-column: 1/-1; }
  .catalog-results .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .track-box { grid-template-columns: 1fr; }
  .detail-wrap { width: calc(100% - 32px); }
}
@media (max-width: 560px) {
  .section, .catalog, .detail, .two-column, .steps, .track-box, .single, .info-grid, .about, .how { width: calc(100% - 28px); }
  .categories { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .categories a { min-height: 150px; }
  .filters { grid-template-columns: 1fr; }
  .filter-heading, .filter-note { grid-column: auto; }
  .product-grid, .catalog-results .product-grid { grid-template-columns: 1fr; }
  .track-art { min-height: 300px; padding: 30px 24px; }
  .detail-wrap { width: calc(100% - 28px); }
  .product-copy-grid { grid-template-columns: 1fr; gap: 24px; }
  .status-stepper { grid-template-columns: 1fr; gap: 0; margin-left: 8px; }
  .status-stepper > div { min-height: 58px; grid-template-columns: 38px 1fr; justify-items: start; align-items: center; text-align: left; }
  .status-stepper > div::after { width: 2px; height: auto; left: 18px; right: auto; top: 38px; bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto!important; transition: none!important; } }

/* One calm outline icon system across storefront and owner workspace. */
.button svg,
.text-arrow svg,
.category-icon svg,
.upload-icon svg,
.empty-icon svg,
.admin-sidebar nav a svg,
.admin-shortcut svg,
.admin-empty svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button svg { margin-right: 6px; }
.text-arrow { display: inline-flex; align-items: center; gap: 6px; }
.text-arrow svg { width: 16px; height: 16px; margin: 0; }
.categories > a { gap: 10px; position: relative; }
.categories > a > .category-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--brown);
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(96,72,62,.42);
  border-radius: 50%;
}
.categories > a > .category-icon svg { width: 19px; height: 19px; }
.categories > a > .category-caption {
  width: auto;
  height: auto;
  display: grid;
  place-items: initial;
  gap: 2px;
  border: 0;
  border-radius: 0;
}
.categories > a > .category-caption strong { margin: 0; }
.categories > a > .category-caption small { font-size: 11px; }
.categories > a > .category-arrow {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  align-self: flex-end;
  margin-top: auto;
  color: var(--brown);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.categories > a > .category-arrow svg { width: 17px; height: 17px; }
.product-card .button.primary svg { width: 17px; height: 17px; }
.upload-icon { display: inline-grid; place-items: center; color: var(--brown); }
.empty-icon { display: inline-grid; place-items: center; color: var(--brown); }
.empty-icon svg { width: 30px; height: 30px; }
.admin-sidebar nav a svg,
.admin-shortcut svg { width: 20px; height: 20px; }
.admin-empty svg { width: 38px; height: 38px; color: var(--brown-2); }
