/* page: HTML 101 Kickstart */
/* this page's own frame widths (pipeline/responsive.py) */
@media (max-width: 767.98px) { body.page-product { --u: min(calc(var(--vw) / 375), 1.3px); } }
/* Product (HTML 101 Kickstart) — values from the Figma frames (375 mobile base, 1920 desktop from 768px). */
.page-product h1, .page-product h2, .page-product h3, .page-product p, .page-product dl, .page-product dd { margin: 0; }
.page-product h1, .page-product h2 { font-weight: 400; }
.page-product em { font-style: normal; font-weight: 300; }

.pd-hero { display: flex; flex-direction: column; gap: calc(24 * var(--u)); padding: calc(104 * var(--u)) calc(24 * var(--u)) calc(40 * var(--u)); background: #07101e; color: #e6f1f4; }
.pd-media { position: relative; min-height: calc(400 * var(--u)); border-radius: calc(16 * var(--u)); background: url("../../images/12174-9020-raw.jpg") center / cover no-repeat; }
.tag { position: absolute; left: calc(24 * var(--u)); top: calc(24 * var(--u)); padding: calc(6 * var(--u)) calc(12 * var(--u)); border-radius: calc(999 * var(--u)); background: rgba(7, 16, 30, .45); font-size: max(12px, calc(12 * var(--u))); font-weight: 500; line-height: calc(18 * var(--u)); letter-spacing: calc(2.4 * var(--u)); text-transform: uppercase; color: #e6f1f4; }
.pd-details { display: flex; flex-direction: column; gap: calc(24 * var(--u)); }
.pd-crumbs { display: flex; flex-wrap: wrap; gap: calc(8 * var(--u)); font-size: max(12px, calc(14 * var(--u))); line-height: calc(21 * var(--u)); opacity: .55; }
.pd-crumbs a:hover { color: #8fdce0; }
.pd-details h1 { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1.2 * var(--u)); color: #e6f1f4; }
.pd-details h1 em { color: #8fdce0; }
.pd-buy { display: flex; flex-direction: column; align-items: stretch; gap: calc(24 * var(--u)); }
.pd-price { font-size: max(12px, calc(32 * var(--u))); font-weight: 500; line-height: calc(38.4 * var(--u)); letter-spacing: calc(-0.8 * var(--u)); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: calc(56 * var(--u)); padding: 0 calc(28 * var(--u)); border: 0; border-radius: calc(999 * var(--u)); font: inherit; font-size: max(12px, calc(16 * var(--u))); font-weight: 500; line-height: calc(24 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); cursor: pointer; transition: background-color .3s, box-shadow .3s, color .3s; }
.btn-ice-pill { background: #e6f1f4; color: #07101e; }
.btn-ice-pill:hover { background: #8fdce0; box-shadow: 0 0 calc(40 * var(--u)) rgba(143, 220, 224, .35); }
.btn-light-pill { background: #e0e9ec; color: #0b1626; }
.btn-light-pill:hover { box-shadow: inset 0 0 0 calc(1 * var(--u)) #1c7880; }
.pd-summary { font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); opacity: .75; }
.pd-attrs { display: flex; flex-direction: column; }
.pd-attrs > div { display: flex; flex-direction: column; gap: calc(8 * var(--u)); padding: calc(16 * var(--u)) 0; border-bottom: 1px solid rgba(200, 235, 245, .3); }
.pd-attrs > div:last-child { border-bottom: 0; }
.pd-attrs dt { font-size: max(12px, calc(12 * var(--u))); font-weight: 500; line-height: calc(18 * var(--u)); letter-spacing: calc(2.4 * var(--u)); text-transform: uppercase; color: #8fdce0; }
.pd-attrs dd { font-size: max(12px, calc(17 * var(--u))); line-height: calc(25.5 * var(--u)); }

.pd-more { display: flex; flex-direction: column; gap: calc(24 * var(--u)); padding: calc(40 * var(--u)) 0; background: #f0f4f5; }
.pd-more__head { padding: 0 calc(24 * var(--u)); }
.pd-more h2 { font-size: max(12px, calc(32 * var(--u))); line-height: calc(38.4 * var(--u)); letter-spacing: calc(-0.8 * var(--u)); color: #0b1626; }
.pd-more h2 em { color: #1c7880; }
.pd-browse { display: none; }
.pd-browse-m { margin: 0 calc(24 * var(--u)); }
.pd-cards { display: flex; gap: calc(16 * var(--u)); margin: 0; padding: 0 calc(24 * var(--u)); list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pd-cards::-webkit-scrollbar { display: none; }
.card { position: relative; flex: 0 0 calc(280 * var(--u)); min-height: calc(361 * var(--u)); border-radius: calc(16 * var(--u)); overflow: hidden; background: #07101e; color: #e6f1f4; scroll-snap-align: start; }
.card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease, ease); }
.card:hover > img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #07101e00 0%, #07101e00 45%, #07101ef2 100%); pointer-events: none; }
.card .tag { left: calc(20 * var(--u)); top: calc(20 * var(--u)); z-index: 1; }
.card .add { position: absolute; right: calc(20 * var(--u)); top: calc(20 * var(--u)); z-index: 1; width: calc(52 * var(--u)); height: calc(52 * var(--u)); padding: 0; border: 0; background: none; cursor: pointer; transition: transform .4s; }
.card .add:hover { transform: scale(1.08); }
.card .add img { display: block; width: calc(52 * var(--u)); height: calc(52 * var(--u)); }
.card .body { position: absolute; left: calc(20 * var(--u)); right: calc(20 * var(--u)); bottom: calc(20 * var(--u)); z-index: 1; display: flex; flex-direction: column; gap: calc(6 * var(--u)); }
.card h3 { font-size: max(12px, calc(22 * var(--u))); font-weight: 500; line-height: calc(28.6 * var(--u)); letter-spacing: calc(-0.2 * var(--u)); }
.card .price { font-size: max(12px, calc(18 * var(--u))); line-height: calc(27 * var(--u)); opacity: .75; }
.pd-dots { display: flex; gap: calc(6 * var(--u)); padding: 0 calc(24 * var(--u)); }
.pd-dots i { width: calc(8 * var(--u)); height: calc(8 * var(--u)); border-radius: calc(999 * var(--u)); background: #c9d6db; }
.pd-dots i.on { width: calc(24 * var(--u)); background: #07101e; }

@media (min-width: 768px) {
  .pd-hero { flex-direction: row; align-items: center; gap: calc(120 * var(--u)); padding: calc(200 * var(--u)) calc(240 * var(--u)) calc(104 * var(--u)); }
  .pd-media { width: calc(560 * var(--u)); min-height: calc(747 * var(--u)); flex-shrink: 0; background-image: url("../../images/12153-3009-raw.jpg"); }
  .pd-details { flex: 1 1 0; min-width: 0; gap: calc(32 * var(--u)); }
  .pd-details h1 { font-size: max(12px, calc(56 * var(--u))); line-height: calc(67.2 * var(--u)); letter-spacing: calc(-1.7 * var(--u)); }
  .pd-buy { flex-direction: row; align-items: center; }
  .pd-price { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
  .pd-summary { width: calc(666 * var(--u)); font-size: max(12px, calc(18 * var(--u))); line-height: calc(27 * var(--u)); }
  .pd-attrs { width: calc(760 * var(--u)); border-top: 1px solid rgba(200, 235, 245, .3); }
  .pd-attrs > div { flex-direction: row; gap: calc(24 * var(--u)); border-bottom: 1px solid rgba(200, 235, 245, .3); }
  .pd-attrs > div:last-child { border-bottom: 0; }
  .pd-attrs dt { width: calc(166 * var(--u)); flex-shrink: 0; }

  .pd-more { gap: calc(48 * var(--u)); padding: calc(104 * var(--u)) calc(240 * var(--u)); }
  .pd-more__head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0; }
  .pd-more h2 { font-size: max(12px, calc(40 * var(--u))); line-height: calc(48 * var(--u)); letter-spacing: calc(-1 * var(--u)); }
  .pd-browse { display: inline-flex; }
  .pd-browse-m, .pd-dots { display: none; }
  .pd-cards { gap: calc(40 * var(--u)); padding: 0; overflow: visible; }
  .card { flex: 0 0 calc(330 * var(--u)); min-height: calc(500 * var(--u)); }
}

/* Two-colour headings: the accent is the heading's colour (as in Figma); the plain words override it. */
.page-product h1, .page-product h2 { color: var(--acc, #1c7880); }
.page-product h1 em, .page-product h2 em { color: inherit; }

.pd-details h1 { --acc: #8fdce0; } .pd-details h1 .w { color: #e6f1f4; } .pd-more h2 .w { color: #0b1626; }
@media (max-width: 767.98px) { .card h3 { font-size: max(12px, calc(18 * var(--u))); line-height: calc(23.4 * var(--u)); } }
