/* ==========================================================================
   DESIGN TOKENS & SYSTEM VARIABLES
   ========================================================================== */
:root {
  --primary: #0f392b;
  --primary-hover: #09261c;
  --accent: #e86d26;
  --accent-hover: #cf5a18;
  --bg-page: #f8faf9;
  --bg-card: #ffffff;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-light: #e5e7eb;
  --border-subtle: #f3f4f6;

  --shadow-sm: 0 2px 4px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 16px -2px rgba(0,0,0,0.06), 0 2px 6px -2px rgba(0,0,0,0.03);
  --shadow-lg: 0 16px 32px -4px rgba(0,0,0,0.1), 0 4px 12px -2px rgba(0,0,0,0.04);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

/* ==========================================================================
   GLOBAL RESET & REUSABLE COMPONENTS
   ========================================================================== */
* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

body { 
  background-color: var(--bg-page); 
  color: var(--text-main); 
  line-height: 1.6; 
}

a { 
  text-decoration: none; 
  color: inherit; 
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-container { 
  max-width: 1240px; 
  margin: 0 auto; 
  padding: 0 24px; 
}

.flex-between { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-end; 
}

/* Buttons & Badges */
.badge-pill { 
  display: inline-flex; 
  align-items: center; 
  gap: 8px; 
  background: #e6f0ec; 
  color: var(--primary); 
  font-weight: 700; 
  font-size: 0.8rem; 
  padding: 6px 12px; 
  border-radius: 20px; 
  margin-bottom: 16px; 
  width: fit-content; 
}
.badge-pill.light { background: rgba(255,255,255,0.15); color: #fff; }

.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center;
  gap: 10px; 
  padding: 12px 24px; 
  border-radius: var(--radius-sm); 
  font-weight: 700; 
  font-size: 0.95rem; 
  cursor: pointer; 
  transition: all 0.2s ease; 
  border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; margin-top: 20px; }
.btn-text { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.announcement-bar { 
  background-color: var(--primary); 
  color: #ffffff; 
  text-align: center; 
  padding: 10px 16px; 
  font-size: 0.85rem; 
}

.site-header { 
  background: #ffffff; 
  border-bottom: 1px solid var(--border-light); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: var(--shadow-sm); 
}

.nav-container { 
  max-width: 1240px; 
  margin: 0 auto; 
  padding: 16px 24px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
}

.brand-logo { 
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 800; 
  font-size: 1.4rem; 
  color: var(--primary); 
  letter-spacing: -0.5px; 
}

.logo-icon { 
  width: 38px; 
  height: 38px; 
  background: var(--primary); 
  color: #fff; 
  border-radius: var(--radius-sm); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.1rem; 
}

.main-nav ul { 
  display: flex; 
  gap: 28px; 
  list-style: none; 
}

.main-nav a { 
  font-weight: 600; 
  font-size: 0.95rem; 
  color: var(--text-muted); 
  transition: color 0.2s ease; 
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 12px; }

.icon-btn, .cart-btn {
  width: 44px;
  height: 44px;
  background: var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  transition: all 0.2s ease;
}
.icon-btn:hover, .cart-btn:hover { background: var(--primary); color: #fff; }

.cart-btn { position: relative; }
.cart-badge {
  position: absolute; 
  top: -6px; 
  right: -6px; 
  background: var(--accent); 
  color: #fff;
  font-size: 0.75rem; 
  font-weight: 700; 
  width: 20px; 
  height: 20px; 
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  border: 2px solid #fff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section { padding: 40px 0; max-width: 1240px; margin: 0 auto; }
.hero-3-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; padding: 0 24px; }
.hero-col { display: flex; flex-direction: column; gap: 20px; }

.hero-main {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.hero-main h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--primary); }
.hero-main p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }

.hero-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-content { position: relative; z-index: 2; color: #fff; }
.hero-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 100%); }

.tile-tag { background: rgba(255,255,255,0.25); backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 4px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; margin-bottom: 8px; display: inline-block; }
.tile-tag.light { background: rgba(255,255,255,0.2); }

.hero-tile h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.hero-tile p { font-size: 0.85rem; opacity: 0.9; margin-bottom: 10px; }
.tile-link { font-size: 0.85rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.tile-link:hover { color: var(--accent); }

.accent-bg { background: var(--accent); }
.accent-bg::after { display: none; }
.dark-bg { background: var(--primary); }
.dark-bg::after { display: none; }

/* ==========================================================================
   PRODUCTS CATALOG GRID
   ========================================================================== */
.products-section { padding: 50px 0; }
.products-section.alt-bg { background: #f0f4f2; }
.section-header { margin-bottom: 30px; }
.section-header h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 0.95rem; }

.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-thumb { display: block; position: relative; height: 210px; background: #f3f4f6; overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.badge-tag { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; }
.badge-tag.new { background: var(--accent); }

.card-body { padding: 18px; }
.card-category { font-size: 0.7rem; font-weight: 800; color: var(--accent); letter-spacing: 0.5px; text-transform: uppercase; }
.card-title { font-size: 0.95rem; font-weight: 700; margin: 6px 0 12px; line-height: 1.4; }
.card-title a:hover { color: var(--primary); }
.card-meta { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 1.15rem; font-weight: 800; color: var(--primary); }
.rating { font-size: 0.8rem; color: #f59e0b; font-weight: 700; }

/* ==========================================================================
   PRODUCT DETAIL PAGE (PDP)
   ========================================================================== */
.pdp-section { padding: 40px 0 60px; }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a:hover { color: var(--primary); }

.pdp-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; margin-bottom: 50px; }

.main-image-container { position: relative; border-radius: var(--radius-md); overflow: hidden; background: #fff; border: 1px solid var(--border-light); height: 440px; margin-bottom: 14px; }
.main-image-container img { width: 100%; height: 100%; object-fit: cover; }
.thumb-list { display: flex; gap: 12px; }
.thumb { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: 0.7; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--primary); }

.pdp-details h1 { font-size: 1.85rem; font-weight: 800; margin: 6px 0 12px; line-height: 1.3; }
.pdp-meta { display: flex; gap: 20px; font-size: 0.88rem; margin-bottom: 20px; }
.stock-status { color: #059669; font-weight: 700; }

.price-box { display: flex; align-items: baseline; gap: 10px; margin-bottom: 24px; }
.pdp-price { font-size: 2rem; font-weight: 800; color: var(--primary); }
.unit-price { color: var(--text-muted); font-size: 0.95rem; }

.volume-tiers { background: #fff; border: 1px solid var(--border-light); padding: 16px; border-radius: var(--radius-md); margin-bottom: 24px; }
.volume-tiers h4 { font-size: 0.85rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tier-item { background: var(--bg-page); border: 1px solid var(--border-light); padding: 10px; border-radius: var(--radius-sm); text-align: center; display: flex; flex-direction: column; }
.tier-item.active { border-color: var(--primary); background: #e6f0ec; }
.tier-qty { font-size: 0.8rem; color: var(--text-muted); }
.tier-price { font-weight: 800; color: var(--primary); font-size: 1rem; }

.option-group { margin-bottom: 20px; }
.option-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; }
.radio-options { display: flex; gap: 12px; }
.radio-card { flex: 1; border: 1px solid var(--border-light); padding: 12px; border-radius: var(--radius-sm); display: flex; align-items: center; gap: 8px; cursor: pointer; background: #fff; font-size: 0.85rem; font-weight: 600; }
.radio-card.active { border-color: var(--primary); background: #e6f0ec; color: var(--primary); }

.custom-upload-box { background: #fff3eb; border: 1px dashed var(--accent); padding: 16px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.custom-upload-box label { font-size: 0.85rem; font-weight: 700; color: var(--accent); margin-bottom: 6px; display: block; }
.custom-upload-box input { display: block; width: 100%; margin-bottom: 6px; font-size: 0.85rem; }
.custom-upload-box small { font-size: 0.75rem; color: var(--text-muted); }

.purchase-actions { display: flex; gap: 16px; margin-bottom: 24px; }
.qty-selector { display: flex; border: 1px solid var(--border-light); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.qty-selector button { width: 40px; border: none; background: transparent; font-weight: 700; cursor: pointer; font-size: 1.1rem; }
.qty-selector input { width: 50px; border: none; text-align: center; font-weight: 700; font-size: 1rem; }

.pdp-highlights { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid var(--border-light); padding-top: 20px; }
.pdp-highlights li { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.pdp-highlights i { color: var(--primary); }

.pdp-tabs { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 30px; }
.pdp-tabs h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }
.specs-table { width: 100%; border-collapse: collapse; text-align: left; }
.specs-table th, .specs-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); font-size: 0.9rem; }
.specs-table th { width: 30%; color: var(--text-muted); font-weight: 600; background: var(--bg-page); }

/* ==========================================================================
   SHOPPING CART PAGE
   ========================================================================== */
.cart-section { padding: 40px 0 60px; min-height: 60vh; }
.cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid var(--border-light); padding-bottom: 16px; }
.cart-header h1 { font-size: 1.85rem; font-weight: 800; color: var(--primary); }

.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }

.cart-items-container { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.cart-table-header { display: grid; grid-template-columns: 2fr 1fr 1fr; font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; margin-bottom: 16px; }

.cart-item-row { display: grid; grid-template-columns: 2fr 1fr 1fr; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.cart-item-info { display: flex; align-items: center; gap: 16px; }
.cart-item-info img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.cart-item-title { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-size: 0.85rem; color: var(--text-muted); }

.cart-item-actions { display: flex; align-items: center; justify-content: space-between; padding-right: 8px; }
.cart-item-total { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.btn-remove { background: none; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; transition: color 0.2s ease; padding: 4px; }
.btn-remove:hover { color: #ef4444; }

.cart-footer-actions { margin-top: 20px; display: flex; justify-content: flex-end; }
.btn-clear { background: none; border: none; color: var(--text-muted); font-weight: 600; font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.btn-clear:hover { color: #ef4444; }

.cart-summary-box { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.cart-summary-box h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 12px; }

.summary-row { display: flex; justify-content: space-between; font-size: 0.95rem; color: var(--text-muted); margin-bottom: 14px; }
.total-row { border-top: 1px solid var(--border-light); padding-top: 14px; margin-top: 16px; font-weight: 800; font-size: 1.2rem; color: var(--primary); }

.trust-features { margin-top: 24px; border-top: 1px solid var(--border-subtle); padding-top: 16px; font-size: 0.8rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 8px; }
.trust-features i { color: var(--primary); }

.empty-cart-box { text-align: center; padding: 60px 20px; background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); max-width: 600px; margin: 40px auto; }
.empty-icon { width: 80px; height: 80px; background: #e6f0ec; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 20px; }
.empty-cart-box h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.empty-cart-box p { color: var(--text-muted); margin-bottom: 24px; }

/* ==========================================================================
   CHECKOUT PAGE
   ========================================================================== */
.checkout-section { padding: 40px 0 80px; background-color: var(--bg-page); }
.checkout-grid { display: grid; grid-template-columns: 1fr 400px; gap: 32px; margin-top: 24px; }
.checkout-form-container { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); }

.form-block { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border-subtle); }
.form-block h3 { font-size: 1.15rem; font-weight: 700; color: var(--text-main); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }

.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
}
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 57, 43, 0.1); }

.form-row { display: flex; gap: 16px; }
.form-group.half, .form-group.third { flex: 1; }

.payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.payment-radio { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--border-light); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s ease; }
.payment-radio:hover { border-color: var(--primary); background-color: var(--bg-page); }
.payment-radio input[type="radio"] { accent-color: var(--primary); width: 18px; height: 18px; cursor: pointer; }

.radio-content { display: flex; flex-direction: column; }
.pay-title { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }
.pay-sub { font-size: 0.8rem; color: var(--text-muted); }

.payment-panel { background-color: var(--bg-page); padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--border-light); }
.bank-info-box { color: #1e40af; background-color: #eff6ff; border: 1px solid #bfdbfe; padding: 14px; border-radius: 6px; }
.bank-info-box h4 { font-size: 0.95rem; margin-bottom: 6px; }
.bank-info-box p { font-size: 0.85rem; line-height: 1.4; color: #1e3a8a; }

.checkout-summary-container { background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; height: fit-content; }
.checkout-items-list { max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding-right: 4px; border-bottom: 1px solid var(--border-subtle); padding-bottom: 16px; margin-bottom: 16px; }
.checkout-item-mini { display: flex; align-items: center; gap: 12px; }
.checkout-item-mini img { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; border: 1px solid var(--border-light); }
.mini-details { flex: 1; }
.mini-details h4 { font-size: 0.875rem; font-weight: 600; color: var(--text-main); }
.mini-details p { font-size: 0.775rem; color: var(--text-muted); }
.mini-total { font-size: 0.9rem; font-weight: 600; color: var(--text-main); }

/* ==========================================================================
   WHOLESALE & FOOTER
   ========================================================================== */
.wholesale-section { padding: 40px 0 60px; }
.wholesale-box { background: linear-gradient(135deg, var(--primary) 0%, #071f17 100%); border-radius: var(--radius-lg); padding: 40px 50px; color: #fff; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-md); }
.wholesale-content h2 { font-size: 1.8rem; font-weight: 800; margin: 10px 0; }
.wholesale-content p { opacity: 0.85; max-width: 580px; font-size: 0.95rem; }

.site-footer { background: #ffffff; border-top: 1px solid var(--border-light); padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 0.95rem; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a, .footer-col p { font-size: 0.88rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding: 20px 0; text-align: center; font-size: 0.85rem; color: var(--text-muted); }

/* Toast Notification */
.toast-notification {
  position: fixed; bottom: 24px; right: 24px; background: var(--primary); color: #fff; padding: 14px 22px; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; z-index: 2000; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.3s ease;
}
.toast-notification.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (DESKTOP TO MOBILE BREAKPOINTS)
   ========================================================================== */

/* --- Desktop & Laptop (max-width: 1200px) --- */
@media screen and (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Tablets & Medium Screens (max-width: 992px) --- */
@media screen and (max-width: 992px) {
  .hero-3-grid { grid-template-columns: 1fr; }
  .hero-col { flex-direction: row; }
  .hero-tile { width: 100%; min-height: 220px; }
  
  .pdp-grid, 
  .cart-grid, 
  .checkout-grid { 
    grid-template-columns: 1fr; 
    gap: 32px; 
  }
  
  .cart-summary-box, 
  .checkout-summary-container { 
    position: static; 
  }

  .checkout-summary-container { order: -1; }
  
  .wholesale-box { 
    flex-direction: column; 
    text-align: center; 
    gap: 24px; 
    padding: 32px 24px; 
  }
  
  .wholesale-content p { max-width: 100%; }
}

/* --- Mobile Devices (max-width: 768px) --- */
@media screen and (max-width: 768px) {
  .nav-container { 
    flex-wrap: wrap; 
    gap: 15px; 
    padding: 12px 16px; 
  }

  .main-nav { 
    order: 3; 
    width: 100%; 
    overflow-x: auto; 
    white-space: nowrap; 
    padding-bottom: 5px; 
  }

  .main-nav ul { gap: 18px; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

  .hero-col { flex-direction: column; }

  .flex-between { 
    flex-direction: column; 
    align-items: flex-start; 
    gap: 12px; 
  }

  .form-row { 
    flex-direction: column; 
    gap: 0; 
  }

  .main-image-container { height: 320px; }

  .tier-grid { grid-template-columns: 1fr; }

  .purchase-actions { 
    flex-direction: column; 
    align-items: stretch; 
  }

  .qty-selector { 
    width: 100%; 
    justify-content: center; 
  }

  .cart-table-header { display: none; }

  .cart-item-row { 
    grid-template-columns: 1fr; 
    gap: 12px; 
    position: relative; 
    padding: 16px; 
    border: 1px solid var(--border-light); 
    border-radius: var(--radius-sm); 
    margin-bottom: 12px; 
  }

  .cart-item-actions { 
    width: 100%; 
    justify-content: space-between; 
  }

  .btn-remove { 
    position: absolute; 
    top: 12px; 
    right: 12px; 
  }

  .footer-grid { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
}

/* --- Extra Small Mobile Screens (max-width: 480px) --- */
@media screen and (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }

  .hero-main { padding: 24px; }
  .hero-main h1 { font-size: 1.6rem; }

  .pdp-details h1 { font-size: 1.4rem; }
  .pdp-highlights { grid-template-columns: 1fr; }

  .radio-options { flex-direction: column; }

  .checkout-form-container { padding: 20px 16px; }
}









/*Login Page*/
/* ==========================================================================
   AUTHENTICATION & LOGIN STYLES
   ========================================================================== */
.auth-section {
  padding: 60px 0 80px;
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
}

.auth-wrapper {
  display: grid;
  grid-template-columns: 1fr 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  max-width: 960px;
  margin: 0 auto;
}

/* Auth Banner Left Column */
.auth-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #071f17 100%);
  color: #ffffff;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-banner h2 {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.auth-banner p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

.banner-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.banner-features li {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

/* Auth Card Form */
.auth-card {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header {
  margin-bottom: 28px;
}

.auth-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.auth-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.label-row label {
  margin-bottom: 0;
}

.forgot-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.forgot-link:hover {
  text-decoration: underline;
}

.form-actions-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
}

.btn-secondary {
  background: var(--bg-page);
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  background: var(--border-subtle);
}

.auth-divider {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border-light);
}

.auth-divider span {
  position: relative;
  background: var(--bg-card);
  padding: 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.auth-footer {
  margin-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-footer a {
  font-weight: 700;
  color: var(--primary);
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR LOGIN PAGE
   ========================================================================== */
@media screen and (max-width: 992px) {
  .auth-wrapper {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .auth-banner {
    display: none; /* Hide left banner on tablets & mobiles for focused login */
  }
}

@media screen and (max-width: 480px) {
  .auth-section {
    padding: 30px 0;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .auth-header h2 {
    font-size: 1.35rem;
  }
}