:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #66736d;
  --line: #dbe6de;
  --paper: #f6fbf7;
  --surface: #ffffff;
  --mint: #e5f4ec;
  --leaf: #0f6b4f;
  --leaf-dark: #084331;
  --aqua: #dff4f4;
  --amber: #c97a21;
  --sun: #fff3d9;
  --rose: #a93d3d;
  --rose-soft: #fff0f0;
  --shadow: 0 16px 44px rgba(26, 67, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.08;
}

h3 {
  font-size: 18px;
  line-height: 1.25;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(16px, 5vw, 58px);
  border-bottom: 1px solid rgba(15, 107, 79, 0.13);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--leaf);
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  letter-spacing: 0;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 32px);
  color: #35453e;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--leaf);
}

.secondary,
.primary {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 850;
}

.primary {
  background: var(--leaf);
  color: white;
  box-shadow: 0 10px 22px rgba(15, 107, 79, 0.16);
}

.secondary {
  background: var(--mint);
  color: var(--leaf-dark);
}

main {
  width: min(1180px, calc(100vw - 32px));
  margin: 24px auto 64px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: 520px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(15, 107, 79, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(229, 244, 236, 0.95), rgba(255, 243, 217, 0.75)),
    var(--surface);
  overflow: hidden;
}

.hero-copy {
  display: grid;
  gap: 20px;
}

.eyebrow {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero-text {
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions,
.actions,
.form-grid {
  display: flex;
  gap: 12px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.hero-product {
  position: relative;
  height: 420px;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--aqua);
  box-shadow: var(--shadow);
}

.hero-product img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-product-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-product-info strong {
  font-size: 20px;
}

.hero-product-info span:last-child {
  color: var(--muted);
  font-weight: 750;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 42px;
}

.trust-strip span,
.policy-grid article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(34, 61, 49, 0.06);
}

.trust-strip span {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: var(--leaf-dark);
  font-weight: 850;
  text-align: center;
}

.catalog-section {
  scroll-margin-top: 100px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: end;
  margin-bottom: 20px;
}

.toolbar {
  display: flex;
  justify-content: end;
  gap: 14px;
  flex-wrap: wrap;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.search {
  flex: 1 1 310px;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(15, 107, 79, 0.12);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}

.product-card,
.panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(26, 67, 51, 0.14);
}

.product-media {
  position: relative;
  display: block;
  background: linear-gradient(135deg, var(--mint), var(--sun));
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-category {
  position: absolute;
  left: 12px;
  top: 12px;
}

.product-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  flex: 1;
}

.product-title {
  min-height: 44px;
}

.product-description {
  color: var(--muted);
  line-height: 1.5;
}

.meta-row,
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.price {
  font-size: 22px;
  font-weight: 950;
  color: var(--leaf);
}

.badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 11px;
  background: var(--mint);
  color: var(--leaf-dark);
  font-size: 12px;
  font-weight: 900;
}

.badge.warning {
  background: var(--sun);
  color: var(--amber);
}

.badge.hidden-state {
  background: #eeeeee;
  color: #5e6762;
}

.link-button {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: white;
  font-weight: 900;
}

.content-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: center;
  margin-top: 54px;
  padding: 28px;
  border-radius: 24px;
  background: var(--leaf-dark);
  color: white;
}

.content-band .eyebrow {
  color: #a8ead0;
}

.content-band p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.policy-grid article {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.policy-grid strong {
  color: var(--leaf-dark);
  font-size: 17px;
}

.policy-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.panel {
  padding: 20px;
}

.narrow {
  width: min(430px, 100%);
  margin: 40px auto;
}

.stack {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.hidden {
  display: none !important;
}

.error {
  min-height: 20px;
  margin-top: 12px;
  color: var(--rose);
  font-weight: 800;
}

.empty {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 20px;
  background: white;
  color: var(--muted);
  text-align: center;
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--line);
}

.admin-tab {
  min-height: 40px;
  padding: 0 20px;
  border: 0;
  border-radius: 8px 8px 0 0;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}

.admin-tab.active {
  background: var(--leaf);
  color: #fff;
}

.admin-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 18px;
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

td {
  font-weight: 700;
}

.row-actions {
  justify-content: flex-end;
}

.danger {
  background: var(--rose-soft);
  color: var(--rose);
}

.form-panel {
  position: sticky;
  top: 96px;
}

.form-grid {
  align-items: start;
}

.form-grid > label {
  flex: 1;
}

dialog {
  width: min(980px, calc(100vw - 28px));
  border: 0;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(20, 32, 27, 0.25);
}

dialog::backdrop {
  background: rgba(24, 32, 28, 0.5);
}

.icon-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.detail-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: var(--mint);
}

.detail-body {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.detail-facts span,
.detail-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfdfb;
}

.detail-facts span {
  display: grid;
  gap: 4px;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.detail-facts strong {
  color: var(--ink);
  font-size: 15px;
}

.detail-section {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.detail-section h4 {
  margin: 0;
  color: var(--leaf-dark);
}

.detail-section p {
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: end;
  padding: 32px clamp(16px, 5vw, 58px);
  border-top: 1px solid var(--line);
  background: white;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--leaf-dark);
  font-size: 20px;
}

.site-footer p {
  max-width: 560px;
  line-height: 1.55;
}

.site-footer div:last-child {
  display: grid;
  gap: 8px;
  text-align: right;
  font-weight: 800;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .section-heading,
  .content-band,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .trust-strip,
  .policy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-image {
    min-height: 320px;
    max-height: 420px;
  }
}

@media (max-width: 840px) {
  .admin-layout {
    display: block;
  }

  .form-panel {
    position: static;
    margin-top: 18px;
  }
}

@media (max-width: 620px) {
  main {
    width: min(100% - 24px, 1180px);
    margin-top: 14px;
  }

  .topbar {
    align-items: start;
    gap: 12px;
    padding: 12px;
  }

  .brand small {
    display: none;
  }

  .hero {
    padding: 22px;
    border-radius: 22px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-product {
    height: 270px;
    min-height: 270px;
  }

  .hero-product img {
    height: 270px;
    min-height: 270px;
  }

  .hero-actions,
  .toolbar,
  .actions,
  .form-grid,
  .site-footer {
    display: grid;
    width: 100%;
  }

  .trust-strip,
  .policy-grid,
  .detail-facts {
    grid-template-columns: 1fr;
  }

  .admin-header .actions {
    margin-top: 14px;
  }

  .site-footer div:last-child {
    text-align: left;
  }
}

.image-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: 6px;
  margin-top: 4px;
  object-fit: contain;
}

/* ════════════════════════════════════════════════════════════
   STORE PAGE – all selectors scoped to .store-page or
   prefixed with store- / carousel- / trust- / policy- /
   footer- so they never collide with admin styles above.
   ════════════════════════════════════════════════════════════ */

/* Font */
.store-page {
  font-family: 'Be Vietnam Pro', Inter, ui-sans-serif, system-ui, sans-serif;
}

/* ── Topbar hotline pill ──────────────────────────────────── */
.store-hotline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--leaf-dark);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}
.store-hotline:hover { background: #cdebd9; }
.store-hotline .hotline-icon { font-size: 15px; flex-shrink: 0; }
.store-hotline small { display: block; font-size: 11px; color: var(--muted); line-height: 1; }
.store-hotline strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.2; }

/* ── Brand text span ─────────────────────────────────────── */
.brand-text strong { display: block; font-weight: 800; }
.brand-text small  { display: block; font-size: 11px; color: var(--muted); }

/* ── Hero Carousel ───────────────────────────────────────── */
.store-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 52vw, 560px);
  overflow: hidden;
  background: var(--leaf-dark);
}
.carousel {
  position: relative;
  width: 100%;
  height: 100%;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}
.carousel-slide.active .carousel-bg { transform: scale(1); }
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,67,49,.85) 0%, rgba(15,107,79,.45) 60%, transparent 100%);
}
.carousel-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  padding: clamp(32px, 6vw, 72px) clamp(24px, 8vw, 120px);
  max-width: 640px;
  height: 100%;
  align-content: center;
  color: white;
}
.carousel-eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.carousel-heading {
  margin: 0;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.05;
  color: white;
}
.carousel-sub {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  max-width: 460px;
}
.carousel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: white;
  color: var(--leaf-dark);
  font-weight: 900;
  font-size: 15px;
  transition: transform 120ms ease, box-shadow 120ms ease;
  text-decoration: none;
}
.carousel-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.carousel-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, border-color 0.3s;
}
.carousel-dot.active {
  width: 28px;
  background: white;
  border-color: white;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(255,255,255,.15);
  color: white;
  font-size: 18px;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: rgba(255,255,255,.28); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }

/* ── Trust Strip ─────────────────────────────────────────── */
.store-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 20px clamp(16px, 5vw, 58px);
  background: white;
  border-bottom: 1px solid var(--line);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.trust-icon {
  font-size: 20px;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mint);
}
.trust-body strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--leaf-dark);
}
.trust-body span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Store main wrapper ──────────────────────────────────── */
.store-main {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto 80px;
}

/* ── Catalog Section ─────────────────────────────────────── */
.store-catalog {
  padding-top: 52px;
  scroll-margin-top: 90px;
}
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.store-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 240px;
  max-width: 340px;
  flex: 1;
}
.store-search svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--muted);
  pointer-events: none;
}
.store-search input {
  padding-left: 40px;
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: white;
  width: 100%;
  outline: none;
}
.store-search input:focus {
  border-color: var(--leaf);
  box-shadow: 0 0 0 4px rgba(15,107,79,.10);
}

/* ── Category Chips ──────────────────────────────────────── */
.category-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 28px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.category-chips::-webkit-scrollbar { display: none; }
.category-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: white;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.category-chip:hover { border-color: var(--leaf); color: var(--leaf); }
.category-chip.active {
  background: var(--leaf);
  border-color: var(--leaf);
  color: white;
}

/* ── Store Product Cards ─────────────────────────────────── */
.store-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(26,67,51,.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(26,67,51,.14);
}
.store-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sun) 100%);
  text-decoration: none;
}
.store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.store-card:hover .store-card-media img { transform: scale(1.05); }
.store-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.store-card-category {
  background: var(--mint);
  color: var(--leaf-dark);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}
.store-card-status {
  font-size: 11px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 999px;
}
.store-card-status.in-stock  { background: var(--mint); color: var(--leaf-dark); }
.store-card-status.out-of-stock { background: var(--sun); color: var(--amber); }
.store-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  flex: 1;
}
.store-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  margin: 0;
}
.store-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0;
}
.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
}
.store-card-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--leaf);
}
.store-card-btn {
  flex-shrink: 0;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: white;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
}
.store-card-btn:hover { background: var(--leaf-dark); }

/* ── Policy Section ──────────────────────────────────────── */
.store-policy-section {
  padding: 64px 0;
  scroll-margin-top: 90px;
}
.section-label { margin-bottom: 32px; }
.store-policy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.policy-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 4px 18px rgba(26,67,51,.06);
}
.policy-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 22px;
}
.policy-icon--green { background: var(--mint); }
.policy-icon--amber { background: var(--sun); }
.policy-card h3 { font-size: 16px; font-weight: 800; color: var(--leaf-dark); margin: 0; }
.policy-card p  { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ── Store Footer ────────────────────────────────────────── */
.store-footer {
  background: var(--leaf-dark);
  color: rgba(255,255,255,.75);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 56px clamp(24px, 8vw, 120px);
  max-width: 1180px;
  margin: 0 auto;
}
.footer-brand .brand-mark { background: rgba(255,255,255,.15); }
.footer-brand .brand-text strong { color: white; }
.footer-brand .brand-text small  { color: rgba(255,255,255,.55); }
.footer-desc {
  margin: 18px 0 10px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 340px;
}
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 340px;
  margin: 0;
}
.footer-links, .footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-links strong, .footer-contact strong {
  display: block;
  color: white;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 4px;
}
.footer-links a, .footer-contact a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color 0.15s;
}
.footer-links a:hover, .footer-contact a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px clamp(24px, 8vw, 120px);
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}

/* ── Product Detail Modal ────────────────────────────────── */
.store-dialog {
  width: min(1020px, calc(100vw - 24px));
  max-height: 92vh;
  overflow: hidden;
  border: none;
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 32px 80px rgba(0,0,0,.28);
}
#product-detail {
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.store-dialog::backdrop { background: rgba(0,0,0,.55); backdrop-filter: blur(3px); }
.store-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  font-size: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.store-detail-layout {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
  flex: 1;
  min-height: 0;
}
.store-detail-image-wrap {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mint), var(--sun));
}
.store-detail-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.store-detail-body {
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 20px;
  align-content: start;
}
.store-detail-category {
  font-size: 12px;
  font-weight: 900;
  color: var(--leaf);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0;
}
.store-detail-title {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}
.store-detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.store-detail-price {
  font-size: 26px;
  font-weight: 900;
  color: var(--leaf);
}
.store-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.store-fact {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: var(--paper);
}
.store-fact-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.store-fact-value {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}
.store-detail-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: var(--paper);
}
.store-detail-section h4 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 900;
  color: var(--leaf-dark);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.store-detail-section p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }
.store-detail-desc { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.store-detail-cta { display: grid; gap: 10px; }
.store-detail-buy-btn {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--leaf);
  color: white;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.15s;
}
.store-detail-buy-btn:hover { background: var(--leaf-dark); }
.store-detail-contact-btn {
  width: 100%;
  min-height: 46px;
  border: 2px solid var(--leaf);
  border-radius: 999px;
  background: transparent;
  color: var(--leaf);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s;
}
.store-detail-contact-btn:hover { background: var(--mint); }

/* ── Responsive – store additions ────────────────────────── */
@media (max-width: 1024px) {
  .store-policy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .store-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-header { flex-direction: column; align-items: flex-start; }
  .store-search { max-width: 100%; width: 100%; }
  .store-detail-layout { grid-template-columns: 1fr; }
  .store-detail-image-wrap img { min-height: 240px; max-height: 300px; }
  .carousel-arrow { display: none; }
}

@media (max-width: 620px) {
  .store-trust { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
  .store-policy-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px; }
  .store-hotline .hotline-text { display: none; }
  .store-detail-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .store-detail-layout { flex: unset; min-height: unset; }
  #product-detail { display: block; max-height: none; overflow-y: auto; }
  .store-dialog { max-height: 96vh; overflow-y: auto; }
}
