/* ================================================================
   THEME.CSS — Global Stylesheet
   Modern E-Commerce Theme
   Single file for all theme styles. Dynamic accent color is set
   via an inline :root block in base.php using PHP config value.
   ================================================================ */

/* ---- 1. CSS Variables (non-dynamic) ---- */
:root {
  --bg: #f7f4ff;
  --surface: #ffffff;
  --text: #1e1b4b;
  --text-muted: #6d6886;
  --border: #ddd6fe;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --shadow-sm: 0 1px 4px rgba(91,33,182,.07);
  --shadow: 0 4px 24px rgba(91,33,182,.10);
  --shadow-lg: 0 8px 40px rgba(91,33,182,.18);
  --nav-h: 72px;
  --transition: 0.2s ease;
  --font: 'Inter', 'Segoe UI', sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:not(.no-loader) > *:not(.body-preloader) { opacity: 0; }
body.no-loader > * { opacity: 1 !important; }
body.no-loader .body-preloader { opacity: 0 !important; visibility: hidden; pointer-events: none; }

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark, #0060cc); text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-top: 0;
  margin-bottom: 0.5em;
}

/* Scope Bootstrap row min-width fix to page content only, not header */
.page-content .row,
.page-footer .row { min-width: 100%; }
.hdr .row { min-width: 0; }

/* ---- 3. Preloader ---- */
.body-preloader {
  position: fixed;
  z-index: 10000;
  top: 0; bottom: 0; left: 0; right: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s, visibility 0.4s;
}
.loader-wrap { text-align: center; }
.loader-wrap .dot {
  display: inline-block;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--accent, #3b82f6);
  margin: 0 4px;
  animation: dotBounce 0.55s alternate infinite;
}
.loader-wrap .dot.two  { animation-delay: 0.18s; background: #a78bfa; }
.loader-wrap .dot.three{ animation-delay: 0.36s; background: #ec4899; }
@keyframes dotBounce { 0% { transform: translateY(0); } 100% { transform: translateY(-14px); } }

/* ---- 4. Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid var(--accent, #3b82f6);
  background: var(--accent, #3b82f6);
  color: #fff;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.btn:hover, .btn:focus {
  background: var(--accent-dark, #2563eb);
  border-color: var(--accent-dark, #2563eb);
  color: #fff;
  text-decoration: none;
}
.btn--alt {
  background: transparent;
  color: var(--accent, #3b82f6);
}
.btn--alt:hover { background: var(--accent, #3b82f6); color: #fff; }
.btn--full { width: 100%; }
.btn--lg { padding: 13px 28px; font-size: 15px; }
.btn--grey {
  background: #ede9fe;
  border-color: #ddd6fe;
  color: var(--text);
}
.btn--grey:hover { background: #ddd6fe; border-color: #c4b5fd; color: var(--text); }
.btn-decor {
  background: var(--accent, #3b82f6);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background var(--transition);
  font-family: var(--font);
}
.btn-decor:hover { background: var(--accent-dark, #2563eb); }

/* ---- 5. Form Elements ---- */
.form-control {
  display: block;
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  line-height: 1.5;
}
.form-control:focus {
  border-color: var(--accent, #3b82f6);
  box-shadow: 0 0 0 3px var(--accent-light, rgba(59,130,246,.12));
}
.form-control::placeholder { color: #94a3b8; }
.form-group { margin-bottom: 16px; }
textarea.form-control { resize: vertical; min-height: 100px; }
textarea.textarea--height-200 { min-height: 200px; }
label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
select.form-control { cursor: pointer; }
.input-sm { font-size: 13px; padding: 7px 12px; }

/* ---- 6. Alerts ---- */
.alert-danger {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 16px;
}

/* ---- 7. Announcement Bar ---- */
.announce-bar {
  background: var(--accent, #3b82f6);
  color: #fff;
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.announce-bar marquee b { font-weight: 600; }

/* ---- 8. Navigation Header ---- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow 0.25s ease;
}
.hdr.hdr--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

/* Top utility bar */
.hdr-topline {
  background: #1e1b4b;
  color: rgba(255,255,255,0.75);
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  max-height: 40px;
  transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.25s ease;
  opacity: 1;
}
.hdr.hdr--scrolled .hdr-topline {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

/* Nav bar height shrinks when scrolled */
.hdr-desktop .hdr-content .container {
  transition: height 0.3s ease;
}
.hdr.hdr--scrolled .hdr-desktop .hdr-content .container {
  height: 56px;
}
.hdr.hdr--scrolled .logo-holder img {
  max-height: 36px;
  transition: max-height 0.3s ease;
}
.hdr-topline .row { align-items: center; }
.hdr-topline .custom-text { color: rgba(255,255,255,.85); }
.hdr-topline .custom-text span { color: #fff; font-weight: 700; }
.hdr-topline-center { text-align: center; }
.hdr-topline-right { display: flex; align-items: center; justify-content: flex-end; }
.dropdn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  transition: color var(--transition);
}
.dropdn-link:hover { color: #fff; }
.dropdn-link i { font-size: 15px; }

/* Main nav bar */
.hdr-desktop .hdr-content .container {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;   /* single row always */
  height: var(--nav-h);
  gap: 12px;
  padding-left: 15px;
  padding-right: 15px;
}

/* Logo */
.logo-holder, .logo-holder-s { flex-shrink: 0; }
.logo-holder img, .logo-holder-s img { max-height: 46px; max-width: 160px; width: auto; display: block; }

/* Nav links */
.nav-holder { flex: 1; min-width: 0; overflow: visible; }
.hdr-nav { display: flex; overflow: visible; }
.mmenu {
  display: flex;
  flex-wrap: nowrap;   /* never wrap to second row */
  gap: 0;
  margin: 0; padding: 0;
  overflow: visible;   /* needed so More submenu can drop below */
  align-items: center;
}
.mmenu-item--simple { position: relative; flex-shrink: 1; }
.mmenu-item--simple > a {
  display: block;
  padding: 7px 11px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}
.mmenu-item--simple > a:hover,
.mmenu-item--simple.is-hovered > a {
  color: var(--accent, #3b82f6);
  background: var(--accent-light, rgba(59,130,246,.1));
}

/* "More ▾" overflow item */
.js-more-item > a.js-more-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 11px;
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  background: var(--bg);
}
.js-more-item > a.js-more-toggle:hover,
.js-more-item.is-hovered > a.js-more-toggle {
  color: var(--accent, #3b82f6);
  border-color: var(--accent, #3b82f6);
  background: var(--accent-light, rgba(59,130,246,.08));
}
.js-more-item.is-hovered .js-more-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu dropdown */
.mmenu-submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 300;
}
.mmenu-item--simple:hover .mmenu-submenu,
.mmenu-item--simple.is-hovered .mmenu-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu-list li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 13.5px;
  color: var(--text);
  transition: all var(--transition);
}
.submenu-list li a:hover { color: var(--accent, #3b82f6); background: var(--accent-light, rgba(59,130,246,.08)); }

/* Hide unused nav scroll arrows */
.prev-menu-scroll, .next-menu-scroll { display: none !important; }

/* Mini cart */
.minicart-holder,
.col-auto.minicart-holder { flex-shrink: 0; flex: 0 0 auto; max-width: none; padding: 0; }
.minicart { position: relative; }
.minicart-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--accent, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition);
}
.minicart-link:hover { background: var(--accent-dark, #2563eb); color: #fff; }
.minicart-link i { font-size: 19px; }
.minicart-qty {
  background: rgba(255,255,255,.25);
  border-radius: 50%;
  width: 22px; height: 22px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
}
.minicart-title { font-size: 13px; }
.minicart-total { font-size: 13px; opacity: 0.88; }

/* Mini cart dropdown panel */
.minicart-drop {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 500;
}
.minicart.is-hovered .minicart-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.minicart-drop-close {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  cursor: pointer;
  text-align: right;
  margin-bottom: 12px;
}
.minicart-drop-content h3 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.minicart-prd {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.minicart-prd-image img {
  width: 64px; height: 64px;
  object-fit: cover;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
}
.minicart-prd-name h2 {
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--text);
}
.minicart-prd-name h5 {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0 0 4px;
}
.minicart-prd-price {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}
.minicart-prd-action a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 12px;
  transition: all var(--transition);
}
.minicart-prd-action a:hover { background: #fee2e2; color: #ef4444; }
.minicart-drop-total { padding-top: 16px; }
.minicart-drop-summa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 600;
}
.minicart-drop-summa span { color: var(--text-muted); font-weight: 400; }
.minicart-drop-summa b { font-size: 19px; color: var(--accent, #3b82f6); }
.minicart-drop-btns-wrap { display: flex; gap: 10px; }
.minicart-drop-btns-wrap .btn { flex: 1; font-size: 13px; padding: 9px 14px; }

/* ---- 9. Mobile Header ---- */
.hdr-mobile { display: none; border-bottom: 1px solid var(--border); }
.hdr-mobile .hdr-content .container {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 12px;
}
.menu-toggle a {
  font-size: 22px;
  color: var(--text);
  display: flex;
  align-items: center;
  line-height: 1;
}
.hdr-mobile .logo-holder { flex: 1; text-align: center; }
.hdr-mobile .logo-holder img { max-height: 40px; margin: 0 auto; }
.hdr-mobile-right { display: flex; align-items: center; gap: 4px; }
.hdr-mobile-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: background var(--transition);
}
.hdr-mobile-right a:hover { background: var(--bg); }

/* ---- 10. Mobile Menu Drawer ---- */
.mobilemenu {
  position: fixed;
  top: 0;
  left: -310px;
  width: 290px;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  transition: left 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mobilemenu.is-open,
.mobilemenu.active { left: 0; }
.mobilemenu-content { display: flex; flex-direction: column; height: 100%; }
.mobilemenu-close {
  padding: 16px 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobilemenu-close::after { content: '✕'; font-size: 16px; color: var(--text); }
.mobilemenu-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobilemenu-bottom, .mobilemenu-search { display: none; }

/* ── Mobile push-menu slide mechanics ───────────────────────── */
.nav-wrapper {
  overflow: hidden;
  position: relative;
  transition: height 0.3s ease;
}
.nav-wrapper > ul.nav {
  position: relative;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

/* Back-button bar — hidden until a submenu is entered */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: color-mix(in srgb, var(--accent) 8%, #fff);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  box-sizing: border-box;
  min-height: 46px;
}
.nav-toggle.back-visible { display: flex; }
.nav-back {
  display: flex;
  align-items: center;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}
.nav-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .04em;
  flex: 1;
}

/* Level-1 items — li must NOT be position:relative so nav-level-2
   uses nav-level-1 (position:relative) as its containing block */
.nav-level-1 > li { position: static; }
.nav-level-1 > li > a {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-level-1 > li > a:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}

/* Chevron arrow — ::after on <a> so it needs no positioned <li> */
.nav-level-1 > li .arrow { display: none; }
.nav-level-1 > li:has(.nav-level-2) > a::after {
  content: '';
  display: inline-block;
  width: 7px; height: 7px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(-45deg);
  margin-left: auto;
  flex-shrink: 0;
}

/* Level-2 submenu — sits immediately to the right of nav-level-1 */
.nav-level-2 {
  position: absolute;
  top: 0; left: 100%;
  width: 100%;
  background: var(--surface);
  z-index: 1;
  min-height: 100%;
}
.nav-level-2 li a {
  display: block;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: color var(--transition), background var(--transition);
}
.nav-level-2 li a:hover {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 6%, #fff);
}

/* ---- 11. Page & Layout ---- */
.page-content { min-height: 60vh; }
.holder { padding: 40px 0; }
.holder.mt-0 { padding-top: 0; }
.fullwidth { padding-left: 0 !important; padding-right: 0 !important; }
.full-nopad { padding: 0 !important; }

/* ---- 12. Breadcrumbs ---- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0 12px;
  margin: 0;
  align-items: center;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumbs li::after {
  content: '/';
  margin: 0 8px;
  opacity: 0.4;
}
.breadcrumbs li:last-child::after { display: none; }
.breadcrumbs a { color: var(--text-muted); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--accent, #3b82f6); }
.breadcrumbs span { color: var(--text); font-weight: 500; }

/* ---- 13. Hero Slider ---- */
.hero-section {
  background: #1e1b4b;
  position: relative;
  overflow: hidden;
  width: 100%;
  line-height: 0;
}
.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item { width: 100%; }
.hero-section .carousel-item img {
  width: 100%;
  height: clamp(360px, 44vw, 580px);
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 24px;
  opacity: 1;
  bottom: auto;
  transition: background .2s, transform .2s;
}
.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.08);
}
.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon { width: 20px; height: 20px; }
.hero-section .carousel-indicators { bottom: 18px; }
.hero-section .carousel-indicators li {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin: 0 4px;
  background: rgba(255,255,255,.45);
  border: none;
  transition: background .2s, transform .2s, width .2s;
}
.hero-section .carousel-indicators li.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
  transform: none;
}
@media (max-width: 768px) {
  .hero-section .carousel-item img {
    height: clamp(240px, 56vw, 420px);
    object-position: center center;
  }
  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next { width: 36px; height: 36px; margin: 0 10px; }
  .hero-section .carousel-control-prev-icon,
  .hero-section .carousel-control-next-icon { width: 16px; height: 16px; }
}
@media (max-width: 480px) {
  .hero-section .carousel-item img {
    height: clamp(200px, 62vw, 280px);
  }
  .hero-section .carousel-indicators { bottom: 10px; }
}

/* ---- 14. Home Section Header ---- */
.home-section-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.home-section-hdr::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--accent, #3b82f6);
}
.section-hdr-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Carousel prev / next arrow buttons */
.carousel-nav {
  display: flex;
  gap: 6px;
}
.cnav-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.cnav-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.cnav-btn:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.home-section-hdr h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent, #3b82f6);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.view-all-link:hover { gap: 8px; color: var(--accent-dark, #2563eb); }

/* ---- 15. Category Grid (Home) ---- */
.cat-grid-section {
  padding: 60px 0 52px;
  background: var(--surface);
}
.cat-grid-hdr {
  text-align: center;
  margin-bottom: 40px;
}
.cat-grid-hdr h2 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  letter-spacing: -.6px;
}
.cat-grid-hdr p {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0;
}
.cat-grid-hdr-line {
  display: inline-block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 14px;
}
.cat-grid-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.cat-grid-scroll::-webkit-scrollbar { display: none; }
.cat-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  width: max-content;
  margin: 0 auto;
  padding: 4px 2px 4px;
}
.cat-gc {
  display: block;
  text-decoration: none !important;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex: 0 0 175px;
  width: 175px;
  aspect-ratio: 3/4;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.cat-gc:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-lg);
}
.cat-gc-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.cat-gc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.cat-gc:hover .cat-gc-media img { transform: scale(1.09); }
.cat-gc-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-gc-letter {
  font-size: 72px;
  font-weight: 800;
  color: rgba(255,255,255,.9);
  line-height: 1;
  text-shadow: 0 4px 16px rgba(0,0,0,.2);
  user-select: none;
}
.cat-gc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 16px 18px;
  background: linear-gradient(to top, rgba(15,10,40,.80) 0%, rgba(15,10,40,.18) 70%, transparent 100%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cat-gc-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-gc-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.cat-gc-cta svg { flex-shrink: 0; transition: transform 0.2s ease; }
.cat-gc:hover .cat-gc-cta { opacity: 1; transform: translateY(0); }
.cat-gc:hover .cat-gc-cta svg { transform: translateX(3px); }
@media (max-width: 767px) {
  .cat-grid-section { padding: 40px 0 32px; }
  .cat-grid-hdr h2 { font-size: 22px; }
  .cat-grid-hdr { margin-bottom: 24px; }
  .cat-gc { flex: 0 0 140px; width: 140px; }
  .cat-gc-letter { font-size: 52px; }
  .cat-gc-name { font-size: 13px; }
  .cat-grid { gap: 12px; }
}
@media (max-width: 480px) {
  .cat-gc { flex: 0 0 120px; width: 120px; }
  .cat-gc-letter { font-size: 42px; }
  .cat-grid { gap: 10px; }
}

/* ---- 16. Product Cards ---- */
.prd-grid:not(.prd-carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 20px;
}

/* Slick carousel resets */
.prd-carousel { display: block !important; }
.prd-carousel-wrap { position: relative; overflow: hidden; }
.prd-carousel .slick-list { overflow: hidden; }
.prd-carousel .slick-slide { padding: 0 8px; }
.prd-carousel.slick-initialized .prd { margin: 5px; }

/* Pre-init fallback */
.prd-carousel:not(.slick-initialized) {
  display: flex !important;
  flex-wrap: nowrap;
  overflow: hidden;
  gap: 16px;
}
.prd-carousel:not(.slick-initialized) .prd { flex: 0 0 calc(25% - 12px); min-width: 0; }

/* View-all pill */
.section-viewall-wrap { text-align: center; margin-top: 24px; }
.btn-viewall {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 28px;
  border: 1.5px solid var(--border);
  border-radius: 30px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface);
  transition: all var(--transition);
  text-decoration: none;
}
.btn-viewall:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

/* Card shell */
.prd {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  height: 100%;
  position: relative;
}
.prd:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.11);
}
.prd-inside { display: flex; flex-direction: column; height: 100%; }
.prd-has-loader .prd-inside { position: relative; }

/* Image area */
.prd-img-area {
  position: relative;
  overflow: hidden;
  background: #f3f0ff;
  aspect-ratio: 4 / 3;
}
.prd-img { display: block; width: 100%; height: 100%; }
.prd-img img, .prd-img .js-prd-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
/* Placeholder SVG gets contain so the illustration isn't cropped */
.prd-img img[src$="no-product.svg"],
.prd-img .js-prd-img[src$="no-product.svg"] {
  object-fit: contain;
  padding: 16px;
}
.prd:hover .prd-img img,
.prd:hover .prd-img .js-prd-img { transform: scale(1.08); }

/* Badges (NEW, SALE, etc.) */
.prd-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; flex-direction: column; gap: 5px;
  z-index: 3;
}
.badge-new {
  display: inline-block;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-sale {
  display: inline-block;
  background: #f43f5e;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
}

/* Wishlist pill — slides in on card hover */
.prd-wish {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 14px;
  z-index: 3;
  text-decoration: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, color 0.15s ease, background 0.15s ease;
}
.prd:hover .prd-wish { opacity: 1; transform: translateX(0); }
.prd-wish:hover { color: #f43f5e; background: #fff; }

.gdw-loader, .ezp-spinner { display: none !important; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Card info area */
.prd-info {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

/* Star rating (static display) */
.prd-stars {
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #fbbf24;
  line-height: 1;
}
.prd-stars span { font-size: 11px; color: var(--text-muted); margin-left: 4px; letter-spacing: 0; }

/* Title — 2-line clamp */
.prd-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prd-title a { color: var(--text); text-decoration: none; }
.prd-title a:hover { color: var(--accent, #3b82f6); }

/* Price + cart CTA row */
.prd-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.prd-price-row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-new { font-size: 17px; font-weight: 800; color: var(--text); }
.price-old { font-size: 12.5px; color: var(--text-muted); text-decoration: line-through; }
.prd-cart-btn {
  flex-shrink: 0;
  width: 38px; height: 38px;
  background: var(--accent, #3b82f6);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.prd-cart-btn:hover {
  background: var(--accent-dark, #1d4ed8);
  color: #fff;
  transform: scale(1.1);
}

/* Legacy hover-only action (kept for view-category.php) */
.prd-hover { margin-top: auto; }
.prd-action { margin-top: 10px; }
.prd-action .btn { width: 100%; font-size: 13px; padding: 9px 14px; }
.prd-options { margin-top: 8px; }
.prd-options .label-options {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 5px;
}
.list-options { display: flex; gap: 5px; flex-wrap: wrap; margin: 0; padding: 0; }
.size-swatch li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 11.5px;
  color: var(--text);
  transition: all var(--transition);
}
.size-swatch li:hover span { border-color: var(--accent, #3b82f6); color: var(--accent, #3b82f6); }

/* Grid loader */
.prd-grid-wrap { position: relative; }
.prd-grid-wrap .loader-wrap {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}
.prd-grid-wrap.is-loading .loader-wrap { opacity: 1; pointer-events: auto; }
.filter-row.invisible { visibility: visible; }
.prd-hidemobile { }

/* label-new kept for view-category.php grid */
.label-new {
  position: absolute;
  top: 10px; left: 10px;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}
.label-wishlist {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
  z-index: 2;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.15s ease;
}
.prd:hover .label-wishlist { opacity: 1; }
.label-wishlist:hover { color: #f43f5e; background: #fff; }

/* ---- 17. Category / Shop Page ---- */
.page-title h1 {
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  margin: 16px 0 28px;
}

/* Filter sidebar */
.aside--left { padding-right: 16px; }
.fixed-col_container { position: sticky; top: calc(var(--nav-h) + 16px); }
.sidebar-block {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 14px;
  overflow: hidden;
}
.sidebar-block_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  user-select: none;
  background: var(--surface);
}
.sidebar-block_title span {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text);
}
.toggle-arrow {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-muted);
  transition: transform var(--transition), background var(--transition);
  flex-shrink: 0;
}
.toggle-arrow::before { content: '▼'; }
.sidebar-block.collapsed .toggle-arrow { transform: rotate(-90deg); }
.sidebar-block.collapsed .sidebar-block_content { display: none; }
.sidebar-block_content { padding: 4px 16px 16px; }

.category-list { margin: 0; padding: 0; }
.category-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.category-list li:last-child { border-bottom: none; }
.category-list li a {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}
.category-list li a:hover,
.category-list li.active a { color: var(--accent, #3b82f6); font-weight: 500; }

.sidebar-block--mobile { display: none; }

/* Filter close button (mobile) */
.filter-close {
  display: none;
  padding: 14px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--accent, #3b82f6);
  color: #fff;
}

/* Mobile filter toggle */
.filter-button { display: none; }
.filter-button a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}
.filter-button a:hover { border-color: var(--accent, #3b82f6); color: var(--accent, #3b82f6); }

.filter-row { margin-bottom: 20px; }

/* Sort/view bar */
.sort-by-holder { display: flex; align-items: center; gap: 10px; }
.select-label { font-size: 13px; font-weight: 500; color: var(--text-muted); }
.select-wrapper-sm .form-control { width: auto; padding: 7px 12px; }

/* Price range slider */
.ui-slider { height: 4px; background: var(--border); border-radius: 2px; margin: 16px 6px; position: relative; }
.ui-slider-range { background: var(--accent, #3b82f6); height: 100%; position: absolute; }
.ui-slider-handle {
  width: 16px; height: 16px;
  background: var(--accent, #3b82f6);
  border-radius: 50%;
  position: absolute;
  top: -6px;
  margin-left: -8px;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  transition: transform var(--transition);
}
.ui-slider-handle:hover { transform: scale(1.2); }
.price-filter-values { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--text); margin-top: 12px; }

/* ---- 18. Cart Page ---- */
.cart-table { width: 100%; }
.cart-table-prd {
  display: grid;
  grid-template-columns: 96px 1fr repeat(4, auto) 44px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.cart-table-prd-image img {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
}
.cart-table-prd-name h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 5px;
}
.cart-table-prd-name h2 a { color: var(--text); }
.cart-table-prd-name h2 a:hover { color: var(--accent, #3b82f6); }
.cart-table-prd-name h5 {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0;
}
.cart-table-prd-qty { text-align: center; }
.cart-table-prd-qty span,
.cart-table-prd-price span {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 3px;
}
.cart-table-prd-qty b { font-size: 15px; font-weight: 700; }
.cart-table-prd-price b { font-size: 15px; font-weight: 700; color: var(--accent, #3b82f6); }
.cart-table-prd-action { display: flex; gap: 6px; }
.cart-table-prd-action a {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 13px;
  transition: all var(--transition);
  border: 1px solid var(--border);
}
.cart-table-prd-action .icon-cross:hover { background: #fee2e2; color: #ef4444; border-color: #fca5a5; }
.cart-table-prd-action .icon-heart:hover { background: #fce7f3; color: #ec4899; border-color: #fbcfe8; }

.cart-table-total {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cart sidebar totals */
.card-total {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}
.card-total-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent, #3b82f6);
  text-transform: none;
  letter-spacing: 0;
}
.card-total-price small { font-size: 14px; font-weight: 400; margin-left: 4px; }
.card-total-price s { color: var(--text-muted); }

/* Cart sidebar block tweaks */
.sidebar-block .sidebar-block_content { padding: 16px; }
.sidebar-block.open .sidebar-block_content { display: block; }

/* ---- 19. Login / Auth Pages ---- */
.login-wrapper {
  max-width: 960px;
  margin: 40px auto;
}
#loginForm, #recoverPasswordForm {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  /*box-shadow: var(--shadow);
  border: 1px solid var(--border);*/
}
#loginForm h2, #recoverPasswordForm h2 {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.form-wrapper > p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}
.col-divider {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  align-self: stretch;
  margin: 0 8px;
}
.register-panel {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.register-panel h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.register-panel .form-wrapper { flex: 1; }
.register-panel p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.js-toggle-forms { font-size: 13px; color: var(--accent, #3b82f6); font-weight: 500; }
.js-toggle-forms:hover { text-decoration: underline; }
.d-none { display: none !important; }

/* ---- 20. Product Detail Page ---- */
.prd-block { padding: 32px 0; }
.prd-block_title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.prd-block__labels { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.prd-label--new {
  background: #10b981;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
}
.prd-label--sale {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
}
.prd-block_info-top {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.product-sku { font-size: 13px; color: var(--text-muted); }
.product-sku span { font-weight: 600; color: var(--text); }
.prd-review-link {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.prd-review-link i { color: #fbbf24; font-size: 13px; }
.prd-review-link i.icon-star { color: #e2e8f0; }
.prd-availability { font-size: 13px; }
.prd-availability span { font-weight: 600; color: #10b981; }

.prd-block_description {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.prd-block_description.topline { padding-top: 16px; border-top: 1px solid var(--border); }

.prd-block_price { margin-bottom: 20px; }
.prd-block_price--actual { font-size: 30px; font-weight: 800; color: var(--accent, #3b82f6); letter-spacing: -0.02em; }
.prd-block_price--old { font-size: 17px; color: var(--text-muted); text-decoration: line-through; margin-left: 10px; }

.prd-color, .prd-size { margin-bottom: 18px; }
.option-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: block;
}

/* Color swatches */
.color-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; padding: 0; }
.color-code {
  display: block;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  box-shadow: 0 0 0 2px var(--border);
  cursor: pointer;
  transition: all var(--transition);
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
.color-code.active, .color-code:hover { box-shadow: 0 0 0 2px var(--accent, #3b82f6); }
.color-code .value { display: none; }
.color-code { background: #aaa; } /* fallback */

/* Size swatch */
.size-list, .js-size-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0; padding: 0;
}
.size-list li a, .js-size-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 7px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  background: #fff;
}
.size-list li a:hover, .js-size-list li a:hover,
.size-list li a.active, .js-size-list li a.active {
  border-color: var(--accent, #3b82f6);
  color: var(--accent, #3b82f6);
  background: var(--accent-light, rgba(59,130,246,.08));
}

/* Qty changer */
.prd-block_qty { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.qty-changer {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #fff;
}
.qty-changer fieldset { border: none; margin: 0; padding: 0; display: flex; align-items: center; }
.qty-changer input[type=button] {
  width: 38px; height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  transition: background var(--transition);
  outline: none;
  font-family: var(--font);
}
.qty-changer input[type=button]:hover { background: var(--accent-light, rgba(59,130,246,.1)); }
.qty-input {
  width: 54px; height: 42px;
  border: none;
  border-left: 1.5px solid var(--border);
  border-right: 1.5px solid var(--border);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  outline: none;
  background: #fff;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-changer.qty-changer--lg input[type=button] { width: 44px; height: 48px; }
.qty-changer.qty-changer--lg .qty-input { width: 60px; height: 48px; }

.prd-block_actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.prd-block_actions.topline { padding-top: 20px; border-top: 1px solid var(--border); }
.btn-wrap { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--add-to-cart { min-width: 180px; font-size: 15px; padding: 13px 28px; }
.prd-block_options.topline { padding-top: 20px; border-top: 1px solid var(--border); }

/* Product gallery */
.prd-block_main-image-holder {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 1 / 1;
  background: #f3f0ff;
  position: relative;
}
.prd-block_main-image-holder img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.prd-block_main-image-video { display: none; }
.prd-block_main-image-next, .prd-block_main-image-prev { display: none; }

.product-previews-carousel {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.product-previews-carousel a {
  display: block;
  width: 74px; height: 74px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: border-color var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}
.product-previews-carousel a:hover,
.product-previews-carousel a.is-active { border-color: var(--accent, #3b82f6); }
.product-previews-carousel img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.prd-block_main-image-links {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.prd-block_main-image-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.prd-block_main-image-links a:hover { color: var(--accent, #3b82f6); }

/* Product sidebar features */
.sidebar-product { padding-left: 20px; }
.shop-features-style4 { display: flex; flex-direction: column; gap: 0; }
.shop-features-style4 .shop-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.shop-features-style4 .shop-feature:last-child { border-bottom: none; }
.shop-features-style4 .shop-feature-icon { font-size: 22px; color: var(--accent, #3b82f6); flex-shrink: 0; }
.shop-features-style4 .shop-feature-text .text1 { font-size: 13.5px; font-weight: 600; color: var(--text); }

/* Countdown / promo box */
.countdown-box {
  background: var(--accent, #3b82f6);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-top: 20px;
  text-align: center;
}
.countdown {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}
.promo-text {
  margin-top: 12px;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  text-align: center;
}
.promo-text .text1 { font-size: 20px; font-weight: 800; color: var(--accent, #3b82f6); }
.promo-text .text2 { font-size: 13px; color: var(--text-muted); }
.promo-text .text3 { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 4px; }

/* Share row */
.fa-whatsapp, .fa-facebook { transition: transform var(--transition); }
.fa-whatsapp:hover, .fa-facebook:hover { transform: scale(1.15); }

/* ---- 21. Footer ---- */
.page-footer {
  background: #1e1b4b;
  margin-top: 0;
  color: rgba(255,255,255,.65);
}

/* Trust strip */
.footer-trust {
  background: linear-gradient(135deg, var(--accent, #3b82f6), var(--accent-dark, #1d4ed8));
  padding: 0;
}
.footer-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.footer-trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255,255,255,.15);
  transition: background var(--transition);
}
.footer-trust-item:last-child { border-right: none; }
.footer-trust-item:hover { background: rgba(255,255,255,.08); }
.fti-icon {
  font-size: 26px;
  color: rgba(255,255,255,.9);
  flex-shrink: 0;
  line-height: 1;
}
.fti-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.fti-text span {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;
  display: block;
}

/* Newsletter */
.footer-newsletter {
  background: #261b5e;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0;
  flex-wrap: wrap;
}
.fn-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fn-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
  opacity: .85;
}
.fn-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.fn-sub {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
}
.fn-form {
  display: flex;
  gap: 0;
  flex: 0 0 auto;
  max-width: 420px;
  width: 100%;
}
.fn-input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: #fff;
  font-size: 13.5px;
  outline: none;
  transition: border-color var(--transition);
}
.fn-input::placeholder { color: rgba(255,255,255,.38); }
.fn-input:focus { border-color: var(--accent, #3b82f6); }
.fn-btn {
  padding: 12px 22px;
  background: var(--accent, #3b82f6);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.fn-btn:hover { background: var(--accent-dark, #1d4ed8); }

/* Main footer columns */
.footer-main { padding: 56px 0 40px; }
.footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}

/* Brand column */
.footer-logo-link { display: inline-block; margin-bottom: 16px; }
.footer-logo-img {
  max-height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .92;
}
.footer-tagline {
  font-size: 13.5px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin: 0 0 20px;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fsocial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.7);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--transition);
}
.fsocial-btn:hover {
  background: var(--accent, #3b82f6);
  border-color: var(--accent, #3b82f6);
  color: #fff;
  transform: translateY(-2px);
}

/* Nav columns */
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: default;
}
.footer-col-toggle {
  display: none;
  width: 18px; height: 18px;
  position: relative;
}
.footer-col-toggle::before,
.footer-col-toggle::after {
  content: '';
  position: absolute;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.footer-col-toggle::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.footer-col-toggle::after { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.footer-col.is-open .footer-col-toggle::after { opacity: 0; transform: translate(-50%,-50%) rotate(90deg); }

.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links li a {
  font-size: 13.5px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-links li a:hover {
  color: #fff;
  padding-left: 4px;
}

/* Contact column */
.footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.footer-contact li i {
  font-size: 15px;
  color: var(--accent, #3b82f6);
  margin-top: 2px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.footer-contact a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,.38);
  margin: 0;
}
.footer-copy a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-copy a:hover { color: #fff; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ---- 22. Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--accent, #3b82f6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 600;
  text-decoration: none;
}
.back-to-top.is-show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--accent-dark, #2563eb); color: #fff; transform: translateY(-3px); }
.js-back-to-top.is-show { opacity: 1; pointer-events: auto; }

/* ---- 23. Misc ---- */
.show-mobile { display: none !important; }
.hide-mobile { display: block !important; }
.sticky-holder { display: none; }
.modal--quickview { display: none !important; }
.prd-block_info { width: 100%; }

/* Marquee announcement */
.hdr-topline-center marquee { color: rgba(255,255,255,.85); }

/* CMS pages */
.pages-content { padding: 24px 0; }
.pages-content h1, .pages-content h2 { color: var(--text); }
.pages-content p { color: var(--text-muted); line-height: 1.8; }

/* Home category labels */
.bgcolor-1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.shop-features-style3 { width: 100%; }

/* ---- 24. Responsive Breakpoints ---- */
@media (max-width: 1200px) {
  .container { max-width: 100%; }
}

@media (max-width: 991px) {
  .hdr-desktop, .hide-mobile { display: none !important; }
  .hdr-mobile, .show-mobile { display: block !important; }
  .hdr-topline { display: none; }

  /* Filter sidebar on mobile becomes overlay */
  .aside--left {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 280px;
    height: 100vh;
    overflow-y: auto;
    z-index: 900;
    background: var(--surface);
    padding: 0;
    transition: left 0.3s ease;
  }
  .aside--left.open { display: block; }
  .aside--left .fixed-col_container { position: static; padding: 0; }
  .filter-close { display: block; }
  .filter-button { display: block; }
  .sidebar-block--mobile { display: block; }

  .cart-table-prd { grid-template-columns: 72px 1fr auto; }
  .cart-table-prd-qty, .cart-table-prd-price:nth-child(5),
  .cart-table-prd-price:nth-child(6) { display: none; }

  .prd-grid:not(.prd-carousel) { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prd-carousel:not(.slick-initialized) .prd { flex: 0 0 calc(50% - 8px); }
  .sidebar-product { padding-left: 0; margin-top: 24px; }
  .minicart-drop { width: 320px; }

  .fixed-col-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
  }
  .fixed-col-toggle::before { content: '⊞'; }

  /* Footer responsive — tablet */
  .footer-trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-trust-item:nth-child(2) { border-right: none; }
  .footer-trust-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-trust-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .footer-newsletter-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .fn-form { max-width: 100%; width: 100%; }
}

@media (max-width: 767px) {
  :root { --nav-h: 60px; }
  .col-divider { display: none; }
  #loginForm, #recoverPasswordForm { padding: 28px 20px; }
  .register-panel { padding: 28px 20px; }
  .form-wrapper > p { font-size: 13.5px; }
  .prd-grid:not(.prd-carousel) { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cart-table-prd { grid-template-columns: 64px 1fr auto; gap: 10px; }
  .prd-block_title { font-size: 22px; }
  .holder { padding: 24px 0; }
  .logo-holder img { max-height: 36px; }
  .page-title h1 { font-size: 22px; }
  .home-section-hdr h2 { font-size: 17px; }
  .prd-block_actions { flex-direction: column; }
  .prd-block_actions .btn { min-width: auto; }

  /* Footer responsive — mobile */
  .footer-trust-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .footer-trust-item { padding: 16px 14px; }
  .footer-trust-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .footer-trust-item:nth-child(even) { border-right: none; }
  .footer-trust-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .footer-cols { grid-template-columns: 1fr; gap: 0; }
  .footer-col--brand { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 4px; }
  .footer-main { padding: 32px 0 24px; }
  .footer-col-title { cursor: pointer; }
  .footer-col-toggle { display: block; }
  .footer-col-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0;
  }
  .footer-col.is-open .footer-col-body { max-height: 300px; margin-bottom: 8px; }
  .footer-col:not(.footer-col--brand):not(.footer-col--contact) {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-bottom: 4px;
    margin-bottom: 4px;
  }
  .footer-col--contact { padding-top: 4px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}

@media (max-width: 480px) {
  .minicart-title, .minicart-total { display: none; }
  .prd-grid:not(.prd-carousel) { gap: 8px; }
  .prd-info { padding: 10px 12px 12px; }
  .prd-title { font-size: 13px; }
  .price-new { font-size: 14px; }
  .footer-trust-grid { grid-template-columns: 1fr; }
  .footer-trust-item { border-right: none !important; border-top: 1px solid rgba(255,255,255,.1) !important; }
  .footer-trust-item:first-child { border-top: none !important; }
  .fn-form { flex-direction: column; }
  .fn-input { border-right: 1.5px solid rgba(255,255,255,.15); border-bottom: none; border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .fn-btn { border-radius: 0 0 var(--radius-sm) var(--radius-sm); padding: 12px; }
}

/* ---- Auth Pages (Login / Register) ---- */
.auth-wrap {
  padding: 5px 0 68px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card {
  display: flex;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  min-height: 480px;
}
.auth-card--wide { max-width: 980px; }
.auth-brand {
  width: 42%;
  flex-shrink: 0;
  background: linear-gradient(150deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 55%, #1e1b4b) 100%);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.auth-brand::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -90px;
  right: -90px;
  pointer-events: none;
}
.auth-brand::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  bottom: -60px;
  left: -60px;
  pointer-events: none;
}
.auth-brand-inner { position: relative; z-index: 1; }
.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 44px;
}
.auth-brand-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.auth-brand-logo-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.2px;
}
.auth-brand-title {
  font-size: 27px;
  font-weight: 800;
  color: #fff;
  line-height: 1.22;
  margin: 0 0 14px;
  letter-spacing: -.5px;
}
.auth-brand-sub {
  font-size: 13.5px;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin: 0 0 34px;
}
.auth-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.auth-perks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,.9);
  font-weight: 500;
}
.auth-perk-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.auth-form-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 52px 52px;
  overflow-y: auto;
}
.auth-form-inner { width: 100%; }
.auth-form-head { margin-bottom: 28px; }
.auth-form-head h1 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: -.5px;
}
.auth-form-head p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 0;
}
.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 20px;
  line-height: 1.5;
}
.auth-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.auth-alert--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.auth-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-forgot {
  font-size: 12.5px;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}
.auth-forgot:hover { color: var(--accent); text-decoration: underline; }
.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.auth-input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  line-height: 1;
}
.auth-input {
  width: 100%;
  padding: 12px 14px 12px 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  font-family: var(--font);
  -webkit-appearance: none;
}
.auth-input.no-icon { padding-left: 14px; }
.auth-input:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.auth-input::placeholder { color: var(--text-muted); opacity: .7; }
.auth-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236d6886' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  font-family: var(--font);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.auth-select:focus {
  border-color: var(--accent);
  background-color: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent);
}
.auth-eye {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color var(--transition);
}
.auth-eye:hover, .auth-eye.active { color: var(--accent); }
.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 24px;
  background: var(--accent);
  color: #fff !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none !important;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  font-family: var(--font);
  box-shadow: 0 3px 14px color-mix(in srgb, var(--accent) 35%, transparent);
  letter-spacing: -.1px;
}
.auth-btn:hover {
  opacity: .91;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
.auth-btn:active { transform: translateY(0); opacity: 1; }
.auth-btn--alt {
  background: var(--bg);
  color: var(--text) !important;
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.auth-btn--alt:hover { background: var(--border); opacity: 1; transform: none; }
.auth-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 13.5px;
  color: var(--text-muted);
}
.auth-bottom a {
  color: var(--accent);
  font-weight: 700;
  margin-left: 4px;
  text-decoration: none;
}
.auth-bottom a:hover { text-decoration: underline; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.auth-check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}
.auth-check-row input[type=checkbox] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.auth-check-row label { cursor: pointer; }
.auth-check-row a { color: var(--accent); font-weight: 600; }
@media (max-width: 767px) {
  .auth-brand { display: none; }
  .auth-form-panel { padding: 40px 32px; justify-content: flex-start; }
  .auth-wrap { padding: 32px 0 48px; align-items: flex-start; }
}
@media (max-width: 480px) {
  .auth-form-panel { padding: 28px 20px; }
  .auth-form-head h1 { font-size: 22px; }
  .auth-grid { grid-template-columns: 1fr; gap: 18px; }
  .auth-wrap { padding: 20px 0 40px; }
}
