/* ============================================================
   AutoPower Battery — Premium
   Black + amber automotive luxury aesthetic
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --primary: #FFB800;
  --ap-bg: #0A0A0F;
  --ap-surface: #14141C;
  --ap-surface-2: #1C1C28;
  --ap-hover: #22222E;
  --ap-border: #232331;
  --ap-border-strong: #2D2D3D;

  --ap-text: #FAFAFA;
  --ap-text-2: #C1C1CC;
  --ap-muted: #8A8A9A;
  --ap-dim: #5A5A6A;

  --ap-amber: #FFB800;
  --ap-amber-2: #FFD24D;
  --ap-amber-dark: #C68F00;
  --ap-amber-glow: rgba(255, 184, 0, 0.35);

  --ap-red: #EF4444;
  --ap-green: #10B981;

  --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FFD24D 50%, #C68F00 100%);
  --gradient-dark: linear-gradient(180deg, rgba(10,10,15,0) 0%, rgba(10,10,15,0.9) 70%, var(--ap-bg) 100%);
  --gradient-text: linear-gradient(135deg, #FFD24D 0%, #FFB800 100%);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 18px rgba(0,0,0,0.45);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.55);
  --shadow-glow: 0 0 32px var(--ap-amber-glow);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  --container-max: 1240px;
  --container-pad: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ap-text);
  background: var(--ap-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at top, rgba(0,0,0,0.8), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top, rgba(0,0,0,0.8), transparent 70%);
}

main, header, footer, section, .container { position: relative; z-index: 1; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ap-text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ap-text-2); }
a { color: var(--ap-amber); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--ap-amber-2); }

img { max-width: 100%; display: block; }

::selection { background: var(--ap-amber); color: #000; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.small { font-size: 0.875rem; color: var(--ap-muted); }
.breadcrumb { font-size: 0.875rem; color: var(--ap-muted); padding-top: 24px; }
.breadcrumb a { color: var(--ap-muted); }
.breadcrumb a:hover { color: var(--ap-text); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--ap-border);
}
.header-container {
  height: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: var(--ap-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--gradient-gold);
  border-radius: 8px;
  box-shadow: var(--shadow-glow);
  position: relative;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ap-text-2);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}
.nav a:hover { color: var(--ap-text); background: var(--ap-surface); }
.nav a.active { color: var(--ap-text); }
.nav a.active::after {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  margin: 4px auto 0;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #000;
  background: var(--gradient-gold);
  border-radius: var(--radius-pill);
  margin-left: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--ap-border-strong);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ap-text);
  border-radius: 2px;
  transition: all 0.2s var(--ease);
}

@media (max-width: 820px) {
  .hamburger { display: inline-flex; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--ap-border);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px var(--container-pad) 24px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
  }
  .nav.active { max-height: 70vh; }
  .nav a { padding: 12px 14px; font-size: 1rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--gradient-gold);
  color: #0A0A0F;
  box-shadow: 0 4px 16px rgba(255,184,0,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(255,184,0,0.45), inset 0 1px 0 rgba(255,255,255,0.25);
  color: #0A0A0F;
}

.btn-secondary {
  background: transparent;
  color: var(--ap-text);
  border-color: var(--ap-border-strong);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: var(--ap-surface);
  border-color: var(--ap-amber);
  color: var(--ap-text);
}

.btn-outline {
  background: transparent;
  color: var(--ap-text-2);
  border-color: var(--ap-border-strong);
}
.btn-outline:hover {
  background: var(--ap-surface);
  border-color: var(--ap-amber);
  color: var(--ap-text);
}

.btn-small { padding: 8px 14px; font-size: 0.8125rem; }
.btn-large { padding: 16px 28px; font-size: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(420px, 70vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--ap-bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45) saturate(1.15);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,184,0,0.15), transparent 50%),
    linear-gradient(135deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.55) 60%, rgba(10,10,15,0.85) 100%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  margin-inline: auto;
  padding: 80px var(--container-pad);
}
.hero h1 { margin-bottom: 20px; }
.hero h1::before {
  content: 'Premium Power · Klang Valley';
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ap-amber);
  margin-bottom: 18px;
}
.hero p {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--ap-text-2);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Section header ---------- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: clamp(64px, 10vw, 96px) auto clamp(40px, 6vw, 64px);
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--ap-muted); font-size: 1.0625rem; }

/* ---------- Features ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 96px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  background: var(--ap-surface-2);
  border-color: var(--ap-border-strong);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  font-size: 1.625rem;
  background: linear-gradient(135deg, rgba(255,184,0,0.18), rgba(255,210,77,0.08));
  border: 1px solid rgba(255,184,0,0.25);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
}
.feature-card h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature-card p { font-size: 0.9375rem; color: var(--ap-muted); margin: 0; line-height: 1.55; }

/* ---------- Products ---------- */
.products-section { margin-bottom: 96px; }
.products-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}
.products-header h2 { margin: 0; }
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ap-amber);
  padding: 8px 12px;
  border-radius: var(--radius-md);
  transition: all 0.2s var(--ease);
}
.view-all:hover { background: rgba(255,184,0,0.08); }
.view-all svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.view-all:hover svg { transform: translateX(3px); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s var(--ease-out);
  position: relative;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,184,0,0.4), rgba(255,184,0,0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: var(--ap-surface-2);
}
.product-card:hover::before { opacity: 1; }

.product-image {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at center, rgba(255,184,0,0.08), transparent 70%),
    var(--ap-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--ap-border);
  overflow: hidden;
  position: relative;
}
.product-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s var(--ease-out);
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.5));
}
.product-card:hover .product-image img { transform: scale(1.05); }

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ap-text);
  margin: 0;
  letter-spacing: -0.01em;
}

.product-vehicle {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ap-muted);
  padding: 3px 8px;
  background: var(--ap-surface-2);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-pill);
  display: inline-block;
  width: fit-content;
}

.product-price {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.025em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 8px;
  line-height: 1;
}

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.product-actions .btn { flex: 1; }

/* ---------- Shop / Filters ---------- */
.shop-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 32px 0 28px;
  flex-wrap: wrap;
}
.shop-header h1 {
  color: var(--ap-text) !important;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-select {
  background: var(--ap-surface);
  color: var(--ap-text);
  border: 1px solid var(--ap-border-strong);
  border-radius: var(--radius-md);
  padding: 10px 36px 10px 14px;
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23C1C1CC' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all 0.2s var(--ease);
}
.filter-select:focus,
.filter-select:hover {
  border-color: var(--ap-amber);
  outline: none;
}

/* ---------- Product Detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  margin: 32px 0 80px;
}
@media (max-width: 800px) { .product-detail { grid-template-columns: 1fr; } }

.product-gallery {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(ellipse at center, rgba(255,184,0,0.1), transparent 70%),
    var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
}
.product-gallery img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 48px rgba(0,0,0,0.6));
}

.product-info h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}
.product-price-large {
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 16px 0 24px;
  line-height: 1;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
  padding: 20px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
}
.product-specs > * {
  font-size: 0.9375rem;
  color: var(--ap-text-2);
}

.product-actions-large {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.product-actions-large .btn { flex: 1; padding: 14px 22px; font-size: 1rem; }

/* ---------- About ---------- */
.about-content {
  max-width: 760px;
  margin: 48px auto 80px;
}
.about-content h1 { margin-bottom: 20px; }
.about-content p { font-size: 1.0625rem; color: var(--ap-text-2); margin-bottom: 16px; }

/* ---------- Checkout / Cart ---------- */
.checkout-form,
.checkout-summary {
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ap-text-2);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--ap-bg);
  color: var(--ap-text);
  border: 1px solid var(--ap-border-strong);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: all 0.2s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--ap-amber);
  box-shadow: 0 0 0 3px rgba(255,184,0,0.15);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--ap-border);
}
.cart-item:last-child { border-bottom: 0; }
.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--ap-surface-2);
  border-radius: var(--radius-md);
  padding: 8px;
  border: 1px solid var(--ap-border);
}
.cart-item-title { font-weight: 600; color: var(--ap-text); margin-bottom: 4px; }
.cart-item-price { font-weight: 700; color: var(--ap-amber); }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.cart-item-details { color: var(--ap-muted); font-size: 0.875rem; }

.quantity-control {
  display: inline-flex;
  align-items: center;
  background: var(--ap-bg);
  border: 1px solid var(--ap-border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.quantity-btn {
  background: transparent;
  border: 0;
  width: 32px;
  height: 32px;
  color: var(--ap-text-2);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.15s var(--ease);
}
.quantity-btn:hover { background: var(--ap-surface); color: var(--ap-amber); }
.quantity-control input,
.quantity-control span {
  width: 36px;
  text-align: center;
  background: transparent;
  border: 0;
  color: var(--ap-text);
  font-weight: 600;
  font-size: 0.875rem;
}
.remove-btn {
  background: transparent;
  border: 0;
  color: var(--ap-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  transition: all 0.15s var(--ease);
}
.remove-btn:hover { color: var(--ap-red); background: rgba(239,68,68,0.08); }

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 0.9375rem;
  color: var(--ap-text-2);
  border-bottom: 1px solid var(--ap-border);
}
.summary-row:last-child { border-bottom: 0; }
.summary-total {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ap-text);
  padding-top: 16px;
  margin-top: 8px;
  border-top: 1px solid var(--ap-border-strong) !important;
  border-bottom: 0 !important;
}
.cart-subtotal-amount,
.cart-total-amount {
  font-weight: 700;
  color: var(--ap-amber);
}

/* ---------- Tracking ---------- */
.tracking-container {
  max-width: 780px;
  margin: 48px auto 96px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.tracking-header { margin-bottom: 32px; text-align: center; }
.tracking-header h1 { font-size: 1.75rem; margin-bottom: 8px; }
.tracking-header p { color: var(--ap-muted); margin: 0; }

.tracking-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  padding: 24px 0;
  position: relative;
}
.tracking-steps > * {
  text-align: center;
  padding: 18px 12px;
  background: var(--ap-bg);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-md);
}
.step-icon { font-size: 1.5rem; margin-bottom: 6px; }
.step-label { font-weight: 600; font-size: 0.875rem; color: var(--ap-text); }
.step-time { font-size: 0.75rem; color: var(--ap-muted); margin-top: 2px; }
.step-active,
.tracking-steps .active {
  border-color: var(--ap-amber);
  background: linear-gradient(135deg, rgba(255,184,0,0.1), rgba(255,184,0,0.02));
  box-shadow: 0 0 16px rgba(255,184,0,0.18);
}

.order-details {
  margin-top: 28px;
  padding: 20px;
  background: var(--ap-bg);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}
.order-items { margin: 12px 0; }
.order-item { display: flex; justify-content: space-between; padding: 6px 0; color: var(--ap-text-2); }

/* ---------- Login (admin) ---------- */
.login-container {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--container-pad);
}
.login-card {
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  background: var(--ap-surface);
  border: 1px solid var(--ap-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 64px;
  background: var(--ap-bg);
  border-top: 1px solid var(--ap-border);
  padding: 64px 0 32px;
}
.footer-container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-about { grid-column: 1 / -1; }
}
.footer-logo {
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--ap-text);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 26px;
  background: var(--gradient-gold);
  border-radius: 7px;
}
.footer-about p { font-size: 0.9375rem; color: var(--ap-muted); max-width: 320px; }

.footer-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ap-text);
  margin-bottom: 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  font-size: 0.9375rem;
  color: var(--ap-muted);
}
.footer ul a:hover { color: var(--ap-text); }
.footer-contact p {
  font-size: 0.9375rem;
  color: var(--ap-muted);
  margin: 0 0 10px;
}
.footer-bottom {
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 28px var(--container-pad) 0;
  border-top: 1px solid var(--ap-border);
  text-align: center;
  font-size: 0.8125rem;
  color: var(--ap-dim);
}
.footer-bottom p { margin: 0; color: var(--ap-dim); }

/* ---------- Floating buttons ---------- */
.floating-buttons {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 90;
}
.floating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-size: 1.25rem;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  transition: transform 0.2s var(--ease);
}
.floating-btn:hover { transform: scale(1.08); }
.floating-btn-whatsapp { background: #25D366; color: #fff; }
.floating-btn-call { background: var(--gradient-gold); color: #000; box-shadow: 0 8px 24px rgba(255,184,0,0.35); }

/* ---------- Quickview modal close ---------- */
.close-quickview {
  background: var(--ap-surface) !important;
  color: var(--ap-text) !important;
  border: 1px solid var(--ap-border-strong) !important;
  border-radius: 50% !important;
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  cursor: pointer !important;
}
.close-quickview:hover { color: var(--ap-amber) !important; }

.summary-row.summary-total span:last-child {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
