*{box-sizing:border-box}
:root{
  --bg:#f6f7f9;
  --surface:#fff;
  --surface-2:#fbfbfc;
  --soft:#f2f4f7;
  --text:#101828;
  --muted:#667085;
  --line:#e4e7ec;
  --brand:#c99a35;
  --brand-strong:#9f7318;
  --success:#067647;
  --danger:#b42318;
  --shadow:0 18px 50px rgba(16,24,40,.08);
  --shadow-soft:0 10px 30px rgba(16,24,40,.06)
}
html[data-theme="dark"]{
  --bg:#0b1018;
  --surface:#111827;
  --surface-2:#0f1621;
  --soft:#182131;
  --text:#f8fafc;
  --muted:#a6afbd;
  --line:#293445;
  --brand:#d6ad51;
  --brand-strong:#f0c96c;
  --success:#47cd89;
  --danger:#f97066;
  --shadow:0 20px 54px rgba(0,0,0,.28);
  --shadow-soft:0 12px 30px rgba(0,0,0,.18)
}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
.seo-shell{width:min(1180px,calc(100% - 32px));margin:0 auto}

.seo-header{
  position:sticky;top:0;z-index:30;
  border-bottom:1px solid color-mix(in srgb,var(--line) 82%,transparent);
  background:color-mix(in srgb,var(--surface) 92%,transparent);
  backdrop-filter:blur(18px)
}
.seo-header-inner{min-height:72px;display:flex;align-items:center;gap:24px}
.seo-brand{display:flex;align-items:center;gap:11px;font-weight:850}
.seo-brand img{
  width:43px;height:43px;object-fit:contain;border-radius:13px;
  background:#fff;padding:3px;border:1px solid var(--line)
}
.seo-nav{display:flex;align-items:center;gap:18px;margin-left:auto;color:var(--muted);font-size:13px;font-weight:750}
.seo-nav a{transition:.18s ease}
.seo-nav a:hover{color:var(--text)}
.seo-theme-btn{
  width:42px;height:42px;border:1px solid var(--line);border-radius:13px;
  background:var(--surface);color:var(--text);font-size:18px;cursor:pointer
}

.seo-hero{
  padding:44px 0 34px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%,rgba(201,154,53,.14),transparent 28%),
    linear-gradient(180deg,var(--surface),var(--surface-2))
}
.seo-hero-panel{
  display:grid;
  grid-template-columns:1fr auto;
  gap:34px;
  align-items:center
}
.seo-hero-mark{
  width:108px;height:108px;
  display:grid;place-items:center;
  border:1px solid var(--line);
  border-radius:28px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  color:var(--brand-strong);
  font-size:38px;
  font-weight:900;
  letter-spacing:-.05em
}
.seo-hero-mark img{width:62px;height:62px;object-fit:contain}
.seo-breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:20px;color:var(--muted);font-size:12px}
.seo-breadcrumbs a:hover{color:var(--text)}
.seo-eyebrow{display:block;margin-bottom:8px;color:var(--brand-strong);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.seo-hero h1{max-width:880px;margin:0;font-size:clamp(34px,5.4vw,58px);line-height:1.03;letter-spacing:-.047em}
.seo-hero p{max-width:820px;margin:16px 0 0;color:var(--muted);font-size:15px;line-height:1.75}
.seo-hero-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.seo-hero-stats span{
  padding:9px 12px;border:1px solid var(--line);border-radius:999px;
  background:var(--surface);color:var(--muted);font-size:11px
}
.seo-hero-stats strong{color:var(--text)}

.seo-index-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:14px;
  margin-bottom:20px
}
.seo-index-toolbar h2{margin:0;font-size:26px;letter-spacing:-.03em}
.seo-search-box{
  width:min(340px,100%);
  display:flex;align-items:center;gap:9px;
  padding:0 13px;border:1px solid var(--line);border-radius:13px;
  background:var(--surface)
}
.seo-search-box span{color:var(--muted)}
.seo-search-box input{
  width:100%;height:43px;border:0;outline:0;background:transparent;color:var(--text)
}
.seo-search-box input::placeholder{color:var(--muted)}

.seo-content{padding:36px 0 72px}
.seo-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:20px}
.seo-section-head h2{margin:0;font-size:28px;letter-spacing:-.03em}
.seo-outline-btn{
  padding:10px 14px;border:1px solid var(--line);border-radius:11px;
  background:var(--surface);font-size:12px;font-weight:800
}

.seo-landing-link-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px
}
.seo-landing-link-card{
  position:relative;
  min-height:200px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding:18px;
  border:1px solid var(--line);
  border-radius:20px;
  background:
    radial-gradient(circle at 100% 0,rgba(201,154,53,.12),transparent 40%),
    var(--surface);
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease
}
.seo-landing-link-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--brand) 50%,var(--line));
  box-shadow:var(--shadow)
}
.seo-landing-icon{
  width:56px;height:56px;
  display:grid;place-items:center;
  margin-bottom:24px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--soft);
  color:var(--brand-strong);
  font-size:20px;
  font-weight:900
}
.seo-landing-icon img{width:34px;height:34px;object-fit:contain}
.seo-landing-link-card>span{
  color:var(--brand-strong);
  font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.14em
}
.seo-landing-link-card>strong{margin-top:7px;font-size:22px;letter-spacing:-.035em;line-height:1.15}
.seo-landing-link-card>small{margin-top:7px;color:var(--muted);font-size:11px;line-height:1.5}
.seo-landing-link-card>b{margin-top:auto;padding-top:19px;font-size:11px}
.seo-card-count{
  position:absolute;top:16px;right:16px;
  padding:6px 8px;border-radius:999px;background:var(--soft);
  color:var(--muted);font-size:9px;font-weight:850
}

.seo-chip-section{padding:18px 0;border-bottom:1px solid var(--line);background:var(--surface)}
.seo-chip-label{display:block;margin-bottom:9px;color:var(--muted);font-size:11px;font-weight:800}
.seo-chip-row{display:flex;gap:8px;flex-wrap:wrap}
.seo-chip-row a{
  padding:8px 11px;border:1px solid var(--line);border-radius:999px;
  background:var(--soft);font-size:11px;font-weight:800;
  transition:.18s ease
}
.seo-chip-row a:hover{border-color:var(--brand);color:var(--brand-strong)}

.seo-product-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px
}
.seo-product-card{
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease
}
.seo-product-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--brand) 40%,var(--line));
  box-shadow:var(--shadow)
}
.seo-product-image{
  position:relative;
  height:230px;
  display:grid;place-items:center;
  padding:18px;
  background:#fff
}
.seo-product-image img{
  width:100%;height:100%;object-fit:contain;
  transition:transform .22s ease
}
.seo-product-card:hover .seo-product-image img{transform:scale(1.025)}
.seo-product-body{padding:15px 15px 16px}
.seo-product-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:9px;font-weight:850}
.seo-product-meta>span:first-child{
  max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
.seo-product-meta .in-stock{
  padding:5px 7px;border-radius:999px;background:rgba(6,118,71,.09);color:var(--success)
}
.seo-product-meta .out-stock{
  padding:5px 7px;border-radius:999px;background:rgba(180,35,24,.09);color:var(--danger)
}
.seo-product-card h2{
  min-height:48px;margin:11px 0 12px;
  font-size:13px;line-height:1.55;letter-spacing:-.01em
}
.seo-product-card h2 a{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
}
.seo-product-card h2 a:hover{color:var(--brand-strong)}
.seo-price-row{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin-bottom:13px}
.seo-price-row strong{font-size:18px}
.seo-price-row del{color:var(--muted);font-size:11px}
.seo-product-link{
  width:100%;min-height:39px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--line);border-radius:11px;
  background:var(--soft);
  color:var(--text);font-size:10px;font-weight:900
}
.seo-product-link:hover{border-color:var(--brand);color:var(--brand-strong)}

.seo-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:28px}
.seo-pagination a,.seo-pagination span{
  padding:10px 13px;border:1px solid var(--line);border-radius:10px;
  background:var(--surface);font-size:12px;font-weight:800
}
.seo-pagination .disabled{opacity:.45}

.seo-footer{border-top:1px solid var(--line);background:var(--surface)}
.seo-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:28px 0}
.seo-footer p{margin:5px 0 0;color:var(--muted);font-size:12px}
.seo-footer-links{display:flex;gap:15px;flex-wrap:wrap;color:var(--muted);font-size:12px;font-weight:700}

@media(max-width:1040px){
  .seo-product-grid,.seo-landing-link-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .seo-nav{display:none}
  .seo-hero-panel{grid-template-columns:1fr}
  .seo-hero-mark{display:none}
  .seo-index-toolbar{align-items:stretch;flex-direction:column}
  .seo-search-box{width:100%}
  .seo-product-grid,.seo-landing-link-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .seo-product-image{height:180px}
  .seo-section-head{align-items:flex-start;flex-direction:column}
  .seo-footer-inner{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .seo-shell{width:min(100% - 20px,1180px)}
  .seo-header-inner{min-height:62px}
  .seo-brand span{font-size:12px}
  .seo-hero{padding:32px 0 28px}
  .seo-hero h1{font-size:34px}
  .seo-product-grid{gap:9px}
  .seo-product-image{height:145px;padding:10px}
  .seo-product-body{padding:11px}
  .seo-product-card h2{min-height:42px;font-size:11px}
  .seo-price-row strong{font-size:15px}
  .seo-product-link{min-height:36px}
  .seo-landing-link-grid{grid-template-columns:1fr}
  .seo-landing-link-card{min-height:175px}
}


/* v3: real brand logos + larger visual marks */
.seo-hero-mark{width:132px;height:132px;border-radius:30px;padding:7px;background:#fff;overflow:hidden}
.seo-hero-mark-logo img{width:118px;height:118px;max-width:none;max-height:none;object-fit:contain;display:block}
.seo-hero-mark-brand img{width:108px;height:108px;max-width:108px;max-height:108px;object-fit:contain;display:block}
.seo-landing-icon{width:70px;height:70px;border-radius:18px;padding:7px;background:#fff}
.seo-landing-icon img{width:100%;height:100%;max-width:56px;max-height:56px;object-fit:contain;object-position:center;display:block}
.seo-brand-icon{width:82px;height:70px;padding:8px 10px}
.seo-brand-icon img{max-width:62px;max-height:52px}
html[data-theme="dark"] .seo-landing-icon,html[data-theme="dark"] .seo-hero-mark{background:#fff}
@media(max-width:760px){.seo-hero-mark{display:none}.seo-landing-icon{width:64px;height:64px}.seo-landing-icon img{max-width:52px;max-height:52px}.seo-brand-icon{width:76px;height:64px}.seo-brand-icon img{max-width:58px;max-height:48px}}


/* =========================================================
   v4 — Category / Brand product-grid layout fix
   ========================================================= */
html,body{
  max-width:100%;
  overflow-x:hidden;
}

.seo-content .seo-shell{
  min-width:0;
}

.seo-section-head{
  width:100%;
  min-width:0;
  flex-wrap:wrap;
}

.seo-section-head>div{
  min-width:0;
}

.seo-section-head .seo-outline-btn{
  flex:0 0 auto;
  max-width:100%;
  white-space:nowrap;
}

/* Default: up to 4 cards. */
.seo-product-grid{
  width:100%;
  min-width:0;
  align-items:stretch;
}

/* If the category only has 3 items, use the whole row instead of
   leaving a visually empty fourth slot. */
.seo-product-grid-count-3{
  grid-template-columns:repeat(3,minmax(0,1fr));
}

/* Avoid oversized cards when only 1–2 products are present. */
.seo-product-grid-count-2{
  grid-template-columns:repeat(2,minmax(260px,360px));
  justify-content:start;
}

.seo-product-grid-count-1{
  grid-template-columns:minmax(260px,360px);
  justify-content:start;
}

.seo-product-card{
  height:100%;
  display:flex;
  flex-direction:column;
}

.seo-product-image{
  width:100%;
  height:auto;
  aspect-ratio:1.18 / 1;
  min-height:220px;
  max-height:310px;
  padding:20px;
}

.seo-product-image img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
}

.seo-product-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  min-width:0;
  padding:16px 16px 17px;
}

.seo-product-meta{
  min-width:0;
}

.seo-product-meta>span{
  min-width:0;
}

.seo-product-card h2{
  min-height:45px;
  margin:12px 0 10px;
  font-size:14px;
  line-height:1.48;
}

.seo-product-card h2 a{
  overflow-wrap:anywhere;
  word-break:normal;
}

.seo-price-row{
  margin-top:auto;
  padding-top:4px;
}

.seo-product-link{
  margin-top:0;
}

/* 3-item desktop rows should feel balanced and readable. */
.seo-product-grid-count-3 .seo-product-image{
  aspect-ratio:1.32 / 1;
  max-height:300px;
}

.seo-product-grid-count-3 .seo-product-card h2{
  font-size:15px;
}

/* Tablet */
@media(max-width:1040px){
  .seo-product-grid,
  .seo-product-grid-count-3,
  .seo-product-grid-count-4{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .seo-product-grid-count-2{
    grid-template-columns:repeat(2,minmax(240px,1fr));
  }

  .seo-product-image{
    min-height:190px;
  }
}

/* Mobile/tablet */
@media(max-width:760px){
  .seo-product-grid,
  .seo-product-grid-count-3,
  .seo-product-grid-count-4,
  .seo-product-grid-count-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .seo-product-grid-count-1{
    grid-template-columns:minmax(0,1fr);
  }

  .seo-product-image,
  .seo-product-grid-count-3 .seo-product-image{
    aspect-ratio:1 / 1;
    min-height:0;
    max-height:none;
    padding:13px;
  }

  .seo-product-card h2,
  .seo-product-grid-count-3 .seo-product-card h2{
    min-height:42px;
    font-size:12px;
  }

  .seo-product-body{
    padding:12px;
  }
}

/* Small phones: one clean card per row.
   This prevents product name / price / stock from feeling cramped. */
@media(max-width:470px){
  .seo-product-grid,
  .seo-product-grid-count-4,
  .seo-product-grid-count-3,
  .seo-product-grid-count-2,
  .seo-product-grid-count-1{
    grid-template-columns:1fr;
  }

  .seo-product-image{
    aspect-ratio:1.35 / 1;
    min-height:220px;
  }

  .seo-product-card h2,
  .seo-product-grid-count-3 .seo-product-card h2{
    min-height:0;
    font-size:14px;
  }

  .seo-price-row strong{
    font-size:18px;
  }
}


/* =========================================================
   v5 — Stronger fix for category/brand product card sizing
   ========================================================= */
.seo-product-grid,
.seo-product-grid-count-4,
.seo-product-grid-count-3,
.seo-product-grid-count-2,
.seo-product-grid-count-1{
  align-items:stretch;
}

.seo-product-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  overflow:hidden;
}

/* Keep product visual area controlled so products never look oversized */
.seo-product-image,
.seo-product-grid-count-3 .seo-product-image,
.seo-product-grid-count-2 .seo-product-image,
.seo-product-grid-count-1 .seo-product-image{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:260px;
  min-height:260px;
  max-height:260px;
  aspect-ratio:auto;
  overflow:hidden;
  padding:18px;
  background:#fff;
}

.seo-product-image img,
.seo-product-grid-count-3 .seo-product-image img,
.seo-product-grid-count-2 .seo-product-image img,
.seo-product-grid-count-1 .seo-product-image img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  margin:auto;
}

.seo-product-body{
  flex:1 1 auto;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}

.seo-product-card h2,
.seo-product-grid-count-3 .seo-product-card h2{
  min-height:48px;
  max-height:none;
  margin:10px 0 10px;
}

.seo-price-row{
  margin-top:auto;
  margin-bottom:12px;
}

.seo-product-link{
  margin-top:0;
}

@media (max-width:1040px){
  .seo-product-image,
  .seo-product-grid-count-3 .seo-product-image,
  .seo-product-grid-count-2 .seo-product-image,
  .seo-product-grid-count-1 .seo-product-image{
    height:220px;
    min-height:220px;
    max-height:220px;
  }
}

@media (max-width:760px){
  .seo-product-image,
  .seo-product-grid-count-3 .seo-product-image,
  .seo-product-grid-count-2 .seo-product-image,
  .seo-product-grid-count-1 .seo-product-image{
    height:190px;
    min-height:190px;
    max-height:190px;
    padding:14px;
  }
}

@media (max-width:470px){
  .seo-product-image,
  .seo-product-grid-count-3 .seo-product-image,
  .seo-product-grid-count-2 .seo-product-image,
  .seo-product-grid-count-1 .seo-product-image{
    height:210px;
    min-height:210px;
    max-height:210px;
    padding:16px;
  }
}


/* =========================================================
   Computer category — Gaming / Office split
   ========================================================= */
.computer-usage-section{
  padding:30px 0 8px;
  background:var(--bg);
}

.computer-usage-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:16px;
}

.computer-usage-heading h2{
  margin:0;
  font-size:clamp(24px,3vw,31px);
  letter-spacing:-.035em;
}

.computer-usage-heading p{
  max-width:720px;
  margin:7px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
}

.computer-usage-all{
  flex:0 0 auto;
  padding:10px 13px;
  border:1px solid var(--line);
  border-radius:11px;
  background:var(--surface);
  font-size:11px;
  font-weight:850;
}

.computer-usage-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.computer-usage-card{
  position:relative;
  min-width:0;
  min-height:180px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
  padding:22px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:20px;
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.computer-usage-card:hover,
.computer-usage-card.active{
  transform:translateY(-2px);
  border-color:color-mix(in srgb,var(--brand) 58%,var(--line));
  box-shadow:var(--shadow);
}

.computer-usage-card.gaming{
  background:
    radial-gradient(circle at 100% 0,rgba(201,154,53,.17),transparent 42%),
    var(--surface);
}

.computer-usage-card.office{
  background:
    radial-gradient(circle at 100% 0,rgba(59,130,246,.11),transparent 42%),
    var(--surface);
}

.computer-usage-icon{
  width:68px;
  height:68px;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:18px;
  background:var(--soft);
  color:var(--brand-strong);
}

.computer-usage-card.office .computer-usage-icon{
  color:#3569a8;
}

html[data-theme="dark"] .computer-usage-card.office .computer-usage-icon{
  color:#8bbaf4;
}

.computer-usage-icon svg{
  width:36px;
  height:36px;
}

.computer-usage-copy{
  min-width:0;
}

.computer-usage-copy>span{
  display:block;
  margin-bottom:5px;
  color:var(--brand-strong);
  font-size:9px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.computer-usage-card.office .computer-usage-copy>span{
  color:#3569a8;
}

html[data-theme="dark"] .computer-usage-card.office .computer-usage-copy>span{
  color:#8bbaf4;
}

.computer-usage-copy strong{
  display:block;
  font-size:20px;
  letter-spacing:-.025em;
}

.computer-usage-copy p{
  margin:7px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.55;
}

.computer-usage-count{
  position:absolute;
  top:14px;
  right:14px;
  padding:6px 8px;
  border-radius:999px;
  background:var(--soft);
  color:var(--muted);
  font-size:9px;
  font-weight:850;
}

.computer-usage-card>b{
  align-self:end;
  color:var(--text);
  font-size:11px;
  white-space:nowrap;
}

@media(max-width:760px){
  .computer-usage-heading{
    align-items:flex-start;
    flex-direction:column;
  }

  .computer-usage-grid{
    grid-template-columns:1fr;
  }

  .computer-usage-card{
    min-height:150px;
    padding:18px;
  }
}

@media(max-width:470px){
  .computer-usage-card{
    grid-template-columns:auto minmax(0,1fr);
    gap:13px;
  }

  .computer-usage-icon{
    width:56px;
    height:56px;
    border-radius:15px;
  }

  .computer-usage-icon svg{
    width:30px;
    height:30px;
  }

  .computer-usage-copy strong{
    font-size:17px;
  }

  .computer-usage-card>b{
    grid-column:2;
  }

  .computer-usage-count{
    position:static;
    grid-column:2;
    width:max-content;
    margin-top:-4px;
  }
}


/* =========================================================
   v7 — Categories showcase: approved mockup design
   ========================================================= */
.categories-showcase-page{
  background:#f7f8fa;
}

html[data-theme="dark"] .categories-showcase-page{
  background:var(--bg);
}

.categories-showcase{
  padding:26px 0 74px;
}

.seo-categories-shell{
  width:min(1500px,calc(100% - 34px));
}

.categories-breadcrumbs{
  margin:0 0 17px;
}

.categories-showcase-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}

.categories-showcase-head h1{
  margin:0;
  font-size:clamp(29px,3.4vw,42px);
  letter-spacing:-.045em;
}

.categories-summary{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.categories-summary span{
  padding:8px 11px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--surface);
  color:var(--muted);
  font-size:10px;
  font-weight:800;
}

.categories-summary strong{
  color:var(--text);
}

.categories-showcase-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
  align-items:stretch;
}

.category-showcase-card{
  position:relative;
  min-width:0;
  min-height:375px;
  display:flex;
  flex-direction:column;
  padding:20px 20px 18px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(201,154,53,.10),
      transparent 34%
    ),
    var(--surface);
  box-shadow:var(--shadow-soft);
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}

.category-showcase-card:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--brand) 44%,var(--line));
  box-shadow:var(--shadow);
}

.category-showcase-count{
  position:absolute;
  top:17px;
  right:17px;
  z-index:2;
  padding:7px 9px;
  border-radius:999px;
  background:#fffaf0;
  color:#a66f00;
  font-size:9px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}

html[data-theme="dark"] .category-showcase-count{
  background:#272113;
  color:#efc45e;
}

.category-showcase-visual{
  width:126px;
  height:126px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:20px;
  overflow:hidden;
  border-radius:19px;
}

.category-showcase-visual img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

.category-showcase-card-aksesuar .category-showcase-visual{
  width:178px;
}

.category-showcase-copy{
  min-width:0;
}

.category-showcase-eyebrow{
  display:block;
  margin-bottom:8px;
  color:#b27a00;
  font-size:9px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

html[data-theme="dark"] .category-showcase-eyebrow{
  color:#efc45e;
}

.category-showcase-card h2{
  margin:0;
  color:var(--text);
  font-size:clamp(20px,1.55vw,27px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.category-showcase-card p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:11px;
  line-height:1.55;
}

.category-showcase-link{
  margin-top:auto;
  padding-top:19px;
  color:var(--text);
  font-size:11px;
  font-weight:900;
}

.category-showcase-card:hover .category-showcase-link{
  color:var(--brand-strong);
}

/* Category detail hero uses the same real visual artwork. */
.seo-hero-mark img{
  width:100%;
  height:100%;
  max-width:118px;
  max-height:118px;
  object-fit:contain;
  border-radius:22px;
}

/* Wide desktop: mirror the approved 5-card row. */
@media(max-width:1320px){
  .categories-showcase-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:900px){
  .seo-categories-shell{
    width:min(100% - 24px,1500px);
  }

  .categories-showcase-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .categories-showcase-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .categories-summary{
    justify-content:flex-start;
  }
}

@media(max-width:560px){
  .categories-showcase{
    padding-top:19px;
  }

  .categories-showcase-grid{
    grid-template-columns:1fr;
  }

  .category-showcase-card{
    min-height:330px;
    padding:17px;
  }

  .category-showcase-visual{
    width:116px;
    height:116px;
  }

  .category-showcase-card-aksesuar .category-showcase-visual{
    width:165px;
  }

  .category-showcase-card h2{
    font-size:24px;
  }

  .category-showcase-card p{
    font-size:12px;
  }
}

/* Saatlar: match the dark themed category art on categories.php. */
html[data-theme="dark"] .category-showcase-card-saatlar .category-showcase-visual img{
  content:url("/assets/category-images-dark/saatlar.png?v=20261010");
}


/* MGBaku: /categories.php Saatlar photo always light/white in BOTH themes.
   Only Saatlar changes here; remaining categories are untouched. */
html .categories-showcase-grid .category-showcase-card-saatlar .category-showcase-visual {
  background: #ffffff !important;
}
html .categories-showcase-grid .category-showcase-card-saatlar .category-showcase-visual img {
  content: url("/assets/category-images/saatlar.png?v=20261010-categories-always-light-2") !important;
  background: #ffffff !important;
  border: 0 !important;
}


/* Planşetlər: kateqoriyalar səhifəsində light və dark rejimdə ağ fonlu görünsün. */
html .categories-showcase-grid .category-showcase-card-plansetler .category-showcase-visual {
  background:#ffffff !important;
}
html .categories-showcase-grid .category-showcase-card-plansetler .category-showcase-visual img {
  content:url("/assets/category-images/planset.webp?v=20261010-planset-light-1") !important;
  background:#ffffff !important;
  border:0 !important;
}

/* Mgbaku SEO phase 1: readable category advice and discoverable internal links. */
.mgb-seo-advice{padding:12px 0 44px;background:var(--bg)}
.mgb-seo-advice-inner{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,.85fr);gap:28px;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:26px}
.mgb-seo-advice h2{font-size:clamp(19px,2.6vw,27px);margin:9px 0 12px;line-height:1.25;color:var(--text)}
.mgb-seo-advice p,.mgb-seo-advice li{font-size:14px;line-height:1.8;color:var(--muted)}
.mgb-seo-advice ul{margin:10px 0 0;padding-left:20px}
.mgb-seo-related-categories{display:flex;flex-direction:column;gap:9px;min-width:0;border-left:1px solid var(--line);padding-left:22px}
.mgb-seo-related-categories strong{font-size:13px;color:var(--text);margin-bottom:2px}
.mgb-seo-related-categories a{color:var(--text);text-decoration:none;font-size:13px;padding:5px 0}
.mgb-seo-related-categories a:hover{text-decoration:underline;color:var(--brand-strong)}
.seo-chip-row a[aria-current="page"]{border-color:var(--brand);background:var(--soft);font-weight:700}
@media(max-width:760px){.mgb-seo-advice-inner{grid-template-columns:1fr;gap:18px;padding:20px}.mgb-seo-related-categories{border-left:0;border-top:1px solid var(--line);padding:15px 0 0}}
