/* ==========================================================================
   RETAILDOKAN - CHECKOUT PAGE STYLES (checkout.css)
   Exact match to provided RetailDokan Checkout UI/UX Design Mockup
   ========================================================================== */

/* 1. Global Page & Body Reset */
:root {
  --primary-red: #E52E2D;
  --primary-red-hover: #D02423;
  --primary-red-light: #FEF2F2;
  --primary-red-border: #FCA5A5;
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-sub: #4B5563;
  --border-light: #E5E7EB;
  --border-focus: #E52E2D;
  --bg-page: #F9FAFB;
  --bg-card: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body.checkout-body {
  font-family: var(--font-family);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.checkout-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.checkout-top-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 0;
}

.checkout-top-bar .checkout-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-left-group, .top-bar-right-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-sub);
  font-weight: 500;
}

.top-bar-item svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.top-bar-divider {
  color: #D1D5DB;
}

.top-bar-link {
  color: var(--text-sub);
  text-decoration: none;
  transition: color 0.15s;
}

.top-bar-link:hover {
  color: var(--primary-red);
}

.currency-select {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
}

/* ==========================================================================
   3. MAIN HEADER
   ========================================================================== */
.checkout-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.checkout-header .checkout-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.checkout-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.checkout-logo-icon {
  width: 38px;
  height: 38px;
  background-color: var(--primary-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(229, 46, 45, 0.25);
}

.checkout-logo-text {
  display: flex;
  flex-direction: column;
}

.checkout-logo-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
  line-height: 1.15;
}

.checkout-logo-title span {
  color: var(--primary-red);
}

.checkout-logo-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Search Bar */
.checkout-search-wrap {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.checkout-search-form {
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
}

.checkout-search-input {
  width: 100%;
  height: 42px;
  padding: 0 46px 0 16px;
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  font-size: 13.5px;
  background-color: #F9FAFB;
  outline: none;
  transition: all 0.2s;
  font-family: inherit;
}

.checkout-search-input:focus {
  border-color: var(--primary-red);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(229, 46, 45, 0.1);
}

.checkout-search-btn {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 34px;
  background-color: var(--primary-red);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s;
}

.checkout-search-btn:hover {
  background-color: var(--primary-red-hover);
}

/* Header Actions */
.checkout-header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 600;
  gap: 2px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  transition: color 0.15s;
}

.header-action-btn:hover {
  color: var(--primary-red);
}

.action-icon-badge {
  position: relative;
  display: inline-flex;
}

.action-count-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 2px solid #FFFFFF;
}

/* ==========================================================================
   4. CHECKOUT HERO TITLE & STEPPER
   ========================================================================== */
.checkout-heading-section {
  padding: 28px 0 20px;
}

.checkout-heading-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.checkout-title-col h1 {
  font-size: 30px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.checkout-title-col p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Stepper */
.checkout-stepper {
  display: flex;
  align-items: center;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #9CA3AF;
  position: relative;
}

.step-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background-color: #E5E7EB;
  color: #6B7280;
  flex-shrink: 0;
  transition: all 0.2s;
}

.step-item.active {
  color: var(--primary-red);
}

.step-item.active .step-circle {
  background-color: var(--primary-red);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(229, 46, 45, 0.3);
}

.step-item.completed .step-circle {
  background-color: #10B981;
  color: #FFFFFF;
}

.step-connector {
  width: 44px;
  height: 2px;
  background-color: #E5E7EB;
  margin: 0 10px;
}

.step-connector.active {
  background-color: var(--primary-red);
}

/* ==========================================================================
   5. TWO-COLUMN CHECKOUT LAYOUT
   ========================================================================== */
.checkout-grid-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
  margin-bottom: 60px;
}

.checkout-left-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.checkout-right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 86px;
  min-width: 0;
}

/* Base Card Styling */
.checkout-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: box-shadow 0.2s ease;
}

.checkout-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.card-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #F3F4F6;
  color: #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-header-icon svg {
  width: 18px;
  height: 18px;
}

.card-header-text h2 {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.card-header-text p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   6. SECTION 1: SHIPPING INFORMATION FORM
   ========================================================================== */
.form-grid-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.form-grid-row.two-cols {
  grid-template-columns: 1fr 1fr;
}

.form-grid-row.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  color: #374151;
}

.form-field label .req {
  color: var(--primary-red);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  color: #111827;
  background-color: #FFFFFF;
  outline: none;
  font-family: inherit;
  transition: all 0.15s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(229, 46, 45, 0.1);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  cursor: pointer;
}

.form-textarea {
  height: 80px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.45;
}

.checkbox-remember-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-ui {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid #D1D5DB;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  background: #FFFFFF;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.custom-checkbox-ui:checked {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

.custom-checkbox-ui:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #FFFFFF;
  border-bottom: 2px solid #FFFFFF;
  transform: rotate(-45deg) translate(1px, -1px);
}

.checkbox-remember-row span {
  font-size: 13px;
  color: #4B5563;
  font-weight: 500;
}

/* ==========================================================================
   7. SECTION 2: DELIVERY METHOD OPTIONS
   ========================================================================== */
.delivery-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.delivery-card-option {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  background-color: #FFFFFF;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.delivery-card-option:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.delivery-card-option.active {
  border-color: var(--primary-red);
  background-color: #FFF8F8;
  box-shadow: 0 2px 10px rgba(229, 46, 45, 0.08);
}

/* Custom Radio Dot */
.custom-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #D1D5DB;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s ease;
}

.delivery-card-option.active .custom-radio-dot,
.payment-row-option.active .custom-radio-dot {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
}

.delivery-card-option.active .custom-radio-dot::after,
.payment-row-option.active .custom-radio-dot::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FFFFFF;
}

.delivery-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.delivery-icon-circle.standard-icon {
  background-color: #E8F5E9;
  color: #2E7D32;
}

.delivery-icon-circle.express-icon {
  background-color: #FEE2E2;
  color: var(--primary-red);
}

.delivery-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.delivery-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.delivery-title-row .d-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #111827;
}

.delivery-title-row .d-price {
  font-size: 14.5px;
  font-weight: 800;
  color: #111827;
}

.delivery-estimate {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   8. SECTION 3: PAYMENT METHOD OPTIONS
   ========================================================================== */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.payment-row-option {
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #FFFFFF;
  transition: all 0.2s ease;
}

.payment-row-option:hover {
  border-color: #D1D5DB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.payment-row-option.active {
  border-color: var(--primary-red);
  background-color: #FFF8F8;
  box-shadow: 0 2px 10px rgba(229, 46, 45, 0.08);
}

.payment-left-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.payment-badge-icon {
  width: 40px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 11px;
}

.payment-badge-icon.cod-icon {
  background-color: #E8F5E9;
  color: #2E7D32;
  border: 1px solid #C8E6C9;
}

.payment-badge-icon.bkash-icon {
  background-color: #E2136E;
  color: #FFFFFF;
}

.payment-badge-icon.nagad-icon {
  background-color: #ED1C24;
  color: #FFFFFF;
}

.payment-badge-icon.card-icon {
  background-color: #1E3A8A;
  color: #FFFFFF;
}

.payment-info-text {
  display: flex;
  flex-direction: column;
}

.payment-info-text .p-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

.payment-info-text .p-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.payment-popular-pill {
  background-color: #FEE2E2;
  color: var(--primary-red);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.2px;
}

.card-brand-logos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-pill-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.card-pill-tag.visa {
  background-color: #1A1F71;
  color: #FFFFFF;
}

.card-pill-tag.mastercard {
  background-color: #EB001B;
  color: #F79E1B;
}

.card-pill-tag.amex {
  background-color: #006FCF;
  color: #FFFFFF;
}

/* ==========================================================================
   9. RIGHT COLUMN: ORDER SUMMARY
   ========================================================================== */
.order-summary-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.summary-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F3F4F6;
}

.summary-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
}

.summary-title span {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.edit-cart-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-red);
  text-decoration: underline;
  cursor: pointer;
  transition: opacity 0.15s;
}

.edit-cart-link:hover {
  opacity: 0.85;
}

/* Items List */
.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 22px;
}

.summary-item-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.summary-item-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  background-color: #F9FAFB;
  border: 1px solid #F3F4F6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.summary-item-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

.summary-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.summary-item-price .cur-price {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--primary-red);
}

.summary-item-price .old-price {
  font-size: 11.5px;
  color: #9CA3AF;
  text-decoration: line-through;
}

/* Coupon Box */
.summary-coupon-box {
  background-color: #F9FAFB;
  border: 1px solid #F3F4F6;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
}

.coupon-header-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.coupon-header-text .percent-icon {
  color: var(--primary-red);
  font-size: 14px;
}

.coupon-input-wrap {
  display: flex;
  gap: 8px;
}

.coupon-input {
  flex: 1;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  background-color: #FFFFFF;
  outline: none;
  font-family: inherit;
  text-transform: uppercase;
}

.coupon-input:focus {
  border-color: var(--primary-red);
}

.coupon-btn-apply {
  height: 38px;
  padding: 0 16px;
  background-color: #FEE2E2;
  color: var(--primary-red);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.coupon-btn-apply:hover {
  background-color: #FECDD3;
}

/* Calculation Table */
.summary-cost-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #4B5563;
}

.cost-row.cost-discount {
  color: #16A34A;
  font-weight: 600;
}

.cost-divider {
  height: 1px;
  background-color: #F3F4F6;
  margin: 6px 0;
}

.cost-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 4px;
}

.cost-total-row .total-label {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.cost-total-row .total-value {
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-red);
  letter-spacing: -0.5px;
}

/* Green Savings Pill */
.savings-pill-banner {
  background-color: #DCFCE7;
  color: #15803D;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.savings-pill-banner svg {
  flex-shrink: 0;
}

/* Main CTA Button */
.btn-place-order {
  width: 100%;
  height: 50px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(229, 46, 45, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.2px;
}

.btn-place-order:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 46, 45, 0.4);
}

.btn-place-order:active {
  transform: translateY(0);
}

.checkout-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 14px;
  line-height: 1.45;
}

.checkout-disclaimer a {
  color: #374151;
  text-decoration: underline;
}

.checkout-disclaimer a:hover {
  color: var(--primary-red);
}

/* ==========================================================================
   10. TRUST & GUARANTEE BOX
   ========================================================================== */
.trust-guarantee-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.trust-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  background-color: #FEF2F2;
}

.trust-item-text .t-title {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.trust-item-text .t-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   11. DARK FOOTER (Matching RetailDokan)
   ========================================================================== */
.checkout-footer {
  background-color: #111827;
  color: #9CA3AF;
  padding: 40px 0 24px;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-title {
  font-size: 20px;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand-title span {
  color: var(--primary-red);
}

.footer-brand-sub {
  font-size: 11.5px;
  color: #9CA3AF;
}

.footer-perks-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-perk-item svg {
  color: var(--primary-red);
  flex-shrink: 0;
}

.footer-perk-text {
  display: flex;
  flex-direction: column;
}

.footer-perk-text .fp-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-perk-text .fp-sub {
  font-size: 11px;
  color: #9CA3AF;
}

.footer-social-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.2s;
}

.social-link:hover {
  background-color: var(--primary-red);
  transform: translateY(-2px);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 12px;
  color: #6B7280;
}

/* ==========================================================================
   12. ORDER CONFIRMATION MODAL & TOAST
   ========================================================================== */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 16px;
}

.order-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.order-modal-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 32px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.order-modal-backdrop.active .order-modal-card {
  transform: scale(1);
}

.modal-success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.order-modal-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.order-modal-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.order-info-box {
  background-color: #F9FAFB;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.order-info-box .info-line {
  display: flex;
  justify-content: space-between;
}

.order-info-box .info-line span:first-child {
  color: var(--text-muted);
}

.order-info-box .info-line span:last-child {
  font-weight: 700;
  color: #111827;
}

.modal-btn-row {
  display: flex;
  gap: 12px;
}

.modal-btn-primary {
  flex: 1;
  height: 44px;
  background-color: var(--primary-red);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-btn-track {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-red) 0%, #D31D1C 100%);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(229, 46, 45, 0.3);
  transition: all 0.2s;
}

.modal-btn-track:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
}

.modal-btn-secondary {
  flex: 1;
  height: 44px;
  background-color: #F3F4F6;
  color: #374151;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Toast Message */
.checkout-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #111827;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1100;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.checkout-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   13. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .checkout-grid-layout {
    grid-template-columns: 1fr;
  }
  .checkout-right-col {
    position: static;
  }
}

@media (max-width: 768px) {
  .checkout-heading-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .form-grid-row.two-cols,
  .form-grid-row.three-cols {
    grid-template-columns: 1fr;
  }
  .delivery-options-grid {
    grid-template-columns: 1fr;
  }
  .trust-guarantee-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .footer-perks-row {
    display: none;
  }
}

@media (max-width: 480px) {
  .trust-guarantee-card {
    grid-template-columns: 1fr;
  }
  .checkout-search-wrap {
    display: none;
  }
}
