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

:root {
  --primary: #0057FF;
  --primary-dark: #0047D8;
  --dark: #071225;
  --muted: #5F6B7A;
  --light-bg: #F3F8FF;
  --card-bg: #FFFFFF;
  --card-soft: #F8FBFF;
  --border: #E2E8F0;
  --footer: #062345;
  --white: #FFFFFF;
  --green: #16A34A;
  --green-light: #DCFCE7;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(7, 18, 37, 0.06);
  --shadow-md: 0 12px 30px rgba(7, 18, 37, 0.08);
  --transition: 0.2s ease;
  --max-width: 1180px;
  --header-height: 180px;
  /* Legacy aliases */
  --primary-light: #E8F0FF;
  --text-dark: var(--dark);
  --text-gray: var(--muted);
  --bg-light: var(--light-bg);
  --footer-bg: var(--footer);
  --shadow: var(--shadow-md);
  --radius: var(--radius-md);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; font-weight: 700; color: var(--text-dark); }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.5rem); }
p { color: var(--text-gray); }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 70px 0; }
.section--light { background: var(--light-bg); }
.section--dark { background: var(--footer-bg); color: var(--white); }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__header p { max-width: 600px; margin: 0.75rem auto 0; font-size: 1.125rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 10px 18px; font-family: inherit; font-size: 13px; font-weight: 600;
  border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer;
  transition: all var(--transition); text-decoration: none; white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn--outline { background: var(--white); color: var(--dark); border-color: #CBD5E1; }
.btn--outline:hover { border-color: var(--primary); color: var(--primary); background: var(--light-bg); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: var(--bg-light); color: var(--primary-dark); }
.btn--ghost { background: transparent; color: var(--text-dark); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Site header (3-tier layout) ── */
.site-header {
  position: sticky; top: 0; z-index: 1000; background: var(--white);
  box-shadow: var(--shadow-sm);
}

/* Tier 1: Trust/announcement bar */
.header-topbar {
  background: var(--footer); color: var(--white);
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
}
.header-topbar.hidden { display: none; }
.header-topbar__inner {
  display: flex; align-items: center; justify-content: center;
  position: relative; min-height: 32px; padding: 0.375rem 2.5rem;
}
.header-topbar__trust {
  display: flex; align-items: center; gap: 0.5rem;
}
.header-topbar__stars { display: flex; gap: 2px; color: #FBBF24; }
.icon--star { color: #FBBF24; }
.header-topbar__close {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: var(--white); cursor: pointer;
  padding: 0.25rem; display: flex; opacity: 0.8;
}
.header-topbar__close:hover { opacity: 1; }

/* Tier 2: Utility header */
.header-utility { background: var(--white); border-bottom: 1px solid var(--border); }
.header-utility__meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.375rem 0; font-size: 12px; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.header-utility__contacts { display: flex; align-items: center; gap: 1.25rem; }
.header-utility__contact {
  display: flex; align-items: center; gap: 0.375rem;
  color: var(--muted); text-decoration: none; font-size: 12px;
}
.header-utility__contact:hover { color: var(--primary); }
.header-utility__contact .icon { color: var(--muted); }
.header-utility__business { color: var(--muted); font-size: 12px; text-decoration: none; }
.header-utility__business:hover { color: var(--primary); }

.header-utility__main {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 0.875rem 0;
}
.header__logo img, .header__logo svg { height: 40px; width: auto; flex-shrink: 0; }

.header-search {
  flex: 1; display: flex; align-items: stretch;
  max-width: 560px; background: #F1F5F9; border-radius: var(--radius-sm);
  overflow: hidden; border: 1px solid var(--border);
}
.header-search input {
  flex: 1; border: none; background: transparent; padding: 0.75rem 1rem;
  font-family: inherit; font-size: 14px; color: var(--dark); min-width: 0;
}
.header-search input:focus { outline: none; }
.header-search input::placeholder { color: #94A3B8; }
.header-search__btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; background: var(--primary); border: none; cursor: pointer;
  color: var(--white); flex-shrink: 0; transition: background var(--transition);
}
.header-search__btn:hover { background: var(--primary-dark); }
.header-search__btn .icon { color: var(--white); }

.header-utility__actions { display: flex; align-items: center; gap: 1.25rem; flex-shrink: 0; }
.header-cart {
  display: flex; align-items: center; gap: 0.5rem;
  text-decoration: none; color: var(--dark); position: relative;
}
.header-cart:hover { color: var(--primary); }
.header-cart__icon-wrap { position: relative; display: flex; }
.header-cart__badge {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px;
  background: var(--primary); color: var(--white); font-size: 10px; font-weight: 700;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.header-cart__badge:empty, .header-cart__badge[data-count="0"] { display: none; }
.header-cart__label { font-size: 13px; font-weight: 500; }

.header-action {
  position: relative; display: flex; align-items: center; gap: 0.375rem;
  text-decoration: none; color: var(--dark); font-size: 13px; font-weight: 500;
}
.header-action:hover { color: var(--primary); }
.header-login span { white-space: nowrap; }
.icon--dark { color: var(--dark); stroke: currentColor; }

.header__badge {
  position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 3px;
  background: var(--primary); color: var(--white); font-size: 10px; font-weight: 700;
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
}
.header__badge:empty, .header__badge[data-count="0"] { display: none; }

.header__burger {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 8px;
}
.header__burger span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 1px; transition: all var(--transition); }
.header__burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.header__burger.active span:nth-child(2) { opacity: 0; }
.header__burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Tier 3: Navigation bar */
.header-navbar { background: var(--primary); }
.header-navbar__inner {
  display: flex; align-items: stretch; min-height: 44px;
}
.header-categories {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 1.25rem; color: var(--white); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  border-right: 1px solid rgba(255,255,255,0.25); white-space: nowrap;
  transition: background var(--transition);
}
.header-categories:hover { background: var(--primary-dark); color: var(--white); }
.header-categories .icon { color: var(--white); }
.header-categories__chevron { opacity: 0.8; }

.header-navbar__nav {
  display: flex; align-items: center; gap: 0; flex: 1; padding: 0 0.5rem;
}
.header-navbar__link {
  padding: 0 1rem; color: var(--white); text-decoration: none;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  display: flex; align-items: center; height: 100%;
  transition: background var(--transition); white-space: nowrap;
}
.header-navbar__link:hover, .header-navbar__link.active {
  background: rgba(255,255,255,0.12); color: var(--white);
}

.header-navbar__icons {
  display: flex; align-items: center; gap: 0.25rem;
  padding: 0 0.5rem; margin-left: auto;
}
.header-navbar__icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; color: var(--white); border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.header-navbar__icon:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.header-navbar__icon .icon { color: var(--white); }

/* Legacy header class fallback */
.header { position: sticky; top: 0; z-index: 1000; }

.mobile-nav {
  display: none; position: fixed; top: var(--header-height); left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999; padding: 1.5rem; overflow-y: auto;
  transform: translateX(100%); transition: transform 0.3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__link { display: block; padding: 1rem 0; font-size: 1.125rem; font-weight: 500; color: var(--dark); border-bottom: 1px solid var(--border); }

.hero {
  background: linear-gradient(135deg, #F3F8FF 0%, #FFFFFF 100%);
  color: var(--dark); padding: 70px 0; position: relative; overflow: hidden;
}
.hero--blue {
  background: var(--primary); color: var(--white);
}
.hero--blue .hero__content h1, .hero--blue .hero__content p { color: var(--white); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; position: relative; }
.hero__content h1 { color: var(--dark); margin-bottom: 1.25rem; font-weight: 800; }
.hero__content p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 2rem; max-width: 520px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__visual { display: flex; align-items: center; justify-content: center; }
.hero__card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center; width: 100%; max-width: 400px;
  box-shadow: var(--shadow-md);
}
.hero__card-icon { margin-bottom: 1rem; display: flex; justify-content: center; color: var(--primary); }
.hero__card h3 { color: var(--dark); margin-bottom: 0.5rem; }
.hero__card p { color: var(--muted); font-size: 0.9375rem; }
.hero__illustration {
  width: 100%; max-width: 420px; aspect-ratio: 4/3; background: var(--light-bg);
  border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex;
  align-items: center; justify-content: center; color: var(--primary); box-shadow: var(--shadow-sm);
}

.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.trust-bar__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trust-bar__item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; color: var(--dark); }
.trust-bar__icon { color: var(--primary); flex-shrink: 0; display: flex; }
.trust-bar__title { font-weight: 600; display: block; margin-bottom: 0.125rem; }
.trust-bar__text { font-size: 0.8125rem; color: var(--muted); }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.category-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; padding: 1.5rem;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  text-align: left; transition: all var(--transition); cursor: pointer; text-decoration: none; color: var(--dark);
  box-shadow: var(--shadow-sm);
}
.category-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.category-card__icon { color: var(--primary); display: flex; }
.category-card__name { font-size: 0.9375rem; font-weight: 600; }
.category-card__desc { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card__image { position: relative; aspect-ratio: 4/3; background: var(--bg-light); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card__img, .product-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.5rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
}
.product-card__badges { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; flex-direction: column; gap: 0.375rem; }
.product-card__wishlist {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 36px; height: 36px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all var(--transition); font-size: 1.125rem;
}
.product-card__wishlist:hover, .product-card__wishlist.active { background: #FEE2E2; border-color: #EF4444; color: #EF4444; }
.product-card__wishlist.active .icon { color: #EF4444; }
.co2-badge { display: inline-flex; align-items: center; gap: 0.5rem; }
.info-box__title { display: flex; align-items: center; gap: 0.5rem; }
.empty-state__icon { display: flex; justify-content: center; color: var(--primary); opacity: 0.6; }
.product-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card__brand { font-size: 0.75rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.product-card__title { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-dark); }
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--primary); }
.product-card__specs { font-size: 0.8125rem; color: var(--text-gray); margin-bottom: 0.75rem; }
.product-card__footer { margin-top: auto; }
.product-card__price-row { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.75rem; }
.product-card__price { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); }
.product-card__original { font-size: 0.875rem; color: var(--text-gray); text-decoration: line-through; }
.product-card__actions { display: flex; gap: 0.5rem; }

.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.625rem; font-size: 0.6875rem; font-weight: 600; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge--stand-a { background: var(--green-light); color: #15803D; }
.badge--stand-b { background: #FEF3C7; color: #B45309; }
.badge--stand-c { background: #FEE2E2; color: #B91C1C; }
.badge--warranty { background: var(--primary-light); color: var(--primary); }
.badge--stock { background: var(--green-light); color: #15803D; }
.badge--low-stock { background: #FEF3C7; color: #B45309; }
.badge--out-of-stock { background: #FEE2E2; color: #B91C1C; }
.badge--sale { background: var(--primary); color: var(--white); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item__number { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.stat-item__label { font-size: 0.9375rem; color: var(--text-gray); }
.stats-bar { background: var(--primary); padding: 3.5rem 0; color: var(--white); }
.stats-bar .stat-item__number { color: var(--white); font-weight: 800; }
.stats-bar .stat-item__label { color: rgba(255,255,255,0.85); }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 2rem; text-align: center; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.feature-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; color: var(--primary); margin: 0 auto 1.25rem; }
.feature-card h3 { margin-bottom: 0.75rem; font-size: 1.0625rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.review-card__stars { color: #FBBF24; margin-bottom: 0.75rem; font-size: 1rem; }
.review-card__text { font-style: italic; margin-bottom: 1rem; color: var(--text-dark); font-size: 0.9375rem; }
.review-card__author { font-weight: 600; font-size: 0.875rem; }
.review-card__product { font-size: 0.8125rem; color: var(--text-gray); }

.newsletter { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 4rem 0; text-align: center; color: var(--white); }
.newsletter h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter__form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter__form input { flex: 1; padding: 0.875rem 1.25rem; border: none; border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9375rem; }
.newsletter__form input:focus { outline: 2px solid var(--white); }

.footer { background: var(--footer); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer__brand p { color: rgba(255,255,255,0.65); margin-top: 1rem; font-size: 0.875rem; max-width: 300px; line-height: 1.6; }
.footer__logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 1.25rem; font-weight: 600; }
.footer__links li { margin-bottom: 0.625rem; }
.footer__links a { color: rgba(255,255,255,0.75); font-size: 0.875rem; }
.footer__links a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.8125rem; }
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { color: rgba(255,255,255,0.65); font-size: 0.8125rem; }
.footer__bottom-links a:hover { color: var(--white); }

.page-header { background: var(--bg-light); padding: 3rem 0; border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 0.5rem; }
.breadcrumb { display: flex; gap: 0.5rem; font-size: 0.875rem; color: var(--text-gray); margin-bottom: 1rem; }
.breadcrumb a { color: var(--text-gray); }
.breadcrumb a:hover { color: var(--primary); }

.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; padding: 2rem 0 4rem; }
.filters { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; height: fit-content; position: sticky; top: calc(var(--header-height) + 1rem); }
.filters__group { margin-bottom: 1.5rem; }
.filters__title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-dark); }
.filters__option { display: flex; align-items: center; gap: 0.5rem; padding: 0.375rem 0; font-size: 0.875rem; color: var(--text-gray); cursor: pointer; }
.filters__option input { accent-color: var(--primary); }
.filters__clear { width: 100%; margin-top: 1rem; padding: 0.5rem; background: none; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.8125rem; cursor: pointer; color: var(--text-gray); }
.filters__clear:hover { border-color: var(--primary); color: var(--primary); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; flex-wrap: wrap; gap: 1rem; }
.shop-toolbar__count { font-size: 0.875rem; color: var(--text-gray); }
.shop-toolbar__sort select { padding: 0.5rem 2rem 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.875rem; background: var(--white); cursor: pointer; }
.filter-toggle { display: none; }
.filter-drawer-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; }
.filter-drawer { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 90vw; background: var(--white); z-index: 1002; padding: 1.5rem; overflow-y: auto; transform: translateX(-100%); transition: transform 0.3s ease; }
.filter-drawer.open { transform: translateX(0); }
.filter-drawer__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.filter-drawer__close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-gray); }
.load-more { text-align: center; margin-top: 2rem; }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0 4rem; }
.product-gallery__main { aspect-ratio: 4/3; background: var(--bg-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; border: 1px solid var(--border); overflow: hidden; }
.product-gallery__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.product-gallery__thumbs { display: flex; gap: 0.75rem; }
.product-gallery__thumb { width: 72px; height: 72px; border: 2px solid var(--border); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: pointer; background: var(--bg-light); }
.product-gallery__thumb.active { border-color: var(--primary); }
.product-info__brand { font-size: 0.8125rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.05em; }
.product-info__title { margin: 0.5rem 0 1rem; }
.product-info__price-row { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 1rem; }
.product-info__price { font-size: 2rem; font-weight: 800; }
.product-info__original { font-size: 1.125rem; color: var(--text-gray); text-decoration: line-through; }
.product-info__savings { font-size: 0.875rem; color: var(--green); font-weight: 600; }
.product-info__badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.product-info__specs li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9375rem; display: flex; justify-content: space-between; }
.product-info__specs li span:first-child { color: var(--text-gray); }
.product-info__actions { display: flex; gap: 0.75rem; margin-bottom: 2rem; flex-wrap: wrap; }
.info-box { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; }
.info-box__title { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.info-box p { font-size: 0.875rem; }
.co2-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--green-light); color: #15803D; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; margin-bottom: 1.5rem; }

.tabs { margin-top: 3rem; }
.tabs__nav { display: flex; border-bottom: 2px solid var(--border); gap: 0; overflow-x: auto; }
.tabs__btn { padding: 1rem 1.5rem; background: none; border: none; font-family: inherit; font-size: 0.9375rem; font-weight: 500; color: var(--text-gray); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; white-space: nowrap; transition: all var(--transition); }
.tabs__btn:hover { color: var(--primary); }
.tabs__btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tabs__panel { padding: 2rem 0; display: none; }
.tabs__panel.active { display: block; }
.tabs__panel p { margin-bottom: 1rem; }
.tabs__panel ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.tabs__panel li { color: var(--text-gray); margin-bottom: 0.5rem; }

.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; padding: 2rem 0 4rem; }
.cart-item { display: flex; gap: 1.25rem; padding: 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; }
.cart-item__image { width: 100px; height: 80px; background: var(--bg-light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 2rem; flex-shrink: 0; }
.cart-item__info { flex: 1; }
.cart-item__title { font-weight: 600; margin-bottom: 0.25rem; }
.cart-item__specs { font-size: 0.8125rem; color: var(--text-gray); margin-bottom: 0.5rem; }
.cart-item__price { font-weight: 700; }
.cart-item__actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-control button { width: 32px; height: 32px; background: var(--bg-light); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.qty-control button:hover { background: var(--primary-light); }
.qty-control span { width: 36px; text-align: center; font-size: 0.875rem; font-weight: 600; }
.cart-item__remove { background: none; border: none; color: var(--text-gray); font-size: 0.8125rem; cursor: pointer; text-decoration: underline; }
.cart-item__remove:hover { color: #EF4444; }
.cart-summary { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; height: fit-content; position: sticky; top: calc(var(--header-height) + 1rem); }
.cart-summary h3 { margin-bottom: 1.25rem; font-size: 1.125rem; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9375rem; }
.cart-summary__row--total { border-top: 2px solid var(--border); margin-top: 0.75rem; padding-top: 1rem; font-weight: 700; font-size: 1.125rem; }
.cart-summary__discount { color: var(--green); }
.promo-code { display: flex; gap: 0.5rem; margin: 1rem 0; }
.promo-code input { flex: 1; padding: 0.625rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.875rem; }
.promo-code__msg { font-size: 0.8125rem; margin-top: 0.25rem; }
.promo-code__msg--success { color: var(--green); }
.promo-code__msg--error { color: #EF4444; }
.empty-state { text-align: center; padding: 4rem 2rem; }
.empty-state__icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.5; display: flex; justify-content: center; color: var(--primary); }
.empty-state h2 { margin-bottom: 0.75rem; }
.empty-state p { margin-bottom: 2rem; }

.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; padding: 2rem 0 4rem; }
.checkout-form section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.checkout-form h3 { margin-bottom: 1.25rem; font-size: 1.125rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; color: var(--text-dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: 0.9375rem; transition: border-color var(--transition); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #EF4444; }
.form-group .error-msg { color: #EF4444; font-size: 0.8125rem; margin-top: 0.25rem; display: none; }
.form-group.has-error .error-msg { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.radio-group { display: flex; flex-direction: column; gap: 0.75rem; }
.radio-option { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition); }
.radio-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.radio-option input { accent-color: var(--primary); }
.radio-option__info { flex: 1; }
.radio-option__title { font-weight: 600; font-size: 0.9375rem; }
.radio-option__desc { font-size: 0.8125rem; color: var(--text-gray); }
.radio-option__price { font-weight: 600; color: var(--text-dark); }

.thank-you { text-align: center; padding: 5rem 0; max-width: 600px; margin: 0 auto; }
.thank-you__icon { width: 80px; height: 80px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.thank-you__order { background: var(--bg-light); border-radius: var(--radius); padding: 1.5rem; margin: 2rem 0; text-align: left; }
.thank-you__order-row { display: flex; justify-content: space-between; padding: 0.5rem 0; font-size: 0.9375rem; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin: 3rem 0; }
.process-step { text-align: center; padding: 2rem 1.25rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.process-step__number { width: 44px; height: 44px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; margin: 0 auto 1rem; }
.process-step__icon { color: var(--primary); display: flex; justify-content: center; margin-bottom: 1rem; }
.process-step h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2rem 0 4rem; }
.contact-info__item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-info__item h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.contact-info__item p { font-size: 0.875rem; }
.map-placeholder { background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius); height: 300px; display: flex; align-items: center; justify-content: center; color: var(--text-gray); margin-top: 2rem; }

.accordion { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; background: var(--white); border: none; font-family: inherit; font-size: 0.9375rem; font-weight: 600; text-align: left; cursor: pointer; color: var(--text-dark); transition: background var(--transition); }
.accordion__trigger:hover { background: var(--bg-light); }
.accordion__trigger:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; }
.accordion__icon { color: var(--primary); transition: transform var(--transition); flex-shrink: 0; display: flex; }
.accordion__item.open .accordion__icon { transform: rotate(90deg); }
.accordion__content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion__content-inner { padding: 0 1.5rem 1.25rem; font-size: 0.9375rem; color: var(--text-gray); }
.accordion__item.open .accordion__content { max-height: 500px; }

.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 2rem; padding: 2rem 0 4rem; }
.account-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; height: fit-content; }
.account-nav__link { display: block; padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-size: 0.9375rem; font-weight: 500; color: var(--text-gray); cursor: pointer; border: none; background: none; width: 100%; text-align: left; font-family: inherit; }
.account-nav__link:hover, .account-nav__link.active { background: var(--primary-light); color: var(--primary); }
.account-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; }
.account-panel.hidden { display: none; }
.order-card { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; margin-bottom: 1rem; }
.order-card__header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; }
.order-card__id { font-weight: 600; }
.order-card__date { font-size: 0.8125rem; color: var(--text-gray); }
.order-card__status { display: inline-block; padding: 0.25rem 0.625rem; background: var(--green-light); color: #15803D; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }

/* Admin panel */
.admin-badge { display: inline-block; padding: 0.2rem 0.5rem; background: var(--primary); color: var(--white); border-radius: 4px; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th, .admin-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.admin-table th { font-weight: 600; color: var(--text-gray); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.03em; }
.admin-table tr:hover td { background: var(--bg-light); }
.admin-table__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.admin-table__actions .btn { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.admin-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 2rem 1rem; overflow-y: auto; }
.admin-modal.hidden { display: none; }
.admin-modal__box { background: var(--white); border-radius: var(--radius); padding: 2rem; width: 100%; max-width: 640px; box-shadow: var(--shadow); }
.admin-modal__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-modal__header h2 { margin: 0; font-size: 1.25rem; }
.admin-modal__close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-gray); line-height: 1; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.admin-form-grid .form-group--full { grid-column: 1 / -1; }
.admin-toggle { display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer; }
.admin-toggle input { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.admin-discount { color: #15803D; font-weight: 600; font-size: 0.8125rem; }
.admin-denied { text-align: center; padding: 4rem 2rem; }
.admin-denied h2 { margin-bottom: 1rem; }
.admin-upload-area { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-upload-hint { font-size: 0.8125rem; color: var(--text-gray); }
.admin-upload-preview { width: 100%; max-width: 200px; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--border); margin-top: 0.75rem; background: var(--bg-light); }
.admin-upload-preview.hidden { display: none; }
.admin-table__thumb { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; border: 1px solid var(--border); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-card { text-align: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; }
.team-card__avatar { width: 80px; height: 80px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1rem; }
.team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.team-card__role { font-size: 0.8125rem; color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.8125rem; }

.design-board { padding: 3rem 0; }
.design-board__section { margin-bottom: 4rem; }
.design-board__section h2 { margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--primary); display: inline-block; }
.color-swatches { display: flex; gap: 1rem; flex-wrap: wrap; }
.color-swatch { width: 120px; text-align: center; }
.color-swatch__box { height: 80px; border-radius: var(--radius-sm); margin-bottom: 0.5rem; border: 1px solid var(--border); }
.color-swatch__label { font-size: 0.8125rem; font-weight: 600; }
.color-swatch__hex { font-size: 0.75rem; color: var(--text-gray); }
.design-components { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.5rem; }
.design-wireframes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.wireframe { border: 2px dashed var(--border); border-radius: var(--radius); padding: 1rem; background: var(--bg-light); }
.wireframe__title { font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--primary); }
.wireframe__block { background: var(--white); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.5rem; padding: 0.5rem; font-size: 0.6875rem; color: var(--text-gray); text-align: center; }
.wireframe__block--hero { height: 60px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; }
.wireframe__block--nav { height: 24px; background: var(--primary-light); }
.wireframe__block--card { height: 40px; }
.wireframe__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--text-dark); color: var(--white); padding: 1rem 1.5rem; border-radius: var(--radius-sm); font-size: 0.9375rem; z-index: 9999; transform: translateY(100px); opacity: 0; transition: all 0.3s ease; box-shadow: var(--shadow); }
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { background: #15803D; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-size: 0.9375rem; }
.alert--success { background: var(--green-light); color: #15803D; border: 1px solid #BBF7D0; }
.alert--error { background: #FEE2E2; color: #B91C1C; border: 1px solid #FECACA; }

.error-page { text-align: center; padding: 6rem 0; }
.error-page__code { font-size: 8rem; font-weight: 800; color: var(--primary-light); line-height: 1; margin-bottom: 1rem; }
.error-page h1 { margin-bottom: 1rem; }
.error-page p { margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Icons */
.icon { color: var(--primary); flex-shrink: 0; }
.icon use { stroke: currentColor; }

/* Blue CTA search section */
.cta-bar { background: var(--primary); padding: 3rem 0; color: var(--white); }
.cta-bar__inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-bar h2 { color: var(--white); margin-bottom: 0.75rem; font-size: 1.5rem; }
.cta-bar p { color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; }
.cta-bar__form { display: flex; gap: 0; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md); }
.cta-bar__form input { flex: 1; padding: 0.875rem 1.25rem; border: none; font-family: inherit; font-size: 0.9375rem; color: var(--dark); }
.cta-bar__form input:focus { outline: none; }
.cta-bar__form .btn { border-radius: 0; padding: 0.875rem 1.5rem; }

/* Location cards */
.location-list { display: flex; flex-direction: column; gap: 1rem; }
.location-card {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 1.5rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.location-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.location-card__name { font-weight: 600; margin-bottom: 0.25rem; }
.location-card__addr { font-size: 0.875rem; color: var(--muted); }
.location-card__dist { font-size: 0.875rem; font-weight: 600; color: var(--primary); white-space: nowrap; }

/* Map placeholder */
.map-box {
  background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius-lg);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.map-box__pins { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; padding: 2rem; }
.map-box__pin { color: var(--primary); display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.75rem; font-weight: 600; }

/* Benefit list */
.benefit-list { display: flex; flex-direction: column; gap: 1.25rem; }
.benefit-item { display: flex; gap: 1rem; align-items: flex-start; }
.benefit-item__icon { color: var(--primary); flex-shrink: 0; display: flex; }
.benefit-item h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.benefit-item p { font-size: 0.875rem; }

/* CTA box */
.cta-box { background: var(--light-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; }
.cta-box h3 { margin-bottom: 0.75rem; }
.cta-box p { margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* Page hero split */
.page-hero { padding: 70px 0; background: var(--light-bg); }
.page-hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.page-hero__visual {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: var(--primary); box-shadow: var(--shadow-sm);
}

/* Design board */
.design-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; min-height: 100vh; }
.design-sidebar {
  background: var(--white); border-right: 1px solid var(--border); padding: 2rem 1.5rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.design-sidebar__logo { margin-bottom: 1.5rem; }
.design-sidebar__logo img { height: 36px; }
.design-sidebar h3 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 1.5rem 0 0.75rem; }
.design-main { padding: 2rem; background: var(--light-bg); }
.design-mockups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.mockup-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition);
}
.mockup-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.mockup-card__bar { height: 28px; background: var(--light-bg); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 0.75rem; gap: 0.375rem; }
.mockup-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.mockup-card__body { padding: 1rem; font-size: 0.75rem; }
.mockup-card__title { font-weight: 600; margin-bottom: 0.75rem; color: var(--primary); }
.mockup-mini-hero { height: 48px; background: var(--light-bg); border-radius: 4px; margin-bottom: 0.5rem; display: flex; align-items: center; padding: 0 0.5rem; font-size: 0.625rem; color: var(--muted); }
.mockup-mini-block { height: 24px; background: var(--card-soft); border: 1px solid var(--border); border-radius: 4px; margin-bottom: 0.375rem; }

/* Shop pages keep search */
body[data-page="produkter"] .header-search,
body[data-page="produkt"] .header-search { display: flex; }
