body.checkout-page {
  margin: 0;
  background: #FCF5E5;
  color: #0D0B08;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.checkout-page nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: rgba(252,245,229,0.94);
  border-bottom: 1px solid rgba(13,11,8,0.08);
  backdrop-filter: blur(10px);
}

.checkout-page .nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.checkout-page .logo-img {
  display: block;
  width: auto;
  height: 56px;
}


.checkout-page .nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.checkout-page .nav-links a {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #5F5A53;
}

.checkout-page .nav-links a:hover {
  color: #0D0B08;
}

.checkout-page .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0D0B08 !important;
  color: #FCF5E5 !important;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid #0D0B08;
  box-shadow: none;
}

.checkout-page .nav-cta:hover {
  background: #0C2975 !important;
  border-color: #0C2975;
}

.checkout-frame {
  max-width: 1320px;
  margin: 0 auto;
  background: transparent;
}

.checkout-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px 20px;
  border-bottom: 1px solid rgba(13,11,8,0.08);
}

.checkout-hero-title {
  margin: 0;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #0D0B08;
}

.checkout-breadcrumbs {
  font-size: 13px;
  color: #5F5A53;
}

.checkout-breadcrumbs span {
  color: rgba(95, 90, 83, 0.45);
  margin: 0 8px;
}

.checkout-hero h1 {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 58px;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #0D0B08;
  text-transform: none;
}

.checkout-hero p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: #5F5A53;
}

.checkout-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 32px 56px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.checkout-card,
.checkout-summary {
  background: rgba(255,255,255,0.42);
  border: 1px solid rgba(13,11,8,0.06);
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(13,11,8,0.03);
}

.checkout-card {
  padding: 30px 30px 28px;
}

.checkout-summary {
  padding: 28px 28px 24px;
  position: sticky;
  top: 102px;
}

.checkout-section + .checkout-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(13,11,8,0.08);
}

.checkout-section-title,
.summary-section-title {
  margin: 0 0 18px;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: #0D0B08;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.checkout-field.full {
  grid-column: 1 / -1;
}

.checkout-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5F5A53;
}

.checkout-help {
  font-size: 13px;
  line-height: 1.5;
  color: #5F5A53;
  margin: -2px 0 4px;
}

.checkout-input,
.checkout-select,
.checkout-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(76,58,42,0.22);
  background: rgba(255,255,255,0.78);
  color: #0D0B08;
  border-radius: 18px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  box-shadow: none;
  transition: border-color 0.2s, background 0.2s;
}

.checkout-input::placeholder,
.checkout-textarea::placeholder {
  color: rgba(95,90,83,0.7);
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
  border-color: rgba(61,131,103,0.9);
  box-shadow: none;
  background: rgba(255,255,255,0.96);
}

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

.delivery-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.delivery-method {
  position: relative;
}

.delivery-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-method-card {
  border: 1px solid rgba(76,58,42,0.22);
  border-radius: 22px;
  padding: 1rem;
  background: rgba(255,255,255,0.52);
  cursor: pointer;
  transition: border-color 0.22s, background-color 0.22s;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.delivery-method-card:hover {
  background-color: rgba(255,255,255,0.72);
  border-color: rgba(61,131,103,0.45);
  transform: none;
}

.delivery-method input[type="radio"]:checked + .delivery-method-card {
  border-color: #3D8367;
  background-color: rgba(83,175,133,0.08);
  box-shadow: none;
}

.delivery-method-title {
  font-weight: 600;
  color: #0D0B08;
  margin-bottom: 0.2rem;
  font-size: 1rem;
}

.delivery-method-text {
  font-size: 0.92rem;
  color: #5F5A53;
  line-height: 1.55;
  font-weight: 400;
}

.pickup-group {
  margin-top: 1rem;
}

.pickup-group.hidden,
.address-group.hidden {
  display: none;
}

.delivery-slots {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.delivery-slot {
  flex: 1;
  cursor: pointer;
  border: 1px solid rgba(76,58,42,0.22);
  border-radius: 20px;
  padding: 0.8rem 0.9rem;
  background-color: rgba(255,255,255,0.52);
  transition: border-color 0.22s, background-color 0.22s;
  display: flex;
  align-items: center;
}

.delivery-slot:hover {
  background-color: rgba(255,255,255,0.72);
  border-color: rgba(61,131,103,0.45);
  transform: none;
}

.delivery-slot input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.delivery-slot-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.delivery-slot-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(76,58,42,0.32);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  background-color: transparent;
  transition: background-color 0.22s, border-color 0.22s;
}

.delivery-slot input[type="radio"]:checked + .delivery-slot-card .delivery-slot-indicator {
  background-color: #3D8367;
  border-color: #3D8367;
  box-shadow: none;
}

.delivery-slot-label {
  font-weight: 600;
  color: #0D0B08;
  font-size: 0.96rem;
}

.delivery-slot-time {
  font-size: 0.88rem;
  color: #5F5A53;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  font-weight: 500;
  color: #5F5A53;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(13,11,8,0.07);
}

.summary-line-label {
  color: #5F5A53;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
}

.summary-line-value {
  text-align: right;
  color: #0D0B08;
  font-weight: 600;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  margin: 1.2rem 0 1.4rem;
  color: #0D0B08;
  padding-top: 1rem;
  border-top: 1px solid rgba(13,11,8,0.12);
}

.summary-total-label {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.summary-total-value {
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
}

.summary-checkout-btn {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: #0D0B08;
  color: #FCF5E5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 18px;
  cursor: pointer;
  box-shadow: none;
}

.summary-checkout-btn:hover {
  background: #0C2975;
}

.summary-safe {
  margin-top: 0.95rem;
  font-size: 0.84rem;
  color: #5F5A53;
  text-align: center;
  font-weight: 400;
}

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

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .checkout-page nav {
    padding: 14px 18px;
  }

  .checkout-page .nav-links {
    display: none;
  }

  .checkout-hero {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-shell {
    padding: 24px 20px 40px;
  }

  .checkout-grid,
  .checkout-inline-grid,
  .checkout-layout,
  .delivery-methods {
    grid-template-columns: 1fr;
  }

  .delivery-slots {
    flex-direction: column;
  }

  .checkout-card,
  .checkout-summary {
    border-radius: 22px;
  }

  .checkout-page .logo-img {
    height: 56px;
  }

  .checkout-hero h1 {
    font-size: 42px;
  }

  .checkout-section-title,
  .summary-section-title {
    font-size: 42px;
  }

  .summary-total-value {
    font-size: 42px;
  }
}

.coupon-box {
  margin: 14px 0 16px;
  border: 1px solid rgba(13, 11, 8, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.36);
  overflow: hidden;
}

.coupon-toggle {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #0D0B08;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.coupon-toggle-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.coupon-icon {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  border: 1px dashed rgba(13, 11, 8, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  color: #0D0B08;
}

.coupon-chevron {
  font-size: 26px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.coupon-box.is-open .coupon-chevron {
  transform: rotate(180deg);
}

.coupon-panel {
  display: none;
  padding: 0 14px 14px;
}

.coupon-box.is-open .coupon-panel {
  display: block;
}

.coupon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.coupon-input {
  width: 100%;
  height: 42px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 11, 8, 0.18);
  border-radius: 12px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.86);
  color: #0D0B08;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  outline: none;
  text-transform: uppercase;
}

.coupon-input::placeholder {
  color: rgba(95, 90, 83, 0.62);
  text-transform: none;
}

.coupon-input:focus {
  border-color: #53AF85;
  box-shadow: 0 0 0 3px rgba(83, 175, 133, 0.18);
}

.coupon-apply {
  min-width: 88px;
  height: 42px;
  border: 1px solid #0D0B08;
  border-radius: 12px;
  background: #0D0B08;
  color: #FCF5E5;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.coupon-apply:hover {
  background: #0C2975;
  border-color: #0C2975;
}

.coupon-apply:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.coupon-message {
  min-height: 18px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
}

.coupon-message.success {
  color: #3D8367;
}

.coupon-message.error {
  color: #9E2A5F;
}

.summary-discount-line {
  color: #3D8367;
}

.summary-discount-line .summary-line-label,
.summary-discount-line .summary-line-value {
  color: #3D8367;
  font-weight: 900;
}

@media (max-width: 640px) {
  .coupon-row {
    grid-template-columns: 1fr;
  }

  .coupon-apply {
    width: 100%;
  }
}

.hidden {
  display: none !important;
}