:root {
  --primary: #0f6b4e;
  --primary-dark: #084b37;
  --accent: #e24b2d;
  --gold: #f8c84e;
  --bg: #f8fbf7;
  --soft: #eef7f1;
  --cream: #fff8e7;
  --text: #0e1726;
  --muted: #6b7280;
  --line: #dce8df;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(14, 23, 38, 0.08);
  --shadow-sm: 0 10px 25px rgba(14, 23, 38, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --tagline-bg: #dff3e8;
  --tagline-text: #07583f;
}

a[href], button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"], select, label[for], .nav-menu a, .menu-item a { cursor: pointer; }
button:disabled, input:disabled, select:disabled, [aria-disabled="true"] { cursor: not-allowed; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

.instant-progress { position: fixed; inset: 0 0 auto; z-index: 100001; height: 3px; pointer-events: none; opacity: 0; }
.instant-progress i { display: block; width: 0; height: 100%; border-radius: 0 999px 999px 0; background: linear-gradient(90deg, var(--primary), #46c998); box-shadow: 0 0 14px rgba(14,122,87,.5); }
.instant-progress.loading { opacity: 1; }
.instant-progress.loading i { width: 82%; transition: width 1.8s cubic-bezier(.1,.7,.2,1); }
.instant-progress.done { opacity: 1; transition: opacity .25s ease .12s; }
.instant-progress.done i { width: 100%; transition: width .16s ease; }
.instant-loading main { opacity: .72; transition: opacity .15s ease; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: instant-out .16s ease both; }
::view-transition-new(root) { animation: instant-in .22s ease both; }
@keyframes instant-out { to { opacity: .5; transform: translateY(-4px); } }
@keyframes instant-in { from { opacity: 0; transform: translateY(7px); } }

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

a:hover,
a:focus,
a:active,
button,
.button,
.btn,
[role="button"] {
  text-decoration: none !important;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  cursor: pointer;
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0.95;
}

.site-header {
  background: rgba(248, 251, 247, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-main {
  min-height: 82px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
}

.logo img {
  width: 190px;
  height: auto;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 760px;
  justify-self: center;
  position: relative;
  overflow: visible;
}

.search-form input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 15px 18px;
  background: transparent;
  color: var(--text);
}

.search-form button {
  border: 0;
  padding: 14px 22px;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  border-radius: 999px;
  margin-right: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.menu-toggle {
  min-width: 44px;
  height: 44px;
  padding-inline: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  color: var(--text);
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -5px;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  border: 2px solid var(--white);
}

.wishlist-count {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 11px;
}

.menu-toggle {
  display: none;
}

.mobile-nav-head,
.mobile-nav-label {
  display: none;
}

.nav-wrap {
  border-top: 1px solid var(--line);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
}

.nav-menu a {
  padding: 11px 15px;
  border-radius: 999px;
  font-weight: 750;
  color: #203126;
}

.nav-menu a:hover,
.nav-menu a.active {
  background: var(--soft);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(15, 107, 78, 0.22);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(226, 75, 45, 0.18);
}

.btn-outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-full {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.badge-sale {
  background: var(--accent);
  color: var(--white);
}

.badge-gold {
  background: var(--tagline-bg);
  color: var(--tagline-text);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--tagline-bg);
  color: var(--tagline-text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .01em;
  border: 1px solid rgba(7, 88, 63, .08);
}
.section-kicker-light { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.2); }

.hero {
  padding: 46px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 42px;
}

.hero-slider-track { position: relative; }
.hero-slide { display: none; animation: heroFade .55s ease; }
.hero-slide.active { display: block; }
@keyframes heroFade { from { opacity: .72; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.hero-slider-controls { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.hero-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #bfd1c7; transition: width .2s ease, background .2s ease; }
.hero-dot.active { width: 28px; border-radius: 999px; background: var(--primary); }

.hero-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 5.3vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  max-width: 590px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.hero-highlight {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.hero-highlight strong {
  display: block;
  font-size: 20px;
  color: var(--primary);
}

.hero-highlight span {
  color: var(--muted);
  font-size: 13px;
}

.hero-image {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 26px 64px rgba(14, 23, 38, 0.16);
  isolation: isolate;
}

.hero-image img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 31, 24, .2));
}

.floating-card {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow);
  z-index: 1;
  max-width: calc(100% - 40px);
}

.floating-card strong {
  display: block;
  font-size: 15px;
}

.floating-card span {
  color: var(--muted);
  font-size: 14px;
}

.live-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 100;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.live-search-item { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 9px; border-radius: 12px; }
.live-search-item:hover { background: var(--soft); }
.live-search-item img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; }
.live-search-item strong { font-size: 14px; }
.live-search-item span { color: var(--primary); font-weight: 900; font-size: 13px; }
.live-search-empty { padding: 18px; color: var(--muted); text-align: center; }

.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.section-head p,
.page-title p {
  margin: 8px 0 0;
  color: var(--muted);
}

.shop-ordering { position: relative; display: flex; align-items: center; gap: 10px; z-index: 12; }
.sort-label { color: var(--muted); font-size: 14px; white-space: nowrap; }
.sort-trigger { min-width: 190px; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 15px; border: 1px solid var(--line); border-radius: 14px; background: var(--white); color: var(--text); font-weight: 800; box-shadow: var(--shadow-sm); }
.sort-trigger i { color: var(--primary); font-size: 18px; font-style: normal; transition: transform .18s ease; }
.shop-ordering.open .sort-trigger { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,122,87,.1); }
.shop-ordering.open .sort-trigger i { transform: rotate(180deg); }
.sort-menu { position: absolute; top: calc(100% + 8px); right: 0; width: 240px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 18px 45px rgba(8,40,30,.18); opacity: 0; transform: translateY(-6px); transition: opacity .16s ease, transform .16s ease; z-index: 100; }
.shop-ordering.open .sort-menu { opacity: 1; transform: translateY(0); }
.sort-menu[hidden] { display: none; }
.sort-menu button { width: 100%; min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--text); text-align: left; font-size: 13px; font-weight: 750; }
.sort-menu button:hover,
.sort-menu button.active { background: var(--soft); color: var(--primary); }
.sort-menu button b { visibility: hidden; color: var(--primary); }
.sort-menu button.active b { visibility: visible; }

.category-section-head { flex-direction: row; align-items: flex-end; }
.category-head-actions { display: flex; align-items: center; gap: 9px; }
.category-arrow { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--primary); font-size: 18px; font-weight: 900; box-shadow: var(--shadow-sm); }
.category-arrow:hover { border-color: var(--primary); background: var(--soft); }
.category-arrow:disabled { opacity: .4; cursor: not-allowed; }
.category-slider { overflow: hidden; margin: -4px; padding: 4px; }
.category-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px 0 8px; }
.category-grid::-webkit-scrollbar { display: none; }

.category-card {
  flex: 0 0 calc((100% - 98px) / 8);
  min-width: 118px;
  scroll-snap-align: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 107, 78, 0.35);
}

.category-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  font-size: 26px;
}

.category-card strong {
  display: block;
  font-size: 15px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-media {
  background: var(--soft);
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  position: relative;
}

.product-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.025);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-body {
  padding: 14px 4px 4px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 13px;
  color: var(--primary);
  font-weight: 900;
}

.product-title {
  margin: 6px 0 8px;
  font-size: 17px;
  line-height: 1.3;
  min-height: 44px;
}

.product-rating { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: var(--muted); font-size: 12px; line-height: 1; white-space: nowrap; }
.product-rating-stars { position: relative; display: inline-block; line-height: 1; letter-spacing: 1px; }
.product-rating-stars > span { color: #dce3df; }
.product-rating-stars > i { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #f4a300; font-style: normal; white-space: nowrap; }
.product-rating strong { color: var(--text); font-size: 12px; font-weight: 900; }
.product-rating-count { color: var(--muted); }
.product-rating-empty { color: var(--muted); font-weight: 700; }

.product-meta-row {
  min-height: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stock-note {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 2px;
  min-height: 31px;
  font-size: 18px;
  font-weight: 900;
}

.price-row del {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  opacity: 1;
}

.price-row ins {
  color: var(--text);
  text-decoration: none;
}

.delivery-note {
  color: var(--muted);
  font-size: 11px;
  margin: 0 0 12px;
}

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

.old-price {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 14px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
}

.product-card .added_to_cart { display: none !important; }

.cart-modal-open { overflow: hidden; }
.cart-success-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.cart-success-modal.open { opacity: 1; pointer-events: auto; }
.cart-modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(8, 27, 21, .58); backdrop-filter: blur(5px); }
.cart-modal-card { position: relative; width: min(440px, 100%); padding: 30px; border: 1px solid rgba(255,255,255,.65); border-radius: 26px; background: var(--white); box-shadow: 0 28px 80px rgba(3, 41, 29, .28); text-align: center; transform: translateY(18px) scale(.97); transition: transform .22s ease; }
.cart-success-modal.open .cart-modal-card { transform: translateY(0) scale(1); }
.cart-modal-close { position: absolute; top: 14px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--text); font-size: 24px; line-height: 1; }
.cart-modal-check { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 15px; border-radius: 50%; background: #e7f8f0; color: var(--primary); font-size: 30px; font-weight: 900; }
.cart-modal-kicker { margin: 0 0 6px; color: var(--primary); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.cart-modal-card h2 { margin: 0 0 18px; font-size: 27px; }
.cart-modal-product { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); text-align: left; }
.cart-modal-product img { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; background: var(--white); }
.cart-modal-product strong { font-size: 15px; line-height: 1.35; }
.cart-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.cart-modal-actions .btn { min-height: 46px; padding: 12px 16px; border-radius: 999px; font-weight: 900; }
@media (max-width: 480px) { .cart-modal-card { padding: 26px 18px 20px; border-radius: 22px; } .cart-modal-actions { grid-template-columns: 1fr; } }

.add-cart {
  min-height: 44px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}
.add-cart.loading { position: relative; color: transparent !important; pointer-events: none; }
.add-cart.loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px; margin: -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: var(--white); border-radius: 50%; animation: cart-spin .7s linear infinite; }
@keyframes cart-spin { to { transform: rotate(360deg); } }

.wish-btn,
.quick-btn {
  width: 46px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 900;
  color: var(--text);
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.wish-btn:hover,
.wish-btn.active {
  color: var(--accent);
  border-color: rgba(226, 75, 45, .32);
  background: #fff4f1;
  transform: translateY(-1px);
}

.wish-btn:disabled {
  cursor: wait;
  opacity: .6;
}

.empty-state {
  padding: 54px 24px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

@media (min-width: 1440px) {
  :root { --container: 1380px; }
  .header-main { grid-template-columns: 230px minmax(420px, 1fr) auto; gap: 30px; }
  .product-grid { gap: 22px; }
}

.deal-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 32px;
  padding: 34px;
  overflow: hidden;
  position: relative;
}

.deal-panel::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(248, 200, 78, 0.18);
}

.deal-copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.deal-copy p {
  color: rgba(255,255,255,0.78);
}

.timer {
  display: flex;
  gap: 10px;
  margin: 22px 0 24px;
}

.timer-box {
  min-width: 72px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 18px;
  padding: 12px;
  text-align: center;
}

.timer-box strong {
  display: block;
  font-size: 24px;
}

.timer-box span {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
}

.deal-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  position: relative;
  z-index: 1;
}

.mini-product {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--white);
  color: var(--text);
  border-radius: 22px;
  padding: 12px;
}

.mini-product img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
}

.mini-product h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.trust-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--soft);
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 12px;
}

.trust-card h3 {
  margin: 0 0 8px;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

.banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items: center;
  background: var(--cream);
  border: 1px solid #f3e2b2;
  border-radius: 32px;
  padding: 34px;
}

.banner h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.035em;
}

.banner p {
  margin: 0 0 20px;
  color: #77570f;
}

.banner-stat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--white);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-card strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
}

.newsletter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 34px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.newsletter h2 {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.035em;
}

.newsletter p {
  margin: 0;
  color: var(--muted);
}

.newsletter-form {
  display: flex;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 12px 14px;
}

.footer {
  background: #071f18;
  color: var(--white);
  margin-top: 46px;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: 30px;
}

.footer-logo img {
  width: 190px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: 16px;
}

.footer p,
.footer a,
.footer li {
  color: rgba(255,255,255,0.72);
}

.footer h3 {
  margin: 0 0 16px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.payment-pills span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.payment-methods { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.payment-logo,
.cod-badge { height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: #fff; }
.payment-logo { width: 128px; padding: 4px 7px; overflow: hidden; }
.payment-logo img { width: 100%; height: 44px; object-fit: contain; }
.cod-badge { padding: 0 12px; background: rgba(255,255,255,.09); color: #fff; font-size: 10px; font-weight: 850; white-space: nowrap; }

.footer-bottom {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,255,255,0.62);
  font-size: 14px;
}

.page-hero {
  padding: 36px 0 24px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--primary);
  font-weight: 800;
}

.page-title {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.filter-sidebar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 150px;
  box-shadow: var(--shadow-sm);
}

.filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.filter-head h3 {
  margin: 0;
}

.filter-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-reset-mobile {
  display: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
}

.close-filter {
  display: none;
  border: 0;
  background: var(--soft);
  border-radius: 50%;
  width: 38px;
  height: 38px;
}

.filter-group {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.filter-group h4 {
  margin: 0 0 12px;
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.range-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.range-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}

.shop-content {
  min-width: 0;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
}

.filter-open {
  display: none;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary);
  font-weight: 900;
  padding: 10px 14px;
}

.sort-select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 14px;
  background: var(--white);
  outline: 0;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.pagination a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 900;
}

.pagination a.active,
.pagination a:hover {
  background: var(--primary);
  color: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.gallery {
  display: grid;
  gap: 14px;
}

.main-image {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.main-image img {
  width: 100%;
  border-radius: 24px;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.thumb {
  border: 2px solid transparent;
  background: var(--white);
  border-radius: 18px;
  padding: 6px;
}

.thumb.active,
.thumb:hover {
  border-color: var(--primary);
}

.product-info {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.product-info h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.review-line {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}

.product-price-large {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0;
}

.product-price-large .price {
  font-size: 34px;
}

.short-desc {
  color: var(--muted);
  margin-bottom: 20px;
}

.stock-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.stock-line span {
  background: var(--soft);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.buy-row {
  display: grid;
  grid-template-columns: 150px 1fr 1fr;
  gap: 10px;
  margin: 22px 0;
}

.qty-control {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  background: var(--bg);
}

.qty-control button {
  width: 44px;
  height: 100%;
  border: 0;
  background: transparent;
  font-size: 20px;
  font-weight: 900;
}

.qty-control input {
  width: 46px;
  text-align: center;
  border: 0;
  outline: 0;
  background: transparent;
  font-weight: 900;
}

.delivery-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.delivery-item {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 18px;
  padding: 14px;
}

.delivery-item strong {
  display: block;
}

.delivery-item span {
  color: var(--muted);
  font-size: 14px;
}

.details-tabs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 10px;
  box-shadow: var(--shadow-sm);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 8px;
}

.tab-btn {
  border: 0;
  background: var(--bg);
  border-radius: 999px;
  padding: 11px 16px;
  font-weight: 900;
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
}

.tab-panel {
  display: none;
  padding: 24px;
}

.tab-panel.active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table td {
  padding: 13px;
  border-bottom: 1px solid var(--line);
}

.spec-table td:first-child {
  color: var(--muted);
  width: 34%;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

.cart-card,
.summary-card,
.checkout-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-sm);
}

.cart-card {
  overflow: hidden;
}

.cart-row {
  display: grid;
  grid-template-columns: 92px 1fr 130px 124px 110px 46px;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
  border-bottom: 0;
}

.cart-row img {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  object-fit: cover;
}

.cart-name h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.cart-name span {
  color: var(--muted);
  font-size: 13px;
}

.remove-btn {
  border: 0;
  background: #fff1f1;
  color: var(--accent);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-weight: 900;
}

.summary-card,
.checkout-card {
  padding: 24px;
}

.summary-card {
  position: sticky;
  top: 150px;
}

.summary-card h2,
.checkout-card h2 {
  margin: 0 0 18px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.summary-line strong {
  color: var(--text);
}

.total-line {
  font-size: 22px;
  color: var(--text);
}

.coupon-form {
  display: flex;
  gap: 8px;
  margin: 18px 0;
}

.coupon-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 14px;
  outline: 0;
}

.coupon-form button {
  border: 0;
  background: var(--text);
  color: var(--white);
  border-radius: 999px;
  padding: 0 16px;
  font-weight: 900;
}

.secure-note {
  margin-top: 16px;
  padding: 14px;
  background: var(--soft);
  border-radius: 18px;
  color: var(--primary);
  font-weight: 850;
  font-size: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 850;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  background: var(--bg);
  outline: 0;
}

.form-field textarea {
  min-height: 104px;
  resize: vertical;
}

.payment-options {
  display: grid;
  gap: 10px;
}

.payment-option {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: var(--bg);
  cursor: pointer;
}

.payment-option input {
  width: 18px;
  height: 18px;
}

.payment-option:has(input:checked) {
  border-color: var(--primary);
  background: var(--soft);
}

.order-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.order-item img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.order-item strong {
  display: block;
  font-size: 14px;
}

.order-item span {
  color: var(--muted);
  font-size: 13px;
}

.bottom-mobile-cart {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1080px) {
  .header-main {
    grid-template-columns: 190px 1fr auto;
    gap: 14px;
  }

  .category-card { flex-basis: calc((100% - 42px) / 4); }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .deal-panel,
  .product-detail,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

  .cart-row {
    grid-template-columns: 86px 1fr 100px;
  }

  .cart-row .cart-price,
  .cart-row .cart-subtotal,
  .cart-row .remove-btn {
    justify-self: end;
  }
}

@media (max-width: 860px) {
  body.mobile-menu-open { overflow: hidden; }
  .site-header {
    top: 0 !important;
    background: #f8fbf7;
    backdrop-filter: none;
    box-shadow: 0 8px 24px rgba(10, 48, 36, .08);
  }
  .topbar-inner {
    display: block;
    width: 100%;
    min-height: 40px;
    overflow: hidden;
    text-align: left;
  }

  .topbar-inner > span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding-right: 24px;
    white-space: nowrap;
    will-change: transform;
    animation: topbar-ticker-ltr 13s linear infinite;
  }

  @keyframes topbar-ticker-ltr {
    from { transform: translateX(-100%); }
    to { transform: translateX(100vw); }
  }

  .topbar-links {
    display: none;
  }

  .header-main {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .logo img {
    width: 170px;
  }

  .header-main .search-form {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-actions .hide-mobile {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    transition: transform .2s ease, background .2s ease, color .2s ease;
  }

  .menu-toggle.active { background: var(--primary); color: var(--white); transform: rotate(90deg); }

  .nav-wrap {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1000;
    display: block;
    border: 0;
    background: rgba(6, 28, 21, .58);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
  }

  .nav-wrap.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu {
    width: min(88vw, 390px);
    height: 100dvh;
    min-height: 100dvh;
    margin: 0 0 0 auto;
    padding: 22px 20px 28px;
    align-items: stretch;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    background: var(--white);
    box-shadow: -24px 0 70px rgba(3, 34, 24, .26);
    transform: translateX(104%);
    transition: transform .28s cubic-bezier(.22,.8,.25,1);
  }

  .nav-wrap.open .nav-menu { transform: translateX(0); }

  body.admin-bar .nav-wrap { top: 46px; height: calc(100dvh - 46px); }
  body.admin-bar .nav-menu { height: calc(100dvh - 46px); min-height: calc(100dvh - 46px); }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav-head img { width: 158px; height: auto; }
  .mobile-nav-close { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--text); font-size: 26px; line-height: 1; }
  .mobile-nav-label { display: block; margin: 10px 5px 7px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
  .nav-menu > a,
  .nav-menu > .menu-item > a {
    display: flex;
    align-items: center;
    min-height: 49px;
    padding: 12px 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    background: #f7faf7;
    color: var(--text);
    font-size: 15px;
    font-weight: 850;
  }
  .nav-menu > a::after,
  .nav-menu > .menu-item > a::after { content: "›"; margin-left: auto; color: var(--primary); font-size: 22px; line-height: 1; }
  .nav-menu > a:hover,
  .nav-menu > a.active,
  .nav-menu > .current-menu-item > a { border-color: rgba(14,122,87,.18); background: var(--soft); color: var(--primary); }

  .hero-grid,
  .banner,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

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

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: fixed;
    inset: 0 18% 0 0;
    z-index: 90;
    top: 0;
    border-radius: 0 24px 24px 0;
    transform: translateX(-110%);
    transition: 0.25s ease;
    overflow: auto;
  }

  .filter-sidebar.open {
    transform: translateX(0);
  }

  .filter-reset-mobile {
    display: inline-flex;
  }

  .catalog-filter-form .filter-actions {
    position: sticky;
    bottom: -24px;
    z-index: 3;
    margin: 0 -24px -24px;
    padding: 14px 24px 24px;
    background: linear-gradient(to top, var(--white) 75%, rgba(255,255,255,.88));
  }

  .close-filter,
  .filter-open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar-left {
    justify-content: space-between;
  }

  .delivery-box,
  .buy-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .buy-row {
    gap: 12px;
  }

  .bottom-mobile-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    padding: 10px 16px;
    z-index: 45;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -12px 30px rgba(14, 23, 38, 0.08);
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .topbar-inner > span { animation: none; transform: none; padding-left: 14px; }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .section {
    padding: 34px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-ordering { width: 100%; justify-content: space-between; }
  .sort-trigger { flex: 1; min-width: 0; }
  .sort-menu { left: 0; right: 0; width: 100%; }

  .category-section-head { flex-direction: column; align-items: stretch; }
  .category-head-actions { width: 100%; }
  .category-head-actions .btn { margin-left: auto; }
  .category-card { flex-basis: calc((100% - 14px) / 2.15); min-width: 140px; }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 18px;
    padding: 9px;
  }

  .product-title {
    font-size: 14px;
  }

  .price {
    font-size: 17px;
  }

  .old-price,
  .product-category,
  .rating {
    font-size: 12px;
  }

  .card-actions {
    grid-template-columns: minmax(0, 1fr) 38px;
    gap: 6px;
  }

  .product-card .card-actions .btn,
  .product-card .add_to_cart_button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 9px 4px !important;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    text-indent: 0;
    white-space: nowrap;
  }

  .wish-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 40px;
    padding: 0;
    font-size: 17px;
  }

  .deal-panel,
  .banner,
  .newsletter,
  .page-title,
  .product-info,
  .summary-card,
  .checkout-card {
    border-radius: 24px;
    padding: 22px;
  }

  .deal-products,
  .trust-grid,
  .banner-stat {
    grid-template-columns: 1fr;
  }

  .timer {
    flex-wrap: wrap;
  }

  .timer-box {
    min-width: 66px;
  }

  .newsletter-form,
  .coupon-form {
    flex-direction: column;
    border-radius: 22px;
  }

  .newsletter-form button,
  .coupon-form button {
    min-height: 46px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .filter-sidebar {
    right: 9%;
  }

  .cart-row {
    grid-template-columns: 76px 1fr;
    align-items: start;
  }

  .cart-row img {
    width: 76px;
    height: 76px;
  }

  .cart-row .qty-control,
  .cart-row .cart-price,
  .cart-row .cart-subtotal,
  .cart-row .remove-btn {
    grid-column: 2;
    justify-self: stretch;
  }

  .cart-row .remove-btn {
    width: 100%;
    border-radius: 999px;
  }

  .tab-panel {
    padding: 18px 8px;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card {
    padding: 8px;
  }

  .product-title {
    min-height: 38px;
    font-size: 14px;
  }

  .price {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Extra pages */
.link-green { color: var(--primary); font-weight: 900; }
.small-muted { color: var(--muted); font-size: 14px; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.content-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-card, .policy-card, .auth-card, .account-card, .blog-card, .status-card, .seller-card, .empty-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.info-card h3, .policy-card h2, .auth-card h2, .account-card h2, .blog-card h3, .seller-card h3 { margin-top: 0; }
.info-card p, .policy-card p, .blog-card p, .seller-card p, .empty-card p { color: var(--muted); }
.icon-bubble { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 18px; background: var(--soft); color: var(--primary); font-size: 25px; margin-bottom: 14px; }
.about-story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 26px; align-items: center; }
.story-panel { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: 34px; box-shadow: var(--shadow-sm); }
.story-panel h2 { margin-top: 0; font-size: clamp(28px,4vw,44px); letter-spacing: -0.035em; line-height: 1.1; }
.story-panel p { color: var(--muted); }
.visual-panel { min-height: 360px; background: linear-gradient(135deg, var(--soft), var(--cream)); border: 1px solid var(--line); border-radius: 32px; padding: 28px; display: grid; align-content: center; gap: 14px; overflow: hidden; position: relative; }
.visual-panel::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; background: rgba(15,107,78,.12); }
.visual-chip { position: relative; z-index: 1; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-sm); font-weight: 900; }
.step-list { display: grid; gap: 14px; }
.step-item { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; background: var(--primary); color: var(--white); border-radius: 50%; font-weight: 950; }
.step-item h3, .step-item h4 { margin: 0 0 5px; }
.step-item p { margin: 0; color: var(--muted); }
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; }
.support-list { display: grid; gap: 12px; }
.support-item { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 14px; box-shadow: var(--shadow-sm); }
.support-item strong { display: block; }
.support-item span { color: var(--muted); font-size: 14px; }
.order-status-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.timeline { display: grid; gap: 16px; margin-top: 18px; }
.timeline-item { display: grid; grid-template-columns: 42px 1fr; gap: 12px; position: relative; }
.timeline-dot { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--primary); display: grid; place-items: center; font-weight: 950; }
.timeline-item.active .timeline-dot { background: var(--primary); color: var(--white); }
.timeline-item h4 { margin: 0 0 4px; }
.timeline-item p { margin: 0; color: var(--muted); }
.auth-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.account-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.account-menu { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); position: sticky; top: 150px; }
.account-menu a { display: flex; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 14px; font-weight: 850; color: var(--muted); }
.account-menu a.active, .account-menu a:hover { background: var(--soft); color: var(--primary); }
.table-wrap { overflow-x: auto; }
.clean-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.clean-table th, .clean-table td { padding: 14px; border-bottom: 1px solid var(--line); text-align: left; }
.clean-table th { color: var(--muted); font-size: 13px; }
.status-pill { display: inline-flex; padding: 7px 10px; border-radius: 999px; font-size: 12px; font-weight: 900; background: var(--soft); color: var(--primary); }
.category-card-large small { display: block; margin-top: 6px; color: var(--muted); }
.category-banner { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: var(--primary); color: var(--white); border-radius: 32px; padding: 28px; }
.category-banner p { color: rgba(255,255,255,.78); }
.policy-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; }
.policy-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); position: sticky; top: 150px; }
.policy-nav a { display: block; padding: 10px 12px; border-radius: 12px; color: var(--muted); font-weight: 800; }
.policy-nav a:hover { background: var(--soft); color: var(--primary); }
.policy-content { display: grid; gap: 18px; }
.policy-card ul { color: var(--muted); margin-bottom: 0; }
.deal-hero { background: linear-gradient(135deg, var(--accent), #ab2c17); color: var(--white); border-radius: 32px; padding: 34px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.deal-hero p { color: rgba(255,255,255,.78); }
.coupon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.coupon-card { background: var(--white); border: 1px dashed var(--accent); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.coupon-code { display: inline-flex; margin-top: 8px; background: var(--cream); color: #8a5d00; padding: 8px 12px; border-radius: 999px; font-weight: 950; }
.search-big { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: 18px; box-shadow: var(--shadow-sm); }
.search-big form { display: flex; gap: 10px; }
.search-big input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 14px 16px; outline: 0; }
.error-page { min-height: 58vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(90px, 20vw, 180px); line-height: .85; font-weight: 950; color: var(--primary); letter-spacing: -.08em; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); }
.faq-item h3 { margin: 0 0 8px; }
.faq-item p { margin: 0; color: var(--muted); }
.seller-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: start; }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.blog-thumb { min-height: 170px; border-radius: 20px; background: linear-gradient(135deg, var(--soft), var(--cream)); display: grid; place-items: center; font-size: 46px; margin-bottom: 16px; }
.sidebar-list { display: grid; gap: 10px; }
.sidebar-list a { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; color: var(--muted); font-weight: 800; }
.wishlist-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

/* Catalog and product discovery */
.shop-heading { margin-bottom: 28px; }
.shop-results { min-width: 0; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 20px; position: relative; z-index: 8; }
.toolbar-left { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 800; }
.filter-open { display: none; }
.filter-overlay { display: none; }
.catalog-filter-form input[type="checkbox"], .catalog-filter-form input[type="radio"] { accent-color: var(--primary); width: 17px; height: 17px; }
.check-list label small { margin-left: auto; color: var(--muted); }
.price-filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price-filter-row input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px; background: var(--bg); }
.filter-stars { color: #f4a300; letter-spacing: -2px; font-size: 12px; }
.radio-list label { cursor: pointer; }
.filter-actions { display: grid; gap: 8px; padding-top: 18px; }
.filter-actions .btn { width: 100%; }
.shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.catalog-pagination .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font-weight: 900; color: var(--text); }
.catalog-pagination .current, .catalog-pagination a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.catalog-empty { grid-column: 1/-1; padding: 50px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 24px; background: var(--white); }
.woocommerce-breadcrumb { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; margin-bottom: 24px !important; color: var(--muted); font-size: 14px; }
.woocommerce-breadcrumb a { color: var(--primary); font-weight: 850; }
.polashtoli-product-gallery .woocommerce-product-gallery__image { overflow: hidden; border-radius: 24px; background: var(--white); }
.polashtoli-product-gallery [data-main-image] { transition: transform .3s ease, object-position .3s ease; }
.polashtoli-product-gallery [data-gallery-mode="detail"] { transform: scale(1.28); }
.polashtoli-product-gallery [data-gallery-mode="left"] { transform: scale(1.35); object-position: 20% center; }
.polashtoli-product-gallery [data-gallery-mode="right"] { transform: scale(1.35); object-position: 80% center; }
.polashtoli-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.gallery-thumb { aspect-ratio: 1; padding: 4px; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: var(--white); cursor: pointer; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 9px; }
.single-trust-grid { clear: both; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 24px 0; }
.single-trust-grid article { display: flex; align-items: center; gap: 11px; padding: 15px; border: 1px solid var(--line); border-radius: 17px; background: var(--white); }
.single-trust-grid article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); }
.single-trust-grid strong, .single-trust-grid small { display: block; }
.single-trust-grid small { color: var(--muted); margin-top: 3px; }
.polashtoli-specs table { width: 100%; border-collapse: collapse; }
.polashtoli-specs th, .polashtoli-specs td { padding: 14px; text-align: left; border-bottom: 1px solid var(--line); }
.polashtoli-specs th { width: 34%; color: var(--muted); }
.delivery-policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.delivery-policy-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); }
.delivery-policy-grid article > span { font-size: 25px; }
.catalog-hero { margin-bottom: 28px; padding: 42px; border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(135deg, var(--cream), var(--white)); }
.catalog-hero.accent-mint { background: linear-gradient(135deg, var(--soft), var(--white)); }
.catalog-hero.accent-gold { background: linear-gradient(135deg, #fff2c9, var(--white)); }
.catalog-hero h1 { font-size: clamp(38px, 6vw, 68px); margin: 8px 0; }
.category-directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 46px; }
.category-directory a { position: relative; display: grid; gap: 7px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }
.category-directory a > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--soft); font-size: 24px; }
.category-directory small { color: var(--muted); }
.category-directory i { position: absolute; right: 18px; top: 18px; color: var(--primary); font-style: normal; }
.deals-hero { padding: 42px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; border-radius: 32px; background: linear-gradient(135deg, #064d3c, var(--primary)); color: var(--white); overflow: hidden; }
.deals-hero p { color: rgba(255,255,255,.78); }
.deals-hero .section-kicker { color: #ffe69b; }
.deal-countdown { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.deal-countdown > small { display: block; margin-bottom: 10px; }
.deal-countdown > div { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.deal-countdown span { text-align: center; font-size: 11px; }
.deal-countdown strong { display: block; padding: 11px 5px; margin-bottom: 5px; border-radius: 12px; background: var(--white); color: var(--primary); font-size: 23px; }
.deal-benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 22px 0 44px; }
.deal-benefits article { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.deal-benefits article > span { font-size: 25px; }.deal-benefits strong,.deal-benefits small{display:block}.deal-benefits small{color:var(--muted);margin-top:3px}
@media (max-width: 1080px) { .content-grid-4 { grid-template-columns: repeat(2, 1fr); } .policy-layout, .account-layout, .blog-layout { grid-template-columns: 1fr; } .policy-nav, .account-menu { position: static; } }
@media (max-width: 860px) { .content-grid, .about-story, .contact-layout, .order-status-layout, .auth-layout, .seller-layout, .deal-hero { grid-template-columns: 1fr; } .coupon-grid, .content-grid-3, .blog-grid { grid-template-columns: 1fr; } .category-banner { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .content-grid-4, .address-grid { grid-template-columns: 1fr; } .search-big form { flex-direction: column; } .visual-panel { min-height: 260px; } }
@media (max-width: 1080px) { .shop-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } .category-directory, .deal-benefits { grid-template-columns: repeat(2, 1fr); } .single-trust-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 860px) {
  .filter-overlay { position: fixed; inset: 0; z-index: 89; background: rgba(3,26,20,.48); backdrop-filter: blur(3px); }
  body.filter-drawer-open { overflow: hidden; } body.filter-drawer-open .filter-overlay { display: block; }
  .shop-toolbar { flex-direction: row; align-items: center; } .filter-open { display: inline-flex; }
  .filter-sidebar { inset: 0 auto 0 0; width: min(88vw, 360px); padding: 24px; border-radius: 0 24px 24px 0; z-index: 1000; top: 0; }
  .deals-hero { grid-template-columns: 1fr; } .delivery-policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .shop-product-grid, .catalog-page-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .shop-toolbar { align-items: stretch; flex-direction: column; } .toolbar-left { justify-content: space-between; }
  .shop-ordering { width: 100%; } .sort-trigger { flex: 1; justify-content: space-between; }
  .category-directory, .deal-benefits, .single-trust-grid { grid-template-columns: 1fr; }
  .catalog-hero, .deals-hero { padding: 26px 20px; border-radius: 24px; }
  .deal-countdown { padding: 14px; } .deal-countdown strong { font-size: 18px; padding: 8px 3px; }
  .polashtoli-gallery-thumbs { gap: 7px; } .woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; flex-wrap: nowrap; }
}
