main { flex: 1; }

/* Shared storefront styles own the navigation and footer. */
.delivery-eyebrow,
.delivery-jump-links { display: none; }
.alert-content,
.method-card,
.del-info { min-width: 0; }
.info-section { scroll-margin-top: 96px; }
.section-heading-icon { flex-shrink: 0; }
.delivery-jump-links a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.page-hero {
  background: #000;
  color: #fff;
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid #333;
}
.hero-title {
  margin-bottom: 15px;
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
}
.hero-desc {
  max-width: 600px;
  margin: 0 auto;
  color: #a1a1a6;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.alert-section { position: relative; z-index: 10; margin-top: -30px; margin-bottom: 60px; }
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px;
  border: 2px solid #000;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.alert-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #000;
  color: #fff;
}
.alert-icon svg { width: 24px; height: 24px; fill: #fff; }
.alert-content h2 { margin-bottom: 8px; font-size: 18px; font-weight: 800; text-transform: uppercase; }
.alert-content p { color: #555; font-size: 14px; line-height: 1.6; }
.price-tag { display: inline-block; margin-top: 5px; padding: 4px 10px; border-radius: 6px; background: #eef1f5; color: #000; font-weight: 700; }

.info-section { padding: 15px 0 50px; }
.info-section.is-white { background: #fff; }
.section-header { margin-bottom: 40px; }
.section-h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 28px; font-weight: 800; }
.section-heading-icon { width: 28px; height: 28px; }
.section-heading-icon.is-large { width: 32px; height: 32px; }
.section-desc { color: var(--text-sec); font-size: 15px; }

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.method-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  transition: .3s ease;
}
.method-card:hover { transform: translateY(-5px); border-color: #000; box-shadow: 0 15px 30px rgba(0,0,0,.05); }
.card-icon { width: 40px; height: 40px; margin-bottom: 20px; object-fit: contain; opacity: .8; }
.card-title { margin-bottom: 10px; font-size: 16px; font-weight: 700; }
.card-list { margin: 0; padding: 0; list-style: none; }
.card-list li { position: relative; margin-bottom: 8px; padding-left: 15px; color: var(--text-sec); font-size: 13px; line-height: 1.5; }
.card-list li::before { content: '•'; position: absolute; left: 0; color: #000; font-weight: 700; }

.delivery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.delivery-card {
  display: flex;
  gap: 25px;
  padding: 40px;
  border-radius: 20px;
  background: var(--sec-bg);
  transition: .3s;
}
.delivery-img {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.delivery-logo-svg { flex-shrink: 0; width: 56px; height: 56px; }
.del-info h3 { margin-bottom: 10px; font-size: 18px; font-weight: 800; }
.del-price { display: block; margin-bottom: 10px; color: #000; font-size: 14px; font-weight: 700; }
.del-price.is-free { color: #00aa00; }
.del-desc { color: var(--text-sec); font-size: 13px; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  .method-card,
  .delivery-card { transition: none; }
}

@media (max-width: 1100px) {
  .methods-grid,
  .delivery-grid { gap: 18px; }
  .method-card { padding: 24px; }
  .delivery-card { gap: 20px; padding: 28px; }
  .delivery-img { width: 64px; height: 64px; }
  .delivery-logo-svg { width: 40px; height: 40px; }
}

@media (max-width: 980px) {
  .page-hero { padding: 48px 0 64px; }
  .hero-title { font-size: 36px; }
  .alert-section { margin-top: -24px; margin-bottom: 40px; }
  .alert-box { padding: 24px; }
  .section-header { margin-bottom: 24px; }
  .section-desc { line-height: 1.7; }
  .methods-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .method-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px 20px; }
  .card-icon { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
  .card-title { grid-column: 2; margin: 0; line-height: 1.5; }
  .card-list { grid-column: 2; }
  .card-list li:last-child { margin-bottom: 0; }
  .delivery-card { flex-direction: column; gap: 18px; }
  .del-info h3 { line-height: 1.4; }
  .delivery-jump-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 420px; margin: 24px auto 0; }
  .delivery-jump-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #ffffff40;
    border-radius: 12px;
    color: #eeeef0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
  }
  .delivery-jump-links span { color: #a1a1ab; font-size: 17px; }
  .delivery-jump-links a:active { background: #ffffff18; }
}

@media (max-width: 767px) {
  .delivery-page { background: #f5f5f7; }
  .page-hero {
    padding: 36px 0 52px;
    border: 0;
    background: radial-gradient(ellipse at 100% 0, #29292d 0, #111113 42%, #050505 80%);
    text-align: left;
  }
  .delivery-eyebrow {
    display: block;
    margin-bottom: 14px;
    color: #b3b3bc;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    line-height: 1.6;
    text-transform: uppercase;
  }
  .hero-title { max-width: 480px; margin-bottom: 16px; font-size: clamp(30px, 7.8vw, 42px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
  .hero-desc { max-width: 480px; margin: 0; color: #b5b5bd; font-size: 14px; line-height: 1.7; }
  .delivery-jump-links { margin: 24px 0 0; }
  .alert-section { margin-top: -20px; margin-bottom: 32px; }
  .alert-box {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 16px 12px;
    padding: 22px 20px;
    border: 1px solid #e8e8ed;
    border-radius: 18px;
    box-shadow: 0 8px 24px #17172006;
  }
  .alert-icon { width: 40px; height: 40px; border-radius: 12px; background: #f0f0f3; }
  .alert-icon svg { width: 22px; height: 22px; fill: #26262b; }
  .alert-content { display: contents; }
  .alert-content h2 { margin: 0; font-size: 17px; line-height: 1.35; letter-spacing: -.025em; text-transform: none; }
  .alert-content p { grid-column: 1 / -1; color: #62626a; font-size: 13px; line-height: 1.8; }
  .price-tag {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 14px;
    border-radius: 12px;
    background: #f3f3f6;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
  }
  .price-tag strong { color: #17171b; font-size: 22px; font-weight: 700; letter-spacing: -.04em; white-space: nowrap; }
  .info-section { padding: 0 0 32px; }
  .section-header { margin-bottom: 20px; }
  .section-h2 { gap: 10px; margin-bottom: 12px; font-size: 25px; line-height: 1.25; letter-spacing: -.035em; }
  .section-heading-icon,
  .section-heading-icon.is-large { width: 24px; height: 24px; }
  .section-desc { color: #696970; font-size: 13px; line-height: 1.8; }
  .methods-grid { gap: 12px; }
  .method-card { grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 18px 14px; padding: 22px 20px; border-color: #e8e8ed; border-radius: 18px; }
  .card-icon { grid-row: 1; width: 36px; height: 36px; opacity: 1; }
  .card-title { font-size: 16px; line-height: 1.4; letter-spacing: -.025em; }
  .card-list { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid #ededf1; }
  .card-list li { margin-bottom: 10px; padding-left: 16px; color: #62626a; font-size: 13px; line-height: 1.8; }
  .card-list li::before { color: #9898a1; }
  .card-list strong { color: #34343b; font-weight: 600; }
  .info-section.is-white { padding: 32px 0 40px; }
  .delivery-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .delivery-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; padding: 22px 20px; border: 1px solid #e8e8ed; border-radius: 18px; background: #fafafb; }
  .delivery-img { width: 52px; height: 52px; border: 1px solid #ededf0; border-radius: 14px; box-shadow: none; font-size: 9px; }
  .delivery-logo-svg { width: 30px; height: 30px; }
  .del-info { display: contents; }
  .del-info h3 { margin: 0; font-size: 16px; line-height: 1.4; letter-spacing: -.025em; }
  .del-price { grid-column: 1 / -1; justify-self: start; margin: 2px 0 0; padding: 7px 10px; border-radius: 8px; background: #ededf2; color: #4e4e56; font-size: 12px; font-weight: 600; line-height: 1.5; }
  .del-price.is-free { background: #eaf4ed; color: #29734b; }
  .del-desc { grid-column: 1 / -1; color: #62626a; font-size: 13px; line-height: 1.8; }
}

@media (max-width: 359px) {
  .alert-box,
  .method-card,
  .delivery-card { padding: 20px 16px; }
  .delivery-jump-links a { padding-inline: 10px; font-size: 11px; }
  .alert-content h2 { font-size: 16px; }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  .method-card:hover { transform: none; border-color: var(--border); box-shadow: none; }
}
