/* =============================================
   CMK STORE — Style (minimalista dark)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d1117;
  --bg2:       #161b22;
  --bg3:       #21262d;
  --border:    #30363d;
  --text:      #f0f6fc;
  --text-sub:  #8b949e;
  --text-dim:  #6e7681;
  --white:     #ffffff;
  --radius:    12px;
  --radius-lg: 18px;
  --tr:        .2s ease;
}

html  { scroll-behavior: smooth; }
body  { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; display: block; }
ul    { list-style: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }

::-webkit-scrollbar       { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 99px;
  font-size: .9rem; font-weight: 600;
  transition: var(--tr); white-space: nowrap; cursor: pointer;
}
.btn-white {
  background: var(--white); color: #0d1117;
  border: 1.5px solid var(--white);
}
.btn-white:hover { background: #e6edf3; border-color: #e6edf3; }

.btn-outline {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: #8b949e; }

.btn-ghost {
  background: var(--bg3); color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: #2d333b; }

.btn-lg { padding: 14px 28px; font-size: .95rem; }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,17,23,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 20px;
}

.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  flex-shrink: 0;
}
.logo-icon { width: 22px; height: 22px; flex-shrink: 0; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
}
.nav-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: .88rem; font-weight: 500;
  color: var(--text-sub); transition: var(--tr);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: var(--tr);
}

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  background: rgba(13,17,23,.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 11px 14px; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text-sub);
  transition: var(--tr);
}
.mobile-menu a:hover { background: var(--bg3); color: var(--text); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px; align-items: center;
  padding: 72px 0;
}

/* Left */
.hero-left {}

.hero-pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 5px 16px;
  font-size: .82rem; color: var(--text-sub);
  margin-bottom: 28px;
}

.hero-title {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1rem; color: var(--text-sub);
  max-width: 480px; line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-pedido {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: #0d1117;
  border: 1.5px solid var(--white);
  padding: 13px 24px; border-radius: 99px;
  font-size: .92rem; font-weight: 700;
  transition: var(--tr);
}
.btn-pedido:hover { background: #e6edf3; border-color: #e6edf3; }
.btn-pedido svg { width: 17px; height: 17px; }

.btn-catalogo {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg3); color: var(--text);
  border: 1.5px solid var(--border);
  padding: 13px 24px; border-radius: 99px;
  font-size: .92rem; font-weight: 600;
  transition: var(--tr);
}
.btn-catalogo:hover { background: #2d333b; }

/* Right — Destaques card */
.hero-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.hero-card-title {
  font-size: 1.05rem; font-weight: 700;
  margin-bottom: 20px; color: var(--text);
}
.highlight-list { display: flex; flex-direction: column; gap: 10px; }

.highlight-item {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: var(--tr);
}
.highlight-item:hover { border-color: #8b949e; }

.hi-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-sub);
}
.hi-icon svg { width: 20px; height: 20px; }
.hi-text {}
.hi-name  { font-size: .9rem; font-weight: 700; color: var(--text); }
.hi-desc  { font-size: .8rem; color: var(--text-sub); margin-top: 1px; }

/* =============================================
   SECTION BASE
   ============================================= */
.section { padding: 80px 0; }
.section-head { margin-bottom: 40px; }
.section-pill {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: .78rem; color: var(--text-sub);
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800; letter-spacing: -.035em;
  color: var(--white); line-height: 1.15;
}
.section-sub { color: var(--text-sub); font-size: .9rem; margin-top: 8px; }

/* =============================================
   FEATURES
   ============================================= */
.features-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: var(--tr);
}
.feature-card:hover { border-color: #8b949e; }
.fc-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 11px; margin-bottom: 18px;
  color: var(--text-sub);
}
.fc-icon-wrap svg { width: 20px; height: 20px; }
.feature-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .84rem; color: var(--text-sub); line-height: 1.6; }

/* =============================================
   CATEGORIES
   ============================================= */
.cats-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
}
.cats-header a { font-size: .85rem; color: var(--text-sub); transition: var(--tr); }
.cats-header a:hover { color: var(--text); }

.cats-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }

.cat-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 24px;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; transition: var(--tr); cursor: pointer;
}
.cat-card:hover { border-color: #8b949e; background: var(--bg3); }
.cat-emoji  { font-size: 2.4rem; margin-bottom: 14px; }
.cat-name   { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.cat-desc   { font-size: .82rem; color: var(--text-sub); margin-bottom: 18px; line-height: 1.5; }
.cat-link   { font-size: .82rem; color: var(--text-sub); font-weight: 600; transition: var(--tr); }
.cat-card:hover .cat-link { color: var(--text); }

/* =============================================
   PRODUCTS
   ============================================= */
.prods-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px;
}
.prods-header a { font-size: .85rem; color: var(--text-sub); transition: var(--tr); }
.prods-header a:hover { color: var(--text); }

.prods-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }

/* ---- Product card ---- */
.prod-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.prod-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0,0,0,.6);
  border-color: #484f58;
}

/* image */
.prod-thumb {
  background: #1a1f27;
  aspect-ratio: 1 / 1;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.prod-thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.prod-card:hover .prod-thumb img { transform: scale(1.07); }
.prod-thumb svg { opacity: .2; }

/* hover overlay with action buttons */
.prod-thumb-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: rgba(13,17,23,.78);
  backdrop-filter: blur(3px);
  display: flex; flex-direction: column;
  align-items: stretch; justify-content: center;
  gap: 8px; padding: 16px;
  opacity: 0;
  transition: opacity .25s ease;
}
.prod-card:hover .prod-thumb-overlay { opacity: 1; }

.prod-overlay-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px; border-radius: 10px;
  font-size: .82rem; font-weight: 700; font-family: inherit;
  border: none; cursor: pointer; text-decoration: none;
  transition: background .15s, transform .12s;
  white-space: nowrap;
}
.prod-overlay-btn:active { transform: scale(.97); }
.prod-overlay-btn.cart { background: #ffffff; color: #0d1117; }
.prod-overlay-btn.cart:hover { background: #e6edf3; }
.prod-overlay-btn.wa   { background: #25d366; color: #fff; }
.prod-overlay-btn.wa:hover { background: #1fba58; }

/* badge + discount */
.prod-badge {
  position: absolute; top: 10px; left: 10px; z-index: 4;
  padding: 3px 10px; border-radius: 6px;
  font-size: .62rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: #161b22; color: #c9d1d9; border: 1px solid var(--border);
}
.prod-badge.new  { background: #1a4731; color: #56d364; border-color: #238636; }
.prod-badge.sale { background: #4d0000; color: #ff8080; border-color: #b91c1c; }

.prod-discount-pill {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  background: #b91c1c; color: #fff;
  font-size: .68rem; font-weight: 900;
  padding: 3px 8px; border-radius: 6px;
}

/* body */
.prod-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column; flex: 1;
}
.prod-cat {
  font-size: .6rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 5px;
}
.prod-name {
  font-size: .88rem; font-weight: 600; line-height: 1.45; color: #c9d1d9;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 12px; flex: 1;
}

/* price */
.prod-foot { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.prod-price { display: flex; align-items: baseline; gap: 7px; }
.prod-price .old { font-size: .72rem; color: var(--text-dim); text-decoration: line-through; }
.prod-price .cur { font-size: 1.12rem; font-weight: 900; color: var(--white); letter-spacing: -.025em; }

/* legacy */
.prod-wa { display: none; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 36px;
}
.cta-banner h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800; letter-spacing: -.03em; margin-bottom: 10px;
}
.cta-banner p { font-size: .9rem; color: var(--text-sub); max-width: 440px; }
.cta-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* =============================================
   ABOUT
   ============================================= */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.about-stats { display: flex; flex-direction: column; gap: 12px; }
.about-stat {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
}
.as-icon { font-size: 1.6rem; }
.as-val  { font-size: 1.35rem; font-weight: 800; color: var(--white); }
.as-lbl  { font-size: .8rem; color: var(--text-sub); }

.about-text {}
.about-text p { color: var(--text-sub); font-size: .9rem; line-height: 1.75; margin-bottom: 16px; }
.about-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; color: var(--text-sub);
}
.about-list li::before {
  content: '✓'; flex-shrink: 0;
  width: 18px; height: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 50%; font-size: .65rem; font-weight: 800;
  color: var(--text); margin-top: 1px;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.testi-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--tr);
}
.testi-card:hover { border-color: #8b949e; }
.t-stars  { color: #e3b341; font-size: .85rem; letter-spacing: 2px; margin-bottom: 12px; }
.t-quote  { font-size: .85rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 18px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 10px; }
.t-av     {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.t-name { font-size: .85rem; font-weight: 600; }
.t-city { font-size: .75rem; color: var(--text-dim); }

/* =============================================
   BREADCRUMB (produto.php)
   ============================================= */
.pdp-breadcrumb {
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 84px 0 0;
}
.pdp-breadcrumb-nav {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  font-size: .8rem; color: var(--text-dim);
  padding: 12px 0;
}
.pdp-breadcrumb-nav a { color: var(--text-dim); text-decoration: none; transition: color var(--tr); }
.pdp-breadcrumb-nav a:hover { color: var(--text); }
.pdp-breadcrumb-nav .current { color: var(--text); }

/* =============================================
   CATALOG PAGE
   ============================================= */
.page-top {
  padding: 108px 0 44px;
  border-bottom: 1px solid var(--border);
}
.page-top h1 {
  font-size: clamp(1.8rem,4vw,2.8rem);
  font-weight: 900; letter-spacing: -.04em; margin-bottom: 8px;
}
.page-top p { font-size: .9rem; color: var(--text-sub); }

.catalog-wrap {
  display: grid; grid-template-columns: 240px 1fr;
  gap: 28px; padding: 40px 0 80px;
}

.sidebar { height: fit-content; position: sticky; top: 80px; }
.sb-block {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  margin-bottom: 14px;
}
.sb-title {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--text-dim); margin-bottom: 14px;
}
.sb-list { display: flex; flex-direction: column; gap: 4px; }
.sb-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .86rem; color: var(--text-sub);
  padding: 8px 10px; border-radius: 8px; cursor: pointer;
  transition: var(--tr); border: 1px solid transparent;
}
.sb-item:hover { background: var(--bg3); color: var(--text); }
.sb-item.active { background: var(--bg3); border-color: var(--border); color: var(--text); }
.sb-count { margin-left: auto; font-size: .75rem; color: var(--text-dim); }
.sb-item input { accent-color: var(--white); }

.catalog-main {}
.search-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.search-box {
  flex: 1; display: flex; align-items: center; gap: 10px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 16px;
  transition: var(--tr);
}
.search-box:focus-within { border-color: #8b949e; }
.search-box svg { width: 16px; height: 16px; color: var(--text-dim); flex-shrink: 0; }
.search-box input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text); font-family: inherit; font-size: .88rem;
}
.search-box input::placeholder { color: var(--text-dim); }

.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cat-pill {
  padding: 6px 16px; border-radius: 99px; cursor: pointer;
  font-size: .83rem; font-weight: 600;
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text-sub); transition: var(--tr);
}
.cat-pill:hover { border-color: #8b949e; color: var(--text); }
.cat-pill.active { background: var(--white); border-color: var(--white); color: #0d1117; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.toolbar-count { font-size: .84rem; color: var(--text-sub); }
.toolbar-sort  { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--text-sub); }
.toolbar-sort select {
  background: var(--bg2); border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 7px 12px;
  font-size: .84rem; font-family: inherit; cursor: pointer; outline: none;
}

.prods-grid-cat { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }

.empty-state {
  grid-column: 1/-1; text-align: center;
  padding: 56px 20px;
}
.empty-state .es-icon { font-size: 2.8rem; margin-bottom: 12px; }
.empty-state p { font-size: .88rem; color: var(--text-sub); margin-bottom: 20px; }

/* =============================================
   REGISTER PAGE
   ============================================= */
.form-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: start; padding: 40px 0 80px; }

.form-info {}
.form-info h2 { font-size: clamp(1.35rem,3vw,1.85rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 12px; }
.form-info > p { font-size: .88rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 26px; }

.perks { display: flex; flex-direction: column; gap: 10px; }
.perk {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.perk-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.perk h4  { font-size: .88rem; font-weight: 700; margin-bottom: 3px; }
.perk p   { font-size: .8rem; color: var(--text-sub); }

.form-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.form-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 24px; }

.fg { margin-bottom: 18px; }
.fg label {
  display: block; font-size: .78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--text-dim); margin-bottom: 7px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 9px; color: var(--text); font-family: inherit;
  font-size: .88rem; padding: 11px 14px; outline: none;
  transition: var(--tr);
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: #8b949e; }
.fg textarea { resize: vertical; min-height: 100px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg.checkbox { display: flex; align-items: flex-start; gap: 10px; }
.fg.checkbox input  { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--white); }
.fg.checkbox label  { text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--text-sub); cursor: pointer; }
.char-count { font-size: .72rem; color: var(--text-dim); text-align: right; margin-top: 4px; }

.btn-submit {
  width: 100%; padding: 14px;
  background: var(--white); color: #0d1117;
  border: none; border-radius: 99px;
  font-size: .95rem; font-weight: 700;
  cursor: pointer; transition: var(--tr); margin-top: 6px;
}
.btn-submit:hover { background: #e6edf3; }

/* toast */
.toast {
  display: none; position: fixed; top: 76px; right: 20px; z-index: 200;
  background: #238636; border: 1px solid #2ea043; color: #fff;
  padding: 12px 20px; border-radius: 10px;
  font-size: .88rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
}
.toast.show { display: flex; align-items: center; gap: 8px; animation: toastIn .25s ease; }
@keyframes toastIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand > p { font-size: .84rem; color: var(--text-sub); line-height: 1.65; margin-bottom: 18px; max-width: 240px; }

.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-sub); transition: var(--tr);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover { border-color: #8b949e; color: var(--text); }

.footer-col h4 { font-size: .88rem; font-weight: 700; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .84rem; color: var(--text-sub); transition: var(--tr); }
.footer-col ul li a:hover { color: var(--text); }

.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-list li { font-size: .84rem; display: flex; flex-direction: column; gap: 2px; }
.footer-contact-list .fc-label { font-weight: 700; font-size: .78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; }
.footer-contact-list a, .footer-contact-list span { color: var(--text-sub); }
.footer-contact-list a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: .78rem; color: var(--text-dim); }
.payment-badges { display: flex; gap: 6px; }
.payment-badges span {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 6px; padding: 3px 10px;
  font-size: .7rem; color: var(--text-sub); font-weight: 600;
}

/* WhatsApp Float */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.4);
  transition: var(--tr);
  animation: waPulse 2.8s infinite;
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

@keyframes waPulse {
  0%,100%{ box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 0 0 rgba(37,211,102,.35); }
  50%    { box-shadow: 0 4px 16px rgba(0,0,0,.4), 0 0 0 10px rgba(37,211,102,0); }
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade { opacity:0; transform:translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fade.visible { opacity:1; transform:translateY(0); }

/* Avoid blank page flash — hero elements above fold show instantly */
.hero .fade { animation: heroReveal .55s ease forwards; }
@keyframes heroReveal { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

/* =============================================
   CART NAV BUTTON
   ============================================= */
.cart-nav-btn {
  position: relative;
  background: none; border: 1px solid var(--border);
  border-radius: 10px; padding: 8px 10px;
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--tr), background var(--tr);
}
.cart-nav-btn:hover { border-color: #8b949e; background: var(--bg3); }
.cart-nav-badge {
  position: absolute; top: -6px; right: -6px;
  background: #e3b341; color: #0d1117;
  font-size: .62rem; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}

/* =============================================
   CART SIDEBAR
   ============================================= */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 900; opacity: 0; pointer-events: none;
  transition: opacity .25s;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 380px; max-width: 100vw;
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 901;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-sidebar-head h2 {
  font-size: .95rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.cart-close {
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; padding: 4px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: color var(--tr);
}
.cart-close:hover { color: var(--text); }

.cart-items {
  flex: 1; overflow-y: auto; padding: 12px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.cart-empty {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--text-dim); text-align: center;
  padding: 40px 0;
}
.cart-empty p { font-size: .9rem; }

.cart-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; padding: 12px;
  position: relative;
}
.ci-thumb {
  width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 8px; overflow: hidden;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.ci-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ci-no-img { color: var(--text-dim); }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-size: .83rem; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.ci-unit { font-size: .75rem; color: var(--text-dim); margin-bottom: 8px; }
.ci-controls { display: flex; align-items: center; justify-content: space-between; }
.ci-qty {
  display: flex; align-items: center; gap: 0;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
}
.ci-qty button {
  background: none; border: none; color: var(--text);
  width: 28px; height: 28px; cursor: pointer; font-size: 1rem;
  transition: background var(--tr);
}
.ci-qty button:hover { background: var(--border); }
.ci-qty button:disabled { opacity: .4; cursor: default; }
.ci-qty span { font-size: .82rem; font-weight: 700; min-width: 24px; text-align: center; }
.ci-subtotal { font-size: .85rem; font-weight: 800; color: var(--white); }
.ci-remove {
  position: absolute; top: 8px; right: 8px;
  background: none; border: none; color: var(--text-dim);
  cursor: pointer; padding: 3px; border-radius: 4px;
  display: flex; transition: color var(--tr);
}
.ci-remove:hover { color: #f85149; }

.cart-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.cart-total-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 0;
}
.cart-total-row span:first-child { font-size: .85rem; color: var(--text-dim); }
.cart-total-val { font-size: 1.15rem; font-weight: 800; color: var(--white); }
.btn-cart-checkout {
  width: 100%; padding: 13px; border-radius: 99px;
  background: #25d366; border: none; color: #fff;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--tr), opacity var(--tr);
}
.btn-cart-checkout:hover:not(:disabled) { background: #1fba58; }
.btn-cart-clear {
  width: 100%; padding: 9px; border-radius: 99px;
  background: none; border: 1px solid var(--border);
  color: var(--text-dim); font-size: .8rem; cursor: pointer;
  transition: border-color var(--tr), color var(--tr);
}
.btn-cart-clear:hover { border-color: #f85149; color: #f85149; }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.pdp-wrap { padding: 32px 0 80px; }

.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 48px;
  align-items: start;
}

/* Gallery */
.pdp-gallery { position: sticky; top: 90px; }

.pdp-main-photo {
  aspect-ratio: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  margin-bottom: 12px;
  cursor: zoom-in;
}
.pdp-main-img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .38s ease;
}
.pdp-main-photo:hover .pdp-main-img { transform: scale(1.05); }

.pdp-no-photo {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: var(--text-dim);
}
.pdp-no-photo svg { width: 80px; height: 80px; opacity: .15; }
.pdp-no-photo span { font-size: .82rem; }

.pdp-discount-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: #b91c1c; color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .03em;
  padding: 5px 13px; border-radius: 99px;
}

.pdp-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-thumb {
  width: 68px; height: 68px; border-radius: 12px;
  overflow: hidden; border: 2px solid var(--border);
  background: var(--bg2); cursor: pointer; padding: 0;
  transition: border-color var(--tr), transform .15s;
  flex-shrink: 0;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active { border-color: var(--white); }
.pdp-thumb:hover:not(.active) { border-color: #8b949e; transform: translateY(-1px); }

/* Info panel */
.pdp-info { display: flex; flex-direction: column; }

.pdp-cat-pill {
  background: var(--bg3); border: 1px solid var(--border);
  padding: 4px 12px; border-radius: 99px;
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-dim);
}

.pdp-title {
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  font-weight: 800; letter-spacing: -.04em;
  line-height: 1.2; margin-bottom: 14px;
  color: var(--white);
}

/* Price card */
.pdp-price-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 18px 20px;
  margin-bottom: 16px;
}
.pdp-price-old {
  font-size: .85rem; color: var(--text-dim);
  text-decoration: line-through; margin-bottom: 2px;
}
.pdp-price-cur {
  font-size: 2.2rem; font-weight: 900; letter-spacing: -.05em;
  color: var(--white); line-height: 1.05; margin-bottom: 10px;
}
.pdp-price-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pdp-save-pill {
  display: inline-flex; align-items: center;
  background: rgba(35,134,54,.15); border: 1px solid #2ea043;
  color: #3fb950; font-size: .73rem; font-weight: 700;
  padding: 3px 10px; border-radius: 99px;
}
.pdp-pix-note { font-size: .78rem; color: var(--text-dim); }

.pdp-stock {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600;
  padding: 6px 14px; border-radius: 99px;
  margin-bottom: 14px;
}
.pdp-stock.in  { background: rgba(35,134,54,.12); color: #3fb950; border: 1px solid #238636; }
.pdp-stock.out { background: rgba(248,81,73,.1);  color: #f85149; border: 1px solid #f85149; }

.pdp-short-desc { font-size: .88rem; color: var(--text-sub); line-height: 1.75; margin-bottom: 16px; }
.pdp-divider { height: 1px; background: var(--border); margin: 16px 0; }

/* Quantity */
.pdp-qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.qty-selector {
  display: flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
}
.qty-selector button {
  width: 40px; height: 40px; border: none;
  background: none; color: var(--text); cursor: pointer;
  font-size: 1.2rem; transition: background var(--tr);
}
.qty-selector button:hover { background: var(--border); }
.qty-selector input {
  width: 48px; text-align: center; background: none; border: none;
  color: var(--text); font-size: .95rem; font-weight: 700;
  font-family: inherit; outline: none;
}

/* Action buttons */
.pdp-actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.btn-add-cart {
  width: 100%; padding: 15px;
  background: var(--white); color: var(--bg);
  border: none; border-radius: 12px;
  font-size: .95rem; font-weight: 800; font-family: inherit;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--tr), transform .15s, box-shadow .15s;
}
.btn-add-cart:hover:not(.disabled) {
  background: #d0d7de; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.btn-add-cart.disabled { opacity: .45; cursor: not-allowed; }

.btn-buy-wa {
  width: 100%; padding: 15px;
  background: #25d366; color: #fff;
  border: none; border-radius: 12px;
  font-size: .95rem; font-weight: 800;
  text-decoration: none; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--tr), transform .15s, box-shadow .15s;
}
.btn-buy-wa:hover {
  background: #1fba58; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37,211,102,.3);
}

/* Guarantees */
.pdp-guarantees { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.pdp-guarantee-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 8px;
  font-size: .74rem; color: var(--text-dim);
  line-height: 1.4;
}
.pdp-guarantee-item svg { color: var(--text-sub); flex-shrink: 0; }

/* Tabs */
.pdp-tabs {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.pdp-tab-nav {
  display: flex; border-bottom: 1px solid var(--border);
  background: var(--bg3);
}
.pdp-tab-btn {
  padding: 14px 24px; background: none; border: none;
  color: var(--text-dim); font-size: .88rem; font-weight: 600;
  cursor: pointer; border-bottom: 2px solid transparent;
  transition: color var(--tr), border-color var(--tr);
  font-family: inherit;
}
.pdp-tab-btn:hover { color: var(--text); }
.pdp-tab-btn.active { color: var(--white); border-bottom-color: var(--white); }
.pdp-tab-content { display: none; padding: 28px; }
.pdp-tab-content.active { display: block; }
.pdp-description {
  font-size: .9rem; line-height: 1.8; color: var(--text-sub);
  white-space: pre-line;
}
.specs-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 12px 0; }
.specs-table td:first-child { color: var(--text-dim); width: 40%; }
.specs-table td:last-child { font-weight: 600; }

/* Cart Toast */
.cart-toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: #238636; color: #fff;
  padding: 10px 20px; border-radius: 99px;
  font-size: .85rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 999; white-space: nowrap;
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1024px){
  .prods-grid { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .catalog-wrap { grid-template-columns: 210px 1fr; }
  .prods-grid-cat { grid-template-columns: repeat(2,1fr); }
}

@media(max-width:768px){
  .nav-links { display:none; }
  .hamburger { display:flex; }

  .hero-inner { grid-template-columns:1fr; gap:36px; padding:52px 0; }
  .hero-card  { display:none; }

  .features-grid { grid-template-columns:1fr; }
  .cats-grid     { grid-template-columns:1fr; }
  .prods-grid    { grid-template-columns:repeat(2,1fr); }
  .testi-grid    { grid-template-columns:1fr; }

  .cta-banner { flex-direction:column; padding:36px 24px; }
  .about-grid { grid-template-columns:1fr; }

  .catalog-wrap { grid-template-columns:1fr; }
  .sidebar { position:static; }

  .form-wrap { grid-template-columns:1fr; }
  .fg-row    { grid-template-columns:1fr; }

  .footer-grid { grid-template-columns:1fr; }

  .site-footer { margin-top: 40px; }

  .pdp-grid { grid-template-columns:1fr; gap:28px; }
  .pdp-gallery { position:static; }
}

@media(max-width:480px){
  .prods-grid, .prods-grid-cat { grid-template-columns:1fr; }
  .hero-actions { flex-direction:column; }
  .cta-actions  { flex-direction:column; width:100%; }
  .cta-actions .btn-white, .cta-actions .btn-ghost { width:100%; }
  .pdp-guarantees { grid-template-columns:1fr; }
}
