:root {
  --red: #d51e31;
  --ink: #111114;
  --cream: #f6f4f1;
  --line: #e6e2dd;
}
.shop-page {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}
.shop-shell {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}
.main-nav .is-active {
  color: #fff !important;
}
.shop-hero {
  overflow: hidden;
  background: #101012;
  color: #fff;
  padding: 92px 0 78px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  min-height: 300px;
}
.shop-eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
}
.shop-hero .shop-eyebrow {
  color: #ff7180;
}
.shop-hero h1,
.shop-heading h2,
.how-it-works h2 {
  margin: 0;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.shop-hero h1 em {
  color: var(--red);
  font-style: normal;
}
.shop-hero p:not(.shop-eyebrow) {
  max-width: 490px;
  margin: 26px 0;
  font-size: 18px;
  line-height: 1.6;
  color: #c6c5c6;
}
.hero-scroll {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.hero-scroll span {
  color: var(--red);
  font-size: 22px;
}
.hero-visual {
  position: relative;
  min-width: 0;
  margin: 0 0 0 54px;
}
.hero-photo-frame {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: #ececec;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  transform: rotate(1.4deg);
}
.hero-photo-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0,0,0,.38));
  pointer-events: none;
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  display: block;
  object-fit: cover;
  object-position: 58% 50%;
  filter: contrast(1.04);
}
.hero-photo-badge {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 18px;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(14,14,16,.74);
  backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 800;
}
.hero-visual figcaption {
  margin: 13px 5px 0;
  color: #8f8f93;
  font-size: 10px;
  text-align: right;
}
.trust-bar {
  background: #f1eeea;
  border-bottom: 1px solid var(--line);
}
.trust-bar > div {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}
.trust-bar span {
  white-space: nowrap;
}
.shop-content {
  padding: 82px 0;
}
.shop-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 38px;
}
.shop-heading h2,
.how-it-works h2 {
  font-size: 46px;
}
.cart-trigger {
  border: 1px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.cart-trigger span {
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  padding: 2px 7px;
  margin-left: 6px;
}
.shop-layout {
  display: grid;
  grid-template-columns: 245px 1fr;
  gap: 42px;
}
.filters {
  border-top: 2px solid var(--ink);
}
.filter-title {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
}
.filter-title button {
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  padding: 0 11px;
  gap: 8px;
}
.search input {
  border: 0;
  width: 100%;
  padding: 13px 0;
  outline: 0;
  font-size: 14px;
}
fieldset {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 20px 0 0;
  padding: 20px 0;
}
legend {
  font-weight: 700;
  padding: 0;
}
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}
.filter-chip {
  background: #fff;
  border: 1px solid #d7d3cf;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
}
.filter-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.product-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  color: #666;
  font-size: 14px;
}
.product-toolbar p {
  margin: 0;
}
.product-toolbar label {
  font-weight: 700;
  color: var(--ink);
}
.product-toolbar select {
  font: inherit;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 5px;
  outline: 0;
  background: #fff;
}
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.2s;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 13px 28px #1b131112;
}
.product-image {
  display: block;
  position: relative;
  width: 100%;
  height: 235px;
  border: 0;
  background: #f4f2f0;
  cursor: pointer;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.phone-art {
  position: absolute;
  width: 95px;
  height: 180px;
  left: 50%;
  top: 27px;
  transform: translateX(-50%);
  border: 5px solid #252529;
  border-radius: 18px;
  background: var(--phone);
  box-shadow: 9px 11px 15px #0002;
}
.phone-art:before {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 28px;
  height: 28px;
  border: 3px solid #242427;
  border-radius: 11px;
  background: #333;
  box-shadow:
    14px 0 #333,
    7px 13px #333;
}
.phone-art i {
  position: absolute;
  width: 31px;
  height: 7px;
  left: 28px;
  top: 5px;
  border-radius: 6px;
  background: #1b1b1d;
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
}
.badge:empty {
  display: none;
}
.product-info {
  padding: 17px;
}
.product-brand {
  margin: 0 0 5px;
  color: #777;
  font-size: 12px;
  font-weight: 700;
}
.product-info h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.03em;
}
.product-meta {
  margin: 7px 0 18px;
  color: #6e6b68;
  font-size: 12px;
}
.product-bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
}
.product-bottom small {
  display: block;
  color: #777;
  font-size: 10px;
}
.product-price {
  font-size: 17px;
}
.add-to-cart {
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 9px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.add-to-cart:hover {
  background: var(--red);
}
.add-to-cart:disabled {
  background: #d4d1cd;
  color: #766f69;
  cursor: not-allowed;
}
.how-it-works {
  background: var(--cream);
  padding: 82px 0;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 55px;
  margin-top: 44px;
}
.steps b {
  color: var(--red);
  font-size: 13px;
}
.steps h3 {
  font-size: 20px;
  margin: 13px 0 8px;
}
.steps p {
  color: #625f5b;
  line-height: 1.55;
  margin: 0;
}
.shop-seo {
  padding: 82px 0;
}
.shop-seo-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 70px;
  align-items: end;
}
.shop-seo h2,
.shop-model-links h2,
.shop-faq h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}
.shop-seo-intro > p {
  margin: 0;
  color: #625f5b;
  font-size: 17px;
  line-height: 1.7;
}
.shop-seo-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.shop-seo-cards article {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
}
.shop-seo-cards span {
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
}
.shop-seo-cards h3 {
  margin: 14px 0 8px;
  font-size: 19px;
}
.shop-seo-cards p {
  margin: 0;
  color: #625f5b;
  line-height: 1.6;
}
.shop-model-links {
  padding: 74px 0;
  background: #111114;
  color: #fff;
}
.model-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 34px;
}
.model-link-grid a {
  padding: 14px 16px;
  border: 1px solid #ffffff26;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}
.model-link-grid a:hover,
.model-link-grid a:focus-visible {
  border-color: var(--red);
  background: var(--red);
}
.shop-faq {
  padding: 82px 0;
}
.shop-faq {
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(420px, 1.25fr);
  gap: 70px;
}
.shop-faq-list details {
  border-top: 1px solid var(--line);
}
.shop-faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.shop-faq-list summary {
  padding: 19px 32px 19px 0;
  font-weight: 700;
  cursor: pointer;
}
.shop-faq-list p {
  margin: -4px 0 20px;
  color: #625f5b;
  line-height: 1.65;
}
.shop-faq-list a,
.shop-seo-links a {
  color: var(--red);
}
.shop-seo-links {
  grid-column: 1 / -1;
  margin: -30px 0 0;
  color: #625f5b;
  line-height: 1.6;
}
.shop-footer {
  background: #111114;
  color: #fff;
  padding: 38px 0;
}
.shop-footer div {
  display: flex;
  align-items: center;
  gap: 22px;
}
.shop-footer img {
  width: 112px;
  height: auto;
}
.shop-footer p {
  color: #aaa;
  margin: 0;
}
.cart-overlay {
  position: fixed;
  inset: 0;
  background: #0007;
  z-index: 50;
}
.stock-notice {
  position: fixed;
  z-index: 70;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #0008;
}
.stock-notice[hidden] {
  display: none;
}
.stock-notice__dialog {
  position: relative;
  width: min(100%, 390px);
  box-sizing: border-box;
  padding: 34px;
  background: #fff;
  box-shadow: 0 22px 60px #0005;
  text-align: center;
}
.stock-notice__dialog .shop-eyebrow {
  margin-bottom: 9px;
}
.stock-notice__dialog h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.04em;
}
.stock-notice__message {
  margin: 14px 0 24px;
  color: #625f5b;
  line-height: 1.5;
}
.stock-notice__button {
  width: 100%;
  border: 0;
  padding: 13px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.stock-notice__close {
  position: absolute;
  top: 9px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.cart-panel {
  position: fixed;
  z-index: 60;
  right: 0;
  top: 0;
  width: min(420px, 100%);
  height: 100%;
  padding: 25px;
  background: #fff;
  box-sizing: border-box;
  transform: translateX(105%);
  transition: transform 0.25s;
  box-shadow: -15px 0 40px #0002;
  display: flex;
  flex-direction: column;
}
.cart-panel.open {
  transform: translateX(0);
}
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
}
.cart-head h2 {
  font-size: 24px;
  margin: 0;
}
.cart-close {
  border: 0;
  background: none;
  font-size: 32px;
  cursor: pointer;
}
.cart-items {
  flex: 1;
  overflow: auto;
}
.empty-cart {
  color: #666;
  margin-top: 30px;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.cart-item p {
  margin: 0 0 5px;
  font-size: 13px;
}
.cart-item small {
  color: #666;
}
.cart-item button {
  border: 0;
  background: none;
  color: var(--red);
  cursor: pointer;
  text-decoration: underline;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  padding: 19px 0;
  font-size: 17px;
}
.checkout-disabled {
  background: #d4d1cd;
  border: 0;
  padding: 15px;
  color: #766f69;
  font-weight: 700;
  cursor: not-allowed;
}
.fixed-cart {
  position: fixed;
  z-index: 45;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 -9px 30px #1b13111c;
}
.fixed-cart[hidden] {
  display: none;
}
.fixed-cart__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  width: min(1180px, 100%);
  margin: auto;
}
.fixed-cart__summary {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.fixed-cart__items {
  overflow: hidden;
  color: #625f5b;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fixed-cart__total {
  font-size: 18px;
  white-space: nowrap;
}
.fixed-cart__checkout {
  min-width: 215px;
  cursor: pointer;
}
.has-fixed-cart {
  padding-bottom: 93px;
}
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin: 38px 0 0;
  }
  .hero-photo-frame,
  .hero-photo-frame img { min-height: 330px; }
  .hero-photo-frame { transform: none; }
  .shop-hero {
    padding: 62px 0 54px;
  }
  .trust-bar > div {
    overflow: auto;
    justify-content: start;
  }
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
  }
  .filter-title,
  .search {
    grid-column: 1/-1;
  }
  .products {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    gap: 25px;
  }
  .shop-seo-intro,
  .shop-faq {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .shop-seo-cards {
    grid-template-columns: 1fr;
  }
  .model-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .shop-seo-links {
    margin-top: 0;
  }
  .shop-content,
  .how-it-works,
  .shop-seo,
  .shop-faq {
    padding: 56px 0;
  }
}
@media (max-width: 620px) {
  .hero-photo-frame,
  .hero-photo-frame img { min-height: 285px; }
  .hero-photo-badge { right: 12px; bottom: 12px; font-size: 10px; }
  .hero-visual figcaption { text-align: left; }
}

@media (max-width: 520px) {
  .shop-shell {
    width: min(100% - 28px, 1180px);
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .product-image {
    height: 180px;
  }
  .phone-art {
    width: 80px;
    height: 150px;
    top: 15px;
    border-width: 4px;
  }
  .product-info {
    padding: 12px;
  }
  .product-info h3 {
    font-size: 15px;
  }
  .product-meta {
    margin: 6px 0 12px;
  }
  .product-bottom {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }
  .add-to-cart {
    width: 100%;
    padding: 9px 6px;
  }
  .filters {
    display: block;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .shop-model-links {
    padding: 54px 0;
  }
  .model-link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .model-link-grid a {
    padding: 12px;
    font-size: 12px;
  }
  .shop-heading h2,
  .how-it-works h2 {
    font-size: 37px;
  }
  .product-toolbar {
    align-items: start;
    gap: 8px;
    flex-direction: column;
  }
  .trust-bar > div {
    min-height: 54px;
    font-size: 12px;
  }
  .fixed-cart {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .fixed-cart__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 14px;
  }
  .fixed-cart__summary {
    grid-column: 1 / -1;
  }
  .fixed-cart__checkout {
    min-width: 0;
    padding: 12px;
  }
  .has-fixed-cart {
    padding-bottom: 130px;
  }
}

/* v48 premium shop */
.mobile-filter-toggle { display: none; }
.filter-title > div { display: grid; gap: 3px; }
.filter-title > div span { color: #7b756f; font-size: 10px; font-weight: 500; }
.filters { position: sticky; top: 18px; align-self: start; padding: 0 18px 18px; border: 1px solid #e6e1db; border-radius: 18px; background: #fff; box-shadow: 0 16px 44px rgba(27,19,17,.055); }
.filter-title { padding: 18px 0 15px; }
.filter-title button { color: var(--red); font-size: 11px; font-weight: 800; text-decoration: none; }
.search { border-radius: 11px; background: #faf9f7; }
.filters fieldset { margin-top: 16px; padding: 16px 0 0; }
.filters legend { font-size: 12px; }
.filter-chip { min-height: 31px; padding: 6px 10px; transition: .15s ease; }
.filter-chip:hover { border-color: #8f8882; transform: translateY(-1px); }
.filter-chip.active { box-shadow: 0 6px 16px rgba(17,17,20,.12); }
.photo-filter { display: flex; align-items: center; gap: 10px; margin-top: 17px; padding: 12px; border: 1px solid #e4dfd9; border-radius: 11px; color: #403c38; background: #faf9f7; font-size: 11px; font-weight: 700; cursor: pointer; }
.photo-filter input { width: 17px; height: 17px; accent-color: var(--red); }
.apply-filters { display: none; width: 100%; min-height: 46px; margin-top: 16px; border: 0; border-radius: 10px; color: #fff; background: var(--ink); font-weight: 800; }
.product-toolbar { min-height: 46px; align-items: start; padding-bottom: 11px; border-bottom: 1px solid #ebe6e0; }
.product-toolbar > div { display: grid; gap: 8px; }
.product-toolbar select { min-height: 36px; padding: 5px 8px; border: 1px solid #ddd7d0; border-radius: 9px; background: #fff; }
.active-filter-summary { display: flex; flex-wrap: wrap; gap: 5px; }
.active-filter-summary span { padding: 4px 7px; border-radius: 999px; color: #5f5852; background: #f2efeb; font-size: 9px; font-weight: 800; }

.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #e7e2dc; border-radius: 18px; box-shadow: 0 8px 28px rgba(26,18,16,.045); }
.product-card:hover { transform: translateY(-5px); border-color: #d7d0c9; box-shadow: 0 20px 42px rgba(27,19,17,.11); }
.product-image { height: 285px; background: radial-gradient(circle at 50% 44%, #fff 0%, #faf9f7 52%, #f0ede9 100%); }
.phone-art.has-photo { width: calc(100% - 50px); height: calc(100% - 42px); top: 22px; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.phone-art.has-photo:before, .phone-art.has-photo i { display: none; }
.phone-art.has-photo img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease; }
.product-card:hover .phone-art.has-photo img { transform: scale(1.045); }
.phone-art.has-photo.is-actual-photo img { mix-blend-mode: normal; }
.badge { left: 14px; top: 14px; background: #111114; }
.photo-badge { position: absolute; right: 13px; top: 13px; padding: 6px 8px; border-radius: 999px; color: #716a64; background: rgba(255,255,255,.9); box-shadow: 0 6px 20px rgba(0,0,0,.07); font-size: 9px; font-weight: 800; }
.photo-badge.is-actual { color: #fff; background: #137455; }
.stock-badge { position: absolute; left: 14px; bottom: 13px; padding: 6px 8px; border-radius: 999px; color: #4f4944; background: rgba(255,255,255,.9); font-size: 9px; font-weight: 800; }
.product-info { flex: 1; display: flex; flex-direction: column; padding: 18px; }
.product-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-brand { margin: 0; color: var(--red); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.product-battery { color: #137455; font-size: 9px; font-weight: 800; white-space: nowrap; }
.product-info h3 { margin-top: 7px; font-size: 20px; }
.product-meta { min-height: 30px; margin: 8px 0 12px; line-height: 1.45; }
.product-attributes { display: flex; flex-wrap: wrap; gap: 5px; min-height: 25px; margin-bottom: 11px; }
.product-attributes span { padding: 5px 7px; border-radius: 7px; color: #5d5651; background: #f4f1ee; font-size: 9px; font-weight: 700; }
.product-swatches { display: flex; align-items: center; gap: 5px; min-height: 19px; margin-bottom: 17px; }
.product-swatches i { width: 14px; height: 14px; border: 1px solid rgba(0,0,0,.16); border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.55); }
.product-swatches span { color: #77716b; font-size: 9px; font-weight: 800; }
.product-bottom { margin-top: auto; padding-top: 14px; border-top: 1px solid #eee9e3; }
.product-price { font-size: 20px; }
.add-to-cart { min-height: 40px; padding: 0 12px; border-radius: 9px; }
.filter-empty { grid-column: 1/-1; min-height: 330px; display: grid; place-items: center; align-content: center; gap: 7px; padding: 30px; border: 1px dashed #d8d1ca; border-radius: 18px; text-align: center; background: #faf9f7; }
.filter-empty strong { font-size: 24px; letter-spacing: -.03em; }
.filter-empty p { margin: 0; color: #716b65; }
.filter-empty button { min-height: 40px; margin-top: 8px; padding: 0 14px; border: 0; border-radius: 9px; color: #fff; background: var(--ink); font-weight: 800; cursor: pointer; }
#products .inventory-empty { grid-column: 1/-1; min-height: 360px; display: grid; place-items: center; margin: 0; text-align: center; font-size: clamp(25px,3vw,40px); font-weight: 800; line-height: 1.15; color: #171517; }
.cart-item { display: grid !important; grid-template-columns: 58px 1fr auto; align-items: center; }
.cart-item-thumb { width: 58px; height: 68px; object-fit: contain; background: #f4f2f0; }
.cart-item > div:last-child { text-align: right; }
.site-footer h2 { font-size: .78rem !important; line-height: 1.4 !important; }
.site-footer p, .site-footer a { font-size: .78rem !important; line-height: 1.65 !important; }
.site-footer .footer-bottom p { font-size: .68rem !important; }
.site-footer .footer-brand img { width: 110px !important; height: auto !important; }

@media (max-width: 1050px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .mobile-filter-toggle { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 17px; padding: 0 15px; border: 1px solid #dad4ce; border-radius: 11px; color: var(--ink); background: #fff; font-weight: 800; }
  .mobile-filter-toggle span { min-width: 24px; padding: 3px 7px; border-radius: 999px; color: #fff; background: var(--red); font-size: 10px; }
  .filters { position: fixed; z-index: 120; inset: auto 0 0; max-height: 88vh; display: block; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .24s ease; overflow: auto; box-shadow: 0 -20px 70px rgba(0,0,0,.22); }
  .filters.is-open { transform: translateY(0); }
  body.filters-open:before { content: ""; position: fixed; z-index: 119; inset: 0; background: rgba(13,13,15,.46); backdrop-filter: blur(3px); }
  body.filters-open { overflow: hidden; }
  .filter-title { position: sticky; z-index: 2; top: 0; background: #fff; }
  .apply-filters { display: block; position: sticky; bottom: 0; }
  .shop-layout { display: block; }
  .product-toolbar { margin-top: 0; }
}

@media (max-width: 520px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card { border-radius: 14px; }
  .product-image { height: 190px; }
  .phone-art.has-photo { width: calc(100% - 26px); height: calc(100% - 30px); top: 15px; }
  .badge { left: 8px; top: 8px; padding: 4px 6px; font-size: 8px; }
  .photo-badge { right: 7px; top: 7px; padding: 4px 6px; font-size: 7px; }
  .stock-badge { left: 8px; bottom: 7px; padding: 4px 6px; font-size: 7px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 15px; }
  .product-battery { display: none; }
  .product-meta { min-height: 28px; margin: 6px 0 8px; font-size: 10px; }
  .product-attributes { min-height: 22px; margin-bottom: 7px; }
  .product-attributes span { padding: 4px 5px; font-size: 7px; }
  .product-swatches { margin-bottom: 10px; }
  .product-swatches i { width: 11px; height: 11px; }
  .product-bottom { padding-top: 9px; }
  .product-price { font-size: 15px; }
  .add-to-cart { min-height: 34px; padding: 0 7px; font-size: 9px; }
  .filter-empty { min-height: 260px; }
}

/* Tillgänglig hopplänk: dold tills den får tangentbordsfokus. */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .16s ease;
}
.skip-link:focus { transform: translateY(0); }
.main-nav .is-active { color: var(--red) !important; }
.site-header .main-nav a.is-active:not(.nav-cta)::after { transform: scaleX(1); }

/* V51 – varukorgen ligger alltid över mobilens fasta köpbar */
.cart-panel { z-index: 520; height: 100dvh; padding-bottom: calc(25px + env(safe-area-inset-bottom)); }
.cart-overlay { z-index: 510; backdrop-filter: blur(2px); }
.cart-items { min-height: 0; }
.cart-is-open { overflow: hidden; }
.cart-is-open .fixed-cart { opacity: 0; visibility: hidden; pointer-events: none; }
.fixed-cart { transition: opacity .16s ease, visibility .16s ease; }
.cart-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #e3ded9; border-radius: 50%; background: #f8f6f4; line-height: 1; }

@media (max-width: 520px) {
  .cart-panel { padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); }
  .cart-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: start; gap: 10px; }
  .cart-item-thumb { grid-row: span 1; }
  .cart-panel .checkout-disabled,
  .cart-panel .stripe-checkout-button { flex: 0 0 auto; min-height: 52px; }
}
@media (max-width: 520px) {
  .cart-item { grid-template-columns: 58px minmax(0,1fr) auto; align-items: center; }
  .cart-item-thumb { grid-row: auto; }
  .cart-item > div:last-child { text-align: right; }
}

/* Shop refresh: lively, local and product-first. */
.shop-page {
  background: #fffdf8;
}
.shop-hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding: 76px 0 66px;
  background:
    radial-gradient(circle at 8% 7%, rgba(255, 224, 127, .96) 0 10%, transparent 30%),
    radial-gradient(circle at 93% 20%, rgba(184, 229, 255, .92) 0 11%, transparent 34%),
    linear-gradient(124deg, #2b1457 0%, #5529a7 48%, #26205f 100%);
}
.shop-hero::before,
.shop-hero::after {
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  border-radius: 44% 56% 56% 44%;
  content: "";
  filter: blur(1px);
}
.shop-hero::before { right: 38%; bottom: -282px; background: #8ce5cd; transform: rotate(24deg); }
.shop-hero::after { right: -166px; top: -160px; background: #ffcc69; transform: rotate(-18deg); }
.hero-grid { position: relative; min-height: 330px; }
.shop-hero h1 { max-width: 720px; letter-spacing: -.075em; }
.shop-hero h1 em { color: #ffda6b; }
.shop-hero .shop-eyebrow { color: #c8fff1; }
.shop-hero p:not(.shop-eyebrow) { max-width: 530px; color: #f4f0ff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-scroll { min-height: 46px; padding: 0 18px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; background: rgba(31, 16, 69, .23); transition: transform .18s ease, background .18s ease; }
.hero-scroll:hover { color: #fff; transform: translateY(-2px); background: rgba(31, 16, 69, .52); }
.hero-scroll-primary { border-color: #ffdc72; color: #261648; background: #ffdc72; }
.hero-scroll-primary:hover { color: #fff; border-color: #9aedda; background: #16796d; }
.hero-scroll span { color: inherit; }
.hero-photo-frame { border: 8px solid rgba(255,255,255,.92); border-radius: 34px; box-shadow: 0 34px 70px rgba(13,6,41,.38); transform: rotate(3deg); }
.hero-photo-badge { border-color: rgba(255,255,255,.65); color: #211145; background: #ffdc72; }
.hero-visual figcaption { color: rgba(255,255,255,.76); }
.trust-bar { position: relative; z-index: 2; background: #fcf6e9; }
.trust-bar > div { justify-content: center; gap: clamp(18px, 3.5vw, 52px); }

.live-stock-section { padding: 46px 0 22px; background: #fffdf8; }
.live-stock-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.live-stock-head .shop-eyebrow { margin-bottom: 7px; color: #8054d7; }
.live-stock-head h2 { max-width: 640px; margin: 0; color: #201342; font-size: clamp(30px, 4vw, 48px); letter-spacing: -.06em; line-height: .98; }
.live-stock-head > a { display: inline-flex; gap: 9px; align-items: center; min-height: 42px; padding: 0 14px; border-radius: 999px; color: #241443; background: #d8f7e4; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.live-stock-head > a:hover { color: #fff; background: #2f966d; }
.live-stock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.live-stock-card { display: grid; grid-template-columns: minmax(118px, .8fr) 1fr; min-height: 228px; overflow: hidden; border: 1px solid rgba(44, 21, 90, .1); border-radius: 24px; color: #21153f; box-shadow: 0 12px 35px rgba(35, 22, 63, .08); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.live-stock-card:hover { color: #21153f; transform: translateY(-5px); box-shadow: 0 20px 42px rgba(35, 22, 63, .16); }
.live-stock-card--1 { background: #e8ddff; }
.live-stock-card--2 { background: #d7f5e7; }
.live-stock-card--3 { background: #ffe6a6; }
.live-stock-card__visual { position: relative; display: grid; place-items: center; min-width: 0; padding: 18px 5px 9px; }
.live-stock-card__visual::before { position: absolute; width: 78%; height: 78%; border-radius: 50%; content: ""; background: rgba(255,255,255,.52); }
.live-stock-card--2 .live-stock-card__visual::before { background: rgba(29, 125, 93, .2); }
.live-stock-card__visual img { position: relative; z-index: 1; width: 100%; height: 180px; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 16px 12px rgba(32, 20, 64, .16)); }
.live-stock-card__copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 20px 17px 20px 3px; }
.live-stock-card__copy span { align-self: flex-start; margin-bottom: 9px; padding: 4px 7px; border-radius: 999px; color: #11674e; background: rgba(255,255,255,.74); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.live-stock-card__copy strong { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.04em; line-height: 1.02; }
.live-stock-card__copy small { min-height: 32px; margin: 9px 0 11px; color: #615775; font-size: 11px; line-height: 1.35; }
.live-stock-card__copy b { font-size: 14px; }
.live-stock-empty { grid-column: 1/-1; margin: 0; padding: 24px; border: 1px dashed #cfc3b7; border-radius: 18px; color: #5e5766; text-align: center; }
.live-stock-loading { display: grid; grid-column: 1/-1; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.live-stock-loading span { height: 228px; border-radius: 24px; background: linear-gradient(100deg, #f2ede7 25%, #fffdfa 45%, #f2ede7 65%); background-size: 200% 100%; animation: shopShimmer 1.4s infinite linear; }
@keyframes shopShimmer { to { background-position: -200% 0; } }

.shop-content { padding-top: 44px; }
.shop-heading { margin-bottom: 25px; }
.shop-heading h2 { color: #211342; }
.cart-trigger { border: 0; color: #201342; background: #ece4ff; }
.cart-trigger span { background: #5d37b3; }
.products { gap: 16px; }
.product-card { border-color: #e3ddd4; background: #fff; }
.product-card:nth-child(3n+1) .product-image { background: radial-gradient(circle at 50% 44%, #fff 0%, #fcf4d8 57%, #f3e9c6 100%); }
.product-card:nth-child(3n+2) .product-image { background: radial-gradient(circle at 50% 44%, #fff 0%, #e9f8f1 57%, #d5eddf 100%); }
.product-card:nth-child(3n) .product-image { background: radial-gradient(circle at 50% 44%, #fff 0%, #f1ebff 57%, #e2d8fa 100%); }
.product-brand { color: #663dbb; }
.add-to-cart { border-radius: 999px; background: #201342; }
.add-to-cart:hover { background: #6a3cc5; }

@media (max-width: 820px) {
  .live-stock-grid { grid-template-columns: 1fr; }
  .live-stock-card { grid-template-columns: 150px 1fr; min-height: 184px; }
  .live-stock-card__visual img { height: 150px; }
}
@media (max-width: 520px) {
  .shop-hero { padding: 52px 0 46px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-scroll { justify-content: center; }
  .live-stock-section { padding-top: 31px; }
  .live-stock-head { align-items: start; flex-direction: column; gap: 13px; }
  .live-stock-head > a { min-height: 38px; }
  .live-stock-card { grid-template-columns: 125px 1fr; min-height: 168px; border-radius: 19px; }
  .live-stock-card__visual { padding: 12px 2px 7px; }
  .live-stock-card__visual img { height: 132px; }
  .live-stock-card__copy { padding: 15px 13px 15px 0; }
  .live-stock-card__copy strong { font-size: 17px; }
  .live-stock-card__copy small { min-height: 0; margin: 6px 0 8px; }
  .live-stock-loading { grid-template-columns: 1fr; }
  .live-stock-loading span:not(:first-child) { display: none; }
}
