:root {
  --navy: #182756;
  --blue: #2f69b2;
  --green: #69b345;
  --red: #c9362f;
  --gold: #f2bd2f;
  --ink: #172033;
  --muted: #657186;
  --line: #dfe5ee;
  --paper: #ffffff;
  --soft: #f5f7fa;
  --shadow: 0 18px 45px rgba(24, 39, 86, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 2.2vw, 30px);
  min-height: 112px;
  padding: 10px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 158px;
  height: 92px;
}

.brand img {
  width: 158px;
  height: 92px;
  object-fit: contain;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(24vw, 290px);
  min-width: 210px;
}

.header-search input {
  min-width: 0;
  width: 100%;
  height: 38px;
  padding: 0 4px;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  color: var(--navy);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  outline: 0;
  background: transparent;
  transition: border-color 160ms ease;
}

.header-search input:focus {
  border-color: var(--red);
}

.header-search input::placeholder {
  color: #7a8494;
}

.header-search button {
  min-height: 34px;
  padding: 7px 11px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy);
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--red);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--red);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-trigger {
  min-height: 38px;
  padding: 8px 12px;
  border: 2px solid var(--navy);
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.logout-trigger {
  min-height: 38px;
  padding: 8px 12px;
  border: 2px solid var(--red);
  border-radius: 6px;
  color: var(--red);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.logout-trigger:hover {
  color: #fff;
  background: var(--red);
}

.auth-trigger.logged-in {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.cart-trigger span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  min-height: max(760px, calc(100vh - 112px));
  padding: clamp(24px, 3.2vw, 38px) clamp(18px, 5vw, 72px) 0;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.hero::after {
  content: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(980px, 100%);
  max-width: none;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 9.2vw, 7.6rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4.2vw, 4.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.15;
}

.lead {
  margin: 9px auto 0;
  max-width: 660px;
  color: #354157;
  font-size: clamp(0.9rem, 1.25vw, 1.04rem);
  line-height: 1.28;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 9px;
}

.hero-actions .button {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.92rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: var(--navy);
  border-color: var(--navy);
  background: #fff;
}

.button.light {
  color: var(--navy);
  background: #fff;
}

.button.dark {
  color: #fff;
  background: var(--navy);
}

.hero-media {
  position: absolute;
  inset: auto 0 -18px;
  z-index: 0;
  margin: 0;
  width: 100%;
  height: 66%;
  min-width: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  margin-left: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(0);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(34px, 6vw, 76px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.trust-strip div {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 20px;
  background: var(--soft);
  text-align: center;
}

.trust-strip strong {
  color: var(--red);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  background: var(--navy);
  color: #fff;
}

.feature-copy {
  display: grid;
  grid-template-columns: minmax(240px, 0.45fr) minmax(280px, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 54px);
  padding: clamp(28px, 4vw, 52px) clamp(18px, 5vw, 72px);
}

.feature h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
}

.feature p:not(.eyebrow) {
  max-width: 680px;
  color: #d9e1ef;
  font-size: 1.06rem;
}

.feature img {
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
  background: #dfeefb;
}

.home-drinks {
  position: relative;
  display: grid;
  min-height: clamp(320px, 42vw, 560px);
  overflow: hidden;
  isolation: isolate;
}

.home-drinks::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 21, 45, 0.72), rgba(10, 21, 45, 0.16) 58%, rgba(10, 21, 45, 0));
  pointer-events: none;
}

.home-drinks img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-drinks-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 720px;
  padding: clamp(34px, 6vw, 78px) clamp(18px, 5vw, 72px);
  color: #fff;
}

.home-drinks-copy h2 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(10, 16, 30, 0.26);
}

.home-drinks-copy .eyebrow {
  color: #b9f08b;
}

.section,
.contact-section {
  padding: clamp(46px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 28px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.category-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 26px;
}

.filter {
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.filter.active,
.filter:hover {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

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

.category-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 39, 86, 0.08);
}

.category-card[hidden] {
  display: none;
}

.category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.category-card div {
  padding: 17px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-section {
  background: #f8fafc;
}

.shop-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(160px, 220px);
  gap: 14px;
  margin-bottom: 18px;
}

.shop-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.shop-toolbar input,
.shop-toolbar select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-transform: none;
}

.shop-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--muted);
}

.shop-status strong {
  color: var(--navy);
}

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

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

.shop-category-card {
  display: grid;
  grid-template-rows: 210px auto;
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 39, 86, 0.07);
  cursor: pointer;
  text-align: left;
}

.shop-category-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.shop-category-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid var(--line);
}

.shop-category-card span {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.shop-category-card strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.shop-category-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.browser-head h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  text-align: right;
}

.product-card {
  display: grid;
  grid-template-rows: 96px auto auto auto;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(24, 39, 86, 0.07);
}

.product-card > * {
  min-width: 0;
}

.product-image {
  position: relative;
  z-index: 0;
  min-width: 0;
  height: 96px;
  padding: 8px;
  overflow: hidden;
  border: 0;
  background: #f3f6fa;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.product-image img {
  position: absolute;
  inset: 8px;
  display: block;
  width: calc(100% - 16px);
  max-width: 100%;
  height: calc(100% - 16px);
  max-height: 100%;
  object-fit: contain;
}

.product-image:hover {
  background: #eaf0f8;
}

.product-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 9px 0;
  margin-bottom: 6px;
  background: #fff;
}

.product-code,
.product-category {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
}

.product-code {
  color: var(--navy);
  background: #edf2ff;
}

.product-category {
  color: #245313;
  background: #e8f6df;
}

.product-card h3 {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  min-height: 38px;
  max-height: 38px;
  margin: 0 9px 6px;
  overflow: hidden;
  background: #fff;
  font-size: 0.82rem;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-details {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 9px;
  background: #fff;
  color: var(--muted);
  font-size: 0.74rem;
}

.product-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  min-width: 0;
  padding: 4px 5px;
  border: 1px solid #edf1f6;
  border-radius: 5px;
  background: #fafcff;
}

.product-details dt,
.product-details dd {
  margin: 0;
  min-width: 0;
}

.product-details dt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-details strong {
  color: var(--ink);
}

.product-details .price-detail {
  border-color: #d7e6f7;
  background: #f5f9ff;
}

.product-details .pcs-price {
  border-color: rgba(105, 179, 69, 0.35);
  background: #f1faed;
}

.product-details .pcs-price strong {
  color: #247a37;
}

.product-details .login-price-note {
  grid-column: 1 / -1;
  border-color: rgba(24, 39, 86, 0.2);
  background: #f6f8fc;
}

.product-details .login-price-note strong {
  color: var(--navy);
}

.product-actions {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 8px;
  padding: 8px 9px 9px;
  background: #fff;
}

.product-actions input {
  min-width: 0;
  min-height: 34px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.product-actions button,
.load-more {
  min-height: 34px;
}

.product-actions button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--navy);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}

.product-actions button:hover {
  background: var(--red);
}

.product-actions button.added {
  background: var(--green);
}

.load-more {
  display: flex;
  margin: 24px auto 0;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 16, 30, 0.42);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(470px, 100vw);
  background: #fff;
  box-shadow: -20px 0 50px rgba(10, 16, 30, 0.22);
  transform: translateX(104%);
  transition: transform 180ms ease;
}

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

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

.cart-head h2 {
  font-size: 2rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--navy);
  font: inherit;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  padding: 12px 18px;
}

.empty-cart {
  margin: 24px 6px;
  color: var(--muted);
}

.cart-line {
  display: grid;
  gap: 10px;
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
}

.cart-line h3 {
  margin: 0;
  font-size: 0.96rem;
}

.cart-line-meta,
.cart-line-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cart-line-controls input {
  width: 72px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
}

.remove-line {
  border: 0;
  color: var(--red);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.form-message {
  min-height: 18px;
  color: var(--red) !important;
  font-size: 0.84rem !important;
  font-weight: 800;
}

.form-message.success {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 10px;
  border: 1px solid rgba(105, 179, 69, 0.35);
  border-radius: 6px;
  color: #247a37 !important;
  background: #f0faed;
}

.form-message.success::before {
  content: "✓";
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.84rem;
  line-height: 1;
}

.form-message.error {
  color: var(--red) !important;
}

.cart-summary {
  display: grid;
  gap: 11px;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.account-status {
  margin: 0 0 4px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--navy);
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary span {
  color: var(--muted);
}

.checkout-button,
.clear-cart {
  width: 100%;
}

.checkout-button.disabled {
  pointer-events: none;
  opacity: 0.55;
}

.modal-open {
  overflow: hidden;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  padding: 18px;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 30, 0.55);
}

.auth-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(720px, 96vw);
  max-height: 92vh;
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10, 16, 30, 0.32);
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.auth-copy {
  display: grid;
  gap: 8px;
  padding-right: 42px;
}

.auth-copy h2,
.auth-copy p {
  margin: 0;
}

.auth-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.auth-copy p {
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 6px;
  color: var(--navy);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-tabs button.active {
  color: #fff;
  background: var(--navy);
}

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

.auth-form.active {
  display: grid;
}

.auth-form label {
  display: grid;
  gap: 5px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 800;
}

.auth-form label:has(textarea),
.auth-form .button {
  grid-column: 1 / -1;
}

.auth-form input,
.auth-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
  resize: vertical;
}

.auth-form input:focus,
.auth-form textarea:focus {
  border-color: var(--red);
  outline: 2px solid rgba(201, 54, 47, 0.12);
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 16, 30, 0.62);
  cursor: zoom-out;
}

.image-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(860px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(10, 16, 30, 0.34);
}

.image-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
}

.image-modal-panel img {
  width: 100%;
  height: min(68vh, 620px);
  padding: 34px;
  object-fit: contain;
  background: #f5f7fa;
}

.image-modal-copy {
  display: grid;
  gap: 7px;
  padding: 18px 22px 22px;
}

.image-modal-copy span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: #edf2ff;
  font-weight: 800;
}

.image-modal-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2.4rem);
}

.image-modal-copy p {
  margin: 0;
  color: var(--muted);
}

.catalog-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(36px, 6vw, 70px) clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, var(--navy), var(--blue) 58%, var(--green));
}

.catalog-band h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3.6rem);
}

.catalog-band p:not(.eyebrow) {
  max-width: 680px;
  color: #ecf2ff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1fr);
  gap: 22px;
  align-items: stretch;
}

address,
.contact-panel {
  min-height: 260px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  font-style: normal;
}

address {
  color: #273149;
  font-size: 1.06rem;
}

.contact-panel {
  background: var(--navy);
  color: #fff;
}

.contact-panel h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.contact-panel p {
  max-width: 700px;
  color: #dce4f0;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #10172a;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .feature,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 780px;
  }

  .hero-media {
    min-width: 0;
    height: 60%;
  }

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

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

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

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

@media (max-width: 760px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    min-height: 0;
    padding: 8px 14px 10px;
  }

  .brand,
  .brand img {
    width: 120px;
    height: 70px;
  }

  .header-search {
    width: 100%;
    max-width: none;
    min-width: 0;
    order: 0;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 12px;
    order: 3;
    font-size: 0.88rem;
  }

  .auth-trigger,
  .logout-trigger,
  .cart-trigger,
  .header-search button {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.86rem;
  }

  input,
  select,
  textarea {
    font-size: 16px !important;
  }

  h1 {
    font-size: clamp(3.2rem, 16vw, 5.1rem);
  }

  .hero {
    min-height: 660px;
    align-items: start;
    padding: 18px 14px 0;
  }

  .hero::after {
    content: none;
  }

  .hero-media {
    min-width: 0;
    height: 52%;
  }

  .hero-actions {
    gap: 8px;
  }

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

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

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

  .product-card {
    grid-template-rows: 104px auto auto auto;
  }

  .product-image {
    height: 104px;
  }

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

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

  .browser-head h2 {
    text-align: left;
  }

  .shop-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .category-card {
    grid-template-rows: 160px 1fr;
  }

  .category-card img {
    height: 160px;
  }

  .catalog-band,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-drinks {
    min-height: 360px;
  }

  .home-drinks::after {
    background: linear-gradient(180deg, rgba(10, 21, 45, 0.78), rgba(10, 21, 45, 0.2));
  }

  .home-drinks img {
    object-position: center bottom;
  }

  .auth-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .auth-tabs {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-header {
    padding: 7px 12px 9px;
  }

  .brand,
  .brand img {
    width: 108px;
    height: 64px;
  }

  nav {
    gap: 7px 9px;
    font-size: 0.84rem;
  }

  .header-search {
    flex: 1 1 100%;
  }

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

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

  .product-card {
    grid-template-columns: 96px 1fr;
    grid-template-rows: auto auto auto;
    min-height: 0;
  }

  .product-image {
    grid-row: 1 / 4;
    width: 96px;
    height: 100%;
    min-height: 124px;
    max-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .product-meta {
    padding: 8px 8px 0;
  }

  .product-card h3 {
    min-height: auto;
    max-height: 42px;
    font-size: 0.84rem;
  }

  .product-actions {
    grid-template-columns: 50px 1fr;
    gap: 6px;
  }

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

  .feature img {
    min-height: 240px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-media {
    min-width: 0;
    height: 48%;
  }
}
