:root {
  --primary: #00d7ca;
  --primary-dark: #00aaaa;
  --primary-light: #cffafe;
  --secondary: #0F172A;
  --secondary-dark: #020617;
  --white: #ffffff;
  --gray-light: #f8f9fa;
  --gray: #6c757d;
  --text-dark: #1f2937;
  --text-white: #fff;
  --font: 'Poppins', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text-dark); background: #fff; font-size: 15px; }
a { text-decoration: none; color: inherit; }

/* ── SITE-WIDE CENTERING ───────────────── */
.site-center {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* ── BOOTSTRAP CONTAINER OVERRIDE ─────── */
.container {
  max-width: 1600px !important;
}

/* ── ANNOUNCEMENT BAR ──────────────────── */
.announcement-bar {
  background: var(--primary-dark);
  color: #fff;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  min-height: 36px;
}
.announce-left { display: flex; align-items: center; gap: 4px; opacity: .85; }
.announce-center {
  flex: 1;
  text-align: center;
  font-weight: 500;
  letter-spacing: .3px;
  color: var(--text-white);
}
.announce-right { display: flex; align-items: center; gap: 10px; }
.announce-right a {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  transition: color .2s;
}
.announce-right a:hover { color: var(--primary); }

/* ── HEADER ────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 auto;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon {
  width: 50px; height: 50px;
}

/* Search */
.header-search {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 2px solid var(--primary);
  border-radius: 25px;
  overflow: hidden;
  transition: box-shadow .2s;
}
.header-search:focus-within { box-shadow: 0 0 0 3px rgba(6,182,212,.2); }
.search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 15px;
}
.search-btn {
  background: var(--primary);
  border: none;
  padding: 8px 18px;
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.search-btn:hover { background: var(--primary-dark); }

/* Auth buttons */
.header-auth { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.auth-btn {
  border: 1.5px solid #d1d5db;
  background: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-dark);
  transition: all .2s;
  font-family: var(--font);
}
.auth-btn:hover { border-color: var(--primary); color: var(--primary); }
.auth-btn-register {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font);
}
.auth-btn-register:hover { background: var(--primary-dark); }

/* ── BRAND NAVIGATION ──────────────────── */
.brand-nav {
  background: var(--primary);
}
.brand-nav-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-height: 38px;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}
.brand-nav-item {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--text-white);
  white-space: nowrap;
  transition: color .2s;
  border-bottom: 2px solid transparent;
}
.brand-nav-item:hover,
.cat-nav-item:hover > .brand-nav-item {
  color: var(--white);
  border-bottom-color: rgba(255,255,255,.6);
}

/* ── FEATURED CATEGORIES SLIDER ─────────── */
.feat-cat-section {
  padding: 40px 0 28px;
  background: #fff;
}
.feat-cat-row {
  position: relative;
}
.feat-cat-row::before,
.feat-cat-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.feat-cat-row::before { left: 0;  background: linear-gradient(to right, #fff 40%, transparent); }
.feat-cat-row::after  { right: 0; background: linear-gradient(to left,  #fff 40%, transparent); }
.feat-cat-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 4px 12px;
  scrollbar-width: none;
}
.feat-cat-track::-webkit-scrollbar { display: none; }
.feat-cat-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #4b5563;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.feat-cat-prev { left: 0; }
.feat-cat-next { right: 0; }
.feat-cat-arrow:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 4px 12px rgba(0,215,202,.25); }
.feat-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform .2s;
}
.feat-cat-card:hover { transform: translateY(-4px); color: var(--primary-dark); }
.feat-cat-img-wrap {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
  overflow: hidden;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, box-shadow .2s;
}
.feat-cat-card:hover .feat-cat-img-wrap {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,215,202,.25);
}
.feat-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feat-cat-placeholder {
  font-size: 48px;
  color: #cbd5e1;
}
.feat-cat-name {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  max-width: 160px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (min-width: 640px) and (max-width: 991px) {
  .feat-cat-img-wrap { width: 120px; height: 120px; }
  .feat-cat-name { max-width: 120px; }
  .feat-cat-track { gap: 20px; }
}
@media (max-width: 639px) {
  .feat-cat-section { padding: 24px 0 16px; }
  .feat-cat-arrow { width: 32px; height: 32px; font-size: 12px; }
  .feat-cat-row::before,
  .feat-cat-row::after { width: 40px; }
  .feat-cat-track {
    gap: 14px;
    padding: 8px 4px 12px;
    scroll-snap-type: x mandatory;
  }
  .feat-cat-card {
    gap: 8px;
    scroll-snap-align: start;
  }
  .feat-cat-img-wrap { width: 88px; height: 88px; }
  .feat-cat-placeholder { font-size: 32px; }
  .feat-cat-name { font-size: 12px; max-width: 88px; }
}

/* ── CATEGORY MEGA-MENU ─────────────────── */
.cat-mega-nav { position: relative; }

.cat-nav-item { position: relative; display: inline-flex; }
.cat-nav-item > .brand-nav-item {
  display: flex; align-items: center; gap: 5px;
}
.cat-nav-arrow {
  font-size: 9px;
  opacity: .7;
  transition: transform .2s;
}
.cat-nav-item:hover .cat-nav-arrow { transform: rotate(180deg); }

/* Dropdown panel — positioned via JS (teleported to <body> to escape overflow clipping) */
.cat-mega-dropdown {
  display: none;
  position: fixed;
  min-width: 260px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
  border-top: 3px solid var(--primary);
  z-index: 9999;
}
.cat-mega-dropdown.is-open {
  display: block;
  animation: megaFadeIn .18s ease;
}
@keyframes megaFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cat-mega-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding: 20px 24px;
  max-width: 900px;
}

/* Each subcategory column */
.cat-mega-col {
  min-width: 160px;
  max-width: 220px;
  flex: 1 1 160px;
  padding: 0 16px 12px 0;
  border-right: 1px solid #f1f5f9;
}
.cat-mega-col:last-child { border-right: none; padding-right: 0; }

.cat-mega-heading {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f5f9;
  letter-spacing: .2px;
  transition: color .15s;
}
.cat-mega-heading:hover { color: var(--primary); }

.cat-mega-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cat-mega-list li a {
  font-size: 12.5px;
  color: #6b7280;
  transition: color .15s;
  display: block;
  padding: 2px 0;
}
.cat-mega-list li a:hover { color: var(--primary); padding-left: 4px; }

/* ── SUB NAV ───────────────────────────── */
.sub-nav {
  background: var(--secondary);
  padding: 8px 20px;
  color: #fff;
}
.sub-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  width: 100%;
}
.sub-nav-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
}
.sub-nav-btn {
  color: #fff;
  border: 1px solid white;
  padding: 5px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: opacity .2s;
}
.sub-nav-btn:hover { opacity: .85; }

/* ── HERO BANNER ───────────────────────── */
.hero-section { padding: 16px 0 8px; }
.banner-card {
  border-radius: 25px;
  overflow: hidden;
}
.banner-card-img {
  display: block;
  width: 100%;
  height: clamp(180px, 35vw, 420px);
}
.banner-card-placeholder {
  width: 100%;
  height: clamp(180px, 35vw, 420px);
}
#heroBannerCarousel .banner-card { border-radius: 18px; overflow: hidden; }

/* ── LOGO BRANDS SECTION ───────────────── */
.logo-brands-section {
  padding: 24px 0;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.logo-brands-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 0;
}
.logo-brand-item { flex-shrink: 0; }
.logo-brand-img {
  width: 100px; 
  height: 100px;
  object-fit: contain;
  background: #fff;
}
.logo-brand-placeholder {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  text-align: center;
  padding: 8px;
  background: #fff;
}

/* ── PRODUCTS SECTIONS ─────────────────── */
.products-section { padding: 24px 0; background: #fff; }
.products-section .container-fluid,
.logo-brands-section .container-fluid,
.map-section .container-fluid {
  max-width: 1600px;
  margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 10px; font-size: 17px; font-weight: 600; }
.section-header h2 { margin-bottom: 0; align-self: center; color: var(--primary); font-size: 28px; font-weight: 600; }
.section-title-pill {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 6px 28px;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.section-pill-gold   { border-color: #f59e0b; color: #b45309; }
.section-pill-orange { border-color: #f97316; color: #c2410c; }
.section-pill-blue   { border-color: #3b82f6; color: #1d4ed8; }

/* Carousel */
.products-row {
  position: relative;
}
.products-row::before,
.products-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 56px;
  z-index: 2;
  pointer-events: none;
}
.products-row::before { left: 0; }
.products-row::after  { right: 0; }
.products-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
}
.products-track::-webkit-scrollbar { display: none; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 50%;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--gray);
  font-size: 14px;
  transition: border-color .2s, color .2s, box-shadow .2s;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }
.carousel-arrow:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 4px 12px rgba(0,215,202,.25); }
@media (max-width: 639px) {
  .carousel-arrow { width: 28px; height: 28px; font-size: 11px; }
  .products-row::before,
  .products-row::after { width: 36px; }
}

/* ── PRODUCT CARD ──────────────────────── */
.product-card {
  flex: 0 0 calc(20% - 10px);
  min-width: 0;
  scroll-snap-align: start;
}
.product-card-inner {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-card-inner:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* Flags */
.product-flags { position: absolute; top: 8px; right: 8px; z-index: 2; }
.flag-icon { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }

.product-img-link { display: block; }
.product-img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  display: block;
}
.product-img-placeholder {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
  font-size: 40px;
  margin: 24px 0 8px;
}
.product-info {
  border-top: 1px solid #f0f0f0;
  padding-top: 8px;
  margin-top: 4px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: .2px;
  height: 2.8em;
}
.product-name a { color: inherit; }
.product-name a:hover { color: var(--primary); }
.product-price-btn {
  display: block;
  margin-top: auto;
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 7px 8px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.product-price-btn:hover { background: var(--primary-dark); }
.product-price { margin-top: auto; margin-bottom: 8px; display: flex; align-items: baseline; gap: 6px; min-height: 24px; }
.price-main { font-size: 15px; font-weight: 700; color: var(--primary); }
.price-discounted { font-size: 15px; font-weight: 700; color: #e53e3e; }
.price-original { font-size: 13px; color: var(--gray); text-decoration: line-through; }

/* ── PRODUCT DETAIL ───────────────────── */
.detail-main-img-wrap {
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  padding: 16px;
  background: #fff;
  text-align: center;
}
.detail-main-img { max-width: 100%; max-height: 360px; object-fit: contain; cursor: zoom-in; transition: opacity .15s; }
.detail-main-img:hover { opacity: .88; }

/* ── Lightbox ── */
#imgLightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 24px;
}
#imgLightbox.open { display: flex; }
#imgLightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,.5);
  cursor: default;
  animation: lbFadeIn .2s ease;
}
@keyframes lbFadeIn { from { opacity:0; transform: scale(.95); } to { opacity:1; transform: scale(1); } }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  z-index: 10000;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }
.detail-img-placeholder {
  height: 300px;
  display: flex; align-items: center; justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
}
.detail-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.detail-thumb {
  width: 60px; height: 60px;
  object-fit: contain;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  padding: 4px;
  transition: border-color .2s;
}
.detail-thumb.active, .detail-thumb:hover { border-color: var(--primary); }
.detail-product-name { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.detail-price-box {
  background: #f0fdff;
  border: 1.5px solid var(--primary-light);
  border-radius: 10px;
  padding: 16px;
}
.price-login-prompt { color: var(--gray); font-size: 15px; margin: 0; }
.price-login-prompt a { color: var(--primary); font-weight: 600; }
.price-authenticated { color: var(--text-dark); font-weight: 600; margin: 0; }
.detail-price-main { font-size: 26px; font-weight: 700; color: var(--primary); }
.detail-price-discounted { font-size: 26px; font-weight: 700; color: #e53e3e; margin-right: 10px; }
.detail-price-original { font-size: 18px; color: var(--gray); text-decoration: line-through; }
.btn-connexion-price {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background .2s;
}
.btn-connexion-price:hover { background: var(--primary-dark); color: #fff; }

/* ── BREADCRUMB ───────────────────────── */
.breadcrumb { font-size: 14px; }
.breadcrumb-item a { color: var(--primary); }

/* ── AUTH PAGES ───────────────────────── */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: #f8f9fa;
}
.auth-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.auth-card-wide { max-width: 620px; }
.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.auth-title { text-align: center; font-weight: 700; font-size: 22px; margin-bottom: 4px; }
.auth-sub { text-align: center; margin-bottom: 24px; }
.auth-footer { text-align: center; font-size: 14px; }
.auth-footer a { font-weight: 600; }
.auth-icon-wrap {
  width: 56px; height: 56px;
  background: rgba(0,215,202,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--primary);
  margin: 0 auto;
}
.auth-field-error { color: #ef4444; font-size: 12px; margin-top: 4px; }
.btn-primary-full {
  display: block;
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s;
}
.btn-primary-full:hover { background: var(--primary-dark); }
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline-primary {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .2s;
  border: 1px solid var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ── PAGINATION ───────────────────────── */
.pagination-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.btn-pagination {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  transition: background .2s;
  text-decoration: none;
  border: none;
}
.btn-pagination:hover { background: var(--primary-dark); color: #fff; }
.btn-pagination.disabled {
  background: #e5e7eb;
  color: #9ca3af;
  pointer-events: none;
}
.btn-pagination.outline {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-pagination.outline:hover {
  background: var(--primary);
  color: #fff;
}
.btn-pagination.active {
  background: var(--primary-dark);
  color: #fff;
  cursor: default;
  pointer-events: none;
}
.pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ── PRODUCT FILTER BAR ───────────────── */
.products-filter-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.filter-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0;
}
.filter-select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 32px 6px 12px;
  font-size: .875rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: border-color .2s;
  min-width: 140px;
}
.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}
@media (max-width: 639px) {
  .products-filter-bar { gap: 10px; flex-wrap: nowrap; }
  .filter-group { flex: 1; flex-direction: column; align-items: flex-start; gap: 4px; }
  .filter-select { min-width: 0; width: 100%; }
}

/* ── REGISTER PAGE ────────────────────── */
.register-page {
  background: #f8f9fa;
  padding: 48px 0 64px;
  min-height: 72vh;
}
.register-wrap {
  max-width: 760px;
  margin: 0 auto;
}
.register-header {
  text-align: center;
  margin-bottom: 32px;
}
.register-title { font-size: 24px; font-weight: 700; margin: 14px 0 4px; }
.register-sub   { color: #6b7280; font-size: 14px; }

.register-form { display: flex; flex-direction: column; gap: 0; }
.register-section {
  background: #fff;
  border-radius: 14px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.register-section-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--primary);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}
.register-file-help {
  font-size: 12px;
  color: #6b7280;
  margin-top: 5px;
}
.form-error { color: #ef4444; font-size: 12px; margin-top: 4px; }

/* ── PROFILE PAGE ─────────────────────── */
.profile-page {
  background: #f8f9fa;
  min-height: 72vh;
  padding: 40px 0 60px;
}
.profile-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 768px) {
  .profile-layout { grid-template-columns: 1fr; }
}

/* Sidebar */
.profile-sidebar {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 20px;
}
.profile-avatar-wrap {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 32px 20px 24px;
  text-align: center;
  color: #fff;
}
.profile-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  border: 3px solid rgba(255,255,255,.6);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.profile-name { font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.profile-email-sub { font-size: 12px; opacity: .8; margin-bottom: 6px; word-break: break-all; }
.profile-since { font-size: 11px; opacity: .7; }

.profile-nav { padding: 10px 0; }
.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #374151;
  transition: all .18s;
  border-left: 3px solid transparent;
}
.profile-nav-item i { width: 16px; text-align: center; color: #9ca3af; font-size: 13px; }
.profile-nav-item:hover { background: #f8fafc; color: var(--primary); }
.profile-nav-item:hover i { color: var(--primary); }
.profile-nav-item.active {
  background: #f0fdfe;
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}
.profile-nav-item.active i { color: var(--primary); }
.profile-nav-logout { color: #ef4444 !important; }
.profile-nav-logout i { color: #ef4444 !important; }
.profile-nav-logout:hover { background: #fef2f2 !important; }

/* Main content card */
.profile-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  overflow: hidden;
}
.profile-card-header {
  padding: 18px 28px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  border-bottom: 1px solid #f1f5f9;
  background: #fafafa;
}
.profile-card-body { padding: 28px; }

.profile-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.profile-error { color: #ef4444; font-size: 12px; margin-top: 4px; }
.profile-form-actions { margin-top: 24px; }
.profile-section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--primary);
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}
.profile-save-btn { max-width: 220px; }

/* Empty orders state */
.profile-empty-state {
  text-align: center;
  padding: 40px 20px;
}
.profile-empty-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #f0fdfe;
  color: var(--primary);
  font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.profile-empty-text { color: #6b7280; margin-bottom: 20px; font-size: 14px; }

/* ── NEWSLETTER SECTION ───────────────── */
.newsletter-section {
  background: var(--secondary);
  padding: 40px 0;
  text-align: center;
  color: #fff;
}
.newsletter-title {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.newsletter-sub { color: rgba(255,255,255,.65); font-size: 15px; margin-bottom: 20px; }
.newsletter-form {
  display: inline-flex;
  border-radius: 30px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.2);
  max-width: 480px;
  width: 100%;
}
.newsletter-input {
  flex: 1;
  background: rgba(255,255,255,.1);
  border: none;
  outline: none;
  padding: 10px 20px;
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
}
.newsletter-input::placeholder { color: rgba(255,255,255,.5); }
.newsletter-btn {
  background: var(--primary);
  border: none;
  padding: 10px 24px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  transition: background .2s;
}
.newsletter-btn:hover { background: var(--primary-dark); }

/* ── FOOTER ───────────────────────────── */
.site-footer { 
  background: var(--secondary); 
  color: rgba(255,255,255,.75); 
  font-size: 14px; 
  border-top: 3px solid rgba(255, 255, 255, 0.1); 
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.footer-tagline { color: rgba(255,255,255,.6); font-size: 13px; line-height: 1.5; }
.footer-contact p { margin-bottom: 4px; font-size: 13.5px; }
.text-primary { color: var(--primary); }
.footer-promo { font-size: 12px; color: var(--text-white); font-weight: 600; }

.footer-heading {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; padding-left: 16px; position: relative; }
.footer-links li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}
.footer-links a {     
  color: #9ca3af;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1.5; 
}
.footer-links a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 14px;
  color: rgba(255,255,255,.5);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-payment { display: flex; gap: 8px; font-size: 24px; color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  transition: color .2s;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}
.footer-social a:hover { color: var(--primary); }

/* ── WHATSAPP FLOAT ───────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ── MAP SECTION ──────────────────────── */
.map-section { background: #f3f4f6; }
.map-container { width: 100%; }


/* ── CENTERED FOOTER INNER ────────────── */
.site-footer .container-fluid {
  max-width: 1600px;
  margin: 0 auto;
}

/* ── CENTERED NEWSLETTER ──────────────── */
.newsletter-section .container {
  max-width: 680px;
}

/* ── CENTER ANNOUNCEMENT BAR INNER ────── */
.announcement-bar {
  position: relative;
}
.announcement-bar > * {
  position: relative;
  z-index: 1;
}

/* ── SEARCH PAGE ──────────────────────── */
.alert-success { background: #d1fae5; border-color: #6ee7b7; color: #065f46; }
.alert-info    { background: #dbeafe; border-color: #93c5fd; color: #1e40af; }
.alert-error   { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }

/* ── CONTENT PAGES ────────────────────── */
.content-page-wrap {
  background: #fff;
  min-height: 60vh;
  padding: 48px 0 64px;
}
.content-page-inner {
  margin: 0 auto;
  padding: 0 24px;
}
.content-breadcrumb { font-size: 13px; }
.content-breadcrumb a { color: var(--primary); }
.content-page-header { margin-bottom: 36px; }
.content-page-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.content-page-divider {
  width: 56px; height: 4px;
  background: var(--primary);
  border-radius: 2px;
}
.content-body { color: #374151; line-height: 1.8; font-size: 15px; }
.content-body h2 {
  font-size: 20px; font-weight: 800; color: var(--text-dark);
  text-transform: uppercase; margin: 36px 0 12px; letter-spacing: .3px;
}
.content-body h3 {
  font-size: 17px; font-weight: 700; color: var(--text-dark);
  margin: 24px 0 10px;
}
.content-body p { margin-bottom: 14px; }
.content-body ul, .content-body ol {
  padding-left: 22px; margin-bottom: 14px;
}
.content-body li { margin-bottom: 6px; }
.content-body a { color: var(--primary); text-decoration: underline; }
.content-body strong { font-weight: 700; }

/* ── LOGOUT MODAL ─────────────────────── */
.logout-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(3px);
}
.logout-modal-overlay.show-modal { display: flex; animation: modalFadeIn .2s ease; }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.logout-modal {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 28px;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  animation: modalSlideUp .22s ease;
}
@keyframes modalSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.logout-modal-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #fff0f0;
  color: #ef4444;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.logout-modal-title { font-size: 18px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.logout-modal-text  { font-size: 14px; color: #6b7280; margin-bottom: 24px; }
.logout-modal-actions { display: flex; gap: 10px; }
.logout-modal-cancel {
  flex: 1;
  padding: 11px;
  border-radius: 9px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  font-family: var(--font);
  transition: all .18s;
}
.logout-modal-cancel:hover { border-color: #9ca3af; background: #f9fafb; }
.logout-modal-confirm {
  flex: 1;
  padding: 11px;
  border-radius: 9px;
  background: #ef4444;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background .18s;
}
.logout-modal-confirm:hover { background: #dc2626; color: #fff; }

/* ── SEARCH SUGGESTIONS ───────────────── */
.search-suggest-wrap {
  position: relative;
  flex: 1;
  max-width: 600px;
}
.search-suggest-wrap .header-search {
  max-width: none;
  width: 100%;
}
.mobile-search-suggest-wrap { position: relative; }
.search-suggestions-box {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.13);
  z-index: 600;
  overflow: hidden;
  max-height: 420px;
  overflow-y: auto;
}
.search-suggestions-box.open { display: block; }
.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  color: #1f2937;
  transition: background .15s;
  border-bottom: 1px solid #f3f4f6;
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover,
.suggestion-item.active { background: #f0fdff; }
.suggestion-img {
  width: 42px; height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #f3f4f6;
}
.suggestion-img-placeholder {
  width: 42px; height: 42px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #9ca3af;
  font-size: 15px;
  flex-shrink: 0;
}
.suggestion-info { flex: 1; min-width: 0; }
.suggestion-name {
  display: block;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #111827;
}
.suggestion-price {
  display: block;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}
.suggestion-arrow { color: #d1d5db; font-size: 12px; flex-shrink: 0; }

/* ── BACK TO TOP ──────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 60px;
  right: 24px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(0,215,202,.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--primary-dark); }

/* ── UTILITY ──────────────────────────── */
.text-primary { color: var(--primary) !important; }
.text-orange { color: var(--secondary) !important; }

/* ── LANGUAGE SWITCHER ────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  border: 1.5px solid #e5e7eb;
  border-radius: 30px;
  padding: 3px;
  gap: 2px;
  margin-right: 8px;
  flex-shrink: 0;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
  letter-spacing: .3px;
}
.lang-btn:hover { color: var(--text-dark); background: #e2e8f0; }
.lang-btn.lang-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,215,202,.35);
}
.lang-btn.lang-active:hover { background: var(--primary-dark); color: #fff; }
.lang-flag-img {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}
.lang-code { line-height: 1; }

/* ── CART ICON (HEADER) ────────────────── */
.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--secondary);
  font-size: 17px;
  transition: background .2s, transform .15s;
  flex-shrink: 0;
}
.cart-icon-btn:hover { background: var(--primary); color: #fff; transform: scale(1.08); }
.cart-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  transition: transform .2s;
}
.cart-badge-hidden { display: none; }

/* ── ADD TO CART BUTTON (CARD) ─────────── */
.cart-add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background .2s, transform .15s;
  margin-top: 8px;
}
.cart-add-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.cart-add-btn.cart-btn-primarying { background: #10b981; pointer-events: none; }
.cart-add-btn-lg {
  width: auto;
  padding: 12px 28px;
  font-size: 15px;
  border-radius: 10px;
}

/* ── CART PAGE ──────────────────────────── */
.cart-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}
.cart-page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}
.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.cart-continue-btn:hover { background: var(--primary); color: #fff; }

.cart-table-wrap {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  overflow: hidden;
  margin-bottom: 24px;
}
.cart-table {
  width: 100%;
  border-collapse: collapse;
}
.cart-table thead tr {
  background: var(--gray-light);
  border-bottom: 2px solid #e5e7eb;
}
.cart-table th {
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.cart-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.cart-table tbody tr:last-child { border-bottom: none; }
.cart-table tbody tr:hover { background: #fafbfc; }
.cart-table td { padding: 16px 18px; vertical-align: middle; }

.cart-img-cell { width: 80px; }
.cart-product-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8f9fa;
  padding: 4px;
}
.cart-product-img-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 22px;
}
.cart-product-name {
  display: block;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 4px;
  transition: color .2s;
}
.cart-product-name:hover { color: var(--primary-dark); }
.cart-product-brand {
  font-size: 12px;
  color: var(--gray);
}

/* Quantity control */
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.qty-btn {
  width: 32px;
  height: 36px;
  border: none;
  background: #f1f5f9;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: background .15s;
  line-height: 1;
}
.qty-btn:hover { background: var(--primary); color: #fff; }
.qty-input {
  width: 50px;
  height: 36px;
  border: none;
  border-left: 1.5px solid #e2e8f0;
  border-right: 1.5px solid #e2e8f0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  outline: none;
  background: #fff;
  color: var(--text-dark);
}
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button { -webkit-appearance: none; }
.cart-qty-form { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cart-update-btn {
  font-size: 11px;
  padding: 4px 12px;
  border: none;
  border-radius: 5px;
  background: var(--secondary);
  color: #fff;
  font-family: var(--font);
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
}
.cart-update-btn:hover { background: var(--secondary-dark); }

.cart-remove-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: #fee2e2;
  color: #ef4444;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cart-remove-btn:hover { background: #ef4444; color: #fff; transform: scale(1.08); }

.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 0;
}
.cart-total-count {
  font-size: 15px;
  color: var(--text-dark);
}
.cart-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.cart-quote-btn:hover { background: var(--secondary-dark); color: #fff; transform: translateY(-1px); }

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-icon {
  font-size: 64px;
  color: #d1d5db;
  margin-bottom: 20px;
}
.cart-empty-text {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 28px;
}

/* ── CART FOOTER ACTIONS ────────────────── */
.cart-footer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cart-quote-btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background .2s, color .2s;
}
.cart-quote-btn-secondary:hover { background: var(--secondary); color: #fff; }
.cart-checkout-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(0,215,202,.3);
}
.cart-checkout-btn:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

/* ── CHECKOUT PAGE ──────────────────────── */
.checkout-page { background: var(--gray-light); min-height: 60vh; padding-bottom: 60px; }
.checkout-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.checkout-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}
.checkout-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  color: var(--gray);
  font-size: 13px;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
.checkout-back-btn:hover { border-color: var(--primary); color: var(--primary-dark); }

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}
@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
}

/* ── Checkout Address Picker ── */
.co-addr-picker { margin-bottom: 4px; }
.co-addr-picker-title {
  font-size: 12px;
  font-weight: 700;
  color: #6b7a99;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.co-addr-cards { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.co-addr-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #e0e4ed;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  background: #fff;
}
.co-addr-card:hover { border-color: var(--primary); background: #f7fffe; }
.co-addr-card.selected { border-color: var(--primary); background: #f0fffe; }
.co-addr-card-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #c8d0e0;
  margin-top: 3px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}
.co-addr-card.selected .co-addr-card-radio { border-color: var(--primary); background: var(--primary); }
.co-addr-card.selected .co-addr-card-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  display: block;
}
.co-addr-card-body { flex: 1; min-width: 0; }
.co-addr-card-label { font-size: 11px; font-weight: 700; color: var(--primary); margin-bottom: 2px; text-transform: uppercase; letter-spacing: .04em; }
.co-addr-card-name { font-size: 14px; font-weight: 600; color: #1a2340; }
.co-addr-card-line { font-size: 13px; color: #6b7a99; margin-top: 1px; }
.co-addr-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.co-addr-divider::before,
.co-addr-divider::after { content: ''; flex: 1; height: 1px; background: #e0e4ed; }
.co-addr-divider-text { font-size: 12px; color: #b0b8c9; font-weight: 600; white-space: nowrap; }

.checkout-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  padding: 28px;
}
.checkout-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

/* Form fields */
.co-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}
.co-required { color: #ef4444; }
.req { color: #ef4444; }
.co-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
/* Select2 inside checkout form matches co-input */
.co-input + .select2-container .select2-selection--single,
select.co-input + .select2-container .select2-selection--single {
  height: auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--text-dark);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: normal;
  padding: 0;
  color: inherit;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
}
.co-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,215,202,.15);
}
.co-textarea { resize: vertical; min-height: 80px; }

/* Summary items */
.co-item-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.co-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}
.co-item:last-child { border-bottom: none; }
.co-item-img-wrap { flex-shrink: 0; }
.co-item-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f8f9fa;
  padding: 3px;
}
.co-item-img-placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 18px;
}
.co-item-info { flex: 1; min-width: 0; }
.co-item-name {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-dark);
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-item-brand { font-size: 11px; color: var(--gray); }
.co-item-unit-price { display: block; font-size: 11px; color: #94a3b8; margin-top: 2px; }
.co-item-qty { flex-shrink: 0; }
.co-qty-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--primary-light);
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
}
.co-item-price {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
}
.co-summary-rows {
  border-top: 2px solid #f1f5f9;
  padding-top: 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.co-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
}
.co-summary-row span:last-child { font-weight: 600; color: var(--text-dark); }
.co-summary-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}
.co-summary-total span { color: var(--text-dark) !important; font-weight: 700 !important; }
.co-summary-total span:last-child { color: var(--primary-dark) !important; font-size: 17px; }
.co-submit-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s, transform .15s;
  box-shadow: 0 4px 14px rgba(0,215,202,.3);
}
.co-submit-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

/* ── ORDER CONFIRMATION ──────────────────── */
.order-confirm-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
  padding: 48px 40px;
  text-align: center;
}
.order-confirm-icon {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 16px;
  animation: confirmPop .4s cubic-bezier(.36,.07,.19,.97);
}
@keyframes confirmPop {
  0%   { transform: scale(.5); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1);   opacity: 1; }
}
.order-confirm-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 8px;
}
.order-confirm-subtitle {
  color: var(--gray);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 24px;
}
.order-confirm-number {
  display: inline-block;
  background: var(--primary-light);
  color: var(--secondary);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 32px;
}
.order-confirm-section {
  text-align: left;
  border-top: 1px solid #f1f5f9;
  padding-top: 20px;
  margin-top: 20px;
}
.order-confirm-section-title {
  font-weight: 700;
  color: var(--secondary);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.order-confirm-items { display: flex; flex-direction: column; gap: 8px; }
.order-confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--gray-light);
  border-radius: 8px;
}
.order-confirm-item-name { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.order-confirm-item-qty {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 2px 10px;
  border-radius: 12px;
}
.order-confirm-address {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
  background: var(--gray-light);
  padding: 16px;
  border-radius: 10px;
}
.order-confirm-notes {
  font-size: 14px;
  color: var(--gray);
  font-style: italic;
  background: var(--gray-light);
  padding: 12px 16px;
  border-radius: 8px;
}
.order-confirm-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  border-top: 1px solid #f1f5f9;
  padding-top: 28px;
}
.order-confirm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border: 2px solid #d1d5db;
  border-radius: 10px;
  color: var(--gray);
  font-size: 14px;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
.order-confirm-btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.order-confirm-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 24px;
  border-radius: 10px;
  background: var(--secondary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: background .2s;
}
.order-confirm-btn-primary:hover { background: var(--secondary-dark); color: #fff; }

/* ── ORDER DETAIL TABLE ──────────────────── */
.order-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 12px;
}
.order-detail-table thead tr {
  border-bottom: 2px solid var(--primary-light);
}
.order-detail-table th {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--gray);
}
.order-detail-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
}
.order-detail-table tbody tr:last-child { border-bottom: none; }
.order-detail-table td {
  padding: 10px 10px;
  color: var(--text-dark);
  vertical-align: middle;
}
.od-col-name  { text-align: left; font-weight: 600; }
.od-col-price { text-align: right; color: var(--gray); }
.od-col-qty   { text-align: center; }
.od-col-total { text-align: right; font-weight: 700; color: var(--primary-dark); }

/* ── ORDER STATUS BADGES ─────────────────── */
.order-status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}
.order-status-pending    { background: #fef9c3; color: #854d0e; }
.order-status-processing { background: #dbeafe; color: #1e40af; }
.order-status-shipped    { background: #ede9fe; color: #5b21b6; }
.order-status-delivered  { background: #dcfce7; color: #166534; }
.order-status-cancelled  { background: #fee2e2; color: #991b1b; }

/* ── PROFILE ORDERS TABLE ───────────────── */
.profile-orders-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #f1f5f9;
}
.profile-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.profile-orders-table th {
  padding: 12px 16px;
  background: var(--gray-light);
  font-weight: 600;
  color: var(--gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
  text-align: left;
  white-space: nowrap;
}
.profile-orders-table td {
  padding: 14px 16px;
  border-top: 1px solid #f1f5f9;
  color: var(--text-dark);
  vertical-align: middle;
}
.profile-orders-table tbody tr:hover { background: #fafbfc; }
.profile-order-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 14px;
  border-radius: 6px;
  background: var(--primary-light);
  color: var(--secondary);
  font-size: 12px;
  font-weight: 600;
  transition: background .2s;
}
.profile-order-view-btn:hover { background: var(--primary); color: #fff; }

/* Mobile order cards — hidden on desktop */
.profile-orders-mobile { display: none; }
@media (max-width: 639px) {
  .profile-orders-table-wrap { display: none; }
  .profile-orders-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .pom-card {
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    background: #fff;
  }
  .pom-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
  }
  .pom-order-num {
    font-size: 16px;
    color: var(--text-dark);
  }
  .pom-card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
  }
  .pom-view-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU DRAWER
═══════════════════════════════════════════════════════════ */

.mobile-search-btn, .mobile-menu-btn {
  width:38px; height:38px; border:none; background:none;
  display:flex; align-items:center; justify-content:center;
  font-size:18px; color:var(--text-dark); cursor:pointer;
  border-radius:8px; transition:background .2s,color .2s; flex-shrink:0;
}
.mobile-search-btn:hover, .mobile-menu-btn:hover { background:var(--primary-light); color:var(--primary); }

.mobile-search-bar { display:none; background:var(--primary); border-bottom:none; padding:10px 0; box-shadow:0 3px 8px rgba(0,0,0,.12); }
.mobile-search-bar.open { display:block; animation:mobileSearchIn .18s ease; }
@keyframes mobileSearchIn { from{opacity:0;transform:translateY(-6px);} to{opacity:1;transform:translateY(0);} }
.mobile-search-form { display:flex; border:2px solid rgba(255,255,255,.6); border-radius:25px; overflow:hidden; background:rgba(255,255,255,.15); }
.mobile-search-input { flex:1; border:none; outline:none; padding:9px 16px; font-family:var(--font); font-size:14px; background:transparent; color:#fff; }
.mobile-search-input::placeholder { color:rgba(255,255,255,.75); }
.mobile-search-submit { background:rgba(255,255,255,.25); border:none; border-left:1px solid rgba(255,255,255,.3); padding:9px 16px; color:#fff; cursor:pointer; font-size:14px; }

.mobile-menu-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,.5); z-index:10000; backdrop-filter:blur(2px); }
.mobile-menu-overlay.open { display:block; animation:overlayFadeIn .2s ease; }
@keyframes overlayFadeIn { from{opacity:0;} to{opacity:1;} }

.mobile-menu-drawer {
  position:fixed; top:0; left:0; width:min(320px,88vw); height:100dvh;
  background:#fff; z-index:10001; display:flex; flex-direction:column;
  transform:translateX(-100%); transition:transform .28s cubic-bezier(.25,.46,.45,.94);
  box-shadow:4px 0 32px rgba(0,0,0,.15);
}
.mobile-menu-overlay.open .mobile-menu-drawer { transform:translateX(0); }

.mobile-drawer-header {
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 16px; border-bottom:1px solid #f1f5f9; flex-shrink:0; min-height:60px;
}
.mobile-drawer-logo { display:flex; align-items:center; }
.mobile-drawer-logo-img { height:38px; width:auto; object-fit:contain; }
.mobile-drawer-logo-text { font-size:17px; font-weight:800; color:var(--secondary); }
.mobile-drawer-close {
  width:36px; height:36px; border:none; background:#f1f5f9; border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:16px; color:#6b7280; cursor:pointer; flex-shrink:0;
}
.mobile-drawer-close:hover { background:#e5e7eb; color:var(--text-dark); }

.mobile-drawer-body { flex:1; overflow-y:auto; scrollbar-width:thin; }

.mobile-drawer-auth { padding:16px; border-bottom:1px solid #f1f5f9; background:#fafbfc; }
.mobile-auth-user { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.mobile-auth-avatar {
  width:42px; height:42px; border-radius:50%;
  background:var(--primary-light); color:var(--secondary);
  font-size:18px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mobile-auth-name { font-size:14px; font-weight:700; color:var(--text-dark); }
.mobile-auth-email { font-size:12px; color:#9ca3af; word-break:break-all; }

.mobile-auth-links { display:flex; flex-direction:column; gap:2px; }
.mobile-auth-links a {
  display:flex; align-items:center; padding:10px 12px; border-radius:8px;
  font-size:14px; font-weight:500; color:#374151; transition:background .15s,color .15s;
}
.mobile-auth-links a:hover { background:#f0fdfe; color:var(--primary); }
.mobile-auth-links a.text-danger { color:#ef4444; }
.mobile-auth-links a.text-danger:hover { background:#fef2f2; color:#dc2626; }
.mobile-cart-count {
  display:inline-flex; align-items:center; justify-content:center;
  background:#ef4444; color:#fff; font-size:10px; font-weight:700;
  min-width:18px; height:18px; border-radius:9px; padding:0 4px; margin-left:4px;
}
.mobile-auth-btns { display:flex; gap:8px; }
.mobile-btn-login {
  flex:1; padding:10px 12px; border-radius:10px; border:1.5px solid #d1d5db;
  text-align:center; font-size:14px; font-weight:600; color:var(--text-dark);
}
.mobile-btn-login:hover { border-color:var(--primary); color:var(--primary); }
.mobile-btn-register {
  flex:1; padding:10px 12px; border-radius:10px; background:var(--primary);
  text-align:center; font-size:14px; font-weight:600; color:#fff;
}
.mobile-btn-register:hover { background:var(--primary-dark); color:#fff; }

.mobile-drawer-lang { display:flex; gap:8px; padding:12px 16px; border-bottom:1px solid #f1f5f9; }
.mobile-lang-btn {
  display:flex; align-items:center; gap:6px; padding:7px 14px; border-radius:20px;
  font-size:13px; font-weight:700; color:#6b7280; border:1.5px solid #e5e7eb;
}
.mobile-lang-btn:hover { border-color:var(--primary); color:var(--primary); }
.mobile-lang-btn.active { background:var(--primary); color:#fff; border-color:var(--primary); }

.mobile-drawer-nav { padding:8px 0 24px; }
.mobile-nav-link {
  display:flex; align-items:center; padding:13px 20px;
  font-size:14.5px; font-weight:500; color:var(--text-dark);
  border-bottom:1px solid #f8fafc; transition:background .15s,color .15s;
}
.mobile-nav-link:hover { background:#f0fdfe; color:var(--primary); }
.mobile-nav-link i { width:20px; flex-shrink:0; }

.mobile-nav-group { border-bottom:1px solid #f8fafc; }
.mobile-nav-group-btn {
  display:flex; align-items:center; justify-content:space-between; width:100%;
  padding:13px 20px; background:none; border:none; cursor:pointer;
  font-size:14.5px; font-weight:500; color:var(--text-dark); font-family:var(--font);
}
.mobile-nav-group-btn:hover { background:#f0fdfe; color:var(--primary); }
.mobile-nav-group-btn i { font-size:11px; color:#9ca3af; transition:transform .2s; flex-shrink:0; }
.mobile-nav-group-btn.is-open i { transform:rotate(180deg); color:var(--primary); }
.mobile-nav-group-btn.is-open { color:var(--primary); }

.mobile-nav-group-items { display:none; background:#f8fafc; padding:4px 0; }
.mobile-nav-group-items.open { display:block; }
.mobile-nav-sub-link {
  display:flex; align-items:center; padding:10px 20px 10px 32px;
  font-size:13.5px; color:#374151; transition:background .15s,color .15s;
  border-bottom:1px solid #f1f5f9;
}
.mobile-nav-sub-link:last-child { border-bottom:none; }
.mobile-nav-sub-link:hover { background:#e8fffe; color:var(--primary); }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
  .container { max-width:100% !important; padding-left:16px; padding-right:16px; }
  .header-inner { gap:12px; }
  .search-suggest-wrap { max-width:360px; }
  .sub-nav-text { font-size:13px; }
  .product-card { flex: 0 0 calc(33.33% - 8px); }
  .site-footer .container-fluid { padding-left:24px; padding-right:24px; }
}

@media (max-width: 767px) {
  .container { padding-left:12px; padding-right:12px; }
  /* Hide all navbars except main header */
  .announcement-bar { display:none; }
  .brand-nav { display:none; }
  .sub-nav { display:none; }

  /* Mobile header: primary background, logo left, icons right */
  .site-header {
    padding:8px 0;
    background: var(--primary);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
  }
  .header-inner { gap:0; justify-content:space-between; }
  .header-search { display:none !important; }
  .logo-icon { width:40px; height:40px; }

  /* Icons white on primary bg */
  .mobile-search-btn,
  .mobile-menu-btn {
    color: #fff;
  }
  .mobile-search-btn:hover,
  .mobile-menu-btn:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
  }
  .cart-icon-btn {
    background: rgba(255,255,255,.2);
    color: #fff;
  }
  .cart-icon-btn:hover {
    background: rgba(255,255,255,.35);
    color: #fff;
  }

  /* Group icons together on the right */
  .header-auth { gap:4px; }
  .product-card { flex: 0 0 calc(50% - 6px); }
  .product-img { height:120px; }
  .product-name { font-size:13px; }
  .detail-product-name { font-size:18px; }
  .detail-price-main, .detail-price-discounted { font-size:22px; }
  .detail-price-original { font-size:16px; }
  .cart-table-wrap { overflow-x:auto; border-radius:10px; }
  .cart-table { min-width:520px; }
  .cart-table th, .cart-table td { padding:10px 12px; }
  .cart-page-header { align-items:flex-start; gap:10px; }
  .cart-footer { flex-direction:column; align-items:stretch; }
  .cart-footer-actions { flex-direction:column; }
  .cart-checkout-btn, .cart-quote-btn-secondary { width:100%; justify-content:center; }
  .footer-bottom { flex-direction:column; align-items:center; text-align:center; gap:10px; }
  .footer-bottom-left { text-align:center; }
  .site-footer .container-fluid { padding-left:16px; padding-right:16px; }
  .newsletter-form { flex-direction:column; border-radius:12px; }
  .newsletter-input { padding:12px 16px; border-radius:10px 10px 0 0; }
  .newsletter-btn { border-radius:0 0 10px 10px; padding:12px; }
  .auth-card { padding:28px 20px; }
  .register-section { padding:20px 16px; }
  .profile-card-body { padding:20px 16px; }
  .profile-card-header { padding:14px 16px; }
  .profile-sidebar { position:static; }
  .content-page-inner { padding:0 16px; }
}

@media (max-width: 480px) {
  .product-card { flex: 0 0 calc(50% - 6px); }
  .section-title-pill { font-size:13px; padding:5px 18px; }
  .order-confirm-card { padding:32px 20px; }
  .order-confirm-title { font-size:20px; }
  .checkout-card { padding:20px 16px; }
  .cart-table { min-width:460px; }
}

/* ══════════════════════════════════════════════
   CART PAGE – REDESIGN
   ══════════════════════════════════════════════ */

.cart-page {
  padding: 40px 0 60px;
  background: #f4f6fa;
  min-height: 70vh;
}

/* ── Step Indicator ── */
.cart-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.cart-step {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cart-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e0e4ed;
  color: #8895aa;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.cart-step.active .cart-step-num {
  background: linear-gradient(135deg, #00D7CA 0%, #00b3a8 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 215, 202, 0.3);
}
.cart-step-info {
  display: flex;
  flex-direction: column;
}
.cart-step-label {
  font-size: 11px;
  font-weight: 600;
  color: #b0b8c9;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.cart-step.active .cart-step-label {
  color: var(--primary);
}
.cart-step-name {
  font-size: 14px;
  font-weight: 700;
  color: #8895aa;
}
.cart-step.active .cart-step-name {
  color: #1a2340;
}
.cart-step-line {
  height: 2px;
  background: #dde2ee;
  margin: 0 18px;
  min-width: 40px;
}

/* ── Shipping Progress Banner ── */
.cart-shipping-banner {
  position: relative;
  background: linear-gradient(120deg, #1a2340 60%, #243060 100%);
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 24px;
  overflow: hidden;
}
.cart-shipping-banner-content {
  position: relative;
  z-index: 1;
}
.cart-shipping-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0,200,185,.18);
  color: #00e6d6;
  border: 1px solid rgba(0,200,185,.35);
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  padding: 3px 12px;
  margin-bottom: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cart-shipping-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
}
.cart-shipping-title strong {
  color: #00e6d6;
}
.cart-shipping-sub {
  color: rgba(255,255,255,.6);
  font-size: 13px;
  margin: 0 0 14px;
}
.cart-shipping-bar-track {
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  max-width: 480px;
}
.cart-shipping-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00aaa0, #00e6d6);
  border-radius: 10px;
  transition: width .5s ease;
  min-width: 4px;
}
.cart-shipping-banner-deco {
  position: absolute;
  right: -30px;
  top: -30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}

/* ── Main Layout ── */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* ── Cart Items Card ── */
.cart-items-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  overflow: hidden;
}
.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f2f7;
}
.cart-items-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cart-your-cart {
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
  margin: 0;
}
.cart-count-badge {
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 10px;
}
.cart-clear-btn {
  background: none;
  border: 1px solid #e0e4ed;
  color: #8895aa;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.cart-clear-btn:hover {
  border-color: #e04040;
  color: #e04040;
}

/* ── Item Rows ── */
.cart-items-list {
  padding: 0 24px;
}
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #f0f2f7;
}
.cart-item-row:last-child {
  border-bottom: none;
}
.cart-item-img-link {
  flex-shrink: 0;
}
.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid #f0f2f7;
  background: #fafbfc;
}
.cart-item-img-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  border: 1px solid #f0f2f7;
  background: #f4f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b0b8c9;
  font-size: 24px;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cart-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #1a2340;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cart-item-name:hover { color: var(--primary); }
.cart-item-ref {
  font-size: 12px;
  color: #b0b8c9;
}
.cart-item-unit-price {
  font-size: 13px;
  color: #6b7a99;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-item-old-price {
  color: #b0b8c9;
  font-size: 12px;
  text-decoration: line-through;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.cart-qty-form { margin: 0; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid #e0e4ed;
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  background: #f4f6fa;
  border: none;
  width: 32px;
  height: 36px;
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.qty-btn:hover { background: #e0e4ed; }
.qty-input {
  width: 44px;
  height: 36px;
  border: none;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: #1a2340;
  background: #fff;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-item-total {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  min-width: 64px;
  text-align: right;
}
.cart-delete-btn {
  background: #fff4f4;
  border: 1px solid #fddede;
  color: #e04040;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: background .2s;
}
.cart-delete-btn:hover { background: #ffe0e0; }

/* ── Continue link ── */
.cart-continue-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.cart-continue-link:hover { opacity: .75; }

/* ── Special Instructions ── */
.cart-instructions-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  padding: 20px 24px;
  margin-top: 16px;
}
.cart-instructions-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 10px;
}
.cart-instructions-input {
  width: 100%;
  border: 1.5px solid #e0e4ed;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  color: #1a2340;
  background: #f9fafc;
  resize: vertical;
  outline: none;
  transition: border-color .2s;
  box-sizing: border-box;
}
.cart-instructions-input:focus { border-color: var(--primary); background: #fff; }

/* ── Order Summary Sidebar ── */
.cart-summary-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  padding: 24px;
  position: sticky;
  top: 20px;
}
.cart-summary-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a2340;
  margin-bottom: 20px;
}
.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #6b7a99;
}
.cart-summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 800;
  color: #1a2340;
  border-top: 2px solid #f0f2f7;
  padding-top: 16px;
  margin-bottom: 20px;
}
.cart-checkout-main-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background .2s, transform .15s;
  width: 100%;
  box-sizing: border-box;
}
.cart-checkout-main-btn:hover {
  background: var(--primary-dark, #008a82);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Empty Cart ── */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty-icon {
  font-size: 64px;
  color: #dde2ee;
  margin-bottom: 20px;
  display: block;
}
.cart-empty-text {
  font-size: 18px;
  color: #8895aa;
  margin-bottom: 24px;
}
.cart-continue-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 28px;
  text-decoration: none;
  transition: background .2s;
}
.cart-continue-btn:hover { background: var(--primary-dark, #008a82); color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
  .cart-summary-card {
    position: static;
  }
}
@media (max-width: 600px) {
  .cart-page { padding: 16px 0 40px; overflow-x: hidden; }

  /* Step indicator — shrink to fit small screens */
  .cart-steps { margin-bottom: 0; }
  .cart-step { gap: 8px; }
  .cart-step-num { width: 28px; height: 28px; font-size: 14px; }
  .cart-step-line { min-width: 16px; margin: 0 8px; }
  .cart-step-label { font-size: 10px; }
  .cart-step-name { font-size: 12px; }

  /* Shipping banner */
  .cart-shipping-banner { padding: 14px 16px; border-radius: 12px; }
  .cart-shipping-banner-deco { display: none; }

  /* Items card header — allow wrapping */
  .cart-items-header {
    padding: 12px 14px 10px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cart-items-header-left { gap: 8px; }
  .cart-your-cart { font-size: 15px; }
  .cart-count-badge { font-size: 11px; padding: 2px 8px; }
  .cart-clear-btn { font-size: 12px; padding: 5px 10px; }

  /* Items list */
  .cart-items-list { padding: 0 14px; }

  /* Item row — two-row layout */
  .cart-item-row { flex-wrap: wrap; gap: 10px; padding: 14px 0; }
  .cart-item-img, .cart-item-img-placeholder { width: 60px; height: 60px; flex-shrink: 0; }
  .cart-item-info { flex: 1; min-width: 0; }
  .cart-item-name { font-size: 13px; }
  .cart-item-unit-price { font-size: 12px; }

  /* Controls row spans full width */
  .cart-item-controls {
    width: 100%;
    gap: 8px;
    justify-content: space-between;
    padding-top: 10px;
    flex-shrink: 0;
  }
  .cart-item-total { font-size: 14px; min-width: auto; }

  /* Qty stepper — slightly smaller */
  .qty-btn { width: 28px; height: 32px; font-size: 16px; }
  .qty-input { width: 36px; height: 32px; font-size: 14px; }

  /* Summary & instructions */
  .cart-summary-card { padding: 16px; }
  .cart-instructions-card { padding: 14px 16px; }
  .cart-instructions-title { font-size: 14px; }
}

.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  overflow: hidden;
}

/* ── Cart Toast ── */
.cart-toast {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  padding: 14px 16px 18px;
  min-width: 280px;
  max-width: 360px;
  border-left: 4px solid var(--primary);
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  overflow: hidden;
}
.cart-toast.cart-toast-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cart-toast-icon {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  line-height: 1;
}
.cart-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cart-toast-msg {
  font-size: 14px;
  font-weight: 600;
  color: #1a2340;
}
.cart-toast-view-btn {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 8px;
  padding: 5px 14px;
  text-decoration: none;
  width: fit-content;
  transition: background .2s;
}
.cart-toast-view-btn:hover { background: var(--primary-dark, #008a82); color: #fff; }
.cart-toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #b0b8c9;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  align-self: flex-start;
  flex-shrink: 0;
}
.cart-toast-close:hover { color: #e04040; }
.cart-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #f0f2f7;
}
.cart-toast-progress-bar {
  height: 100%;
  background: var(--primary);
  width: 100%;
  transform-origin: left;
}
@media (max-width: 600px) {
  .cart-toast { left: 16px; right: 16px; top: 72px; min-width: 0; max-width: none; }
}

/* ═══ ADDRESS BOOK ═══ */
.addr-add-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.addr-add-btn:hover { background: var(--primary-dark); }

.addr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.addr-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  transition: border-color .2s, box-shadow .2s;
}
.addr-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,215,202,.12);
}
.addr-card-default {
  border-color: var(--primary);
  background: #f0fffe;
}

.addr-default-badge {
  display: inline-flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 8px;
  letter-spacing: .03em;
}

.addr-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.addr-name {
  font-size: .95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}
.addr-line {
  font-size: .83rem;
  color: #64748b;
  margin-bottom: 1px;
}

.addr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e2e8f0;
}
.addr-action-btn {
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}
.addr-action-btn:hover { opacity: .8; }
.addr-edit-btn    { background: #e8f4ff; color: #2563eb; }
.addr-default-btn { background: #fef9c3; color: #854d0e; }
.addr-del-btn     { background: #fee2e2; color: #b91c1c; }

/* Address Modal */
.addr-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.addr-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.addr-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
}
.addr-modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.addr-modal-close:hover { color: #ef4444; background: #fee2e2; }
.addr-modal-body { padding: 20px 24px 0; }
.addr-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 16px 24px 20px;
  margin-top: 16px;
}
.addr-cancel-btn {
  background: #f1f5f9;
  color: #64748b;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 600;
  cursor: pointer;
}
.addr-cancel-btn:hover { background: #e2e8f0; }
.addr-save-btn { min-width: 140px; }

.addr-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: #475569;
  cursor: pointer;
}
.addr-check-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

@media (max-width: 600px) {
  .addr-grid { grid-template-columns: 1fr; }
  .addr-modal-footer { flex-direction: column-reverse; }
  .addr-save-btn, .addr-cancel-btn { width: 100%; }
}

/* ── SITE TOAST NOTIFICATIONS ─────────────────── */
.site-toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  pointer-events: none;
}
.site-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.13);
  border-left: 4px solid #94a3b8;
  pointer-events: all;
  animation: site-toast-in .3s cubic-bezier(.21,1.02,.73,1) forwards;
}
.site-toast.site-toast-hiding {
  animation: site-toast-out .3s ease forwards;
}
@keyframes site-toast-in {
  from { opacity: 0; transform: translateX(60px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes site-toast-out {
  from { opacity: 1; transform: translateX(0); max-height: 80px; margin-bottom: 0; }
  to   { opacity: 0; transform: translateX(60px); max-height: 0; margin-bottom: -10px; padding-top: 0; padding-bottom: 0; }
}
.site-toast-success { border-color: #22c55e; }
.site-toast-error   { border-color: #ef4444; }
.site-toast-warning { border-color: #f59e0b; }
.site-toast-info    { border-color: #3b82f6; }
.site-toast-icon { font-size: 20px; flex-shrink: 0; }
.site-toast-success .site-toast-icon { color: #22c55e; }
.site-toast-error   .site-toast-icon { color: #ef4444; }
.site-toast-warning .site-toast-icon { color: #f59e0b; }
.site-toast-info    .site-toast-icon { color: #3b82f6; }
.site-toast-body {
  flex: 1;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.4;
  font-weight: 500;
}
.site-toast-close {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 13px;
  flex-shrink: 0;
  line-height: 1;
  border-radius: 4px;
  transition: color .15s, background .15s;
}
.site-toast-close:hover { color: #374151; background: #f3f4f6; }

/* progress bar for auto-dismiss */
.site-toast::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 0 0 0 8px;
  background: currentColor;
  opacity: .25;
  animation: site-toast-progress 5s linear forwards;
  width: 100%;
}
.site-toast { position: relative; overflow: hidden; }
@keyframes site-toast-progress {
  from { width: 100%; }
  to   { width: 0%; }
}

@media (max-width: 480px) {
  .site-toast-container { left: 12px; right: 12px; top: 12px; max-width: none; }
  .site-toast { font-size: 13px; }
}

/* ── FORM VALIDATION ───────────────────────────────── */
.form-submitted input:invalid,
.form-submitted textarea:invalid,
.form-submitted select:invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}
input:user-invalid,
textarea:user-invalid,
select:user-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}

/* Custom Select2 */ 
/* Main container */ 
.select2-container .select2-selection--single { 
  height: calc(2.25rem + 2px) !important; 
  padding: 0.375rem 0.75rem; border: 1px solid #ced4da !important; 
  border-radius: 0.375rem !important; 
  display: flex !important; 
  align-items: center !important; 
  background-color: #fff !important; 
} 
/* Text */ 
.select2-container--default .select2-selection--single .select2-selection__rendered { 
  color: #212529 !important; 
  line-height: normal !important; 
  padding-left: 0 !important; 
} 
/* Arrow */ 
.select2-container--default .select2-selection--single .select2-selection__arrow { 
  height: 100% !important; 
  right: 10px !important; 
} 
/* Focus state */ 
.select2-container--default.select2-container--focus .select2-selection--single { 
  border-color: #86b7fe !important; 
  box-shadow: 0 0 0 0.25rem rgba(13,110,253,.25) !important; 
} 
/* Dropdown */ 
.select2-dropdown { 
  border: 1px solid #ced4da !important; 
  border-radius: 0.375rem !important; 
} 
