:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-strong: #eef6f5;
  --text: #172027;
  --muted: #6b7785;
  --line: #dde6ed;
  --brand: #0d8f85;
  --brand-dark: #066960;
  --accent: #ff6b35;
  --gold: #f5b942;
  --shadow: 0 22px 70px rgba(26, 41, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
}

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

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

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(180px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(221, 230, 237, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(42, 62, 82, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(198, 25, 34, 0.18);
}

.brand-logo img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand strong {
  font-size: 15px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbfc;
}

.search-wrap { position: relative; }
.search-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; display: none; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.search-suggest.visible { display: grid; }
.search-suggest button { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; min-height: 58px; padding: 8px 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.search-suggest button:last-child { border-bottom: 0; }
.search-suggest button:hover { background: var(--surface-strong); }
.search-suggest span { width: 42px; height: 42px; border-radius: 10px; background-position: center; background-size: cover; }
.search-suggest b { color: var(--brand-dark); white-space: nowrap; }

.search span {
  color: var(--brand);
  font-size: 26px;
  line-height: 1;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
}

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

.language-menu { position: relative; }
.language-current, .language-options button { display: flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-weight: 800; }
.language-current { min-height: 44px; padding: 0 10px; border-radius: 12px; background: var(--surface-strong); color: var(--brand-dark); }
.language-current img, .language-options img { width: 24px; height: 17px; object-fit: cover; border-radius: 3px; }
.language-current b { margin-left: 2px; font-size: 16px; }
.language-options { position: absolute; top: calc(100% + 8px); right: 0; z-index: 30; display: none; min-width: 150px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); }
.language-menu.open .language-options { display: grid; }
.language-options button { width: 100%; padding: 10px; border-radius: 9px; background: transparent; color: var(--text); text-align: left; }
.language-options button:hover { background: var(--surface-strong); color: var(--brand-dark); }

.header-actions a,
.cart-button,
.primary-button,
.details-button,
.buy-button,
.primary-link,
.secondary-link {
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
}

.header-actions a {
  display: grid;
  place-items: center;
  padding: 0 14px;
  color: var(--muted);
}

.cart-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 18px;
  background: var(--text);
  color: #fff;
}

.cart-button span {
  display: grid;
  min-width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 24px;
  align-items: stretch;
  min-height: 560px;
  margin-top: 18px;
  padding: 46px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 20%, rgba(255, 107, 53, 0.22), transparent 30%),
    linear-gradient(135deg, #082d35 0%, #0f6d68 48%, #f7c35f 130%);
  color: #fff;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #9ff4e9;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.65;
}

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

.primary-link,
.secondary-link {
  display: inline-grid;
  place-items: center;
  padding: 0 22px;
}

.primary-link {
  background: #fff;
  color: var(--brand-dark);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.hero-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: minmax(160px, 1fr);
  gap: 14px;
}

.showcase-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.1);
}

.showcase-card.large {
  grid-row: span 2;
  min-height: 394px;
  background:
    radial-gradient(circle at 40% 34%, #ffb199, transparent 32%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.06));
}

.showcase-card.accent {
  background:
    radial-gradient(circle at 75% 15%, rgba(245, 185, 66, 0.45), transparent 34%),
    rgba(255, 255, 255, 0.11);
}

.showcase-card span {
  margin-bottom: 8px;
  color: #ffe3a3;
  font-size: 13px;
  font-weight: 900;
}

.showcase-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.showcase-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 18px 0 42px;
}

.service-strip article,
.filters,
.profile-panel,
.info-band {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}

.service-strip article {
  padding: 20px;
}

.service-strip strong,
.service-strip span {
  display: block;
}

.service-strip span {
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.45;
}

.delivery-cutoff-notice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 18px 0 0;
  padding: 18px 22px;
  border: 1px solid #f3b27b;
  border-left: 6px solid #d94c25;
  border-radius: 18px;
  background: #fff3e8;
  box-shadow: 0 10px 26px rgba(123, 61, 19, .1);
  color: #382116;
}

.delivery-cutoff-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #d94c25;
  color: #fff;
  font-size: 24px;
  font-weight: 900;
}

.delivery-cutoff-notice strong {
  display: block;
  font-size: 18px;
  line-height: 1.35;
}

.delivery-cutoff-notice p {
  margin: 5px 0 0;
  color: #68432f;
  font-size: 15px;
  line-height: 1.5;
}

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

.section-head h2,
.profile-panel h2,
.info-band h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

select,
.checkout input,
.checkout textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
}

select {
  min-height: 42px;
  padding: 0 12px;
}

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

.filters {
  position: sticky;
  top: 104px;
  padding: 18px;
}

.filters h3 {
  margin-bottom: 14px;
}

.filter-list {
  display: grid;
  gap: 8px;
}

.filter-list button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.filter-list button.active {
  border-color: var(--brand);
  background: var(--surface-strong);
  color: var(--brand-dark);
  font-weight: 900;
}

.delivery-note {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: #fff7e8;
}

.delivery-note span {
  color: #7b5b19;
  font-size: 13px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.category-card {
  min-height: 94px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(35, 48, 61, 0.08);
}

.category-card strong,
.category-card span {
  display: block;
}

.category-card span {
  margin-top: 8px;
  color: var(--muted);
}

.results-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--muted);
}

.results-bar strong {
  color: var(--text);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.favorite {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.product-image,
.modal-image,
.cart-thumb {
  background:
    radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--product-color), white 35%), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--product-color), white 18%), color-mix(in srgb, var(--product-color), black 18%));
}

.product-image {
  display: flex;
  align-items: end;
  min-height: 190px;
  padding: 18px;
}

.product-image span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 900;
}

.product-body {
  padding: 18px;
}

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

.product-card h3 {
  margin: 8px 0;
  font-size: 20px;
}

.product-card p {
  min-height: 66px;
  color: var(--muted);
  line-height: 1.45;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
}

.price-row strong {
  font-size: 24px;
  white-space: nowrap;
}

.price-row span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

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

.details-button,
.buy-button,
.primary-button {
  padding: 0 14px;
}

.details-button {
  background: #edf3f7;
  color: var(--text);
}

.buy-button,
.primary-button {
  background: var(--brand);
  color: #fff;
}

.info-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  margin-top: 48px;
  padding: 34px;
}

.info-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.profile-panel {
  margin-top: 18px;
  padding: 28px;
}

.profile-card {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.avatar {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand), #f4b942);
  color: #fff;
  font-size: 32px;
  font-weight: 900;
}

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

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

.profile-grid article {
  padding: 18px;
  border-radius: 18px;
  background: #f7fafb;
}

.profile-grid strong,
.profile-grid span {
  display: block;
}

.profile-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: min(480px, 100vw);
  height: 100vh;
  padding: 20px;
  background: #fff;
  box-shadow: -20px 0 80px rgba(13, 26, 36, 0.18);
  transform: translateX(102%);
  transition: transform 0.25s ease;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-header h2 {
  margin-bottom: 0;
}

.close-btn {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef3f6;
  cursor: pointer;
  font-size: 26px;
}

.cart-items {
  display: grid;
  flex: 1;
  align-content: start;
  gap: 10px;
  overflow: auto;
  padding-right: 2px;
}

.cart-row {
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.cart-thumb {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

.cart-row strong,
.cart-row span {
  display: block;
}

.cart-row span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.cart-row button {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 24px;
}

.checkout {
  display: grid;
  gap: 10px;
  padding-top: 16px;
}

.checkout h3 {
  margin-bottom: 0;
}

.checkout input,
.checkout textarea {
  width: 100%;
  padding: 13px 14px;
  outline: none;
}

.checkout textarea {
  min-height: 84px;
  resize: vertical;
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: var(--surface-strong);
}

.checkout-total strong {
  font-size: 24px;
  white-space: nowrap;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(7, 15, 20, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

.product-modal {
  width: min(920px, calc(100vw - 28px));
  border: 0;
  border-radius: 26px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.product-modal::backdrop {
  background: rgba(8, 20, 28, 0.48);
}

.product-modal .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}

.modal-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.modal-image {
  display: flex;
  align-items: end;
  min-height: 520px;
  padding: 24px;
  border-radius: 20px;
}

.modal-image span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 900;
}

.modal-copy {
  padding: 18px 8px;
}

.modal-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
}

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

.detail-price {
  display: grid;
  gap: 4px;
  margin: 18px 0;
}

.detail-price strong {
  font-size: 34px;
}

.detail-price span {
  color: var(--muted);
}

.weight-box {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: #f6fafb;
}

.weight-box label {
  font-weight: 900;
}

.weight-box div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.weight-box input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.weight-box strong {
  color: var(--brand-dark);
  font-size: 24px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1100px) {
  .topbar,
  .hero,
  .catalog-layout,
  .info-band {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }
  .filter-list {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

@media (max-width: 720px) {
  .app-shell {
    padding: 10px;
  }

  .topbar {
    top: 6px;
    border-radius: 18px;
  }

  .header-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding: 28px 18px;
    border-radius: 22px;
  }

  h1 {
    font-size: 42px;
  }

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

  .hero-showcase,
  .product-grid,
  .category-grid,
  .profile-grid,
  .service-strip,
  .filter-list,
  .modal-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card.large,
  .modal-image {
    min-height: 260px;
  }

  .section-head {
    display: grid;
  }

  .product-card p {
    min-height: auto;
  }
}

/* Balyk selling redesign */
:root {
  --bg: #fff6ed;
  --surface: #fffaf5;
  --surface-strong: #fff0df;
  --text: #24130b;
  --muted: #7d5f4c;
  --line: #ffd5b8;
  --brand: #f05a28;
  --brand-dark: #a9350e;
  --accent: #ff9f1c;
  --gold: #ffd166;
  --shadow: 0 24px 80px rgba(168, 73, 18, 0.18);
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 159, 28, .28), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(240, 90, 40, .2), transparent 28%),
    linear-gradient(135deg, #fff8ee 0%, #ffe8d3 54%, #fff5e6 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  top: 118px;
  bottom: 48px;
  left: max(14px, calc((100vw - 1530px) / 2));
  width: 104px;
  pointer-events: none;
  border: 1px solid rgba(255, 184, 128, .72);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, .9), rgba(255, 239, 220, .62)),
    url('./images/pink-salmon-caviar.jpg') center 18px / 72px 72px no-repeat,
    url('./images/shrimp.jpg') center calc(100% - 22px) / 78px 78px no-repeat;
  box-shadow: 0 18px 60px rgba(160, 78, 24, .12);
  display: none;
  opacity: .82;
}

body::after {
  content: "";
  position: fixed;
  top: 170px;
  right: max(14px, calc((100vw - 1530px) / 2));
  bottom: 72px;
  width: 104px;
  pointer-events: none;
  border: 1px solid rgba(255, 184, 128, .72);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 250, 245, .88), rgba(255, 239, 220, .6)),
    url('./images/smoked-salmon.jpg') center 20px / 80px 80px no-repeat,
    url('./images/tuna.jpg') center calc(100% - 24px) / 74px 74px no-repeat;
  box-shadow: 0 18px 60px rgba(160, 78, 24, .12);
  display: none;
  opacity: .82;
}

@keyframes bgMove { from { transform: translate3d(0,0,0); } to { transform: translate3d(220px,0,0); } }
@keyframes floatIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideProduct { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shine { 0% { transform: translateX(-140%) rotate(18deg); } 100% { transform: translateX(180%) rotate(18deg); } }
@keyframes product-card-shine {
  0%, 12% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  18% { opacity: .48; }
  52% { opacity: .32; transform: translateX(400%) skewX(-18deg); }
  58%, 100% { opacity: 0; transform: translateX(400%) skewX(-18deg); }
}

.topbar {
  background: rgba(255, 250, 245, .86);
  border-color: rgba(255, 186, 132, .8);
}

.brand strong { font-size: 22px; color: var(--brand-dark); }
.brand-logo {
  width: 76px;
  height: 76px;
  flex-basis: 76px;
  border: 2px solid rgba(214, 18, 28, .12);
}
.brand-logo img {
  width: 70px;
  height: 70px;
}
.brand-mark { background: linear-gradient(135deg, #ff7a1a, #e64916); box-shadow: 0 0 28px rgba(240,90,40,.4); }
.header-actions a.active, .header-actions a:hover { background: #fff0df; color: var(--brand-dark); }
.header-actions b { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--brand); color: #fff; }

.view { display: none; animation: floatIn .38s ease both; }
.view.active { display: block; }
.product-grid.sliding .product-card { animation: slideProduct .42s ease both; }
.product-grid.sliding .product-card:nth-child(2) { animation-delay: .04s; }
.product-grid.sliding .product-card:nth-child(3) { animation-delay: .08s; }
.product-grid.sliding .product-card:nth-child(4) { animation-delay: .12s; }
.product-grid.sliding .product-card:nth-child(5) { animation-delay: .16s; }
.product-grid.sliding .product-card:nth-child(6) { animation-delay: .2s; }

.hero {
  background:
    linear-gradient(115deg, rgba(60, 23, 8, .78), rgba(178, 64, 13, .45)),
    url('./images/seafood-market.jpg') center/cover;
  box-shadow: 0 26px 90px rgba(136, 55, 13, .26);
}

.hero h1 { text-shadow: 0 10px 30px rgba(0,0,0,.22); }
.hero .eyebrow { color: #ffd99c; }
.primary-link, .primary-button, .buy-button { background: linear-gradient(135deg, #ff8c1a, #f05a28); box-shadow: 0 12px 28px rgba(240,90,40,.28); }
.secondary-link { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); }

.showcase-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)), url('./images/pink-salmon-caviar.jpg') center/cover;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}
.showcase-photo.large { grid-row: span 2; min-height: 394px; }
.showcase-photo.salmon { background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)), url('./images/smoked-salmon.jpg'); }
.showcase-photo.shrimp { background-image: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)), url('./images/shrimp.jpg'); }
.showcase-photo span { color: #ffe2a8; font-weight: 900; }
.showcase-photo strong { font-size: 26px; }

.product-card, .category-card, .service-strip article, .filters, .commerce-panel, .summary-panel, .checkout-page, .auth-card, .profile-card.pro, .analytics-grid article {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 189, 138, .85);
  background: rgba(255, 250, 245, .9);
  box-shadow: 0 14px 38px rgba(160, 78, 24, .08);
}
.glow-card::after, .summary-panel::after, .auth-card::after {
  content: "";
  position: absolute;
  top: -45%;
  left: 0;
  width: 80px;
  height: 190%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  transform: translateX(-140%) rotate(18deg);
}
.product-card::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -55%;
  z-index: 1;
  width: 45%;
  height: 140%;
  background: linear-gradient(100deg, transparent 8%, rgba(255,255,255,.08) 35%, rgba(255,255,255,.58) 50%, rgba(255,255,255,.08) 65%, transparent 92%);
  opacity: 0;
  pointer-events: none;
  animation: product-card-shine 6s ease-in-out infinite;
}
.product-card:hover, .category-card:hover, .service-strip article:hover, .summary-panel:hover, .auth-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 70px rgba(240, 90, 40, .24), 0 0 0 1px rgba(255, 128, 45, .35);
}
.glow-card:hover::after, .summary-panel:hover::after, .auth-card:hover::after { animation: shine .75s ease; }
.product-image, .modal-image.photo { background-size: cover; background-position: center; }
.product-image { width: 100%; min-height: 220px; aspect-ratio: 4 / 3; border: 0; background-repeat: no-repeat; background-size: cover; background-position: center; }
.product-image span { background: #fff3df; color: var(--brand-dark); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.price-row strong, .detail-price strong, .checkout-bottom strong, .summary-panel strong { color: var(--brand-dark); }

.page-head { padding: 54px 8px 24px; }
.checkout-inline { display: none; margin-top: 24px; scroll-margin-top: 110px; }
.checkout-inline.open { display: block; animation: floatIn .38s ease both; }
.back-link { border: 0; background: transparent; color: var(--brand-dark); cursor: pointer; font-weight: 800; }
.page-head .back-link {
  display: flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border: 1px solid rgba(20, 15, 12, .18);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(32, 22, 15, .08);
  color: #382116;
  text-decoration: none;
  touch-action: manipulation;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.page-head .back-link:hover {
  border-color: #d94c25;
  background: #fff3e8;
  transform: none;
}
.minimum-order-notice {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1e5;
  color: #8a3516;
  font-size: 14px;
  font-weight: 700;
}
.summary-panel #startCheckout:disabled {
  cursor: not-allowed;
  opacity: .55;
  box-shadow: none;
  transform: none;
}
#view-product {
  scroll-margin-top: 116px;
}
.product-detail-page { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px; padding: 0 8px 48px; }
.detail-photo { min-height: 540px; display: flex; align-items: end; padding: 24px; border-radius: 26px; background-position: center; background-size: cover; color: #fff; }
.detail-photo span { padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--brand-dark); font-weight: 900; }
.detail-content { padding: 20px 8px; }
.detail-content h1 { font-size: clamp(36px, 5vw, 68px); color: var(--brand-dark); }
.detail-content > p, .detail-info p { color: var(--muted); line-height: 1.7; }
.detail-info { margin: 24px 0; padding: 18px; border-radius: 18px; background: var(--surface-strong); }
.detail-info h3 { margin-bottom: 8px; }
.weight-label { display: grid; gap: 10px; margin-bottom: 14px; color: var(--brand-dark); font-weight: 800; }
.weight-label input, .weight-label select {
  min-height: 58px;
  width: 100%;
  padding: 0 52px 0 18px;
  border: 1px solid rgba(240, 90, 40, .28);
  border-radius: 18px;
  outline: none;
  background:
    linear-gradient(135deg, rgba(255, 246, 236, .98), rgba(255, 225, 194, .86)),
    linear-gradient(135deg, #fff, #fff);
  color: var(--brand-dark);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 14px 34px rgba(160, 78, 24, .12);
  cursor: pointer;
  font-weight: 900;
}
.weight-label select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #a9350e 50%),
    linear-gradient(135deg, #a9350e 50%, transparent 50%),
    linear-gradient(135deg, rgba(255, 246, 236, .98), rgba(255, 225, 194, .86));
  background-position:
    calc(100% - 28px) 50%,
    calc(100% - 20px) 50%,
    0 0;
  background-size: 8px 8px, 8px 8px, 100% 100%;
  background-repeat: no-repeat;
}
.weight-label input:focus, .weight-label select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(240,90,40,.16), 0 14px 34px rgba(160, 78, 24, .14);
}
.detail-total { display: block; margin-bottom: 14px; color: var(--brand-dark); font-size: 30px; }
.measure-input { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.measure-input span { color: var(--muted); font-size: 14px; white-space: nowrap; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--surface-strong); }
.auth-switch button { min-height: 38px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; font-weight: 800; }
.auth-switch button.active { background: #fff; color: var(--brand-dark); box-shadow: 0 4px 12px rgba(160,78,24,.1); }
.password-hint { color: var(--muted); font-size: 12px; font-weight: 600; line-height: 1.4; }
.auth-message { min-height: 20px; padding: 0 2px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.auth-message.success { color: #23814a; }
.auth-message.error { color: #b52b1b; }
.order-row { display: grid; gap: 6px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.order-row span, .order-row small, #ordersList p { color: var(--muted); }
.page-head h1 { margin-bottom: 12px; color: var(--brand-dark); }
.page-head p { color: var(--muted); font-size: 18px; }
.commerce-layout, .profile-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.commerce-panel, .summary-panel, .checkout-page, .auth-card, .profile-card.pro, .analytics-grid article { border: 1px solid var(--line); border-radius: 24px; padding: 22px; }
.summary-panel { position: sticky; top: 104px; display: grid; gap: 12px; }
.summary-panel strong { font-size: 38px; }
.page-cart { display: grid; gap: 12px; min-height: 220px; }
.cart-page-row { grid-template-columns: 86px 1fr auto 40px; padding: 14px; background: #fff; }
.cart-thumb { width: 86px; height: 86px; background-size: cover; background-position: center; }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button, .remove { width: 34px; height: 34px; border: 0; border-radius: 50%; background: #fff0df; color: var(--brand-dark); cursor: pointer; font-weight: 900; }
.checkout-page { max-width: 980px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid label, .auth-card label { display: grid; gap: 7px; color: var(--brand-dark); font-weight: 800; }
.form-grid .wide { grid-column: 1 / -1; }
.checkout-page input, .checkout-page textarea, .auth-card input { width: 100%; padding: 15px; border: 1px solid var(--line); border-radius: 16px; outline: none; background: #fff; }
.checkout-page input:focus, .checkout-page textarea:focus, .auth-card input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(240,90,40,.14); }
.checkout-errors { display: grid; gap: 8px; margin-top: 14px; }
.checkout-errors span { padding: 10px 12px; border-radius: 12px; background: #fff0f0; color: #a32112; }
.checkout-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 18px; padding: 18px; border-radius: 18px; background: #fff0df; }
.checkout-bottom span, .checkout-bottom strong { display: block; }
.profile-layout { grid-template-columns: 360px minmax(0, 1fr); }
.auth-card { display: grid; gap: 12px; }
.profile-card.pro { display: flex; gap: 18px; align-items: center; min-height: 190px; }
.analytics-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.analytics-grid strong, .analytics-grid span { display: block; }
.analytics-grid span { margin-top: 8px; color: var(--muted); }
.avatar { background: linear-gradient(135deg, #ff8c1a, #f05a28); box-shadow: 0 0 36px rgba(240,90,40,.28); }

@media (max-width: 900px) {
  body::before, body::after { display: none; }
  .commerce-layout, .profile-layout, .form-grid, .analytics-grid { grid-template-columns: 1fr; }
  .cart-page-row { grid-template-columns: 70px 1fr; }
  .qty, .remove { justify-self: start; }
  .checkout-bottom { display: grid; }
  .product-detail-page { grid-template-columns: 1fr; }
  .detail-photo { min-height: 320px; }
}

@media (min-width: 1500px) {
  body::before, body::after { display: block; }
  .app-shell { max-width: min(1440px, calc(100vw - 250px)); }
}

/* Premium polish */
:root {
  --bg: #100d0b;
  --surface: #fffaf4;
  --surface-strong: #fff0df;
  --text: #21160f;
  --muted: #715f55;
  --line: rgba(238, 190, 146, .68);
  --brand: #e54522;
  --brand-dark: #15100d;
  --black: #15100d;
  --shadow: 0 24px 80px rgba(23, 16, 12, .22);
}

body {
  background:
    linear-gradient(180deg, rgba(16, 13, 11, .78), rgba(16, 13, 11, .28) 36%, rgba(255, 244, 232, .9) 78%),
    linear-gradient(90deg, rgba(16, 13, 11, .38), rgba(255, 246, 235, .74) 24%, rgba(255, 246, 235, .76) 76%, rgba(16, 13, 11, .38)),
    url('./images/seafood-market.jpg') center top / cover fixed;
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
}

body::before,
body::after {
  display: none !important;
  content: none;
}

h1,
h2,
.brand strong,
.section-head h2,
.page-head h1 {
  font-family: "Noto Sans", Arial, sans-serif;
}

.topbar {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(21, 16, 13, .88);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.brand strong,
.header-actions a,
.language-current {
  color: #fff7ef;
}

.brand small,
.header-actions a:not(.active) {
  color: rgba(255, 247, 239, .68);
}

.header-actions a.active,
.header-actions a:hover,
.language-current {
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.search {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .92);
}

.hero {
  border: 1px solid rgba(255, 255, 255, .15);
  background:
    linear-gradient(115deg, rgba(12, 10, 9, .9), rgba(37, 24, 17, .68) 52%, rgba(168, 53, 14, .32)),
    url('./images/seafood-market.jpg') center/cover;
}

.service-strip {
  position: relative;
  gap: 16px;
  margin-top: 22px;
  padding-top: 58px;
}

.service-strip::before {
  content: "\0412\0430\0436\043D\044B\0435\000020\0443\0441\043B\043E\0432\0438\044F\000020\0437\0430\043A\0430\0437\0430";
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--black);
  color: #fff8ef;
  box-shadow: 0 14px 34px rgba(21, 16, 13, .24);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.service-strip article {
  border-color: rgba(21, 16, 13, .16);
  background:
    linear-gradient(135deg, rgba(21, 16, 13, .94), rgba(58, 37, 25, .88)),
    var(--black);
  color: #fff8ef;
}

.service-strip article::before {
  content: "";
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9f1c, #e54522);
}

.service-strip strong {
  color: #fff;
  font-size: 18px;
}

.service-strip span {
  color: rgba(255, 248, 239, .78);
}

.product-card,
.category-card,
.filters,
.commerce-panel,
.summary-panel,
.checkout-page,
.auth-card,
.profile-card.pro,
.analytics-grid article {
  border-color: rgba(21, 16, 13, .12);
  background: rgba(255, 250, 244, .94);
}

.primary-button,
.buy-button,
.primary-link {
  background: linear-gradient(135deg, #1a1410, #322018 56%, #e54522);
}

.auth-message {
  display: none;
  min-height: 0;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
}

.auth-message.success,
.auth-message.error {
  display: block;
}

.auth-message.success {
  border: 1px solid rgba(35, 129, 74, .22);
  background: #edf9f1;
  color: #1d6d3d;
}

.auth-message.error {
  border: 1px solid rgba(181, 43, 27, .22);
  background: #fff0ec;
  color: #a32112;
}

.auth-card label,
.form-grid label {
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 18px;
}

.auth-card label.invalid,
.form-grid label.invalid {
  border-color: rgba(181, 43, 27, .42);
  background: #fff0ec;
  color: #a32112;
  box-shadow: 0 0 0 4px rgba(181, 43, 27, .08);
}

.auth-card label.invalid input,
.form-grid label.invalid input,
.form-grid label.invalid textarea,
.auth-card input[aria-invalid="true"],
.checkout-page input[aria-invalid="true"],
.checkout-page textarea[aria-invalid="true"] {
  border-color: #c5281c;
  background: #fff8f6;
  color: #74170f;
}

.field-error {
  display: none;
  padding: 8px 10px;
  border-radius: 10px;
  background: #c5281c;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.invalid .field-error {
  display: block;
}

@media (max-width: 720px) {
  .service-strip {
    padding-top: 54px;
  }
  .service-strip::before {
    right: 0;
    font-size: 18px;
    text-align: center;
  }
}

/* Black / orange client-ready theme */
:root {
  --bg: #0d0b09;
  --surface: #fffaf3;
  --surface-strong: #fff1df;
  --text: #17120f;
  --muted: #5f5149;
  --line: rgba(20, 15, 12, .14);
  --brand: #ff6a21;
  --brand-dark: #11100f;
  --accent: #ff8a1c;
  --gold: #ffbe55;
  --shadow: 0 28px 90px rgba(0, 0, 0, .26);
}

body {
  background:
    linear-gradient(180deg, rgba(7, 6, 5, .88), rgba(11, 9, 8, .72) 34%, rgba(255, 246, 236, .9) 100%),
    radial-gradient(circle at 10% 6%, rgba(255, 106, 33, .22), transparent 28%),
    radial-gradient(circle at 90% 14%, rgba(255, 138, 28, .18), transparent 28%),
    url('./images/seafood-market.jpg') center top / cover fixed;
  color: var(--text);
  text-rendering: geometricPrecision;
}

body::before,
body::after {
  display: none !important;
}

.app-shell {
  max-width: 1420px;
}

.topbar {
  grid-template-columns: minmax(220px, 300px) minmax(180px, 1fr) auto auto;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(13, 11, 9, .9);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .34);
}

.brand-logo {
  background: #fff;
  box-shadow: 0 12px 38px rgba(255, 106, 33, .3);
}

.brand strong {
  color: #fff;
  font-size: 24px;
}

.brand small,
.header-actions a {
  color: rgba(255, 248, 239, .72);
}

.search {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .96);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 33, .08);
}

.search input,
.search input::placeholder {
  color: #211812;
}

.header-actions a.active,
.header-actions a:hover,
.language-current {
  background: linear-gradient(135deg, rgba(255, 106, 33, .24), rgba(255, 255, 255, .08));
  color: #fff;
}

.hero {
  border: 1px solid rgba(255, 255, 255, .14);
  background:
    linear-gradient(112deg, rgba(6, 5, 4, .94), rgba(18, 13, 10, .82) 46%, rgba(255, 106, 33, .42)),
    url('./images/seafood-market.jpg') center/cover;
  box-shadow: 0 34px 110px rgba(0, 0, 0, .42);
}

.hero h1 {
  color: #fff;
  text-shadow: 0 16px 42px rgba(0, 0, 0, .44);
}

.hero p {
  color: rgba(255, 248, 239, .86);
  font-size: 19px;
}

.hero .eyebrow,
.eyebrow {
  color: var(--brand);
}

.primary-link,
.primary-button,
.buy-button {
  background: linear-gradient(135deg, #ff8a1c, #ff5a1f 54%, #14100d);
  color: #fff;
  box-shadow: 0 16px 36px rgba(255, 106, 33, .34);
}

.secondary-link,
.details-button {
  border: 1px solid rgba(255, 106, 33, .32);
  background: #15110e;
  color: #fff8ef;
}

.service-strip::before {
  background: linear-gradient(135deg, #ff8a1c, #ff5a1f);
  color: #11100f;
  letter-spacing: 0;
}

.service-strip article {
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(135deg, rgba(15, 12, 10, .98), rgba(45, 29, 20, .95)),
    #15110e;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.service-strip strong {
  font-size: 20px;
}

.section-head,
.catalog-layout,
.page-head,
.product-detail-page,
.commerce-layout,
.profile-layout {
  color: var(--text);
}

.section-head h2,
.page-head h1,
.detail-content h1 {
  color: #140f0c;
}

.product-card,
.category-card,
.filters,
.commerce-panel,
.summary-panel,
.checkout-page,
.auth-card,
.profile-card.pro,
.analytics-grid article,
.orders-panel {
  border: 1px solid rgba(20, 15, 12, .12);
  background: rgba(255, 250, 243, .97);
  box-shadow: 0 18px 54px rgba(19, 14, 10, .14);
}

.product-card h3,
.category-card strong,
.filters h3,
.auth-card h2,
.orders-panel h2 {
  color: #15100d;
}

.product-card p,
.category-card span,
.page-head p,
.detail-content > p,
.detail-info p {
  color: #5c4c42;
}

.price-row strong,
.detail-price strong,
.summary-panel strong,
.checkout-bottom strong {
  color: #11100f;
}

.filter-list button,
.category-card,
.auth-switch {
  background: #fff;
}

.filter-list button.active,
.filter-list button:hover {
  border-color: var(--brand);
  background: #15100d;
  color: #fff;
}

.sort-wrap {
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(20, 15, 12, .1);
  border-radius: 18px;
  background: rgba(255, 250, 243, .94);
  box-shadow: 0 16px 42px rgba(20, 15, 12, .1);
}

.sort-wrap label {
  padding-left: 6px;
  color: #15100d;
  font-weight: 900;
}

.sort-control {
  position: relative;
  min-width: 218px;
}

.sort-trigger {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 0 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #15100d, #2c1d15);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .16);
}

.sort-trigger b {
  width: 10px;
  height: 10px;
  border-right: 2px solid #ff8a1c;
  border-bottom: 2px solid #ff8a1c;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .18s ease;
}

.sort-control.open .sort-trigger b {
  transform: rotate(225deg) translateY(-2px);
}

.sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  display: none;
  min-width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 33, .34);
  border-radius: 16px;
  background: #15100d;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
}

.sort-control.open .sort-menu {
  display: grid;
}

.sort-menu button {
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: transparent;
  color: rgba(255, 248, 239, .82);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.sort-menu button:last-child {
  border-bottom: 0;
}

.sort-menu button:hover,
.sort-menu button.active {
  background: linear-gradient(135deg, #ff8a1c, #ff5a1f);
  color: #11100f;
}

.weight-label {
  color: #15100d;
}

.portion-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(20, 15, 12, .12);
  border-radius: 22px;
  background: linear-gradient(135deg, #fffaf3, #fff0df);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 14px 34px rgba(20, 15, 12, .08);
}

.portion-picker button {
  min-height: 50px;
  border: 1px solid rgba(20, 15, 12, .12);
  border-radius: 14px;
  background: #fff;
  color: #15100d;
  cursor: pointer;
  font-weight: 950;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.portion-picker button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(20, 15, 12, .14);
}

.portion-picker button.active {
  border-color: transparent;
  background: linear-gradient(135deg, #15100d, #2a1b13 52%, #ff6a21);
  color: #fff;
  box-shadow: 0 12px 30px rgba(255, 106, 33, .28);
}

.checkout-page input,
.checkout-page textarea,
.auth-card input {
  border-color: rgba(20, 15, 12, .14);
  background: #fff;
  color: #15100d;
}

.checkout-page input::placeholder,
.checkout-page textarea::placeholder,
.auth-card input::placeholder {
  color: #8b7a70;
}

.checkout-page input:focus,
.checkout-page textarea:focus,
.auth-card input:focus {
  border-color: #ff6a21;
  box-shadow: 0 0 0 4px rgba(255, 106, 33, .16);
}

.language-options {
  background: #15100d;
  border-color: rgba(255, 106, 33, .32);
}

.language-options button {
  color: #fff8ef;
}

.language-options button:hover {
  background: #ff6a21;
  color: #11100f;
}

@media (max-width: 760px) {
  .sort-wrap {
    display: grid;
    gap: 8px;
  }
  .sort-control {
    min-width: 0;
    width: 100%;
  }
  .portion-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --surface-strong: #f3f3f3;
  --text: #161616;
  --muted: #5e5e5e;
  --line: #e1e1e1;
  --brand: #f26a21;
  --brand-dark: #171717;
  --accent: #f26a21;
  --gold: #f6a05f;
  --shadow: 0 18px 48px rgba(20, 20, 20, 0.12);
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 8% 4%, rgba(242, 106, 33, 0.08), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f6f6f6 52%, #ffffff 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

body,
body * {
  font-family: "Noto Sans", Arial, sans-serif !important;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
.service-strip::before {
  font-family: "Noto Sans", Arial, sans-serif !important;
  font-synthesis: none;
}

[hidden] {
  display: none !important;
}

.topbar {
  border-color: rgba(118, 70, 39, 0.16);
  background: rgba(255, 252, 247, 0.96);
  box-shadow: 0 12px 34px rgba(76, 43, 22, 0.1);
}

.brand strong {
  color: var(--text);
  font-size: 26px;
}

.brand small,
.header-actions a {
  color: var(--muted);
}

.brand small,
.product-category,
.price-row span,
.sort-wrap {
  font-size: 15px;
}

.header-actions a.active,
.header-actions a:hover {
  background: #f1f1f1;
  color: var(--brand-dark);
}

.header-actions a:not(.active) {
  color: var(--muted);
}

.header-actions a.active,
.header-actions a:hover {
  color: var(--brand-dark);
}

.header-actions .logout-button {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #e7c6ad;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-dark);
  font: inherit;
  font-weight: 700;
}

.hero {
  grid-template-columns: minmax(0, 1fr);
  min-height: 480px;
  border: 1px solid rgba(242, 106, 33, 0.32);
  background-image:
    linear-gradient(90deg, rgba(13, 30, 24, 0.91) 0%, rgba(13, 30, 24, 0.78) 42%, rgba(13, 30, 24, 0.24) 100%),
    linear-gradient(0deg, rgba(13, 30, 24, 0.34), transparent 58%),
    url("./images/smoked-salmon.jpg");
  background-position: center, center, center 42%;
  background-size: cover;
}

.hero-showcase {
  display: none;
}

.hero-copy {
  max-width: 900px;
}

.hero .eyebrow {
  color: #ffd0b2;
}

.hero h1 {
  text-shadow: 0 2px 18px rgba(5, 35, 37, 0.22);
}

.hero p {
  color: #fff;
}

.showcase-photo,
.showcase-photo.large,
.showcase-photo.accent {
  color: #fff;
}

.showcase-photo span,
.showcase-photo small {
  color: #effffb;
}

.service-strip article,
.product-card,
.category-card,
.filters,
.commerce-panel,
.summary-panel,
.checkout-page,
.auth-card,
.profile-card.pro,
.analytics-grid article,
.orders-panel {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 32px rgba(76, 43, 22, 0.08);
}

.service-strip strong,
.product-card h3,
.category-card strong,
.filters h3,
.auth-card h2,
.orders-panel h2,
.profile-card h2 {
  color: var(--text);
}

.section-head h2,
.page-head h1,
.detail-content h1 {
  color: var(--text);
}

.page-head p,
.service-strip span,
.product-card p,
.price-row span,
.profile-card p {
  color: var(--muted);
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 14px;
}

.auth-card,
.profile-card.pro {
  font-size: 17px;
}

.auth-card label,
.checkout-page label {
  font-size: 16px;
  font-weight: 700;
}

.auth-card input,
.checkout-page input,
.checkout-page textarea {
  min-height: 50px;
  font-size: 17px;
}

.password-hint,
.auth-message,
.account-message {
  font-size: 15px;
}

.primary-button,
.buy-button,
.details-button,
.primary-link,
.secondary-link,
.auth-switch button,
.language-current,
.cart-button,
.header-actions .logout-button {
  background-image: none !important;
  box-shadow: none;
  font-size: 16px;
}

.primary-button,
.buy-button {
  background-color: var(--brand);
  color: #fff;
}

.primary-button:hover,
.buy-button:hover {
  background-color: #d95512;
}

.details-button {
  background-color: #f1f1f1;
  color: var(--text);
}

.primary-link {
  background-color: #fff;
  color: var(--brand-dark);
}

.secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
}

.auth-switch button.active {
  background: #fff;
  color: var(--brand-dark);
}

.language-current {
  background-color: var(--surface-strong);
  color: var(--brand-dark);
}

.sort-trigger {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  box-shadow: none;
}

.sort-menu {
  border-color: var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.sort-menu button {
  border-bottom-color: var(--line);
  background: #fff;
  color: var(--text);
}

.sort-menu button:hover,
.sort-menu button.active {
  background: #f1f1f1;
  color: var(--brand-dark);
}

.service-strip::before {
  background: #f26a21;
  color: #fff;
}

.service-strip article::before {
  background: #f26a21;
}

.product-category {
  color: var(--brand-dark);
}

.filters .filter-list button.active {
  border-color: var(--brand);
  background: #fff0e6;
  color: var(--brand-dark);
}

.avatar {
  background: #171717;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.16);
}

.cart-button {
  background-color: var(--brand);
  color: #fff;
}

.auth-card[hidden] {
  display: none !important;
}

#profileEditPanel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface, #fff);
}

#profileEditPanel h2,
#profileEditPanel > p {
  margin-bottom: 12px;
}

#profileEditPanel > p {
  color: var(--muted);
}

#profileEditForm {
  display: grid;
  gap: 14px;
}

#profileEditForm label {
  display: grid;
  gap: 7px;
  color: var(--brand-dark);
  font-weight: 800;
}

#profileEditForm input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  background: #fff;
}

#profileEditForm input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(240,90,40,.14);
}

.profile-edit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.text-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--brand-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: left;
}

.text-button:hover {
  background: rgba(240,90,40,.08);
}

.text-button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.profile-layout {
  grid-template-columns: minmax(0, 1fr);
}

.account-message {
  margin: 8px 0 0;
}

.account-message.error {
  color: #a32317;
}

.detail-info {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid rgba(242, 106, 33, 0.42);
  border-left: 5px solid #f26a21;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
}

.detail-info h2 {
  margin-bottom: 10px;
  color: #171717;
  font-size: 25px;
}

.detail-info p {
  margin: 0;
  color: #383838;
  font-size: 19px;
  line-height: 1.65;
}

.detail-price span {
  color: #5e5e5e;
}

.portion-picker {
  border-color: #e1e1e1;
  background: #fff;
  box-shadow: none;
}

.portion-picker button.active {
  border-color: #f26a21;
  background: #f26a21;
  color: #fff;
  box-shadow: none;
}

.portion-picker button:hover {
  background: #f1f1f1;
  box-shadow: none;
}

.weight-label input,
.weight-label select {
  border-color: #d7d7d7;
  background: #fff;
  background-image: none;
  color: #171717;
  box-shadow: none;
}

.weight-label select {
  appearance: auto;
}

.weight-label input:focus,
.weight-label select:focus {
  border-color: #f26a21;
  box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.16);
}

.brand-logo {
  background: transparent;
  box-shadow: none;
}

.checkout-account-summary {
  margin: 0 0 18px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
}

.checkout-contact-fields[hidden],
.checkout-account-summary[hidden] {
  display: none !important;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 12px 34px rgba(32, 22, 15, .07);
}

.site-footer-brand,
.site-footer-phone {
  display: grid;
  gap: 4px;
}

.site-footer-contacts {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.site-footer-direct-contacts {
  display: grid;
  justify-items: center;
  gap: 5px;
}

.site-footer-direct-contacts > strong {
  color: var(--muted);
  font-size: 14px;
}

.site-footer-direct-contacts a {
  color: var(--brand);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer-direct-contacts a:hover {
  color: #c94712;
}

.site-footer-direct-contacts a:focus-visible {
  outline: 3px solid rgba(233, 90, 27, .35);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-footer-brand strong {
  font-size: 22px;
  font-weight: 900;
}

.site-footer-brand span,
.site-footer-phone small,
.site-footer-note {
  color: var(--muted);
  font-size: 14px;
}

.site-footer-contacts,
.site-footer-direct-contacts {
  justify-items: start;
}

.site-footer-phone {
  justify-items: center;
  color: var(--text);
  text-align: center;
  text-decoration: none;
}

.site-footer-phone strong {
  color: var(--brand);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.site-footer-phone:hover strong {
  color: #c94712;
}

.site-footer-phone:focus-visible {
  outline: 3px solid rgba(233, 90, 27, .35);
  outline-offset: 5px;
  border-radius: 6px;
}

.site-footer-note {
  justify-self: end;
  text-align: right;
}

@media (max-width: 760px) {
  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
    padding: 24px;
  }

  .site-footer-phone {
    justify-items: start;
    text-align: left;
  }

  .site-footer-note {
    justify-self: start;
    text-align: left;
  }

  body {
    font-size: 16px;
  }

  .app-shell {
    padding: 12px;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "search search"
      "navigation navigation";
    gap: 10px;
    min-width: 0;
    background: rgba(255, 252, 247, 0.98);
  }

  .topbar > .brand {
    grid-area: brand;
  }

  .topbar > .mobile-quick-actions {
    grid-area: menu;
  }

  .mobile-menu-toggle {
    grid-area: menu;
    display: grid;
    width: 48px;
    height: 48px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }

  .topbar.menu-open .mobile-menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .mobile-menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .search-wrap {
    grid-area: search;
    width: 100%;
    min-width: 0;
  }

  .header-actions {
    grid-area: navigation;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px;
    display: none;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }

  .topbar.menu-open .header-actions {
    display: flex;
  }

  .header-actions a {
    min-width: 0;
    padding: 0 8px;
  }

  .header-actions .language-menu {
    margin-left: auto;
  }

  .brand strong {
    font-size: 22px;
  }

  .hero {
    padding: 28px 22px;
  }

  .hero h1 {
    font-size: clamp(36px, 10vw, 52px);
    line-height: 1.05;
  }

  .admin-table {
    min-width: 720px;
  }
}

.mobile-menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  .topbar .mobile-menu-toggle {
    display: grid;
  }
}

.admin-dashboard {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.admin-tab,
.admin-refresh {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

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

.admin-refresh {
  margin-left: auto;
}

.admin-message {
  margin: 0;
  padding: 0 16px;
  color: var(--muted);
}

.admin-message:not(:empty) {
  padding-top: 12px;
}

.admin-message.error {
  color: #b42318;
}

.admin-table-wrap {
  overflow-x: auto;
  padding: 12px 16px 16px;
}

.admin-panel {
  display: none;
}

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

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.admin-table td {
  font-size: 14px;
}

.admin-table td strong,
.admin-table td span {
  display: block;
}

.admin-table td span {
  color: var(--muted);
}

.admin-order-status {
  min-height: 38px;
  max-width: 150px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
}

.admin-order-items {
  min-width: 230px;
}

.admin-order-product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.admin-order-product + .admin-order-product {
  border-top: 1px solid var(--line);
}

.admin-order-product-image {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 8px;
  background: var(--surface-strong);
  object-fit: cover;
}

.admin-order-product strong,
.admin-order-product span {
  display: block;
}

.admin-order-product span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.admin-empty {
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.phone-hint {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.orders-panel {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.orders-panel h2 {
  margin: 0 0 16px;
}

#ordersList {
  display: grid;
  gap: 12px;
}

.order-row {
  gap: 14px;
  margin: 0;
  padding: 18px;
  border-color: var(--line);
  box-shadow: 0 5px 18px rgba(32, 22, 15, .045);
}

.order-row-head,
.order-row-head > div,
.order-row-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.order-row-head > div {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.order-number {
  color: var(--text);
  font-size: 17px;
}

.order-date {
  color: var(--muted);
  font-size: 14px;
}

.order-status {
  padding: 4px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.order-status.status-new {
  border-color: #f1d4a3;
  background: #fff6e5;
  color: #8b5a00;
}

.order-status.status-confirmed {
  border-color: #c9daf8;
  background: #edf4ff;
  color: #24559b;
}

.order-status.status-completed {
  border-color: #bde4cb;
  background: #eaf8ef;
  color: #237443;
}

.order-status.status-cancelled {
  border-color: #f0c8c4;
  background: #fff0ee;
  color: #a33227;
}

.order-items {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.order-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.order-items li span,
.order-detail {
  color: var(--muted);
}

.order-items li strong {
  color: var(--text);
  text-align: right;
}

.order-detail {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.order-row-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.order-row-total span {
  color: var(--muted);
}

.order-row-total strong {
  color: var(--brand-dark);
  font-size: 19px;
}

.orders-empty,
.orders-loading,
.orders-error {
  margin: 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--muted);
}

.orders-error {
  background: #fff0ec;
  color: #a32112;
}

@media (max-width: 520px) {
  .orders-panel {
    padding: 16px;
  }

  .order-row {
    padding: 14px;
  }

  .order-row-head {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .admin-tabs {
    flex-wrap: wrap;
  }

  .admin-refresh {
    margin-left: 0;
  }

  .admin-table-wrap {
    padding: 8px;
  }
}

/* Premium storefront contrast and typography */
:root {
  --text: #191512;
  --muted: #4e453f;
  --line: #ded6ce;
  --brand: #e95a1b;
  --brand-dark: #21150f;
  --surface-strong: #f5eee7;
  --shadow: 0 18px 48px rgba(32, 22, 15, .1);
}

body {
  background: #f7f5f2;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.app-shell {
  max-width: 1480px;
  padding: 24px;
}

.topbar {
  border-color: #e3dcd4;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 12px 36px rgba(34, 23, 16, .1);
}

.brand strong {
  color: #191512;
  font-weight: 900;
}

.brand small,
.header-actions a:not(.active) {
  color: #514740;
}

.hero {
  min-height: 540px;
  border-color: rgba(255, 255, 255, .28);
  background-image:
    linear-gradient(90deg, rgba(12, 11, 10, .9), rgba(18, 15, 12, .74) 52%, rgba(18, 15, 12, .2)),
    linear-gradient(0deg, rgba(9, 8, 7, .2), transparent 58%),
    url("./images/smoked-salmon.jpg");
  box-shadow: 0 28px 76px rgba(29, 19, 13, .22);
}

.hero .eyebrow {
  color: #ffb987;
  font-size: 14px;
  letter-spacing: .08em;
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.hero p {
  max-width: 720px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
}

.primary-link,
.primary-button,
.buy-button {
  background: #e95a1b;
  color: #fff;
  box-shadow: none;
  font-weight: 800;
}

.primary-link:hover,
.primary-button:hover,
.buy-button:hover {
  background: #c94712;
}

.secondary-link,
.details-button {
  border-color: rgba(255, 255, 255, .72);
  color: #fff;
  font-weight: 800;
}

.service-strip article {
  border-color: #ded6ce;
  background: #fff;
  box-shadow: 0 10px 28px rgba(32, 22, 15, .06);
}

.service-strip strong {
  color: #21150f;
  font-size: 19px;
  font-weight: 850;
}

.service-strip span {
  color: #514740;
  font-size: 16px;
}

.eyebrow {
  color: #a33b0d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .075em;
}

.section-head {
  margin: 0 0 24px;
}

.section-head h2,
.page-head h1,
.detail-content h1 {
  color: #191512;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-head .eyebrow {
  margin-bottom: 8px;
}

.sort-wrap {
  color: #433a34;
  font-weight: 700;
}

.sort-wrap label {
  color: #433a34;
}

.catalog-layout {
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
}

.filters {
  border-color: #ded6ce;
  background: #fff;
  box-shadow: 0 12px 32px rgba(32, 22, 15, .07);
}

.filters h3 {
  margin-bottom: 16px;
  color: #21150f;
  font-size: 20px;
  font-weight: 900;
}

.filter-list {
  gap: 6px;
}

.filter-list button {
  min-height: 46px;
  border-color: transparent;
  background: transparent;
  color: #39312b;
  font-size: 16px;
  font-weight: 650;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}

.filter-list button:hover {
  border-color: #f0d6c6;
  background: #fff6ef;
  color: #8d350d;
}

.filter-list button.active,
.filters .filter-list button.active {
  border-color: #21150f;
  background: #21150f;
  color: #fff;
  font-weight: 800;
}

.delivery-note {
  border-top-color: #e6ddd5;
  color: #514740;
}

.results-bar {
  margin-bottom: 14px;
}

.results-bar strong {
  color: #21150f;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.02em;
}

.results-bar span {
  color: #514740;
  font-size: 15px;
  font-weight: 700;
}

.product-grid {
  gap: 22px;
}

.product-card {
  overflow: hidden;
  border-color: #e3dcd4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(32, 22, 15, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #d8b9a5;
  box-shadow: 0 20px 44px rgba(32, 22, 15, .14);
}

.product-card h3 {
  color: #1d1713;
  font-size: 21px;
  font-weight: 850;
  line-height: 1.28;
  letter-spacing: -.018em;
}

.product-card p {
  color: #50463f;
  font-size: 16px;
  line-height: 1.55;
}

.product-category {
  color: #9c3b12;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.price-row strong {
  color: #191512;
  font-size: 23px;
  font-weight: 900;
}

.price-row span {
  color: #514740;
  font-size: 15px;
  font-weight: 650;
}

.details-button {
  border-color: #ded6ce;
  background: #f5f2ef;
  color: #21150f;
}

.details-button:hover {
  background: #eae3dc;
}

@media (max-width: 760px) {
  .app-shell {
    padding: 12px;
  }

  .hero {
    min-height: 440px;
    padding: 30px 24px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 58px);
  }

  .hero p {
    font-size: 17px;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .filters {
    position: static;
  }

  .filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card h3 {
    font-size: 19px;
  }
}

/* Deep-sea storefront inspired by the supplied reference */
body {
  background:
    radial-gradient(ellipse at 50% 0, rgba(47, 104, 120, .22), transparent 38%),
    #f4f5f3;
}

.app-shell {
  max-width: 1540px;
}

main#catalog {
  scroll-margin-top: 140px;
}

.topbar {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(8, 22, 31, .96);
  box-shadow: 0 16px 48px rgba(3, 12, 18, .24);
}

.brand strong {
  color: #fff;
}

.brand small {
  color: rgba(242, 248, 249, .68);
}

.search {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .96);
}

.header-actions a:not(.active) {
  color: rgba(242, 248, 249, .82);
}

.header-actions a.active,
.header-actions a:hover,
.language-current {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}

.language-current {
  background: rgba(255, 255, 255, .1);
}

.mobile-menu-toggle {
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(3, 16, 24, .92) 0%, rgba(4, 21, 30, .77) 48%, rgba(4, 20, 28, .32) 100%),
    linear-gradient(0deg, rgba(5, 17, 24, .25), transparent 48%),
    url("./images/smoked-salmon.jpg") center 43% / cover;
  box-shadow: 0 30px 84px rgba(5, 20, 28, .26);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at 80% 45%, rgba(63, 145, 162, .2), transparent 38%);
  content: "";
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero .eyebrow {
  margin-bottom: 16px;
  color: #ffb27c;
  font-size: 14px;
  letter-spacing: .11em;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(50px, 6vw, 82px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.045em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, .38);
  text-wrap: balance;
}

.hero p {
  max-width: 640px;
  color: rgba(255, 255, 255, .94);
  font-size: 19px;
  font-weight: 550;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

.hero-showcase {
  position: relative;
  z-index: 1;
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: repeat(2, minmax(150px, 1fr));
  align-items: center;
  gap: 14px;
}

.showcase-photo {
  min-width: 0;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .48);
  border-radius: 20px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .08);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}

.showcase-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .34), inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.showcase-photo.large {
  grid-column: 2;
  grid-row: 1 / 3;
  width: min(100%, 330px);
  min-height: 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 28px;
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  text-align: center;
}

.showcase-photo.large span {
  display: none;
}

.showcase-photo.large strong {
  max-width: 100%;
  text-wrap: balance;
}

.showcase-photo:not(.large) {
  min-height: 150px;
  padding: 16px;
  border-radius: 18px;
}

.showcase-photo span,
.showcase-photo small {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}

.showcase-photo span {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.showcase-photo strong {
  color: #fff;
  font-size: clamp(17px, 1.6vw, 23px);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .55);
}

.showcase-photo small {
  font-size: 14px;
  font-weight: 750;
}

.primary-link,
.primary-button,
.buy-button {
  background: #e84d37;
  color: #fff;
  box-shadow: 0 10px 26px rgba(232, 77, 55, .24);
}

.primary-link:hover,
.primary-button:hover,
.buy-button:hover {
  background: #ca3827;
}

.secondary-link {
  border-color: rgba(255, 255, 255, .58);
  background: rgba(5, 18, 26, .36);
  color: #fff;
  backdrop-filter: blur(10px);
}

.service-strip {
  gap: 14px;
  margin: 26px 0 52px;
}

.service-strip::before {
  background: #0b202c;
  color: #fff;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 17px;
}

.service-strip article {
  border-color: #dce4e5;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 32, 44, .07);
}

.service-strip article::before {
  width: 34px;
  height: 4px;
  background: #e84d37;
}

.service-strip strong {
  color: #102631;
}

.service-strip span {
  color: #4c5c63;
}

.section-head h2,
.page-head h1,
.detail-content h1 {
  color: #102631;
}

.section-head h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.eyebrow {
  color: #b23a2a;
}

.catalog-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 26px;
}

.filters {
  border-color: #dce4e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 32, 44, .07);
}

.filters h3 {
  color: #102631;
}

.filter-list button {
  border-color: transparent;
  background: transparent;
  color: #384b54;
}

.filter-list button:hover {
  border-color: #f2d7d0;
  background: #fff5f2;
  color: #a93026;
}

.filter-list button.active,
.filters .filter-list button.active {
  border-color: #102631;
  background: #102631;
  color: #fff;
}

.product-card {
  border-color: #dfe5e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(11, 32, 44, .08);
}

.product-card h3,
.price-row strong,
.results-bar strong {
  color: #102631;
}

.product-card p,
.price-row span,
.results-bar span {
  color: #4f6067;
}

.product-category {
  color: #a9362a;
}

@media (max-width: 1000px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    min-height: 500px;
    padding: 34px;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .showcase-photo.large {
    width: min(100%, 270px);
  }
}

@media (max-width: 1100px) {
  .topbar {
    background: rgba(8, 22, 31, .98);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    min-height: 0;
    padding: 34px 24px 24px;
    background-position: center, center, 57% center;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 60px);
  }

  .hero p {
    font-size: 17px;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    grid-template-rows: repeat(2, minmax(110px, 1fr));
    gap: 10px;
  }

  .showcase-photo.large {
    width: min(100%, 250px);
  }

  .showcase-photo:not(.large) {
    min-height: 110px;
    padding: 12px;
  }

  .service-strip {
    margin-bottom: 42px;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .filters {
    position: static;
  }
}

@media (max-width: 420px) {
  .hero {
    padding: 28px 18px 18px;
    border-radius: 22px;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  }

  .showcase-photo.large {
    width: min(100%, 200px);
  }

  .showcase-photo:not(.large) {
    min-height: 96px;
  }

  .showcase-photo strong {
    font-size: 16px;
  }

  .filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.brand-logo {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo img {
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 2px 2px rgba(20, 45, 56, .14));
}

.favorite {
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(20, 45, 56, .12);
  background: rgba(255, 255, 255, .96);
  color: #142d38;
  font-size: 24px;
  line-height: 1;
}

.favorite.active {
  border-color: #e95b24;
  background: #fff3eb;
  color: #d94724;
}

.favorite:focus-visible,
.favorites-toggle:focus-visible,
.portion-picker button:focus-visible {
  outline: 3px solid rgba(22, 138, 145, .55);
  outline-offset: 2px;
}

.results-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.favorites-toggle {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid #d7e0e1;
  border-radius: 999px;
  background: #fff;
  color: #142d38;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.favorites-toggle[aria-pressed="true"] {
  border-color: #e95b24;
  background: #fff3eb;
  color: #a93c1d;
}

.favorites-toggle span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.favorites-toggle b {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #edf2f2;
  color: inherit;
  text-align: center;
}

.results-tools > span {
  color: #4f6067;
  white-space: nowrap;
}

.portion-picker button {
  min-width: 0;
  padding: 8px 6px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.portion-picker button:hover:not(.active) {
  background: #f1f1f1;
  box-shadow: none;
}

.portion-picker button.active,
.portion-picker button.active:hover {
  border-color: #d94f1f;
  background: #d94f1f;
  color: #fff;
  box-shadow: 0 5px 14px rgba(217, 79, 31, .2);
}

@media (max-width: 520px) {
  .results-bar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }

  .results-tools {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .favorites-toggle {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 13px;
  }
}

.filters {
  position: static;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .topbar {
    grid-template-columns: max-content max-content minmax(0, 1fr);
    grid-template-areas:
      "brand brand brand"
      "search search search"
      "navigation quick .";
    align-items: center;
  }

  .topbar > .brand {
    grid-area: brand;
  }

  .topbar > .search-wrap {
    grid-area: search;
  }

  .topbar > .header-actions {
    grid-area: navigation;
    min-width: 0;
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 6px;
  }

  .header-actions a {
    min-width: 0;
  }

  .topbar > .mobile-quick-actions {
    grid-area: quick;
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    max-width: 760px;
    width: 100%;
    justify-self: center;
  }

  .showcase-photo.large {
    width: min(100%, 270px);
    min-height: 0;
    aspect-ratio: 1;
  }

  .catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .filters {
    position: static;
  }
}

@media (max-width: 760px) {
  .topbar .header-actions .language-current > span {
    display: none;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu" "search search" "navigation navigation";
    gap: 10px;
    padding: 10px;
  }

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

  .topbar > .brand {
    gap: 8px;
  }

  .brand > span:last-child {
    flex: 1 1 auto;
  }

  .brand-logo {
    width: clamp(52px, 16vw, 64px);
    height: clamp(52px, 16vw, 64px);
    flex-basis: clamp(52px, 16vw, 64px);
  }

  .topbar .brand small {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .topbar .mobile-menu-toggle:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .7);
    outline-offset: 2px;
  }

  .topbar .header-actions {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
  }

  .topbar.menu-open .header-actions {
    display: grid;
  }

  .topbar .header-actions a,
  .topbar .header-actions .logout-button {
    display: flex;
    min-width: 0;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 11px;
    color: #f2f8f9;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .topbar .header-actions a.active,
  .topbar .header-actions a:hover {
    background: rgba(255, 255, 255, .14);
    color: #fff;
  }

  .topbar .header-actions b {
    flex: 0 0 auto;
    margin: 0;
    padding: 2px 7px;
    background: #f05a28;
    color: #fff;
    font-size: 12px;
  }

  .topbar .header-actions .language-menu {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 0;
    margin: 0;
  }

  .topbar .header-actions .language-current {
    min-height: 40px;
    padding: 0 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 14px;
  }

  .topbar .language-options {
    z-index: 40;
    background: #10212a;
    border-color: rgba(255, 255, 255, .18);
  }

  .topbar .language-options button {
    color: #f2f8f9;
  }

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

  .commerce-layout,
  .profile-layout,
  .product-detail-page,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .summary-panel {
    position: static;
  }

  .form-grid .wide {
    grid-column: auto;
  }

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

  .product-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
  }

  .product-image {
    width: 100%;
    height: 190px;
    min-height: 190px;
    flex: 0 0 190px;
  }

  .product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 13px;
  }

  .product-card h3 {
    min-height: 2.56em;
  }

  .product-card p {
    flex: 1;
    min-height: 5.8em;
  }

  .price-row {
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 10px;
    margin-top: auto;
  }

  .price-row strong {
    max-width: 100%;
    font-size: clamp(17px, 5vw, 22px);
  }

  .checkout-total strong {
    flex-shrink: 0;
    font-size: clamp(18px, 5vw, 24px);
  }

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

  .card-actions button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    line-height: 1.3;
  }

  .site-footer-phone strong {
    font-size: clamp(19px, 5.5vw, 24px);
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .product-grid,
  .category-grid,
  .filter-list,
  .service-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }
  .showcase-photo.large {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }
  .showcase-photo:not(.large) {
    min-height: 135px;
    padding: 18px;
  }
}
@media (max-width: 420px) {
  .hero-showcase {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .showcase-photo.large {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    min-height: 190px;
    aspect-ratio: 16 / 10;
    border-radius: 20px;
  }

  .showcase-photo:not(.large) {
    min-height: 135px;
    padding: 18px;
  }
}

.filters h3 {
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ecec;
  color: #102631;
  font-size: 20px;
  font-weight: 900;
}

.filter-list {
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
}

.filter-list button {
  position: relative;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #e1e8e9;
  border-radius: 12px;
  background: #f7f9f9;
  color: #344b55;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  text-align: left;
  overflow-wrap: anywhere;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.filter-list button:hover {
  transform: translateY(-1px);
  border-color: #b9cbce;
  background: #edf3f3;
  color: #102631;
  box-shadow: 0 3px 10px rgba(16, 38, 49, .07);
}

.filter-list button:focus-visible {
  outline: 3px solid rgba(240, 90, 40, .42);
  outline-offset: 2px;
}

.filter-list button.active,
.filters .filter-list button.active {
  border-color: #102631;
  background: #102631;
  color: #fff;
  box-shadow: 0 5px 14px rgba(16, 38, 49, .16);
}

@media (min-width: 761px) and (max-width: 1100px) {
  .filter-list {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
  }
}

@media (max-width: 760px) {
  .filters {
    padding: 16px;
  }

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

  .filter-list button {
    min-height: 46px;
    padding: 9px 10px;
    font-size: 14px;
  }
}

@media (max-width: 380px) {
  .filter-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card::after {
    animation: none;
  }
}

@media (min-width: 1101px) and (max-width: 1360px) {
  .topbar {
    grid-template-columns: minmax(190px, 240px) minmax(140px, 1fr) auto auto;
  }

  .topbar > .search-wrap,
  .topbar > .header-actions,
  .topbar > .mobile-quick-actions {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
  }

  .topbar > .header-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
  }
}

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

.mobile-quick-actions .mobile-cart-link,
.mobile-quick-actions .mobile-menu-toggle {
  display: none;
}

.mobile-cart-link {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--brand-dark);
}

.mobile-cart-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.mobile-cart-link b {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  line-height: 1;
}

.mobile-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-social-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #c13584;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .18);
  color: #fff;
  cursor: pointer;
}

.mobile-social-icon[aria-label="WhatsApp"] {
  background: #20ad62;
}

.mobile-social-icon:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 5px;
}

.mobile-social-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mobile-social-icon .social-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 760px) {
  .topbar .brand-logo img {
    width: 64px;
    height: 64px;
  }

  .topbar > .mobile-quick-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-width: 0;
  }

  .topbar .mobile-menu-toggle {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
}

@media (max-width: 380px) {
  .topbar .brand strong {
    font-size: 18px;
  }
}

@media (max-width: 760px) {
  .topbar > .mobile-quick-actions {
    gap: 2px;
  }

  .topbar .mobile-social-links {
    gap: 6px;
    margin-right: 2px;
  }

  .topbar .mobile-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #fff;
  }

  .topbar .mobile-social-icon svg {
    width: 26px;
    height: 26px;
  }

  .topbar .mobile-cart-link,
  .topbar .mobile-menu-toggle {
    display: grid;
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .topbar .header-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    align-items: stretch;
    gap: 6px;
    background: #142832;
    border-color: rgba(255, 255, 255, .34);
  }

  .topbar .header-actions > a,
  .topbar .header-actions .logout-button {
    min-height: 42px;
    justify-content: center;
    padding: 4px 3px;
    border: 1px solid rgba(255, 255, 255, .48);
    background: #233943;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
  }

  .topbar .header-actions > a[data-view-link="cart"],
  .topbar .header-actions > a[data-view-link="profile"] {
    min-height: 48px;
    padding: 5px 6px;
    font-size: 13px;
  }

  .topbar .header-actions > a.active,
  .topbar .header-actions > a:hover {
    border-color: #fff;
    background: #fff;
    color: #12313a;
  }

  #view-product {
    scroll-margin-top: 132px;
  }

  .page-head .back-link:active,
  .page-head .back-link:hover {
    transform: none;
  }

  .topbar .header-actions > a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: clip;
  }

  .topbar .header-actions > a b {
    padding: 1px 4px;
    font-size: 10px;
  }

  .topbar .header-actions .language-menu {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    min-width: 0;
  }

  .topbar .header-actions .language-current {
    display: flex;
    width: 100%;
    min-height: 42px;
    justify-content: center;
    gap: 4px;
    padding: 4px 2px;
    border: 1px solid rgba(255, 255, 255, .48);
    background: #233943;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
    color: #fff;
    font-size: 11px;
  }

  .topbar .language-current img {
    width: 18px;
    height: 13px;
  }

  .topbar .language-current b {
    margin-left: 0;
    font-size: 12px;
  }

  .topbar .language-options {
    right: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    width: max-content;
    max-width: calc(100vw - 24px);
    min-width: 0;
    padding: 6px;
  }

  .topbar .language-options button {
    width: auto;
    justify-content: center;
    gap: 5px;
    padding: 9px 7px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .topbar .mobile-social-links {
    display: flex;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    grid-template-areas:
      "brand brand brand brand"
      "social cart menu ."
      "search search search search"
      "navigation navigation navigation navigation";
  }

  .topbar > .mobile-quick-actions {
    display: contents;
  }

  .topbar .mobile-social-links {
    grid-area: social;
    justify-self: start;
  }

  .topbar .mobile-cart-link {
    display: grid;
    grid-area: cart;
  }

  .topbar .mobile-menu-toggle {
    display: grid;
    grid-area: menu;
  }

  .topbar .brand small {
    display: none;
  }

  .topbar .brand-logo img {
    width: 56px;
    height: 56px;
  }

  .hero h1 {
    font-size: clamp(29px, 9vw, 34px);
    line-height: 1.06;
    letter-spacing: -.035em;
  }

  .topbar .header-actions {
    gap: 4px;
    padding: 6px;
  }

  .topbar .header-actions > a,
  .topbar .header-actions .logout-button {
    gap: 2px;
    padding: 4px 1px;
    font-size: 10px;
  }

  .topbar .header-actions .language-current {
    gap: 2px;
    font-size: 10px;
  }

  .topbar .language-options {
    max-width: calc(100vw - 56px);
    padding: 4px;
  }

  .topbar .language-options button {
    gap: 3px;
    padding: 8px 2px;
    font-size: 10px;
  }

  .topbar .language-options img {
    width: 16px;
    height: 12px;
  }
}

/* Final layout overrides take precedence over legacy visual experiments above. */
:root {
  --brand: #ef563f;
  --brand-dark: #142a34;
}

body {
  font-family: "Manrope", "Noto Sans", Arial, sans-serif;
  letter-spacing: -.012em;
}

h1,
h2,
h3,
h4,
.brand strong,
.site-footer-brand strong {
  font-family: "Manrope", "Noto Sans", Arial, sans-serif;
  letter-spacing: -.025em;
}

.app-shell {
  width: 100%;
  max-width: 1440px;
  padding: 18px 24px 28px;
}

.topbar {
  top: 10px;
  grid-template-columns: minmax(220px, 300px) minmax(180px, 1fr) auto auto;
  gap: 14px;
  border-color: rgba(255, 255, 255, .12);
  border-radius: 20px;
  background: #12232c;
  box-shadow: 0 14px 38px rgba(12, 30, 38, .18);
}

.topbar > .mobile-quick-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.topbar .mobile-quick-actions .mobile-cart-link,
.topbar .mobile-quick-actions .mobile-menu-toggle {
  display: none;
}

.topbar .mobile-social-links {
  gap: 7px;
}

.topbar .mobile-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.topbar .mobile-social-icon svg {
  width: 24px;
  height: 24px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  flex-basis: 54px;
}

.brand-logo img {
  width: 50px;
  height: 50px;
}

.hero {
  min-height: 440px;
  margin-top: 16px;
  padding: 38px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 24px;
  background:
    linear-gradient(105deg, rgba(8, 23, 28, .9), rgba(9, 25, 29, .7) 54%, rgba(8, 23, 28, .38)),
    url("./images/seafood-market.jpg") center / cover;
}

.hero h1 {
  max-width: 700px;
  font-family: "Noto Sans", Arial, sans-serif !important;
  font-size: clamp(42px, 5.1vw, 68px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.section-head h2,
.page-head h1,
.detail-content h1 {
  font-family: "Manrope", "Noto Sans", Arial, sans-serif !important;
  letter-spacing: -.035em;
}

.hero p {
  max-width: 570px;
  font-size: 16px;
  line-height: 1.6;
}

.service-strip {
  gap: 14px;
  margin: 18px 0 40px;
  padding-top: 48px;
}

.service-strip::before {
  padding: 9px 14px;
  border-radius: 999px;
  background: #12232c;
  color: #fff;
  font-family: "Noto Sans", Arial, sans-serif;
  font-size: 14px;
}

.service-strip article {
  min-height: 94px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 10px 26px rgba(21, 42, 51, .06);
}

.service-strip article::before {
  width: 28px;
  height: 3px;
  margin-bottom: 10px;
  background: var(--brand);
}

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

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

.catalog-layout {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 20px;
}

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

.product-card {
  border-color: var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 42, 51, .07);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(21, 42, 51, .13);
}

.product-recipes {
  margin: 14px 8px 52px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid rgba(20, 42, 52, .1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(239, 86, 63, .08), transparent 34%),
    #fff;
  box-shadow: 0 18px 46px rgba(20, 42, 52, .08);
}

.product-recipes-heading {
  max-width: 720px;
  margin-bottom: 22px;
}

.product-recipes-heading .eyebrow {
  color: var(--brand);
}

.product-recipes-heading h2 {
  margin: 4px 0 8px;
  color: var(--brand-dark);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.product-recipes-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.recipes-toggle {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 7px 18px 7px 9px;
  border: 1px solid rgba(239, 86, 63, .2);
  border-radius: 999px;
  background: #fff5f2;
  color: #a83325;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.recipes-toggle:hover {
  transform: translateY(-2px);
  background: #ffebe5;
  box-shadow: 0 8px 20px rgba(239, 86, 63, .14);
}

.recipes-toggle-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 19px;
}

.recipes-toggle-chevron {
  margin-left: 2px;
  font-size: 20px;
  transition: transform .18s ease;
}

.recipes-toggle[aria-expanded="true"] .recipes-toggle-chevron {
  transform: rotate(180deg);
}

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

.product-recipe-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(20, 42, 52, .1);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfcfb);
  box-shadow: 0 8px 24px rgba(20, 42, 52, .06);
}

.product-recipe-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-recipe-card h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: 19px;
  line-height: 1.3;
}

.recipe-time {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef4f3;
  color: #46616a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.recipe-product-note {
  margin: 13px 0 16px;
  padding: 9px 11px;
  border-left: 3px solid var(--brand);
  border-radius: 0 9px 9px 0;
  background: #fff5f2;
  color: #803e34;
  font-size: 13px;
  font-weight: 750;
}

.product-recipe-card h4 {
  margin: 2px 0 7px;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
}

.product-recipe-card ul,
.product-recipe-card ol {
  display: grid;
  gap: 6px;
  margin: 0 0 16px;
  padding-left: 21px;
  color: #52656c;
  font-size: 14px;
  line-height: 1.55;
}

.product-recipe-card li::marker {
  color: var(--brand);
  font-weight: 800;
}

.recipe-source {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(20, 42, 52, .09);
  color: #a83b2d;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.recipe-source:hover {
  color: #74281f;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(260px, 1.2fr) minmax(240px, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 150px;
  margin-top: 42px;
  padding: 24px 30px;
  border: 1px solid rgba(21, 42, 51, .12);
  border-top: 3px solid var(--brand);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(21, 42, 51, .07);
}

.site-footer-brand,
.site-footer-phone,
.site-footer-direct-contacts {
  display: grid;
  gap: 7px;
}

.site-footer-brand strong,
.site-footer-direct-contacts > strong {
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
}

.site-footer-brand span,
.site-footer-note,
.site-footer-phone small {
  color: var(--muted);
  font-size: 14px;
}

.site-footer-contacts {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.site-footer-phone {
  justify-items: center;
  text-align: center;
}

.site-footer-phone > span {
  color: var(--text);
}

.site-footer-phone strong {
  color: var(--brand);
  font-size: 22px;
  font-weight: 900;
}

.site-footer-direct-contacts {
  justify-items: center;
  width: 100%;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: stretch;
}

.site-footer-direct-contacts > strong {
  grid-column: 1 / -1;
  justify-self: center;
}

.site-footer-direct-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.site-footer-direct-contacts > a,
.site-footer-direct-numbers a {
  display: flex;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(240, 82, 59, .22);
  border-radius: 999px;
  background: #fff6f3;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer-note {
  justify-self: end;
  max-width: 270px;
  text-align: right;
}

@media (max-width: 1100px) {
  .app-shell {
    padding-right: 18px;
    padding-left: 18px;
  }

  .catalog-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

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

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

  .site-footer-note {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: none;
    text-align: center;
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .topbar > .mobile-quick-actions {
    display: flex;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu" "search search" "navigation navigation";
    gap: 10px;
    padding: 10px;
  }

  .topbar > .brand {
    grid-area: brand;
    min-width: 0;
  }

  .topbar > .search-wrap {
    grid-area: search;
  }

  .topbar > .header-actions {
    grid-area: navigation;
  }

  .topbar > .mobile-quick-actions {
    display: flex;
    grid-area: menu;
  }

  .topbar .mobile-quick-actions .mobile-cart-link,
  .topbar .mobile-quick-actions .mobile-menu-toggle {
    display: grid;
  }

  .topbar .brand-logo {
    width: clamp(48px, 14vw, 58px);
    height: clamp(48px, 14vw, 58px);
    flex-basis: clamp(48px, 14vw, 58px);
  }

  .topbar .brand-logo img {
    width: 100%;
    height: 100%;
  }

  .topbar .mobile-social-icon {
    width: 38px;
    height: 38px;
  }

  .app-shell {
    padding: 10px 12px 22px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 28px 20px;
  }

  .hero-showcase {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    grid-template-rows: repeat(2, minmax(96px, auto));
    min-width: 0;
  }

  .showcase-photo.large {
    grid-column: 2;
    grid-row: 1 / 3;
    width: min(100%, 200px);
  }

  .showcase-photo:not(.large) {
    grid-column: 1;
    min-height: 96px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .service-strip {
    grid-template-columns: 1fr;
  }

  .catalog-layout,
  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    justify-items: center;
    gap: 18px;
    padding: 22px 16px;
    text-align: center;
  }

  .site-footer-brand,
  .site-footer-note {
    justify-items: center;
    grid-column: auto;
    justify-self: center;
    text-align: center;
  }

  .site-footer-phone strong {
    font-size: 20px;
  }

  .product-recipes {
    margin: 8px 0 36px;
    padding: 20px 16px;
    border-radius: 20px;
  }

  .product-recipes-heading h2 {
    font-size: 30px;
  }

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

  .product-recipe-card {
    padding: 17px;
  }
}

@media (max-width: 380px) {
  .topbar > .mobile-quick-actions {
    display: contents;
  }

  .topbar .mobile-quick-actions .mobile-cart-link,
  .topbar .mobile-quick-actions .mobile-menu-toggle {
    display: grid;
  }

  .topbar {
    grid-template-columns: minmax(0, 1fr) repeat(3, auto);
    grid-template-areas:
      "brand brand brand brand"
      "social cart menu ."
      "search search search search"
      "navigation navigation navigation navigation";
  }

  .topbar .mobile-social-links {
    grid-area: social;
  }

  .topbar .mobile-cart-link {
    grid-area: cart;
  }

  .topbar .mobile-menu-toggle {
    grid-area: menu;
  }
}
