/* ================================================================
   APP.CSS — Premium E-Commerce Design System v2.0
   ================================================================ */

/* ── Variables ── */
:root {
  --primary:      #1A1A1A;
  --primary-dark: #000000;
  --primary-xd:   #000000;
  --primary-light:#DCDCDC;
  --primary-pale: #F5F5F5;
  --accent:       #555555;
  --accent-dark:  #333333;
  --accent-light: #EEEEEE;
  --text:         #111111;
  --text-2:       #222222;
  --text-3:       #444444;
  --muted:        #777777;
  --muted-2:      #999999;
  --muted-3:      #C0C0C0;
  --bg:           #F8F8F8;
  --bg-2:         #F0F0F0;
  --bg-3:         #E8E8E8;
  --card:         #FFFFFF;
  --border:       #E0E0E0;
  --border-light: #EBEBEB;
  --success:      #16A34A;
  --success-light:#BBF7D0;
  --success-pale: #F0FDF4;
  --warning:      #D97706;
  --warning-light:#FDE68A;
  --warning-pale: #FFFBEB;
  --danger:       #DC2626;
  --danger-light: #FECACA;
  --danger-pale:  #FFF5F5;
  --purple:       #7C3AED;
  --purple-light: #EDE9FE;
  --cyan:         #0891B2;
  --cyan-light:   #CFFAFE;
  --indigo:       #4F46E5;
  --indigo-light: #E0E7FF;

  --r-xs: 4px;
  --r-sm:  10px;
  --r:     12px;
  --r-md:  14px;
  --r-lg:  16px;
  --r-xl: 12px;
  --r-2xl: 24px;
  --r-3xl: 32px;

  --sh-xs: 0 1px 2px rgba(15,23,42,.05);
  --sh-sm: 0 1px 3px rgba(15,23,42,.07),0 1px 2px rgba(15,23,42,.04);
  --sh:    0 4px 12px rgba(15,23,42,.08),0 2px 4px rgba(15,23,42,.04);
  --sh-md: 0 8px 24px rgba(15,23,42,.09),0 4px 8px rgba(15,23,42,.04);
  --sh-lg: 0 16px 48px rgba(15,23,42,.11),0 8px 16px rgba(15,23,42,.05);
  --sh-xl: 0 24px 64px rgba(15,23,42,.14),0 12px 24px rgba(15,23,42,.06);
  --sh-primary: 0 8px 28px rgba(0,0,0,.22);
  --sh-accent:  0 8px 28px rgba(0,0,0,.14);

  --tr:  .18s cubic-bezier(.4,0,.2,1);
  --tr-md: .28s cubic-bezier(.4,0,.2,1);
  --tr-lg: .4s cubic-bezier(.4,0,.2,1);
}

/* ── Base ── */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.6;
  font-size:14px;letter-spacing:-.005em;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{max-width:1320px}

/* ── Scrollbar ── */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:var(--bg-2)}
::-webkit-scrollbar-thumb{background:var(--muted-3);border-radius:99px}
::-webkit-scrollbar-thumb:hover{background:var(--muted-2)}

/* ── Typography ── */
.display-hero{font-size:clamp(2.2rem,5vw,3.6rem);font-weight:800;line-height:1.12;letter-spacing:-.03em}
.display-section{font-size:clamp(1.4rem,3vw,2rem);font-weight:800;letter-spacing:-.02em}
.section-eyebrow{font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--primary);display:inline-flex;align-items:center;gap:.4rem}

/* ── Cards ── */
.soft-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-sm);
  transition:box-shadow var(--tr),transform var(--tr);
}
.soft-card.hoverable:hover{box-shadow:var(--sh-md);transform:translateY(-2px)}

/* ── Buttons ── */
.btn{
  border-radius:4px;
  font-weight:600;
  font-size:.84rem;letter-spacing:-.01em;
  padding:.55rem 1.1rem;
  transition:all var(--tr);
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.btn::after{
  content:'';position:absolute;inset:0;
  background:rgba(255,255,255,.15);
  opacity:0;transition:opacity var(--tr);
}
.btn:hover::after{opacity:1}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  border:none;color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.22);
}
.btn-primary:hover{
  background:linear-gradient(135deg,var(--primary-dark),var(--primary-xd));
  box-shadow:var(--sh-primary);color:#fff;
}
.btn-accent{
  background:linear-gradient(135deg,var(--accent),var(--accent-dark));
  border:none;color:#fff;
  box-shadow:0 4px 14px rgba(0,0,0,.16);
}
.btn-accent:hover{box-shadow:var(--sh-accent);color:#fff}
.btn-outline-primary{border:2px solid var(--primary);color:var(--primary);background:transparent}
.btn-outline-primary:hover{background:var(--primary-pale);color:var(--primary-dark)}
.btn-ghost{background:transparent;border:1px solid var(--border);color:var(--text-3)}
.btn-ghost:hover{background:var(--bg-2);border-color:var(--muted-3)}
.btn-icon{width:38px;height:38px;padding:0;border-radius:var(--r-sm);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.btn-icon-sm{width:30px;height:30px;padding:0;border-radius:var(--r-xs);display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}
.btn-lg{padding:.75rem 1.5rem;font-size:1rem;border-radius:var(--r-md)}
.btn-sm{padding:.35rem .75rem;font-size:.8rem;border-radius:var(--r-xs)}
.btn[disabled]{opacity:.55;pointer-events:none}
.btn.loading{pointer-events:none;opacity:.8}
.btn.loading::before{
  content:'';width:14px;height:14px;border:2px solid currentColor;
  border-right-color:transparent;border-radius:50%;
  animation:btn-spin .6s linear infinite;margin-right:.4rem;flex-shrink:0;
}
@keyframes btn-spin{to{transform:rotate(360deg)}}

/* ── Forms ── */
.form-label{font-weight:600;font-size:.85rem;color:var(--text-2);margin-bottom:.35rem}
.form-control,.form-select{
  border-radius:var(--r-sm);
  border:1.5px solid var(--border);
  padding:.62rem .9rem;
  font-size:.9rem;
  font-family:'Inter',sans-serif;
  color:var(--text);
  background:var(--card);
  transition:border-color var(--tr),box-shadow var(--tr);
  min-height:44px;
}
.form-control:focus,.form-select:focus{
  border-color:var(--primary);
  box-shadow:0 0 0 3px rgba(0,0,0,.10);
  outline:none;
}
.form-control::placeholder{color:var(--muted-2)}
.form-control.is-invalid{border-color:var(--danger)}
.form-control.is-invalid:focus{box-shadow:0 0 0 3px rgba(220,38,38,.12)}
.invalid-feedback{font-size:.8rem;color:var(--danger);font-weight:600;margin-top:.25rem}
textarea.form-control{min-height:110px;resize:vertical}

/* ── Badges ── */
.badge-pill{padding:.28rem .7rem;border-radius:99px;font-size:.72rem;font-weight:700;display:inline-flex;align-items:center;gap:.3rem}
.badge-success{background:var(--success-light);color:var(--success)}
.badge-warning{background:var(--warning-light);color:var(--warning)}
.badge-danger{background:var(--danger-light);color:var(--danger)}
.badge-primary{background:var(--primary-light);color:var(--primary-dark)}
.badge-muted{background:var(--bg-2);color:var(--muted)}
.badge-purple{background:var(--purple-light);color:var(--purple)}
.badge-cyan{background:var(--cyan-light);color:var(--cyan)}
.badge-indigo{background:var(--indigo-light);color:var(--indigo)}
.badge-new{background:linear-gradient(135deg,#10b981,#059669);color:#fff;font-size:.68rem;padding:.2rem .55rem}
.badge-sale{background:linear-gradient(135deg,var(--accent),var(--accent-dark));color:#fff;font-size:.68rem;padding:.2rem .55rem}

/* ================================================================
   FRONTEND STYLES
   ================================================================ */

/* ── Sticky Header ── */
.site-header{
  position:relative;
  z-index:2100;
  overflow:visible;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px) saturate(1.8);
  -webkit-backdrop-filter:blur(16px) saturate(1.8);
  border-bottom:1px solid rgba(226,232,240,.7);
  box-shadow:0 1px 0 rgba(226,232,240,.5);
  transition:box-shadow var(--tr);
}
.site-header.scrolled{box-shadow:var(--sh-sm)}
.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:1.25rem;
  padding:.7rem 1rem;
  max-width:1320px;
  margin:0 auto;
}
.header-brand{
  display:flex;align-items:center;gap:.5rem;
  font-size:1.25rem;font-weight:800;color:var(--text);
  letter-spacing:-.03em;white-space:nowrap;
}
.header-brand-dot{
  width:28px;height:28px;border-radius:8px;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  display:grid;place-items:center;flex-shrink:0;
}
.header-brand-dot svg{color:#fff}
.header-search{
  position:relative;
  max-width:460px;width:100%;
}
.header-search input{
  width:100%;padding:.6rem 1rem .6rem 2.75rem;
  border:1.5px solid var(--border);
  border-radius:var(--r-lg);
  font-size:.88rem;background:var(--bg);
  transition:all var(--tr);
  font-family:'Inter',sans-serif;
  color:var(--text);
}
.header-search input:focus{
  border-color:var(--primary);
  background:var(--card);
  box-shadow:0 0 0 3px rgba(37,99,235,.1);
  outline:none;
}
.header-search .search-icon{
  position:absolute;left:.85rem;top:50%;
  transform:translateY(-50%);color:var(--muted);
  pointer-events:none;
}
.header-actions{display:flex;align-items:center;gap:.4rem}
.header-nav-link{
  padding:.45rem .65rem;border-radius:var(--r-xs);
  font-size:.875rem;font-weight:600;color:var(--text-3);
  transition:all var(--tr);display:flex;align-items:center;gap:.35rem;
}
.header-nav-link:hover{color:var(--primary);background:var(--primary-pale)}
.header-nav-link.active{color:var(--primary);background:var(--primary-pale)}
.cart-btn{
  position:relative;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;border:none;
  padding:.48rem .9rem;border-radius:var(--r-sm);
  font-weight:700;font-size:.875rem;
  display:flex;align-items:center;gap:.45rem;
  box-shadow:0 4px 12px rgba(37,99,235,.25);
  transition:all var(--tr);cursor:pointer;
}
.cart-btn:hover{transform:translateY(-1px);box-shadow:var(--sh-primary);color:#fff}
.cart-count{
  background:var(--accent);
  color:#fff;
  width:18px;height:18px;
  border-radius:50%;font-size:.65rem;font-weight:800;
  display:inline-flex;align-items:center;justify-content:center;
  margin-left:.1rem;
}
.mobile-cart-count{
  position:absolute;
  top:-6px;
  right:-10px;
  width:17px;
  height:17px;
  font-size:.62rem;
  margin-left:0;
}

/* ── Announcement Bar ── */
.announcement-bar{
  background:var(--primary);
  overflow:hidden;
}
.announcement-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:.4rem 1rem;
  overflow:hidden;
}
.announcement-text{
  font-size:.95rem;
  font-weight:800;
  color:#fff;
  white-space:nowrap;
  animation:scrollText 14.4s linear infinite;
  letter-spacing:.02em;
  text-transform:capitalize;
  display:flex;
  align-items:center;
  gap:1.2rem;
}
.announcement-item{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}
.announcement-item i{
  font-size:.9rem;
  opacity:.95;
}
@keyframes scrollText{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}

/* ── Navigation Row (under header) ── */
.nav-categories{
  position:sticky;
  top:0;
  z-index:2200;
  overflow:visible;
  background:var(--card);
  border-bottom:1px solid var(--border);
  padding:.25rem 0 .35rem;
}
.nav-categories .inner{
  max-width:1320px;margin:0 auto;padding:.15rem 1rem .45rem;
  display:flex;align-items:center;flex-wrap:wrap;
  gap:.2rem 0;
  overflow:visible;
}
.nav-categories .inner::-webkit-scrollbar{display:none}
.nav-cat-link{
  padding:.32rem .7rem;
  border-radius:var(--r-xs);
  font-size:.8rem;font-weight:600;
  color:var(--muted);white-space:nowrap;
  transition:all var(--tr);
  line-height:1.2;
}
.nav-cat-link:hover{color:var(--primary);background:var(--primary-pale)}
.nav-cat-link--all{
  color:var(--text);
  font-weight:800;
  background:var(--bg-2);
  border:1px solid var(--border);
}
.nav-cat-link--all:hover{
  color:var(--primary);
  background:var(--primary-pale);
  border-color:var(--primary-pale);
}

/* Category separators between nav items */
.nav-cat-link--all + .nav-cat-item::before,
.nav-cat-item + .nav-cat-item::before,
.nav-cat-item + .firsatlar-link::before{
  content:'/';
  display:inline-flex;
  align-items:center;
  color:#f97316;
  opacity:.4;
  font-size:.72rem;
  font-weight:500;
  padding:0 .5rem;
  pointer-events:none;
  user-select:none;
  line-height:1;
}
.products-listing-hero{
  padding:1.25rem 1.35rem;
  border:1px solid var(--border);
  border-radius:var(--r-lg);
}
.products-listing-hero-actions{
  display:flex;
  align-items:stretch;
  gap:.65rem;
}
.products-filter-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  min-height:46px;
  padding:.55rem 1rem;
  border-radius:var(--r-md);
  border:1.5px solid var(--border);
  background:var(--card);
  color:var(--text);
  font-size:.85rem;
  font-weight:700;
  white-space:nowrap;
  transition:all var(--tr);
}
.products-filter-toggle:hover,
.products-filter-toggle.is-active{
  border-color:var(--primary);
  background:var(--primary-pale);
  color:var(--primary-dark);
}
.products-filter-panel{
  display:none;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid var(--border);
}
.products-filter-panel.is-open{
  display:block;
}
.products-filter-panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:.85rem;
}
.products-filter-panel-head h6{
  font-weight:800;
  color:var(--text);
}
.products-filter-clear{
  font-size:.78rem;
  font-weight:700;
  color:var(--muted);
  text-decoration:none;
}
.products-filter-clear:hover{
  color:var(--primary);
}
.products-filter-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:.85rem 1rem;
}
.products-filter-field{
  flex:1 1 180px;
  min-width:0;
}
.products-filter-field--price{
  flex:0 1 220px;
}
.products-filter-field--checks{
  flex:0 1 auto;
}
.products-filter-field--submit{
  flex:0 0 auto;
}
.products-filter-label{
  display:block;
  margin-bottom:.35rem;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.products-filter-search-wrap{
  position:relative;
}
.products-filter-search-wrap i{
  position:absolute;
  left:.75rem;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  font-size:.8rem;
  pointer-events:none;
}
.products-filter-search-wrap .form-control{
  padding-left:2.2rem;
}
.products-filter-price-row{
  display:flex;
  gap:.5rem;
}
.products-filter-checks{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem 1rem;
  min-height:46px;
}
.products-filter-checks .filter-check{
  padding:0;
  margin:0;
}
.products-filter-submit{
  min-height:46px;
  min-width:120px;
  border-radius:var(--r-md);
  font-size:.85rem;
  font-weight:700;
}
.products-live-search{
  position:relative;
}
.products-live-search i{
  position:absolute;
  left:.9rem;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
  z-index:2;
  pointer-events:none;
}
.products-live-search .form-control{
  padding-left:2.4rem;
  border-radius:var(--r-md);
  border-color:var(--border);
  min-height:46px;
}
.firsatlar-link{
  color:#f97316 !important;
  font-weight:800;
  animation:pulseFirsat 2s ease-in-out infinite;
}
.firsatlar-link:hover{background:rgba(249,115,22,.08)!important;color:#ea580c!important}
@keyframes pulseFirsat{
  0%,100%{opacity:1}
  50%{opacity:.65}
}

/* ── Hero Section ── */
/* ── Hero Slider (Owl Carousel) ── */
.hero-slider-wrap{
  position:relative;
  margin-bottom:2.5rem;
  border-radius:var(--r-2xl);
  overflow:hidden;
}
.hero-slide{
  position:relative;
  min-height:500px;
  display:flex;
  align-items:stretch;
  overflow:hidden;
}
@media(max-width:767px){
  .hero-slide{
    min-height:auto;
    aspect-ratio:4/3;
    height:auto;
    display:block;
    background:#0b1224;
  }
}
.hero-slide-left{
  flex:1;
  background:#000;
  padding:3.5rem 3.5rem 3rem;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:1;
}
@media(max-width:767px){
  .hero-slide-left{
    position:absolute;
    inset:0;
    z-index:2;
    padding:1.25rem;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    background:rgba(8,15,36,.56) !important;
  }
  /* Force same behavior for every slide (ignore per-slide inline background colors). */
  .hero-slide .hero-slide-left[style]{
    background:rgba(8,15,36,.56) !important;
  }
}
.hero-slide-right{
  flex:0 0 52%;
  position:relative;
  overflow:hidden;
}
@media(max-width:767px){
  .hero-slide-right{
    position:absolute;
    inset:0;
    flex:none;
    aspect-ratio:4/3;
    max-height:none;
    z-index:1;
    overflow:hidden;
    background:#0b1224;
  }
  .hero-slide .hero-slide-right[style]{
    background:#0b1224 !important;
  }
}
.hero-slide-right img{
  width:100%;height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
  transition:none;
  transform:none;
}
@media(max-width:767px){
  .hero-slide-right img{
    width:100% !important;
    height:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    opacity:1 !important;
  }
  .hero-slide-right::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(11,18,36,.40);
    z-index:1;
    pointer-events:none;
  }
  .hero-slide-right::after{
    background:none !important;
  }
}
.owl-item.active .hero-slide-right img{transform:none !important}
.hero-slide-right::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to right,rgba(0,0,0,.32) 0%,transparent 40%);
  pointer-events:none;
}

/* ── Typewriter Effect ── */
.typewriter-title{overflow:hidden}
.typewriter-text{
  display:inline-block;
  position:relative;
}
.typewriter-text::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 1em;
  background: currentColor;
  margin-left: 4px;
  vertical-align: middle;
  animation: blink-caret .75s step-end infinite;
}

.typewriter-desc{
  opacity:0;
  transform:translateY(15px);
  transition:all 0s;
}
.owl-item.active .typewriter-desc {
  animation: fadeInUp .8s ease-out 1.2s forwards;
}

@keyframes blink-caret{
  from,to{opacity: 0}
  50%{opacity: 1}
}
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

.hero-tag{
  display:inline-block;
  font-size:.68rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.55);margin-bottom:.9rem;
}
.hero-title{
  font-family:'Inter',sans-serif;
  font-size:clamp(1.9rem,4.5vw,3.4rem);
  font-weight:800;
  line-height:1.12;
  letter-spacing:-.04em;
  color:#fff;
  margin-bottom:1.1rem;
}
.hero-title em{font-style:normal;color:rgba(255,255,255,.45)}
.hero-desc{
  font-size:.9rem;color:rgba(255,255,255,.6);
  margin-bottom:1.75rem;max-width:400px;line-height:1.65;font-weight:400;
}
@media(max-width:767px){
  .hero-tag{margin-bottom:.55rem}
  .hero-title{font-size:clamp(1.7rem,8vw,2.25rem);margin-bottom:.55rem}
  .hero-desc{
    margin:0 auto 1rem;
    max-width:92%;
    color:rgba(255,255,255,.92);
    font-size:1rem;
  }
  .hero-cta{justify-content:center}
  .hero-copy{
    width:100%;
    max-width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    margin:0 auto;
  }
}
.hero-cta{display:flex;gap:.65rem;flex-wrap:wrap}
.hero-cta .btn-hero-primary{
  background:#fff;color:#000;
  border:none;padding:.65rem 1.4rem;
  font-size:.85rem;font-weight:700;
  border-radius:var(--r-sm);
  transition:all .2s;letter-spacing:-.01em;
}
.hero-cta .btn-hero-primary:hover{background:#e8e8e8}
.hero-cta .btn-hero-ghost{
  background:transparent;color:rgba(255,255,255,.75);
  border:1.5px solid rgba(255,255,255,.22);
  padding:.65rem 1.4rem;
  font-size:.85rem;font-weight:600;
  border-radius:var(--r-sm);
  transition:all .2s;letter-spacing:-.01em;
}
.hero-cta .btn-hero-ghost:hover{border-color:rgba(255,255,255,.5);color:#fff}

/* Slide counter */
.hero-slide-counter{
  position:absolute;bottom:1.75rem;left:3.5rem;
  font-size:.75rem;font-weight:600;color:rgba(255,255,255,.4);
  letter-spacing:.04em;z-index:10;
}
@media(max-width:767px){.hero-slide-counter{display:none}}

/* Owl nav overrides */
.hero-slider-wrap .owl-dots{
  position:absolute;bottom:1.75rem;right:3.5rem;
  display:flex;gap:.45rem;z-index:10;
}
@media(max-width:767px){.hero-slider-wrap .owl-dots{right:1.25rem;bottom:1rem}}
.hero-slider-wrap .owl-dot span{
  width:22px;height:3px;border-radius:2px;
  background:rgba(255,255,255,.3);display:block;
  transition:all .3s;
}
.hero-slider-wrap .owl-dot.active span{
  width:36px;background:#fff;
}
.hero-slider-wrap .owl-nav button{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.1)!important;
  border:1.5px solid rgba(255,255,255,.15)!important;
  display:grid;place-items:center;
  transition:background .2s,border-color .2s;
  z-index:10;backdrop-filter:blur(8px);
}
.hero-slider-wrap .owl-nav button:hover{background:rgba(255,255,255,.22)!important}
.hero-slider-wrap .owl-nav .owl-prev{left:1rem}
.hero-slider-wrap .owl-nav .owl-next{right:1rem}
.hero-slider-wrap .owl-nav button span{font-size:1.2rem;color:#fff;line-height:1}
.hero-slider-wrap .owl-nav{display:none!important}

/* Keep old .hero-section as alias for anything that still uses it */
.hero-section{margin-bottom:2.5rem}
.hero-content{position:relative;z-index:1;color:#fff}
.hero-badge{
  display:inline-flex;align-items:center;gap:.4rem;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  padding:.28rem .7rem;border-radius:99px;
  font-size:.72rem;font-weight:700;color:rgba(255,255,255,.8);
  margin-bottom:1rem;
}
.hero-badge-dot{width:5px;height:5px;border-radius:50%;background:#fff;animation:pulse-dot 2s infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.3)}}
.hero-visual{border-radius:var(--r-xl);overflow:hidden}

/* ── Section Headers ── */
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem;gap:1rem}
.section-title{font-family:'Inter',sans-serif;font-size:1.1rem;font-weight:700;letter-spacing:-.03em;margin:0}
.section-subtitle{font-size:.88rem;color:var(--muted);margin:.2rem 0 0;font-weight:500}

/* ── Category Cards ── */
.category-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  padding:1.25rem;
  text-align:center;
  cursor:pointer;
  transition:all var(--tr-md);
  text-decoration:none;color:var(--text);
  display:flex;flex-direction:column;align-items:center;gap:.7rem;
}
.category-card:hover{
  border-color:var(--primary);
  box-shadow:0 8px 24px rgba(0,0,0,.09);
  transform:translateY(-3px);
  color:var(--text);
}
.category-icon{
  width:56px;height:56px;border-radius:var(--r-lg);
  display:grid;place-items:center;font-size:1.6rem;
  background:linear-gradient(135deg,var(--bg-2),var(--bg));
  border:1px solid var(--border);
  transition:all var(--tr-md);
}
.category-card:hover .category-icon{
  background:linear-gradient(135deg,var(--primary-pale),var(--primary-light));
  border-color:var(--primary-light);
}
.category-collection-card{
  transition:all var(--tr-md);
}
.category-collection-card:hover{
  border-color:var(--primary);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.category-collection-head{
  display:flex;
  align-items:center;
  gap:.85rem;
}
.category-sub-list{
  display:flex;
  flex-direction:column;
  gap:.55rem;
}
.category-sub-group{
  display:flex;
  flex-direction:column;
  gap:.25rem;
}
.category-sub-pill{
  display:inline-flex;
  align-items:center;
  padding:.35rem .7rem;
  border-radius:999px;
  background:var(--bg-2);
  border:1px solid var(--border);
  color:var(--text-3);
  font-size:.78rem;
  font-weight:600;
  text-decoration:none;
  transition:all var(--tr-sm);
}
.category-sub-pill:hover{
  background:var(--primary-pale);
  border-color:var(--primary-light);
  color:var(--primary);
}
.category-sub-pill--sm{
  font-size:.72rem;
  padding:.28rem .55rem;
}
.category-sub-nested{
  width:100%;
  display:flex;
  flex-wrap:wrap;
  gap:.35rem;
  margin:.15rem 0 .55rem .35rem;
  padding-left:.5rem;
  border-left:2px solid var(--border);
}
.category-sub-nested-link{
  font-size:.72rem;
  color:var(--muted);
  text-decoration:none;
  font-weight:600;
}
.category-sub-nested-link:hover{
  color:var(--primary);
}
.category-name{font-size:.85rem;font-weight:700;color:var(--text-2)}
.category-count{font-size:.75rem;color:var(--muted);font-weight:500}

/* ── Product Cards ── */
.product-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  overflow:hidden;
  position:relative;
  transition:all var(--tr-md);
  display:flex;flex-direction:column;
  height:100%;
}
.product-card:hover{
  box-shadow:var(--sh-lg);
  transform:translateY(-4px);
  border-color:var(--muted-3);
}
.product-media{
  position:relative;
  overflow:hidden;
  background:var(--bg);
  aspect-ratio: 2/3;
}
.product-media img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform var(--tr-lg);
}
.product-card:hover .product-media img{transform:scale(1.07)}
.product-badges{
  position:absolute;top:.75rem;left:.75rem;
  display:flex;flex-direction:column;gap:.3rem;z-index:2;
}
.product-actions{
  position:absolute;top:.75rem;right:.75rem;
  display:flex;flex-direction:column;gap:.4rem;
  z-index:2;opacity:0;transform:translateX(6px);
  transition:all var(--tr);
}
.product-card:hover .product-actions{opacity:1;transform:translateX(0)}
.product-act-btn{
  width:34px;height:34px;border-radius:var(--r-xs);
  background:rgba(255,255,255,.95);
  border:1px solid var(--border);
  color:var(--text-3);
  display:grid;place-items:center;
  cursor:pointer;
  transition:all var(--tr);
  box-shadow:var(--sh-xs);
}
.product-act-btn:hover{background:var(--primary);color:#fff;border-color:var(--primary)}
.product-act-btn.active{background:var(--danger);color:#fff;border-color:var(--danger)}
.product-body{padding:1rem;display:flex;flex-direction:column;flex:1;gap:.35rem}
.product-brand{font-size:.75rem;font-weight:700;color:var(--primary);text-transform:uppercase;letter-spacing:.04em}
.product-name{font-size:.92rem;font-weight:700;color:var(--text-2);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-rating{display:flex;align-items:center;gap:.35rem;font-size:.78rem;color:var(--muted)}
.product-stars{color:#F59E0B;letter-spacing:.5px}
.product-price{display:flex;align-items:baseline;gap:.5rem;margin-top:auto;padding-top:.4rem}
.product-price-current{font-size:1.1rem;font-weight:800;color:var(--text)}
.product-price-original{font-size:.82rem;color:var(--muted);text-decoration:line-through}
.product-price-sale{font-size:1.1rem;font-weight:800;color:var(--danger)}
.product-footer{padding:.75rem 1rem;border-top:1px solid var(--border-light);margin-top:auto}
.product-footer .btn{width:100%;justify-content:center;border-radius:var(--r-sm)}
.stock-badge{
  display:inline-flex;align-items:center;gap:.3rem;
  font-size:.72rem;font-weight:700;
  padding:.18rem .5rem;border-radius:var(--r-xs);
}
.stock-in{background:var(--success-pale);color:var(--success)}
.stock-out{background:var(--danger-pale);color:var(--danger)}
.stock-low{background:var(--warning-pale);color:var(--warning)}

/* Mobile: always show product actions */
@media(max-width:767px){
  .product-actions{opacity:1;transform:none}
}

/* ── Advantage Banners ── */
.advantage-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  padding:1.25rem;
  display:flex;align-items:center;gap:1rem;
  transition:all var(--tr-md);
}
.advantage-card:hover{box-shadow:var(--sh-md);border-color:var(--primary-light)}
.adv-icon-wrap{
  width:48px;height:48px;border-radius:var(--r-md);
  display:grid;place-items:center;flex-shrink:0;
  font-size:1.4rem;
}
.adv-icon-wrap.blue{background:var(--primary-pale);color:var(--primary)}
.adv-icon-wrap.green{background:var(--success-pale);color:var(--success)}
.adv-icon-wrap.orange{background:var(--accent-light);color:var(--accent-dark)}
.adv-icon-wrap.purple{background:var(--purple-light);color:var(--purple)}
.adv-title{font-size:.9rem;font-weight:800;color:var(--text-2);margin-bottom:.15rem}
.adv-desc{font-size:.78rem;color:var(--muted);line-height:1.4}

/* Why us block readability on dark background */
.why-us-section .text-muted{
  color:rgba(255,255,255,.72) !important;
}
.why-us-section h5{
  color:#fff;
}

/* ── Newsletter Section ── */
.newsletter-section{
  background:linear-gradient(135deg,var(--primary-xd),var(--primary));
  border-radius:var(--r-2xl);
  padding:3rem 2rem;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.newsletter-section::before{
  content:'';position:absolute;
  width:300px;height:300px;border-radius:50%;
  background:rgba(255,255,255,.05);
  right:-50px;bottom:-50px;
}
.newsletter-section::after{
  content:'';position:absolute;
  width:200px;height:200px;border-radius:50%;
  background:rgba(255,255,255,.05);
  left:-30px;top:-30px;
}
.newsletter-title{font-size:1.75rem;font-weight:800;margin-bottom:.5rem;letter-spacing:-.025em;position:relative;z-index:1}
.newsletter-desc{opacity:.85;margin-bottom:1.75rem;font-size:.95rem;position:relative;z-index:1}
.newsletter-form{
  display:flex;gap:.5rem;max-width:480px;margin:0 auto;
  position:relative;z-index:1;
}
.newsletter-form input{
  flex:1;padding:.7rem 1rem;border-radius:var(--r-sm);
  border:none;font-family:'Inter',sans-serif;font-size:.9rem;
}
.newsletter-form input:focus{outline:2px solid var(--accent);outline-offset:2px}
.newsletter-form .btn{flex-shrink:0;padding:.7rem 1.25rem}

/* ── Footer ── */
.site-footer{
  background:var(--text);
  color:rgba(255,255,255,.75);
  padding:3.5rem 0 1.5rem;
  margin-top:4rem;
}
.footer-brand-name{font-size:1.2rem;font-weight:800;color:#fff;letter-spacing:-.02em;margin-bottom:.6rem}
.footer-desc{font-size:.85rem;line-height:1.65;max-width:280px}
.footer-title{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#fff;margin-bottom:1rem}
.footer-link{
  display:block;font-size:.87rem;
  color:rgba(255,255,255,.6);padding:.25rem 0;
  transition:color var(--tr);
}
.footer-link:hover{color:#fff}
.footer-divider{border-top:1px solid rgba(255,255,255,.1);margin:2rem 0 1.5rem}
.footer-bottom{font-size:.82rem;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem}
.footer-social{display:flex;gap:.5rem}
.footer-social-btn{
  width:34px;height:34px;border-radius:var(--r-xs);
  background:rgba(255,255,255,.1);
  display:grid;place-items:center;
  color:rgba(255,255,255,.7);
  transition:all var(--tr);font-size:.85rem;
}
.footer-social-btn:hover{background:var(--primary);color:#fff}

/* ── Mobile Bottom Navigation ── */
.mobile-bottom-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:1100;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(20px) saturate(1.5);
  -webkit-backdrop-filter:blur(20px) saturate(1.5);
  border-top:1px solid rgba(226,232,240,.7);
  padding:0 .5rem calc(.5rem + env(safe-area-inset-bottom));
  box-shadow:0 -4px 20px rgba(15,23,42,.06);
}
@media(min-width:992px){.mobile-bottom-nav{display:none}}
.mobile-nav-inner{display:flex;justify-content:space-around}
.mobile-nav-item{
  flex:1;display:flex;flex-direction:column;align-items:center;
  gap:.15rem;padding:.55rem .25rem;
  font-size:.7rem;font-weight:700;color:var(--muted);
  text-decoration:none;transition:color var(--tr);cursor:pointer;
  border:none;background:none;
}
.mobile-nav-item svg{transition:transform var(--tr)}
.mobile-nav-item:hover,.mobile-nav-item.active{color:var(--primary)}
.mobile-nav-item.active svg{transform:scale(1.15)}
.mobile-nav-item.active .mobile-nav-icon{
  background:var(--primary-pale);
  border-radius:var(--r-sm);
  padding:.2rem .5rem;
}
.mobile-nav-icon{display:flex;align-items:center;justify-content:center;transition:all var(--tr)}

/* ── Breadcrumb ── */
.breadcrumb-wrap{margin-bottom:1.25rem}
.breadcrumb{margin:0;padding:0;background:none;list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.15rem;font-size:.8rem}
.breadcrumb-item{display:flex;align-items:center;gap:.15rem;color:var(--muted);font-weight:500}
.breadcrumb-item a{color:var(--muted);transition:color var(--tr)}
.breadcrumb-item a:hover{color:var(--primary)}
.breadcrumb-item.active{color:var(--text-2);font-weight:600}
.breadcrumb-item+.breadcrumb-item::before{content:'/';color:var(--muted-3);padding-right:.15rem}

/* ── Pagination ── */
.pagination{display:flex;gap:.25rem;margin:0;padding:0;list-style:none}
.page-item .page-link{
  display:flex;align-items:center;justify-content:center;
  min-width:36px;height:36px;padding:0 .5rem;
  border-radius:var(--r-xs);border:1.5px solid var(--border);
  font-size:.85rem;font-weight:600;color:var(--muted);
  background:var(--card);transition:all var(--tr);
}
.page-item .page-link:hover{border-color:var(--primary);color:var(--primary);background:var(--primary-pale)}
.page-item.active .page-link{background:var(--primary);border-color:var(--primary);color:#fff;box-shadow:var(--sh-primary)}
.page-item.disabled .page-link{opacity:.4;pointer-events:none}

/* ── Toast Notifications ── */
.toast-container{z-index:1090;max-width:380px}
.toast-custom{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  box-shadow:var(--sh-xl);
  padding:0;overflow:hidden;
  min-width:300px;
}
.toast-custom .toast-inner{
  display:flex;align-items:center;gap:.75rem;padding:1rem 1.1rem;
}
.toast-custom .t-icon{
  width:36px;height:36px;border-radius:var(--r-xs);
  display:grid;place-items:center;flex-shrink:0;font-size:1rem;
}
.toast-custom .t-body{flex:1;font-size:.88rem;font-weight:600;color:var(--text-2)}
.toast-custom.toast-success .t-icon{background:var(--success-light);color:var(--success)}
.toast-custom.toast-success{border-left:3px solid var(--success)}
.toast-custom.toast-danger .t-icon{background:var(--danger-light);color:var(--danger)}
.toast-custom.toast-danger{border-left:3px solid var(--danger)}
.toast-custom.toast-info .t-icon{background:var(--primary-light);color:var(--primary)}
.toast-custom.toast-info{border-left:3px solid var(--primary)}
.toast-custom .btn-close{padding:.5rem;margin:.25rem .25rem .25rem 0;opacity:.5}
.toast-custom .btn-close:hover{opacity:1}

/* ── Empty State ── */
.empty-state{
  text-align:center;padding:4rem 2rem;
  display:flex;flex-direction:column;align-items:center;gap:1rem;
}
.empty-state-icon{
  width:72px;height:72px;border-radius:var(--r-2xl);
  background:var(--bg-2);border:2px dashed var(--border);
  display:grid;place-items:center;color:var(--muted-2);font-size:2rem;
}
.empty-state-title{font-size:1.1rem;font-weight:800;color:var(--text-2)}
.empty-state-desc{font-size:.88rem;color:var(--muted);max-width:320px;line-height:1.6}

/* ── Loading Skeleton ── */
@keyframes shimmer{to{background-position:200% 0}}
.skeleton{
  background:linear-gradient(90deg,var(--bg-2) 25%,var(--bg-3) 50%,var(--bg-2) 75%);
  background-size:200% 100%;
  animation:shimmer 1.4s infinite;
  border-radius:var(--r-xs);
}
.skeleton-text{height:14px;margin-bottom:.5rem}
.skeleton-title{height:22px;margin-bottom:.75rem;width:60%}
.skeleton-image{aspect-ratio: 2/3;border-radius:var(--r-lg)}
.skeleton-card{border-radius:var(--r-xl);height:340px}

/* ── Rating Stars ── */
.stars{display:inline-flex;gap:.1rem;color:#F59E0B;font-size:1rem}
.stars svg{fill:#F59E0B}
.stars-sm .stars{font-size:.8rem}

/* ── Quantity Selector ── */
.qty-selector{
  display:inline-flex;align-items:center;
  background:var(--bg-2);border-radius:var(--r-sm);
  border:1.5px solid var(--border);overflow:hidden;
}
.qty-btn{
  width:36px;height:36px;border:none;background:transparent;
  color:var(--text-2);font-size:1.1rem;font-weight:700;
  display:grid;place-items:center;cursor:pointer;
  transition:all var(--tr);
}
.qty-btn:hover{background:var(--primary-pale);color:var(--primary)}
.qty-input{
  width:44px;height:36px;border:none;background:transparent;
  text-align:center;font-weight:700;font-size:.9rem;
  font-family:'Inter',sans-serif;color:var(--text);
}
.qty-input:focus{outline:none}

/* ── Filter Sidebar ── */
.filter-sidebar{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  overflow:hidden;
}
.filter-header{
  padding:1rem 1.1rem;
  border-bottom:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:center;
}
.filter-title{font-weight:800;font-size:.95rem;color:var(--text)}
.filter-group{border-bottom:1px solid var(--border-light)}
.filter-group:last-child{border-bottom:none}
.filter-group-title{padding:.85rem 1.1rem .4rem;font-weight:800;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.filter-group-header{
  padding:.85rem 1.1rem;
  display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;transition:background var(--tr);font-weight:700;font-size:.88rem;
}
.filter-group-header:hover{background:var(--bg)}
.filter-group-body{padding:.5rem 1.1rem 1rem}
.filter-check{display:flex;align-items:center;gap:.55rem;padding:.3rem 0;cursor:pointer}
.filter-check input{width:15px;height:15px;cursor:pointer;accent-color:var(--primary)}
.filter-check-label{font-size:.85rem;font-weight:600;color:var(--text-2);flex:1}
.filter-check-count{font-size:.75rem;color:var(--muted);background:var(--bg-2);padding:.1rem .4rem;border-radius:99px}

/* ── Active Filter Chips ── */
.filter-chips{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-bottom:1rem}
.filter-chip{
  display:inline-flex;align-items:center;gap:.35rem;
  background:var(--primary-pale);
  border:1px solid var(--primary-light);
  color:var(--primary-dark);
  padding:.28rem .65rem;border-radius:99px;
  font-size:.78rem;font-weight:700;
  text-decoration:none;transition:all var(--tr);
}
.filter-chip:hover,.filter-chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.filter-chip button{
  background:none;border:none;color:var(--primary);
  display:grid;place-items:center;cursor:pointer;padding:0;line-height:1;
}

/* ── Sort & View Toggle Bar ── */
.products-toolbar{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:.75rem;margin-bottom:1.25rem;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-lg);
  padding:.7rem 1rem;
}
.toolbar-count{font-size:.88rem;font-weight:600;color:var(--muted)}
.toolbar-right{display:flex;align-items:center;gap:.5rem}
.view-btn{
  width:34px;height:34px;border-radius:var(--r-xs);
  border:1.5px solid var(--border);background:transparent;
  display:grid;place-items:center;cursor:pointer;color:var(--muted);
  transition:all var(--tr);
}
.view-btn.active,.view-btn:hover{background:var(--primary-pale);border-color:var(--primary-light);color:var(--primary)}

/* ── Cart & Checkout ── */
.cart-item{
  display:flex;align-items:center;gap:1rem;
  padding:1.1rem;border-bottom:1px solid var(--border-light);
}
.cart-item:last-child{border-bottom:none}
.cart-item-img{
  width:72px;height:72px;border-radius:var(--r-md);
  object-fit:cover;flex-shrink:0;background:var(--bg-2);
  border:1px solid var(--border);
}
.cart-item-info{flex:1;min-width:0}
.cart-item-brand{font-size:.72rem;font-weight:700;color:var(--primary);text-transform:uppercase}
.cart-item-name{font-size:.9rem;font-weight:700;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cart-item-variant{font-size:.78rem;color:var(--muted);margin-top:.15rem}
.cart-item-price{font-size:1rem;font-weight:800;color:var(--text);white-space:nowrap}

.cart-item-card{padding:1rem;border-radius:var(--r-lg);border:1px solid var(--border);box-shadow:var(--sh-xs);background:var(--card)}
.cart-item-head{display:flex;gap:1rem;align-items:flex-start;margin-bottom:.85rem;padding-bottom:.85rem;border-bottom:1px solid var(--border)}
.cart-item-thumb{width:72px;height:72px;flex-shrink:0;border-radius:var(--r-sm);overflow:hidden;background:var(--bg-2);border:1px solid var(--border)}
.cart-item-thumb img{width:100%;height:100%;object-fit:cover}
.cart-item-meta{flex:1;min-width:0;padding-top:.1rem}
.cart-item-meta-name{font-weight:800;font-size:.95rem;color:var(--text);margin-bottom:.25rem;line-height:1.3}
.cart-item-meta-unit{font-size:.78rem;color:var(--muted)}
.cart-item-meta-unit strong{color:var(--primary);font-weight:800}
.cart-item-remove{flex-shrink:0;margin:0}
.cart-item-remove .btn{width:36px;height:36px;padding:0;display:grid;place-items:center}

.cart-item-lines{
  display:flex;flex-direction:column;
  border:1px solid var(--border);border-radius:var(--r-md);overflow:hidden;
}
.cart-item-row{
  display:grid;
  grid-template-columns:76px minmax(0,1fr) 118px minmax(104px,auto);
  align-items:center;column-gap:1rem;row-gap:.5rem;
  padding:.85rem 1rem;
  border-top:1px solid var(--border);
  background:#fff;
}
.cart-item-row:first-child{border-top:none}
.cart-item-row.is-install{background:var(--primary-pale,#EEF2FF)}

.cart-item-row-badge{
  width:76px;min-height:28px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:.66rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;
  padding:.28rem .45rem;border-radius:var(--r-sm);text-align:center;line-height:1.2;
}
.cart-item-row-badge.product{background:var(--bg-2);color:var(--text-3);border:1px solid var(--border)}
.cart-item-row-badge.install{background:var(--text);color:#fff}

.cart-item-row-info{min-width:0}
.cart-item-row-title{font-size:.82rem;font-weight:800;color:var(--text);line-height:1.3}
.cart-item-row-sub{font-size:.72rem;color:var(--muted);margin-top:.15rem;line-height:1.35}
.cart-item-row-sub-note{display:block;font-size:.68rem;color:var(--muted);font-weight:600;margin-top:.1rem}

.cart-item-row-qty{display:flex;justify-content:center}
.cart-item-row-qty .qty-selector{width:118px}
.cart-item-row-qty .qty-btn{width:34px;height:34px}
.cart-item-row-qty .qty-input,
.cart-item-row-qty .qty-value{
  width:50px;height:34px;
  display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:.88rem;color:var(--text);
}
.cart-item-row-qty .qty-btn:disabled{opacity:.35;cursor:not-allowed}

.cart-item-row-total{
  font-size:.9rem;font-weight:800;color:var(--text);
  text-align:right;white-space:nowrap;justify-self:end;
}
.cart-item-row-total.is-primary{color:var(--primary)}

@media (max-width:767.98px){
  .cart-item-row{
    grid-template-columns:64px minmax(0,1fr);
    grid-template-areas:
      "badge info"
      "badge qty"
      "total total";
    column-gap:.75rem;
  }
  .cart-item-row-badge{grid-area:badge;width:64px;align-self:start;margin-top:.15rem}
  .cart-item-row-info{grid-area:info}
  .cart-item-row-qty{grid-area:qty;justify-content:flex-start}
  .cart-item-row-qty .qty-selector{width:100%;max-width:140px}
  .cart-item-row-total{
    grid-area:total;
    padding-top:.5rem;margin-top:.15rem;
    border-top:1px dashed var(--border);
    display:flex;justify-content:space-between;align-items:center;
  }
  .cart-item-row-total::before{
    content:"Satır toplamı";
    font-size:.72rem;font-weight:700;color:var(--muted);
  }
}

.order-summary-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-xl);
  overflow:hidden;position:sticky;top:100px;
}
.order-summary-header{
  padding:1.1rem 1.25rem;
  border-bottom:1px solid var(--border);
  font-weight:800;font-size:1rem;
}
.order-summary-body{padding:1.25rem}
.summary-row{
  display:flex;justify-content:space-between;align-items:center;
  padding:.45rem 0;font-size:.88rem;
}
.summary-row.total{
  border-top:2px solid var(--border);
  padding-top:.85rem;margin-top:.4rem;
  font-weight:800;font-size:1.05rem;
}
.coupon-input-wrap{
  display:flex;gap:.5rem;
  background:var(--bg-2);
  border:1.5px solid var(--border);
  border-radius:var(--r-sm);
  overflow:hidden;
}
.coupon-input-wrap input{
  flex:1;padding:.55rem .8rem;border:none;background:transparent;
  font-family:'Inter',sans-serif;font-size:.88rem;
}
.coupon-input-wrap input:focus{outline:none}
.coupon-input-wrap button{
  background:var(--primary);color:#fff;border:none;
  padding:.55rem .9rem;font-size:.85rem;font-weight:700;cursor:pointer;
  transition:background var(--tr);font-family:'Inter',sans-serif;
}
.coupon-input-wrap button:hover{background:var(--primary-dark)}

/* Checkout Stepper */
.checkout-stepper{
  display:flex;align-items:center;justify-content:center;
  gap:0;margin-bottom:2rem;
}
.step-item{display:flex;align-items:center;flex:1;max-width:180px}
.step-bubble{
  width:32px;height:32px;border-radius:50%;
  border:2px solid var(--border);
  display:grid;place-items:center;
  font-size:.8rem;font-weight:800;
  color:var(--muted);background:var(--card);
  flex-shrink:0;transition:all var(--tr-md);z-index:1;position:relative;
}
.step-item.active .step-bubble{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:var(--sh-primary)}
.step-item.done .step-bubble{border-color:var(--success);background:var(--success);color:#fff}
.step-label{font-size:.75rem;font-weight:700;color:var(--muted);margin-left:.5rem;white-space:nowrap}
.step-item.active .step-label,.step-item.done .step-label{color:var(--text-2)}
.step-connector{height:2px;background:var(--border);flex:1;margin:0 .5rem;transition:background var(--tr-md)}
.step-item.done~.step-connector{background:var(--success)}

/* ── Auth Pages ── */
.auth-wrapper{
  min-height:calc(100vh - 70px);display:flex;align-items:stretch;
  background:var(--bg);
}
.auth-left{
  flex:0 0 42%;max-width:460px;display:none;
  background:linear-gradient(150deg,#000000 0%,#1A1A1A 60%,#2E2E2E 100%);
  padding:3rem 3.5rem;position:relative;overflow:hidden;
  align-items:center;justify-content:center;
}
@media(min-width:992px){.auth-left{display:flex}}
.auth-left::before{
  content:'';position:absolute;
  width:400px;height:400px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.05),transparent 70%);
  right:-80px;top:-80px;
}
.auth-left::after{
  content:'';position:absolute;
  width:300px;height:300px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.04),transparent 70%);
  left:-60px;bottom:-60px;
}
.auth-left-content{position:relative;z-index:1;color:#fff}
.auth-left-logo{display:flex;align-items:center;gap:.65rem;position:absolute;top:2rem;left:2.5rem;z-index:1}
.auth-left-logo-icon{width:32px;height:32px;border-radius:9px;background:rgba(255,255,255,.18);display:grid;place-items:center}
.auth-left-logo-text{font-size:1rem;font-weight:800;color:#fff;letter-spacing:-.01em}
.auth-left-title{font-size:1.8rem;font-weight:800;line-height:1.25;letter-spacing:-.03em;margin-bottom:.75rem}
.auth-left-desc{font-size:.88rem;opacity:.7;line-height:1.65}
.auth-right{
  flex:1;display:flex;align-items:center;justify-content:center;
  padding:2.5rem 2rem;
}
.auth-card{width:100%;max-width:400px}
.auth-card-logo{
  width:48px;height:48px;border-radius:var(--r-md);
  background:var(--primary-pale);
  border:1px solid var(--border);
  display:inline-flex;align-items:center;justify-content:center;
}
.auth-title{font-size:1.65rem;font-weight:800;letter-spacing:-.025em;color:var(--text)}
.auth-subtitle{color:var(--muted);font-size:.9rem;margin-top:.25rem}

/* ── Account Pages ── */
.account-layout{display:flex;gap:1.5rem;align-items:flex-start}
.account-sidebar{
  width:240px;flex-shrink:0;
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-xl);overflow:hidden;
  position:sticky;top:90px;
}
.account-nav-item{
  display:flex;align-items:center;gap:.65rem;
  padding:.75rem 1.1rem;font-size:.88rem;font-weight:600;
  color:var(--text-3);transition:all var(--tr);border-left:3px solid transparent;
  text-decoration:none;
}
.account-nav-item:hover{background:var(--bg);color:var(--primary)}
.account-nav-item.active{background:var(--primary-pale);color:var(--primary);border-left-color:var(--primary)}
.account-content{flex:1;min-width:0}
.account-page-title{font-size:1.2rem;font-weight:800;letter-spacing:-.02em;margin-bottom:1.25rem}
@media(max-width:767px){.account-layout{flex-direction:column}.account-sidebar{width:100%;position:static}}

/* ── Order Status Badges ── */
.status-badge{padding:.28rem .65rem;border-radius:99px;font-size:.75rem;font-weight:700;display:inline-flex;align-items:center;gap:.3rem}
.status-active{background:var(--success-light);color:var(--success)}
.status-passive{background:var(--bg-2);color:var(--muted)}
.status-pending,.status-payment_waiting{background:var(--warning-light);color:var(--warning)}
.status-preparing{background:var(--primary-light);color:var(--primary-dark)}
.status-shipped{background:var(--purple-light);color:var(--purple)}
.status-completed{background:var(--success-light);color:var(--success)}
.status-cancelled,.status-rejected{background:var(--danger-light);color:var(--danger)}
.status-draft{background:var(--indigo-light);color:var(--indigo)}

/* ────────────────────────────────────────────────────────────────
   ADMIN PANEL
   ──────────────────────────────────────────────────────────────── */
.admin-shell{
  min-height:100vh;
  background:#F1F5F9;
  display:flex;
}

/* ── Admin Sidebar ── */
.admin-sidebar{
  width:264px;
  background:#fff;
  border-right:1px solid var(--border);
  display:flex;flex-direction:column;
  position:fixed;top:0;left:0;height:100vh;
  z-index:200;
  transition:transform var(--tr-md),width var(--tr-md);
  overflow:hidden;
  box-shadow:var(--sh-sm);
}
.admin-sidebar.collapsed{width:68px}
.sidebar-head{
  padding:0 1.1rem;height:64px;
  display:flex;align-items:center;justify-content:space-between;
  border-bottom:1px solid var(--border);flex-shrink:0;
}
.admin-brand-wrap{display:flex;align-items:center;gap:.65rem;overflow:hidden;min-width:0}
.admin-brand-icon{
  width:34px;height:34px;border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  display:grid;place-items:center;flex-shrink:0;
}
.admin-brand-text{font-size:1rem;font-weight:800;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;transition:all var(--tr-md)}
.admin-sidebar.collapsed .admin-brand-text{opacity:0;width:0}
.sidebar-toggle{
  width:28px;height:28px;border-radius:var(--r-xs);
  background:var(--bg-2);border:none;cursor:pointer;
  display:grid;place-items:center;color:var(--muted);
  transition:all var(--tr);flex-shrink:0;
}
.sidebar-toggle:hover{background:var(--primary-pale);color:var(--primary)}
.sidebar-scroll{overflow-y:auto;overflow-x:hidden;flex:1;padding:.75rem .6rem 1rem;scrollbar-width:thin;scrollbar-color:var(--border) transparent}
.sidebar-scroll::-webkit-scrollbar{width:3px}
.sidebar-scroll::-webkit-scrollbar-thumb{background:var(--border);border-radius:99px}
.sidebar-section-title{
  font-size:.68rem;font-weight:800;letter-spacing:.1em;
  text-transform:uppercase;color:var(--muted-2);
  padding:.75rem .7rem .3rem;white-space:nowrap;overflow:hidden;
  transition:opacity var(--tr-md);
}
.admin-sidebar.collapsed .sidebar-section-title{opacity:0}
.menu-link{
  display:flex;align-items:center;gap:.65rem;
  color:var(--text-3);padding:.58rem .7rem;
  border-radius:var(--r-sm);font-weight:600;font-size:.875rem;
  text-decoration:none;white-space:nowrap;overflow:hidden;
  transition:all var(--tr);position:relative;
}
.menu-link:hover{background:var(--bg-2);color:var(--text)}
.menu-link.active{background:var(--primary-pale);color:var(--primary)}
.menu-link.active::before{
  content:'';position:absolute;left:0;top:20%;bottom:20%;
  width:3px;border-radius:0 3px 3px 0;
  background:var(--primary);
}
.menu-link-icon{
  width:20px;height:20px;flex-shrink:0;
  display:grid;place-items:center;
}
.menu-link-text{white-space:nowrap;overflow:hidden;transition:all var(--tr-md)}
.admin-sidebar.collapsed .menu-link-text{opacity:0;width:0}
.menu-link-badge{
  margin-left:auto;background:var(--danger);color:#fff;
  font-size:.68rem;font-weight:800;
  padding:.1rem .4rem;border-radius:99px;
  transition:opacity var(--tr-md);
}
.admin-sidebar.collapsed .menu-link-badge{opacity:0}
.sidebar-divider{height:1px;background:var(--border);margin:.5rem .7rem}

/* ── Admin Content Area ── */
.admin-content{
  margin-left:264px;
  display:flex;flex-direction:column;
  min-height:100vh;flex:1;
  transition:margin-left var(--tr-md);
}
.admin-sidebar.collapsed ~ .admin-content{margin-left:68px}

/* ── Admin Topbar ── */
.admin-topbar{
  height:64px;background:#fff;
  border-bottom:1px solid var(--border);
  padding:0 1.5rem;
  display:flex;align-items:center;
  justify-content:space-between;
  gap:1rem;
  position:sticky;top:0;z-index:100;
  box-shadow:var(--sh-xs);
}
.topbar-left{display:flex;align-items:center;gap:.75rem;min-width:0}
.topbar-mobile-menu{
  width:36px;height:36px;border-radius:var(--r-xs);
  border:1.5px solid var(--border);background:transparent;
  display:none;align-items:center;justify-content:center;
  cursor:pointer;color:var(--text-3);transition:all var(--tr);
}
@media(max-width:991px){.topbar-mobile-menu{display:flex}}
.topbar-mobile-menu:hover{background:var(--bg-2)}
.topbar-breadcrumb{font-size:.82rem;color:var(--muted);font-weight:500}
.topbar-breadcrumb strong{color:var(--text-2);font-weight:700}
.topbar-right{display:flex;align-items:center;gap:.5rem}
.admin-storefront-link{
  display:inline-flex;align-items:center;gap:.4rem;
  padding:.42rem .8rem;
  border-radius:var(--r-sm);
  border:1.5px solid var(--border);
  background:var(--card);
  color:var(--text-2);
  font-size:.8rem;font-weight:700;
  text-decoration:none;
  white-space:nowrap;
  transition:all var(--tr);
}
.admin-storefront-link:hover{
  color:var(--primary);
  border-color:var(--primary-pale);
  background:var(--primary-pale);
}
.topbar-search{
  display:flex;align-items:center;
  background:var(--bg);
  border:1.5px solid var(--border);border-radius:var(--r-sm);
  padding:.38rem .75rem;gap:.5rem;
  transition:all var(--tr);width:220px;
}
.topbar-search:focus-within{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 3px rgba(37,99,235,.1);width:280px}
.topbar-search input{
  border:none;background:transparent;font-size:.83rem;
  font-family:'Inter',sans-serif;color:var(--text);flex:1;
}
.topbar-search input:focus{outline:none}
.topbar-search input::placeholder{color:var(--muted-2)}
.topbar-icon-btn{
  width:36px;height:36px;border-radius:var(--r-xs);
  border:1.5px solid var(--border);background:var(--card);
  display:grid;place-items:center;cursor:pointer;
  color:var(--text-3);transition:all var(--tr);position:relative;
}
.topbar-icon-btn:hover{background:var(--bg-2);color:var(--text)}
.topbar-notif-dot{
  position:absolute;top:6px;right:6px;
  width:7px;height:7px;border-radius:50%;
  background:var(--danger);border:1.5px solid #fff;
}
.topbar-avatar{
  width:34px;height:34px;border-radius:50%;
  background:linear-gradient(135deg,var(--primary),var(--accent));
  display:grid;place-items:center;color:#fff;font-size:.78rem;font-weight:800;
  cursor:pointer;flex-shrink:0;
}

/* ── Admin Page Header ── */
.admin-page-header{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;
}
.admin-page-title{font-size:1.35rem;font-weight:800;letter-spacing:-.025em;color:var(--text);margin:0}
.admin-page-subtitle{font-size:.85rem;color:var(--muted);font-weight:500;margin-top:.2rem}

/* ── Admin Stat Cards ── */
.stat-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-sm);
  overflow:hidden;
  transition:all var(--tr-md);
}
.stat-card:hover{box-shadow:var(--sh-md);transform:translateY(-1px)}
.stat-card-body{padding:1.25rem}
.stat-icon-wrap{
  width:46px;height:46px;border-radius:var(--r-md);
  display:grid;place-items:center;flex-shrink:0;
}
.stat-icon-wrap.blue{background:var(--primary-pale);color:var(--primary)}
.stat-icon-wrap.green{background:var(--success-pale);color:var(--success)}
.stat-icon-wrap.orange{background:var(--accent-light);color:var(--accent-dark)}
.stat-icon-wrap.purple{background:var(--purple-light);color:var(--purple)}
.stat-icon-wrap.cyan{background:var(--cyan-light);color:var(--cyan)}
.stat-label{font-size:.78rem;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.3rem}
.stat-value{font-size:1.7rem;font-weight:800;color:var(--text);letter-spacing:-.03em;line-height:1.1}
.stat-change{font-size:.8rem;font-weight:700;display:inline-flex;align-items:center;gap:.2rem}
.stat-change.up{color:var(--success)}
.stat-change.down{color:var(--danger)}
.stat-change.neutral{color:var(--muted)}
.stat-footer{
  padding:.7rem 1.25rem;
  border-top:1px solid var(--border-light);
  background:var(--bg);font-size:.78rem;color:var(--muted);font-weight:500;
}

/* ── Admin Chart Cards ── */
.chart-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-xl);box-shadow:var(--sh-sm);
  overflow:hidden;
}
.chart-card-header{
  padding:1.1rem 1.25rem;
  border-bottom:1px solid var(--border-light);
  display:flex;justify-content:space-between;align-items:center;
}
.chart-card-title{font-size:.95rem;font-weight:800;color:var(--text-2)}
.chart-card-body{padding:1.25rem}
.mini-chart{
  height:200px;border-radius:var(--r-md);
  background:linear-gradient(180deg,var(--bg) 0%,var(--bg-2) 100%);
  position:relative;overflow:hidden;display:flex;align-items:flex-end;
}
.mini-chart-bars{
  width:100%;height:100%;
  display:flex;align-items:flex-end;gap:3px;padding:.5rem .5rem 0;
}
.chart-bar{
  flex:1;border-radius:4px 4px 0 0;
  transition:opacity var(--tr);cursor:pointer;
  min-height:4px;
}
.chart-bar:hover{opacity:.8}
.chart-bar.primary{background:linear-gradient(180deg,var(--primary),rgba(37,99,235,.4))}
.chart-bar.success{background:linear-gradient(180deg,var(--success),rgba(22,163,74,.4))}
.chart-bar.accent{background:linear-gradient(180deg,var(--accent),rgba(249,115,22,.4))}
.chart-area{
  height:160px;position:relative;overflow:hidden;
}
.chart-area-fill{
  position:absolute;left:0;right:0;bottom:0;
  background:linear-gradient(180deg,rgba(37,99,235,.15),rgba(37,99,235,.02));
  clip-path:polygon(0 72%,8% 58%,18% 65%,28% 44%,38% 52%,48% 36%,58% 46%,68% 28%,78% 40%,88% 22%,100% 32%,100% 100%,0 100%);
}
.chart-area-line{
  position:absolute;left:0;right:0;bottom:0;height:100%;
  border-bottom:2px solid var(--primary);
  clip-path:polygon(0 72%,8% 58%,18% 65%,28% 44%,38% 52%,48% 36%,58% 46%,68% 28%,78% 40%,88% 22%,100% 32%,100% 100%,0 100%);
}

/* ── Admin Tables ── */
.data-table-wrap{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-sm);
  overflow:hidden;
}
.data-table-toolbar{
  padding:1rem 1.25rem;
  border-bottom:1px solid var(--border);
  display:flex;flex-wrap:wrap;align-items:center;gap:.65rem;
}
.table-search-wrap{
  display:flex;align-items:center;gap:.4rem;
  background:var(--bg);border:1.5px solid var(--border);
  border-radius:var(--r-sm);padding:.38rem .7rem;
  transition:all var(--tr);flex:1;max-width:320px;
}
.table-search-wrap:focus-within{border-color:var(--primary);background:var(--card);box-shadow:0 0 0 3px rgba(37,99,235,.1)}
.table-search-wrap input{
  border:none;background:transparent;
  font-size:.85rem;font-family:'Inter',sans-serif;color:var(--text);flex:1;
}
.table-search-wrap input:focus{outline:none}
.table-actions{display:flex;gap:.4rem;margin-left:auto}
.data-table{width:100%;border-collapse:separate;border-spacing:0}
.data-table th{
  background:var(--bg);padding:.75rem 1rem;
  font-size:.73rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.06em;color:var(--muted);
  border-bottom:1px solid var(--border);
  white-space:nowrap;
}
.data-table th:first-child{padding-left:1.25rem}
.data-table th:last-child{padding-right:1.25rem;text-align:right}
.data-table td{
  padding:.85rem 1rem;
  border-bottom:1px solid var(--border-light);
  font-size:.875rem;color:var(--text-2);font-weight:500;
  vertical-align:middle;
}
.data-table td:first-child{padding-left:1.25rem}
.data-table td:last-child{padding-right:1.25rem;text-align:right}
.data-table tbody tr:last-child td{border-bottom:none}
.data-table tbody tr{transition:background var(--tr)}
.data-table tbody tr:hover{background:var(--bg)}
.table-checkbox{width:16px;height:16px;cursor:pointer;accent-color:var(--primary)}
.table-product-cell{display:flex;align-items:center;gap:.75rem}
.table-product-img{
  width:40px;height:40px;border-radius:var(--r-sm);
  object-fit:cover;background:var(--bg-2);flex-shrink:0;
  border:1px solid var(--border);
}
.table-product-info{}
.table-product-name{font-weight:700;color:var(--text-2);font-size:.875rem}
.table-product-sku{font-size:.75rem;color:var(--muted);margin-top:.1rem}
.table-pagination{
  padding:.75rem 1.25rem;
  border-top:1px solid var(--border);
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:.75rem;
  background:var(--bg);
}
.table-pagination-info{font-size:.82rem;color:var(--muted);font-weight:500}
.bulk-actions-bar{
  padding:.6rem 1.25rem;background:var(--primary-pale);
  border-bottom:1px solid var(--primary-light);
  display:flex;align-items:center;gap:1rem;
}
.bulk-actions-text{font-size:.85rem;font-weight:700;color:var(--primary-dark)}

/* ── Admin Forms ── */
.admin-form-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-xl);box-shadow:var(--sh-sm);
  overflow:hidden;margin-bottom:1.25rem;
}
.admin-form-card-header{
  padding:1rem 1.25rem;border-bottom:1px solid var(--border);
  display:flex;align-items:center;gap:.65rem;background:var(--bg);
}
.admin-form-card-icon{
  width:32px;height:32px;border-radius:var(--r-xs);
  display:grid;place-items:center;
  background:var(--primary-pale);color:var(--primary);flex-shrink:0;
}
.admin-form-card-title{font-size:.92rem;font-weight:800;color:var(--text-2)}
.admin-form-card-body{padding:1.25rem}
.admin-form-section{margin-bottom:1.5rem}
.admin-form-section:last-child{margin-bottom:0}
.admin-form-title{
  font-size:.8rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.07em;color:var(--muted);margin-bottom:.85rem;
  display:flex;align-items:center;gap:.5rem;
}
.admin-form-title::after{content:'';flex:1;height:1px;background:var(--border)}
.sticky-savebar{
  background:var(--card);border:1px solid var(--border);
  border-radius:var(--r-xl);padding:1.1rem;
  position:sticky;top:80px;box-shadow:var(--sh-sm);
}
.sticky-savebar-title{font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin-bottom:.75rem}

/* Dropzone */
.dropzone{
  border:2px dashed var(--border);
  border-radius:var(--r-xl);
  padding:2.5rem 1.5rem;
  text-align:center;cursor:pointer;
  transition:all var(--tr-md);
  background:var(--bg);
  display:flex;flex-direction:column;align-items:center;gap:.75rem;
}
.dropzone:hover,.dropzone.dragover{
  border-color:var(--primary);
  background:var(--primary-pale);
}
.dropzone-icon{
  width:52px;height:52px;border-radius:var(--r-lg);
  background:var(--bg-2);border:1px solid var(--border);
  display:grid;place-items:center;color:var(--muted);font-size:1.4rem;
}
.dropzone-title{font-weight:700;font-size:.92rem;color:var(--text-2)}
.dropzone-hint{font-size:.78rem;color:var(--muted)}

/* ── Admin Mobile ── */
@media(max-width:991px){
  .admin-sidebar{transform:translateX(-100%)}
  .admin-sidebar.mobile-open{transform:translateX(0)}
  .admin-content{margin-left:0!important}
}

/* ── Misc utilities ── */
.gap-xs{gap:.35rem}
.divider{height:1px;background:var(--border);margin:1rem 0}
.text-success-color{color:var(--success)}
.text-danger-color{color:var(--danger)}
.text-warning-color{color:var(--warning)}
.text-primary-color{color:var(--primary)}
.text-muted-custom{color:var(--muted)}
.bg-subtle{background:var(--bg-2)}

/* ── Page enter animation ── */
@keyframes fadeSlideUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
.page-enter{animation:fadeSlideUp .35s cubic-bezier(.4,0,.2,1) both}
@keyframes scaleIn{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
.scale-enter{animation:scaleIn .25s cubic-bezier(.4,0,.2,1) both}

/* ── Mobile padding for nav ── */
@media(max-width:991px){
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  main.py-4{padding-top:1rem!important}
}

/* ── Responsive admin padding ── */
@media(max-width:575px){
  .admin-topbar{padding:0 .85rem}
  .data-table-toolbar{padding:.75rem .85rem}
  .data-table th:first-child,.data-table td:first-child{padding-left:.85rem}
  .data-table th:last-child,.data-table td:last-child{padding-right:.85rem}
}

/* ── Bootstrap overrides ── */
.container{max-width:1320px}
.row--tight{--bs-gutter-x:.75rem;--bs-gutter-y:.75rem}
.dropdown-menu{border-radius:var(--r-lg);border:1px solid var(--border);box-shadow:var(--sh-lg);padding:.4rem}
.dropdown-item{border-radius:var(--r-xs);font-size:.875rem;font-weight:600;color:var(--text-3);padding:.5rem .75rem;transition:all var(--tr)}
.dropdown-item:hover{background:var(--bg-2);color:var(--text)}
.offcanvas{border-radius:0 var(--r-2xl) var(--r-2xl) 0}
.offcanvas-header{border-bottom:1px solid var(--border);padding:1rem 1.25rem}
.offcanvas-body{padding:1.25rem}
.modal-content{border-radius:var(--r-2xl);border:1px solid var(--border);box-shadow:var(--sh-xl)}
.modal-header{border-bottom:1px solid var(--border-light);padding:1.25rem 1.5rem}
.modal-footer{border-top:1px solid var(--border-light);padding:1rem 1.5rem}
.accordion-button{font-weight:700;font-size:.9rem;color:var(--text-2);background:var(--bg);border-radius:var(--r-sm)!important}
.accordion-button:not(.collapsed){background:var(--primary-pale);color:var(--primary);box-shadow:none}
.accordion-item{border:1px solid var(--border);border-radius:var(--r-md)!important;overflow:hidden;margin-bottom:.5rem}
.accordion-button::after{filter:none}
.form-check-input:checked{background-color:var(--primary);border-color:var(--primary)}
.form-check-input:focus{box-shadow:0 0 0 3px rgba(0,0,0,.10);border-color:var(--primary)}
.nav-pills .nav-link{border-radius:var(--r-sm);font-weight:700;font-size:.875rem;color:var(--muted);padding:.45rem .85rem}
.nav-pills .nav-link.active{background:var(--primary);box-shadow:var(--sh-primary)}
.alert{border-radius:var(--r-lg);border:none;font-weight:600;font-size:.88rem}
.alert-success{background:var(--success-pale);color:var(--success)}
.alert-danger{background:var(--danger-pale);color:var(--danger)}
.alert-warning{background:var(--warning-pale);color:var(--warning)}
.alert-info{background:var(--primary-pale);color:var(--primary-dark)}
.table>:not(caption)>*>*{padding:.75rem 1rem}
.card{border-radius:var(--r-xl);border:1px solid var(--border)}

/* ── Checkout step (new style) ── */
.checkout-step{display:flex;flex-direction:column;align-items:center;gap:.4rem;flex:1;max-width:140px}
.checkout-step-num{width:36px;height:36px;border-radius:50%;border:2.5px solid var(--border);display:grid;place-items:center;font-size:.82rem;font-weight:900;color:var(--muted);background:var(--card);transition:all var(--tr-md)}
.checkout-stepper .checkout-step.active .checkout-step-num{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:var(--sh-primary)}
.checkout-step-label{font-size:.75rem;font-weight:700;color:var(--muted)}
.checkout-stepper .checkout-step.active .checkout-step-label{color:var(--primary)}
.checkout-step-line{flex:1;height:2px;background:var(--border);margin-top:-16px}

/* ── Sticky buy bar (mobile product/cart) ── */
.sticky-buy-bar{
  position:fixed;bottom:68px;left:0;right:0;z-index:1040;
  background:linear-gradient(135deg,var(--primary),#1D4ED8);
  padding:.75rem 1.25rem;
  box-shadow:0 -4px 20px rgba(37,99,235,.25);
}
@media(min-width:992px){.sticky-buy-bar{display:none!important}}


/* ── Checkout Stepper (new markup) ── */
.checkout-step{display:flex;align-items:center;flex-direction:column;gap:.4rem;position:relative;z-index:1}
.checkout-step-num{
  width:36px;height:36px;border-radius:50%;
  border:2.5px solid var(--border);
  display:grid;place-items:center;font-size:.82rem;font-weight:800;
  color:var(--muted);background:var(--card);
  transition:all var(--tr-md);font-family:'Playfair Display',Georgia,serif;
}
.checkout-step.active .checkout-step-num{border-color:var(--primary);background:var(--primary);color:#fff;box-shadow:var(--sh-primary)}
.checkout-step-label{font-size:.75rem;font-weight:700;color:var(--muted);white-space:nowrap}
.checkout-step.active .checkout-step-label{color:var(--primary)}
.checkout-step-line{height:2.5px;width:56px;background:var(--border);margin:0 .25rem;flex-shrink:0;align-self:flex-start;margin-top:18px}

/* ── Sticky Buy Bar ── */
.sticky-buy-bar{
  position:fixed;bottom:0;left:0;right:0;
  background:linear-gradient(135deg,var(--primary-xd),var(--primary));
  padding:1rem 1.25rem;z-index:100;
  box-shadow:0 -6px 32px rgba(0,0,0,.2);
  padding-bottom:calc(1rem + env(safe-area-inset-bottom));
}
@media(min-width:992px){.sticky-buy-bar{display:none!important}}

/* ── Playfair Display for headings ── */
.display-serif{font-family:'Playfair Display',Georgia,serif}
h1,h2,h3,.auth-title,.admin-page-title{font-family:'Inter',sans-serif}

/* ── Furniture product media background ── */
.product-media{background:linear-gradient(135deg,#F5F5F5,#EBEBEB)}
.product-media img{mix-blend-mode:normal}

/* ── Warm category card hover ── */
.category-card:hover{border-color:var(--primary);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.category-card:hover .category-icon{background:linear-gradient(135deg,var(--primary-pale),var(--primary-light));border-color:var(--primary-light)}

/* ── Newsletter warm ── */
.newsletter-section{background:linear-gradient(135deg,#000000,#1A1A1A)}

/* ── Warm admin sidebar ── */
.sidebar-section-title{color:var(--muted-2)!important;font-size:.68rem!important}
.menu-link-badge{background:var(--accent)!important;color:#fff!important}

/* ── Category Pills ── */
.cat-pill{
  display:inline-block;white-space:nowrap;
  padding:.42rem 1rem;
  border-radius:99px;
  border:1.5px solid var(--border);
  font-size:.78rem;font-weight:600;
  color:var(--muted);
  background:var(--card);
  transition:all .18s;letter-spacing:-.01em;
  text-decoration:none;
  flex-shrink:0;
}
.cat-pill:hover{border-color:var(--text);color:var(--text)}
.cat-pill-active,.cat-pill.active{background:var(--text);color:#fff;border-color:var(--text)}

/* ── Owl Carousel fadeOut ── */
.owl-carousel .animated{animation-fill-mode:both}
.owl-carousel .owl-animated-out{z-index:1}
.owl-carousel .owl-animated-in{z-index:0}
@keyframes fadeOut{0%{opacity:1}100%{opacity:0}}
.fadeOut{animation-name:fadeOut;animation-duration:.55s}

/* ── Minimalist header brand ── */
.header-brand{font-family:'Inter',sans-serif;font-weight:800;letter-spacing:-.04em;font-size:1.1rem}

/* ── Hide scrollbar for pill row ── */
section div::-webkit-scrollbar{display:none}

/* ── Tighten section-header spacing ── */
.section-header{margin-bottom:1.25rem}

/* ── Minimal product card media ── */
.product-media{
  aspect-ratio:1;
  background:#F5F5F5;
  border-radius:var(--r) var(--r) 0 0;
  overflow:hidden;
}


/* OVERRIDES FOR MINIMAL PRODUCT CARD */
.product-media { aspect-ratio: 2/3; background: #f3f3f3; }

.product-card { border-radius: var(--r-xl); padding-bottom: 0; border: none; }

.product-card-actions{
  margin-top:auto;
  padding:0;
  background:transparent;
  border-radius:0;
  display:block;
  overflow:hidden;
}

.product-card-cart-form{
  margin:0;
  width:100%;
}

.product-card-bottom-btn{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  border:none;
  border-radius:0 0 var(--r-xl) var(--r-xl);
  padding:.9rem 1rem;
  min-height:52px;
  font-size:.88rem;
  font-weight:700;
  line-height:1;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}

.product-card-bottom-btn i{
  font-size:1.05rem;
  line-height:1;
  flex-shrink:0;
}

.product-card-add-btn{
  background:#111827;
  color:#fff;
  cursor:pointer;
}

.product-card-add-btn:hover{
  background:#1f2937;
  color:#fff;
}

.product-card-out-of-stock{
  background:#fef2f2;
  color:#dc2626;
  border-top:1px solid #fecaca;
  cursor:not-allowed;
}

.product-card-out-of-stock:disabled{
  opacity:1;
}

.product-card-out-of-stock span{
  font-weight:800;
  letter-spacing:.01em;
}

.hero-slider-full { width: 100vw; position: relative; margin-left: -50vw; left: 50%; border-radius: 0; }

/* Typewriter Cursor Effect */
.typewriter-text::after {
  content: '';
  opacity: 0;
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background-color: currentColor;
  margin-left: 4px;
  vertical-align: middle;
}
.typewriter-target.typing-active .typewriter-text::after {
  opacity: 1;
  animation: blink-caret .75s step-end infinite;
}
@keyframes blink-caret {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

.hero-cta .btn-hero-primary { background: #000; color: #fff; }
.hero-cta .btn-hero-primary:hover { background: #333; color: #fff; }

.hero-cta .btn-hero-ghost { background: transparent; color: #000; border-color: rgba(0,0,0,.2); }
.hero-cta .btn-hero-ghost:hover { background: rgba(0,0,0,.05); border-color: rgba(0,0,0,.4); color: #000; }

.hero-slide-counter { color: #999; }

/* B2B Hover */
.b2b-btn:hover {
  background-color: #ffe0b2 !important;
  color: #e65100 !important;
}

.hero-slider-wrap .owl-dots span { background: #ccc !important; }

.hero-slider-wrap .owl-dot.active span { background: #000 !important; }

.hero-slider-wrap .owl-nav button { border: 1px solid #ddd !important; background: #fff !important; color: #000 !important }

.hero-slider-wrap .owl-nav button span { color: #000 !important; font-size:1.5rem; }

.product-price { margin-bottom: .6rem; }

.product-card-col{
  display:flex;
  flex-direction:column;
  min-width:0;
}
.product-card-col > .product-card{
  width:100%;
}
.product-media-link{
  display:block;
  color:inherit;
  text-decoration:none;
}
.product-card-discount-badge{
  border-radius:20px;
  font-weight:600;
}
.product-body { padding: .9rem 1rem .35rem 1rem; }
.product-card .product-brand{
  min-height:1.125rem;
  font-size:.75rem;
  font-weight:700;
  color:#000;
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height:1.125rem;
}
.product-card .product-name{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:calc(1.1rem * 1.35 * 2);
  margin-top:.3rem;
  color:#000;
  font-size:1.05rem;
  font-weight:700;
  line-height:1.35;
  text-decoration:none;
}
.product-card .product-name:hover{
  color:var(--primary);
}
.product-card .product-rating-slot{
  min-height:1.35rem;
  margin-top:.2rem;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-card .product-rating{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:.2rem .35rem;
  margin-top:0 !important;
  font-size:.78rem;
  line-height:1.2;
}
.product-card .product-rating-text{
  color:#000;
  font-weight:600;
}
.product-card .product-rating-placeholder{
  display:block;
  width:100%;
  min-height:1.35rem;
}
.product-card .product-price-slot{
  min-height:3rem;
  margin-top:.35rem;
  margin-bottom:.45rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.12rem;
  width:100%;
  min-width:0;
}
.product-card .product-price-current{
  font-size:clamp(.92rem, 3.6vw, 1.2rem);
  font-weight:800;
  line-height:1.15;
  color:#dc2626;
  max-width:100%;
  text-align:center;
  word-break:break-word;
}
.product-card .product-price-original-wrap{
  min-height:1.05rem;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
}
.product-card .product-price-original{
  font-size:clamp(.76rem, 3vw, .9rem);
  line-height:1.1;
  color:var(--muted);
  text-decoration:line-through;
  text-align:center;
  max-width:100%;
  word-break:break-word;
}
.product-card .product-price-original--placeholder{
  visibility:hidden;
  pointer-events:none;
  user-select:none;
}

/* === PRODUCT IMAGE 2:3 ASPECT RATIO FIX === */
.product-card .product-img {
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    width: 100% !important;
}
.product-gallery-main img,
.gallery-thumbnail img {
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    width: 100% !important;
}
.product-img {
    aspect-ratio: 2 / 3 !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* Hero wide slider (restored) */
.hero-wide{width:min(100vw,1680px);margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding-inline:clamp(12px,2vw,28px)}
.hero-carousel{border-radius:20px;overflow:hidden;box-shadow:0 18px 40px rgba(15,23,42,.16)}
.hero-carousel .carousel-control-prev,.hero-carousel .carousel-control-next{width:4.5rem}
.hero-carousel .carousel-control-prev-icon,.hero-carousel .carousel-control-next-icon{background-color:rgba(15,23,42,.45);border-radius:999px;padding:1rem}
@media (max-width:991px){.hero-wide{width:100%;margin:0;padding-inline:0}.hero-carousel .col-lg-6{min-height:320px!important}}

/* Product image light sweep hover animation */
.product-media{position:relative;overflow:hidden}
.product-media::after{
  content:'';
  position:absolute;
  top:-20%;
  left:-140%;
  width:70%;
  height:140%;
  background:linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.22) 45%, rgba(255,255,255,0) 100%);
  transform:skewX(-18deg);
  pointer-events:none;
}
.product-card:hover .product-media::after{
  animation:productLightSweep .9s cubic-bezier(.25,.1,.25,1);
}
@keyframes productLightSweep{
  0%{left:-140%}
  100%{left:180%}
}

/* Stronger product hover light sweep */
.product-card:hover .product-media::after{
  animation:productLightSweepStrong 1.1s cubic-bezier(.22,.61,.36,1);
}
.product-media::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 10%, rgba(255,255,255,.16), rgba(255,255,255,0) 45%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
}
.product-card:hover .product-media::before{
  opacity:1;
}
.product-media::after{
  width:95%;
  left:-170%;
  background:linear-gradient(112deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.05) 20%,
    rgba(255,255,255,.48) 48%,
    rgba(255,255,255,.08) 70%,
    rgba(255,255,255,0) 100%);
}
@keyframes productLightSweepStrong{
  0%{left:-170%}
  100%{left:210%}
}

.product-media .product-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s cubic-bezier(.22,.61,.36,1);
}
.product-media::before,
.product-media::after,
.product-badges,
.product-actions{
  z-index:3;
}

/* Hero size fix: full hero, no overflow */
.hero-slider-wrap{
  max-width:100%;
  height:clamp(420px, 62vh, 560px);
  border-radius:var(--r-2xl);
  overflow:hidden;
}
.hero-slider-wrap .owl-stage-outer,
.hero-slider-wrap .owl-stage,
.hero-slider-wrap .owl-item{
  height:100%;
}
.hero-slide{
  height:100% !important;
  min-height:unset !important;
}
.hero-slide-left{
  padding:2rem 1.5rem !important;
  overflow:hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .hero-slide-left{
    padding:3rem 4rem !important;
  }
}
@media (min-width: 992px) {
  .hero-slide-left{
    padding:4rem 6rem !important;
  }
}
.hero-slide-right{
  flex:0 0 50% !important;
}
.hero-slide-right img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-title{
  font-size:clamp(1.55rem,3.2vw,2.7rem) !important;
}
.hero-desc{
  margin-bottom:1.2rem !important;
}
@media (max-width: 991px){
  .hero-slider-wrap{
    height:auto;
    max-height:none;
  }
  .hero-slide{
    display:block;
    min-height:0 !important;
  }
  .hero-slide-right{
    width:100%;
    height:220px;
  }
  .hero-slide-left{
    width:100%;
  }
}

/* Hero copy alignment: keep Owl slider, center the left content cleanly */
.hero-slide-left{
  justify-content:center !important;
  align-items:flex-start !important;
  box-sizing:border-box;
}
.hero-copy{
  width:min(100%, 560px);
  margin:auto 0;
  transform:translateY(-3%);
}
.hero-copy .hero-tag{
  margin-top:0 !important;
}
.hero-copy .hero-title{
  margin-bottom:1rem !important;
}
.hero-copy .hero-desc{
  margin-bottom:1.35rem !important;
}

/* Desktop hero right image: fixed 4:3 block, no auto-zoom */
@media (min-width: 992px){
  #heroSlider .hero-slide-right{
    flex:0 0 50% !important;
    min-height:420px;
    aspect-ratio:4 / 3;
    overflow:hidden;
    background:#f3f4f6;
  }
  #heroSlider .hero-slide-right img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    transform:none !important;
    transition:none !important;
  }
  #heroSlider .owl-item.active .hero-slide-right img{
    transform:none !important;
  }
}
.hero-copy .hero-cta{
  margin-top:.15rem;
}
.hero-slide-counter{
  bottom:clamp(1rem, 2vw, 1.75rem) !important;
}
@media (min-width: 992px){
  .hero-copy{
    position:absolute;
    left:clamp(4.5rem, 7vw, 7rem);
    top:50%;
    width:min(calc(100% - 9rem), 620px);
    margin:0 !important;
    transform:translateY(-50%) !important;
    z-index:2;
  }
  .hero-slide-left{
    position:relative;
    padding:0 !important;
  }
  .hero-slide-counter{
    left:clamp(4.5rem, 7vw, 7rem) !important;
    bottom:1.35rem !important;
  }
}
@media (max-width: 767px){
  .hero-copy{
    transform:none;
    margin:0;
  }
}

/* Desktop hero optical correction */
@media (min-width: 992px){
  .hero-slide{
    display:grid !important;
    grid-template-columns:minmax(0, 50%) minmax(0, 50%) !important;
    align-items:stretch !important;
  }
  .hero-slide-left,
  .hero-slide-right{
    width:100% !important;
    min-width:0 !important;
    flex:none !important;
  }
  .hero-slide-left{
    display:grid !important;
    align-items:center !important;
    justify-items:start !important;
    padding:clamp(2rem, 4vw, 4rem) clamp(3.25rem, 5.4vw, 5.25rem) !important;
    overflow:hidden !important;
  }
  .hero-copy{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:min(100%, 620px) !important;
    margin:0 !important;
    transform:translateY(-8%) !important;
  }
  .hero-copy .hero-title{
    font-size:clamp(2rem, 2.55vw, 3rem) !important;
    line-height:1.05 !important;
    letter-spacing:-.055em !important;
    max-width:620px !important;
    margin-bottom:.95rem !important;
  }
  .hero-copy .hero-desc{
    max-width:540px !important;
    margin-bottom:1rem !important;
    font-size:clamp(.9rem, 1vw, 1.05rem) !important;
  }
  .hero-copy .hero-cta{
    display:flex !important;
    opacity:1 !important;
    visibility:visible !important;
  }
  .hero-copy .btn-hero-primary{
    background:#fff !important;
    color:#050505 !important;
    border:1px solid rgba(255,255,255,.9) !important;
    box-shadow:0 14px 34px rgba(0,0,0,.18);
  }
  .hero-copy .btn-hero-primary:hover{
    background:#f3f4f6 !important;
    color:#050505 !important;
  }
  .hero-copy .btn-hero-ghost{
    color:#fff !important;
    border-color:rgba(255,255,255,.32) !important;
  }
  .hero-copy .btn-hero-ghost:hover{
    background:rgba(255,255,255,.12) !important;
    color:#fff !important;
  }
}

/* Contact page modern section */
.contact-modern{max-width:1180px;margin:0 auto}
.contact-hero{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:1rem;
  padding:1.4rem;
  border-radius:22px;
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 60%,#334155 100%);
  color:#fff;
}
.contact-kicker{font-size:.75rem;letter-spacing:.12em;font-weight:800;opacity:.8}
.contact-title{font-size:clamp(1.7rem,3vw,2.6rem);font-weight:800;letter-spacing:-.02em;margin:.35rem 0}
.contact-sub{font-size:1rem;color:rgba(255,255,255,.82);margin:0}
.contact-chips{display:flex;flex-wrap:wrap;gap:.5rem;align-content:flex-start;justify-content:flex-end}
.contact-chips span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.26);padding:.45rem .75rem;border-radius:999px;font-size:.78rem;font-weight:700}
.contact-card{padding:1rem;border-radius:16px}
.contact-card h3{font-size:1rem;margin:.5rem 0 .25rem;font-weight:800}
.contact-card p{margin:0;color:var(--muted)}
.contact-icon{width:42px;height:42px;border-radius:12px;background:var(--primary-pale);color:var(--primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.1rem}
.contact-content{padding:1.15rem;border-radius:16px;line-height:1.7}
@media (max-width:991px){
  .contact-hero{grid-template-columns:1fr;padding:1.1rem}
  .contact-chips{justify-content:flex-start}
}

/* Search results toolbar alignment fixes */
.products-toolbar{align-items:center}
.products-toolbar .filter-chips{margin-bottom:0;align-items:center}
.products-toolbar .filter-chip{height:42px;padding:.4rem .95rem;border-radius:999px}
.toolbar-right{display:flex;align-items:center;gap:.6rem;flex-wrap:nowrap;justify-content:flex-end}
.products-sort-select{
  width:160px !important;
  height:42px;
  border-color:var(--border) !important;
  border-radius:var(--r-sm) !important;
  font-size:.88rem !important;
  font-weight:700 !important;
  background-color:#fff;
}

@media (max-width:991px){
  .products-toolbar{gap:.6rem}
  .toolbar-right{width:100%;justify-content:space-between;flex-wrap:wrap}
  .products-sort-select{width:100% !important;max-width:180px}
  .products-listing-hero-actions{flex-direction:column}
  .products-filter-toggle{width:100%}
  .products-filter-field--submit,
  .products-filter-submit{width:100%}
}

/* Desktop category submenu */
.nav-categories .inner{overflow:visible}
.nav-cat-item{position:relative;display:flex;align-items:center}
.nav-cat-trigger{display:flex;align-items:center}
.nav-cat-caret{
  border:0;
  background:transparent;
  color:#f97316;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.15rem .35rem;
  margin-left:-.15rem;
  border-radius:6px;
  cursor:pointer;
  font-size:.95rem;
  transition:transform var(--tr-sm), background var(--tr-sm), color var(--tr-sm);
}
.nav-cat-caret:hover{background:rgba(249,115,22,.12);color:#ea580c}
.nav-cat-item.is-open .nav-cat-caret{transform:rotate(180deg)}
.nav-submenu{
  position:absolute;
  top:calc(100% + 2px);
  left:0;
  min-width:230px;
  padding:.55rem;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  box-shadow:0 16px 28px rgba(15,23,42,.14);
  display:none;
  z-index:2300;
}
.nav-cat-item::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:10px;
}
.nav-submenu-link{
  display:block;
  padding:.48rem .6rem;
  border-radius:8px;
  color:var(--text-2);
  font-size:.83rem;
  font-weight:600;
  text-decoration:none;
}
.nav-submenu-link:hover{background:var(--primary-pale);color:var(--primary)}
.nav-cat-item:hover .nav-submenu,
.nav-cat-item.is-open .nav-submenu{display:block}

.mobile-cat-group{border:0;margin:0}
.mobile-cat-summary{
  list-style:none;
  cursor:pointer;
  display:flex !important;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  background:none !important;
  color:var(--text-3) !important;
  padding:.65rem .5rem !important;
  border-radius:var(--r-sm) !important;
  font-weight:700 !important;
}
.mobile-cat-summary::-webkit-details-marker{display:none}
.mobile-cat-chevron{font-size:.85rem;color:#f97316;transition:transform var(--tr-sm), color var(--tr-sm)}
.mobile-cat-group[open] .mobile-cat-chevron{transform:rotate(180deg);color:#ea580c}
.mobile-cat-children{display:grid;gap:.15rem;padding:.15rem 0 .35rem}
.mobile-cat-parent-link{
  color:var(--primary) !important;
  font-weight:700 !important;
  padding:.4rem .5rem .4rem 2rem !important;
}
.mobile-cat-child-link{
  color:var(--muted) !important;
  font-weight:600 !important;
  padding:.3rem .5rem .3rem 2.1rem !important;
}

.pdp-action-btn{
  min-height:56px;
  padding:.85rem 1.05rem;
  font-size:1.02rem;
  line-height:1;
}
.pdp-price-block{
  padding:1rem;
  background:var(--bg-2);
  border-radius:var(--r-md);
  min-width:0;
}
.pdp-price-row{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:.5rem .75rem;
  min-width:0;
}
.pdp-price-current{
  font-size:clamp(1.55rem, 5.5vw, 2rem);
  font-weight:900;
  color:var(--primary);
  line-height:1;
  flex:0 0 auto;
  max-width:100%;
}
.pdp-price-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.35rem .5rem;
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
}
.pdp-price-old{
  font-size:1rem;
  color:var(--muted);
  text-decoration:line-through;
  line-height:1.2;
}
.pdp-price-badge{
  display:inline-flex;
  align-items:center;
  flex:0 1 auto;
  max-width:100%;
  background:#FEF3C7;
  color:#D97706;
  font-size:.72rem;
  font-weight:800;
  padding:.25rem .55rem;
  border-radius:var(--r-sm);
  line-height:1.2;
  white-space:normal;
  text-align:center;
}
.pdp-gallery-discount-badge{
  position:absolute;
  top:.75rem;
  left:.75rem;
  z-index:2;
  background:var(--danger);
  color:#fff;
  font-size:.72rem;
  font-weight:800;
  padding:.2rem .55rem;
  border-radius:var(--r-sm);
  line-height:1.2;
  max-width:calc(100% - 1.5rem);
  white-space:normal;
  text-align:center;
}
@media (max-width:575.98px){
  .pdp-price-row{
    flex-direction:column;
    align-items:flex-start;
  }
  .pdp-price-meta{
    width:100%;
  }
}
.pdp-install-toggle-wrap{
  padding:.85rem 1rem;
  background:var(--bg-2);
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
}
.cart-install-badge{
  display:inline-flex;
  align-items:center;
  margin-top:.35rem;
  padding:.18rem .5rem;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-size:.72rem;
  font-weight:800;
}
.pdp-qty .qty-btn,
.pdp-qty .qty-input{
  height:56px;
  min-height:56px;
  font-size:1.08rem;
}
.pdp-qty .qty-input{width:56px}

.empty-state{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--r-xl);
  box-shadow:var(--sh-sm);
}

/* Mobile/Tablet horizontal overflow guard */
html, body{
  max-width:100%;
  overflow-x:hidden;
}
.site-footer{
  max-width:100%;
  overflow-x:hidden;
}
@media (max-width:1199px){
  .hero-wide{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-inline:0 !important;
  }
}

/* Mobile header alignment: brand left, actions right */
@media (max-width:767px){
  .site-header{
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    border-bottom:1px solid rgba(226,232,240,.85) !important;
  }
  .header-inner{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    z-index:auto !important;
    grid-template-columns:auto 1fr auto;
    gap:.55rem;
    padding:.65rem .85rem !important;
  }
  .announcement-bar{display:none !important}
  .header-actions{margin-left:auto;gap:.45rem}
}

/* B2B portal modern layer */
.b2b-body{
  background:linear-gradient(180deg,#f5f8ff 0%,#eef3fb 100%);
  color:#0f172a;
}

.b2b-topbar{
  position:sticky;
  top:0;
  z-index:1050;
  background:rgba(255,255,255,.88);
  border-bottom:1px solid #e2e8f0;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.b2b-topbar-inner{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.b2b-logo-dot{
  width:11px;
  height:11px;
  border-radius:999px;
  background:linear-gradient(135deg,#2563eb,#3b82f6);
  box-shadow:0 0 0 4px rgba(37,99,235,.15);
}

.b2b-brand{
  font-weight:800;
  font-size:1.05rem;
  color:#0f172a;
  text-decoration:none;
}

.b2b-brand:hover{color:#2563eb}

.b2b-nav{
  display:flex;
  align-items:center;
  gap:.5rem;
  overflow:auto;
}

.b2b-nav-link{
  white-space:nowrap;
  text-decoration:none;
  color:#475569;
  font-weight:700;
  font-size:.92rem;
  padding:.58rem .85rem;
  border:1px solid transparent;
  border-radius:12px;
  transition:all .2s ease;
}

.b2b-nav-link:hover{
  color:#1e3a8a;
  border-color:#c7d2fe;
  background:#eef2ff;
}

.b2b-nav-link.active{
  color:#0f172a;
  background:linear-gradient(180deg,#fff,#eff6ff);
  border-color:#c7d2fe;
  box-shadow:0 8px 18px rgba(37,99,235,.08);
}

.b2b-logout-btn{
  border:1px solid #e2e8f0;
  background:#fff;
  color:#0f172a;
  font-weight:700;
  border-radius:12px;
}

.b2b-main{
  min-height:calc(100vh - 74px);
  padding-bottom:1rem;
}

.b2b-page-head{
  margin-bottom:1rem;
}

.b2b-hero{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(320px,.85fr);
  gap:1rem;
  padding:1.25rem;
  margin-bottom:1rem;
  border:1px solid #dbe7ff;
  border-radius:24px;
  background:
    radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 35%),
    radial-gradient(circle at bottom left, rgba(37,99,235,.12), transparent 30%),
    linear-gradient(180deg,#ffffff 0%, #f8fbff 100%);
  box-shadow:0 18px 40px rgba(15,23,42,.06);
}

.b2b-hero::after{
  content:'';
  position:absolute;
  inset:auto -80px -80px auto;
  width:220px;
  height:220px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(37,99,235,.10), transparent 68%);
  pointer-events:none;
}

.b2b-hero-copy{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  gap:.9rem;
}

.b2b-kicker{
  width:max-content;
  padding:.35rem .65rem;
  border-radius:999px;
  background:#eef2ff;
  color:#1d4ed8;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.b2b-hero h1{
  margin:0;
  font-size:clamp(1.8rem, 3vw, 2.7rem);
  line-height:1.08;
  letter-spacing:-.04em;
  font-weight:900;
  color:#0f172a;
}

.b2b-hero p{
  margin:0;
  max-width:62ch;
  color:#475569;
}

.b2b-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.65rem;
}

.b2b-hero-panel{
  position:relative;
  z-index:1;
  border-radius:20px;
  border:1px solid #dbe7ff;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(239,246,255,.92));
  box-shadow:0 16px 34px rgba(37,99,235,.08);
  padding:1rem;
  display:grid;
  gap:.75rem;
  transform-style:preserve-3d;
  transform:perspective(1200px) translate3d(var(--tilt-shift-x, 0px), var(--tilt-shift-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition:transform .22s ease, box-shadow .22s ease;
}

.b2b-hero-panel:hover{
  box-shadow:0 20px 44px rgba(37,99,235,.12);
}

.b2b-hero-panel-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}

.b2b-mini-tile{
  padding:.85rem .9rem;
  border-radius:16px;
  background:#fff;
  border:1px solid #e8eef8;
}

.b2b-mini-tile .label{
  font-size:.72rem;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
}

.b2b-mini-tile .value{
  margin-top:.25rem;
  font-size:1rem;
  font-weight:900;
  color:#0f172a;
}

.b2b-section{
  margin-top:1rem;
}

.b2b-section-header{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:.8rem;
}

.b2b-section-title{
  margin:0;
  font-size:1rem;
  font-weight:900;
  color:#0f172a;
}

.b2b-section-subtitle{
  margin:.15rem 0 0;
  color:#64748b;
  font-size:.86rem;
}

.b2b-title{
  margin:0;
  font-size:1.45rem;
  font-weight:800;
  letter-spacing:-.01em;
}

.b2b-subtitle{
  margin-top:.3rem;
  color:#64748b;
}

.b2b-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:18px;
  box-shadow:0 14px 30px rgba(15,23,42,.06);
}

.b2b-card.soft{
  background:linear-gradient(180deg,#fff 0%, #f8fbff 100%);
}

.b2b-card.glow{
  border-color:#dbe7ff;
  box-shadow:0 18px 38px rgba(37,99,235,.08);
}

.b2b-card-title{
  font-weight:800;
  margin-bottom:.6rem;
}

.b2b-stat-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,251,255,.95));
  border:1px solid #dbe7ff;
  border-radius:18px;
  box-shadow:0 10px 24px rgba(37,99,235,.08);
  padding:1rem;
  height:100%;
  transition:transform .2s ease, box-shadow .2s ease;
  transform-style:preserve-3d;
  transform:perspective(900px) translate3d(var(--tilt-shift-x, 0px), var(--tilt-shift-y, 0px), 0) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.b2b-stat-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(37,99,235,.12);
}

.b2b-stat-label{
  font-size:.82rem;
  color:#64748b;
}

.b2b-stat-value{
  margin-top:.25rem;
  font-size:1.12rem;
  font-weight:800;
  color:#0f172a;
}

.b2b-table{
  margin-bottom:0;
}

.b2b-table th{
  font-size:.76rem;
  color:#64748b;
  text-transform:uppercase;
  letter-spacing:.04em;
  border-bottom:1px solid #e2e8f0;
}

.b2b-table td{
  border-color:#edf2f7;
  vertical-align:middle;
}

.b2b-table tbody tr:hover{
  background:#f8fbff;
}

.b2b-admin-table{
  border-collapse:separate;
  border-spacing:0 12px;
}

.b2b-admin-table thead th{
  border-bottom:none;
  background:transparent;
}

.b2b-admin-table tbody tr{
  box-shadow:0 10px 24px rgba(15,23,42,.04);
}

.b2b-admin-table tbody td{
  background:#fff;
  border-top:1px solid #edf2f7;
  border-bottom:1px solid #edf2f7;
}

.b2b-admin-table tbody td:first-child{
  border-left:1px solid #edf2f7;
  border-top-left-radius:16px;
  border-bottom-left-radius:16px;
}

.b2b-admin-table tbody td:last-child{
  border-right:1px solid #edf2f7;
  border-top-right-radius:16px;
  border-bottom-right-radius:16px;
}

.slogan-admin-card{
  border:1px solid #e7e5e4;
  background:linear-gradient(180deg,#fff 0%, #fafaf9 100%);
  box-shadow:0 12px 26px rgba(28,25,23,.06);
}

.slogan-admin-card-head{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-bottom:1rem;
}

.slogan-admin-ico{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#f5f0e8,#ebe4d8);
  color:#78716c;
  font-size:1.05rem;
}

.b2b-badge{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.3rem .6rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  line-height:1;
}

.b2b-badge.pending{
  background:#fef3c7;
  color:#b45309;
}

.b2b-badge.approved,
.b2b-badge.completed,
.b2b-badge.paid,
.b2b-badge.active{
  background:#dcfce7;
  color:#166534;
}

.b2b-badge.preparing,
.b2b-badge.partial{
  background:#e0e7ff;
  color:#3730a3;
}

.b2b-badge.cancelled,
.b2b-badge.failed,
.b2b-badge.passive{
  background:#fee2e2;
  color:#b91c1c;
}

.b2b-badge.neutral{
  background:#e2e8f0;
  color:#334155;
}

.b2b-reveal{
  opacity:0;
  transform:translateY(18px) scale(.985);
  transition:opacity .65s cubic-bezier(.2,.7,.2,1), transform .65s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--reveal-delay, 0ms);
  will-change:opacity, transform;
}

.b2b-reveal.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

.b2b-card,
.b2b-stat-card,
.b2b-hero,
.b2b-section{
  will-change:transform, opacity;
}

.b2b-hero-copy .btn,
.b2b-section .btn,
.b2b-card .btn{
  box-shadow:none;
}

.b2b-hero-copy .btn:hover,
.b2b-section .btn:hover,
.b2b-card .btn:hover{
  transform:translateY(-1px);
}

.b2b-input{
  border-radius:12px;
  border-color:#dbe3f0;
}

.b2b-input:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 .2rem rgba(37,99,235,.15);
}

.b2b-primary-btn{
  border-radius:12px;
  padding:.72rem 1rem;
  font-weight:700;
}

.b2b-method-option{
  display:flex;
  align-items:center;
  gap:.55rem;
  border:1px solid #dbe3f0;
  border-radius:12px;
  padding:.6rem .7rem;
  background:#fff;
}

.b2b-method-option input{
  margin-top:0;
}

.b2b-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}

.b2b-detail-tile{
  padding:.95rem 1rem;
  border-radius:16px;
  background:#fff;
  border:1px solid #e8eef8;
}

.b2b-detail-tile .label{
  color:#64748b;
  font-size:.74rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.b2b-detail-tile .value{
  margin-top:.25rem;
  color:#0f172a;
  font-size:1rem;
  font-weight:900;
}

.b2b-summary-card{
  border-radius:22px;
  padding:1rem;
  border:1px solid #dbe7ff;
  background:linear-gradient(180deg,#fff, #f8fbff);
  box-shadow:0 16px 34px rgba(37,99,235,.08);
}

.b2b-summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.52rem 0;
  border-bottom:1px dashed #e5ecf8;
}

.b2b-summary-row:last-child{
  border-bottom:none;
}

.b2b-order-status{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.35rem .7rem;
  border-radius:999px;
  font-size:.76rem;
  font-weight:800;
  letter-spacing:-.01em;
}

.b2b-order-status.pending{background:#fef3c7;color:#b45309}
.b2b-order-status.approved,
.b2b-order-status.completed{background:#dcfce7;color:#166534}
.b2b-order-status.preparing{background:#e0e7ff;color:#3730a3}
.b2b-order-status.shipped{background:#cffafe;color:#0e7490}
.b2b-order-status.cancelled{background:#fee2e2;color:#b91c1c}
.b2b-order-status.active{background:#dbeafe;color:#1d4ed8}
.b2b-order-status.neutral{background:#e2e8f0;color:#334155}

.b2b-floating-summary{
  position:fixed;
  right:18px;
  bottom:92px;
  width:min(320px, calc(100vw - 24px));
  z-index:1095;
  background:#fff;
  border:1px solid #dbe7ff;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(15,23,42,.14);
  min-height:400px;
  padding:1.15rem 1rem;
}
.b2b-floating-progress{
  height:2px;
  width:100%;
  border-radius:999px;
  background:#eef2ff;
  overflow:hidden;
  margin-bottom:.55rem;
}
.b2b-floating-progress span{
  display:block;
  width:0;
  height:100%;
  background:linear-gradient(90deg,#1d4ed8,#60a5fa);
}
.b2b-floating-summary.is-loading .b2b-floating-progress span{
  animation:b2bFloatProgress .7s ease-out;
}
@keyframes b2bFloatProgress{
  from{width:0}
  to{width:100%}
}
.addcart-loading-popup{
  position:fixed;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%) scale(.96);
  z-index:1210;
  background:#0f172a;
  color:#fff;
  border-radius:14px;
  padding:.8rem 1rem;
  display:flex;
  align-items:center;
  gap:.5rem;
  box-shadow:0 18px 44px rgba(15,23,42,.35);
  font-size:.84rem;
  font-weight:700;
  opacity:0;
  transition:all .2s ease;
  min-width:220px;
  justify-content:center;
}
.addcart-loading-overlay{
  position:fixed;
  inset:0;
  z-index:1200;
  background:rgba(15,23,42,.22);
  backdrop-filter:blur(1.5px);
  -webkit-backdrop-filter:blur(1.5px);
  opacity:0;
  transition:opacity .2s ease;
  pointer-events:none;
}
.addcart-loading-popup.show{
  opacity:1;
  transform:translate(-50%, -50%) scale(1);
}
.addcart-loading-overlay.show{
  opacity:1;
}
.addcart-loading-popup .spinner{
  width:12px;
  height:12px;
  border:2px solid rgba(255,255,255,.35);
  border-right-color:#fff;
  border-radius:50%;
  animation:addCartSpin .65s linear infinite;
}
@keyframes addCartSpin{
  to{transform:rotate(360deg)}
}
.b2b-floating-title{
  font-weight:800;
  font-size:.93rem;
  margin-bottom:.5rem;
}
.b2b-floating-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:.82rem;
  margin-bottom:.52rem;
}
.b2b-floating-row.total{
  font-size:.9rem;
  font-weight:800;
}
.b2b-floating-summary hr{
  margin:.55rem 0;
  border-color:#e8eef8;
}
.b2b-floating-items{
  margin-top:.35rem;
  max-height:138px;
  overflow:auto;
  border:1px solid #edf2f7;
  border-radius:10px;
  background:#f8fbff;
}
.b2b-floating-item{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:.45rem;
  align-items:center;
  padding:.42rem .5rem;
  border-bottom:1px solid #e9eef7;
  font-size:.74rem;
}
.b2b-floating-item:last-child{
  border-bottom:none;
}
.b2b-floating-item .name{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:700;
  color:#0f172a;
}
.b2b-floating-item .meta{
  color:#64748b;
}
.b2b-floating-item .price{
  font-weight:800;
  color:#1d4ed8;
}

@media (max-width:991px){
  .b2b-topbar-inner{
    min-height:64px;
    flex-wrap:wrap;
    padding-block:.55rem;
  }
  .b2b-nav{
    order:3;
    width:100%;
    padding-bottom:.2rem;
  }
  .b2b-floating-summary{
    right:10px;
    left:10px;
    width:auto;
    bottom:78px;
    border-radius:14px;
  }
  .b2b-hero{
    grid-template-columns:1fr;
  }
  .b2b-hero-panel-grid,
  .b2b-detail-grid{
    grid-template-columns:1fr;
  }
  .addcart-loading-popup{min-width:200px}
}

/* Final mobile hero lock (applies to all slides consistently) */
@media (max-width:767px){
  #heroSlider .hero-slide{
    position:relative !important;
    display:block !important;
    aspect-ratio:4/3 !important;
    height:auto !important;
    min-height:0 !important;
    overflow:hidden !important;
    background:#0b1224 !important;
  }

  #heroSlider .hero-slide-right{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-height:none !important;
    z-index:1 !important;
    background:#0b1224 !important;
    overflow:hidden !important;
  }

  #heroSlider .hero-slide-right[style]{
    background:#0b1224 !important;
  }

  #heroSlider .hero-slide-right img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    opacity:1 !important;
    transform:none !important;
  }

  #heroSlider .hero-slide-right::before{
    content:'' !important;
    position:absolute !important;
    inset:0 !important;
    background:rgba(8,15,36,.50) !important;
    z-index:2 !important;
    pointer-events:none !important;
  }

  #heroSlider .hero-slide-right::after{
    display:none !important;
    content:none !important;
  }

  #heroSlider .hero-slide-left{
    position:absolute !important;
    inset:0 !important;
    z-index:3 !important;
    background:transparent !important;
    padding:1.1rem 1rem 3.9rem !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items:center !important;
    text-align:center !important;
  }

  #heroSlider .hero-slide-left[style]{
    background:transparent !important;
  }

  #heroSlider .hero-copy{
    width:100% !important;
    max-width:92% !important;
    margin:0 auto !important;
    text-align:center !important;
  }

  #heroSlider .hero-desc{
    max-width:100% !important;
    margin:0 auto 1rem !important;
  }

  #heroSlider .hero-cta{
    justify-content:center !important;
  }

  /* Single source of truth for mobile slide buttons */
  #heroSlider .hero-cta .btn-hero-primary,
  #heroSlider .hero-cta .btn-hero-ghost{
    background:#000 !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.18) !important;
    box-shadow:none !important;
    opacity:1 !important;
  }
  #heroSlider .hero-cta .btn-hero-primary:hover,
  #heroSlider .hero-cta .btn-hero-ghost:hover{
    background:#000 !important;
    color:#fff !important;
    border-color:rgba(255,255,255,.3) !important;
    opacity:1 !important;
  }
}


/* ================================================================
   PREMIUM HOME HERO — light editorial, centered copy, full image
   ================================================================ */
.home-hero-premium{
  --hero-bg:#f7f5f2;
  --hero-surface:#ffffff;
  --hero-text:#1a1814;
  --hero-muted:#5c574f;
  --hero-accent:#8b6914;
  --hero-border:rgba(26,24,20,.08);
  max-width:1320px;
  margin-inline:auto;
  border-radius:28px;
  overflow:hidden;
  background:var(--hero-bg);
  border:1px solid var(--hero-border);
  box-shadow:0 24px 64px rgba(26,24,20,.08);
}
.home-hero-media[data-reveal],
.home-hero-intro[data-reveal],
.home-hero-body[data-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.home-hero-premium.is-ready .home-hero-intro[data-reveal]{opacity:1;transform:none}
.home-hero-premium.is-ready .home-hero-media[data-reveal]{opacity:1;transform:none;transition-delay:.08s}
.home-hero-premium.is-ready .home-hero-body[data-reveal]{opacity:1;transform:none;transition-delay:.14s}
.home-hero-intro{
  position:relative;
  z-index:3;
  padding:clamp(1.1rem,2.2vw,1.6rem) clamp(1rem,4vw,2.5rem) .35rem;
  background:var(--hero-bg);
}
.home-hero-media-frame{
  position:relative;
  width:100%;
  min-height:clamp(170px,24vw,300px);
  background:var(--hero-bg);
  overflow:hidden;
}
.home-hero-media-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center bottom;
  opacity:0;
  transform:scale(1.04);
  transform-origin:center bottom;
  transition:opacity 1s ease, transform 8s ease;
}
.home-hero-media-img.is-active{
  opacity:1;
  transform:scale(1);
  animation:heroKenBurnsLight 16s ease-in-out infinite alternate;
}
@keyframes heroKenBurnsLight{
  0%{transform:scale(1)}
  100%{transform:scale(1.04)}
}
.home-hero-media-shade{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, #f7f5f2 0%, #f7f5f2 28%, rgba(247,245,242,.82) 48%, rgba(247,245,242,.35) 72%, rgba(247,245,242,0) 100%);
  pointer-events:none;
}
.home-hero-body{
  position:relative;
  margin-top:clamp(-3.2rem,-6vw,-2rem);
  padding:0 clamp(1rem,4vw,2.5rem) clamp(1rem,2.2vw,1.6rem);
  z-index:2;
}
.home-hero-body-inner{
  max-width:760px;
  margin-inline:auto;
  text-align:center;
  padding:0 clamp(1rem,3vw,2rem);
}
.home-hero-intro .home-hero-body-inner{
  padding-bottom:0;
}
.home-hero-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  margin-bottom:.7rem;
  padding:.32rem .85rem;
  border-radius:999px;
  background:var(--hero-surface);
  border:1px solid var(--hero-border);
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--hero-accent);
  box-shadow:0 8px 24px rgba(26,24,20,.06);
}
.home-hero-kicker::before,
.home-hero-kicker::after{
  content:'';
  width:18px;
  height:1px;
  background:linear-gradient(90deg, transparent, var(--hero-accent));
}
.home-hero-kicker::after{
  background:linear-gradient(90deg, var(--hero-accent), transparent);
}
.home-hero-title{
  margin:0 0 .7rem;
  font-family:'Plus Jakarta Sans','Inter',sans-serif;
  font-size:clamp(1.85rem,4vw,3rem);
  line-height:1.12;
  font-weight:300;
  letter-spacing:-.04em;
  color:var(--hero-text);
}
.home-hero-desc{
  margin:0 auto .25rem;
  max-width:52ch;
  color:var(--hero-muted);
  font-size:clamp(.95rem,1.25vw,1.05rem);
  line-height:1.65;
}
.home-hero-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:.6rem;
  margin:0 auto 1.2rem;
  max-width:680px;
  padding:.8rem .95rem;
  border-radius:16px;
  background:var(--hero-surface);
  border:1px solid var(--hero-border);
  box-shadow:0 12px 32px rgba(26,24,20,.05);
}
.home-hero-stat{padding:.15rem}
.home-hero-stat-value{
  font-size:clamp(1.35rem,2.2vw,1.85rem);
  font-weight:900;
  line-height:1;
  color:var(--hero-text);
  letter-spacing:-.02em;
}
.home-hero-stat-number{
  font-size:1.2em;
}
.home-hero-stat-suffix{
  font-size:.82em;
  color:var(--hero-accent);
}
.home-hero-stat-label{
  margin-top:.35rem;
  font-size:.66rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a847a;
}
.home-hero-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.65rem;
  margin-bottom:.9rem;
}
.home-hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:168px;
  padding:.72rem 1.35rem;
  border-radius:999px;
  font-weight:800;
  font-size:.92rem;
  text-decoration:none;
  transition:transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.home-hero-btn-primary{
  background:var(--hero-text);
  color:#fff;
  box-shadow:0 14px 32px rgba(26,24,20,.18);
}
.home-hero-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 40px rgba(26,24,20,.24);
  color:#fff;
}
.home-hero-btn-outline{
  background:var(--hero-surface);
  color:var(--hero-text);
  border:1.5px solid var(--hero-border);
}
.home-hero-btn-outline:hover{
  background:#fff;
  border-color:rgba(26,24,20,.18);
  transform:translateY(-2px);
  color:var(--hero-text);
}
.home-hero-trust{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:.55rem 1.1rem;
  font-size:.78rem;
  font-weight:700;
  color:#7a746a;
}
.home-hero-trust span{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
}
.home-hero-trust i{color:var(--hero-accent)}
@media (max-width:991px){
  .home-hero-stats{grid-template-columns:repeat(2, minmax(0,1fr))}
  .home-hero-media-frame{min-height:190px}
}
@media (max-width:575px){
  .home-hero-premium{border-radius:20px}
  .home-hero-body{margin-top:-1.6rem}
  .home-hero-intro{padding-bottom:.15rem}
  .home-hero-actions{flex-direction:column;width:100%}
  .home-hero-btn{width:100%}
  .home-hero-trust{flex-direction:column;gap:.45rem}
}

/* ================================================================
   HOME CAMPAIGN BANNER — swipe slider + countdown + urgency UI
   ================================================================ */
.home-campaign-banner{
  --campaign-bg:#fffdfb;
  --campaign-surface:#ffffff;
  --campaign-text:#14120f;
  --campaign-muted:#6f6a62;
  --campaign-accent:#e85d24;
  --campaign-accent-soft:rgba(232,93,36,.12);
  --campaign-border:rgba(20,18,15,.08);
}
.home-campaign-shell{
  max-width:1320px;
  margin-inline:auto;
  padding:clamp(1rem,2vw,1.25rem);
  border-radius:28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(232,93,36,.08), transparent 42%),
    linear-gradient(180deg, #fffdfb 0%, #f8f4ef 100%);
  border:1px solid var(--campaign-border);
  box-shadow:0 20px 56px rgba(20,18,15,.07);
}
.home-campaign-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1rem;
}
.home-campaign-kicker{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  margin-bottom:.45rem;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--campaign-accent);
}
.home-campaign-heading{
  margin:0;
  font-family:'Plus Jakarta Sans','Inter',sans-serif;
  font-size:clamp(1.35rem,2.4vw,1.85rem);
  font-weight:300;
  letter-spacing:-.03em;
  color:var(--campaign-text);
}
.home-campaign-nav{
  display:flex;
  gap:.5rem;
}
.home-campaign-nav-btn{
  width:42px;
  height:42px;
  border:1px solid var(--campaign-border);
  border-radius:999px;
  background:var(--campaign-surface);
  color:var(--campaign-text);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.home-campaign-nav-btn:hover{
  transform:translateY(-1px);
  border-color:rgba(20,18,15,.16);
  box-shadow:0 10px 24px rgba(20,18,15,.08);
}
.home-campaign-viewport{
  overflow:hidden;
  touch-action:pan-y;
}
.home-campaign-track{
  display:flex;
  transition:transform .58s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}
.home-campaign-slide{
  flex:0 0 100%;
  min-width:100%;
}
.home-campaign-card{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:clamp(1rem,2.5vw,1.75rem);
  align-items:center;
  padding:clamp(.85rem,2vw,1.25rem);
  border-radius:22px;
  background:var(--campaign-surface);
  border:1px solid var(--campaign-border);
  box-shadow:0 14px 36px rgba(20,18,15,.05);
}
.home-campaign-visual{
  position:relative;
  min-height:280px;
  border-radius:18px;
  background:linear-gradient(145deg, #f3ede6, #fff);
  overflow:hidden;
}
.home-campaign-visual-glow{
  position:absolute;
  inset:auto -20% -30% -20%;
  height:70%;
  background:radial-gradient(circle, rgba(232,93,36,.18), transparent 68%);
  animation:campaignGlowPulse 4s ease-in-out infinite;
}
@keyframes campaignGlowPulse{
  0%,100%{transform:scale(1);opacity:.75}
  50%{transform:scale(1.08);opacity:1}
}
.home-campaign-badge-float{
  position:absolute;
  top:14px;
  left:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.42rem .75rem;
  border-radius:999px;
  background:rgba(20,18,15,.88);
  color:#fff;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  animation:campaignBadgeBob 2.8s ease-in-out infinite;
}
.home-campaign-badge-icon{
  width:22px;
  height:22px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, #ffb347, #e85d24);
  animation:campaignSparkle 1.6s ease-in-out infinite;
}
@keyframes campaignBadgeBob{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-4px)}
}
@keyframes campaignSparkle{
  0%,100%{transform:rotate(0deg) scale(1)}
  50%{transform:rotate(8deg) scale(1.08)}
}
.home-campaign-image-link{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:1.25rem;
}
.home-campaign-image{
  width:100%;
  max-height:250px;
  object-fit:contain;
  filter:drop-shadow(0 18px 28px rgba(20,18,15,.16));
  animation:campaignImageFloat 5s ease-in-out infinite;
}
@keyframes campaignImageFloat{
  0%,100%{transform:translateY(0) scale(1)}
  50%{transform:translateY(-8px) scale(1.02)}
}
.home-campaign-content{padding:.25rem .35rem}
.home-campaign-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  margin-bottom:.75rem;
}
.home-campaign-tag{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding:.28rem .62rem;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.home-campaign-tag-hot{
  background:var(--campaign-accent-soft);
  color:var(--campaign-accent);
}
.home-campaign-tag-discount{
  background:#14120f;
  color:#fff;
  animation:campaignDiscountPulse 2.2s ease-in-out infinite;
}
@keyframes campaignDiscountPulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.06)}
}
.home-campaign-title{
  margin:0 0 .65rem;
  font-family:'Plus Jakarta Sans','Inter',sans-serif;
  font-size:clamp(1.35rem,2.2vw,1.95rem);
  font-weight:500;
  line-height:1.2;
  letter-spacing:-.03em;
}
.home-campaign-title a{
  color:var(--campaign-text);
  text-decoration:none;
}
.home-campaign-title a:hover{color:var(--campaign-accent)}
.home-campaign-desc{
  margin:0 0 1rem;
  color:var(--campaign-muted);
  line-height:1.65;
  font-size:.96rem;
}
.home-campaign-prices{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:.65rem 1rem;
  margin-bottom:1rem;
}
.home-campaign-price-old{
  position:relative;
  color:#9b948a;
  font-size:1rem;
  font-weight:600;
}
.home-campaign-price-old::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:2px;
  background:#d64545;
  transform:rotate(-6deg);
}
.home-campaign-price-new{
  font-family:'Plus Jakarta Sans','Inter',sans-serif;
  font-size:clamp(1.8rem,3vw,2.45rem);
  font-weight:700;
  letter-spacing:-.03em;
  color:var(--campaign-text);
  animation:campaignPricePulse 2.4s ease-in-out infinite;
}
@keyframes campaignPricePulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.03)}
}
.home-campaign-countdown-label{
  margin-bottom:.55rem;
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#8a8278;
}
.home-campaign-countdown-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.45rem;
  margin-bottom:1rem;
}
.home-campaign-countdown-box{
  padding:.55rem .35rem;
  border-radius:12px;
  background:#14120f;
  color:#fff;
  text-align:center;
}
.home-campaign-countdown-box span{
  display:block;
  font-size:1.15rem;
  font-weight:800;
  line-height:1;
}
.home-campaign-countdown-box small{
  display:block;
  margin-top:.25rem;
  font-size:.62rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
}
.home-campaign-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
}
.home-campaign-btn{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.82rem 1.35rem;
  border-radius:999px;
  background:linear-gradient(135deg, #1a1814, #2d2924);
  color:#fff;
  font-weight:800;
  text-decoration:none;
  box-shadow:0 14px 30px rgba(20,18,15,.2);
  transition:transform .22s ease, box-shadow .22s ease;
}
.home-campaign-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 36px rgba(20,18,15,.26);
  color:#fff;
}
.home-campaign-swipe-hint{
  font-size:.78rem;
  font-weight:700;
  color:#8a8278;
}
.home-campaign-dots{
  display:flex;
  justify-content:center;
  gap:.45rem;
  margin-top:1rem;
}
.home-campaign-dot{
  width:9px;
  height:9px;
  border:0;
  border-radius:999px;
  background:rgba(20,18,15,.18);
  transition:width .25s ease, background .25s ease;
}
.home-campaign-dot.is-active{
  width:26px;
  background:var(--campaign-accent);
}
@media (max-width:991px){
  .home-campaign-card{grid-template-columns:1fr}
  .home-campaign-visual{min-height:220px}
  .home-campaign-head{align-items:flex-start}
}
@media (max-width:575px){
  .home-campaign-shell{border-radius:20px}
  .home-campaign-nav{display:none}
  .home-campaign-countdown-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .home-campaign-actions{flex-direction:column;align-items:stretch}
  .home-campaign-btn{justify-content:center}
}

/* Admin slogan mini editor preview */
.slogan-admin-editor{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(200px,.75fr);
  gap:1rem;
  align-items:start;
}
.slogan-admin-preview{
  border-radius:18px;
  padding:1rem;
  min-height:200px;
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--preview-accent,#8B7355) 30%, transparent), transparent 60%),
    linear-gradient(135deg, #292524, #1c1917);
  border:1px solid rgba(255,255,255,.08);
  color:#fafaf9;
  position:sticky;
  top:1rem;
}
.slogan-admin-preview-icon{
  width:48px;
  height:48px;
  border-radius:14px;
  display:grid;
  place-items:center;
  margin-bottom:.75rem;
  font-size:1.1rem;
  color:#fff;
  background:linear-gradient(135deg, var(--preview-accent,#8B7355), color-mix(in srgb, var(--preview-accent,#8B7355) 60%, #1c1917));
}
.slogan-admin-preview h4{
  margin:0 0 .4rem;
  font-size:.95rem;
  font-weight:900;
}
.slogan-admin-preview p{
  margin:0 0 .75rem;
  font-size:.8rem;
  color:rgba(250,250,249,.75);
  line-height:1.55;
}
.slogan-admin-preview-chip{
  display:inline-block;
  padding:.25rem .55rem;
  border-radius:999px;
  font-size:.65rem;
  font-weight:800;
  text-transform:uppercase;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
}
.slogan-admin-preview-label{
  font-size:.68rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:rgba(250,250,249,.45);
  margin-bottom:.5rem;
}
@media (max-width:991px){
  .slogan-admin-editor{grid-template-columns:1fr}
  .slogan-admin-preview{position:static}
}

/* Checkout — cart item preview in order summary */
.checkout-items{
  padding-bottom:1rem;
  margin-bottom:1rem;
  border-bottom:1px solid var(--border);
}
.checkout-items-title{
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:.75rem;
}
.checkout-items-list{
  display:grid;
  gap:.65rem;
  max-height:280px;
  overflow-y:auto;
  padding-right:.15rem;
}
.checkout-item{
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:.65rem;
  align-items:center;
}
.checkout-item-with-install{
  display:block;
  padding:.75rem;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.checkout-item-with-install.has-install{
  border-color:#d4b896;
  background:#fffdf8;
}
.checkout-item-main{
  display:grid;
  grid-template-columns:52px 1fr auto;
  gap:.65rem;
  align-items:center;
}
.checkout-item-install{
  margin-top:.65rem;
  padding-top:.65rem;
  border-top:1px dashed var(--border);
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(140px,.9fr);
  gap:.5rem;
  align-items:center;
}
.checkout-item-install-label{
  margin:0;
  font-size:.74rem;
  font-weight:700;
  color:var(--muted);
  display:inline-flex;
  align-items:center;
  gap:.35rem;
}
.checkout-install-summary-head{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
}
.checkout-install-summary-head strong{
  display:block;
  font-size:.88rem;
  color:var(--text);
}
.checkout-install-summary-head small{
  display:block;
  font-size:.75rem;
  color:var(--muted);
  line-height:1.45;
}
@media (max-width:575px){
  .checkout-item-install{grid-template-columns:1fr}
}
.checkout-item-image{
  width:52px;
  height:52px;
  border-radius:10px;
  overflow:hidden;
  background:var(--bg-2);
  border:1px solid var(--border);
  flex-shrink:0;
}
.checkout-item-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.checkout-item-info{min-width:0}
.checkout-item-name{
  font-size:.82rem;
  font-weight:800;
  color:var(--text);
  line-height:1.3;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.checkout-item-meta{
  font-size:.72rem;
  color:var(--muted);
  margin-top:.2rem;
}
.checkout-item-total{
  font-size:.85rem;
  font-weight:900;
  color:var(--text);
  white-space:nowrap;
}
.checkout-items-edit{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  margin-top:.75rem;
  font-size:.78rem;
  font-weight:700;
  color:var(--primary);
  text-decoration:none;
}
.checkout-items-edit:hover{color:var(--primary);opacity:.85}

.checkout-upsell-card{
  border:1.5px solid rgba(232,93,36,.22);
  border-radius:var(--r-md);
  padding:1rem;
  background:linear-gradient(180deg,#fffdfb 0%,#fff7f1 100%);
  box-shadow:0 12px 28px rgba(232,93,36,.08);
}
.checkout-upsell-kicker{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#e85d24;
}
.checkout-upsell-title{
  margin:.35rem 0 .75rem;
  font-size:1rem;
  font-weight:800;
  color:var(--text);
}
.checkout-upsell-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  padding:.75rem 0;
  border-top:1px solid rgba(20,18,15,.08);
}
.checkout-upsell-item:first-child{border-top:0;padding-top:0}
.checkout-upsell-badge{
  display:inline-flex;
  margin-bottom:.25rem;
  padding:.18rem .5rem;
  border-radius:999px;
  background:#14120f;
  color:#fff;
  font-size:.65rem;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.checkout-upsell-product{
  font-size:.9rem;
  font-weight:700;
  color:var(--text);
}
.checkout-upsell-prices{
  display:flex;
  align-items:center;
  gap:.45rem;
  margin-top:.2rem;
}
.checkout-upsell-old{
  color:#9b948a;
  text-decoration:line-through;
  font-size:.82rem;
}
.checkout-upsell-new{
  font-size:1rem;
  font-weight:900;
  color:var(--text);
}
.checkout-upsell-pct{
  font-size:.72rem;
  font-weight:800;
  color:#e85d24;
}
.checkout-upsell-btn{
  white-space:nowrap;
  font-weight:800;
}

.checkout-install-card{
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  padding:.9rem;
  background:linear-gradient(180deg,#fff 0%, #fafaf9 100%);
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.checkout-install-card.is-active{
  border-color:#c4a574;
  background:linear-gradient(180deg,#fffdf8 0%, #f8f4ec 100%);
  box-shadow:0 10px 24px rgba(196,165,116,.12);
}
.checkout-install-label{
  display:flex;
  gap:.75rem;
  align-items:flex-start;
  cursor:pointer;
  margin:0;
}
.checkout-install-label input{
  margin-top:.45rem;
  width:18px;
  height:18px;
  flex-shrink:0;
  accent-color:#c4a574;
}
.checkout-install-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  background:#f5f0e8;
  color:#8b7355;
  font-size:1.05rem;
}
.checkout-install-copy{
  display:flex;
  flex-direction:column;
  gap:.2rem;
}
.checkout-install-copy strong{
  font-size:.88rem;
  color:var(--text);
}
.checkout-install-copy small{
  font-size:.75rem;
  color:var(--muted);
  line-height:1.45;
}
.checkout-install-hint{
  margin-top:.65rem;
  font-size:.72rem;
  line-height:1.5;
  color:var(--muted);
}
.checkout-install-note{
  margin-top:.75rem;
  padding-top:.75rem;
  border-top:1px dashed var(--border);
  font-size:.78rem;
  color:var(--muted-2);
}
.checkout-install-products{
  display:grid;
  gap:.65rem;
  margin-top:.85rem;
}
.checkout-install-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:.65rem;
  align-items:center;
  padding:.65rem .7rem;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}
.checkout-install-row.has-install{
  border-color:#d4b896;
  background:#fffdf8;
}
.checkout-install-row-name{
  font-size:.82rem;
  font-weight:800;
  color:var(--text);
  line-height:1.35;
}
.checkout-install-row-meta{
  font-size:.72rem;
  color:var(--muted);
  margin-top:.15rem;
}
.checkout-install-stepper{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding:.2rem;
  border:1.5px solid #d4b896;
  border-radius:999px;
  background:#fff;
}
.checkout-install-btn{
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  background:#f5f0e8;
  color:#5c4d3c;
  font-size:1.15rem;
  font-weight:900;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease, opacity .2s ease;
}
.checkout-install-btn:hover:not(:disabled){
  background:#e8dcc8;
  transform:scale(1.04);
}
.checkout-install-btn:disabled{
  opacity:.35;
  cursor:not-allowed;
}
.checkout-install-qty{
  width:34px;
  border:none;
  background:transparent;
  text-align:center;
  font-size:.95rem;
  font-weight:900;
  color:var(--text);
  padding:0;
  -moz-appearance:textfield;
}
.checkout-install-qty::-webkit-outer-spin-button,
.checkout-install-qty::-webkit-inner-spin-button{
  -webkit-appearance:none;
  margin:0;
}
@media (max-width:575px){
  .checkout-install-row{grid-template-columns:1fr}
  .checkout-install-stepper{justify-self:start}
}

.checkout-delivery-type-title{
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--muted);
  margin-bottom:.75rem;
}

.checkout-delivery-options{
  display:grid;
  gap:.75rem;
}

.checkout-delivery-option{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:.85rem;
  align-items:center;
  padding:.9rem 1rem;
  border:1.5px solid var(--border);
  border-radius:var(--r-md);
  cursor:pointer;
  transition:border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.checkout-delivery-option input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.checkout-delivery-option.is-active{
  border-color:var(--primary);
  background:rgba(196,165,116,.08);
  box-shadow:0 0 0 1px rgba(196,165,116,.15);
}

.checkout-delivery-option-icon{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--surface-2);
  color:var(--primary);
  font-size:1.1rem;
}

.checkout-delivery-option.is-active .checkout-delivery-option-icon{
  background:var(--primary);
  color:#fff;
}

.checkout-delivery-option-copy strong{
  display:block;
  font-size:.92rem;
  color:var(--text);
}

.checkout-delivery-option-copy small{
  display:block;
  margin-top:.15rem;
  color:var(--muted);
  font-size:.78rem;
  line-height:1.4;
}

@media (max-width:575.98px){
  .checkout-delivery-option{
    grid-template-columns:1fr;
    text-align:left;
  }

  .checkout-delivery-option-icon{
    justify-self:start;
  }
}

.b2b-group-badge-wrap{
  display:inline-flex;
  flex-direction:column;
  gap:.45rem;
  margin-bottom:.85rem;
}

.b2b-group-badge-wrap--hero{
  margin-bottom:1rem;
}

.b2b-group-badge{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:.42rem .9rem;
  border-radius:999px;
  color:#fff;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  box-shadow:0 10px 24px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.28);
  border:1px solid rgba(255,255,255,.22);
  text-shadow:0 1px 3px rgba(0,0,0,.35);
}

.b2b-group-badge--compact{
  padding:.28rem .65rem;
  font-size:.72rem;
}

.b2b-group-badge--hero{
  padding:.65rem 1.15rem;
  border-radius:1rem;
  box-shadow:0 16px 34px rgba(15,23,42,.22), inset 0 1px 0 rgba(255,255,255,.3);
}

.b2b-group-badge-code{
  font-family:"Avenir Next", "Segoe UI", sans-serif;
  font-size:1.05em;
  line-height:1;
}

.b2b-group-badge--hero .b2b-group-badge-code{
  font-size:1.45rem;
  letter-spacing:.08em;
}

.b2b-group-badge-label{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
  text-transform:none;
  opacity:.95;
}

.b2b-group-badge--hero .b2b-group-badge-label{
  font-size:.92rem;
}

.b2b-group-discount-pill{
  display:inline-flex;
  align-items:center;
  width:fit-content;
  padding:.32rem .75rem;
  border-radius:999px;
  background:#f1f5f9;
  border:1px solid #cbd5e1;
  color:#0f172a;
  font-size:.78rem;
  font-weight:800;
}

.b2b-group-badge-wrap--hero .b2b-group-discount-pill{
  background:#fff;
  border-color:#94a3b8;
  color:#1e293b;
  box-shadow:0 2px 8px rgba(15,23,42,.06);
}

.b2b-group-badge--r1 .b2b-group-badge-code,
.b2b-group-badge--r2 .b2b-group-badge-code{
  text-shadow:0 2px 10px rgba(0,0,0,.25);
}

.b2b-group-preview{
  min-width:64px;
  justify-content:center;
}

/* B2B inventory table — Trendyol envanter benzeri yatay liste */
.b2b-inv-card{
  overflow:hidden;
}
.b2b-inv-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.75rem 1rem;
  padding:1rem 1rem .5rem;
  border-bottom:1px solid #e2e8f0;
}
.b2b-inv-search{
  position:relative;
  flex:1 1 280px;
  min-width:0;
}
.b2b-inv-search .bi-search{
  position:absolute;
  left:.9rem;
  top:50%;
  transform:translateY(-50%);
  color:#9ca3af;
  pointer-events:none;
}
.b2b-inv-search .form-control{
  padding-left:2.5rem;
  min-height:44px;
  border-radius:12px;
}
.b2b-inv-toolbar-meta{
  font-size:.82rem;
  color:#64748b;
  white-space:nowrap;
}
.b2b-inv-table-wrap{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.b2b-inv-table{
  width:100%;
  min-width:820px;
  border-collapse:collapse;
  margin:0;
}
.b2b-inv-table thead th{
  position:sticky;
  top:0;
  z-index:2;
  background:#f8fafc;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#64748b;
  padding:.85rem 1rem;
  border-bottom:2px solid #e2e8f0;
  white-space:nowrap;
}
.b2b-inv-table tbody td{
  padding:.85rem 1rem;
  border-bottom:1px solid #edf2f7;
  vertical-align:middle;
}
.b2b-inv-row:hover{
  background:#f8fbff;
}
.b2b-inv-product{
  display:flex;
  align-items:flex-start;
  gap:.65rem;
  min-width:200px;
}
/* 1200x1800 source image at ~5% => 64x96, keep 2:3 ratio */
.b2b-inv-thumb{
  width:64px;
  height:96px;
  aspect-ratio:2/3;
  object-fit:cover;
  border-radius:8px;
  border:1px solid #e5e7eb;
  flex-shrink:0;
  background:#fff;
}
.b2b-inv-thumb--empty{
  display:grid;
  place-items:center;
  width:64px;
  height:96px;
  aspect-ratio:2/3;
  background:#f3f4f6;
  color:#9ca3af;
  font-size:.85rem;
}
.b2b-inv-th-product{
  min-width:220px;
}
.b2b-inv-td-product{
  min-width:220px;
}
.b2b-inv-title{
  font-weight:600;
  color:#0f172a;
  line-height:1.35;
  font-size:.92rem;
}
.b2b-inv-meta{
  font-size:.78rem;
  color:#94a3b8;
  margin-top:.2rem;
}
.b2b-inv-codes{
  font-size:.8rem;
  line-height:1.5;
  min-width:160px;
}
.b2b-inv-codes div{
  display:flex;
  gap:.5rem;
}
.b2b-inv-codes span{
  flex:0 0 52px;
  font-weight:600;
  color:#64748b;
  font-size:.72rem;
  text-transform:uppercase;
}
.b2b-inv-list-price{
  color:#64748b;
  font-weight:500;
  white-space:nowrap;
}
.b2b-inv-dealer-price{
  font-weight:700;
  color:#2563eb;
  white-space:nowrap;
}
.b2b-inv-discount-tag{
  font-size:.7rem;
  color:#16a34a;
  margin-top:.15rem;
}
.b2b-inv-stock{
  font-weight:700;
  color:#0f172a;
}
.b2b-inv-actions{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
}
.b2b-inv-add-btn{
  width:34px;
  height:34px;
  padding:0;
  display:inline-grid;
  place-items:center;
  border-radius:10px;
}
.b2b-draft-items{
  max-height:min(42vh, 360px);
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.b2b-draft-item{
  padding:.75rem;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
}
.b2b-draft-item-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:.5rem;
}
.b2b-draft-item-name{
  font-weight:600;
  font-size:.9rem;
  line-height:1.3;
}
.b2b-draft-item-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-top:.5rem;
}
.b2b-draft-qty{
  max-width:130px;
}
.b2b-products-split{
  align-items:stretch;
}
.b2b-products-split > [class*="col-"]{
  display:flex;
  flex-direction:column;
}
.b2b-draft-col{
  position:relative;
  align-self:stretch;
}
.b2b-draft-spacer{
  width:100%;
  flex-shrink:0;
}
.b2b-draft-panel{
  width:100%;
  flex-shrink:0;
}
.b2b-cart-badge{
  position:absolute;
  top:-6px;
  right:-8px;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#2563eb;
  color:#fff;
  font-size:.68rem;
  font-weight:700;
  line-height:18px;
  text-align:center;
}
.b2b-draft-saved-toolbar{
  display:grid;
  grid-template-columns:1fr auto auto;
  gap:.45rem;
}
@media (max-width: 1199.98px){
  .b2b-inv-thumb,
  .b2b-inv-thumb--empty{
    width:56px;
    height:84px;
  }
  .b2b-inv-product{
    min-width:180px;
  }
  .b2b-inv-th-product,
  .b2b-inv-td-product{
    min-width:200px;
  }
}
@media (max-width: 767.98px){
  .b2b-inv-thumb,
  .b2b-inv-thumb--empty{
    width:48px;
    height:72px;
  }
  .b2b-inv-product{
    min-width:150px;
    gap:.5rem;
  }
  .b2b-inv-th-product,
  .b2b-inv-td-product{
    min-width:170px;
  }
}
@media (max-width: 991.98px){
  .b2b-draft-panel{
    position:static !important;
    top:auto !important;
    left:auto !important;
    width:100% !important;
    max-height:none !important;
  }
  .b2b-draft-spacer{
    display:none;
  }
}
