/* ============================================================
   TapeCore — Main Stylesheet
   style.css
   ============================================================ */

:root {
  /* Clean Light Backgrounds */
  --bg: #F8FAFC;
  --bg2: #F1F5F9;
  --surf: #EFF3F8;
  --card: #FFFFFF;
  --brd: rgba(0, 0, 0, 0.09);
  
  /* BRAND ACCENTS — slightly deepened for light-bg contrast */
  --acc: #24a9e1;       /* Ocean Cyan */
  --acc2: #0E7490;      /* Deeper Cyan for active states */
  --accg: rgba(8, 145, 178, 0.09); /* Soft cyan tint background */
  
  --red: #ee1d23;       /* Vivid Crimson */
  --red-hover: #BE123C;

  /* Dark Text on Light Backgrounds */
  --txt: #0F172A;       /* Near-black slate */
  --mut: #64748B;       /* Mid-slate gray */
  --mut2: #94A3B8;
  
  /* Status Colors */
  --green: #059669;
  --amber: #D97706;
  --tape-yellow: #D97706;
  
  /* Shape */
  --r: 8px;
  --rs: 4px;
  --tr: 0.3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--txt); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, .bb { font-family: 'Bebas Neue', sans-serif; letter-spacing: .03em; line-height: .95; }

/* ---- HEADER ---- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 70px; padding: 0 5%; display: flex; align-items: center; justify-content: space-between; transition: var(--tr); border-bottom: 1px solid transparent; }
.hdr.scrolled { background: rgba(248,250,252,.97); backdrop-filter: blur(16px); border-bottom-color: var(--brd); box-shadow: 0 1px 16px rgba(0,0,0,.07); }
/* Update the existing .logo class */
.logo { 
  display: flex;
  align-items: center;
  gap: 10px; /* Space between logo image and text */
  font-family: 'Bebas Neue', sans-serif; 
  font-size: 26px; 
  font-weight: bold;
  letter-spacing: .06em; 
  cursor: pointer; 
}

.logo span { color: var(--acc); }

/* Add this new class for the image */
.nav-logo {
  height: 51px; /* Adjust to make your logo bigger/smaller */
  width: auto;
  padding-top: 0px;
  padding-bottom: 7px;
  object-fit: contain;
  border-radius: 4px; /* Optional: smooths the edges of your jpeg */
}
.nav { display: flex; gap: 2px; align-items: center; }
.nl { padding: 8px 14px; font-size: 16px; font-weight: 500; color: var(--mut); border-radius: var(--rs); transition: var(--tr); cursor: pointer; }
.nl:hover, .nl.on { color: var(--txt); background: var(--surf); }
.nl.on { color: var(--acc); }
.btn-adm { padding: 8px 18px; background: var(--acc); color: #000; font-size: 12px; font-weight: 700; border-radius: var(--rs); letter-spacing: .06em; text-transform: uppercase; transition: var(--tr); margin-left: 6px; }
.btn-adm:hover { background: var(--acc2); }
.ham { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.ham span { display: block; width: 22px; height: 2px; background: var(--txt); border-radius: 2px; transition: var(--tr); }
.mob-menu { display: none; position: fixed; top: 70px; left: 0; right: 0; background: rgba(248,250,252,.98); backdrop-filter: blur(12px); border-bottom: 1px solid var(--brd); padding: 12px 5%; flex-direction: column; gap: 4px; z-index: 99; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.mob-menu.open { display: flex; }
.mnl { padding: 12px 16px; font-size: 15px; font-weight: 500; color: var(--mut); border-radius: var(--rs); text-align: left; cursor: pointer; transition: var(--tr); }
.mnl:hover, .mnl.on { color: var(--acc); background: var(--surf); }

/* ---- PAGE SWITCHING ---- */
.page { display: none; }
.page.on { display: block; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-sec {
  position: relative;
  width: 100%;
  height: 85vh; /* Takes up 85% of the screen height */
  min-height: 550px;
  
  overflow: hidden;
  padding-top: 70px; /* Accounts for your fixed header */
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  padding: 0 8%; /* Pushes text in from the edges */
  z-index: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the whole space perfectly */
  z-index: -2;
}

/* Dark gradient overlay so white text is always readable */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  z-index: -1;
}

.slide-content {
  position: relative;
  max-width: 600px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.8s ease 0.3s; /* Slight delay for a smooth entrance */
}

.slide.active .slide-content {
  transform: translateY(0);
  opacity: 1;
}

/* Force text to white for the slider */
.slide-content .hero-h1 {
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.9;
  margin-bottom: 20px;
  color: #fff;
}

.slide-content .hl { color: var(--acc); }

.slide-content .hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 30px;
  max-width: 480px;
}

.slide-content .hero-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--acc);
  background: rgba(255,255,255,0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

/* ---- SLIDER CONTROLS ---- */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(250, 243, 243, 0.4);
  color: #fff;
  width: 50px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--tr);
  border-radius: var(--rs);
}

.slider-btn:hover {
  background: var(--acc);
  color: #000;
}

.slider-btn.prev { left: 0; border-radius: 0 var(--rs) var(--rs) 0; }
.slider-btn.next { right: 0; border-radius: var(--rs) 0 0 var(--rs); }

.btn-p-SLIDER{
  color: #24a9e1;
  font-weight: lighter;
  font-size: 28px;
  font-family: 'Bebas Neue'
  
}

/* ---- SLIDER DOTS ---- */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--tr);
}

.dot:hover { background: rgba(255, 255, 255, 0.6); }

.dot.active {
  background: var(--acc);
  transform: scale(1.2);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .slide { padding: 0 5%; text-align: center; }
  .slide::before { background: rgba(0,0,0,0.6); } /* Darken whole screen on mobile */
  .slide-content { margin: 0 auto; }
  .slider-btn { width: 40px; height: 60px; }
}



/* The Tape Rolls Grid */
.rolls-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; position: relative; z-index: 1; }
.rc { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: var(--tr); cursor: pointer; }
.rc:hover { transform: translateY(-5px); border-color: rgba(245,166,35,.3); }
.rc:nth-child(2) { transform: translateY(-18px); }
.rc:nth-child(2):hover { transform: translateY(-23px); }
.rc:nth-child(5) { transform: translateY(18px); }
.rc:nth-child(5):hover { transform: translateY(13px); }
.rsvg { border-radius: 50%; position: relative; overflow: hidden; }
.rl { font-size: 10px; font-weight: 700; color: var(--mut); text-align: center; text-transform: uppercase; letter-spacing: .05em; }

/* ---- STATS STRIP ---- */
.strip { background: var(--surf); border-top: 1px solid var(--brd); border-bottom: 1px solid var(--brd); padding: 22px 5%; }
.strip-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.si { display: flex; align-items: center; gap: 12px; padding: 0 28px; border-right: 1px solid var(--brd); }
.si:last-child { border-right: none; }
.si-icon { width: 42px; height: 42px; background: var(--accg); border: 1px solid rgba(8,145,178,.18); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.si-n { font-family: 'Bebas Neue', sans-serif; font-size: 26px; color: var(--acc); line-height: 1; }
.si-t { font-size: 12px; color: var(--mut); font-weight: 600; }

/* ---- SECTIONS ---- */
.sec { padding: 80px 5%; max-width: 1400px; margin: 0 auto; }
.sec-wide { padding: 80px 5%; }
.sh { margin-bottom: 44px; }
.stag { font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--acc); margin-bottom: 10px; }
.stitle { font-size: clamp(40px, 5vw, 62px); line-height: .92; }
.stitle span { color: var(--acc); }
.ssub { font-size: 15px; color: var(--mut); margin-top: 12px; max-width: 500px; font-weight: 400; line-height: 1.7; }

/* ---- CATEGORY STRIP ---- */
.cats-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cats-scroll::-webkit-scrollbar { display: none; }
.cc { flex-shrink: 0; background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 18px 24px; display: flex; align-items: center; gap: 12px; cursor: pointer; transition: var(--tr); min-width: 170px; }
.cc:hover, .cc.on { border-color: var(--acc); background: var(--accg); }
.cc-icon { width: 38px; height: 38px; border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.cc-n { font-weight: 700; font-size: 14px; }
.cc-c { font-size: 11px; color: var(--mut); }

/* ---- PRODUCT CARDS ---- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; }
.pcard { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); overflow: hidden; cursor: pointer; transition: var(--tr); position: relative; }
.pcard:hover { 
  transform: translateY(-6px); 
  border-color: var(--acc); 
  box-shadow: 0 12px 40px rgba(8, 145, 178, 0.12);
}.pimg { height: 176px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.pbadges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; }
.bdg { font-size: 10px; font-weight: 700; letter-spacing: .08em; padding: 4px 9px; border-radius: 100px; text-transform: uppercase; }
.bdg-sale { background: var(--red); color: #fff; animation: pbdg 2.2s ease-in-out infinite; }
.bdg-feat { background: var(--acc); color: #000; }
.bdg-low { background: rgba(245,158,11,.18); color: var(--amber); border: 1px solid rgba(245,158,11,.28); }
.bdg-out { background: rgba(255,69,69,.14); color: var(--red); border: 1px solid rgba(255,69,69,.22); }
.pinfo { padding: 18px; }
.pcat { font-size: 10px; font-weight: 700; color: var(--acc); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.pname { font-size: 16px; font-weight: 700; color: var(--txt); margin-bottom: 7px; line-height: 1.3; }
.pdesc { font-size: 12.5px; color: var(--mut); line-height: 1.55; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--txt); line-height: 1; }
.price.sp { color: var(--acc); }
.orig { font-size: 12px; color: var(--mut); text-decoration: line-through; }
.dpct { font-size: 10px; color: var(--red); font-weight: 700; }
.sbdg { font-size: 10.5px; font-weight: 600; padding: 4px 9px; border-radius: 100px; white-space: nowrap; }
.sok { background: rgba(5,150,105,.1); color: var(--green); border: 1px solid rgba(5,150,105,.25); }
.slow { background: rgba(217,119,6,.1); color: var(--amber); border: 1px solid rgba(217,119,6,.25); }
.sout { background: rgba(225,29,72,.1); color: var(--red); border: 1px solid rgba(225,29,72,.2); }

/* ---- SALE SECTION ---- */
.sale-sec { background: linear-gradient(135deg, var(--acc) 0%, #d4820d 100%); padding: 80px 5%; position: relative; overflow: hidden; }
.sale-sec::before { content: 'SALE'; position: absolute; right: -20px; top: 50%; transform: translateY(-50%); font-family: 'Bebas Neue', sans-serif; font-size: 220px; color: rgba(0,0,0,.07); letter-spacing: .04em; line-height: 1; pointer-events: none; white-space: nowrap; }
.sale-inner { max-width: 1400px; margin: 0 auto; }
.sale-tag { font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: rgba(0,0,0,.45); }
.sale-title { font-size: clamp(48px, 6.5vw, 84px); color: #000; margin: 8px 0 36px; line-height: .92; }

/* ---- HOW TO BUY ---- */
.how-sec { background: var(--surf); padding: 80px 5%; }
.how-inner { max-width: 1400px; margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.step { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 32px; position: relative; overflow: hidden; }
.snum { font-family: 'Bebas Neue', sans-serif; font-size: 90px; color: rgba(85, 227, 246, 0.381); position: absolute; top: -12px; right: 12px; line-height: 1; pointer-events: none; }
.sicon { width: 50px; height: 50px; background: var(--accg); border: 1px solid rgba(8,145,178,.2); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.stitle2 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; margin-bottom: 10px; }
.sdesc { font-size: 13.5px; color: var(--mut); line-height: 1.7; }

/* ---- FOOTER ---- */
.ftr { background: var(--surf); border-top: 1px solid var(--brd); padding: 56px 5% 28px; }
.ftr-inner { max-width: 1400px; margin: 0 auto; }
.fgrid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 56px; margin-bottom: 44px; }
.flogo { font-family: 'Bebas Neue', sans-serif; font-size: 30px; margin-bottom: 14px; }
.flogo span { color: var(--acc); }
.fdesc { font-size: 13.5px; color: var(--mut); line-height: 1.75; max-width: 270px; text-align: justify; }
.fh { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--txt); margin-bottom: 18px; }
.flinks { display: flex; flex-direction: column; gap: 9px; }
.flink { font-size: 13.5px; color: var(--mut); cursor: pointer; transition: color .2s; text-align: left; }
.flink:hover { color: var(--acc); }
.fci { display: flex; gap: 10px; margin-bottom: 12px; font-size: 13.5px; color: var(--mut); }
.fbot { border-top: 1px solid var(--brd); padding-top: 22px; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--mut); flex-wrap: wrap; gap: 12px; }
.wa-ftr { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: #fff; padding: 9px 18px; border-radius: var(--rs); font-weight: 700; font-size: 13px; cursor: pointer; transition: var(--tr); }
.wa-ftr:hover { background: #1fab53; transform: translateY(-2px); }

/* ---- WHATSAPP FAB ---- */
.wafab { position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 200; box-shadow: 0 8px 32px rgba(37,211,102,.35); transition: var(--tr); text-decoration: none; }
.wafab:hover { transform: scale(1.1) translateY(-2px); background: #1fab53; }

/* ---- PRODUCTS PAGE ---- */
.prod-page { padding-top: 70px; }
.prod-hdr { background: var(--surf); border-bottom: 1px solid var(--brd); padding: 36px 5%; }
.prod-hdr-inner { max-width: 1400px; margin: 0 auto; }
.search-row { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.sbox { flex: 1; min-width: 260px; position: relative; }
.sbox svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; pointer-events: none; stroke: var(--mut); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sinput { width: 100%; padding: 12px 14px 12px 42px; background: var(--card); border: 1px solid var(--brd); border-radius: var(--rs); color: var(--txt); font-size: 14.5px; outline: none; transition: var(--tr); }
.sinput:focus { border-color: var(--acc); background: var(--surf); }
.sinput::placeholder { color: var(--mut2); }
.ssort { padding: 12px 14px; background: var(--card); border: 1px solid var(--brd); border-radius: var(--rs); color: var(--txt); font-size: 13.5px; outline: none; cursor: pointer; min-width: 175px; }
.ssort option { background: var(--card); }
.ftabs { display: flex; gap: 7px; margin-top: 16px; flex-wrap: wrap; }
.ftab { padding: 7px 16px; border-radius: 100px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: var(--tr); border: 1px solid var(--brd); background: var(--card); color: var(--mut); }
.ftab:hover { border-color: rgba(0,0,0,.25); color: var(--txt); }
.ftab.on { background: var(--acc); color: #000; border-color: var(--acc); }
.prod-body { padding: 36px 5%; max-width: 1400px; margin: 0 auto; }
.rinfo { font-size: 13.5px; color: var(--mut); margin-bottom: 22px; }
.rinfo b { color: var(--txt); }
.no-results { text-align: center; padding: 80px 20px; color: var(--mut); }
.no-results .nr-icon { font-size: 64px; margin-bottom: 20px; opacity: .4; }
.no-results p { font-size: 16px; }

/* ---- CONTACT PAGE ---- */
.con-page { padding-top: 70px; }
.con-hdr { background: var(--surf); border-bottom: 1px solid var(--brd); padding: 60px 5%; text-align: center; }
.con-body { padding: 56px 5%; max-width: 1200px; margin: 0 auto; }
.con-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.ccard { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 32px; }
.ccard-title { font-family: 'Bebas Neue', sans-serif; font-size: 26px; margin-bottom: 22px; color: var(--acc); }
.crow { display: flex; gap: 12px; margin-bottom: 18px; align-items: flex-start; }
.cicon { width: 38px; height: 38px; background: var(--accg); border: 1px solid rgba(8,145,178,.18); border-radius: var(--rs); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.clabel { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--mut); margin-bottom: 3px; }
.cval { font-size: 14.5px; color: var(--txt); font-weight: 500; line-height: 1.4; }
.map-box { border-radius: var(--r); overflow: hidden; height: 280px; border: 1px solid var(--brd); background: var(--surf); margin-top: 20px; }
.map-box iframe { width: 100%; height: 100%; border: none; filter: none; }
.wa-cta { background: linear-gradient(135deg, rgba(37,211,102,.1), rgba(37,211,102,.04)); border: 1px solid rgba(37,211,102,.22); border-radius: var(--r); padding: 32px; text-align: center; margin-top: 36px; grid-column: 1/-1; }
.wa-cta-t { font-family: 'Bebas Neue', sans-serif; font-size: 38px; margin-bottom: 10px; }
.wa-cta-s { font-size: 13.5px; color: var(--mut); margin-bottom: 22px; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 30px; border-radius: var(--rs); font-weight: 700; font-size: 14.5px; cursor: pointer; transition: var(--tr); text-decoration: none; }
.btn-wa:hover { background: #1fab53; transform: translateY(-2px); }
.htable { width: 100%; font-size: 13.5px; }
.htable tr td { padding: 8px 0; border-bottom: 1px solid var(--brd); color: var(--mut); }
.htable tr td:last-child { text-align: right; color: var(--txt); font-weight: 600; }
.htable tr:last-child td { border-bottom: none; }

/* ---- ADMIN ---- */
.adm-page { padding-top: 70px; min-height: 100vh; }
.adm-login { max-width: 420px; margin: 52px auto; padding: 0 20px; }
.adm-login-card { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 44px; }
.aform-group { margin-bottom: 18px; }
.aform-label { font-size: 12.5px; font-weight: 600; color: var(--txt); margin-bottom: 7px; display: block; }
.aform-input { width: 100%; padding: 11px 14px; background: var(--surf); border: 1px solid var(--brd); border-radius: var(--rs); color: var(--txt); font-size: 14px; outline: none; transition: var(--tr); }
.aform-input:focus { border-color: var(--acc); }
.aform-input::placeholder { color: var(--mut2); }
.btn-login { width: 100%; padding: 13px; background: var(--acc); color: #000; font-size: 14px; font-weight: 700; border-radius: var(--rs); letter-spacing: .06em; text-transform: uppercase; transition: var(--tr); }
.btn-login:hover { background: var(--acc2); }
.login-hint { text-align: center; font-size: 12.5px; color: var(--mut); margin-top: 14px; }
.login-hint b { color: var(--acc); }
.lerr { background: rgba(255,69,69,.1); border: 1px solid rgba(255,69,69,.28); border-radius: var(--rs); padding: 11px 14px; font-size: 13.5px; color: #ff7777; margin-bottom: 14px; display: none; }
.lerr.show { display: block; }
.adm-dash { padding: 36px 5%; max-width: 1400px; margin: 0 auto; }
.adm-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 14px; }
.adm-title { font-family: 'Bebas Neue', sans-serif; font-size: 46px; }
.adm-title span { color: var(--acc); }
.btn-logout { padding: 9px 18px; background: var(--surf); color: var(--mut); border: 1px solid var(--brd); border-radius: var(--rs); font-size: 12.5px; font-weight: 600; transition: var(--tr); }
.btn-logout:hover { color: var(--red); border-color: rgba(255,69,69,.28); }
.adm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 36px; }
.astat { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); padding: 22px; }
.astat-v { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: var(--acc); line-height: 1; margin-bottom: 5px; }
.astat-l { font-size: 12px; color: var(--mut); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.adm-tabs { display: flex; gap: 7px; margin-bottom: 24px; }
.atab { padding: 9px 22px; border-radius: var(--rs); font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid var(--brd); background: var(--card); color: var(--mut); transition: var(--tr); }
.atab:hover { color: var(--txt); }
.atab.on { background: var(--acc); color: #000; border-color: var(--acc); }
.apanel { display: none; }
.apanel.on { display: block; }
.atbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.btn-add { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: var(--acc); color: #000; font-size: 12.5px; font-weight: 700; border-radius: var(--rs); letter-spacing: .06em; text-transform: uppercase; transition: var(--tr); }
.btn-add:hover { background: var(--acc2); }
.tbl-wrap { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); overflow: hidden; overflow-x: auto; }
.ptbl { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ptbl th { text-align: left; padding: 11px 14px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); border-bottom: 1px solid var(--brd); background: var(--surf); white-space: nowrap; }
.ptbl td { padding: 13px 14px; border-bottom: 1px solid var(--brd); vertical-align: middle; }
.ptbl tr:hover td { background: rgba(0,0,0,.025); }
.ptbl tr:last-child td { border-bottom: none; }
.tpn { font-weight: 600; }
.tcat { font-size: 11px; color: var(--acc); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tpr { font-weight: 700; font-size: 14.5px; }
.tacts { display: flex; gap: 7px; }
.btn-ed { padding: 6px 12px; background: rgba(8, 145, 178, 0.1); color: var(--acc); border: 1px solid rgba(8, 145, 178, 0.25); border-radius: 6px; font-size: 11.5px; font-weight: 600; transition: var(--tr); }
.btn-ed:hover { background: rgba(8, 145, 178, 0.2); }
.btn-del { padding: 6px 12px; background: rgba(255,69,69,.1); color: var(--red); border: 1px solid rgba(255,69,69,.22); border-radius: 6px; font-size: 11.5px; font-weight: 600; transition: var(--tr); }
.btn-del:hover { background: rgba(255,69,69,.2); }
.cat-tag-item { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border: 1px solid var(--brd); border-radius: var(--rs); padding: 8px 14px; font-size: 13.5px; color: var(--txt); margin: 0 8px 8px 0; }
.cat-del { color: var(--mut); cursor: pointer; font-size: 16px; transition: color .2s; }
.cat-del:hover { color: var(--red); }

/* ---- MODAL ---- */
.ov { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(10px); z-index: 300; align-items: center; justify-content: center; padding: 20px; }
.ov.open { display: flex; }
.modal { background: var(--card); border: 1px solid var(--brd); border-radius: var(--r); width: 100%; max-width: 820px; max-height: 92vh; overflow-y: auto; position: relative; animation: min 0.32s cubic-bezier(.34,1.56,.64,1); }
.mcl { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: var(--surf); border: 1px solid var(--brd); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--mut); font-size: 17px; z-index: 1; transition: var(--tr); }
.mcl:hover { color: var(--txt); background: var(--bg2); }
.mimg { height: 260px; display: flex; align-items: center; justify-content: center; border-radius: var(--r) var(--r) 0 0; overflow: hidden; position: relative; }
.mbody { padding: 28px; }
.mcat { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc); margin-bottom: 8px; }
.mtitle { font-family: 'Bebas Neue', sans-serif; font-size: 42px; line-height: 1; margin-bottom: 14px; }
.mprow { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.mprice { font-family: 'Bebas Neue', sans-serif; font-size: 38px; color: var(--acc); line-height: 1; }
.morig { font-size: 18px; color: var(--mut); text-decoration: line-through; }
.mdpct { background: var(--red); color: #fff; padding: 4px 9px; border-radius: 100px; font-size: 12px; font-weight: 700; }
.mdesc { font-size: 14.5px; color: var(--mut); line-height: 1.85; margin-bottom: 24px; }
.mstock-row { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.mcta { background: var(--surf); border: 1px solid var(--brd); border-radius: var(--rs); padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.mcta-t { font-size: 13px; color: var(--mut); }
.mcta-t strong { color: var(--txt); display: block; font-size: 15px; margin-bottom: 3px; }

/* ---- ADD PRODUCT FORM ---- */
.amodal { max-width: 620px; }
.amtitle { font-family: 'Bebas Neue', sans-serif; font-size: 34px; margin-bottom: 22px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 14px; }
.fsel { width: 100%; padding: 11px 14px; background: var(--surf); border: 1px solid var(--brd); border-radius: var(--rs); color: var(--txt); font-size: 13.5px; outline: none; cursor: pointer; }
.fsel option { background: var(--card); }
.ftarea { width: 100%; padding: 11px 14px; background: var(--surf); border: 1px solid var(--brd); border-radius: var(--rs); color: var(--txt); font-size: 13.5px; outline: none; resize: vertical; min-height: 92px; transition: var(--tr); }
.ftarea:focus { border-color: var(--acc); }
.fchk-row { display: flex; gap: 20px; margin-top: 4px; }
.fchk { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--mut); cursor: pointer; }
.fchk input { accent-color: var(--acc); width: 15px; height: 15px; }
.upload-zone { border: 2px dashed var(--brd); border-radius: var(--rs); padding: 28px; text-align: center; cursor: pointer; transition: var(--tr); }
.upload-zone:hover { border-color: var(--acc); background: var(--accg); }.uz-t { font-size: 13.5px; color: var(--mut); }
.uz-t span { color: var(--acc); font-weight: 600; }

/* ---- TOAST ---- */
.toast { position: fixed; bottom: 95px; right: 26px; background: rgba(5,150,105,.12); border: 1px solid rgba(5,150,105,.3); border-radius: var(--rs); padding: 13px 18px; color: var(--green); font-size: 13.5px; font-weight: 600; z-index: 500; display: none; animation: sli .3s ease; }
.toast.show { display: block; }

/* ---- ANIMATIONS ---- */
@keyframes pdot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.75); } }
@keyframes pbdg { 
  0%, 100% { transform: scale(1); box-shadow: 0 0 0px rgba(255, 42, 77, 0); } 
  50% { transform: scale(1.06); box-shadow: 0 0 12px rgba(255, 42, 77, 0.6); } 
}


.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.vis { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .18s; }
.rd3 { transition-delay: .26s; }
.rd4 { transition-delay: .34s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .fgrid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .adm-stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .con-grid { grid-template-columns: 1fr; }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .si:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-adm { display: none; }
  .ham { display: flex; }
  .hero-h1 { font-size: 66px; }
  .hero-stats { gap: 22px; }
  .fgrid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .frow { grid-template-columns: 1fr; }
  .hero { padding: 96px 5% 56px; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
  .si { padding: 10px 14px; }
}
@media (max-width: 480px) {
  .pgrid { grid-template-columns: 1fr; }
  .adm-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 18px; }
  .mbody { padding: 18px; }
  .mtitle { font-size: 30px; }
  .wa-cta { grid-column: 1; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */

/* Desktop icon button — sits right of Admin Panel */
.btn-theme {
  width: 36px;
  height: 36px;
  background: var(--surf);
  border: 1px solid var(--brd);
  border-radius: var(--rs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr);
  color: var(--mut);
  margin-left: 6px;
  flex-shrink: 0;
}
.btn-theme:hover {
  color: var(--acc);
  border-color: var(--acc);
  background: var(--accg);
}
.btn-theme svg { pointer-events: none; }

/* Mobile menu entry */
.mob-divider {
  height: 1px;
  background: var(--brd);
  margin: 4px 0;
}
.btn-theme-mob {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-theme-mob span { font-size: 15px; font-weight: 500; }
/* ---- CATEGORY GRID (Desktop) & SCROLL (Mobile) ---- */

/* Base: horizontal scroll for mobile (existing behavior) */
.cats-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.cats-scroll::-webkit-scrollbar {
  display: none;
}

/* Desktop override: 2x3 grid layout */
@media (min-width: 769px) {
  .cats-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 16px;
    overflow-x: visible;
    padding-bottom: 0;
  }
}

/* Make category cards uniform height on desktop */
@media (min-width: 769px) {
  .cc {
    min-height: 100px;
    display: flex;
    align-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  }

  .cc:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: var(--acc);
  }
}

/* Larger icon on desktop */
@media (min-width: 769px) {
  .cc-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  .cc-n {
    font-size: 15px;
  }

  .cc-c {
    font-size: 12px;
  }
}

/* ============================================================
   DARK THEME OVERRIDES  [data-theme="dark"]
   Only properties that use hardcoded colours (not CSS vars)
   need to be listed here — everything else flips automatically
   through the variable redefinitions below.
   ============================================================ */

/* ── 1. Variable overrides ── */
[data-theme="dark"] {
  --bg:   #050505;
  --bg2:  #0a0a0c;
  --surf: #121214;
  --card: #18181b;
  --brd:  rgba(255, 255, 255, 0.05);

  --acc:  #00D4FF;
  --acc2: #00A3CC;
  --accg: rgba(0, 212, 255, 0.08);

  --red:        #FF2A4D;
  --red-hover:  #D91838;

  --txt:  #F8FAFC;
  --mut:  #94A3B8;
  --mut2: #475569;

  --green:      #10B981;
  --amber:      #F59E0B;
  --tape-yellow:#F59E0B;
}

/* ── 2. Hardcoded-colour overrides ── */

/* Header / nav */
[data-theme="dark"] .hdr.scrolled {
  background: rgba(8, 8, 8, .96);
  box-shadow: none;
}
[data-theme="dark"] .mob-menu {
  background: rgba(8, 8, 8, .98);
  box-shadow: none;
}

/* Hero section */
[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(245,166,35,.07) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 15% 80%, rgba(245,166,35,.04) 0%, transparent 55%);
}
[data-theme="dark"] .hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
}
[data-theme="dark"] .hero-tag  { border-color: rgba(0, 212, 255, 0.3); }
[data-theme="dark"] .hero-stats { border-top-color: rgba(255,255,255,.05); }



/* Buttons */
[data-theme="dark"] .btn-o             { border-color: rgba(255,255,255,.08); }
[data-theme="dark"] .btn-o:hover       { border-color: rgba(255,255,255,.28); }
[data-theme="dark"] .btn-p:hover       { box-shadow: 0 0 15px rgba(0,212,255,0.4); }

/* Product cards */
[data-theme="dark"] .pcard:hover {
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.15);
}

/* Icon boxes */
[data-theme="dark"] .si-icon { border-color: rgba(245,166,35,.18); }
[data-theme="dark"] .sicon   { border-color: rgba(245,166,35,.18); }
[data-theme="dark"] .cicon   { border-color: rgba(245,166,35,.15); }

/* Stock badges */
[data-theme="dark"] .sok  { background: rgba(52,211,153,.1);  border-color: rgba(52,211,153,.2); }
[data-theme="dark"] .slow { background: rgba(245,158,11,.1);  border-color: rgba(245,158,11,.2); }
[data-theme="dark"] .sout { background: rgba(255,69,69,.1);   border-color: rgba(255,69,69,.2);  }

/* Map */
[data-theme="dark"] .map-box iframe { filter: invert(90%) hue-rotate(180deg); }

/* Admin table */
[data-theme="dark"] .ptbl tr:hover td { background: rgba(255,255,255,.015); }

/* Filter tabs */
[data-theme="dark"] .ftab:hover { border-color: rgba(255,255,255,.2); }

/* Admin edit button */
[data-theme="dark"] .btn-ed       { background: rgba(0,212,255,.1);  border-color: rgba(0,212,255,.22); }
[data-theme="dark"] .btn-ed:hover { background: rgba(0,212,255,.2); }

/* Modal */
[data-theme="dark"] .ov { background: rgba(0,0,0,.87); }

/* Toast */
[data-theme="dark"] .toast {
  background:    rgba(52,211,153,.14);
  border-color:  rgba(52,211,153,.28);
}

/* Gallery dark mode adjustments */
[data-theme="dark"] .mimg img {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4) !important;
}

/* ============================================================
   SKELETON LOADERS (Adapts to Mobile & Desktop automatically)
   ============================================================ */
@keyframes pulse-skel {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.skel {
  background: var(--card);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  animation: pulse-skel 1.5s ease-in-out infinite;
  pointer-events: none;
}

/* Category Strip Skeleton */
.skel-cc {
  min-width: 170px;
  height: 76px;
  flex-shrink: 0;
}

/* Product Card Skeleton */
.skel-card {
  height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.skel-img {
  height: 176px;
  background: var(--surf);
}

.skel-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

/* Fake text lines inside the card */
.skel-line {
  height: 12px;
  background: var(--surf);
  border-radius: var(--rs);
}

.skel-line.w-short { width: 35%; height: 10px; }
.skel-line.w-med { width: 60%; }
.skel-line.w-long { width: 90%; }
.skel-line.w-price { width: 45%; height: 24px; margin-top: auto; }

/* --- ADMIN PANEL SKELETONS --- */
.skel-stat {
  height: 42px;
  width: 60px;
  background: var(--surf);
  border-radius: var(--rs);
  display: inline-block;
  margin-bottom: 5px;
}

.skel-table-row td {
  padding: 18px 14px;
}