:root {
  color-scheme: light;
  --ink: #102c35;
  --muted: #63777a;
  --green: #147b62;
  --green-dark: #0f5e4c;
  --mint: #e3f0e8;
  --cream: #f5f8f3;
  --line: #dce5dd;
  --white: #fff;
  --yellow: #f2b84b;
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.store-header { min-height: 76px; padding: 0 max(5vw, calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(220,230,221,.8); }
.store-header { position: sticky; z-index: 20; top: 0; padding: 0; background: rgb(245 248 243 / 94%); border-bottom-color: rgb(16 44 53 / 7%); backdrop-filter: blur(16px); }
.store-header-inner { width: min(1160px, calc(100% - 56px)); min-height: 78px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.store-brand { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .19em; }
.store-brand img { display: block; width: 177px; height: auto; object-fit: contain; }
.store-brand span { padding-left: 13px; border-left: 1px solid var(--line); }
.store-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.store-nav > a { color: #28434a; font-size: 13px; font-weight: 600; transition: color .18s ease; }
.store-nav > a:hover { color: var(--green); }
.button { min-height: 46px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 8px; font-weight: 700; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--green); }
.button-primary:hover { background: var(--green-dark); }
.button-dark { color: white; background: var(--ink); }
.button-secondary { color: var(--ink); background: #edf2ed; border: 1px solid var(--line); }
.button-full { width: 100%; }
.cart-count, .nav-count { min-width: 23px; height: 23px; padding: 0 6px; display: inline-grid; place-items: center; color: var(--ink); background: #f2c05d; border-radius: 99px; font-size: 12px; }
.store-hero { min-height: 510px; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0,1.03fr) minmax(340px,.97fr); align-items: center; gap: 38px; padding: 55px max(7vw,calc((100vw - 1160px)/2)); background: var(--cream); }
.store-hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -140px; top: -210px; border: 1px solid rgba(22,132,95,.12); border-radius: 50%; box-shadow: 0 0 0 40px rgba(22,132,95,.035),0 0 0 80px rgba(22,132,95,.03); }
.store-hero-copy { z-index: 1; max-width: 610px; padding: 0 0 36px 4px; }
.eyebrow { margin: 0 0 15px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; margin-right: 8px; display: inline-block; background: var(--yellow); border-radius: 50%; vertical-align: 1px; box-shadow: 0 0 0 4px rgb(242 184 75 / 17%); }
.store-hero h1 { margin: 0; font-family: "Manrope",sans-serif; font-size: clamp(44px,5vw,67px); font-weight: 700; line-height: 1.07; letter-spacing: -.065em; }
.store-hero h1 span { color: var(--green); }
.store-hero-copy > p:not(.eyebrow) { max-width: 490px; margin: 21px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.store-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.store-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 13px; font-weight: 700; }
.store-text-link span { color: var(--green); font-size: 17px; transition: transform .18s ease; }
.store-text-link:hover span { transform: translateX(3px); }
.shipping-note { margin-top: 34px; color: var(--muted); font-size: 11px; }
.shipping-note span { margin-right: 6px; color: var(--green); }
.store-hero-art { height: 300px; position: relative; border-radius: 50%; }
.sun-disc { width: 145px; height: 145px; position: absolute; top: 17px; right: 25%; background: #f2bf5c; border-radius: 50%; box-shadow: 0 0 0 24px rgba(242,191,92,.15),0 0 0 52px rgba(242,191,92,.08); }
.solar-panel { width: 270px; height: 142px; position: absolute; z-index: 1; bottom: 55px; transform: skewY(-21deg) rotate(8deg); background: repeating-linear-gradient(90deg,transparent 0 52px,#89c9bc 53px 55px),repeating-linear-gradient(0deg,#1b5960 0 43px,#89c9bc 44px 46px); border: 6px solid #f8fcf4; border-radius: 9px; box-shadow: 0 18px 34px rgba(19,63,62,.22); }
.panel-one { left: 12%; }
.panel-two { right: 4%; bottom: 27px; transform: skewY(-21deg) rotate(8deg) scale(.77); opacity: .84; }
.hero-sun-label { position: absolute; z-index: 2; right: 17%; bottom: 4px; color: #5a7669; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.hero-sun-label span { color: #e0a441; }
.catalog-section { max-width: 1240px; min-height: 350px; margin: auto; padding: 92px 32px 96px; scroll-margin-top: 92px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2 { margin: 0; font-family: "Manrope","Segoe UI",Arial,sans-serif; font-size: clamp(27px,3vw,37px); letter-spacing: -.045em; }
.search-wrap { width: min(300px,100%); height: 46px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); }
.search-wrap input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 14px; }
.category-list { margin: 29px 0 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.category-chip { padding: 9px 15px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); background: white; font-size: 12px; font-weight: 700; }
.category-chip.is-active { color: white; border-color: var(--ink); background: var(--ink); }
.store-message { margin: 24px 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.product-card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 9px; background: white; box-shadow: 0 5px 20px rgba(16,44,53,.035); transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16,44,53,.09); }
.product-image { width: 100%; aspect-ratio: 1.55; display: block; object-fit: cover; background: var(--mint); }
.product-image-placeholder { aspect-ratio: 1.55; display: grid; place-items: center; color: #6d9c85; background: linear-gradient(140deg,#eaf3e9,#d5e9dc); font-size: 44px; }
.product-copy { padding: 21px; display: flex; flex: 1; flex-direction: column; }
.product-category { margin-bottom: 8px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-name { margin: 0; font-family: "Manrope",sans-serif; font-size: 19px; line-height: 1.25; letter-spacing: -.025em; }
.product-description { min-height: 42px; margin: 9px 0 17px; color: var(--muted); font-size: 13px; line-height: 1.55; white-space: pre-line; }
.product-stock { margin: auto 0 11px; color: var(--green-dark); font-size: 11px; font-weight: 700; }
.product-stock.is-empty { color: #9a443b; }
.product-pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 8px; }
.product-price-before,.price-before { color: #798783; font-size: 12px; font-weight: 500; }
.product-discount,.discount-label { display: inline-block; padding: 3px 6px; border-radius: 4px; color: #8b3b2d; background: #fce8dd; font-size: 10px; font-weight: 800; }
.product-buy-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-price { font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.product-buy-row .button { min-height: 40px; padding: 0 13px; font-size: 12px; }
.button:disabled,.cart-line-controls button:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.store-promise { padding: 37px max(5vw,calc((100vw - 1150px)/2)); display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; background: white; border-top: 1px solid var(--line); }
.store-promise > div { display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 13px; }
.promise-icon { width: 40px; height: 40px; display: grid; place-items: center; grid-row: span 2; border-radius: 10px; color: var(--green); background: var(--mint); font-size: 18px; }
.store-promise strong { font-size: 14px; }
.store-promise p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.store-footer { min-height: 82px; padding: 18px max(5vw,calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--muted); background: #f2f5f0; font-size: 11px; }
.store-footer .store-brand img { width: 118px; }
.store-footer > a:last-child { color: var(--green-dark); font-weight: 700; }
.product-card-link { display: block; overflow: hidden; background: var(--mint); }
.product-card-link .product-image,.product-card-link .product-image-placeholder { transition: transform .25s ease; }
.product-card:hover .product-card-link .product-image { transform: scale(1.035); }
.product-name a:hover,.product-detail-link:hover { color: var(--green); }
.product-detail-link { margin-top: 14px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.product-detail-link span { margin-left: 4px; color: var(--green); }
.product-detail-section { min-height: 480px; max-width: 1160px; margin: auto; padding: 36px 28px 100px; }
.store-hero[hidden],.catalog-section[hidden],.product-detail-section[hidden] { display: none; }
.product-detail-breadcrumb { margin-bottom: 29px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.product-detail-breadcrumb a { color: var(--green-dark); font-weight: 700; }
.product-detail-layout { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); align-items: start; gap: clamp(35px,7vw,90px); }
.product-detail-gallery { min-width: 0; }
.product-detail-image,.product-detail-placeholder { width: 100%; aspect-ratio: 1.15; display: block; object-fit: contain; border: 1px solid var(--line); border-radius: 10px; background: white; }
.product-detail-placeholder { display: grid; place-items: center; color: #6d9c85; background: linear-gradient(140deg,#eaf3e9,#d5e9dc); font-size: 68px; }
.product-gallery-thumbnails { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.product-gallery-thumb { width: 76px; height: 76px; overflow: hidden; padding: 0; border: 2px solid transparent; border-radius: 7px; background: white; cursor: pointer; }
.product-gallery-thumb.is-active { border-color: var(--green); }
.product-gallery-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-detail-copy { padding-top: 16px; }
.product-detail-copy h1,.product-detail-not-found h1 { margin: 8px 0 14px; font-family: "Manrope",sans-serif; font-size: clamp(34px,4vw,51px); line-height: 1.08; letter-spacing: -.055em; }
.product-detail-sku { margin-bottom: 19px; color: var(--muted); font-size: 12px; }
.product-detail-pricing { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 12px; }
.product-detail-pricing strong { font-size: 27px; font-weight: 800; letter-spacing: -.04em; }
.product-detail-pricing .product-price-before { font-size: 15px; }
.product-detail-pricing .product-discount { font-size: 12px; }
.product-detail-stock { margin-top: 11px; color: var(--green-dark); font-size: 12px; font-weight: 700; }
.product-detail-stock.is-empty { color: #9a443b; }
.product-detail-description { margin: 23px 0; color: var(--muted); font-size: 14px; line-height: 1.8; white-space: pre-line; }
.product-facts { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.product-facts h2 { margin: 0 0 14px; font-size: 17px; }
.product-facts dl { margin: 0; }
.product-facts dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; text-align: right; font-weight: 700; }
.product-facts p,.product-facts a { display: block; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.product-facts a { margin-top: 12px; color: var(--green); font-weight: 700; }
.product-detail-add { min-width: 210px; }
.product-detail-shipping { margin: 15px 0 24px; color: var(--muted); font-size: 11px; }
.product-detail-not-found { max-width: 650px; margin: 45px auto; padding: 45px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.cart-backdrop { position: fixed; z-index: 20; inset: 0; background: rgba(13,33,36,.43); }
.cart-backdrop[hidden] { display: none; }
.cart-drawer { width: min(440px,100%); height: 100dvh; position: fixed; z-index: 21; top: 0; right: 0; padding: 26px; display: flex; flex-direction: column; background: white; box-shadow: -12px 0 45px rgba(20,45,45,.15); transform: translateX(105%); transition: transform .25s ease; }
.cart-drawer.is-open { transform: translateX(0); }
.drawer-heading { margin-bottom: 20px; display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.drawer-heading .eyebrow { margin-bottom: 5px; }
.drawer-heading h2 { margin: 0; font-family: "Manrope","Segoe UI",Arial,sans-serif; font-size: 27px; letter-spacing: -.04em; }
.icon-button { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); background: white; font-size: 22px; }
.cart-items { min-height: 0; flex: 1; overflow-y: auto; }
.cart-line { padding: 14px 0; display: grid; grid-template-columns: 1fr auto; gap: 9px; border-bottom: 1px solid var(--line); }
.cart-line-name { font-size: 14px; font-weight: 700; }
.cart-line-price { color: var(--muted); font-size: 12px; }
.cart-line-controls { display: flex; align-items: center; gap: 8px; }
.cart-line-controls button { width: 27px; height: 27px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; }
.cart-line-controls .remove-line { width: auto; padding: 0 4px; border: 0; color: #a44b44; font-size: 11px; }
.cart-footer { padding-top: 16px; border-top: 1px solid var(--line); }
.cart-total,.checkout-total { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
.cart-total strong,.checkout-total strong { font-size: 20px; }
.cart-footer > p,.checkout-shipping { color: var(--muted); font-size: 12px; line-height: 1.5; }
.cart-footer .button { margin-top: 8px; }
.checkout-dialog,.product-dialog { width: min(590px,calc(100% - 28px)); max-height: min(92dvh,850px); padding: 0; overflow-y: auto; border: 0; border-radius: 15px; color: var(--ink); background: white; box-shadow: 0 25px 80px rgba(12,35,38,.26); }
.checkout-dialog::backdrop,.product-dialog::backdrop { background: rgba(13,33,36,.56); backdrop-filter: blur(3px); }
.checkout-form,.product-form { padding: 28px; }
.checkout-form .drawer-heading,.product-form .drawer-heading { margin-bottom: 5px; }
.checkout-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkout-fields label { display: flex; flex-direction: column; gap: 7px; color: #435b56; font-size: 12px; font-weight: 700; }
.checkout-fields input,.checkout-fields textarea { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--green); color: var(--ink); background: white; font-size: 14px; font-weight: 400; }
.checkout-fields textarea { resize: vertical; }
.address-autocomplete { position: relative; display: flex; flex-direction: column; gap: 7px; color: #435b56; font-size: 12px; font-weight: 700; }
.address-autocomplete input { width: 100%; min-height: 43px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--green); color: var(--ink); background: white; font-size: 14px; font-weight: 400; }
.address-suggestions { position: absolute; z-index: 5; top: calc(100% - 29px); left: 0; right: 0; max-height: 220px; margin: 0; padding: 4px; overflow-y: auto; list-style: none; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 8px 22px rgba(12,35,38,.14); }
.address-suggestions li { padding: 9px; border-radius: 5px; color: var(--ink); font-size: 13px; font-weight: 400; cursor: pointer; }
.address-suggestions li[aria-selected="true"],.address-suggestions li:hover { background: #edf5ef; }
.address-help { margin: 0; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; }
.field-full { grid-column: 1/-1; }
.checkout-total { margin: 22px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.checkout-error,.form-error { color: #a43332; font-size: 13px; line-height: 1.45; }
.checkout-form small { margin-top: 11px; display: block; color: var(--muted); font-size: 11px; line-height: 1.45; text-align: center; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: 22px; max-width: calc(100% - 30px); padding: 12px 18px; color: white; background: var(--ink); border-radius: 8px; box-shadow: 0 8px 28px rgba(0,0,0,.18); opacity: 0; pointer-events: none; transform: translate(-50%,12px); transition: .2s ease; font-size: 13px; }
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.toast.is-error { background: #9e3b35; }

.admin-body { min-height: 100vh; display: grid; grid-template-columns: 246px minmax(0,1fr); background: #f6f8f7; font-family: "Segoe UI",Arial,sans-serif; }
.admin-sidebar { min-height: 100vh; padding: 27px 18px 15px; display: flex; flex-direction: column; background: #102b30; color: white; }
.admin-sidebar .store-brand { padding: 2px 7px 23px; color: white; font-size: 9px; letter-spacing: 1.8px; }
.admin-sidebar .store-brand img { width: 176px; padding: 11px; border-radius: 10px; background: white; }
.sidebar-label { padding: 21px 11px 10px; color: #9bb9aa; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.admin-nav { width: 100%; min-height: 43px; margin: 3px 0; padding: 0 11px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 7px; color: #c4d7cb; background: transparent; text-align: left; font-size: 13px; font-weight: 700; }
.admin-nav.module-link { text-decoration: none; }
.admin-nav.module-link.is-active, .admin-nav.is-active { color: white; background: #1d4745; }
.admin-nav > span:first-child { width: 18px; text-align: center; }
.admin-modules, .admin-section-nav { display: grid; gap: 5px; }
.admin-modules { margin-bottom: 2px; }
.admin-section-nav .admin-nav { margin: 0; }
.admin-nav .nav-count { margin-left: auto; }
.admin-sidebar-bottom { margin-top: auto; padding: 17px 9px 0; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.16); color: #bad0c5; font-size: 11px; }
.admin-sidebar-bottom a { color: #e3eddf; font-weight: 700; }
.admin-account { overflow-wrap: anywhere; }
.admin-main { min-width: 0; }
.admin-topbar { min-height: 58px; padding: 0 39px; display: flex; align-items: center; justify-content: space-between; gap: 15px; background: white; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.admin-topbar > span:first-child { color: #698078; }
.admin-topbar strong { color: var(--ink); }
.sync-pill { padding: 7px 10px; border-radius: 99px; color: var(--green-dark); background: var(--mint); font-size: 11px; font-weight: 700; }
.admin-content { width: min(1530px, 100%); margin: auto; padding: 31px 39px 48px; }
.admin-topbar { position: sticky; top: 0; z-index: 4; backdrop-filter: blur(12px); background: rgb(255 255 255 / 94%); }
.admin-heading { margin-bottom: 25px; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.admin-heading .eyebrow { margin-bottom: 7px; }
.admin-heading h1 { margin: 0; font-family: "Segoe UI",Arial,sans-serif; font-size: 25px; letter-spacing: -.035em; line-height: 1.25; }
.admin-heading p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.admin-toolbar { margin-bottom: 15px; display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.admin-search { width: min(340px,100%); height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; outline-color: var(--green); background: white; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
.admin-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.admin-table th { padding: 13px 15px; color: var(--muted); background: #f8faf7; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.admin-table td { padding: 13px 15px; border-top: 1px solid #edf1ed; vertical-align: middle; }
.admin-table th:first-child,.admin-table td:first-child { padding-left: 20px; }
.admin-product { min-width: 175px; display: flex; align-items: center; gap: 11px; }
.admin-product img,.admin-product-placeholder { width: 44px; height: 42px; object-fit: cover; border-radius: 6px; background: var(--mint); }
.admin-product-placeholder { display: grid; place-items: center; color: var(--green); font-size: 18px; }
.admin-product strong { display: block; color: var(--ink); font-size: 12px; }
.admin-product small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.status-tag { padding: 5px 8px; display: inline-block; border-radius: 20px; color: #367754; background: #e5f4e8; font-size: 10px; font-weight: 800; }
.status-tag.is-muted { color: #777d78; background: #edf0ed; }
.status-tag.is-error { color: #8d302b; background: #f9e6e4; }
.table-actions { display: flex; gap: 7px; }
.table-actions button { min-height: 31px; padding: 0 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; font-size: 10px; font-weight: 700; }
.table-actions button[data-delete] { color: #a3433a; }
.empty-admin { padding: 45px 20px; color: var(--muted); text-align: center; }
.order-customer strong { display: block; }
.order-customer a { margin-top: 4px; display: inline-block; color: var(--green-dark); font-size: 11px; }
.order-items { max-width: 250px; color: var(--muted); line-height: 1.5; }
.record-list { display: grid; gap: 12px; }
.record-card { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.record-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.record-card h3 { margin: 0 0 5px; font-size: 13px; }
.record-card p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.record-card textarea { width: 100%; min-height: 80px; margin: 12px 0; padding: 10px; border: 1px solid var(--line); border-radius: 7px; font: inherit; resize: vertical; }
.order-status-select { min-height: 34px; padding: 0 7px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: white; font-size: 11px; }
.checkbox-field { flex-direction: row!important; align-items: center; }
.checkbox-field input { width: 16px; min-height: 16px; accent-color: var(--green); }
.image-upload-preview:empty { display: none; }
.image-upload-thumbnails { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 8px; }
.image-upload-thumbnails img { width: 64px; height: 64px; object-fit: cover; border: 1px solid var(--line); border-radius: 7px; }
.form-actions { margin-top: 19px; display: flex; justify-content: flex-end; gap: 10px; }

@media (max-width: 850px) {
  .store-header-inner { width: calc(100% - 42px); }
  .product-detail-layout { gap: 28px; }
  .store-hero { min-height: 450px; grid-template-columns: 1.05fr .95fr; gap: 12px; padding-left: 5vw; padding-right: 5vw; }
  .store-hero-art { transform: scale(.8); transform-origin: center right; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .store-promise { padding-left: 5vw; padding-right: 5vw; gap: 15px; }
  .admin-body { grid-template-columns: 205px minmax(0,1fr); }
  .admin-content { padding: 28px 22px 55px; }
  .admin-topbar { padding: 0 22px; }
}
@media (max-width: 620px) {
  .store-header-inner { width: calc(100% - 36px); min-height: 64px; }
  .store-brand img { width: 145px; }
  .store-brand { gap: 8px; font-size: 9px; }
  .store-brand span { padding-left: 8px; }
  .store-nav { gap: 9px; font-size: 12px; }
  .store-nav > a:nth-of-type(3) { display: none; }
  .store-nav .button { min-height: 39px; padding: 0 11px; }
  .store-hero { min-height: auto; grid-template-columns: 1fr; gap: 2px; padding: 48px 23px 33px; }
  .store-hero-copy { padding: 0; }
  .store-hero h1 { font-size: clamp(39px,10vw,48px); }
  .store-hero-actions { gap: 15px; }
  .store-hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .store-hero-art { height: 210px; margin-top: 6px; transform: scale(.72); transform-origin: top center; }
  .sun-disc { top: -1px; }
  .catalog-section { padding: 66px 18px 68px; }
  .product-detail-section { padding: 25px 18px 65px; }
  .product-detail-layout { grid-template-columns: 1fr; gap: 18px; }
  .product-detail-image,.product-detail-placeholder { aspect-ratio: 1.25; }
  .product-detail-copy { padding-top: 6px; }
  .product-detail-copy h1 { font-size: 37px; }
  .product-detail-not-found { margin: 20px auto; padding: 25px; }
  .section-heading { align-items: stretch; flex-direction: column; gap: 15px; }
  .search-wrap { width: 100%; }
  .category-list { margin: 20px 0; }
  .product-grid { grid-template-columns: 1fr; gap: 15px; }
  .product-image,.product-image-placeholder { aspect-ratio: 1.85; }
  .store-promise { grid-template-columns: 1fr; padding: 28px 22px; gap: 19px; }
  .store-footer { padding: 20px; align-items: flex-start; flex-direction: column; }
  .store-footer > span { order: 2; }
  .cart-drawer { padding: 21px; }
  .checkout-form,.product-form { padding: 22px 18px; }
  .checkout-fields { grid-template-columns: 1fr; gap: 12px; }
  .field-full { grid-column: auto; }
  .admin-body { display: block; }
  .admin-sidebar { min-height: 0; padding: 14px 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .admin-sidebar .store-brand { grid-column: 1/-1; padding: 0 5px 12px; }
  .admin-sidebar .store-brand img { width: 112px; }
  .sidebar-label { display: none; }
  .admin-nav { min-height: 39px; margin: 0; padding: 0 8px; }
  .admin-sidebar-bottom { grid-column: 1/-1; margin-top: 9px; padding: 11px 5px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .admin-topbar { min-height: 52px; padding: 0 16px; font-size: 10px; }
  .admin-content { padding: 25px 13px 45px; }
  .admin-heading { align-items: flex-start; flex-direction: column; }
  .admin-heading h1 { font-size: 28px; }
  .admin-heading .button { width: 100%; }
  .admin-toolbar { align-items: stretch; flex-direction: column; }
  .admin-search { width: 100%; }
}
@media (max-width: 850px) {
  .admin-body { display: block; }
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; width: 69px; min-height: 0; align-items: center; padding: 19px 9px 15px; }
  .admin-sidebar .store-brand { align-items: center; padding: 2px 0 18px; }
  .admin-sidebar .store-brand img { width: 49px; height: 44px; padding: 7px 4px; }
  .admin-sidebar .store-brand span, .admin-sidebar .sidebar-label, .admin-sidebar-bottom { display: none; }
  .admin-modules, .admin-section-nav { width: 100%; }
  .admin-nav { justify-content: center; min-height: 43px; margin: 0; padding: 0; font-size: 0; }
  .admin-nav > span:first-child { width: auto; font-size: 19px; }
  .admin-nav > span:nth-child(2) { display: none; }
  .admin-nav .nav-count { position: absolute; top: -3px; right: -3px; display: grid; min-width: 17px; height: 17px; border: 2px solid #102b30; border-radius: 50%; background: #f2b84b; color: #102b30; font-size: 8px; }
  .admin-section-nav .admin-nav:last-child { position: relative; }
  .admin-main { margin-left: 69px; }
  .admin-content { padding: 25px 22px 45px; }
  .admin-topbar { padding: 0 22px; }
}
