:root {
  --paper: #ffffff;
  --paper-soft: #f7f5ee;
  --ink: #1b2333;
  --ink-soft: #51607a;
  --brand: #00b3aa;
  --brand-dark: #0d8c87;
  --gold: #f5d98b;
  --line: rgba(27, 35, 51, 0.12);
  --shadow: 0 14px 36px rgba(22, 30, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background: linear-gradient(180deg, #f9f6ef 0%, #ffffff 180px);
  color: var(--ink);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: #f7f7f6;
}

.header-top,
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 5.8vw;
}

.header-top {
  position: relative;
  min-height: 64px;
  background: #f5f5f3;
  font-size: 13px;
  color: var(--ink-soft);
}

.utility-nav,
.main-nav,
.header-contact,
.account-actions {
  display: flex;
  align-items: center;
}

.utility-nav {
  gap: 18px;
}

.utility-nav a,
.main-nav a,
.account-actions a {
  font-weight: 600;
}

.utility-nav a {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
}

.site-search {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: min(280px, 30vw);
  min-height: 34px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}

.site-search input {
  flex: 1;
  padding: 0 14px;
  border: none;
  background: transparent;
  color: var(--ink);
  outline: none;
}

.site-search input::placeholder {
  color: #7b8395;
}

.site-search button {
  width: 42px;
  border: none;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

.header-contact {
  gap: 18px;
  margin-left: auto;
}

.header-contact span {
  line-height: 1.35;
}

.header-contact a {
  color: var(--brand-dark);
  font-weight: 700;
}

.whatsapp {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.whatsapp span {
  display: block;
  transform: rotate(-18deg);
  font-size: 17px;
}

.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.header-bottom {
  min-height: 76px;
  background: #f4f0e4;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.header-logo {
  width: 154px;
  height: auto;
}

.main-nav {
  gap: 30px;
  margin-left: auto;
  margin-right: auto;
}

.account-actions {
  gap: 22px;
}

.sign-in {
  color: #df7b61;
}

.cart {
  font-size: 22px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-page {
  max-width: 1220px;
  margin: 40px auto 72px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.checkout-summary,
.step-card {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.checkout-summary {
  padding: 22px 20px 18px;
  position: sticky;
  top: 120px;
}

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

.label,
.summary-count {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
}

.summary-items {
  display: grid;
  gap: 4px;
}

.summary-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.summary-item:first-of-type {
  border-top: 0;
}

.empty-summary {
  padding: 18px 0;
  color: var(--ink-soft);
  font-weight: 600;
}

.thumb {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}

.thumb-one {
  background: linear-gradient(135deg, #1b2333, #00b3aa);
}

.thumb-two {
  background: linear-gradient(135deg, #f5d98b, #d97d44);
}

.item-copy h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.item-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.summary-item strong {
  font-size: 15px;
}

.promo-box {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.promo-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--ink-soft);
}

.promo-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.promo-row input {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f9f9f7;
  padding: 0 12px;
  outline: none;
}

.promo-row button,
.secondary-btn,
.primary-btn {
  border: none;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.promo-row button {
  padding: 0 16px;
  background: #e7f8f7;
  color: var(--brand-dark);
}

.totals {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}

.total-row strong {
  color: var(--ink);
}

.total-final {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  color: var(--ink);
}

.promise-list {
  list-style: none;
  padding: 18px 0 0;
  margin: 22px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
  color: var(--ink-soft);
}

.promise-list li {
  position: relative;
  padding-left: 26px;
  line-height: 1.5;
}

.promise-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-dark);
  font-weight: 700;
}

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

.breadcrumb {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
}

.mini-link {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
}

.checkout-forms {
  min-width: 0;
}

.checkout-forms h1 {
  margin: 0 0 24px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.06em;
}

.step-card {
  padding: 26px 24px 22px;
  margin-bottom: 20px;
}

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

.step-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e5f9f7;
  color: var(--brand-dark);
  font-weight: 700;
}

.card-header h2 {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -0.04em;
}

.fields {
  display: grid;
  gap: 18px;
}

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

label {
  display: block;
}

label span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbf9;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 179, 170, 0.12);
}

.full-width {
  grid-column: 1 / -1;
}

.delivery-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.delivery-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 82px;
  padding: 16px 18px;
  border: 1px solid #dfe3e7;
  border-radius: 14px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  color: var(--ink);
}

.delivery-option input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.delivery-option.selected {
  border-color: var(--brand);
  background: rgba(0, 179, 170, 0.05);
  box-shadow: inset 0 0 0 1px rgba(0, 179, 170, 0.18);
}

.delivery-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--brand-dark);
}

.option-title {
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
}

.delivery-address-panel {
  margin-top: 10px;
}

.pickup-card {
  border: 1px solid var(--brand);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.pickup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 179, 170, 0.28);
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-dark);
}

.pickup-check {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
}

.pickup-body {
  padding: 18px 20px 20px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
}

.pickup-body p {
  margin: 0;
}

.payment-box {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 179, 170, 0.22);
  border-radius: 12px;
  background: #f1fbfa;
}

.payment-box strong {
  color: var(--brand-dark);
}

.payment-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.payment-methods label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7f9fa;
  font-weight: 600;
}

.payment-methods input {
  width: 16px;
  height: 16px;
  min-height: unset;
  accent-color: var(--brand);
}

.card-payment {
  display: grid;
  gap: 18px;
}

.checkout-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
}

.secondary-btn,
.primary-btn {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.secondary-btn {
  background: #eef1ef;
  color: var(--ink);
}

.primary-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 12px 22px rgba(0, 179, 170, 0.2);
}

@media (max-width: 980px) {
  .checkout-page {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
    order: 2;
  }
}

@media (max-width: 720px) {
  .header-top {
    display: none;
  }

  .header-bottom {
    gap: 16px;
    padding: 12px 5vw;
  }

  .main-nav,
  .account-actions {
    display: none;
  }

  .header-logo {
    width: 130px;
  }

  .checkout-page {
    margin-top: 28px;
    padding: 0 14px;
  }

  .page-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-two,
  .delivery-toggle {
    grid-template-columns: 1fr;
  }

  .step-card {
    padding: 20px 16px;
  }

  .checkout-actions {
    flex-direction: column-reverse;
  }

  .secondary-btn,
  .primary-btn {
    width: 100%;
  }
}
