/* ==========================================================================
   INNER PAGES — shared layout for account, cart, checkout, listings, etc.
   ========================================================================== */

.page-head { padding: 22px 0 6px; }
.page-head h1 { font-size: 24px; margin-bottom: 4px; }
.page-head p { font-size: 13.5px; color: var(--text-secondary); }

/* ---------- Account Layout: Sidebar + Content ---------- */
.account-shell { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding: 24px 0 56px; align-items: start; }
.account-sidebar { position: sticky; top: 92px; }
.account-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; }
.account-profile-strip { padding: 20px; display: flex; align-items: center; gap: 12px; background: var(--blue-50); border-bottom: 1px solid var(--border-soft); }
.account-profile-strip .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-600); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-display); flex-shrink: 0; }
.account-profile-strip strong { display: block; font-size: 14px; }
.account-profile-strip span { font-size: 12px; color: var(--text-muted); }
.account-nav a {
  display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 13.5px; font-weight: 500;
  color: var(--gray-700); border-left: 3px solid transparent;
}
.account-nav a svg { width: 18px; height: 18px; color: var(--gray-500); }
.account-nav a:hover { background: var(--gray-50); }
.account-nav a.active { background: var(--blue-50); color: var(--blue-600); border-color: var(--blue-600); font-weight: 600; }
.account-nav a.active svg { color: var(--blue-600); }
.account-nav .nav-section-label { padding: 14px 20px 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); }
.account-nav a.danger { color: var(--red-600); }
.account-nav a.danger svg { color: var(--red-600); }

.account-content { min-width: 0; }

@media (max-width: 900px) {
  .account-shell { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

/* ---------- Stat cards (account dashboard / dashboards in general) ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 18px 20px; }
.stat-card .stat-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.stat-card .stat-ic { width: 38px; height: 38px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; }
.stat-card .stat-ic svg { width: 19px; height: 19px; }
.stat-card .stat-val { font-size: 24px; font-weight: 700; font-family: var(--font-display); color: var(--gray-900); }
.stat-card .stat-label { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }
.stat-card .stat-delta { font-size: 11.5px; font-weight: 600; display: inline-flex; align-items: center; gap: 3px; margin-top: 8px; }
.stat-card .stat-delta.up { color: var(--green-600); }
.stat-card .stat-delta.down { color: var(--red-600); }
.stat-card .stat-delta svg { width: 12px; height: 12px; }
@media (max-width: 980px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Order card / list item ---------- */
.order-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden; }
.order-card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: var(--gray-50); border-bottom: 1px solid var(--border-soft); flex-wrap: wrap; gap: 10px; }
.order-card-head .oh-group { display: flex; gap: 28px; flex-wrap: wrap; }
.order-card-head .oh-item span { display: block; font-size: 11px; color: var(--text-muted); }
.order-card-head .oh-item strong { font-size: 13px; }
.order-card-body { padding: 16px 18px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.order-card-body .item-thumb { width: 64px; height: 64px; border-radius: var(--r-md); overflow: hidden; background: var(--gray-50); flex-shrink: 0; }
.order-card-body .item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card-body .item-info { flex: 1; min-width: 160px; }
.order-card-body .item-info h4 { font-size: 13.5px; margin-bottom: 3px; }
.order-card-body .item-info span { font-size: 12px; color: var(--text-muted); }
.order-card-foot { padding: 12px 18px; border-top: 1px solid var(--border-soft); display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Timeline (order tracking) ---------- */
.timeline { display: flex; justify-content: space-between; position: relative; padding: 20px 0 10px; }
.timeline::before { content: ""; position: absolute; top: 32px; left: 24px; right: 24px; height: 3px; background: var(--gray-200); z-index: 0; }
.timeline .tl-step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; text-align: center; }
.timeline .tl-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--white); border: 3px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: var(--gray-400); }
.timeline .tl-dot svg { width: 18px; height: 18px; }
.timeline .tl-step.done .tl-dot { border-color: var(--green-600); background: var(--green-600); color: var(--white); }
.timeline .tl-step.active .tl-dot { border-color: var(--blue-600); background: var(--blue-600); color: var(--white); box-shadow: 0 0 0 5px var(--blue-100); }
.timeline .tl-step span { font-size: 12px; font-weight: 600; color: var(--gray-600); max-width: 90px; }
.timeline .tl-step.done span, .timeline .tl-step.active span { color: var(--gray-900); }
.timeline .tl-step small { font-size: 10.5px; color: var(--text-muted); }
@media (max-width: 700px) {
  .timeline { flex-direction: column; align-items: flex-start; gap: 22px; padding-left: 6px; }
  .timeline::before { top: 24px; bottom: 24px; left: 19px; right: auto; width: 3px; height: auto; }
  .timeline .tl-step { flex-direction: row; text-align: left; gap: 14px; }
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
  border-radius: var(--r-lg); overflow: hidden; position: relative; background: linear-gradient(135deg, #DCE6F8, #EAF0FC);
  min-height: 220px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border-soft);
}
.map-placeholder svg { width: 100%; height: 100%; }

/* ---------- Cart Page ---------- */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; padding: 24px 0 56px; }
.cart-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border-soft); align-items: flex-start; }
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 86px; height: 86px; border-radius: var(--r-md); object-fit: cover; background: var(--gray-50); flex-shrink: 0; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-info h4 { font-size: 14px; margin-bottom: 3px; }
.cart-item .ci-info .ci-vendor { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; }
.cart-item .ci-actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.cart-item .ci-price-col { text-align: right; flex-shrink: 0; }
.cart-item .ci-price-col .price-now { font-size: 15.5px; font-weight: 700; font-family: var(--font-display); }
.cart-item .ci-price-col .price-mrp { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.cart-item .ci-remove { font-size: 12.5px; color: var(--red-600); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.cart-item .ci-remove svg { width: 13px; height: 13px; }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--border-default); border-radius: var(--r-sm); }
.qty-stepper button { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--gray-700); font-size: 16px; }
.qty-stepper button:hover { background: var(--gray-100); }
.qty-stepper .qty-value { width: 30px; text-align: center; font-size: 13px; font-weight: 600; }

.vendor-group-head { display: flex; align-items: center; gap: 8px; padding: 14px 0; font-size: 13px; font-weight: 700; color: var(--navy-800); border-bottom: 1px dashed var(--border-default); margin-bottom: 4px; }
.vendor-group-head svg { width: 16px; height: 16px; color: var(--blue-600); }
.vendor-group-head .deliv-tag { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--green-700); background: var(--green-100); padding: 3px 9px; border-radius: var(--r-pill); }

.summary-box { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 20px; position: sticky; top: 92px; }
.summary-box h3 { font-size: 15.5px; margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--gray-700); margin-bottom: 11px; }
.summary-row.discount { color: var(--green-700); }
.summary-row.total { font-size: 16px; font-weight: 700; color: var(--gray-900); padding-top: 12px; border-top: 1px solid var(--border-soft); margin-top: 6px; }
.coupon-input-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-input-row input { flex: 1; }
.savings-banner { background: var(--green-100); color: var(--green-700); font-size: 12.5px; font-weight: 600; padding: 10px 14px; border-radius: var(--r-md); margin: 14px 0; display: flex; align-items: center; gap: 8px; }
.savings-banner svg { width: 16px; height: 16px; flex-shrink: 0; }

@media (max-width: 900px) {
  .cart-grid { grid-template-columns: 1fr; }
  .summary-box { position: static; }
}

/* ---------- Checkout stepper ---------- */
.checkout-steps { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; max-width: 100%; }
.checkout-steps .cs-step { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.checkout-steps .cs-step .cs-num { width: 26px; height: 26px; border-radius: 50%; background: var(--gray-200); color: var(--gray-600); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.checkout-steps .cs-step.active { color: var(--navy-900); }
.checkout-steps .cs-step.active .cs-num { background: var(--blue-600); color: var(--white); }
.checkout-steps .cs-step.done .cs-num { background: var(--green-600); color: var(--white); }
.checkout-steps .cs-sep { width: 30px; height: 1.5px; background: var(--border-default); flex-shrink: 1; min-width: 8px; }
@media (max-width: 480px) {
  .checkout-steps { gap: 4px; }
  .checkout-steps .cs-label { display: none; }
  .checkout-steps .cs-sep { width: 16px; }
}

.address-card { border: 1.5px solid var(--border-default); border-radius: var(--r-lg); padding: 16px; cursor: pointer; position: relative; }
.address-card.selected { border-color: var(--blue-600); background: var(--blue-50); }
.address-card .addr-badge { display:inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); background: var(--gray-100); color: var(--gray-600); margin-bottom: 6px; }
.address-card strong { font-size: 13.5px; display: block; margin-bottom: 3px; }
.address-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.5; }
.address-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .address-grid { grid-template-columns: 1fr; } }

.payment-option-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--border-default); border-radius: var(--r-md); margin-bottom: 10px; cursor: pointer; }
.payment-option-row.selected { border-color: var(--blue-600); background: var(--blue-50); }
.payment-option-row svg { width: 22px; height: 22px; color: var(--navy-800); flex-shrink: 0; }
.payment-option-row .po-info strong { display: block; font-size: 13.5px; }
.payment-option-row .po-info span { font-size: 11.5px; color: var(--text-muted); }
.payment-option-row .po-radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-default); flex-shrink: 0; }
.payment-option-row.selected .po-radio { border-color: var(--blue-600); background: radial-gradient(circle, var(--blue-600) 40%, transparent 44%); }

/* ---------- Filter sidebar (category listing) ---------- */
.listing-shell { display: grid; grid-template-columns: 270px 1fr; gap: 22px; padding: 20px 0 56px; align-items: start; }
.filter-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 18px; margin-bottom: 16px; }
.filter-card h4 { font-size: 13.5px; margin-bottom: 12px; display: flex; align-items: center; justify-content: space-between; }
.filter-card .filter-option { display: flex; align-items: center; justify-content: space-between; padding: 7px 0; font-size: 13px; color: var(--gray-700); }
.filter-card .filter-option span.count { color: var(--text-muted); font-size: 12px; }
.price-range-display { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 600; margin-top: 10px; color: var(--navy-800); }
input[type=range].range-fill { width: 100%; -webkit-appearance: none; height: 5px; border-radius: var(--r-pill); outline: none; margin-top: 6px; }
input[type=range].range-fill::-webkit-slider-thumb { -webkit-appearance: none; width: 17px; height: 17px; border-radius: 50%; background: var(--blue-600); border: 2.5px solid var(--white); box-shadow: var(--shadow-sm); cursor: pointer; }

.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.listing-toolbar .result-count { font-size: 13px; color: var(--text-secondary); }
.sort-select { display: flex; align-items: center; gap: 8px; }
.mobile-filter-btn { display: none; }

/* ---------- Category listing page ---------- */
.listing-page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.listing-page-head h1 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.listing-page-head__count {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  font-weight: 500;
}

.listing-toolbar {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 18px;
}

.listing-toolbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.listing-filter-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 1;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-default);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.listing-filter-btn:hover {
  background: var(--gray-50);
  border-color: var(--blue-200);
}

.listing-sort {
  position: relative;
  flex: 1;
  min-width: 0;
}

.listing-sort__select {
  width: 100%;
  min-height: 44px;
  padding: 0 36px 0 14px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-default);
  background: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-800);
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.listing-sort__chev {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.listing-toolbar__meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: center;
}

.listing-grid {
  gap: 14px;
}

@media (min-width: 769px) {
  .listing-toolbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .listing-toolbar__row {
    flex: unset;
    gap: 12px;
    margin-left: auto;
  }

  .listing-sort {
    flex: unset;
  }

  .listing-sort__select {
    width: auto;
    min-width: 180px;
  }

  .listing-toolbar__meta {
    text-align: left;
    margin: 0;
  }

  .listing-page-head__count {
    display: none;
  }
}

@media (max-width: 900px) {
  .listing-shell { grid-template-columns: 1fr; }
  .filter-sidebar { display: none; }
  .filter-sidebar.open { display: block; }
  .mobile-filter-btn,
  .listing-filter-btn { display: inline-flex; }
}

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 30px; }
.pagination button, .pagination span {
  width: 36px; height: 36px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; color: var(--gray-700); border: 1px solid var(--border-soft);
}
.pagination button.active { background: var(--blue-600); color: var(--white); border-color: var(--blue-600); }

/* ---------- Product Detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: 36px;
  padding: 22px 0 40px;
  align-items: start;
}

.pd-gallery-main {
  aspect-ratio: 1/1;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.pd-gallery-main img { width: 100%; height: 100%; object-fit: cover; }

.pd-thumb-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.pd-thumb-row::-webkit-scrollbar { display: none; }
.pd-thumb-row .pd-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid var(--border-soft);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pd-thumb-row .pd-thumb.active {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.pd-thumb-row .pd-thumb img { width: 100%; height: 100%; object-fit: cover; }

.pd-info-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.pd-info .pd-vendor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--blue-600);
  font-weight: 600;
  margin-bottom: 10px;
}
.pd-info h1 {
  font-size: clamp(20px, 2.4vw, 26px);
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.pd-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-soft);
}
.pd-rating-text { font-size: 13px; color: var(--text-secondary); }
.pd-qa-link {
  margin-left: auto;
  font-size: 13px;
  color: var(--blue-600);
  font-weight: 600;
}

.pd-price-card {
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 100%);
  border: 1px solid rgba(27, 79, 204, 0.12);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.pd-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.pd-price-block .now {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1;
}
.pd-price-block .mrp {
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pd-price-block .off {
  font-size: 13px;
  color: var(--green-700);
  font-weight: 700;
  background: var(--green-100);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.pd-tax-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin: 0;
}
.pd-savings-tag {
  display: inline-flex;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-100);
  padding: 5px 12px;
  border-radius: var(--r-pill);
}

.pd-variant-section { margin-bottom: 20px; }
.pd-section-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.pd-variant-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.variant-chip {
  min-height: 44px;
  min-width: 56px;
  padding: 10px 18px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--gray-700);
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.variant-chip:hover { border-color: var(--blue-400); color: var(--blue-600); }
.variant-chip.active {
  border-color: var(--blue-600);
  background: var(--blue-50);
  color: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.pd-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.pd-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--gray-50);
  min-width: 0;
}
.pd-highlight-ic {
  width: 36px;
  height: 36px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-600);
}
.pd-highlight-ic--delivery { background: var(--blue-50); border-color: rgba(27, 79, 204, 0.15); }
.pd-highlight-ic svg { width: 18px; height: 18px; }
.pd-highlight-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--navy-900);
  margin-bottom: 2px;
  line-height: 1.3;
}
.pd-highlight-item span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.35;
}

.pd-actions {
  padding: 18px 0 20px;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 18px;
}
.pd-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.pd-qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  flex-shrink: 0;
}
.pd-qty-stepper {
  border-radius: var(--r-md);
  border-width: 1.5px;
}
.pd-qty-stepper button {
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.pd-qty-stepper .qty-value {
  width: 36px;
  font-size: 14px;
}
.pd-wishlist-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  min-height: 44px;
}
.pd-wishlist-btn svg { width: 18px; height: 18px; }
.pd-wishlist-btn:hover {
  border-color: var(--red-600);
  color: var(--red-600);
  background: var(--red-100);
}

.pd-actions-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.pd-actions-btns .btn {
  justify-content: center;
  min-height: 48px;
  font-size: 14.5px;
  font-weight: 700;
}
.pd-actions-btns .btn svg { width: 18px; height: 18px; }

.pd-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 4px;
  margin-bottom: 16px;
}
.pd-trust-row .pdt-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-600);
  padding: 10px 8px;
  border-radius: var(--r-md);
  background: var(--green-100);
  color: var(--green-700);
  text-align: center;
}
.pd-trust-row .pdt-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.seller-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 14px 16px;
  background: var(--gray-50);
}
.seller-info-box .seller-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.seller-info-box strong { font-size: 13.5px; display: block; }
.seller-info-box span { font-size: 11.5px; color: var(--text-muted); }
.seller-info-box a {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-600);
  white-space: nowrap;
  padding: 8px 14px;
  border: 1.5px solid var(--blue-600);
  border-radius: var(--r-pill);
}
.seller-info-box a:hover { background: var(--blue-50); }

/* Mobile sticky purchase bar */
.pd-sticky-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(58px + env(safe-area-inset-bottom, 0px));
  z-index: 85;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  box-shadow: 0 -6px 24px rgba(10, 31, 68, 0.08);
}
.pd-sticky-bar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.pd-sticky-price {
  flex-shrink: 0;
  line-height: 1.15;
  min-width: 72px;
}
.pd-sticky-price .now {
  display: block;
  font-size: 17px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--navy-900);
}
.pd-sticky-price .mrp {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.pd-sticky-bar .btn {
  flex: 1;
  min-height: 44px;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 700;
  padding: 0 12px;
}

@media (max-width: 980px) {
  .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pd-highlights { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body.page-product-detail {
    padding-bottom: calc(58px + 64px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-product-detail .container {
    max-width: 100%;
    overflow-x: clip;
  }

  .page-product-detail .breadcrumb-bar { display: none; }

  .page-product-detail .pd-grid {
    padding-top: 0;
    padding-bottom: 24px;
    overflow-x: clip;
  }

  .page-product-detail .pd-gallery {
    margin-left: -16px;
    margin-right: -16px;
    max-width: calc(100% + 32px);
  }

  .page-product-detail .pd-gallery-main {
    border-radius: 0;
    border-left: none;
    border-right: none;
    margin-bottom: 10px;
    aspect-ratio: 4/3;
  }

  .page-product-detail .pd-thumb-row {
    padding: 0 16px;
  }

  .page-product-detail .pd-info-card {
    border: none;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
    margin-top: -12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 -8px 30px rgba(10, 31, 68, 0.06);
    padding: 20px 16px 18px;
  }

  .page-product-detail .pd-actions-btns {
    display: none;
  }

  .page-product-detail .pd-sticky-bar {
    display: block;
    left: 0;
    right: 0;
    max-width: 100vw;
    overflow: hidden;
    z-index: 510;
  }

  body.page-product-detail .proto-float-link {
    bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }

  body.page-product-detail .bb-chatbot {
    bottom: calc(128px + env(safe-area-inset-bottom, 0px));
  }

  .page-product-detail .pd-sticky-bar__inner {
    padding: 10px 12px;
    gap: 8px;
    min-width: 0;
  }

  .page-product-detail .pd-sticky-price {
    min-width: 62px;
    max-width: 72px;
    flex-shrink: 0;
  }

  .page-product-detail .pd-sticky-bar .btn {
    flex: 1;
    min-width: 0;
    padding: 0 10px;
    font-size: 12.5px;
  }

  .page-product-detail .pd-trust-row {
    grid-template-columns: 1fr;
  }

  .page-product-detail .pd-trust-row .pdt-item {
    justify-content: flex-start;
  }

  .page-product-detail .seller-info-box {
    flex-wrap: wrap;
  }

  .page-product-detail .seller-info-box a {
    margin-left: 0;
    width: 100%;
    text-align: center;
    margin-top: 4px;
  }

  .page-product-detail .pd-similar-section {
    padding: 24px 0 16px;
    overflow: visible;
  }

  .page-product-detail .pd-similar-head {
    margin-bottom: 12px;
  }

  .page-product-detail .pd-similar-head .section-head {
    margin-bottom: 0;
  }

  .page-product-detail .pd-similar-track {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    padding: 0 16px 8px;
  }

  .page-product-detail .pd-similar-track::-webkit-scrollbar {
    display: none;
  }

  .page-product-detail .pd-similar-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    width: max-content;
    min-width: 100%;
    margin: 0;
    padding: 0;
    overflow: visible;
    grid-template-columns: unset;
  }

  .page-product-detail .pd-similar-row .product-card {
    flex: 0 0 168px;
    width: 168px;
    min-width: 168px;
    max-width: 168px;
    scroll-snap-align: start;
  }

  .page-product-detail .pd-similar-row .product-card:hover {
    transform: none;
  }

  .page-product-detail .pd-similar-row .product-card .pc-body {
    padding: 8px 10px 10px;
    min-width: 0;
  }

  .page-product-detail .pd-similar-row .product-card .pc-title,
  .page-product-detail .pd-similar-row .product-card .pc-vendor,
  .page-product-detail .pd-similar-row .product-card .pc-price-row,
  .page-product-detail .pd-similar-row .product-card .pc-rating {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .page-product-detail .pd-similar-row .product-card .pc-title {
    font-size: 12px;
    height: 2.5em;
  }

  .page-product-detail .pd-similar-row .product-card .pc-rating span {
    font-size: 10px;
  }

  .page-product-detail .pd-similar-row .product-card .pc-price {
    font-size: 14px;
  }

  .page-product-detail .pd-similar-row .product-card .pc-add-btn {
    font-size: 11.5px;
    padding: 8px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .page-product-detail .pd-rating-row .pd-qa-link {
    margin-left: 0;
    width: 100%;
  }
}

.pd-similar-section {
  padding: 32px 0;
}

.pd-similar-head .section-head {
  margin-bottom: 16px;
}

.pd-similar-track {
  width: 100%;
}

.pd-similar-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (min-width: 769px) {
  .pd-similar-track {
    padding: 0 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    overflow: visible;
  }
}

@media (max-width: 980px) {
  .pd-similar-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 769px) and (max-width: 980px) {
  .pd-similar-track {
    padding: 0 16px;
  }
}
.pd-delivery-box { border: 1px solid var(--border-soft); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 18px; }
.pd-delivery-box .pd-deliv-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 8px; }
.pd-delivery-box .pd-deliv-row:last-child { margin-bottom: 0; }
.pd-delivery-box svg { width: 17px; height: 17px; color: var(--blue-600); flex-shrink: 0; }
.pd-action-row { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.pd-action-row .qty-stepper { flex-shrink: 0; }
.pd-action-row .btn.w-full { flex: 1 1 130px; }

.pd-tabs-section {
  padding: 20px 0 32px;
}

.pd-tabs-shell {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pd-detail-tabs {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--border-soft);
  padding: 0 4px;
  background: var(--white);
}

.pd-detail-tabs button {
  padding: 14px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  border-bottom: 2.5px solid transparent;
  background: none;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.pd-detail-tabs button:hover {
  color: var(--navy-800);
}

.pd-detail-tabs button.active {
  color: var(--navy-900);
  border-color: var(--blue-600);
}

.pd-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  margin-left: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  border-radius: var(--r-pill);
  vertical-align: middle;
}

.pd-detail-tabs button.active .pd-tab-count {
  background: var(--blue-600);
  color: var(--white);
}

.pd-tab-panels {
  min-width: 0;
}

.pd-tab-pane-body {
  padding: 24px 22px 26px;
}

.pd-desc-text {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--gray-700);
  margin: 0;
  max-width: 760px;
}

.pd-desc-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-desc-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-700);
}

.pd-desc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}

.spec-table--card tr:last-child td {
  border-bottom: none;
  padding-bottom: 0;
}

[data-tab-pane] { display: none; }
[data-tab-pane].active { display: block; }

@media (max-width: 768px) {
  .page-product-detail .pd-tabs-section {
    padding: 16px 0 28px;
  }

  .page-product-detail .pd-tabs-shell {
    border-radius: var(--r-lg);
    margin: 0;
  }

  .page-product-detail .pd-detail-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-bottom: none;
    background: var(--gray-50);
  }

  .page-product-detail .pd-detail-tabs button {
    padding: 12px 10px;
    min-height: 48px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    border: 1.5px solid var(--border-soft);
    border-radius: var(--r-md);
    border-bottom: 1.5px solid var(--border-soft);
    background: var(--white);
    color: var(--gray-700);
    box-shadow: none;
  }

  .page-product-detail .pd-detail-tabs button.active {
    border-color: var(--blue-600);
    background: var(--blue-50);
    color: var(--blue-600);
    box-shadow: 0 0 0 3px var(--blue-100);
  }

  .page-product-detail .pd-tab-count {
    display: block;
    margin: 4px auto 0;
    width: fit-content;
  }

  .page-product-detail .pd-tab-pane-body {
    padding: 18px 16px 20px;
  }

  .page-product-detail .pd-desc-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .page-product-detail .pd-desc-list {
    gap: 14px;
    margin-top: 18px;
  }

  .page-product-detail .pd-desc-list li {
    font-size: 13.5px;
    line-height: 1.65;
    padding-left: 20px;
  }

  .page-product-detail .spec-table td {
    display: block;
    width: 100%;
    padding: 0;
  }

  .page-product-detail .spec-table td:first-child {
    width: 100%;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-muted);
    padding-top: 14px;
    padding-bottom: 4px;
  }

  .page-product-detail .spec-table td:last-child {
    font-size: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-soft);
  }

  .page-product-detail .spec-table tr:last-child td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .page-product-detail .spec-table tr:first-child td:first-child {
    padding-top: 0;
  }

  .page-product-detail .review-summary {
    padding-top: 4px;
  }
}

@media (max-width: 380px) {
  .page-product-detail .pd-detail-tabs button {
    font-size: 12px;
    padding: 11px 8px;
  }
}

.spec-table { width: 100%; }
.spec-table tr { border-bottom: 1px solid var(--border-soft); }
.spec-table td { padding: 11px 0; font-size: 13.5px; }
.spec-table td:first-child { color: var(--text-muted); width: 220px; }
.spec-table td:last-child { color: var(--gray-800); font-weight: 500; }

.review-summary { display: flex; gap: 40px; padding: 20px 0; border-bottom: 1px solid var(--border-soft); margin-bottom: 20px; flex-wrap: wrap; }
.review-score-big { text-align: center; }
.review-score-big .big-num { font-size: 44px; font-weight: 700; font-family: var(--font-display); color: var(--gray-900); }
.review-bars { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 6px; }
.review-bars .rb-row { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-secondary); }
.review-bars .rb-track { flex: 1; height: 7px; background: var(--gray-200); border-radius: var(--r-pill); overflow: hidden; }
.review-bars .rb-fill { height: 100%; background: var(--gold-500); }
.review-item { padding: 16px 0; border-bottom: 1px solid var(--border-soft); }
.review-item .rev-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.review-item .rev-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.review-item strong { font-size: 13px; }
.review-item .rev-date { font-size: 11.5px; color: var(--text-muted); margin-left: auto; }
.review-item p { font-size: 13px; color: var(--gray-700); line-height: 1.6; margin-top: 6px; }
.review-item .rev-imgs { display: flex; gap: 8px; margin-top: 10px; }
.review-item .rev-imgs img { width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; }

/* ---------- Accordion (FAQ / support) ---------- */
.accordion-item { border: 1px solid var(--border-soft); border-radius: var(--r-md); margin-bottom: 10px; overflow: hidden; }
.accordion-item .acc-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.accordion-item .acc-head svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); flex-shrink: 0; }
.accordion-item.open .acc-head svg { transform: rotate(180deg); }
.accordion-item .acc-body { max-height: 0; overflow: hidden; transition: max-height var(--t-base) var(--ease); }
.accordion-item.open .acc-body { max-height: 400px; }
.accordion-item .acc-body-inner { padding: 0 18px 16px; font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ---------- Generic two-col form page (login/signup) ---------- */
.auth-shell { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; padding: 40px 16px; }
.auth-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-xl); padding: 36px; max-width: 420px; width: 100%; box-shadow: var(--shadow-md); }
.auth-card .auth-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.auth-card .auth-logo img { height: 48px; }
.auth-card h2 { text-align: center; font-size: 20px; margin-bottom: 6px; }
.auth-card .auth-sub { text-align: center; font-size: 13px; color: var(--text-secondary); margin-bottom: 24px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 12px; color: var(--text-muted); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--border-soft); }
.social-auth-row { display: flex; gap: 10px; }
.social-auth-row button { flex: 1; }
.otp-input-row { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.otp-input-row input { width: 46px; height: 52px; text-align: center; font-size: 19px; font-weight: 700; }
.auth-foot-link { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 18px; }
.auth-foot-link a { color: var(--blue-600); font-weight: 600; }

/* ---------- Wishlist / Grid pages padding ---------- */
.grid-page-body { padding: 22px 0 56px; }

/* ---------- Banners for promo pages ---------- */
.page-banner {
  border-radius: var(--r-xl); padding: 40px; margin-bottom: 30px; position: relative; overflow: hidden;
}

/* ---------- Generic content card ---------- */
.content-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--r-lg); padding: 24px; }

/* ---------- Vendor landing page ---------- */
.page-vendor-landing {
  background: linear-gradient(180deg, #eef2fa 0%, #f6f8fc 30%, #f4f7fc 100%);
}

.vendor-hero {
  position: relative;
  padding: 40px 0 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 15% 40%, rgba(27, 79, 204, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 20%, rgba(230, 190, 92, 0.12) 0%, transparent 50%),
    linear-gradient(125deg, #061428 0%, #0a1f44 40%, #122d5c 100%);
}
.vendor-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.vendor-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.vendor-hero__orb--1 {
  width: 400px; height: 400px;
  top: -100px; right: 10%;
  background: rgba(91, 130, 240, 0.2);
}
.vendor-hero__orb--2 {
  width: 280px; height: 280px;
  bottom: -60px; left: 5%;
  background: rgba(230, 190, 92, 0.1);
}

.vendor-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr min(44%, 500px);
  gap: 40px;
  align-items: center;
  padding-bottom: 36px;
}
.vendor-hero__eyebrow {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  background: rgba(230, 190, 92, 0.14);
  border: 1px solid rgba(230, 190, 92, 0.25);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.vendor-hero__copy h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.vendor-hero__copy h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--white) 0%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vendor-hero__copy > p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 24px;
  max-width: 480px;
}
.vendor-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}
.vendor-hero__btn-primary {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold-500) 0%, #d4a437 100%);
  color: var(--navy-950);
  box-shadow: 0 8px 28px rgba(230, 190, 92, 0.35);
  border: none;
}
.vendor-hero__btn-primary:hover {
  background: linear-gradient(135deg, #f0c14d 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  transform: translateY(-1px);
}
.vendor-hero__btn-ghost {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--r-pill);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.vendor-hero__btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.vendor-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vendor-hero__trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}
.vendor-hero__trust svg { width: 15px; height: 15px; color: var(--gold-400); flex-shrink: 0; }

.vendor-hero__visual { display: flex; justify-content: center; align-items: center; }
.vendor-hero__frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.vendor-hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.vendor-hero__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  background: rgba(6, 24, 51, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}

.vendor-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -20px;
  margin-bottom: 32px;
  padding: 18px 22px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(10, 31, 68, 0.1);
}
.vendor-metrics__item {
  text-align: center;
  padding: 4px 8px;
  border-right: 1px solid var(--border-soft);
}
.vendor-metrics__item:last-child { border-right: none; }
.vendor-metrics__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
}
.vendor-metrics__item span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.vendor-section { padding: 40px 0; }
.vendor-section--alt { background: var(--white); }
.vendor-section--cta { padding-top: 0; padding-bottom: 48px; }
.section-head--vendor { margin-bottom: 28px; }
.section-head--vendor h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0;
}
.section-head--vendor .section-sub { margin-top: 6px; max-width: 520px; }

.vendor-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.vendor-benefit {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 22px 20px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.vendor-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 31, 68, 0.08);
  border-color: rgba(27, 79, 204, 0.15);
}
.vendor-benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.vendor-benefit__icon svg { width: 22px; height: 22px; }
.vendor-benefit__icon--blue { background: #eef1fe; color: #1b4fcc; }
.vendor-benefit__icon--green { background: #e4f6ec; color: #16a34a; }
.vendor-benefit__icon--gold { background: #fef9e7; color: #b8860f; }
.vendor-benefit__icon--navy { background: #e8eef8; color: #0a1f44; }
.vendor-benefit h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 6px;
}
.vendor-benefit p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.vendor-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vendor-panel {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 26px 24px;
  box-shadow: 0 4px 20px rgba(10, 31, 68, 0.04);
}
.vendor-section--alt .vendor-panel { background: #fafbfd; }
.vendor-panel h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 20px;
}
.vendor-steps { display: flex; flex-direction: column; gap: 14px; }
.vendor-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.vendor-step--done { background: rgba(22, 163, 74, 0.06); }
.vendor-step--active {
  background: rgba(27, 79, 204, 0.06);
  border-color: rgba(27, 79, 204, 0.15);
}
.vendor-step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  background: var(--gray-200);
  color: var(--gray-600);
}
.vendor-step--done .vendor-step__num { background: var(--green-600); color: var(--white); }
.vendor-step--active .vendor-step__num { background: var(--blue-600); color: var(--white); }
.vendor-step strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 2px;
}
.vendor-step span { font-size: 12.5px; color: var(--text-muted); }

.vendor-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vendor-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  padding: 10px 12px;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--border-soft);
}
.vendor-section--alt .vendor-checklist li { background: var(--white); }
.vendor-checklist svg { width: 18px; height: 18px; color: var(--green-600); flex-shrink: 0; }

.vendor-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(230, 190, 92, 0.15) 0%, transparent 55%),
    linear-gradient(110deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(6, 24, 51, 0.25);
}
.vendor-cta__copy h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 4px;
}
.vendor-cta__copy h3 span { color: var(--gold-400); }
.vendor-cta__copy p {
  font-size: 13px;
  color: var(--text-on-dark-muted);
  margin: 0;
}
.vendor-cta__btn {
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--gold-500), #d4a437);
  color: var(--navy-950);
  box-shadow: 0 6px 20px rgba(230, 190, 92, 0.3);
  flex-shrink: 0;
}
.vendor-cta__btn:hover {
  background: linear-gradient(135deg, #f0c14d, var(--gold-500));
  color: var(--navy-950);
}

@media (max-width: 992px) {
  .vendor-hero__inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .vendor-hero__copy > p { margin-left: auto; margin-right: auto; }
  .vendor-hero__actions { justify-content: center; }
  .vendor-hero__trust { justify-content: center; }
  .vendor-benefits { grid-template-columns: repeat(2, 1fr); }
  .vendor-split { grid-template-columns: 1fr; }
  .vendor-metrics { grid-template-columns: repeat(2, 1fr); }
  .vendor-metrics__item:nth-child(2) { border-right: none; }
  .vendor-metrics__item { border-right: none; border-bottom: 1px solid var(--border-soft); padding-bottom: 12px; }
  .vendor-metrics__item:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 4px; }
}
@media (max-width: 768px) {
  .vendor-hero { padding-top: 28px; }
  .vendor-hero__copy h1 { font-size: 30px; }
  .vendor-benefits { grid-template-columns: 1fr; }
  .vendor-cta { flex-direction: column; text-align: center; padding: 24px 20px; }
  .vendor-cta__btn { width: 100%; justify-content: center; }
}
