:root {
  --red: #c91522;
  --red-dark: #9d0e18;
  --ink: #111318;
  --muted: #5c6470;
  --line: #d9dee5;
  --soft: #f4f6f8;
  --panel: #ffffff;
  --blue: #1c5d99;
  --green: #14745f;
  --gold: #b45f06;
  --shadow: 0 18px 42px rgba(16, 24, 40, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #fff;
  box-shadow: 0 1px 0 var(--line);
}

.promo-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 9px 16px;
  background: var(--red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.promo-bar a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.utility-row {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 20px 0;
  color: var(--muted);
  font-size: 13px;
}

.masthead {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: clamp(210px, 24vw, 286px);
  height: 48px;
  overflow: hidden;
  background: #fff;
  line-height: 1;
}

.logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.search {
  display: flex;
  min-width: 0;
  border: 2px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}

.search input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 13px 14px;
  outline: 0;
}

.search button,
.newsletter button {
  border: 0;
  padding: 0 20px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 45px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

body.cart-open {
  overflow: hidden;
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.cart-icon svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.cart-icon path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.category-nav {
  display: flex;
  justify-content: center;
  gap: 2px;
  border-top: 1px solid var(--line);
  background: #f7f8fa;
  overflow-x: auto;
}

.category-nav a {
  padding: 13px 18px;
  color: #242a31;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.category-nav a:hover {
  background: #e9edf2;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.12) 76%),
    url("assets/tekk-tekk-hero.png") center right / cover no-repeat;
}

.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 52px 20px;
}

.hero-content > * {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  margin-bottom: 26px;
  color: #313842;
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions,
.product-meta,
.row-heading,
.newsletter {
  display: flex;
  align-items: center;
}

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

.primary-link,
.secondary-link,
.add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  font-weight: 900;
}

.primary-link,
.add-to-cart {
  border: 0;
  background: var(--red);
  color: #fff;
}

.secondary-link {
  border: 2px solid var(--ink);
  background: #fff;
}

.quick-promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1180px;
  margin: -30px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.quick-promos div {
  min-height: 86px;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.shop-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  max-width: 1180px;
  margin: 0 auto;
  padding: 50px 20px 8px;
}

.shop-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(40px, 6vw, 68px);
}

.shop-hero p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.shop-hero-aside {
  min-width: 260px;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 6px;
  background: var(--soft);
}

.shop-hero-aside strong,
.shop-hero-aside span {
  display: block;
}

.shop-hero-aside strong {
  margin-bottom: 5px;
}

.shop-hero-aside span {
  color: var(--muted);
}

.quick-promos strong,
.quick-promos span {
  display: block;
}

.quick-promos strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.quick-promos span {
  color: var(--muted);
}

.section,
.gift-guide,
.newsletter {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 20px 0;
}

.section-heading h2,
.feature-band h2,
.gift-copy h2,
.newsletter h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.category-tile {
  min-height: 190px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: 6px;
  color: #fff;
  box-shadow: inset 0 -90px 80px rgba(0, 0, 0, 0.46);
  background-color: #333;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.category-tile span {
  font-size: 24px;
  font-weight: 900;
}

.smart {
  background-image: linear-gradient(135deg, rgba(20, 116, 95, 0.35), rgba(0, 0, 0, 0.05)), url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=900&q=80");
}

.audio {
  background-image: linear-gradient(135deg, rgba(28, 93, 153, 0.35), rgba(0, 0, 0, 0.05)), url("https://images.unsplash.com/photo-1484704849700-f032a568e944?auto=format&fit=crop&w=900&q=80");
}

.travel {
  background-image: linear-gradient(135deg, rgba(180, 95, 6, 0.35), rgba(0, 0, 0, 0.05)), url("https://images.unsplash.com/photo-1532354058425-ba7ccc7e4a24?auto=format&fit=crop&w=900&q=80");
}

.desk {
  background-image: linear-gradient(135deg, rgba(201, 21, 34, 0.3), rgba(0, 0, 0, 0.05)), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=80");
}

.feature-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  max-width: 1180px;
  margin: 72px auto 0;
  padding: 30px;
  background: var(--ink);
  color: #fff;
}

.feature-band p:not(.eyebrow) {
  max-width: 660px;
  color: #dbe1e8;
  line-height: 1.55;
}

.deal-price {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 190px;
}

.deal-price span {
  font-size: 38px;
  font-weight: 900;
}

del {
  color: #8a929e;
}

.product-section {
  padding-top: 66px;
}

.shop-section {
  padding-top: 44px;
}

.row-heading {
  justify-content: space-between;
  gap: 18px;
}

.row-heading > a {
  color: var(--red);
  font-weight: 900;
}

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

.catalog-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--soft);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.catalog-sort span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.catalog-sort select {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.product-card:hover {
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.product-image {
  height: 210px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.88) 0 8%, transparent 9%),
    linear-gradient(135deg, #eef2f5, #dfe6ed);
  position: relative;
  overflow: hidden;
}

.product-image::before,
.product-image::after {
  content: "";
  position: absolute;
  inset: auto;
}

.earbuds::before {
  width: 110px;
  height: 72px;
  left: 50%;
  top: 56%;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  transform: translate(-50%, -50%);
}

.earbuds::after {
  width: 26px;
  height: 58px;
  left: 50%;
  top: 32%;
  border-radius: 18px;
  background: var(--red);
  box-shadow: -36px 20px 0 #111318, 36px 20px 0 #111318;
  transform: translateX(-50%) rotate(-8deg);
}

.drone::before {
  width: 132px;
  height: 36px;
  left: 50%;
  top: 50%;
  border-radius: 26px;
  background: #242a31;
  box-shadow: 0 0 0 18px rgba(36, 42, 49, 0.05);
  transform: translate(-50%, -50%);
}

.drone::after {
  width: 58px;
  height: 58px;
  left: 24%;
  top: 31%;
  border: 9px solid var(--blue);
  border-radius: 50%;
  box-shadow: 132px 0 0 -9px transparent, 132px 0 0 0 var(--blue), 0 90px 0 0 var(--blue), 132px 90px 0 0 var(--blue);
}

.dock::before {
  width: 130px;
  height: 110px;
  left: 50%;
  top: 54%;
  border-radius: 24px;
  background: #ffffff;
  border: 8px solid #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%);
}

.dock::after {
  width: 42px;
  height: 42px;
  left: 50%;
  top: 53%;
  border-radius: 50%;
  background: var(--green);
  box-shadow: -48px 0 0 -5px var(--red), 48px 0 0 -5px var(--blue);
  transform: translate(-50%, -50%);
}

.lamp::before {
  width: 150px;
  height: 16px;
  left: 50%;
  top: 34%;
  border-radius: 999px;
  background: #242a31;
  box-shadow: 0 54px 0 -4px #9aa5b1;
  transform: translateX(-50%);
}

.lamp::after {
  width: 54px;
  height: 68px;
  left: 50%;
  top: 43%;
  border-left: 12px solid var(--red);
  border-bottom: 12px solid var(--red);
  transform: translateX(-50%);
}

.projector::before {
  width: 132px;
  height: 74px;
  left: 50%;
  top: 53%;
  border-radius: 22px;
  background: #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
}

.projector::after {
  width: 42px;
  height: 42px;
  left: 50%;
  top: 53%;
  border-radius: 50%;
  background: radial-gradient(circle, #89d8ff 0 34%, #1c5d99 36% 100%);
  transform: translate(-50%, -50%);
}

.tracker::before {
  width: 86px;
  height: 86px;
  left: 50%;
  top: 50%;
  border-radius: 26px;
  background: #fff;
  border: 8px solid var(--green);
  box-shadow: -38px 32px 0 -18px var(--red), 38px -28px 0 -18px var(--blue), 0 18px 34px rgba(0, 0, 0, 0.13);
  transform: translate(-50%, -50%) rotate(10deg);
}

.tracker::after {
  width: 16px;
  height: 16px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: var(--ink);
  transform: translate(-50%, -50%);
}

.speaker::before {
  width: 92px;
  height: 118px;
  left: 50%;
  top: 50%;
  border-radius: 28px;
  background: #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translate(-50%, -50%);
}

.speaker::after {
  width: 52px;
  height: 52px;
  left: 50%;
  top: 56%;
  border-radius: 50%;
  border: 8px solid var(--red);
  background: #111318;
  box-shadow: 0 -42px 0 -18px #fff;
  transform: translate(-50%, -50%);
}

.plug::before {
  width: 98px;
  height: 112px;
  left: 50%;
  top: 54%;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%);
}

.plug::after {
  width: 12px;
  height: 30px;
  left: 47%;
  top: 35%;
  border-radius: 999px;
  background: var(--ink);
  box-shadow: 24px 0 0 var(--ink), 14px 54px 0 10px var(--green);
  transform: translateX(-50%);
}

.hub::before {
  width: 140px;
  height: 76px;
  left: 50%;
  top: 54%;
  border-radius: 18px;
  background: #fff;
  border: 7px solid #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%);
}

.hub::after {
  width: 18px;
  height: 18px;
  left: 41%;
  top: 54%;
  border-radius: 4px;
  background: var(--red);
  box-shadow: 34px 0 0 var(--blue), 68px 0 0 var(--green);
  transform: translate(-50%, -50%);
}

.keyboard::before {
  width: 150px;
  height: 92px;
  left: 50%;
  top: 52%;
  border-radius: 18px;
  background:
    repeating-linear-gradient(90deg, #fff 0 12px, #d9dee5 12px 14px),
    #fff;
  border: 7px solid #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%) perspective(100px) rotateX(6deg);
}

.keyboard::after {
  width: 48px;
  height: 10px;
  left: 50%;
  top: 64%;
  border-radius: 999px;
  background: var(--red);
  transform: translateX(-50%);
}

.camera::before {
  width: 100px;
  height: 118px;
  left: 50%;
  top: 52%;
  border-radius: 28px;
  background: #fff;
  border: 8px solid #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  transform: translate(-50%, -50%);
}

.camera::after {
  width: 46px;
  height: 46px;
  left: 50%;
  top: 46%;
  border-radius: 50%;
  background: radial-gradient(circle, #111318 0 30%, #1c5d99 32% 100%);
  box-shadow: 0 42px 0 -14px var(--green);
  transform: translate(-50%, -50%);
}

.powerbank::before {
  width: 86px;
  height: 138px;
  left: 50%;
  top: 51%;
  border-radius: 22px;
  background: #242a31;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
  transform: translate(-50%, -50%) rotate(-8deg);
}

.powerbank::after {
  width: 44px;
  height: 8px;
  left: 50%;
  top: 33%;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 22px 0 var(--red), 0 44px 0 var(--blue);
  transform: translateX(-50%) rotate(-8deg);
}

.badge {
  align-self: flex-start;
  margin-top: 14px;
  padding: 5px 8px;
  border-radius: 3px;
  background: #ffe7e9;
  color: var(--red-dark);
  font-size: 12px;
  font-weight: 900;
}

.product-card h3 {
  margin: 13px 0 7px;
  font-size: 19px;
  line-height: 1.15;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.product-title-row span {
  flex: 0 0 auto;
  margin-top: 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.product-card p {
  min-height: 44px;
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.4;
}

.product-meta {
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  margin-bottom: 14px;
}

.product-meta span {
  font-size: 22px;
  font-weight: 900;
}

.product-meta strong {
  color: var(--green);
  font-size: 13px;
}

.spec-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.spec-list span {
  padding: 5px 7px;
  border-radius: 3px;
  background: var(--soft);
  color: #303741;
  font-size: 12px;
  font-weight: 800;
}

.delivery-note {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.empty-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  min-height: 160px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--soft);
  color: var(--muted);
  text-align: center;
}

.empty-results strong {
  color: var(--ink);
  font-size: 20px;
}

.add-to-cart {
  width: 100%;
  cursor: pointer;
}

.add-to-cart:disabled {
  background: var(--green);
  cursor: default;
}

.gift-guide {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}

.gift-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.compact {
  width: fit-content;
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.gift-list a {
  min-height: 110px;
  display: grid;
  align-items: end;
  padding: 18px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--red);
  border-radius: 5px;
  background: var(--soft);
  font-size: 19px;
  font-weight: 900;
}

.policy-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 74px auto 0;
  padding: 0 20px;
}

.policy-strip div {
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.policy-strip strong,
.policy-strip span {
  display: block;
}

.policy-strip strong {
  margin-bottom: 6px;
  font-size: 18px;
}

.policy-strip span {
  color: var(--muted);
  line-height: 1.45;
}

.newsletter {
  justify-content: space-between;
  gap: 24px;
  margin-top: 74px;
  padding: 30px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.newsletter h2 {
  max-width: 560px;
  margin-bottom: 0;
}

.newsletter form {
  display: flex;
  width: min(430px, 100%);
  border: 2px solid var(--ink);
  border-radius: 3px;
  overflow: hidden;
}

.newsletter input {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 13px 14px;
  outline: 0;
}

.footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 38px 20px 46px;
  color: var(--muted);
}

.footer-logo {
  width: 190px;
  height: 34px;
}

.footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin: 20px 0 14px;
  color: var(--ink);
  font-weight: 800;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(17, 19, 24, 0.48);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 21;
  display: flex;
  flex-direction: column;
  width: min(430px, 100vw);
  height: 100vh;
  background: #fff;
  box-shadow: -18px 0 42px rgba(16, 24, 40, 0.24);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.cart-drawer[aria-hidden="false"] {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}

.cart-header h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.cart-progress {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}

.progress-copy {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  border-radius: 999px;
  background: var(--soft);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-thumb {
  width: 74px;
  height: 74px;
  border-radius: 4px;
  background:
    radial-gradient(circle at 62% 28%, rgba(255, 255, 255, 0.88) 0 8%, transparent 9%),
    linear-gradient(135deg, #eef2f5, #dfe6ed);
  position: relative;
  overflow: hidden;
}

.cart-thumb::before,
.cart-thumb::after {
  content: "";
  position: absolute;
  inset: auto;
  scale: 0.42;
}

.cart-line-copy {
  min-width: 0;
}

.cart-line-copy strong,
.cart-line-copy span {
  display: block;
}

.cart-line-copy strong {
  margin-bottom: 4px;
  line-height: 1.2;
}

.cart-line-copy span {
  color: var(--muted);
  font-size: 13px;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-control button {
  width: 30px;
  height: 28px;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.quantity-control span {
  min-width: 18px;
  color: var(--ink);
  text-align: center;
  font-weight: 900;
}

.remove-item {
  align-self: start;
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.cart-empty {
  display: grid;
  gap: 7px;
  place-content: center;
  flex: 1;
  padding: 22px;
  color: var(--muted);
  text-align: center;
}

.cart-empty strong {
  color: var(--ink);
  font-size: 20px;
}

.cart-summary {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.cart-total {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.checkout-button {
  width: 100%;
  min-height: 48px;
  margin-top: 8px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.checkout-button:disabled {
  background: #9aa5b1;
  cursor: default;
}

.cart-summary p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 900px) {
  .utility-row {
    display: none;
  }

  .masthead {
    grid-template-columns: 1fr auto;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .hero {
    min-height: 560px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.14) 100%),
      url("assets/tekk-tekk-hero.png") center bottom / cover no-repeat;
    align-items: start;
  }

  .quick-promos,
  .category-grid,
  .product-grid,
  .gift-guide,
  .shop-hero,
  .policy-strip,
  .gift-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-sort {
    justify-content: space-between;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 620px) {
  .promo-bar {
    flex-direction: column;
    gap: 3px;
  }

  .masthead {
    gap: 12px;
  }

  .logo {
    width: 210px;
    height: 38px;
  }

  .cart-button span:not(.cart-icon) {
    display: none;
  }

  .category-nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: 610px;
  }

  h1 {
    max-width: 390px;
  }

  .quick-promos,
  .category-grid,
  .product-grid,
  .gift-guide,
  .shop-hero,
  .policy-strip,
  .gift-list {
    grid-template-columns: 1fr;
  }

  .shop-hero {
    padding-top: 36px;
  }

  .shop-hero-aside {
    min-width: 0;
  }

  .quick-promos {
    margin-top: 0;
    padding: 0;
  }

  .quick-promos div {
    box-shadow: none;
  }

  .section,
  .gift-guide {
    padding-top: 52px;
  }

  .feature-band {
    margin-top: 52px;
    padding: 24px 20px;
  }

  .deal-price {
    justify-items: start;
  }

  .newsletter form,
  .search {
    flex-direction: column;
  }

  .newsletter button,
  .search button {
    min-height: 44px;
  }

  .cart-line {
    grid-template-columns: 64px 1fr;
  }

  .cart-thumb {
    width: 64px;
    height: 64px;
  }

  .remove-item {
    grid-column: 2;
    justify-self: start;
  }
}

/* UX refresh */
:root {
  --red: #d71928;
  --red-dark: #a90f1b;
  --ink: #15171d;
  --muted: #6b7280;
  --line: #e6e8ec;
  --soft: #f6f7f9;
  --panel: #ffffff;
  --shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

body {
  background: #fafbfc;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(21, 23, 29, 0.08);
}

.promo-bar {
  min-height: 36px;
  padding: 8px 16px;
  background: #15171d;
  font-size: 13px;
  font-weight: 800;
}

.promo-bar a {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

.utility-row {
  display: none;
}

.masthead {
  grid-template-columns: auto minmax(260px, 1fr) auto;
  padding: 16px 20px 12px;
}

.logo {
  color: var(--red);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: 0;
}

.search {
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.search input {
  padding: 0 18px;
  background: transparent;
}

.search button,
.newsletter button {
  min-width: 92px;
  border-radius: 999px;
  margin: 3px;
  background: var(--ink);
}

.cart-button {
  height: 44px;
  border-color: var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  font-weight: 900;
}

.category-nav {
  justify-content: center;
  gap: 22px;
  border-top: 0;
  background: #fff;
}

.category-nav a {
  position: relative;
  padding: 11px 0 14px;
  color: #333843;
  font-size: 13px;
  letter-spacing: 0;
}

.category-nav a:hover {
  background: transparent;
  color: var(--red);
}

.category-nav a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--red);
}

.hero {
  min-height: 560px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(250, 251, 252, 0.98) 0%, rgba(250, 251, 252, 0.86) 38%, rgba(250, 251, 252, 0.18) 72%),
    url("assets/tekk-tekk-hero.png") center right / cover no-repeat;
}

.hero-content {
  padding: 64px 20px 76px;
}

h1 {
  max-width: 640px;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 0.98;
}

.hero p:not(.eyebrow) {
  max-width: 510px;
  color: #4b5563;
  font-size: 18px;
}

.primary-link,
.secondary-link,
.add-to-cart {
  min-height: 46px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
}

.primary-link,
.add-to-cart {
  background: var(--red);
  box-shadow: 0 8px 18px rgba(215, 25, 40, 0.22);
}

.secondary-link {
  border: 1px solid var(--line);
  background: #fff;
}

.quick-promos {
  gap: 12px;
  margin-top: -34px;
}

.quick-promos div {
  border: 0;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.section,
.gift-guide,
.newsletter {
  padding-top: 70px;
}

.section-heading h2,
.feature-band h2,
.gift-copy h2,
.newsletter h2 {
  font-size: clamp(30px, 3.6vw, 42px);
}

.category-grid {
  gap: 14px;
}

.category-tile {
  min-height: 170px;
  border-radius: 12px;
  box-shadow: inset 0 -110px 80px rgba(0, 0, 0, 0.5);
}

.feature-band {
  border-radius: 14px;
  background: linear-gradient(135deg, #15171d, #2c303a);
  box-shadow: var(--shadow);
}

.product-grid {
  gap: 16px;
}

.product-card {
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.product-card > :not(.product-image) {
  margin-left: 16px;
  margin-right: 16px;
}

.product-image {
  height: 190px;
  border-radius: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.9) 0 8%, transparent 9%),
    linear-gradient(135deg, #f2f5f8, #e4ebf2);
}

.badge {
  margin-top: 14px;
  border-radius: 999px;
  background: #fff0f1;
  font-size: 11px;
}

.product-title-row h3 {
  margin-top: 12px;
  font-size: 17px;
}

.product-title-row span {
  margin-top: 13px;
  color: #8a5a00;
  font-size: 11px;
}

.product-card p {
  min-height: 56px;
  font-size: 14px;
}

.spec-list span {
  border-radius: 999px;
  background: #f1f3f5;
  color: #4b5563;
}

.delivery-note {
  color: #4b5563;
}

.product-meta {
  margin-bottom: 14px;
}

.product-meta span {
  font-size: 21px;
}

.add-to-cart {
  width: calc(100% - 32px);
  margin: 0 16px 16px;
}

.shop-hero {
  align-items: center;
  padding-top: 42px;
}

.shop-hero h1 {
  font-size: clamp(42px, 5vw, 62px);
}

.shop-hero-aside {
  border: 0;
  border-left: 4px solid var(--green);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.catalog-tools {
  position: sticky;
  top: 138px;
  z-index: 5;
  margin-top: 10px;
  border: 0;
  border-radius: 14px;
  background: rgba(250, 251, 252, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.filter-chip {
  border-color: transparent;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.08);
}

.filter-chip.active {
  border-color: var(--ink);
  background: var(--ink);
}

.catalog-sort select {
  border-color: var(--line);
  border-radius: 999px;
  padding: 0 10px;
}

.gift-guide {
  align-items: stretch;
}

.gift-list a,
.policy-strip div {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.06);
}

.gift-list a {
  border-left: 4px solid var(--red);
}

.policy-strip {
  gap: 12px;
}

.newsletter {
  margin-top: 70px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
}

.newsletter form {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.cart-overlay {
  background: rgba(15, 23, 42, 0.38);
  backdrop-filter: blur(3px);
}

.cart-drawer {
  width: min(460px, 100vw);
  border-radius: 18px 0 0 18px;
  box-shadow: -24px 0 60px rgba(15, 23, 42, 0.2);
}

.cart-header,
.cart-progress {
  border-color: var(--line);
}

.icon-button {
  border-color: transparent;
  background: var(--soft);
}

.cart-line {
  grid-template-columns: 68px 1fr auto;
}

.cart-thumb {
  width: 68px;
  height: 68px;
  border-radius: 10px;
}

.cart-summary {
  background: #fff;
}

.checkout-button {
  border-radius: 999px;
}

@media (max-width: 900px) {
  .masthead {
    grid-template-columns: auto auto;
  }

  .search {
    height: auto;
  }

  .catalog-tools {
    top: 160px;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: static;
  }

  .promo-bar {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 13px;
    line-height: 1.25;
  }

  .masthead {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 18px 24px 12px;
  }

  .logo {
    width: 244px;
    height: 42px;
  }

  .cart-button {
    width: 108px;
    height: 46px;
    justify-content: center;
  }

  .cart-button span:not(.cart-icon) {
    display: none;
  }

  .search {
    flex-direction: row;
    height: 46px;
    border-radius: 999px;
    grid-column: 1 / -1;
  }

  .search input {
    min-width: 0;
    padding-left: 20px;
    font-size: 16px;
  }

  .search button {
    flex: 0 0 104px;
    min-height: 0;
    margin: 3px;
    border-radius: 999px;
    font-size: 14px;
  }

  .newsletter button {
    margin: 0;
    border-radius: 0;
  }

  .hero {
    min-height: 480px;
    align-items: start;
    background:
      linear-gradient(180deg, rgba(250, 251, 252, 0.97) 0%, rgba(250, 251, 252, 0.88) 45%, rgba(250, 251, 252, 0.78) 100%),
      url("assets/tekk-tekk-hero.png") 58% bottom / cover no-repeat;
  }

  .hero-content {
    padding: 44px 24px 34px;
  }

  h1 {
    max-width: 360px;
    font-size: 42px;
    line-height: 1.02;
  }

  .hero p:not(.eyebrow) {
    max-width: 360px;
    margin-bottom: 24px;
    color: #374151;
    font-size: 16px;
    line-height: 1.45;
  }

  .hero-actions {
    max-width: 360px;
    gap: 10px;
  }

  .primary-link,
  .secondary-link {
    min-height: 44px;
    padding: 0 16px;
    font-size: 14px;
  }

  .quick-promos {
    gap: 0;
    margin-top: 0;
  }

  .quick-promos div,
  .newsletter,
  .feature-band {
    border-radius: 0;
  }

  .catalog-tools {
    position: static;
  }

  .cart-drawer {
    border-radius: 0;
  }

  .category-nav {
    justify-content: flex-start;
    gap: 22px;
    padding: 0 24px;
    scroll-padding-left: 24px;
    border-top: 1px solid var(--line);
    box-shadow: inset 0 -1px 0 var(--line);
  }

  .category-nav a {
    padding: 12px 0 12px;
    font-size: 14px;
  }

  .section,
  .gift-guide,
  .newsletter,
  .policy-strip {
    padding-right: 24px;
    padding-left: 24px;
  }
}
