/* ============================================================
   NTLF MEDICAL – Orders / Cart Page Styles  (style-orders.css)
   All CSS variables defined here — no dependency on other sheets.
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
  --navy: #0a2540;
  --blue: #1a56db;
  --blue-dark: #1341b4;
  --blue-light: #e8f0fe;
  --green: #0d9e6e;
  --green-light: #e6f9f2;
  --amber: #f59e0b;
  --red: #e53e3e;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1e293b;
  --text-muted: #475569;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.14);
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-full: 9999px;
  --font-display: "Sora", sans-serif;
  --font-body: "DM Sans", sans-serif;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 72px;
}
[data-theme="dark"] {
  --bg: #0f172a;
  --bg-alt: #1e293b;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --border: #334155;
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  transition:
    background var(--transition),
    color var(--transition);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}
input,
textarea,
select {
  font-family: var(--font-body);
}

/* ── Utility ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  background: var(--gray-800);
  color: #fff;
  padding: 13px 22px;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  max-width: 320px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success {
  background: var(--green);
}
.toast.error {
  background: var(--red);
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--blue-dark);
}

.theme-toggle {
  position: fixed;
  top: calc(var(--nav-h) + 14px);
  right: 18px;
  z-index: 800;
  width: 42px;
  height: 42px;
  border-radius: var(--r-full);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.theme-toggle:hover {
  transform: rotate(12deg) scale(1.08);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), #1e40af);
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 86, 219, 0.28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.4);
}
.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
  transition: background var(--transition);
}
[data-theme="dark"] .navbar {
  background: #0f172a;
}

.navbar__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.navbar__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--font-display);
}
.logo-ntlf {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
}
[data-theme="dark"] .logo-ntlf {
  color: #fff;
}
.logo-medical {
  font-weight: 500;
  font-size: 0.58rem;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0 auto;
}
.navbar__links a {
  padding: 8px 16px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gray-600);
  transition: all var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active {
  color: var(--blue);
  background: var(--blue-light);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--gray-100);
  font-size: 1rem;
  transition: all var(--transition);
  color: var(--text);
}
.cart-btn:hover {
  background: var(--blue-light);
  color: var(--blue);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--blue);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: var(--r-full);
  transition: all var(--transition);
}

/* ═══════════════════════════════════════════════════════════
   PAGE HERO
════════════════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 52px) 0 56px;
  background: linear-gradient(145deg, #080e20 0%, var(--navy) 40%, #0d3561 80%);
  position: relative;
  overflow: hidden;
}
.page-hero__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--r-full);
  font-size: 0.77rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.page-hero__container > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: #fff;
}
.breadcrumb i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.65rem;
}
.breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   ORDERS SECTION
════════════════════════════════════════════════════════════ */
.orders-section {
  padding: 40px 0 80px;
}
.orders-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Tabs ────────────────────────────────────────────────── */
.orders-tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--border);
  margin-bottom: 32px;
}
.orders-tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 22px;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition:
    color var(--transition),
    border-color var(--transition),
    background var(--transition);
}
.orders-tab-btn:hover {
  color: var(--blue);
  background: var(--blue-light);
}
.orders-tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
  background: var(--blue-light);
}
.tab-badge {
  background: var(--blue);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--r-full);
  min-width: 20px;
  text-align: center;
}

.orders-tab-panel {
  display: none;
}
.orders-tab-panel.active {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   CART TAB
════════════════════════════════════════════════════════════ */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Cart item card */
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}
.cart-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26, 86, 219, 0.2);
}

.cart-item__img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}
.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}
.cart-item__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .cart-item__name {
  color: var(--gray-800);
}
.cart-item__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-item__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  font-size: 0.95rem;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.qty-btn:hover {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.qty-display {
  min-width: 32px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-item__remove {
  margin-left: 6px;
  color: var(--gray-400);
  font-size: 1rem;
  padding: 6px;
  border-radius: var(--r-sm);
  transition: all var(--transition);
}
.cart-item__remove:hover {
  color: var(--red);
  background: rgba(229, 62, 62, 0.08);
}

/* Cart Summary Panel */
.cart-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.cart-summary h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .cart-summary h3 {
  color: var(--gray-800);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.summary-row:last-of-type {
  border: none;
}
.summary-row strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
}
.summary-row--total {
  font-size: 1rem;
  padding-top: 14px;
}
.summary-row--total strong {
  color: var(--green);
  font-size: 1.15rem;
}
.summary-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--blue-light);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: 0.8rem;
  color: var(--blue);
  margin: 14px 0;
  line-height: 1.55;
}
.summary-note i {
  flex-shrink: 0;
  margin-top: 2px;
}
.btn-checkout {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* Empty cart */
.empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.empty-cart i {
  font-size: 4rem;
  color: var(--border);
  display: block;
  margin-bottom: 18px;
}
.empty-cart h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
[data-theme="dark"] .empty-cart h3 {
  color: var(--gray-800);
}
.empty-cart p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════
   CHECKOUT TAB
════════════════════════════════════════════════════════════ */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}
.checkout-form-wrap h3,
.checkout-summary h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .checkout-form-wrap h3,
[data-theme="dark"] .checkout-summary h3 {
  color: var(--gray-800);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  font-size: 0.9rem;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--bg);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}
.req {
  color: var(--red);
}
.field-error {
  display: block;
  font-size: 0.8rem;
  color: var(--red);
  min-height: 18px;
  margin-top: 4px;
  font-weight: 500;
}
.checkout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Checkout Summary Panel */
.checkout-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  gap: 10px;
}
.checkout-item:last-child {
  border: none;
}
.checkout-item span:first-child {
  color: var(--text);
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.5;
}
.checkout-item span:last-child {
  color: var(--green);
  font-weight: 700;
  font-size: 0.88rem;
  flex-shrink: 0;
}
.summary-divider {
  border-top: 2px dashed var(--border);
  margin: 10px 0;
}

/* ═══════════════════════════════════════════════════════════
   ORDER HISTORY TAB
════════════════════════════════════════════════════════════ */
.order-history-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.order-history-card:hover {
  box-shadow: var(--shadow-md);
}

.order-history-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.order-history-id {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--blue);
  font-size: 0.94rem;
}
.order-history-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.order-history-total {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  font-size: 1rem;
}
.order-status-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: #fef3c7;
  color: #92400e;
}
.order-history-customer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.75;
}
.order-history-customer strong {
  color: var(--text);
}
.order-history-items {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Empty history */
.empty-state {
  text-align: center;
  padding: 80px 20px;
}
.empty-state i {
  font-size: 4rem;
  color: var(--border);
  display: block;
  margin-bottom: 18px;
}
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
[data-theme="dark"] .empty-state h3 {
  color: var(--gray-800);
}
.empty-state p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════
   ORDER CONFIRMATION MODAL
════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.modal {
  background: var(--bg);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0.3;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.confirm-modal {
  max-width: 460px;
  width: 100%;
  padding: 44px 36px;
  text-align: center;
}
.confirm-icon {
  font-size: 3.5rem;
  color: var(--green);
  margin-bottom: 16px;
  display: block;
}
.confirm-modal h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
[data-theme="dark"] .confirm-modal h3 {
  color: var(--gray-800);
}
.confirm-modal > p {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.7;
  font-size: 0.95rem;
}
.confirm-details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: left;
  margin-bottom: 24px;
  line-height: 1.9;
}
.confirm-details strong {
  color: var(--text);
}
.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
}
.footer__main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px 44px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer__logo .logo-ntlf {
  color: #fff;
  font-size: 1.1rem;
}
.footer__logo .logo-medical {
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: block;
}
.footer__col--brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 280px;
}
.footer__col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__col ul li {
  margin-bottom: 9px;
}
.footer__col ul li a {
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.85rem;
  transition: color var(--transition);
}
.footer__col ul li a:hover {
  color: #fff;
}
.footer__contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.84rem;
}
.footer__contact i {
  color: var(--green);
  flex-shrink: 0;
}
.footer__contact a {
  color: rgba(255, 255, 255, 0.52);
  transition: color var(--transition);
}
.footer__contact a:hover {
  color: var(--green);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 20px 24px;
}
.footer__bottom p {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .checkout-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary,
  .checkout-summary {
    position: static;
  }
  .navbar__links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 16px 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 3px solid var(--green);
    gap: 2px;
    z-index: 400;
  }
  .navbar__links.open {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer__main {
    grid-template-columns: 1fr;
  }
  .confirm-modal {
    padding: 32px 22px;
  }
  .checkout-actions {
    flex-direction: column;
  }
  .checkout-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .orders-tab-btn {
    padding: 10px 14px;
    font-size: 0.83rem;
  }
}

/* ════════════════════════════════════════════════════════
   WHATSAPP INTEGRATION STYLES
════════════════════════════════════════════════════════ */

/* WhatsApp button inside confirm modal */
.btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  background: #25d366;
  color: #fff !important;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}
.btn--wa:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}
.btn--wa i {
  font-size: 1.1rem;
}

/* Resend WhatsApp button on each order history card */
.order-history-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-wa-resend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: var(--r-full);
  background: rgba(37, 211, 102, 0.1);
  color: #128c4a;
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-wa-resend:hover {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
  transform: translateY(-1px);
}
.btn-wa-resend i {
  font-size: 1rem;
}

/* Dark mode adjustments */
[data-theme="dark"] .btn-wa-resend {
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.4);
}
[data-theme="dark"] .btn-wa-resend:hover {
  background: #25d366;
  color: #fff;
}

/* Confirmation modal actions — allow wrapping gracefully */
.confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.confirm-actions .btn {
  min-width: 130px;
  justify-content: center;
}

/* WhatsApp notification status line in confirm modal message */
#confirmMessage {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════
   WHATSAPP PRIMARY BUTTON  (confirmation modal)
   Large green CTA — the most important action after checkout.
════════════════════════════════════════════════════════════ */
.btn--wa-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  background: #25d366;
  color: #fff;
  border: none;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
  cursor: pointer;
}
.btn--wa-primary:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}
.btn--wa-primary i {
  font-size: 1.25rem;
}

/* Ghost button for tertiary action */
.btn--ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--r-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}
.btn--ghost:hover {
  background: var(--border);
  color: var(--text);
}

/* Confirmation modal actions — stack vertically for clarity */
.confirm-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.confirm-actions .btn--outline,
.confirm-actions .btn--ghost {
  width: 100%;
  justify-content: center;
}

/* UPDATED HERO SECTION — background image with dark overlay */
.page-hero {
  background-image: url("https://images.unsplash.com/photo-1631549916768-4119b2e5f926?w=1920&q=80&auto=format&fit=crop") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
/* NEW STYLES ADDED — pseudo-element overlay keeps text readable */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(8, 14, 32, 0.9) 0%,
    rgba(10, 37, 64, 0.87) 40%,
    rgba(13, 53, 97, 0.85) 80%
  );
  z-index: 1;
}
.page-hero-bg,
.page-hero-content,
.page-hero__container {
  position: relative;
  z-index: 2;
}
