/*
 * CITSolar Theme – Main Stylesheet
 * ================================
 */

/* ── Variables ─────────────────────────────────────────── */
:root{
  /* ── Design System (unified) ── */
  --blue:#3657E4;
  --blue-dark:#2A45B8;
  --blue-light:#EEF1FD;
  --blue-subtle:rgba(54,87,228,.06);
  --yellow:#FFC410;
  --yellow-dark:#E5AA00;
  --yellow-light:#FFF7E0;
  --green:#22A652;
  --green-light:#E8F9EE;
  --red:#e53935;
  --red-light:#fdeeed;
  --dark:#0F1629;
  --text:#1A2038;
  --text-secondary:#5A6178;
  --text-muted:#8C91A6;
  --white:#FFFFFF;
  --bg:#F7F8FC;
  --card-border:#E4E7F0;
  --card-hover:#C8CDE6;
  --font-body:'Plus Jakarta Sans',sans-serif;
  --font-mono:'JetBrains Mono',monospace;
  /* ── Legacy aliases (backward compat) ── */
  --black:#0F1629;
  --bg-off:#F7F8FC;
  --bg-warm:#fafafa;
  --text-tertiary:#8C91A6;
  --border:#E4E7F0;
  --border-light:#E4E7F0;
  --shadow-xs:0 1px 2px rgba(0,0,0,.04);
  --shadow-sm:0 2px 8px rgba(0,0,0,.05);
  --shadow-md:0 8px 30px rgba(0,0,0,.08);
  --shadow-lg:0 20px 60px rgba(0,0,0,.1);
  --shadow-blue:0 8px 30px rgba(54,87,228,.2);
  --radius:10px;
  --radius-lg:16px;
  --radius-xl:24px;
  --font:'Plus Jakarta Sans',sans-serif;
  --mono:'JetBrains Mono',monospace;
  --ease:cubic-bezier(.22,1,.36,1);
  --max-w:100%;
}

/* ── Reset & Base ──────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html{
  scroll-behavior:smooth;
  -webkit-text-size-adjust:100%;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  overflow-x:hidden;
  max-width:100%;
}

body{
  font-family:var(--font);
  font-size:16px;
  line-height:1.65;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
  max-width:100%;
  position:relative;
}

img,svg,video{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:inherit}
input,textarea,select,button{font:inherit}

/* ── Selection ─────────────────────────────────────────── */
::selection{background:var(--blue);color:#fff}
::-moz-selection{background:var(--blue);color:#fff}

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

/* ── Container ─────────────────────────────────────────── */
.container{
  margin:0 auto;
  padding:0 80px;
}

/* ── Reveal Animations ─────────────────────────────────── */
.rv{
  opacity:0;
  transform:translateY(24px);
  transition:all .65s var(--ease);
}
.rv.vis{
  opacity:1;
  transform:translateY(0);
}
.rv.d1{transition-delay:.08s}
.rv.d2{transition-delay:.16s}
.rv.d3{transition-delay:.24s}
.rv.d4{transition-delay:.32s}
.rv.d5{transition-delay:.4s}

/* ── Buttons ───────────────────────────────────────────── */
.btn-primary,
.btn-outline,
.btn-card,
.btn-cta,
.btn-see-all,
.btn-add,
.btn-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  font-weight:600;
  font-size:.9rem;
  border-radius:var(--radius);
  transition:all .3s var(--ease);
  cursor:pointer;
  line-height:1;
  white-space:nowrap;
}

.btn-primary{
  padding:.85rem 1.8rem;
  background:var(--blue);
  color:#fff;
  border:none;
  box-shadow:var(--shadow-blue);
}
.btn-primary:hover{
  background:var(--blue-dark);
  transform:translateY(-2px);
  box-shadow:0 12px 35px rgba(54,87,228,.3);
}

.btn-outline{
  padding:.85rem 1.8rem;
  background:var(--bg);
  color:var(--text);
  border:1.5px solid var(--border);
}
.btn-outline:hover{
  border-color:var(--blue);
  color:var(--blue);
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
}

.btn-card{
  width:100%;
  padding:.7rem 1rem;
  background:var(--blue);
  color:#fff;
  border:none;
  font-size:.85rem;
  border-radius:var(--radius);
}
.btn-card:hover{
  background:var(--blue-dark);
  box-shadow:var(--shadow-blue);
}

.btn-cta{
  padding:1rem 2.2rem;
  background:var(--yellow);
  color:var(--black);
  font-weight:700;
  font-size:.95rem;
  border:none;
  border-radius:var(--radius);
}
.btn-cta:hover{
  background:var(--yellow-dark);
  transform:translateY(-2px);
  box-shadow:0 8px 30px rgba(255,196,16,.3);
}

.btn-see-all{
  padding:.7rem 1.5rem;
  background:var(--bg);
  color:var(--text-secondary);
  border:1.5px solid var(--border);
  font-size:.85rem;
}
.btn-see-all:hover{
  border-color:var(--blue);
  color:var(--blue);
}

.btn-add{
  width:100%;
  padding:.65rem 1rem;
  background:var(--blue);
  color:#fff;
  border:none;
  font-size:.8rem;
  font-weight:600;
  border-radius:var(--radius);
}
.btn-add:hover{
  background:var(--blue-dark);
  box-shadow:var(--shadow-blue);
}

.btn-login{
  padding:.55rem 1.2rem;
  background:transparent;
  color:var(--text-secondary);
  border:1.5px solid var(--border);
  font-size:.82rem;
}
.btn-login:hover{
  border-color:var(--blue);
  color:var(--blue);
}

/* ── Section Shared ────────────────────────────────────── */
section{
  padding:clamp(4rem,7vw,6.5rem) 0;
}

.s-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--text-secondary);
  margin-bottom:1rem;
}
.s-eyebrow::before{
  content:'';
  display:inline-block;
  width:3px;
  height:16px;
  background:var(--yellow);
  border-radius:2px;
}

.s-title{
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;
  line-height:1.15;
  color:var(--text);
  margin-bottom:.8rem;
}

.s-desc{
  font-size:1.05rem;
  color:var(--text-secondary);
  line-height:1.7;
  max-width:540px;
}

.s-header-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:2rem;
  margin-bottom:3rem;
}

/* ── Topbar ────────────────────────────────────────────── */
.topbar{
  background:var(--black);
  color:#fff;
  text-align:center;
  padding:.6rem 1rem;
  font-size:.8rem;
  font-weight:500;
  line-height:1.5;
}
.topbar a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.topbar a:hover{color:var(--yellow)}

.pill{
  display:inline-flex;
  align-items:center;
  padding:.2rem .7rem;
  background:var(--yellow);
  color:var(--black);
  font-size:.65rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
  border-radius:50px;
  margin-right:.4rem;
}

/* ══════════════════════════════════════════════════════════
   ROW 2 — SITE HEADER (Logo · Search · Actions)
   ══════════════════════════════════════════════════════════ */
.site-header{
  background:#fff;
  border-bottom:1px solid var(--border-light);
  overflow:hidden;
}
.hdr-inner{
  display:flex;
  align-items:center;
  gap:1.5rem;
  height:80px;
}

/* Logo */
.hdr-logo{display:flex;align-items:center;flex-shrink:0}
.hdr-logo img{height:64px;width:auto;max-height:64px;object-fit:contain}

/* Search */
.hdr-search{
  flex:1;
  max-width:540px;
  position:relative;
}
.hdr-search-form{
  display:flex;
  align-items:stretch;
  border:2px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  transition:border-color .2s;
  background:#fff;
  height:46px;
}
.hdr-search-form:focus-within{
  border-color:var(--blue);
}
.hdr-search-input{
  flex:1;
  border:none;
  background:none;
  padding:0 1rem;
  font-family:var(--font);
  font-size:.88rem;
  color:var(--text);
  outline:none;
  min-width:0;
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
  margin:0;
}
.hdr-search-input::-webkit-search-cancel-button{-webkit-appearance:none}
.hdr-search-input::placeholder{color:var(--text-tertiary)}
.hdr-search-btn{
  position:relative;
  width:50px;
  background:var(--blue);
  border:none;
  cursor:pointer;
  flex-shrink:0;
  transition:background .2s;
  border-radius:0;
  -webkit-appearance:none;
  appearance:none;
  padding:0;margin:0;
}
.hdr-search-btn:hover{background:var(--blue-dark)}
.hdr-search-btn::before{
  content:'';
  position:absolute;
  top:50%;left:50%;
  width:14px;height:14px;
  border:2.5px solid #fff;
  border-radius:50%;
  transform:translate(-60%,-60%);
}
.hdr-search-btn::after{
  content:'';
  position:absolute;
  top:50%;left:50%;
  width:2.5px;height:8px;
  background:#fff;
  border-radius:1px;
  transform:translate(3px,2px) rotate(-45deg);
  transform-origin:top;
}

/* ── Live Search Results ──────────────────── */
.live-search-results{
  position:absolute;
  top:calc(100% + 6px);
  left:0;right:0;
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg);
  z-index:200;
  max-height:440px;
  overflow-y:auto;
  display:none;
}
.live-search-results.active{
  display:block;
}
.lsr-item{
  display:flex;
  align-items:center;
  gap:.85rem;
  padding:.75rem 1rem;
  transition:background .15s;
  text-decoration:none;
  color:inherit;
}
.lsr-item:hover{
  background:var(--bg-off);
}
.lsr-item + .lsr-item{
  border-top:1px solid var(--border-light);
}
.lsr-img{
  width:52px;height:52px;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--bg-off);
  flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.lsr-img img{
  width:100%;height:100%;
  object-fit:contain;
}
.lsr-placeholder{
  width:24px;height:24px;
  border-radius:50%;
  background:var(--border-light);
}
.lsr-info{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
.lsr-cat{
  font-family:var(--mono);
  font-size:.6rem;
  font-weight:500;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--text-tertiary);
}
.lsr-name{
  font-size:.88rem;
  font-weight:600;
  color:var(--text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.lsr-price{
  font-size:.82rem;
  font-weight:700;
  color:var(--blue);
}
.lsr-all{
  display:block;
  text-align:center;
  padding:.85rem;
  font-size:.82rem;
  font-weight:600;
  color:var(--blue);
  border-top:1px solid var(--border-light);
  transition:background .15s;
}
.lsr-all:hover{
  background:var(--blue-subtle);
}
.lsr-loading{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:1.5rem;
  font-size:.85rem;
  color:var(--text-tertiary);
}
.lsr-spinner{
  width:16px;height:16px;
  border:2px solid var(--border);
  border-top-color:var(--blue);
  border-radius:50%;
  animation:spin .6s linear infinite;
}
@keyframes spin{to{transform:rotate(360deg)}}
.lsr-empty{
  padding:1.5rem;
  text-align:center;
  font-size:.85rem;
  color:var(--text-secondary);
}

/* ── Product Empty State ──────────────────── */
.p-empty{
  grid-column:1/-1;
  text-align:center;
  padding:3rem 1rem;
  color:var(--text-tertiary);
  font-size:.95rem;
}

/* ── Header Actions ────────────────────────── */
.hdr-actions{
  display:flex;
  align-items:center;
  gap:.25rem;
  flex-shrink:0;
  margin-left:auto;
}
.hdr-action-link{
  display:flex;
  align-items:center;
  gap:.4rem;
  padding:.5rem .85rem;
  font-size:.82rem;
  font-weight:600;
  color:var(--text-secondary);
  border-radius:var(--radius);
  transition:all .2s;
  white-space:nowrap;
  background:none;
  border:none;
  cursor:pointer;
  font-family:var(--font);
}
.hdr-action-link:hover{color:var(--blue);background:var(--blue-subtle)}
.hdr-action-link svg{width:20px;height:20px;flex-shrink:0}
.hdr-cart{position:relative}
.hdr-cart .dot{
  position:absolute;
  top:4px;right:4px;
  min-width:16px;height:16px;
  background:var(--yellow);
  color:var(--black);
  font-size:.6rem;
  font-weight:800;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  line-height:1;
}

.mob-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  width:40px;height:40px;
  align-items:center;justify-content:center;
  border-radius:var(--radius);
  border:1.5px solid var(--border);
  background:none;cursor:pointer;
}
.mob-toggle span{
  display:block;width:18px;height:2px;
  background:var(--text);border-radius:1px;
  transition:all .25s var(--ease);
}

/* ══════════════════════════════════════════════════════════
   ROW 3 — MAIN NAV BAR (Categories Mega Menu · Links)
   ══════════════════════════════════════════════════════════ */
.main-nav{
  background:var(--black);
  position:sticky;top:0;z-index:900;
  transition:box-shadow .3s;
}
.main-nav.stuck{
  box-shadow:0 4px 20px rgba(0,0,0,.15);
}
.main-nav-inner{
  display:flex;
  align-items:center;
  gap:0;
  height:48px;
}

/* ── Mega Menu Trigger ── */
.mnav-mega-wrap{position:relative}
.mnav-mega-trigger{
  display:flex;
  align-items:center;
  gap:.5rem;
  height:48px;
  padding:0 1.25rem;
  background:var(--blue);
  color:#fff;
  border:none;
  font-family:var(--font);
  font-size:.85rem;
  font-weight:700;
  cursor:pointer;
  transition:background .2s;
  white-space:nowrap;
}
.mnav-mega-trigger:hover,.mnav-mega-trigger.active{background:var(--blue-dark)}
.mnav-chevron{transition:transform .2s}
.mnav-mega-trigger.active .mnav-chevron{transform:rotate(180deg)}

/* ── Mega Menu Panel ── */
.mega-menu{
  position:absolute;
  top:100%;left:0;
  width:max(680px,50vw);
  max-width:900px;
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:0 0 var(--radius-lg) var(--radius-lg);
  box-shadow:var(--shadow-lg);
  z-index:200;
  display:none;
  overflow:hidden;
}
.mega-menu.active{display:block}

.mega-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
}
.mega-card{
  display:flex;
  flex-direction:column;
  padding:1.25rem;
  border-right:1px solid var(--border-light);
  border-bottom:1px solid var(--border-light);
  text-decoration:none;
  color:inherit;
  transition:background .15s;
}
.mega-card:nth-child(4n){border-right:none}
.mega-card:hover{background:var(--bg-off)}

.mega-card-img{
  width:100%;
  aspect-ratio:4/3;
  border-radius:var(--radius);
  overflow:hidden;
  margin-bottom:.75rem;
  background:var(--bg-off);
}
.mega-card-img img{
  width:100%;height:100%;
  object-fit:cover;
}
.mega-card-img--placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-subtle);
}
.mega-card-icon{
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
}
.mega-card-icon svg{width:28px;height:28px;stroke:var(--blue)}

.mega-card-body{display:flex;flex-direction:column;gap:2px}
.mega-card-name{
  font-size:.88rem;
  font-weight:700;
  color:var(--text);
}
.mega-card-count{
  font-size:.72rem;
  color:var(--text-tertiary);
  font-weight:500;
}
.mega-card-subs{
  display:flex;
  flex-wrap:wrap;
  gap:4px;
  margin-top:6px;
}
.mega-card-sub{
  font-size:.65rem;
  font-weight:500;
  padding:2px 8px;
  background:var(--bg-off);
  border-radius:50px;
  color:var(--text-secondary);
}

.mega-footer{
  padding:.75rem 1.25rem;
  border-top:1px solid var(--border-light);
  background:var(--bg-off);
}
.mega-footer-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.82rem;
  font-weight:700;
  color:var(--blue);
  transition:gap .2s;
}
.mega-footer-link:hover{gap:10px}

/* ── Nav Links ── */
.mnav-links{
  display:flex;
  align-items:center;
  list-style:none;
  gap:0;
  margin:0;padding:0;
  height:48px;
}
.mnav-links li{height:100%}
.mnav-links a{
  display:flex;
  align-items:center;
  height:100%;
  padding:0 1rem;
  font-size:.84rem;
  font-weight:500;
  color:rgba(255,255,255,.7);
  transition:all .2s;
  white-space:nowrap;
}
.mnav-links a:hover,
.mnav-links a.active{
  color:#fff;
  background:rgba(255,255,255,.08);
}

/* ══════════════════════════════════════════════════════════
   MOBILE NAVIGATION
   ══════════════════════════════════════════════════════════ */
.mobile-navigation{
  position:fixed;
  top:0;right:-340px;
  width:340px;max-width:88vw;
  height:100%;z-index:1100;
  background:#fff;
  box-shadow:var(--shadow-lg);
  transition:right .35s var(--ease);
  overflow-y:auto;
  padding:0 0 2rem;
}
.mobile-navigation.active{right:0}
.mobile-nav-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-light);
}
.mobile-nav-title{font-weight:700;font-size:1rem}
.mobile-nav-close{
  background:none;border:none;cursor:pointer;
  width:36px;height:36px;display:flex;
  align-items:center;justify-content:center;
  border-radius:var(--radius);color:var(--text-secondary);
}
.mobile-nav-close:hover{background:var(--bg-off)}
.mobile-nav-search{padding:.75rem 1.5rem}
.mobile-nav-search form{
  display:flex;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.mobile-nav-search input{
  flex:1;
  padding:.6rem .85rem;
  border:none;
  font-family:var(--font);
  font-size:.85rem;
  outline:none;
}
.mobile-search-btn{
  display:flex;align-items:center;justify-content:center;
  width:42px;
  background:var(--blue);border:none;
  color:#fff;cursor:pointer;
}
.mobile-menu-list{
  list-style:none;padding:0;margin:0;
}
.mobile-menu-list li{
  border-bottom:1px solid var(--border-light);
}
.mobile-menu-list a{
  display:block;
  padding:.85rem 1.5rem;
  font-size:.9rem;
  font-weight:500;
  color:var(--text);
  transition:all .15s;
}
.mobile-menu-list a:hover{
  color:var(--blue);
  background:var(--blue-subtle);
}
.mobile-menu-section{border-bottom:none!important}
.mobile-menu-heading{
  display:block;
  padding:.6rem 1.5rem .3rem;
  font-size:.68rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text-tertiary);
}
.mobile-cat-link{
  display:flex!important;
  align-items:center;
  gap:.6rem;
}
.mobile-cat-icon{
  width:28px;height:28px;
  border-radius:8px;
  background:var(--blue-subtle);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.mobile-cat-icon svg{width:16px;height:16px;stroke:var(--blue)}
.mobile-cat-count{
  margin-left:auto;
  font-size:.72rem;
  color:var(--text-tertiary);
  font-weight:500;
}
.mobile-nav-overlay{
  position:fixed;inset:0;z-index:1050;
  background:rgba(0,0,0,.4);
  opacity:0;visibility:hidden;
  transition:all .3s;
}
.mobile-nav-overlay.active{opacity:1;visibility:visible}

/* ── Hero ──────────────────────────────────────────────── */
.hero{
  position:relative;
  background:var(--bg-off);
  overflow:hidden;
  padding:clamp(3rem,6vw,5rem) 0 clamp(4rem,8vw,6rem);
}

.hero-blob-1,
.hero-blob-2{
  position:absolute;
  border-radius:50%;
  filter:blur(100px);
  pointer-events:none;
}
.hero-blob-1{
  width:500px;
  height:500px;
  background:rgba(54,87,228,.06);
  top:-150px;
  left:-100px;
}
.hero-blob-2{
  width:400px;
  height:400px;
  background:rgba(255,196,16,.06);
  bottom:-100px;
  right:-80px;
}

.hero-dots{
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,var(--border) 1px,transparent 1px);
  background-size:24px 24px;
  opacity:.5;
  pointer-events:none;
}

.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,5vw,4rem);
  align-items:center;
  max-width:var(--max-w);
  margin:0 auto;
  padding:0 clamp(1.25rem,3vw,2.5rem);
  position:relative;
  z-index:1;
}

.hero-content{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.4rem 1rem .4rem .5rem;
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:50px;
  font-size:.78rem;
  font-weight:600;
  color:var(--text-secondary);
  width:fit-content;
  box-shadow:var(--shadow-xs);
}
.hero-badge .badge-dot{
  width:8px;
  height:8px;
  background:var(--blue);
  border-radius:50%;
  animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.5;transform:scale(1.3)}
}

.hero h1{
  font-size:clamp(2.2rem,4.5vw,3.5rem);
  font-weight:800;
  line-height:1.1;
  letter-spacing:-.03em;
  color:var(--text);
}
.hero h1 .accent{color:var(--blue)}
.hero h1 .yellow-line{
  position:relative;
  display:inline;
}
.hero h1 .yellow-line::after{
  content:'';
  position:absolute;
  bottom:2px;
  left:0;
  width:100%;
  height:6px;
  background:var(--yellow);
  border-radius:3px;
  opacity:.4;
  z-index:-1;
}

.hero-desc{
  font-size:clamp(1rem,1.5vw,1.12rem);
  color:var(--text-secondary);
  line-height:1.75;
  max-width:480px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}

.hero-metrics{
  display:flex;
  gap:2.5rem;
  margin-top:.5rem;
}
.hm{
  display:flex;
  align-items:center;
  gap:12px;
}
.hm-icon{
  width:44px;height:44px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.hm-icon.blue{background:var(--blue-light)}
.hm-icon.yellow{background:var(--yellow-light)}
.hm-icon svg{width:20px;height:20px}
.hm-icon.blue svg{stroke:var(--blue)}
.hm-icon.yellow svg{stroke:var(--yellow-dark)}
.hm-val{font-weight:800;font-size:1.3rem;line-height:1;color:var(--black)}
.hm-label{font-size:.72rem;color:var(--text-tertiary);font-weight:500;margin-top:2px}

/* Hero Card */
.hero-card-wrap{
  position:relative;
  display:flex;
  justify-content:center;
}
.hero-card{
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
  width:100%;
  max-width:380px;
  box-shadow:var(--shadow-md);
  transition:all .4s var(--ease);
}
.hero-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--shadow-lg);
}
.hero-card-top{
  background:var(--blue);
  padding:1.5rem 1.75rem;
  color:#fff;
  position:relative;
  overflow:hidden;
}
.hero-card-top::before{
  content:'';position:absolute;width:120px;height:120px;
  background:rgba(255,255,255,.08);border-radius:50%;
  top:-40px;right:-20px;
}
.hero-card-top::after{
  content:'';position:absolute;width:60px;height:60px;
  background:var(--yellow);border-radius:50%;opacity:.15;
  bottom:-10px;left:20px;
}
.hc-label{
  font-size:.7rem;font-weight:600;text-transform:uppercase;
  letter-spacing:.08em;opacity:.7;margin-bottom:.35rem;
}
.hc-title{font-size:1.2rem;font-weight:800;letter-spacing:-.01em}
.hc-ref{
  position:absolute;top:1.5rem;right:1.75rem;
  font-family:var(--mono);font-size:.65rem;
  background:rgba(255,255,255,.15);padding:4px 10px;border-radius:6px;
}
.hero-card-body{padding:1.5rem 1.75rem}
.spec-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-bottom:1.25rem;
}
.spec{
  background:var(--bg-off);border:1px solid var(--border-light);
  border-radius:var(--radius);padding:1rem;
}
.spec-label{
  font-family:var(--mono);font-size:.62rem;font-weight:500;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--text-tertiary);margin-bottom:4px;
}
.spec-val{font-size:1.05rem;font-weight:700;color:var(--black)}
.spec-val small{font-weight:400;color:var(--text-tertiary);font-size:.72rem}
.hc-footer{
  display:flex;align-items:center;justify-content:space-between;
  padding-top:1rem;border-top:1px solid var(--border-light);
}
.hc-price{font-size:2rem;font-weight:800;color:var(--black)}
.hc-price span{font-size:.75rem;font-weight:500;color:var(--text-tertiary);margin-left:3px}
.btn-card{
  padding:11px 22px;border-radius:10px;border:none;
  background:var(--yellow);color:var(--black);
  font-family:var(--font);font-weight:700;font-size:.82rem;
  cursor:pointer;transition:all .2s;text-decoration:none;
  display:inline-block;
}
.btn-card:hover{background:var(--yellow-dark);transform:translateY(-1px)}

.float-badge{
  position:absolute;
  display:flex;
  align-items:center;
  gap:.5rem;
  padding:.55rem 1rem;
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius);
  font-size:.75rem;
  font-weight:600;
  color:var(--text);
  box-shadow:var(--shadow-sm);
  z-index:2;
  white-space:nowrap;
  animation:float-y 3s ease-in-out infinite;
}
.fb-1{top:-16px;left:-20px;animation-delay:0s}
.fb-2{bottom:60px;right:-24px;animation-delay:1.5s}
.float-badge svg{width:14px;height:14px}
.fb-icon{
  width:28px;
  height:28px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.fb-icon svg{width:14px;height:14px}

@keyframes float-y{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-8px)}
}

/* ── Categories ────────────────────────────────────────── */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.2rem;
}
.cat-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:.8rem;
  padding:1.8rem 1.5rem;
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  cursor:pointer;
  transition:all .35s var(--ease);
  overflow:hidden;
}
.cat-card::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:var(--blue);
  transform:scaleX(0);
  transition:transform .35s var(--ease);
}
.cat-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
  border-color:var(--border);
}
.cat-card:hover::before{transform:scaleX(1)}

.cc-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blue-subtle);
  border-radius:12px;
  transition:all .35s var(--ease);
}
.cc-icon svg{
  width:24px;
  height:24px;
  stroke:var(--blue);
  fill:none;
  stroke-width:1.5;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.cat-card:hover .cc-icon{
  background:var(--blue);
}
.cat-card:hover .cc-icon svg{
  stroke:#fff;
}

.cc-name{
  font-size:1rem;
  font-weight:700;
  color:var(--text);
}
.cc-sub{
  font-size:.8rem;
  color:var(--text-tertiary);
}
.cc-arrow{
  position:absolute;
  bottom:1.5rem;
  right:1.5rem;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--bg-off);
  color:var(--text-tertiary);
  transition:all .35s var(--ease);
}
.cc-arrow svg{width:14px;height:14px}
.cat-card:hover .cc-arrow{
  background:var(--blue);
  color:#fff;
  transform:translateX(3px);
}

/* ── Products Section ──────────────────────────────────── */
.products-section{
  background:var(--bg-off);
  border-top:1.5px solid var(--border-light);
  border-bottom:1.5px solid var(--border-light);
}

.tabs-row{
  display:flex;
  align-items:center;
  gap:.4rem;
  flex-wrap:wrap;
  margin-bottom:2.5rem;
}
.tab{
  padding:10px 22px;
  font-family:var(--font);
  font-size:.82rem;
  font-weight:600;
  color:var(--text-secondary);
  border-radius:50px;
  border:1.5px solid var(--border);
  background:#fff;
  cursor:pointer;
  transition:all .2s var(--ease);
}
.tab:hover{
  background:var(--bg);
  border-color:var(--border);
}
.tab.active{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.p-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.2rem;
}

.p-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:all .35s var(--ease);
}
.p-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
}

.p-img{
  position:relative;
  aspect-ratio:1;
  overflow:hidden;
  background:var(--bg-off);
  display:flex;align-items:center;justify-content:center;
  border-bottom:1px solid var(--border-light);
}
.p-img img{
  width:100%;
  height:100%;
  object-fit:contain;
  transition:transform .4s var(--ease);
}
.p-card:hover .p-img img{
  transform:scale(1.04);
}
.p-img .ph-icon{width:56px;height:56px;opacity:.1}
.p-img .tag{
  position:absolute;top:12px;left:12px;
  font-size:.65rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.05em;padding:5px 12px;border-radius:8px;
}
.tag-hot{background:var(--blue);color:#fff}
.tag-new{background:var(--yellow);color:var(--black)}

.p-img .overlay{
  position:absolute;inset:0;
  background:rgba(54,87,228,.04);
  opacity:0;transition:opacity .3s;
  display:flex;align-items:center;justify-content:center;
}
.p-card:hover .p-img .overlay{opacity:1}
.overlay-btn{
  padding:10px 22px;border-radius:8px;
  background:var(--blue);color:#fff;
  font-family:var(--font);font-weight:600;font-size:.82rem;
  border:none;cursor:pointer;
  transform:translateY(8px);opacity:0;
  transition:all .3s var(--ease) .05s;
}
.p-card:hover .overlay-btn{transform:translateY(0);opacity:1}

.p-body{padding:1.25rem}
.p-cat{
  font-family:var(--mono);font-size:.62rem;font-weight:500;
  text-transform:uppercase;letter-spacing:.08em;
  color:var(--text-tertiary);margin-bottom:6px;
}
.p-name{
  font-weight:700;font-size:.9rem;line-height:1.4;
  color:var(--text);margin-bottom:1rem;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.p-bottom{display:flex;align-items:center;justify-content:space-between}
.p-price{font-size:1.8rem;font-weight:800;color:var(--black)}
.p-price small{font-weight:500;color:var(--text-tertiary);font-size:.72rem;margin-left:2px}
.btn-add{
  width:38px;height:38px;border-radius:10px;
  border:1.5px solid var(--border);background:#fff;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;transition:all .2s;
}
.btn-add:hover{background:var(--yellow);border-color:var(--yellow)}
.btn-add svg{width:16px;height:16px;stroke:var(--text-secondary)}
.btn-add:hover svg{stroke:var(--black)}

/* ── Brands ────────────────────────────────────────────── */
.brands-wrap{
  overflow:hidden;
  position:relative;
  padding:1rem 0;
}
.brands-wrap::before,
.brands-wrap::after{
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  width:120px;
  z-index:2;
  pointer-events:none;
}
.brands-wrap::before{
  left:0;
  background:linear-gradient(90deg,var(--bg),transparent);
}
.brands-wrap::after{
  right:0;
  background:linear-gradient(270deg,var(--bg),transparent);
}

.brands-track{
  display:flex;
  align-items:center;
  gap:3rem;
  animation:marquee 28s linear infinite;
  width:max-content;
}
.brands-track:hover{animation-play-state:paused}

@keyframes marquee{
  0%{transform:translateX(0)}
  100%{transform:translateX(-50%)}
}

.br-name{
  font-size:clamp(1.3rem,2.5vw,1.8rem);
  font-weight:800;
  color:var(--text-tertiary);
  opacity:.4;
  white-space:nowrap;
  transition:all .3s var(--ease);
  cursor:default;
  user-select:none;
}
.br-name:hover{
  color:var(--blue);
  opacity:1;
}

/* ── Features ──────────────────────────────────────────── */
.feat-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1.2rem;
}
.feat-card{
  position:relative;
  padding:2rem 1.5rem;
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  display:flex;
  flex-direction:column;
  gap:.8rem;
  overflow:hidden;
  transition:all .35s var(--ease);
}
.feat-card::after{
  content:'';
  position:absolute;
  bottom:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,var(--blue),var(--yellow));
  transform:scaleX(0);
  transition:transform .35s var(--ease);
}
.feat-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
}
.feat-card:hover::after{transform:scaleX(1)}

.fc-icon{
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
}
.fc-icon.c-blue{background:var(--blue-light);color:var(--blue)}
.fc-icon.c-yellow{background:var(--yellow-light);color:var(--yellow-dark)}
.fc-icon svg{width:22px;height:22px}

.fc-title{
  font-size:1.05rem;
  font-weight:700;
  color:var(--text);
}
.fc-desc{
  font-size:.87rem;
  color:var(--text-secondary);
  line-height:1.65;
}

/* ── CTA ───────────────────────────────────────────────── */
.cta{
  position:relative;
  background:var(--black);
  color:#fff;
  border-radius:var(--radius-xl);
  padding:clamp(3rem,6vw,5rem);
  overflow:hidden;
}
.cta-dots{
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:20px 20px;
  pointer-events:none;
}
.cta-glow,
.cta-glow-2{
  position:absolute;
  border-radius:50%;
  pointer-events:none;
}
.cta-glow{
  width:350px;height:350px;
  background:radial-gradient(circle,rgba(54,87,228,.2),transparent 70%);
  top:-100px;right:-50px;
}
.cta-glow-2{
  width:250px;height:250px;
  background:radial-gradient(circle,rgba(255,196,16,.12),transparent 70%);
  bottom:-80px;left:-30px;
}

.cta-inner{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:2rem;
}
.cta-inner h2{
  font-size:clamp(1.5rem,3vw,2.2rem);
  font-weight:800;
  color:#fff;
  line-height:1.2;
  margin-bottom:.6rem;
}
.cta-inner p{
  font-size:1rem;
  color:rgba(255,255,255,.6);
  max-width:420px;
}

/* ── Footer ────────────────────────────────────────────── */
.site-footer,
footer{
  background:var(--bg-off);
  border-top:1.5px solid var(--border-light);
  padding:clamp(3rem,5vw,4.5rem) 0 1.5rem;
}

.f-grid{
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr 1fr;
  gap:2.5rem;
}

.f-logo{
  display:flex;
  align-items:center;
  margin-bottom:1rem;
}
.f-logo-img,
.f-logo img{
  height:56px !important;
  width:auto !important;
  max-height:56px !important;
  object-fit:contain;
}

.f-about{
  font-size:.88rem;
  color:var(--text-secondary);
  line-height:1.7;
  max-width:280px;
  margin-bottom:1.2rem;
}

.f-social{
  display:flex;
  gap:.5rem;
}
.f-social a{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:var(--radius);
  border:1.5px solid var(--border);
  color:var(--text-secondary);
  transition:all .25s var(--ease);
}
.f-social a:hover{
  border-color:var(--blue);
  color:var(--blue);
  background:var(--blue-subtle);
}
.f-social svg{width:16px;height:16px}

.f-heading{
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--text-tertiary);
  margin-bottom:1.2rem;
}

.f-links{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:.65rem;
}
.f-links a{
  font-size:.88rem;
  color:var(--text-secondary);
  transition:color .2s var(--ease);
}
.f-links a:hover{
  color:var(--blue);
}

.f-bottom{
  margin-top:clamp(2rem,4vw,3.5rem);
  padding:1.2rem 0;
  border-top:1px solid var(--border-light);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  flex-wrap:wrap;
  font-size:.8rem;
  color:var(--text-tertiary);
}
.f-bottom a{
  color:var(--text-secondary);
  transition:color .2s var(--ease);
}
.f-bottom a:hover{color:var(--blue)}
.f-bottom-links{
  display:flex;
  gap:1.5rem;
}

/* ── WhatsApp ──────────────────────────────────────────── */
.wa{
  position:fixed;
  bottom:1.5rem;
  right:1.5rem;
  z-index:900;
  width:56px;
  height:56px;
  background:#25D366;
  border-radius:var(--radius-lg);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  box-shadow:0 6px 20px rgba(37,211,102,.35);
  transition:all .3s var(--ease);
}
.wa:hover{
  transform:translateY(-3px) scale(1.05);
  box-shadow:0 10px 30px rgba(37,211,102,.4);
}
.wa svg{width:26px;height:26px}

/* ══════════════════════════════════════════════════════════
   WordPress Specific Styles
   ══════════════════════════════════════════════════════════ */

/* ── Page Content ──────────────────────────────────────── */
.page-content,
.entry-content{
  max-width:760px;
  margin:0 auto;
  padding:clamp(2rem,5vw,4rem) clamp(1.25rem,3vw,2.5rem);
}
/* WooCommerce pages — layout handled by .wc-page-wrap in pages.css */
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content{
  max-width:100% !important;
  padding:0 !important;
  margin:0 !important;
}
/* Hide default page title on WC pages */
.woocommerce-cart .entry-header,
.woocommerce-checkout .entry-header,
.woocommerce-account .entry-header{
  display:none;
}
/* Inline banner (inside entry-content) */
.wc-page-banner--inline{
  margin:-0rem calc(-1 * clamp(1.25rem,3vw,2.5rem)) 2rem;
  width:calc(100% + 2 * clamp(1.25rem,3vw,2.5rem));
}

.entry-content h1{
  font-size:clamp(2rem,4vw,2.8rem);
  font-weight:800;
  line-height:1.15;
  color:var(--text);
  margin-bottom:1rem;
  letter-spacing:-.02em;
}
.entry-content h2{
  font-size:clamp(1.5rem,3vw,2rem);
  font-weight:700;
  line-height:1.2;
  color:var(--text);
  margin:2.5rem 0 1rem;
}
.entry-content h3{
  font-size:clamp(1.2rem,2.5vw,1.5rem);
  font-weight:700;
  line-height:1.3;
  color:var(--text);
  margin:2rem 0 .8rem;
}
.entry-content h4,
.entry-content h5,
.entry-content h6{
  font-weight:700;
  color:var(--text);
  margin:1.8rem 0 .6rem;
}
.entry-content h4{font-size:1.15rem}
.entry-content h5{font-size:1rem}
.entry-content h6{font-size:.9rem}

.entry-content p{
  font-size:1.05rem;
  color:var(--text-secondary);
  line-height:1.8;
  margin-bottom:1.5rem;
}

.entry-content a{
  color:var(--blue);
  text-decoration:underline;
  text-underline-offset:3px;
  text-decoration-thickness:1.5px;
  transition:color .2s var(--ease);
}
.entry-content a:hover{
  color:var(--blue-dark);
}

.entry-content ul,
.entry-content ol{
  margin:1.5rem 0;
  padding-left:1.5rem;
}
.entry-content ul{list-style:disc}
.entry-content ol{list-style:decimal}
.entry-content li{
  font-size:1.05rem;
  color:var(--text-secondary);
  line-height:1.8;
  margin-bottom:.5rem;
}
.entry-content li::marker{color:var(--blue)}

.entry-content img{
  border-radius:var(--radius-lg);
  margin:2rem 0;
  box-shadow:var(--shadow-sm);
}

.entry-content blockquote{
  margin:2rem 0;
  padding:1.5rem 1.5rem 1.5rem 2rem;
  background:var(--bg-off);
  border-left:4px solid var(--blue);
  border-radius:0 var(--radius) var(--radius) 0;
  font-size:1.05rem;
  color:var(--text-secondary);
  font-style:italic;
}
.entry-content blockquote p{margin-bottom:0}
.entry-content blockquote cite{
  display:block;
  font-size:.85rem;
  font-style:normal;
  font-weight:600;
  color:var(--text-tertiary);
  margin-top:.8rem;
}

.entry-content pre{
  background:var(--black);
  color:#e6e8f0;
  padding:1.5rem;
  border-radius:var(--radius);
  overflow-x:auto;
  font-family:var(--mono);
  font-size:.88rem;
  line-height:1.6;
  margin:2rem 0;
}
.entry-content code{
  font-family:var(--mono);
  font-size:.88em;
  background:var(--bg-off);
  padding:.15rem .4rem;
  border-radius:4px;
  color:var(--blue);
}
.entry-content pre code{
  background:none;
  padding:0;
  color:inherit;
}

.entry-content table{
  width:100%;
  border-collapse:collapse;
  margin:2rem 0;
}
.entry-content th,
.entry-content td{
  padding:.8rem 1rem;
  text-align:left;
  border-bottom:1px solid var(--border-light);
  font-size:.92rem;
}
.entry-content th{
  font-weight:700;
  color:var(--text);
  background:var(--bg-off);
}
.entry-content td{color:var(--text-secondary)}

.entry-content hr{
  border:none;
  height:1px;
  background:var(--border-light);
  margin:3rem 0;
}

.entry-content figure{margin:2rem 0}
.entry-content figcaption{
  text-align:center;
  font-size:.82rem;
  color:var(--text-tertiary);
  margin-top:.6rem;
}

/* ── Blog / Archive ────────────────────────────────────── */
.archive-header{
  text-align:center;
  padding:clamp(3rem,5vw,5rem) 0 clamp(2rem,3vw,3rem);
}
.archive-header h1{
  font-size:clamp(1.8rem,3.5vw,2.6rem);
  font-weight:800;
  color:var(--text);
}
.archive-header p{
  font-size:1.05rem;
  color:var(--text-secondary);
  margin-top:.5rem;
}

.posts-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.5rem;
  margin-bottom:3rem;
}

.post-card{
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  overflow:hidden;
  transition:all .35s var(--ease);
}
.post-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow-md);
}
.post-card .post-card-thumb{
  aspect-ratio:16/10;
  overflow:hidden;
  background:var(--bg-off);
}
.post-card .post-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s var(--ease);
}
.post-card:hover .post-card-thumb img{transform:scale(1.04)}

.post-card .post-card-body{
  padding:1.5rem;
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.post-card .post-card-meta{
  font-size:.72rem;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--text-tertiary);
}
.post-card .post-card-title{
  font-size:1.05rem;
  font-weight:700;
  color:var(--text);
  line-height:1.35;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.post-card .post-card-title:hover{color:var(--blue)}
.post-card .post-card-excerpt{
  font-size:.88rem;
  color:var(--text-secondary);
  line-height:1.6;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.post-card .post-card-read{
  font-size:.82rem;
  font-weight:600;
  color:var(--blue);
  margin-top:.3rem;
}
.post-card .post-card-read:hover{text-decoration:underline}

/* ── Single Post ───────────────────────────────────────── */
.entry-header{
  margin-bottom:2rem;
}
.entry-header .entry-category{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:var(--blue);
  margin-bottom:.8rem;
}
.entry-header h1{
  font-size:clamp(1.8rem,4vw,2.6rem);
  font-weight:800;
  line-height:1.15;
  color:var(--text);
  margin-bottom:1rem;
}

.entry-meta{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  font-size:.82rem;
  color:var(--text-tertiary);
}
.entry-meta a{color:var(--text-secondary)}
.entry-meta a:hover{color:var(--blue)}
.entry-meta .meta-sep{
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--text-tertiary);
}
.entry-meta .author-avatar{
  width:32px;
  height:32px;
  border-radius:50%;
  object-fit:cover;
}

.entry-thumbnail{
  margin:2rem 0;
  border-radius:var(--radius-xl);
  overflow:hidden;
}
.entry-thumbnail img{
  width:100%;
  height:auto;
  display:block;
}

.entry-footer{
  margin-top:3rem;
  padding-top:1.5rem;
  border-top:1px solid var(--border-light);
}

.entry-tags{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
}
.entry-tags a{
  padding:.3rem .8rem;
  font-size:.78rem;
  font-weight:600;
  background:var(--bg-off);
  color:var(--text-secondary);
  border-radius:50px;
  border:1.5px solid var(--border-light);
  transition:all .25s var(--ease);
}
.entry-tags a:hover{
  border-color:var(--blue);
  color:var(--blue);
  background:var(--blue-subtle);
}

/* ── Search ────────────────────────────────────────────── */
.search-header{
  text-align:center;
  padding:clamp(3rem,5vw,5rem) 0 clamp(2rem,3vw,3rem);
}
.search-header h1{
  font-size:clamp(1.5rem,3vw,2.2rem);
  font-weight:800;
  color:var(--text);
}
.search-header p{
  font-size:1rem;
  color:var(--text-secondary);
  margin-top:.5rem;
}

.search-results-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
  margin-bottom:3rem;
}

.search-result-item{
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:1.5rem;
  transition:all .35s var(--ease);
}
.search-result-item:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-sm);
  border-color:var(--border);
}
.search-result-item h3{
  font-size:1rem;
  font-weight:700;
  color:var(--text);
  margin-bottom:.3rem;
}
.search-result-item h3 a{transition:color .2s var(--ease)}
.search-result-item h3 a:hover{color:var(--blue)}
.search-result-item .search-type{
  font-size:.7rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--text-tertiary);
  margin-bottom:.5rem;
}
.search-result-item p{
  font-size:.88rem;
  color:var(--text-secondary);
  line-height:1.65;
}

.no-results{
  text-align:center;
  padding:clamp(4rem,8vw,6rem) 1rem;
}
.no-results h2{
  font-size:1.6rem;
  font-weight:800;
  color:var(--text);
  margin-bottom:.6rem;
}
.no-results p{
  font-size:1.05rem;
  color:var(--text-secondary);
  margin-bottom:2rem;
}
.no-results .search-form{
  max-width:400px;
  margin:0 auto;
}

/* ── 404 ───────────────────────────────────────────────── */
.error-404{
  text-align:center;
  padding:clamp(5rem,10vw,8rem) 1rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
}
.error-404 .e404-code{
  font-size:clamp(5rem,15vw,10rem);
  font-weight:900;
  line-height:1;
  color:var(--border);
  letter-spacing:-.05em;
}
.error-404 h1{
  font-size:clamp(1.5rem,3vw,2rem);
  font-weight:800;
  color:var(--text);
}
.error-404 p{
  font-size:1.05rem;
  color:var(--text-secondary);
  max-width:440px;
}

/* ── Sidebar Layout ────────────────────────────────────── */
.content-area.with-sidebar{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:3rem;
  max-width:var(--max-w);
  margin:0 auto;
  padding:clamp(2rem,5vw,4rem) clamp(1.25rem,3vw,2.5rem);
  align-items:start;
}
.content-area.with-sidebar .main-content{
  min-width:0;
}

.sidebar{
  position:sticky;
  top:80px;
  display:flex;
  flex-direction:column;
  gap:2rem;
}

.widget{
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:1.5rem;
}
.widget-title{
  font-size:.82rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--text-tertiary);
  margin-bottom:1rem;
  padding-bottom:.6rem;
  border-bottom:1px solid var(--border-light);
}
.widget ul{
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.widget ul li a{
  font-size:.88rem;
  color:var(--text-secondary);
  transition:color .2s var(--ease);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.widget ul li a:hover{color:var(--blue)}
.widget ul li .count{
  font-size:.75rem;
  color:var(--text-tertiary);
  background:var(--bg-off);
  padding:.1rem .45rem;
  border-radius:50px;
}

/* ── Pagination ────────────────────────────────────────── */
.pagination{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  padding:2rem 0;
}
.pagination a,
.pagination span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:40px;
  height:40px;
  padding:0 .6rem;
  font-size:.88rem;
  font-weight:600;
  color:var(--text-secondary);
  border-radius:var(--radius);
  border:1.5px solid var(--border-light);
  background:var(--bg);
  transition:all .25s var(--ease);
}
.pagination a:hover{
  border-color:var(--blue);
  color:var(--blue);
}
.pagination .current,
.pagination span.current{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}
.pagination .dots{
  border:none;
  background:none;
  color:var(--text-tertiary);
}
.pagination .prev,
.pagination .next{
  font-weight:700;
}

/* ── Comments ──────────────────────────────────────────── */
.comments-area{
  max-width:760px;
  margin:0 auto;
  padding:2rem clamp(1.25rem,3vw,2.5rem) clamp(3rem,5vw,4rem);
}
.comments-title{
  font-size:1.3rem;
  font-weight:800;
  color:var(--text);
  margin-bottom:2rem;
}

.comment-list{
  display:flex;
  flex-direction:column;
  gap:1.5rem;
}
.comment{
  background:var(--bg);
  border:1.5px solid var(--border-light);
  border-radius:var(--radius-lg);
  padding:1.5rem;
}
.comment .comment-author{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:.6rem;
}
.comment .comment-author img{
  width:36px;
  height:36px;
  border-radius:50%;
}
.comment .comment-author .fn{
  font-size:.92rem;
  font-weight:700;
  color:var(--text);
}
.comment .comment-metadata{
  font-size:.75rem;
  color:var(--text-tertiary);
  margin-bottom:.8rem;
}
.comment .comment-metadata a{color:var(--text-tertiary)}
.comment .comment-metadata a:hover{color:var(--blue)}
.comment .comment-content p{
  font-size:.92rem;
  color:var(--text-secondary);
  line-height:1.7;
  margin-bottom:.5rem;
}
.comment .reply a{
  font-size:.78rem;
  font-weight:600;
  color:var(--blue);
}
.comment .reply a:hover{text-decoration:underline}

.comment .children{
  margin-top:1rem;
  padding-left:1.5rem;
  border-left:2px solid var(--border-light);
  display:flex;
  flex-direction:column;
  gap:1rem;
}

#respond{
  margin-top:2.5rem;
}
#respond .comment-reply-title{
  font-size:1.2rem;
  font-weight:800;
  color:var(--text);
  margin-bottom:1.2rem;
}

/* ── Form Elements ─────────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select{
  width:100%;
  padding:.75rem 1rem;
  font-size:.92rem;
  color:var(--text);
  background:var(--bg);
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  outline:none;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease);
  -webkit-appearance:none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(54,87,228,.1);
}

input::placeholder,
textarea::placeholder{
  color:var(--text-tertiary);
}

textarea{
  min-height:120px;
  resize:vertical;
}

select{
  cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239295a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 1rem center;
  padding-right:2.5rem;
}

label{
  display:block;
  font-size:.85rem;
  font-weight:600;
  color:var(--text);
  margin-bottom:.4rem;
}

.form-group{
  margin-bottom:1.2rem;
}

input[type="submit"],
button[type="submit"]{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.8rem;
  background:var(--blue);
  color:#fff;
  font-weight:600;
  font-size:.9rem;
  border-radius:var(--radius);
  border:none;
  cursor:pointer;
  box-shadow:var(--shadow-blue);
  transition:all .3s var(--ease);
}
input[type="submit"]:hover,
button[type="submit"]:hover{
  background:var(--blue-dark);
  transform:translateY(-2px);
  box-shadow:0 12px 35px rgba(54,87,228,.3);
}

/* Search form */
.search-form{
  display:flex;
  gap:.5rem;
}
.search-form .search-field{
  flex:1;
}
.search-form .search-submit{
  flex-shrink:0;
}

/* ── WordPress Alignments ──────────────────────────────── */
.alignleft{
  float:left;
  margin:.5rem 1.5rem 1rem 0;
}
.alignright{
  float:right;
  margin:.5rem 0 1rem 1.5rem;
}
.aligncenter{
  display:block;
  margin:2rem auto;
}
.alignwide{
  max-width:calc(var(--max-w) - 2rem);
  margin-left:auto;
  margin-right:auto;
}
.alignfull{
  width:100vw;
  position:relative;
  left:50%;
  right:50%;
  margin-left:-50vw;
  margin-right:-50vw;
}

/* WordPress caption */
.wp-caption{
  max-width:100%;
  margin:2rem 0;
}
.wp-caption img{
  border-radius:var(--radius-lg);
}
.wp-caption-text{
  text-align:center;
  font-size:.82rem;
  color:var(--text-tertiary);
  margin-top:.6rem;
}

/* Screen reader text */
.screen-reader-text{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ── WordPress Gallery ─────────────────────────────────── */
.gallery{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.8rem;
  margin:2rem 0;
}
.gallery-item{
  overflow:hidden;
  border-radius:var(--radius);
}
.gallery-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .4s var(--ease);
}
.gallery-item:hover img{transform:scale(1.04)}
.gallery-columns-2 .gallery{grid-template-columns:repeat(2,1fr)}
.gallery-columns-4 .gallery{grid-template-columns:repeat(4,1fr)}

/* ══════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════ */

/* ── 1024px ────────────────────────────────────────────── */
@media(max-width:1024px){
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .feat-grid{grid-template-columns:repeat(2,1fr)}
  .p-grid{grid-template-columns:repeat(3,1fr)}
  .f-grid{grid-template-columns:repeat(2,1fr)}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
  .content-area.with-sidebar{
    grid-template-columns:1fr 260px;
    gap:2rem;
  }
  .mega-grid{grid-template-columns:repeat(3,1fr)}
  .mnav-links a{padding:0 .7rem;font-size:.8rem}
}

/* ── 768px ─────────────────────────────────────────────── */
@media(max-width:768px){
  /* Header */
  .hdr-search{display:none}
  .hdr-action-link span{display:none}
  .hdr-action-link{padding:.5rem}
  .hdr-inner{height:60px;gap:.75rem}
  .hdr-logo img{height:42px}
  .mob-toggle{display:flex}

  /* Nav bar */
  .main-nav{display:none}

  .hero-inner{
    grid-template-columns:1fr;
    text-align:center;
  }
  .hero-content{align-items:center}
  .hero-badge{margin:0 auto}
  .hero-desc{margin:0 auto}
  .hero-actions{justify-content:center}
  .hero-card-wrap{display:none}

  .p-grid{grid-template-columns:repeat(2,1fr)}
  .posts-grid{grid-template-columns:repeat(2,1fr)}
  .search-results-grid{grid-template-columns:1fr}

  .cta-inner{
    flex-direction:column;
    text-align:center;
  }
  .cta-inner p{margin:0 auto}

  .f-grid{grid-template-columns:1fr}
  .f-about{max-width:100%}
  .f-bottom{
    flex-direction:column;
    text-align:center;
    gap:.5rem;
  }

  .content-area.with-sidebar{
    grid-template-columns:1fr;
  }
  .sidebar{
    position:static;
    order:2;
  }

  .s-header-row{
    flex-direction:column;
    align-items:flex-start;
    gap:1rem;
  }

  .gallery{grid-template-columns:repeat(2,1fr)}
}

/* ── 480px ─────────────────────────────────────────────── */
@media(max-width:480px){
  .cat-grid{grid-template-columns:1fr}
  .feat-grid{grid-template-columns:1fr}
  .p-grid{grid-template-columns:1fr}
  .posts-grid{grid-template-columns:1fr}

  .hero-metrics{
    flex-direction:column;
    gap:1rem;
    align-items:center;
  }

  .hero h1{font-size:clamp(1.8rem,6vw,2.4rem)}

  .tabs-row{gap:.3rem}
  .tab{padding:.4rem .9rem;font-size:.78rem}

  .btn-primary,
  .btn-outline{
    width:100%;
    justify-content:center;
  }
  .hero-actions{
    flex-direction:column;
    width:100%;
  }

  .f-bottom-links{
    flex-direction:column;
    gap:.5rem;
  }

  .pagination a,
  .pagination span{
    min-width:34px;
    height:34px;
    font-size:.82rem;
  }

  .comment .children{padding-left:.8rem}
  .gallery{grid-template-columns:1fr}
}

/* ══════════════════════════════════════════════════════════
   MINI CART DRAWER
   ══════════════════════════════════════════════════════════ */
.mini-cart-overlay{
  position:fixed;inset:0;z-index:1200;
  background:rgba(0,0,0,.45);
  opacity:0;visibility:hidden;
  transition:all .3s;
}
.mini-cart-overlay.active{opacity:1;visibility:visible}

.mini-cart-drawer{
  position:fixed;top:0;right:-400px;
  width:400px;max-width:90vw;
  height:100%;z-index:1250;
  background:#fff;
  box-shadow:var(--shadow-lg);
  display:flex;flex-direction:column;
  transition:right .35s var(--ease);
}
.mini-cart-drawer.active{right:0}

.mini-cart-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:1.25rem 1.5rem;
  border-bottom:1.5px solid var(--border-light);
  flex-shrink:0;
}
.mini-cart-header h3{
  font-size:1rem;font-weight:700;margin:0;
}
.mini-cart-header .mini-cart-count{
  color:var(--text-tertiary);font-weight:500;
}
.mini-cart-close{
  background:none;border:none;cursor:pointer;
  width:36px;height:36px;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--radius);
  color:var(--text-secondary);
  transition:background .15s;
}
.mini-cart-close:hover{background:var(--bg-off)}

.mini-cart-body{
  flex:1;overflow-y:auto;padding:0;
}

.mini-cart-items{
  padding:0;
}

.mini-cart-item{
  display:flex;align-items:center;gap:.85rem;
  padding:1rem 1.5rem;
  border-bottom:1px solid var(--border-light);
}
.mini-cart-item-img{
  width:64px;height:64px;flex-shrink:0;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--bg-off);
  border:1px solid var(--border-light);
}
.mini-cart-item-img img{
  width:100%;height:100%;object-fit:contain;
}
.mini-cart-item-info{
  flex:1;min-width:0;
  display:flex;flex-direction:column;gap:2px;
}
.mini-cart-item-name{
  font-size:.85rem;font-weight:600;color:var(--text);
  display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden;
}
.mini-cart-item-qty{
  font-size:.8rem;color:var(--text-secondary);
}
.mini-cart-item-remove{
  width:28px;height:28px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  font-size:1.2rem;color:var(--text-tertiary);
  border-radius:6px;transition:all .15s;
  text-decoration:none;
}
.mini-cart-item-remove:hover{
  background:rgba(255,0,0,.08);color:#e74c3c;
}

.mini-cart-empty{
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:3rem 1.5rem;
  text-align:center;
  color:var(--text-tertiary);
  gap:.75rem;
}
.mini-cart-empty p{font-size:.92rem;margin:0}
.mini-cart-shop-btn{
  display:inline-block;
  padding:.6rem 1.5rem;
  background:var(--blue);color:#fff;
  border-radius:var(--radius);
  font-size:.85rem;font-weight:600;
  transition:background .2s;
}
.mini-cart-shop-btn:hover{background:var(--blue-dark);color:#fff}

.mini-cart-footer{
  border-top:1.5px solid var(--border-light);
  padding:1.25rem 1.5rem;
  flex-shrink:0;
  display:flex;flex-direction:column;gap:.6rem;
}
.mini-cart-total{
  display:flex;align-items:center;justify-content:space-between;
  font-size:.95rem;
  margin-bottom:.25rem;
}
.mini-cart-total strong{
  font-size:1.1rem;font-weight:800;color:var(--black);
}
.mini-cart-btn-cart{
  display:block;text-align:center;
  padding:.7rem;
  border:1.5px solid var(--border);
  border-radius:var(--radius);
  font-size:.85rem;font-weight:600;
  color:var(--text);
  transition:all .2s;
}
.mini-cart-btn-cart:hover{border-color:var(--blue);color:var(--blue)}
.mini-cart-btn-checkout,
.mini-cart-btn-checkout:link,
.mini-cart-btn-checkout:visited,
.mini-cart-btn-checkout:active {
  display:block;text-align:center;
  padding:.75rem;
  background:var(--blue) !important;
  color:#fff !important;
  border-radius:var(--radius);
  font-size:.88rem;font-weight:700;
  transition:all .2s;
  box-shadow:var(--shadow-blue);
  text-decoration:none;
}
.mini-cart-btn-checkout:hover{background:var(--blue-dark) !important;color:#fff !important}

/* ── Print ─────────────────────────────────────────────── */
@media print{
  .topbar,.site-header,.main-nav,.wa,.site-footer,footer,.sidebar,.pagination,.comments-area,.mobile-navigation,.mobile-nav-overlay{display:none!important}
  body{font-size:12pt;color:#000;background:#fff}
  .entry-content a{color:#000;text-decoration:underline}
  .entry-content img{box-shadow:none;border:1px solid #ddd}
}
