.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.cart-trigger:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 5px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 11px;
}

.cart-trigger:hover .cart-count {
  background: var(--accent-ink);
  color: var(--accent);
}

.buy-button {
  color: var(--accent);
  border-color: var(--accent);
}

.add-feedback {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  max-width: min(380px, calc(100vw - 40px));
  padding: 14px 18px;
  border: 1px solid var(--accent);
  border-radius: 12px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 240ms var(--ease-out);
}

.add-feedback[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

#shop-dialog {
  width: min(1180px, calc(100vw - 24px));
  max-height: min(920px, calc(100dvh - 24px));
  overflow: hidden;
  border-color: rgba(199, 232, 51, 0.35);
}

.shop-dialog-inner {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: inherit;
}

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

.shop-kicker {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-top h2 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  min-height: 0;
  overflow: auto;
}

.basket-panel,
.checkout-panel {
  min-width: 0;
  padding: clamp(22px, 3vw, 38px);
}

.basket-panel {
  border-right: 1px solid var(--line);
  background: var(--surface);
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.panel-heading h3,
.checkout-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.panel-heading span {
  color: var(--muted);
  font-size: 12px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
}

.cart-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.cart-row img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #252a1f;
  object-fit: cover;
}

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

.cart-row strong {
  font-size: 14px;
  line-height: 1.25;
}

.cart-row small {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 28px 32px;
  align-items: center;
  text-align: center;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.quantity-control button:hover { border-color: var(--accent); color: var(--accent); }
.quantity-control span { font-family: var(--font-mono); font-size: 12px; }

.shipping-ruler {
  margin: 20px 0;
  padding: 16px;
  border-radius: 12px;
  background: rgba(199, 232, 51, 0.08);
}

.shipping-ruler p {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
}

.ruler-track {
  height: 5px;
  overflow: hidden;
  border-radius: 9px;
  background: rgba(240, 242, 232, 0.12);
}

.ruler-track span {
  display: block;
  width: var(--progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 400ms var(--ease-out);
}

.receipt {
  display: grid;
  gap: 7px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.receipt-row[hidden] { display: none; }

.receipt-row span:first-child { color: var(--muted); }
.receipt-row--saving { color: var(--accent); }
.receipt-row--total { margin-top: 5px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; font-weight: 900; }
.receipt-row--total span:first-child { color: var(--ink); }

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

.bulk-note a { color: var(--ink); }

.checkout-panel h3 { margin-bottom: 22px; }
.checkout-form { display: grid; gap: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label, .delivery-options legend { color: var(--muted); font-size: 12px; font-weight: 700; }

.field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  outline: 0;
}

.field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(199, 232, 51, 0.12); }
.field input::placeholder { color: var(--quiet); }

.delivery-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; padding: 0; border: 0; }
.delivery-options legend { grid-column: 1 / -1; margin-bottom: 3px; }
.delivery-choice { position: relative; display: block; cursor: pointer; }
.delivery-choice input { position: absolute; opacity: 0; }
.delivery-choice span { display: block; min-height: 88px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); transition: border-color 180ms ease, background 180ms ease; }
.delivery-choice strong, .delivery-choice small { display: block; }
.delivery-choice strong { font-size: 13px; }
.delivery-choice small { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.delivery-choice input:checked + span { border-color: var(--accent); background: rgba(199, 232, 51, 0.08); }
.delivery-choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }

.address-fields[hidden] { display: none; }
.terms-check { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; color: var(--muted); font-size: 12px; }
.terms-check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--accent); }
.terms-check a { color: var(--ink); }
.checkout-error { min-height: 20px; margin: 0; color: #ff9c8e; font-size: 12px; }
.checkout-submit { width: 100%; justify-content: center; }
.checkout-submit:disabled { cursor: wait; opacity: 0.65; }
.sumup-note { margin: -8px 0 0; color: var(--muted); font-size: 11px; text-align: center; }

.shop-info {
  padding-block: clamp(68px, 8vw, 104px);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.shop-info-grid { display: grid; grid-template-columns: 0.8fr repeat(3, 1fr); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.shop-info-intro, .shop-info-card { padding: 26px; background: var(--bg); }
.shop-info-intro h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 4rem); letter-spacing: -0.06em; line-height: 0.9; text-transform: uppercase; }
.shop-info-card h3 { margin: 0; font-size: 14px; }
.shop-info-card p { margin: 9px 0 0; color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .basket-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .shop-info-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav-actions { gap: 8px; }
  .nav-actions .menu-toggle { display: block; }
  .nav-actions .nav-contact { display: none; }
  .cart-trigger { min-width: 44px; justify-content: center; padding-inline: 9px; }
  .cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #shop-dialog { max-height: calc(100dvh - 12px); }
}

@media (max-width: 560px) {
  .shop-top { padding: 14px 16px; }
  .shop-top h2 { font-size: 23px; }
  .basket-panel, .checkout-panel { padding: 20px 16px; }
  .form-grid, .delivery-options, .shop-info-grid { grid-template-columns: 1fr; }
  .field--wide, .delivery-options legend { grid-column: auto; }
  .cart-row { grid-template-columns: 52px minmax(0, 1fr); }
  .cart-row img { width: 52px; height: 52px; }
  .quantity-control { grid-column: 2; justify-self: start; }
}
