:root{
  --color-primary:#C8102E;
  --color-secondary:#0B3D91;
  --color-accent:#F2C94C;
  --color-dark:#111827;
  --color-bg:#F7F7F7;
  --white:#ffffff;

  --radius:14px;
  --radius-lg:22px;

  --shadow:0 10px 30px rgba(17,24,39,0.10);
  --shadow-lg:0 28px 80px rgba(0,0,0,.35);

  --container:1280px;
  --nav-h:68px;

  --text:#111827;
  --muted:#6b7280;
  --ring:rgba(11,61,145,.22);
  --border:rgba(17,24,39,.12);

  --grad-hot: linear-gradient(90deg, #ef4444, #f97316);
}

/* About Us Section */
.about-section {
  padding: 100px 20px;
  background: #ffffff;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
}

.about-header {
  text-align: center;
  margin-bottom: 40px;
}

.about-title {
  font-size: 32px;
  font-weight: 700;
  color: #0B3D91;
  margin: 0 0 8px 0;
  letter-spacing: 2px;
}

.about-subtitle {
  font-size: 18px;
  color: #6b7280;
  margin: 0;
  font-weight: 400;
}

.about-intro {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}

.about-intro p {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
  padding: 0 20px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.timeline-date {
  min-width: 140px;
  font-size: 14px;
  font-weight: 600;
  color: #C8102E;
  letter-spacing: 1px;
  padding-top: 4px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  background: #C8102E;
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
  position: relative;
}

.timeline-dot::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 28px);
  background: #e5e7eb;
}

.timeline-item:last-child .timeline-dot::after {
  display: none;
}

.timeline-content {
  flex: 1;
  padding-bottom: 20px;
}

.timeline-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0B3D91;
  margin: 0 0 8px 0;
}

.timeline-content p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

.about-promise {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-promise h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0B3D91;
  margin: 0 0 12px 0;
}

.about-promise p {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  margin: 0;
}

@media (max-width: 768px) {
  .about-section {
    padding: 40px 12px;
  }

  .about-header {
    margin-bottom: 24px;
  }

  .about-title {
    font-size: 20px;
  }

  .about-subtitle {
    font-size: 14px;
  }

  .about-intro p {
    font-size: 13px;
    line-height: 1.5;
  }

  .about-timeline {
    gap: 20px;
    margin-bottom: 32px;
    padding: 0 8px;
  }

  .timeline-item {
    flex-direction: column;
    gap: 8px;
    padding-left: 12px;
    border-left: 2px solid #C8102E;
  }

  .timeline-date {
    min-width: auto;
    font-size: 12px;
  }

  .timeline-dot {
    display: none;
  }

  .timeline-content h4 {
    font-size: 14px;
    margin-bottom: 4px;
  }

  .timeline-content p {
    font-size: 12px;
    line-height: 1.4;
  }

  .about-promise {
    padding: 16px 14px;
  }

  .about-promise h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }

  .about-promise p {
    font-size: 12px;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .about-section {
    padding: 30px 10px;
  }

  .about-header {
    margin-bottom: 20px;
  }

  .about-title {
    font-size: 18px;
  }

  .about-intro p {
    font-size: 12px;
  }

  .about-timeline {
    gap: 16px;
    margin-bottom: 24px;
    padding: 0 4px;
  }

  .timeline-item {
    gap: 6px;
    padding-left: 10px;
  }

  .timeline-date {
    font-size: 11px;
  }

  .timeline-content h4 {
    font-size: 13px;
  }

  .timeline-content p {
    font-size: 11px;
  }

  .about-promise {
    padding: 12px 12px;
  }

  .about-promise h3 {
    font-size: 13px;
  }

  .about-promise p {
    font-size: 11px;
  }
}

.password-rules {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin: 8px 0 16px;
  padding: 10px 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  text-align: left;
}
.password-rules .rules-title {
  font-weight: 700;
  margin: 0 0 6px;
  color: #475569;
}
.password-rules ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.password-rules li {
  margin: 3px 0;
}
.password-rules li.satisfied {
  display: none;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#ffffff;
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}

a{ text-decoration:none; color:inherit; }
.wrap{ max-width:var(--container); margin:0 auto; padding:0 18px; }

/* ================= HEADER ================= */
/* Header styles moved to shared_navbar.css */

/* SignIn + Registration buttons */
.sign-in i, .register i{
  margin-right:8px;
  font-size:14px;
  vertical-align:middle;
  color:inherit;
}

.sign-in{
  border:2px solid transparent;
  border-image: linear-gradient(90deg, #0000ff, #3cc1ff) 1;
  padding:8px 12px;
  border-radius:10px;
  font-weight:900;
  background:transparent;
  color:#fff;
  transition:transform .12s ease;
  min-height:36px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.sign-in:hover{ transform:translateY(-1px); }

.register{
  border:2px solid transparent;
  border-image: linear-gradient(90deg, #ef4444, #f97316) 1;
  padding:8px 12px;
  border-radius:10px;
  font-weight:900;
  background:transparent;
  color:#fff;
  transition:transform .12s ease;
  min-height:36px;
  font-size:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.register:hover{ transform:translateY(-1px); }

/* Auth group for logged in/out buttons */
.auth-group{
  display:flex;
  align-items:center;
  gap:6px;
}

/* Header icon buttons for logged-in users */
.header-icon-btn{
  width:32px;
  height:32px;
  border-radius:8px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  color:#fff;
  font-size:16px;
  transition:all .2s ease;
}

.header-icon-btn:hover{
  color:#f97316;
  transform:translateY(-2px);
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  width: 100%;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../upload/ronnzy-moto-E-7_DSt8sdc-unsplash.jpg') center center no-repeat;
  background-size: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 80%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, transparent 40%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: left;
  max-width: 600px;
  padding: 0 60px;
  margin-left: 0;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 32px 0;
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  line-height: 1.6;
  max-width: 500px;
  letter-spacing: 0.5px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 28px;
  border-radius: 0;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s ease;
  cursor: pointer;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-btn-primary {
  background: #FFC107;
  color: #111827;
  border: none;
}

.hero-btn-primary:hover {
  background: #FFB300;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ================= SOCIAL BANNER ================= */
* .hero-social-banner,
* .hero-social-banner *{
  display:none !important;
  visibility:hidden !important;
  height:0 !important;
  overflow:hidden !important;
}

/* ================= INTRO SECTION ================= */
.intro-section{
  background:#ffffff;
  padding:80px 18px;
  text-align:center;
}

.intro-container{
  max-width:var(--max-width);
  margin:0 auto;
}

.intro-title{
  font-size:clamp(28px, 4vw, 40px);
  font-weight:800;
  color:#111827;
  margin-bottom:12px;
  letter-spacing:-0.02em;
}

.intro-subtitle{
  font-size:16px;
  color:#6b7280;
  margin-bottom:20px;
}

.intro-description{
  max-width:700px;
  margin:0 auto 35px;
}

.intro-description p{
  font-size:15px;
  line-height:1.7;
  color:#4b5563;
  margin:0;
}

.intro-stats{
  display:flex;
  justify-content:center;
  gap:60px;
  margin-bottom:40px;
  flex-wrap:wrap;
}

.stat-item{
  text-align:center;
}

.stat-number{
  font-size:36px;
  font-weight:800;
  color:#ef4444;
  line-height:1;
}

.stat-label{
  font-size:13px;
  color:#6b7280;
  margin-top:6px;
  text-transform:uppercase;
  letter-spacing:0.5px;
}

.intro-features{
  display:flex;
  justify-content:center;
  gap:35px;
  flex-wrap:wrap;
}

.intro-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  color:#374151;
  font-weight:600;
  font-size:14px;
}

.intro-icon-wrap{
  width:50px;
  height:50px;
  border-radius:50%;
  background:linear-gradient(135deg, #fef3c7, #fed7aa);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.intro-icon-wrap i{
  font-size:20px;
  color:#ea580c;
}

.intro-item i{
  font-size:18px;
  color:#ef4444;
}

/* ================= PRODUCT CATEGORIES SECTION ================= */
.categories-section{
  background:#f8f9fa;
  padding:60px 18px;
  text-align:center;
}

.categories-container{
  max-width:1200px;
  margin:0 auto;
}

.categories-title{
  font-size:clamp(28px, 4vw, 40px);
  font-weight:800;
  color:#111827;
  margin-bottom:40px;
  letter-spacing:-0.02em;
}

.categories-grid{
  display:flex;
  gap:32px;
  justify-content:center;
  flex-wrap:nowrap;
}

.category-card{
  background:#ffffff;
  border-radius:16px;
  overflow:hidden;
  transition:all 0.3s ease;
  border:1px solid rgba(0,0,0,0.08);
  cursor:pointer;
  flex: 0 0 220px;
  width: 220px;
}

.category-card:hover{
  transform:translateY(-8px);
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
  border-color:rgba(239,68,68,0.3);
}

.category-image-wrapper{
  width:100%;
  height:220px;
  overflow:hidden;
}

.category-image{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.3s ease;
}

.category-card:hover .category-image{
  transform:scale(1.05);
}

.category-card h3{
  font-size:18px;
  font-weight:700;
  color:#111827;
  margin:0;
  padding:12px;
  text-align:left;
}

/* ================= WHY CHOOSE RENBIKERS ================= */
.why-choose-section{
  background:linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding:32px 18px 40px;
  color:#fff;
}

.why-choose-container{
  max-width:var(--max-width);
  margin:0 auto;
}

.why-choose-title{
  text-align:center;
  font-size:clamp(22px, 3vw, 32px);
  font-weight:800;
  margin-bottom:24px;
  color:#fff;
  letter-spacing:-0.02em;
}

.why-choose-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:20px;
}

.why-choose-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:16px;
  padding:20px 18px;
  text-align:center;
  transition:transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-card:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 40px rgba(0,0,0,0.3);
  background:rgba(255,255,255,0.08);
}

.why-choose-icon{
  width:48px;
  height:48px;
  background:linear-gradient(135deg, #ef4444, #f97316);
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 12px;
  font-size:22px;
  color:#fff;
}

.why-choose-card h3{
  font-size:17px;
  font-weight:700;
  margin-bottom:8px;
  color:#fff;
}

.why-choose-card p{
  font-size:13px;
  line-height:1.5;
  color:rgba(255,255,255,0.75);
  margin:0;
}

/* ================= HERO ================= */
.hero-shell{
  position:relative;
  min-height:auto;
  height:520px;
  overflow:hidden;
  background:url('../Customer/renbikers_banner.png') center center no-repeat;
  background-size:contain;
  background-color:#1a1a1a;
}

.hero-overlay{
  display:none;
}

.hero-grid{
  display:none;
}

.hero-noise{
  display:none;
}

.hero-red-glow,
.hero-blue-glow{
  display:none;
}

.hero-track-line{
  display:none;
}

.hero-track-line-1{ display:none; }
.hero-track-line-2{ display:none; }

.hero-wrap{
  z-index:2;
}

.hero{
  display:grid;
  gap:32px;
  padding:48px 18px;
  max-width:var(--max-width);
  margin:0 auto;
}

.hero-single{
  min-height:calc(100vh - var(--nav-h));
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:56px 18px;
}

.hero-copy{
  max-width:1120px;
}

.hero-badge{
  display:none;
}

.hero-badge-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:linear-gradient(90deg,#ff2b2b,#ffd400);
  box-shadow:0 0 18px rgba(255,59,59,.65);
  display:inline-block;
}

.hero-mini{
  display:none;
}

.hero-title{
  display:none;
}

.hero-actions{
  display:none !important;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:14px;
  font-weight:900;
  font-size:14px;
  transition:.18s ease;
  box-shadow:0 4px 15px rgba(0,0,0,.4);
  text-shadow:0 2px 4px rgba(0,0,0,.5);
}

.hero-btn i{
  font-size:15px;
}

.hero-btn-primary{
  color:#fff;
  border:2px solid #fff;
  background:rgba(0,0,0,0.3);
}

.hero-btn-primary:hover{
  transform:translateY(-2px);
  background:rgba(0,0,0,0.5);
}

.hero-btn-secondary{
  color:#fff;
  border:2px solid #fff;
  background:rgba(0,0,0,0.3);
}

.hero-btn-secondary:hover{
  transform:translateY(-2px);
  background:rgba(0,0,0,0.5);
}

/* ========================= MODALS  ========================= */

.modal{
  position:fixed;
  inset:0;
  display:none;
  justify-content:center;
  align-items:flex-start;
  padding:18px 18px 28px;
  z-index:1000;
  overflow-y:auto;
}

.site-container.blur{ filter:blur(6px); }

/* ================= CART MODAL ================= */
.cart-badge{
  position:absolute;
  top:-5px;
  right:-5px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:linear-gradient(90deg, #ef4444, #f97316);
  color:#fff;
  font-size:11px;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:center;
}

.header-icon-btn{
  position:relative;
}

.cart-modal{
  display:none;
  background:transparent !important;
  backdrop-filter:none !important;
  overflow:visible !important;
}

.cart-modal.active{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:0;
  align-items:center !important;
}

.cart-modal-content{
  width:380px;
  max-width:100%;
  max-height:calc(100vh - 40px);
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:#fff;
  position:relative;
  z-index:1001;
  display:flex;
  flex-direction:column;
  animation:popUpAuth .28s ease;
  margin-top:0;
  box-shadow:0 4px 20px rgba(0,0,0,0.15);
}

.cart-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border:none;
  border-radius:10px;
  background:rgba(0,0,0,0.08);
  font-size:18px;
  cursor:pointer;
  color:#374151;
  z-index:10;
  transition:.18s ease;
}

.cart-modal-close:hover{
  background:rgba(0,0,0,0.15);
  transform:scale(1.05);
}

.cart-modal-header{
  padding:20px 24px 16px;
  border-bottom:1px solid rgba(0,0,0,0.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:0;
}

.cart-modal-header h2{
  margin:0;
  font-size:20px;
  font-weight:800;
  color:#111827;
  display:flex;
  align-items:center;
  gap:10px;
}

.cart-modal-header h2 i{
  color:#ef4444;
}

.view-full-cart{
  font-size:13px;
  font-weight:600;
  color:#6b7280;
  display:flex;
  align-items:center;
  gap:6px;
  transition:color .2s ease;
}

.view-full-cart:hover{
  color:#ef4444;
}

.cart-modal-body{
  flex:1;
  overflow-y:auto;
  padding:20px 24px;
  min-height:200px;
}

.cart-empty-state{
  text-align:center;
  padding:40px 20px;
}

.cart-empty-state i{
  font-size:48px;
  color:#d1d5db;
  margin-bottom:16px;
}

.cart-empty-state p{
  font-size:16px;
  color:#6b7280;
  margin-bottom:20px;
}

.btn-shop-now{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border-radius:12px;
  background:linear-gradient(90deg, #ef4444, #f97316);
  color:#fff;
  font-weight:700;
  font-size:14px;
  transition:transform .18s ease;
}

.btn-shop-now:hover{
  transform:translateY(-2px);
}

.cart-items-list{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.cart-item{
  display:flex;
  gap:16px;
  padding:16px;
  background:#f9fafb;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.06);
}

.cart-item-image{
  width:80px;
  height:80px;
  border-radius:10px;
  object-fit:cover;
  background:#e5e7eb;
}

.cart-item-details{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.cart-item-name{
  font-weight:700;
  font-size:15px;
  color:#111827;
  margin-bottom:4px;
}

.cart-item-price{
  font-weight:800;
  font-size:16px;
  color:#ef4444;
}

.cart-modal-footer{
  padding:20px 24px;
  border-top:1px solid rgba(0,0,0,0.08);
  background:#f9fafb;
}

.cart-total-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
  font-size:16px;
}

.cart-total-row span{
  color:#6b7280;
  font-weight:600;
}

.cart-total-row strong{
  font-size:20px;
  color:#111827;
  font-weight:800;
}

.btn-checkout{
  width:100%;
  padding:14px 24px;
  border-radius:12px;
  border:none;
  background:linear-gradient(90deg, #ef4444, #f97316);
  color:#fff;
  font-weight:800;
  font-size:16px;
  cursor:pointer;
  transition:transform .18s ease;
}

.btn-checkout:hover{
  transform:translateY(-2px);
}

@keyframes popUpAuth{
  from{ transform:translateY(8px) scale(.98); opacity:0; }
  to{ transform:translateY(0) scale(1); opacity:1; }
}

.modal .modal-content{
  width:420px;
  max-width:100%;
  height:min(480px,calc(100vh - 60px));
  margin-top:8px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-lg);
  animation:popUpAuth .28s ease;
  display:flex;
  flex-direction:column;
  position:relative;
}

.modal .modal-head{
  height:140px;
  padding:18px 18px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:6px;
  background:#0f172a !important;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.modal .close-button{
  position:absolute;
  top:12px;
  right:12px;
  width:44px;
  height:44px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  font-size:22px;
  font-weight:900;
  cursor:pointer;
  color:#fff;
  z-index:10;
  transition:.18s ease;
}
.modal .close-button:hover{ transform:translateY(-1px) scale(1.05); background:rgba(255,255,255,.24); }
.modal .close-button:active{ transform:scale(.98); }

.modal .welcome-block{
  margin-top:0;
  padding-right:64px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.modal .welcome-title{
  margin:0;
  font-weight:950;
  letter-spacing:-0.02em;
  font-size:22px;
  line-height:1.1;
  background:var(--grad-hot);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  position:relative;
  z-index:2;
}
.modal .welcome-title::after{
  content:"";
  display:block;
  width:220px;
  height:2px;
  margin-top:4px;
  border-radius:999px;
  background:var(--grad-hot);
  box-shadow:0 6px 14px rgba(239,68,68,.12);
}

.modal .welcome-sub{
  font-size:12px;
  line-height:1.3;
  margin:0;
  font-weight:700;
  opacity:.95;
  max-width:46ch;
  position:relative;
  z-index:2;
  color:rgba(255,255,255,.88);
}

.modal.mode-signin .welcome-sub{ color:rgb(0,0,255) !important; }
.modal.mode-register .welcome-sub{ color:rgb(255,0,0) !important; }

.modal .modal-body{
  flex:1;
  overflow-y:auto;
  padding:12px 16px 14px;
  display:flex;
  flex-direction:column;
  background:#fff !important;
  color:var(--text);
  min-height:0;
}

.modal .modal-body h2{
  margin:0 0 4px;
  padding:0;
  font-size:18px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-0.01em;
  background:linear-gradient(90deg, #0000ff, #ff0000);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.modal .modal-body h2::after{
  content:"";
  display:block;
  width:220px;
  height:2px;
  margin-top:4px;
  border-radius:999px;
  background: linear-gradient(90deg, #0000ff, #40bcff);
  box-shadow:0 4px 10px rgba(0,0,255,0.08);
}

.modal .modal-body form{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}

.modal .modal-body label{
  font-weight:900;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.05em;
  color:rgba(17,24,39,.78);
}

.modal .modal-body input,
.modal .modal-body select{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid var(--border);
  font-size:13px;
  outline:none;
  background:#fff;
  color:var(--text);
  transition:border-color .2s ease, box-shadow .2s ease, transform .08s ease;
  box-shadow:0 1px 0 rgba(17,24,39,.02);
}
.modal .modal-body input::placeholder{ color:rgba(107,114,128,.75); }

.modal .modal-body input:hover,
.modal .modal-body select:hover{
  border-color: rgba(17,24,39,.18);
}

.modal .modal-body input:focus,
.modal .modal-body select:focus{
  border-color:rgba(249,115,22,.55);
  box-shadow:0 0 0 4px rgba(249,115,22,.18);
}

.password-wrapper{
  position:relative;
  display:flex;
  align-items:center;
}

.password-wrapper input{
  width:100%;
  padding-right:44px;
}

.sign-in-cooldown{
  margin:8px 0 12px;
  color:#b91c1c;
  font-size:12px;
  font-weight:700;
  text-align:left;
}

.toggle-password{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:36px;
  height:36px;
  border:none;
  border-radius:10px;
  background:transparent;
  color:rgba(107,114,128,.75);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:color .2s ease, background .2s ease;
}

.toggle-password:hover{
  color:rgba(17,24,39,.78);
  background:rgba(17,24,39,.06);
}

.toggle-password i{
  font-size:14px;
}

.modal .modal-body button[type="button"]:not(.toggle-password),
.modal .modal-body button[type="submit"]{
  width:100%;
  border:none;
  border-radius:12px;
  padding:10px 12px;
  font-weight:950;
  font-size:13px;
  cursor:pointer;
  transition:.22s ease;
  background:var(--grad-hot);
  color:#fff;
  box-shadow:0 12px 28px rgba(239,68,68,.15);
}

@media (max-width: 768px) {
  .modal .modal-body button[type="button"]:not(.toggle-password),
  .modal .modal-body button[type="submit"] {
    padding: 4px 6px !important;
    font-size: 8px !important;
    min-height: 26px !important;
  }

  .modal .modal-body p a {
    font-size: 9px !important;
  }
}
.modal .modal-body button[type="button"]:not(.toggle-password):hover,
.modal .modal-body button[type="submit"]:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 48px rgba(239,68,68,.24);
}
.modal .modal-body button[type="button"]:not(.toggle-password):active,
.modal .modal-body button[type="submit"]:active{
  transform:translateY(0) scale(.99);
}

#signInForm button:disabled,
#signInForm button:disabled:hover{
  cursor:not-allowed;
  opacity:.6;
  transform:none;
  box-shadow:none;
}

.switch-text{
  font-size:13px;
  margin-top:12px;
  font-weight:650;
  color:var(--muted);
  text-align:center;
}

.switch-link{
  background:none;
  border:none;
  font-weight:950;
  cursor:pointer;
  margin-left:6px;
  background:linear-gradient(90deg, #0000ff, #ff0000);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.switch-link:hover{ opacity:.85; }

.modal .modal-body{
  scrollbar-width: thin;
  scrollbar-color: rgba(17,24,39,.25) transparent;
}
.modal .modal-body::-webkit-scrollbar{ width:10px; }
.modal .modal-body::-webkit-scrollbar-track{ background:transparent; }
.modal .modal-body::-webkit-scrollbar-thumb{
  background: rgba(17,24,39,.22);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: content-box;
}

@media (max-width:1200px){
  .hero-section {
    height: 450px;
  }
  
  .hero-content {
    padding: 0 40px;
  }
  
  .hero-social-banner,
  .hero-social-banner *{
    display:none !important;
  }
  .hero-social-banner-inner{
    padding:18px 32px;
  }

  .hero-social-right{
    gap:32px;
  }

  .hero-social-links{
    gap:28px;
  }
}

/* -------------------------------------------------------------------------
 * Relocated from the inline <style> in index.html.
 *
 * These rules used to live in an inline block in index.html, which loads after
 * this stylesheet and therefore beat every media query below that touched the
 * same selector. index.html set .why-choose-grid to four columns
 * unconditionally, so the responsive rule in the 480px query below was dead
 * code and the fourth card overflowed a 390px viewport.
 *
 * They sit here, between the 1200px query above and the 980px query below, so
 * that:
 *   - at 1201px and wider they win, preserving the previous desktop design
 *   - at 980px and below the media queries below take over again
 * ---------------------------------------------------------------------- */

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Phase 5: the repeat(4, 1fr) above is a top-level rule, so it applied at
   every width above 480px and only the 480px query overrode it. That gave
   four columns from 481px to 991px; between 481 and 560px they did not fit
   and the document overflowed (536px of content in a 481px viewport). The
   ladder is now 1 column on a phone, 2 from 481px, 4 at desktop (992+). */
@media (min-width:481px) and (max-width:991px){
  .why-choose-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-tagline {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
  margin-left: 100px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: 100px;
}

/* Phase 8: reduce hero section horizontal indentation at narrow widths
   (391-767px band, specifically 481-560px where overflow was previously
   invisible to the 5-width harness). */
@media (max-width: 560px){
  .hero-tagline{ margin-left: 0; }
  .hero-buttons{ margin-left: 0; }
}

.hero-btn {
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-btn-primary {
  background: transparent;
  color: white;
  border-color: white;
}

.hero-btn-primary:hover {
  background: white;
  color: #0b3d91;
  transform: translateY(-2px);
}

.hero-btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.hero-btn-secondary:hover {
  background: white;
  color: #0b3d91;
  transform: translateY(-2px);
}

@media (max-width:980px){
  nav{
    display:none;
  }

  .hero-social-banner,
  .hero-social-banner *{
    display:none !important;
  }
  .hero-social-banner-inner{
    display:none !important;
  }

  .hero-single{
    min-height:auto;
    padding:44px 18px;
  }

  .hero-copy{
    max-width:100%;
  }

  .hero-title{
    max-width:100%;
  }

  .hero-social-right{
    width:100%;
    justify-content:flex-start;
  }

  .hero-social-links{
    justify-content:flex-start;
  }
}

/* Category row dead band.
 * `.categories-grid` is `flex-wrap:nowrap` and `.category-card` is
 * `flex: 0 0 220px`, so the five cards form a fixed 1228px row that can
 * neither wrap nor shrink. Centred, its right edge lands at viewport/2 + 614,
 * so it overflows every viewport narrower than 1228px. The 700px and 480px
 * queries below already wrap and go 1-up; this pair covers the 701-1227px gap
 * between them, giving 5-up / 4-up / 3-up / 2-up / 1-up as space allows.
 *
 * Card width is the exact-fit form (100% - (n-1) * gap) / n, so the row fills
 * its container at any container width and cannot overflow.
 *
 * Ranged with min-width as well as max-width, so 1228px and wider is untouched
 * and 1440px stays pixel-identical.
 */
@media (min-width:981px) and (max-width:1227px){
  .categories-grid{
    flex-wrap:wrap;
    gap:20px;
  }

  .category-card{
    flex:0 0 calc((100% - 60px) / 4);
    width:calc((100% - 60px) / 4);
  }
}

@media (min-width:701px) and (max-width:980px){
  .categories-grid{
    flex-wrap:wrap;
    gap:20px;
  }

  .category-card{
    flex:0 0 calc((100% - 40px) / 3);
    width:calc((100% - 40px) / 3);
  }
}

@media (max-width:700px){
  .categories-grid{
    flex-wrap:wrap;
    gap:20px;
  }
  
  .category-card{
    flex:0 0 calc(50% - 10px);
    width:calc(50% - 10px);
  }
  
  .categories-section{
    padding:40px 16px;
  }
  
  .categories-title{
    font-size:24px;
    margin-bottom:24px;
  }
  
  .hero-section{
    height:400px;
  }
  
  .hero-content{
    padding:0 20px;
  }
  
  .hero-title{
    font-size:24px;
  }
  
  .hero-tagline{
    font-size:14px;
  }
  
  .hero-buttons{
    flex-direction:column;
    gap:12px;
  }
  
  .hero-btn{
    width:100%;
    justify-content:center;
  }
}

@media (max-width:480px){
  .categories-grid{
    gap:16px;
  }
  
  .category-card{
    flex:0 0 100%;
    width:100%;
  }
  
  .categories-section{
    padding:32px 12px;
  }
  
  .categories-title{
    font-size:20px;
    margin-bottom:20px;
  }
  
  .hero-section{
    height:350px;
  }
  
  .hero-content{
    padding:0 16px;
  }
  
  .hero-title{
    font-size:20px;
  }
  
  .hero-tagline{
    font-size:13px;
  }

  .hero-section {
    height: 400px;
  }
  
  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 12px;
  }
  
  .hero-tagline {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .hero-buttons {
    gap: 12px;
  }
  
  .hero-btn {
    padding: 12px 20px;
    font-size: 13px;
    min-width: 120px;
  }

  .why-choose-section{
    padding:40px 16px;
  }

  .why-choose-title{
    font-size:24px;
    margin-bottom:32px;
  }

  .why-choose-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .why-choose-card{
    padding:24px 20px;
  }

  .hero-btn{
    justify-content:center;
    width:auto;
  }

  .hero-social-banner,
  .hero-social-banner *{
    display:none !important;
  }

  .hero-social-banner-line{
    width:80px;
    height:6px;
    top:-10px;
    right:14px;
  }

  .hero-social-banner-inner{
    min-height:auto;
    padding:16px 18px;
  }

  .hero-social-left h3{
    font-size:28px;
  }

  .hero-social-right{
    gap:20px;
  }

  .hero-social-intro{
    white-space:normal;
    font-size:18px;
  }

  .hero-social-links{
    gap:16px;
    flex-direction:column;
    align-items:flex-start;
  }

  .hero-social-item{
    font-size:18px;
    gap:8px;
  }

  .hero-social-icon{
    width:36px;
    height:36px;
    font-size:24px;
  }

  .hero-social-item:nth-child(1) .hero-social-icon{
    font-size:26px;
  }

  .hero-social-item:nth-child(2) .hero-social-icon{
    font-size:22px;
  }

  .hero-social-item:nth-child(3) .hero-social-icon{
    font-size:26px;
  }
}

@media (max-width:520px){
  .hero{
    padding:28px 14px;
  }

  .hero-single{
    padding:34px 14px;
  }

  .hero-title{
    font-size:clamp(34px, 12vw, 50px);
  }

  .hero-social-left h3{
    font-size:24px;
  }

  .hero-social-item{
    font-size:16px;
  }

  .hero-social-icon{
    width:32px;
    height:32px;
    font-size:20px;
  }

  .hero-social-item:nth-child(1) .hero-social-icon{
    font-size:22px;
  }

  .hero-social-item:nth-child(2) .hero-social-icon{
    font-size:18px;
  }

  .hero-social-item:nth-child(3) .hero-social-icon{
    font-size:22px;
  }
}

@media (max-width:640px){
  .nav{
    padding:0 12px;
  }

}

/* Mobile Responsiveness for Login/Registration Modal */
@media (max-width: 480px) {
  #signInModal .modal-content,
  #registrationModal .modal-content {
    width: calc(100% - 80px) !important;
    max-width: calc(100% - 80px) !important;
    max-height: 65vh !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 360px) {
  #signInModal .modal-content,
  #registrationModal .modal-content {
    width: calc(100% - 64px) !important;
    max-width: calc(100% - 64px) !important;
    max-height: 60vh !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Cart Modal Mobile Responsiveness */
@media (max-width: 480px) {
  .cart-modal-content {
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
  }

  .cart-modal-header {
    padding: 16px 18px 14px;
  }

  .cart-modal-header h2 {
    font-size: 18px;
  }

  .view-full-cart {
    font-size: 12px;
  }

  .cart-modal-body {
    padding: 16px 18px;
  }

  .cart-modal-footer {
    padding: 16px 18px;
  }

  .cart-total-row {
    font-size: 14px;
  }

  .cart-total-row strong {
    font-size: 18px;
  }

  .btn-checkout {
    padding: 12px 20px;
    font-size: 14px;
  }

  .cart-item {
    padding: 12px;
    gap: 12px;
  }

  .cart-item-image {
    width: 60px;
    height: 60px;
  }

  .cart-item-name {
    font-size: 13px;
  }

  .cart-item-price {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .cart-modal-content {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  .cart-modal-header {
    padding: 14px 16px 12px;
  }

  .cart-modal-header h2 {
    font-size: 16px;
  }

  .cart-modal-body {
    padding: 14px 16px;
  }

  .cart-modal-footer {
    padding: 14px 16px;
  }

  .cart-item-image {
    width: 50px;
    height: 50px;
  }

  .cart-item-name {
    font-size: 12px;
  }

  .cart-item-price {
    font-size: 13px;
  }
}
/* ----------------------------------------------------------------------
 * Migrated from the inline <style> block in index.html (Phase 9).
 * The hero / categories / why-choose mobile blocks it carried were
 * duplicates of the ladder above and were dropped, not migrated.
 * ---------------------------------------------------------------------- */
    
    .password-wrapper {
      position: relative;
      display: flex;
      align-items: center;
    }
    
    .password-wrapper input {
      flex: 1;
      padding-right: 40px;
    }
    
    .password-wrapper .toggle-password {
      position: absolute;
      right: 12px;
      background: none;
      border: none;
      cursor: pointer;
      color: #64748b;
      font-size: 14px;
      padding: 0;
    }
    
    .password-wrapper .toggle-password:hover {
      color: #0b3d91;
    }

    /* Sign In modal: one third of the previous "+20%" width */
    #signInModal .modal-content {
      width: 40% !important;
      max-width: min(40%, 30vw) !important;
      height: auto !important;
      max-height: none !important;
      overflow: visible !important;
      display: block !important;
    }

    /* Registration modal: same width, 84vh tall, scrollable with hidden scrollbar */
    #registrationModal .modal-content {
      width: 40% !important;
      max-width: min(40%, 30vw) !important;
      height: auto !important;
      max-height: 84vh !important;
      overflow-y: auto !important;
      overflow-x: hidden !important;
      display: block !important;
      scrollbar-width: none;        /* Firefox */
      -ms-overflow-style: none;     /* IE / Edge */
    }
    #registrationModal .modal-content::-webkit-scrollbar {
      width: 0;                     /* Chrome / Safari / Edge (Chromium) */
      height: 0;
    }

    /* Email / phone verification row inside the register form */
    .verify-row {
      display: flex;
      gap: 8px;
      align-items: center;
      width: 100%;
    }
    .verify-row input {
      flex: 1;
      min-width: 0;
    }
    .verify-row button {
      width: auto !important;
      min-width: 0;
      padding: 6px 14px !important;
      font-size: 12px !important;
      white-space: nowrap;
      flex: 0 0 auto;
    }
    .verify-row .verified-badge {
      display: none;
      color: #16a34a;
      font-weight: 700;
      font-size: 12px;
      white-space: nowrap;
    }

    /* Lock the background page whenever an auth modal is open */
    body.modal-open {
      overflow: hidden !important;
      height: 100vh !important;
      touch-action: none !important;
      overscroll-behavior: contain !important;
    }
    body.modal-open > .site-container {
      pointer-events: none;
      user-select: none;
    }
    body.modal-open .modal {
      pointer-events: auto;
      user-select: auto;
    }
    /* Allow touch scrolling only inside the register modal-content */
    body.modal-open #registrationModal .modal-content {
      touch-action: pan-y !important;
      overscroll-behavior: contain !important;
    }

    @media (max-width: 480px) {
      #signInModal .modal-content,
      #registrationModal .modal-content {
        width: calc(100% - 100px) !important;
        max-width: calc(100% - 100px) !important;
        max-height: 55vh !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      #signInModal .modal-head,
      #registrationModal .modal-head {
        height: 80px !important;
        padding: 10px 12px !important;
      }

      #signInModal .welcome-title,
      #registrationModal .welcome-title {
        font-size: 16px !important;
      }

      #signInModal .welcome-sub,
      #registrationModal .welcome-sub {
        font-size: 10px !important;
      }

      #signInModal .modal-body,
      #registrationModal .modal-body {
        padding: 8px 12px 10px !important;
      }

      #signInModal .modal-body h2,
      #registrationModal .modal-body h2 {
        font-size: 13px !important;
        margin-bottom: 4px !important;
      }

      #signInModal .modal-body label,
      #registrationModal .modal-body label {
        font-size: 8px !important;
        margin-bottom: 3px !important;
      }

      #signInModal .modal-body input,
      #signInModal .modal-body select,
      #registrationModal .modal-body input,
      #registrationModal .modal-body select {
        padding: 6px 8px !important;
        font-size: 11px !important;
        min-height: 36px !important;
      }

      #signInModal .modal-body button[type="submit"],
      #registrationModal .modal-body button[type="submit"] {
        padding: 4px 6px !important;
        font-size: 8px !important;
        min-height: 26px !important;
      }

      #signInModal .toggle-password,
      #registrationModal .toggle-password {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
      }
    }

    @media (max-width: 360px) {
      #signInModal .modal-content,
      #registrationModal .modal-content {
        width: calc(100% - 80px) !important;
        max-width: calc(100% - 80px) !important;
        max-height: 50vh !important;
        margin-left: auto !important;
        margin-right: auto !important;
      }

      #signInModal .modal-head,
      #registrationModal .modal-head {
        height: 70px !important;
        padding: 8px 10px !important;
      }

      #signInModal .welcome-title,
      #registrationModal .welcome-title {
        font-size: 14px !important;
      }

      #signInModal .welcome-sub,
      #registrationModal .welcome-sub {
        font-size: 9px !important;
      }

      #signInModal .modal-body,
      #registrationModal .modal-body {
        padding: 6px 10px 8px !important;
      }

      #signInModal .modal-body h2,
      #registrationModal .modal-body h2 {
        font-size: 12px !important;
        margin-bottom: 3px !important;
      }

      #signInModal .modal-body label,
      #registrationModal .modal-body label {
        font-size: 7px !important;
        margin-bottom: 2px !important;
      }

      #signInModal .modal-body input,
      #signInModal .modal-body select,
      #registrationModal .modal-body input,
      #registrationModal .modal-body select {
        padding: 5px 7px !important;
        font-size: 10px !important;
        min-height: 32px !important;
      }

      #signInModal .modal-body button[type="submit"],
      #registrationModal .modal-body button[type="submit"] {
        padding: 4px 6px !important;
        font-size: 8px !important;
        min-height: 26px !important;
      }

      #signInModal .toggle-password,
      #registrationModal .toggle-password {
        width: 24px !important;
        height: 24px !important;
        font-size: 10px !important;
      }
    }

    /* Cart Modal Mobile Responsiveness */
    @media (max-width: 480px) {
      .cart-modal-content {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
      }

      .cart-modal-header {
        padding: 12px 14px 10px;
      }

      .cart-modal-header h2 {
        font-size: 16px;
      }

      .view-full-cart {
        font-size: 12px;
      }

      .cart-modal-body {
        padding: 12px 14px;
      }

      .cart-modal-footer {
        padding: 12px 14px;
      }

      .cart-total-row {
        font-size: 14px;
      }

      .cart-total-row strong {
        font-size: 16px;
      }

      .btn-checkout {
        padding: 10px 16px;
        font-size: 14px;
      }
    }
