@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800&display=swap');

:root {
  --bg: #f8f5f0;
  --bg-soft: #f3ece3;
  --surface: #ffffff;
  --surface-soft: #fffaf3;
  --text: #2b241d;
  --muted: #7a6a59;
  --line: #e8ddd1;
  --line-strong: #d8c5b1;
  --accent: #0097b2;
  --accent-2: #00788f;
  --accent-3: #005e71;
  --accent-soft: #d8f1f5;
  --accent-soft-2: #bce8ee;
  --ok: #1f9d63;
  --danger: #c74646;
  --warning: #d99129;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 6px 18px rgba(75, 52, 28, .08);
  --shadow-md: 0 18px 42px rgba(65, 42, 19, .14);
  --shadow-lg: 0 26px 64px rgba(58, 35, 14, .2);
  --container: 1320px;
  --page-gutter: clamp(16px, 2.4vw, 36px);
  --header-gap: clamp(10px, 1.6vw, 18px);
  --site-header-height: 84px;
  --main-nav-height: 74px;
  --sticky-offset: calc(var(--site-header-height) + var(--main-nav-height) + 16px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: clip;
}
body {
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 151, 178, .12), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(0, 151, 178, .1), transparent 35%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a, [role="button"] { -webkit-tap-highlight-color: transparent; }
main, section, article, aside { min-width: 0; }

body.cart-open {
  overflow: hidden;
  touch-action: none;
}

.container {
  width: min(var(--container), calc(100% - var(--page-gutter)));
  margin-inline: auto;
}

.top-ribbon {
  background: linear-gradient(90deg, var(--accent-3), var(--accent));
  color: #f6ede4;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 10px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(10px);
  background: rgba(248, 245, 240, .85);
  border-bottom: 1px solid rgba(216, 197, 177, .8);
}

.header-row {
  min-height: 84px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--header-gap);
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.header-row > * { min-width: 0; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 280px;
  max-width: 100%;
  min-width: min(220px, 100%);
}

.brand > span:last-child { min-width: 0; }

.brand-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background:
    #efe7db url('brand/handbar-emblem.png') center / 82% no-repeat;
  border: 1px solid rgba(0, 151, 178, .24);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, .55),
    0 10px 18px rgba(0, 151, 178, .08);
  display: block;
  color: transparent;
  overflow: hidden;
  text-indent: -9999px;
}

.brand-name {
  margin: 0;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--accent);
}

.brand-sub {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.search-shell {
  flex: 1 1 320px;
  min-width: min(100%, 260px);
  max-width: min(100%, 560px);
  position: relative;
}

.search-shell input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 13px 56px 13px 18px;
  font-size: 14px;
  transition: .2s;
}

.search-shell input:focus {
  border-color: var(--line-strong);
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 151, 178, .12);
}

.search-shell button {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(150deg, var(--accent), var(--accent-2));
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease;
}

.search-shell button:hover { transform: scale(1.04); filter: brightness(1.05); }

.header-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.chip-btn {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: all .2s ease;
}

.chip-btn:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.chip-btn.primary {
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  border-color: var(--accent-2);
  color: #fff;
}

.chip-btn .count {
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
  background: #a11d1d;
  color: #fff;
}

.main-nav {
  position: sticky;
  top: var(--site-header-height);
  z-index: 110;
  border-top: 1px solid rgba(216, 197, 177, .55);
  border-bottom: 1px solid rgba(196, 170, 141, .7);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, .96), rgba(247, 238, 227, .92));
  box-shadow: 0 8px 22px rgba(0, 151, 178, .08);
}

.nav-row {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 10px 0;
}

.nav-row::-webkit-scrollbar { display: none; }

.nav-btn {
  border: 1px solid rgba(0, 151, 178, .2);
  background: linear-gradient(180deg, #fffdf9 0%, #f0dfcd 100%);
  border-radius: 999px;
  padding: 12px 18px;
  color: #1d5d69;
  font-weight: 800;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 22px rgba(0, 151, 178, .08);
  scroll-snap-align: start;
}

.nav-btn-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(0, 151, 178, .14), rgba(0, 151, 178, .06));
  border: 1px solid rgba(0, 151, 178, .12);
  font-size: 14px;
  font-weight: 800;
  flex: 0 0 34px;
}

.nav-btn-label {
  display: inline-block;
  line-height: 1.1;
}

.nav-btn:hover,
.nav-btn.active {
  border-color: var(--accent);
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: #fffdf8;
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(0, 151, 178, .2);
}

.nav-btn:hover .nav-btn-badge,
.nav-btn.active .nav-btn-badge {
  background: rgba(255, 255, 255, .18);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.menu-hover-bridge {
  height: 24px;
}

.hero-grid {
  margin-top: 0;
  display: grid;
  gap: 0;
  grid-template-columns: 308px minmax(0, 1fr);
  min-height: 470px;
  overflow: hidden;
  position: relative;
}

.left-panel {
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff8ef 0%, #f6eadd 100%);
  padding: 22px 16px 18px;
}

.left-panel h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #8a6c50;
}

.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 1px solid transparent;
  text-align: left;
  font-size: 15px;
  color: var(--text);
  font-weight: 700;
  border-radius: 16px;
  padding: 12px 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, .78);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.menu-item-core {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.menu-item-emoji {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff, #f1dfce);
  border: 1px solid rgba(0, 151, 178, .18);
  font-size: 20px;
  flex: 0 0 38px;
  box-shadow: inset 0 2px 5px rgba(255, 255, 255, .65);
}

.menu-item-label {
  min-width: 0;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.menu-item-arrow {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-2);
  transition: transform .2s ease, color .2s ease;
}

.menu-item:hover,
.menu-item.active {
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  color: #fff;
  border-color: var(--accent-2);
  transform: translateX(4px);
  box-shadow: 0 16px 24px rgba(0, 151, 178, .2);
}

.menu-item:hover .menu-item-arrow,
.menu-item.active .menu-item-arrow {
  color: #fff;
  transform: translateX(4px);
}

.left-panel-note {
  font-size: 12px;
  color: #7a6a59;
  margin: 12px 4px 0;
  line-height: 1.7;
}

.left-panel-note strong {
  color: #5d4532;
}

.hero-stage {
  position: relative;
  min-height: 470px;
  background: linear-gradient(180deg, #fffdf9 0%, #fbf4ea 100%);
}

.slider-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 22px;
  transition: opacity .28s ease, transform .28s ease;
}

.hero-grid.panel-open .slider-box {
  opacity: 0;
  pointer-events: none;
  transform: scale(.985);
}

.slide {
  position: absolute;
  inset: 22px;
  border-radius: 14px;
  padding: 34px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(-90px) scale(.985);
  transition: transform .75s cubic-bezier(.22, 1, .36, 1), opacity .45s ease;
  overflow: hidden;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .06), rgba(14, 25, 31, .54));
}

.slide > * {
  position: relative;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.slide h1, .slide h2 {
  margin: 0 0 10px;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.slide p {
  margin: 0;
  max-width: 560px;
  line-height: 1.6;
  font-size: 15px;
}

.slide-note {
  position: absolute;
  right: 38px;
  top: 34px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 12px;
  background: rgba(255, 255, 255, .24);
}

.slide.c1 { background-image: url('hero/slide-1.jpg'); background-position: center 42%; }
.slide.c2 { background-image: url('hero/slide-2.jpg'); background-position: center 38%; }
.slide.c3 { background-image: url('hero/slide-3.jpg'); background-position: center; }
.slide.c4 { background-image: url('hero/slide-4.jpg'); background-position: center; }
.slide.c5 { background-image: url('hero/slide-5.jpg'); background-position: center; }
.slide.c6 { background-image: url('hero/slide-6.jpg'); background-position: center 46%; }

.mega-panel {
  position: absolute;
  inset: 0;
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 151, 178, .12), transparent 26%),
    linear-gradient(180deg, #fffdf9 0%, #f7ecdf 100%);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease;
  overflow: auto;
}

.hero-grid.panel-open .mega-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.mega-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mega-title {
  margin: 12px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.02;
  color: #3a2b1f;
}

.mega-copy {
  margin: 0 0 22px;
  max-width: 780px;
  color: #6a5846;
  line-height: 1.72;
  font-size: 15px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mega-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 8px;
  min-height: 118px;
  border: 1px solid #e6d4c2;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(249, 241, 231, .94));
  padding: 18px 18px 18px 16px;
  color: #493526;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  box-shadow: 0 18px 30px rgba(105, 75, 44, .08);
}

.mega-link:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 18px 30px rgba(0, 151, 178, .14);
}

.mega-link-emoji {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(0, 151, 178, .14), rgba(255, 255, 255, .96));
  border: 1px solid rgba(0, 151, 178, .18);
  color: var(--accent-3);
  flex: 0 0 58px;
}

.mega-link-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex: 1 1 auto;
}

.mega-link-copy strong {
  display: block;
  font-size: 18px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.mega-link-copy span {
  display: block;
  color: #7a6858;
  font-size: 12px;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.mega-link-arrow {
  margin-left: auto;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-2);
  align-self: center;
}

.section {
  margin-top: 28px;
  position: relative;
}

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

.section-title {
  margin: 0;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
}

.section-sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

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

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(252, 245, 236, .96));
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 12px 30px rgba(74, 51, 26, .08);
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #d4c0ab;
  box-shadow: var(--shadow-md);
}

.product-media {
  aspect-ratio: 5 / 4;
  background: linear-gradient(160deg, #f9f1e8 0%, #efe0d1 100%);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 34px;
  color: #8f765d;
}

.product-media.is-missing {
  background: linear-gradient(160deg, #fbf4ea 0%, #efe1d1 100%);
}

.product-media.is-missing::before {
  content: '🎁';
  font-size: 34px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  opacity: 1;
  transform: translateX(0) scale(1);
  transition: transform .8s cubic-bezier(.22, 1, .36, 1), opacity .55s ease;
}

.product-card:hover .product-media img { transform: translateX(0) scale(1.03); }

.product-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}
.product-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.product-meta {
  margin-top: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.product-data-list {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #5d4b3b;
  font-size: 12px;
  line-height: 1.5;
}
.product-data-list span {
  overflow-wrap: anywhere;
}
.product-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.price {
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-3);
}
.unit-price {
  display: block;
  margin-top: 3px;
  color: var(--muted, #7a6a59);
  font-size: 12px;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 9px 13px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: .2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn.ghost {
  background: #fff;
  color: var(--accent-3);
  border: 1px solid var(--line);
}
.favorite-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(0, 151, 178, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #7e6551;
  box-shadow: 0 10px 22px rgba(74, 51, 26, .12);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.favorite-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 151, 178, .34);
  box-shadow: 0 14px 28px rgba(74, 51, 26, .16);
}
.favorite-toggle.active {
  background: linear-gradient(145deg, #b54d5a, #9f3143);
  border-color: #9f3143;
  color: #fff;
}
.favorite-toggle-inline {
  position: static;
  width: auto;
  min-width: 42px;
  padding: 0 14px;
  height: 44px;
  gap: 8px;
}
.favorite-toggle-inline [data-favorite-icon] {
  font-size: 18px;
  line-height: 1;
}
.favorite-toggle-inline [data-favorite-label] {
  font-size: 13px;
  font-weight: 800;
}

.info-tile {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(175deg, #fff, #fcf5ec);
  padding: 20px;
  min-height: 136px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 12px 28px rgba(72, 50, 24, .08);
}

.info-tile:hover {
  border-color: #d3bda6;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.info-tile h4 {
  margin: 0 0 8px;
  font-size: 22px;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-wrap: balance;
}

.info-tile p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.category-tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-tile-mark {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: inline-grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent-3);
  background: linear-gradient(180deg, rgba(0, 151, 178, .14), rgba(255, 255, 255, .98));
  border: 1px solid rgba(0, 151, 178, .16);
}

.section .grid-4 > * {
  opacity: 0;
  transform: translateX(-54px);
}

.section .product-media img {
  opacity: 0;
  transform: translateX(-46px) scale(.98);
}

.section.in .grid-4 > * {
  opacity: 1;
  transform: translateX(0);
}

.section.in .grid-4 > *:nth-child(1) { transition-delay: .08s; }
.section.in .grid-4 > *:nth-child(2) { transition-delay: .16s; }
.section.in .grid-4 > *:nth-child(3) { transition-delay: .24s; }
.section.in .grid-4 > *:nth-child(4) { transition-delay: .32s; }

.section.in .product-media img {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.fancy-page {
  margin-top: 26px;
  padding: 34px;
}

.fancy-hero {
  border-radius: var(--radius-md);
  padding: 30px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-3) 0%, var(--accent) 100%);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.fancy-hero::after {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  right: -80px;
  top: -80px;
}

.fancy-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
  position: relative;
}

.fancy-hero p { margin: 0; max-width: 700px; font-size: 15px; line-height: 1.65; position: relative; }

.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 18px;
}

.panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, sans-serif;
}

.panel p, .panel li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.panel ul { margin: 0; padding-left: 18px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  background: #fff;
}

.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(0, 151, 178, .14);
}

.badge {
  font-size: 11px;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 800;
  display: inline-block;
}
.badge.ok { background: #e8fbf2; color: #13774b; }
.badge.warn { background: #fff6e6; color: #a66516; }
.badge.danger { background: #fdebec; color: #9f1f2c; }

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

.kpi {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.kpi .label { color: var(--muted); font-size: 14px; font-weight: 600; }
.kpi .value { font-size: 26px; font-weight: 800; margin-top: 4px; }

.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.table th,
.table td {
  padding: 11px 12px;
  border-bottom: 1px solid #f0e7dd;
  text-align: left;
  font-size: 13px;
}

.table th {
  background: #f9f1e8;
  color: #6f5943;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.table tr:hover td { background: #fffcf7; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 8, .55);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 190;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-panel {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -430px;
  width: min(430px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  background: #fff;
  border-left: 1px solid var(--line);
  transition: right .3s ease;
  z-index: 195;
  display: flex;
  flex-direction: column;
}

.cart-panel.open { right: 0; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 0 0 auto;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-items {
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 10px 14px;
}

.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f2e8dc;
}

.cart-item .thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: #efe3d5;
  display: grid;
  place-items: center;
}

.cart-item .thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.cart-foot {
  flex: 0 0 auto;
  padding: 15px;
  border-top: 1px solid var(--line);
  background: #faf4ed;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(20px);
  background: #2f261f;
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  opacity: 0;
  transition: .25s;
  z-index: 300;
  font-size: 13px;
  font-weight: 700;
}

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

.fade-up {
  opacity: 0;
  transform: translateX(-38px);
  transition: .5s ease;
}

.fade-up.in {
  opacity: 1;
  transform: translateX(0);
}

.footer {
  margin-top: 38px;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
}

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

.footer-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px;
}

.footer-card h4 {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7d6146;
}

.footer-card a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: #584735;
  transition: .2s;
}

.footer-card a:hover { color: var(--accent-2); transform: translateX(2px); }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(0, 151, 178, .18), rgba(0, 120, 143, .08)),
    linear-gradient(180deg, #ffffff, #fbf8f3);
  border: 1px solid rgba(0, 151, 178, .16);
  box-shadow: var(--shadow-md);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: auto -60px -90px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 151, 178, .18), transparent 65%);
  pointer-events: none;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1,
.page-hero h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.page-hero p {
  margin: 12px 0 0;
  max-width: 760px;
  color: #5a4a3a;
  line-height: 1.75;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.hero-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(0, 151, 178, .18);
  color: #34515a;
  font-weight: 700;
  font-size: 13px;
  max-width: 100%;
  overflow-wrap: anywhere;
}

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

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

.feature-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(251, 247, 241, .96));
  box-shadow: var(--shadow-sm);
}

.feature-card.accent {
  border-color: rgba(0, 151, 178, .18);
  background:
    linear-gradient(180deg, rgba(216, 241, 245, .72), rgba(255,255,255,.95));
}

.feature-card h3,
.feature-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p,
.feature-card li {
  color: #5c4b3a;
  line-height: 1.7;
}

.feature-card ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.carrier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.carrier-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.carrier-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.carrier-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(0, 151, 178, .14);
  background:
    linear-gradient(180deg, #ffffff, #faf7f2);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.carrier-card strong {
  display: block;
  font-size: 16px;
}

.carrier-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.55;
  font-size: 13px;
}

.carrier-card em {
  display: inline-block;
  margin-top: auto;
  padding-top: 14px;
  color: var(--accent-2);
  font-style: normal;
  font-weight: 800;
}

.carrier-option:hover .carrier-card,
.carrier-option input:checked + .carrier-card {
  transform: translateY(-3px);
  border-color: rgba(0, 151, 178, .5);
  box-shadow: 0 16px 36px rgba(0, 151, 178, .15);
  background:
    linear-gradient(180deg, rgba(216, 241, 245, .82), rgba(255,255,255,.95));
}

.checkout-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr);
  gap: 18px;
}

.checkout-card {
  padding: 22px;
}

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

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

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.summary-stack {
  display: grid;
  gap: 12px;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e5d9cc;
  font-size: 14px;
}

.summary-line:last-child {
  border-bottom: 0;
}

.summary-total {
  font-size: 18px;
  font-weight: 800;
}

.summary-box {
  position: sticky;
  top: var(--sticky-offset);
  align-self: start;
  max-height: calc(100dvh - var(--sticky-offset) - 20px);
  overflow: auto;
}

.muted-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 12px;
}

.detail-item {
  border: 1px solid rgba(0, 151, 178, .12);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, .88);
  overflow-wrap: anywhere;
}

.detail-item strong {
  display: block;
  margin-bottom: 6px;
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.order-step {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}

.order-step strong {
  display: block;
  margin-bottom: 6px;
}

.invoice-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(216, 241, 245, .86);
  border: 1px solid rgba(0, 151, 178, .16);
}

.filter-hero {
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 151, 178, .14), rgba(255,255,255,.95));
  border: 1px solid rgba(0, 151, 178, .14);
}

.filter-hero h2 {
  margin: 0;
  font-size: 28px;
}

.filter-hero p {
  margin: 8px 0 0;
  color: #5c4b3a;
  line-height: 1.65;
}

.filter-chip-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(0, 151, 178, .18);
  background: rgba(255,255,255,.82);
  color: #264854;
  font-size: 13px;
  font-weight: 700;
}

.empty-state {
  padding: 26px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 151, 178, .3);
  background: rgba(255,255,255,.76);
  text-align: center;
}

@media (max-width: 1360px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .hero-grid { grid-template-columns: 280px minmax(0, 1fr); }
  .kpi-grid, .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-card {
    padding: 0;
  }
  .footer-card + .footer-card {
    border-left: 0;
  }
}

@media (max-width: 1020px) {
  .header-row { align-items: flex-start; }
  .brand { flex: 1 1 auto; }
  .search-shell {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    min-width: 100%;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
  .hero-grid, .hero-grid.panel-open { grid-template-columns: 1fr; min-height: 0; }
  .left-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stage { min-height: 380px; }
  .slider-box { min-height: 380px; }
  .slide { inset: 16px; }
  .mega-panel { position: relative; inset: auto; min-height: 380px; padding: 20px; }
  .hero-grid.panel-open .slider-box { opacity: 0; }
  .mega-head { flex-direction: column; }
  .cols-2, .form-grid, .field-grid, .field-grid.columns-3, .checkout-grid, .order-steps { grid-template-columns: 1fr; }
  .summary-box { position: static; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .product-foot .btn { width: 100%; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 22px); }
  .top-ribbon {
    font-size: 11px;
    letter-spacing: .04em;
    padding: 8px 10px;
  }
  .header-row { gap: 10px; padding: 12px 0; }
  .brand { gap: 10px; min-width: 0; }
  .brand-name { font-size: 27px; }
  .brand-sub { font-size: 12px; }
  .brand-mark { width: 54px; height: 54px; }
  .header-actions { width: 100%; justify-content: space-between; }
  .header-actions .chip-btn { flex: 1 1 calc(50% - 4px); }
  .chip-btn { min-height: 42px; padding: 9px 11px; font-size: 14px; }
  .nav-row { min-height: 64px; gap: 10px; padding: 8px 0; }
  .nav-btn { padding: 11px 14px; font-size: 14px; }
  .nav-btn-badge {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 14px;
  }
  .menu-hover-bridge { display: none; }
  .menu-item { padding: 11px 12px; }
  .hero-stage, .slider-box, .mega-panel { min-height: 320px; }
  .slide {
    inset: 12px;
    padding: 18px;
  }
  .mega-title { font-size: 28px; }
  .mega-grid { grid-template-columns: 1fr; }
  .grid-4, .kpi-grid, .footer-grid, .feature-grid { grid-template-columns: 1fr; }
  .section { margin-top: 22px; }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-title { font-size: clamp(24px, 8vw, 34px); }
  .fancy-page { padding: 16px; }
  .fancy-hero { padding: 20px; }
  .page-hero { padding: 20px; }
  .page-hero p { font-size: 14px; }
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .info-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .panel, .feature-card, .checkout-card, .detail-item { padding: 16px; }
  .invoice-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .invoice-banner .btn { width: 100%; }
  .summary-line { flex-wrap: wrap; }
  .table { min-width: 600px; }
  .cart-panel { width: min(100vw, 400px); }
  .toast {
    width: calc(100% - 22px);
    max-width: 420px;
    border-radius: 16px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 16px); }
  .top-ribbon { font-size: 10px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 11px; }
  .header-actions .chip-btn { flex: 1 1 100%; }
  .mega-title { font-size: 24px; }
  .mega-link {
    min-height: 0;
    padding: 14px;
  }
  .product-body { padding: 12px 10px; }
  .product-title { min-height: 0; }
  .table { min-width: 540px; }
  .cart-panel {
    width: 100vw;
    right: -100vw;
  }
  .cart-head, .cart-foot { padding: 14px; }
  .cart-items { padding: 8px 12px; }
}

/* Subpage redesign */
main.container {
  padding-bottom: 42px;
}

.site-header {
  box-shadow: 0 18px 36px rgba(43, 36, 29, .08);
}

.main-nav {
  box-shadow: 0 14px 32px rgba(0, 151, 178, .1);
}

.page-hero,
.filter-hero,
.fancy-page,
.checkout-card,
.menu,
.auth-card,
.hero.card,
.table-wrap,
.address-card,
.profile-section {
  box-shadow: var(--shadow-md);
}

.page-hero {
  margin-top: 24px;
  padding: 34px 36px;
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .96) 0%, rgba(244, 236, 225, .92) 100%);
  border: 1px solid rgba(0, 151, 178, .16);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0 18% 0 auto;
  width: min(34vw, 420px);
  background: linear-gradient(180deg, rgba(0, 151, 178, .12), rgba(0, 151, 178, 0));
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  pointer-events: none;
}

.page-hero h1,
.page-hero h2 {
  max-width: 780px;
  letter-spacing: -.03em;
}

.page-hero p {
  max-width: 760px;
  font-size: 16px;
}

.filter-hero {
  padding: 24px 26px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(216, 241, 245, .9), rgba(255, 251, 246, .96));
  border: 1px solid rgba(0, 151, 178, .14);
  box-shadow: var(--shadow-sm);
}

.filter-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 36px);
}

.filter-hero p {
  margin: 0;
  color: #5d4b3b;
  line-height: 1.7;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 100%;
  border-radius: 24px;
  padding: 22px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(252, 245, 236, .94));
  border-color: rgba(0, 151, 178, .12);
  box-shadow: 0 18px 34px rgba(68, 48, 25, .09);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: auto -28px -50px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 151, 178, .16), transparent 70%);
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card h3,
.feature-card h4 {
  font-size: 20px;
  line-height: 1.2;
}

.feature-card.accent {
  background:
    linear-gradient(180deg, rgba(216, 241, 245, .88), rgba(255,255,255,.96));
}

.fancy-page {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(0, 151, 178, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248, 241, 232, .95));
}

.fancy-page::before {
  content: '';
  position: absolute;
  inset: 18px 18px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 151, 178, .1), transparent 72%);
  pointer-events: none;
}

.fancy-page > * {
  position: relative;
  z-index: 1;
}

.fancy-hero {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 26px;
  padding: 30px;
  background:
    linear-gradient(130deg, rgba(0, 94, 113, .9) 0%, rgba(0, 151, 178, .84) 100%),
    url('hero/slide-2.jpg') center / cover;
  box-shadow: 0 20px 40px rgba(0, 94, 113, .24);
}

.fancy-hero p {
  max-width: 720px;
}

.panel {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border-color: rgba(0, 151, 178, .12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(250, 244, 236, .96));
  box-shadow: 0 16px 30px rgba(65, 44, 23, .08);
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(0, 151, 178, 0));
}

.footer {
  margin-top: 48px;
  padding: 0;
  border-top: 0;
}

.footer-grid {
  gap: 0;
  padding: 24px 28px;
  border: 1px solid rgba(0, 151, 178, .14);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(244, 235, 224, .92));
  box-shadow: var(--shadow-md);
}

.footer-card {
  padding: 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-card + .footer-card {
  border-left: 1px solid rgba(0, 151, 178, .12);
}

.footer-card a {
  position: relative;
  padding-left: 14px;
}

.footer-card a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 151, 178, .38);
  transform: translateY(-50%);
}

.newsletter-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.newsletter-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7d6146;
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.newsletter-input {
  min-height: 44px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0, 151, 178, .18);
  background: rgba(255,255,255,.92);
  padding: 0 14px;
  color: var(--text);
}

.newsletter-input:focus {
  outline: none;
  border-color: rgba(0, 151, 178, .48);
  box-shadow: 0 0 0 4px rgba(0, 151, 178, .10);
}

.newsletter-submit {
  min-height: 44px;
  padding-inline: 16px;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.newsletter-consent input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.newsletter-consent a {
  display: inline;
  padding-left: 0;
}

.newsletter-consent a::before {
  display: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  padding: 0 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

body.cookie-modal-open {
  overflow: hidden;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 42, 47, .42);
  backdrop-filter: blur(4px);
}

.cookie-modal-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, calc(100vw - 28px));
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(0, 151, 178, .18);
  background: rgba(255, 253, 249, .96);
  box-shadow: 0 24px 50px rgba(30, 41, 59, .14);
  backdrop-filter: blur(18px);
  transform: translate(-50%, -50%);
}

.cookie-copy {
  display: grid;
  gap: 6px;
}

.cookie-copy strong {
  font-size: 16px;
  color: var(--text);
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.cookie-copy a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.shop-layout,
.product-layout,
.checkout-grid,
.acc-layout,
.auth-wrap {
  gap: 22px;
}

.filter-box,
.menu {
  border-radius: 28px;
  border-color: rgba(0, 151, 178, .14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(246, 239, 229, .94));
}

.filter-box {
  top: var(--sticky-offset);
  max-height: calc(100dvh - var(--sticky-offset) - 20px);
  overflow: auto;
}

.toolbar {
  padding: 12px 16px;
  border: 1px solid rgba(0, 151, 178, .12);
  border-radius: 20px;
  background: rgba(255,255,255,.74);
  box-shadow: 0 14px 30px rgba(63, 43, 22, .06);
}

.product-layout > .card,
.checkout-card,
.table-wrap,
.address-card,
.profile-section,
.kpi {
  border-radius: 24px;
  border-color: rgba(0, 151, 178, .12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(250, 244, 235, .95));
}

.preview {
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 20%, rgba(255,255,255,.92), transparent 26%),
    linear-gradient(145deg, rgba(216, 241, 245, .76), rgba(251, 243, 235, .96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.68),
    0 22px 40px rgba(68, 49, 25, .1);
}

.help {
  border-radius: 18px;
  border-color: rgba(0, 151, 178, .12);
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 24px rgba(63, 43, 22, .06);
}

.checkout-card {
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248, 241, 232, .94));
}

.summary-box {
  top: var(--sticky-offset);
}

@media (max-width: 1180px) {
  .header-row { align-items: flex-start; }
  .search-shell {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    min-width: 100%;
  }
  .header-actions {
    flex: 1 1 100%;
    justify-content: flex-start;
  }
  .shop-layout,
  .product-layout,
  .checkout-grid,
  .acc-layout,
  .auth-wrap {
    grid-template-columns: 1fr;
  }
  .summary-box,
  .filter-box {
    position: static;
    max-height: none;
    overflow: visible;
  }
}

.carrier-card,
.detail-item,
.invoice-banner,
.kpi {
  box-shadow: 0 14px 28px rgba(62, 44, 23, .06);
}

.detail-item {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.94), rgba(243, 249, 250, .82));
}

.invoice-banner {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(216, 241, 245, .95), rgba(255, 251, 246, .96));
}

.kpi {
  border-radius: 22px;
  padding: 16px 18px;
}

.table-wrap {
  border-radius: 22px;
  background: rgba(255,255,255,.72);
}

.table {
  background: transparent;
}

.table th {
  background: rgba(216, 241, 245, .7);
}

.menu .chip-btn {
  justify-content: flex-start;
  border-radius: 16px;
  padding: 12px 14px;
}

.menu .chip-btn.active {
  background:
    linear-gradient(180deg, rgba(216, 241, 245, .92), rgba(255,255,255,.96));
  border-color: rgba(0, 151, 178, .2);
  color: var(--accent-3);
}

.auth-wrap {
  align-items: stretch;
}

.auth-wrap .hero {
  min-height: 100%;
  border-radius: 30px;
  background:
    linear-gradient(125deg, rgba(0, 94, 113, .9) 0%, rgba(0, 151, 178, .8) 100%),
    url('hero/slide-1.jpg') center / cover;
  box-shadow: 0 24px 48px rgba(0, 94, 113, .22);
}

.auth-wrap .auth-card {
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248, 241, 232, .95));
}

.tabs .tab {
  border-radius: 16px;
  min-height: 46px;
}

.tabs .tab.active {
  background: linear-gradient(180deg, rgba(216, 241, 245, .9), rgba(255,255,255,.98));
}

.doc-shell {
  margin-top: 26px;
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 18px;
}

.doc-viewer {
  display: grid;
  gap: 12px;
  color: var(--text);
  line-height: 1.8;
}

.doc-viewer.is-loading {
  min-height: 180px;
  align-content: start;
}

.doc-viewer h1,
.doc-viewer h2,
.doc-viewer h3,
.doc-viewer h4 {
  margin: 10px 0 0;
  color: #2b4047;
}

.doc-viewer p,
.doc-viewer li {
  margin: 0;
  color: #5c4b3a;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.doc-viewer ul,
.doc-viewer ol {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.doc-viewer table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,.8);
  border-radius: 18px;
  overflow: hidden;
}

.doc-viewer th,
.doc-viewer td {
  padding: 10px 12px;
  border: 1px solid rgba(0, 94, 113, .12);
  vertical-align: top;
  text-align: left;
}

.legal-page {
  display: grid;
  gap: 22px;
}

.legal-hero {
  min-height: 180px;
}

.legal-info-grid,
.legal-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.legal-mini-panel {
  padding: 18px 20px;
}

.legal-mini-panel h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.legal-mini-panel p {
  margin: 0;
  color: #5c4b3a;
  line-height: 1.72;
  font-size: 14px;
}

.legal-mini-panel p + p {
  margin-top: 6px;
}

.static-copy {
  display: grid;
  gap: 14px;
}

.static-copy p {
  margin: 0;
  color: #5c4b3a;
  font-size: 15px;
  line-height: 1.85;
}

.compact-copy {
  gap: 8px;
}

.compact-copy p {
  font-size: 14px;
  line-height: 1.72;
}

.legal-list {
  gap: 10px;
}

.legal-doc {
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid rgba(0, 151, 178, .12);
  border-radius: 24px;
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .58);
}

.legal-doc h2 {
  margin-top: 20px;
  font-size: clamp(22px, 2.7vw, 30px);
  line-height: 1.18;
  color: var(--accent-3);
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.3;
  color: #34525b;
}

.legal-doc p,
.legal-doc li {
  font-size: 15px;
  line-height: 1.85;
}

.legal-doc .doc-list {
  gap: 10px;
}

.legal-doc a {
  color: var(--accent-3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pdf-viewer {
  width: 100%;
  min-height: 75vh;
  border: 1px solid rgba(0, 94, 113, .14);
  border-radius: 24px;
  background: rgba(255,255,255,.88);
}

@media (max-width: 980px) {
  .shop-layout,
  .product-layout,
  .checkout-grid,
  .acc-layout,
  .auth-wrap {
    gap: 16px;
  }

  .page-hero,
  .filter-hero,
  .fancy-page,
  .checkout-card {
    padding: 22px;
  }

  .summary-box,
  .filter-box {
    top: auto;
  }
}

@media (max-width: 760px) {
  main.container {
    padding-bottom: 28px;
  }

  .page-hero,
  .filter-hero,
  .fancy-page,
  .checkout-card,
  .feature-card,
  .panel {
    border-radius: 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .footer-card {
    padding: 0;
  }

  .footer-card + .footer-card {
    border-left: 0;
    border-top: 1px solid rgba(0, 151, 178, .12);
    padding-top: 18px;
  }

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom,
  .cookie-modal-card {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-modal-card {
    width: min(100vw - 24px, 560px);
    padding: 20px;
  }

  .auth-wrap .hero,
  .auth-wrap .auth-card {
    border-radius: 24px;
  }

  .legal-doc {
    padding: 16px;
    border-radius: 20px;
  }

  .legal-mini-panel {
    padding: 16px;
  }

  .pdf-viewer {
    min-height: 68vh;
  }
}
