/* Tech / تِك — a clean, light catalogue: search first, dense cards with specs, stock and warranty, electric blue for action. */
@import url("../_shared/common.css");

body { font-size: 15px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.005em; }
.btn { border-radius: var(--radius); }
.btn-accent:hover { filter: brightness(1.1); }

/* header: white bar, the search is the main tool */
.hdr { background: var(--c-surface); }
.hdr .brand { font-size: 1.25rem; }
.hdr .brand img { border-radius: 10px; }
.hdr-search input { background: var(--c-bg); border-color: var(--c-border); }
.hdr-search input:focus { border-color: var(--c-accent); outline: 0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.hdr .cat-nav { background: var(--c-surface); border-block-start: 1px solid var(--c-border); }
.hdr .cat-scroll { gap: 8px; padding-block: 8px; }
.hdr .cat-scroll a { padding: 3px 12px; border-radius: 999px; background: var(--c-bg); font-size: .86rem; }
.hdr .cat-scroll a:hover { background: var(--c-accent); color: var(--c-on-accent); text-decoration: none; }
.cart-link .cart-count { background: var(--c-accent); color: var(--c-on-accent); }

/* hero "split": copy + a framed product shot */
.hero-split .hero-in { padding-block: 18px 22px; }
.hero-split .hero-media { border-radius: var(--radius-lg); box-shadow: 0 12px 32px rgba(15, 23, 42, .12); }
.hero-split h1 { font-size: clamp(1.8rem, 7vw, 3rem); line-height: 1.3; }
.hero-split .eyebrow { display: inline-flex; padding: 2px 10px; border-radius: 999px; background: rgba(37, 99, 235, .1); color: #1d4ed8; }

/* perks band: three small proof points */
.perks-band { background: var(--c-surface); }
.perks .ico { color: var(--c-accent); }

/* category tiles */
.cats-tiles .cat { font-size: .86rem; line-height: 1.35; transition: border-color .15s; }
.cats-tiles .cat:hover { border-color: var(--c-accent); }
.cats-tiles .cat-pic { background: var(--c-bg); }
.section-title { font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--c-accent); }
.story-sec .section-title::before { display: none; }

/* dense cards */
.card-dense { background: var(--c-surface); border-color: var(--c-border); border-radius: var(--radius-lg); }
.card-dense:hover { border-color: #b6c3d6; }
.card-dense .card-media { background: #f4f7fb; }
.card-dense .card-body { padding: 10px 10px 12px; }
.card-dense .card-title { font-size: .88rem; font-weight: 500; line-height: 1.5; min-height: 2.6em; }
.card-dense .price-now { color: var(--c-text); font-size: 1.02rem; }
.card-tags { gap: 4px; margin-block-start: 6px; }
.tag { border-radius: 4px; font-size: .68rem; }
.tag-save { background: #fde8e8; border-color: #fde8e8; color: var(--c-sale); }
.tag-ok { background: #e7f6ec; border-color: #e7f6ec; }
.tag-last { background: #fff4e5; border-color: #fff4e5; color: #9a4a00; }
.tag-w { color: var(--c-muted); }
.badge { border-radius: 6px; font-size: .72rem; }

/* product page: spec table as a clean sheet */
.specs { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.specs tr:nth-child(odd) th, .specs tr:nth-child(odd) td { background: #f8fafc; }
.specs tr:last-child th, .specs tr:last-child td { border-block-end: 0; }
.gallery-main { background: #f4f7fb; border: 1px solid var(--c-border); }
.opt.is-on { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.summary, .site-footer { background: var(--c-surface); }
.cart-line { background: var(--c-surface); padding-inline: 12px; border: 1px solid var(--c-border); border-radius: var(--radius-lg); margin-block-end: 8px; }
.banner { border-radius: var(--radius-lg); }

@media (min-width: 720px) {
  .hero-split .hero-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); padding-block: 36px; }
  .section-title { font-size: 1.35rem; }
  .card-dense .card-title { font-size: .92rem; }
}
