:root{--accent:#593b7b;--ink:#302339;--muted:#65566e;--lav:#eee8f5;--line:#e9e0eb;--paper:#fcfaf7;--white:#fff;--serif:Georgia,"Noto Serif TC","Songti TC",serif;--sans:Inter,"PingFang TC","Noto Sans TC","Microsoft JhengHei",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 var(--sans)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit}button,a,input,select,textarea{outline-offset:4px}img{display:block;max-width:100%}[hidden]{display:none!important}h1,h2,h3,p{margin:0 0 .7rem}h1,h2,h3{line-height:1.2}h1,h2{font-family:var(--serif)}a:focus-visible,button:focus-visible{outline:2px solid var(--accent)}.subtle{color:var(--muted)}.eyebrow{text-transform:uppercase;font-size:.87rem;font-weight:700;letter-spacing:.16em;color:var(--accent)}.announcement{background:#eae1f3;color:#523a69;text-align:center;font-size:.87rem;letter-spacing:.045em;padding:8px 1rem;min-height:38px}.site-header{background:var(--paper);border-bottom:1px solid #502b5d13}.nav-wrap{max-width:1310px;margin:auto;display:flex;gap:24px;align-items:center;justify-content:space-between;min-height:78px;padding:0 3.7%}.wordmark{display:inline-flex;gap:8px;align-items:center;text-decoration:none;color:var(--accent);font:italic 700 clamp(1.5rem,3vw,2.05rem)/1 var(--serif);white-space:nowrap;letter-spacing:-.055em}.wordmark sup{font:1rem var(--sans);align-self:start}.jelly{position:relative;display:inline-block;width:29px;height:33px;flex:none}.jelly::before{content:"";position:absolute;inset:1px 2px 15px;border:1.5px solid currentColor;border-radius:20px 20px 7px 7px;background:#e8dbf4}.jelly i,.jelly b,.jelly em{position:absolute;top:17px;width:6px;height:13px;border-left:1.5px solid currentColor;border-radius:50%;transform:rotate(12deg)}.jelly i{left:6px}.jelly b{left:13px;height:15px;transform:rotate(-12deg)}.jelly em{left:20px}.tools{display:flex;gap:27px;align-items:center}.footer a:hover{color:var(--accent);text-decoration:underline}.tools{gap:12px}.icon-btn{appearance:none;background:none;border:0;padding:8px;color:var(--accent);display:grid;place-items:center;text-decoration:none;position:relative}.icon-btn svg,.text-btn svg{width:20px;height:20px;display:block}.count{border-radius:100%;background:var(--accent);color:#fff;font:700 11px/17px var(--sans);width:17px;text-align:center;position:absolute;inset:1px -3px auto auto}
.hero{min-height:clamp(420px,42vw,605px);display:flex;align-items:center;background:#e5d9ee center 46%/cover no-repeat}.hero-inner{width:min(1200px,100%);margin:auto;padding:2rem 5.5%}.hero-copy{width:fit-content;max-width:560px}.hero-brand{display:flex;align-items:center;gap:.5rem;color:#614981;font-size:.85rem;font-weight:700;letter-spacing:.2em;margin-bottom:1.1rem}.hero-brand span{font-size:1.1rem}.hero h1{font-size:clamp(2.4rem,5.2vw,5rem);letter-spacing:.055em;font-weight:600;color:#3f2a52;margin-bottom:1.05rem}.hero p{color:#5a4667;font-size:1rem;line-height:1.85;margin-bottom:1.65rem}.button{display:inline-flex;gap:.4rem;align-items:center;justify-content:center;border:1px solid transparent;padding:.62rem 1.25rem;min-height:43px;border-radius:999px;font-weight:700;text-decoration:none;font-size:.9rem;color:var(--accent);background:var(--lav)}.hero .button{padding:.76rem 1.75rem}.button.purple{background:var(--accent);color:#fff}.button.outline{background:transparent;border-color:#c8b7d6}.button:hover:not(:disabled){filter:brightness(.94)}.button.danger{background:#fae8e5;color:#8b342a}.text-btn{background:none;border:0;color:var(--accent);padding:.35rem 0;display:inline-flex;align-items:center;gap:.45rem;text-decoration:none}.text-btn:hover{text-decoration:underline}
.shop-section{max-width:1280px;margin:0 auto;padding:3.3rem 4% 5rem;scroll-margin-top:1rem}.section-title{text-align:center;display:flex;justify-content:center;align-items:center;gap:1.1rem;margin-bottom:1.65rem;color:var(--accent)}.section-title h2{font-weight:600;font-size:clamp(1.9rem,4vw,2.7rem);letter-spacing:.12em;margin-bottom:.35rem}.section-title p{font-size:.79rem;letter-spacing:.22em;margin:0}.section-title>span{color:#a98dbd}.catalog-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-bottom:1.45rem}.tabs{display:flex;gap:.5rem;flex-wrap:wrap}.tabs button{border:1px solid #e3d7e8;border-radius:999px;background:var(--paper);color:var(--accent);padding:.4rem .9rem;font-size:.87rem}.tabs button.active,.tabs button[aria-pressed=true]{background:var(--accent);color:#fff;border-color:var(--accent)}.search-bar{margin-bottom:1.4rem;display:grid;max-width:38rem;gap:.4rem}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.75rem 1.2rem}.product{min-width:0}.product-art{position:relative;aspect-ratio:4/5;display:block;background:#eee5f0;border-radius:5px;overflow:hidden;text-decoration:none}.product-art img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.product-art:hover img{transform:scale(1.04)}.product-top{position:relative}.badge{display:inline-flex;align-items:center;background:#eee5f6;border-radius:999px;padding:.17rem .55rem;color:#56396c;font-size:.79rem;font-weight:700}.product-top .badge{position:absolute;top:.65rem;left:.55rem;pointer-events:none}.favorite{position:absolute;right:.5rem;top:.5rem;border:0;background:#fcfaf9ed;border-radius:100%;color:var(--accent);width:35px;height:35px;display:grid;place-items:center}.favorite svg{width:17px}.favorite[aria-pressed=true] svg{fill:#a980c1}.product h3{font-size:1rem;font-weight:650;margin:.75rem 0 .28rem}.product h3 a{text-decoration:none}.product .price{color:var(--accent);font-size:.95rem;font-weight:700}.placeholder-art{display:grid;place-items:center;color:#8c729c;font:italic 1.1rem var(--serif)}#recent{margin-top:3rem}.footer{border-top:1px solid var(--line);padding:2.5rem max(5%,calc((100% - 1170px)/2));display:flex;justify-content:space-between;align-items:center;gap:2rem;background:#f2ebf5}.footer p{font-size:.88rem;color:var(--muted);margin:.8rem 0 0}.footer-links{display:flex;gap:1rem;flex-wrap:wrap;font-size:.9rem}.footer-links a{text-decoration:none;color:var(--accent)}.footer-links button{padding:0;font-size:inherit}
.dialog,.zoom{color:var(--ink);background:var(--paper);margin:auto;border:1px solid var(--line);border-radius:20px;width:min(860px,calc(100% - 28px));max-height:calc(100dvh - 28px);box-shadow:0 20px 80px #27142e40;padding:0;overflow:auto}.dialog::backdrop,.zoom::backdrop{background:#23192b75}.dialog-sheet{padding:clamp(1rem,3vw,2.3rem);position:relative}.dialog-head{display:flex;align-items:start;justify-content:space-between;gap:1rem}.close{line-height:1;background:var(--lav);border:0;border-radius:100%;width:37px;height:37px;flex:none;font-size:1.55rem;color:var(--accent)}.zoom{width:min(95vw,920px);background:#2c2330}.zoom img{max-height:calc(100dvh - 32px);object-fit:contain;margin:auto}.zoom .close{position:absolute;top:.6rem;right:.6rem}.detail-grid,.two-col{display:grid;grid-template-columns:1fr 1fr;gap:1.05rem}.detail-img{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;background:var(--lav)}.image-button{width:100%;border:0;background:none;padding:0}.images-row{display:flex;gap:.5rem;flex-wrap:wrap;margin:.65rem 0}.thumb{background:var(--lav);border:1px solid var(--line);border-radius:6px;padding:0;overflow:hidden;width:58px;height:58px}.thumb img{width:100%;height:100%;object-fit:cover}.detail-text{white-space:pre-wrap;overflow-wrap:anywhere}.stack{display:grid;gap:.85rem}.row{display:flex;gap:.65rem;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.notice{background:var(--lav);color:var(--ink);border-radius:10px;padding:.65rem .85rem;margin:.75rem 0}.error{color:#8a253d;background:#fbecee}.field-status{min-height:1.3rem;color:#8a253d}.toast{position:fixed;bottom:1rem;left:50%;transform:translateX(-50%);padding:.65rem 1rem;border-radius:999px;background:#3e2c4c;color:#fff;box-shadow:0 5px 20px #251d2b40;width:max-content;max-width:calc(100% - 2rem);z-index:5}label{display:grid;gap:.26rem;font-size:.9rem;color:var(--muted)}input,select,textarea{width:100%;min-height:42px;background:#fff;border:1px solid #d9cfe0;border-radius:8px;color:var(--ink);padding:.5rem .65rem}input[type=checkbox]{width:17px;min-height:17px;accent-color:var(--accent)}label:has(input[type=checkbox]){display:flex;align-items:center}textarea{min-height:80px;resize:vertical}fieldset{border:1px solid var(--line);border-radius:10px;padding:.75rem;margin:0;min-width:0}legend{padding:0 .35rem}.cart-line{display:grid;grid-template-columns:1fr 65px auto;gap:.7rem;align-items:center;border-bottom:1px solid var(--line);padding:.5rem 0}.cart-line strong{display:block}.cart-line small{color:var(--muted)}.total-list{display:grid;gap:.25rem;margin:.5rem 0}.total-list div{display:flex;justify-content:space-between}.total-list div:last-child{font-weight:700}.progress{height:7px;width:100%;accent-color:var(--accent)}.token{font-family:monospace;overflow-wrap:anywhere;user-select:all}.action-links a{font-size:.9rem}.admin-body{background:#f8f3fa}.admin-wrap{max-width:1120px;margin:auto;padding:2rem 1rem 4rem}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(1rem,2.4vw,1.65rem);margin-bottom:1rem}.login-panel{max-width:420px;margin:3rem auto}.admin-header-label{margin-right:auto;color:var(--muted)}.admin-heading{display:flex;justify-content:space-between;align-items:center;margin:1rem 0}.admin-heading h1{margin-bottom:0}.admin-tabs{margin-bottom:1.2rem}.product-list{display:grid;gap:.6rem;margin-top:1rem}.admin-product{display:grid;grid-template-columns:1fr auto;align-items:center;gap:1rem;padding:.65rem;border-bottom:1px solid var(--line)}.admin-product p{margin:0}.variant-grid,.image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:.55rem;align-items:end;margin:.45rem 0}.image-grid{grid-template-columns:70px minmax(0,1fr) auto}.image-grid img{height:58px;object-fit:cover;border-radius:5px}.order{overflow-wrap:anywhere}.order summary{cursor:pointer}.order-lines{margin:.4rem 0;padding-left:1.1rem}.receipt-images{display:flex;gap:.5rem;flex-wrap:wrap}.receipt-images img{max-height:160px;width:auto}.spacer{margin-top:1rem}
@media(max-width:810px){.hero{min-height:430px;background-position:57% center}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.footer{padding:2rem 5%}}
@media(max-width:570px){body{font-size:15px}.announcement{font-size:.75rem;padding:.42rem .25rem;min-height:0}.nav-wrap{min-height:65px;gap:.4rem;padding:0 4%}.wordmark{gap:4px}.wordmark sup{display:none}.jelly{transform:scale(.82);margin-left:-3px;margin-right:-2px}.tools{gap:1px}.icon-btn{padding:6px}.icon-btn svg{width:18px;height:18px}.hero{min-height:425px;background-position:62% center;align-items:end;position:relative}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#eee6f5f5 1%,#eee6f5c2 30%,#eee6f500 74%)}.hero-inner{position:relative;padding:1.6rem 5%;margin:0}.hero-brand{margin-bottom:.6rem;font-size:.7rem}.hero h1{font-size:2.35rem;letter-spacing:.02em;margin-bottom:.5rem}.hero p{font-size:.9rem;margin-bottom:.85rem}.hero .button{min-height:38px;padding:.45rem 1.3rem}.shop-section{padding:2.35rem 4% 3.5rem}.section-title{margin-bottom:1.15rem}.catalog-controls{align-items:start}.tabs{gap:.32rem}.tabs button{padding:.34rem .54rem;font-size:.78rem}.catalog-controls>.text-btn{font-size:.76rem;white-space:nowrap}.catalog-controls svg{width:15px;height:15px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.05rem .6rem}.product h3{font-size:.9rem}.favorite{width:29px;height:29px}.favorite svg{width:15px}.footer{align-items:start;flex-direction:column;gap:1rem}.detail-grid,.two-col{grid-template-columns:1fr}.detail-img{aspect-ratio:1/1}.admin-header-label{display:none}.admin-product{gap:.45rem}.variant-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.variant-grid>button{justify-self:start}.cart-line{grid-template-columns:1fr 58px auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

.hero {
  background-image: var(--hero-photo, none);
  background-position: var(--hero-position, center 46%);
}
.hero h1 {
  font-family: var(--hero-font, var(--serif));
  color: var(--hero-ink, #3f2a52);
  font-size: calc(clamp(2.4rem, 5.2vw, 5rem) * var(--hero-scale, 1));
  overflow-wrap: anywhere;
}
.hero.has-custom-font p { font-family: var(--hero-font, var(--serif)); }
.hero p {
  color: var(--hero-ink, #5a4667);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.hero.has-custom-photo {
  background-image: linear-gradient(90deg, #f5eff9eb 0%, #f5eff9a0 32%, #f5eff900 72%), var(--hero-photo);
}
.shop-menu {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  border: 0;
  border-left: 1px solid #806895;
  width: min(88vw, 25rem);
  max-width: none;
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(155deg, #422859, #61427c 62%, #76568d);
  color: #fff7ff;
  padding: clamp(1.15rem, 5vw, 2rem);
  box-shadow: -16px 0 65px #26133038;
}
.shop-menu::backdrop { background-color: #28173977; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; gap:.8rem; }
.drawer-head .wordmark { color:#fff3d9; margin:0; }
.shop-menu .close { background:#ffffff21; color:#fff5ff; }
.drawer-links { display:grid; gap:.3rem; }
.drawer-head + nav { margin-top:1.35rem; border-top:1px solid #faf2ff40; padding-top:.9rem; }
.drawer-links a, .drawer-links button {
  width: 100%;
  padding: .5rem .55rem;
  min-height: 42px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: .55rem;
  text-align: left;
  text-decoration: none;
  font: inherit;
}
.drawer-links a:hover, .drawer-links button:hover { background:#ffffff1c; }
.shop-menu h3 { margin:1rem 0 .45rem; padding:.95rem .55rem 0; border-top:1px solid #faf2ff40; color:#fff1ce; font-size:1rem; }
.hero.admin-hero-preview { min-height:15rem; border-radius:.7rem; overflow:hidden; }
.hero.admin-hero-preview h1 { font-size:calc(clamp(1.4rem, 3.3vw, 2.8rem) * var(--hero-scale, 1)); }
.admin-hero-preview p { margin-bottom:.6rem; }
.hero.has-custom-photo.art-on-right { position:relative; background:#fefefe; }
.hero.art-on-right::before { display:none; }
.hero-art {
  position:absolute;
  inset:0 0 0 auto;
  width:50%;
  background-image:var(--hero-photo);
  background-repeat:no-repeat;
  background-size:auto var(--hero-art-zoom, 100%);
  background-position:var(--hero-art-x, center) var(--hero-art-y, 50%);
}
.art-on-right .hero-inner { position:relative; pointer-events:none; }
.art-on-right .hero-copy { max-width:min(49%, 560px); pointer-events:auto; }
@media (max-width: 670px) {
  .hero.art-on-right { flex-direction:column; align-items:stretch; min-height:0; }
  .hero-art { position:relative; width:100%; height:clamp(270px, 82vw, 420px); }
  .art-on-right .hero-copy { max-width:100%; }
  .art-on-right .hero-inner { padding-top:.7rem; }
  .admin-hero-preview .hero-art { height:clamp(190px, 58vw, 290px); }
}
@media (max-width: 810px) {
  .hero { background-position:var(--hero-position, 57% center); }
}
@media (max-width: 570px) {
  .hero { background-position:var(--hero-position, 62% center); }
  .hero h1 { font-size:calc(2.35rem * var(--hero-scale, 1)); }
  .hero.has-custom-photo { background-image:var(--hero-photo); }
  .nav-wrap .tools { gap:0; }
  .nav-wrap .icon-btn { padding-inline:5px; }
}

.settings-actions {
  position: sticky;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .5rem 1rem;
  padding: .6rem 0;
  background-color: #fff;
  border-top: 1px solid #ebe2ef;
}
.settings-actions p { margin: 0; min-height: 0; }

#bank-note, .notice[aria-labelledby="order-bank-heading"] { gap:.4rem; }
#bank-note p, .notice[aria-labelledby="order-bank-heading"] p { margin:0; }

.shipping-track {
  background: #f3ecf7;
  padding: .7rem max(5%,calc((100% - 1040px) / 2));
  font-size: .9rem;
  color: var(--ink);
}
.shipping-track .row, .shipping-summary .row { gap: .25rem 1rem; }
.shipping-track small, .shipping-summary small { display:block; font-size:.8rem; }
.shipping-track progress, .shipping-summary progress { display:block; margin:.35rem 0; }
.price del, .detail-price del { color:var(--muted); font-weight:400; font-size:.86em; }
.detail-price { font-size:1.3rem; color:var(--accent); }
.product-sections:empty { display:none; }
.product-sections details { border-top:1px solid #e8dfec; padding:.55rem 0; }
.product-sections summary { cursor:pointer; font-weight:600; }
.product-sections details p { margin:.4rem 0; }
.product-suggestions { border-top:1px solid #e8dfec; margin-top:1.25rem; padding-top:1rem; }
.product-suggestions h3 { margin-top:0; }
.cart-note { grid-column:1 / -1; }
.order-item-note { margin:.15rem 0 .5rem; white-space:pre-wrap; overflow-wrap:anywhere; }

.nav-wrap .tools { flex-wrap:wrap; min-width:0; justify-content:flex-end; }
.footer #footer-brand { white-space:normal; overflow-wrap:anywhere; }
.footer-links .text-btn { align-self:center; }
.nav-count { margin-inline-start:.35rem; font-size:.78rem; border:1px solid currentColor; padding:0 .35rem; border-radius:999px; }
.shipping-notice { margin:.65rem 0 .1rem; font-size:.88rem; color:var(--muted); }
.nav-edit-group { border:1px solid #eadfee; border-radius:.65rem; padding:.7rem .85rem; }
.nav-edit-group h3 { margin:.05rem 0 .45rem; font-size:1rem; }
.nav-edit-row {
  display:grid;
  grid-template-columns:minmax(6rem,1fr) minmax(8rem,1fr) auto;
  gap:.35rem .7rem;
  align-items:center;
  padding:.38rem 0;
}
.nav-edit-row + .nav-edit-row { border-top:1px solid #f3edf5; }
.nav-edit-move { display:flex; gap:.3rem; }
.nav-edit-move .button { padding:.38rem .65rem; white-space:nowrap; }
@media (max-width:600px) {
  .nav-edit-row { grid-template-columns:1fr minmax(6rem,1fr); }
  .nav-edit-move { grid-column:1 / -1; }
}
.footer #footer-copy { white-space:pre-line; overflow-wrap:anywhere; }

.admin-product .product-tools { justify-content:flex-end; }
.product-list-tabs { margin:.6rem 0; }
.product-list-tabs [aria-pressed="true"] { background:var(--lav); color:var(--accent); }
.product-delete { color:#9a2852; }
#product-list-status:empty { display:none; }
.shipment-tools { gap:.3rem; }
.shipment-tools p { margin:0; }
#product-suppliers:empty { display:none; }

.finance-filter-fields { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)) auto; gap:.65rem; align-items:end; }
.finance-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; margin:0; }
.finance-metric { padding:.65rem .8rem; background:#f4edf7; border-radius:.65rem; overflow-wrap:anywhere; }
.finance-metric dt { color:var(--muted); font-size:.84rem; }
.finance-metric dd { color:var(--accent); margin:.15rem 0 0; font-weight:700; }
.finance-scroll { overflow-x:auto; }
.finance-table { border-collapse:collapse; width:100%; min-width:34rem; text-align:left; }
.finance-table td,.finance-table th { padding:.5rem; border-bottom:1px solid #eadfee; }
.finance-table small { display:block; color:var(--muted); }
.finance-pending { border:1px solid #eadfee; padding:.65rem .85rem; border-radius:.65rem; }
.finance-pending summary { cursor:pointer; }
.finance-pending form { margin-top:.65rem; }
@media(max-width:650px) {
  .finance-filter-fields,.finance-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.order-workflow { margin-block:1.1rem; padding-top:.9rem; border-top:1px solid var(--line); }
.order-workflow p { margin:0; }
.order-form { padding:.65rem; background:var(--paper); border:1px solid var(--line); border-radius:.7rem; }
.order-form button { justify-self:start; }
.order-form .field-status:empty { display:none; }
.order-subpanel > summary { margin-bottom:.55rem; cursor:pointer; }
.order-subpanel .order-form + .order-form { margin-top:.55rem; }

.traffic-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.65rem; margin:0; }
.traffic-metrics > div { padding:.7rem; background:var(--lav); border-radius:.7rem; }
.traffic-metrics dt { font-size:.9rem; }
.traffic-metrics dd { margin:0; font-size:1.55rem; font-weight:700; color:var(--accent); }
.traffic-table { width:100%; border-collapse:collapse; font-variant-numeric:tabular-nums; }
.traffic-table caption { text-align:left; font-weight:700; }
.traffic-table th,.traffic-table td { padding:.55rem .35rem; border-bottom:1px solid var(--line); text-align:right; }
.traffic-table th:first-child { text-align:left; white-space:nowrap; }
.order-alert-controls > p { margin:0; }
.order-alert-controls > p:empty { display:none; }
.order-alert-controls:has(button:not([hidden]),p:not(:empty)) { margin-bottom:.65rem; }
.storefront-loading { display:flex; align-items:center; justify-content:center; gap:.8rem; padding:2rem 1rem; color:var(--muted); }
.storefront-loading p { margin:0; }
.variant-batch { padding:.8rem; background:var(--lav); border-radius:.75rem; }
.variant-batch summary { cursor:pointer; font-weight:700; margin-bottom:.55rem; }
.variant-batch textarea { min-height:4.5rem; }
.variant-batch button { justify-self:start; }
.variant-batch .field-status { margin:0; }
.variant-batch .field-status:empty { display:none; }
.color-photo-row { display:grid; grid-template-columns:3rem minmax(4rem,1fr) minmax(0,2fr); gap:.6rem; align-items:center; }
.color-photo-row img { width:3rem; height:3rem; object-fit:cover; border-radius:.4rem; }
.color-photo-row input { max-width:100%; }
.color-photo-row strong { overflow-wrap:anywhere; }
.cart-product { display:grid; grid-template-columns:3.25rem minmax(0,1fr); gap:.65rem; align-items:center; min-width:0; }
.cart-product strong,.cart-product small { display:block; overflow-wrap:anywhere; }
.cart-product small { color:var(--muted); }
.cart-thumbnail { display:grid; place-items:center; width:3.25rem; aspect-ratio:1; overflow:hidden; border-radius:.5rem; background:var(--lav); color:var(--muted); font-size:.75rem; }
.cart-thumbnail img { width:100%; height:100%; object-fit:cover; }
.checkout-items { border:1px solid var(--line); border-radius:.8rem; padding:.7rem .85rem; margin-bottom:.85rem; }
.checkout-items h3,.checkout-items ul { margin:0; }
.checkout-items h3 { font-size:1rem; }
.checkout-items ul { padding:0; list-style:none; }
.checkout-items li { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.65rem; padding:.55rem 0; }
.checkout-items li + li { border-top:1px solid var(--line); }
.checkout-item-quantity { white-space:nowrap; color:var(--muted); font-size:.9rem; }
@media(max-width:460px) {
  .cart-line .cart-product { grid-column:1 / -1; }
  .cart-line [data-quantity] { grid-column:2; }
}
@media (max-width:570px) {
  .color-photo-row { grid-template-columns:3rem minmax(0,1fr); }
  .color-photo-row label { grid-column:1 / -1; }
}
