:root {
  --ink: #202020;
  --muted: #707070;
  --blue: #2b6ed2;
  --line: #e4e4e4;
  --paper: #f8f8f8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: white;
  color: var(--ink);
  font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #6496da;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.site-header {
  height: 88px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -1px;
}
.brand-mark {
  width: 23px;
  height: 23px;
  border: 4px solid currentColor;
  border-radius: 50%;
  position: relative;
}
.brand-mark:after {
  content: "";
  position: absolute;
  top: -6px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: white;
  transform: rotate(25deg);
}
.brand img {
  width: 130px;
  max-height: 48px;
  object-fit: contain;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 15px;
}
.site-nav > a:hover,
.shop-menu summary:hover {
  color: var(--blue);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.plain-button {
  background: none;
  border: 0;
  padding: 8px;
  font-size: 13px;
}
.region-trigger {
  border-radius: 25px;
  background: #f5f5f5;
  padding: 8px 12px;
}
.cart-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  padding: 9px;
}
.cart-trigger svg {
  width: 25px;
  height: 25px;
}
.cart-count {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  font-size: 10px;
  background: var(--blue);
  color: #fff;
}
.shop-menu {
  position: relative;
}
.shop-menu summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: center;
}
.shop-menu summary::-webkit-details-marker {
  display: none;
}
.shop-menu summary:after {
  content: "⌄";
  font-size: 15px;
}
.shop-links {
  position: absolute;
  left: -30px;
  top: 35px;
  width: 280px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 35px #0001;
}
.shop-links a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  border-radius: 5px;
}
.shop-links a:hover {
  background: #f5f5f5;
}
.shop-links img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.home {
  max-width: 1560px;
  margin: 0 auto;
  padding: 54px 4% 75px;
}
.product-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.product-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 1160/1000;
  background: #e7e5e2;
  color: white;
}
.product-card > a.card-image-link {
  position: absolute;
  inset: 0;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-card:hover img {
  transform: scale(1.02);
}
.card-shade {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, #0002);
  pointer-events: none;
}
.card-copy {
  position: absolute;
  left: 10%;
  right: 8%;
  bottom: 7%;
  pointer-events: none;
}
.card-copy h2 {
  font-size: clamp(25px, 2.5vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1.3px;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.card-copy p {
  font-size: clamp(13px, 1.15vw, 20px);
  line-height: 1.5;
  margin: 0 0 24px;
}
.card-buttons {
  display: flex;
  gap: 18px;
  pointer-events: auto;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 12px;
  border-radius: 30px;
  background: var(--blue);
  border: 1px solid var(--blue);
  color: white;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 30px;
  transition: background 0.2s;
}
.button:hover {
  background: #1d5dbb;
}
.button-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.button-outline:hover {
  background: #ffffff20;
}
.card-buttons .button {
  flex: 1;
  padding: 13px 18px;
  white-space: nowrap;
  min-width: 0;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding: 25px 4%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  color: #747474;
}
.site-footer nav {
  display: flex;
  gap: 24px;
}
.breadcrumb {
  font-size: 12px;
  color: #7c7c7c;
  padding: 25px 5%;
  max-width: 1600px;
  margin: auto;
}
.product-layout {
  max-width: 1500px;
  padding: 10px 5% 60px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 6%;
  margin: auto;
}
.gallery-main {
  position: relative;
  background: #f5f5f5;
  border-radius: 8px;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.gallery-main > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.zoom-button {
  position: absolute;
  bottom: 18px;
  right: 18px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  width: 40px;
  height: 40px;
  font-size: 23px;
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow: auto;
  margin-top: 16px;
  padding: 2px;
}
.gallery-thumbnails button {
  flex: 0 0 70px;
  height: 70px;
  border: 1px solid var(--line);
  padding: 3px;
  border-radius: 5px;
  background: #fff;
}
.gallery-thumbnails button.selected {
  border-color: var(--ink);
}
.gallery-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-info {
  padding: 6px 0;
}
.product-info h1 {
  font-size: clamp(28px, 3vw, 43px);
  font-weight: 500;
  letter-spacing: -1px;
  margin: 5px 0 15px;
}
.product-price {
  font-size: 25px;
  margin: 14px 0;
}
.price-currency {
  font-size: 12px;
  color: var(--muted);
  margin-left: 6px;
}
.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: #636363;
}
.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
  border-block: 1px solid var(--line);
  padding: 20px 0;
}
.highlights span {
  font-size: 12px;
  line-height: 1.6;
}
.highlights span:before {
  content: "◇";
  display: block;
  font-size: 23px;
  color: #666;
  margin-bottom: 8px;
}
.product-options fieldset {
  border: 0;
  padding: 0;
  margin: 23px 0;
}
.product-options legend {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 13px;
}
.option-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.option-button {
  border: 1px solid #d5d5d5;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  font-size: 12px;
  min-width: 42px;
}
.option-button[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  color: var(--blue);
}
.buy-controls {
  display: flex;
  gap: 14px;
  margin-top: 22px;
}
.quantity-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid #ddd;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 14px;
}
.quantity-control button {
  border: 0;
  background: none;
  font-size: 20px;
  padding: 5px;
}
.buy-controls > .button {
  flex: 1;
}
.variant-status {
  font-size: 12px;
  color: var(--muted);
  min-height: 18px;
}
.small-note {
  font-size: 12px;
  color: #777;
  line-height: 1.8;
}
.size-guide-button {
  padding: 0;
  background: none;
  border: 0;
  font-size: 12px;
  color: #646464;
  text-decoration: underline;
}
.product-description-section {
  padding: 45px 6%;
  border-top: 1px solid var(--line);
  max-width: 1500px;
  margin: auto;
}
.product-description-section h2 {
  font-size: 25px;
  font-weight: 500;
}
.product-description-section p {
  line-height: 1.9;
  color: #777;
  font-size: 14px;
  max-width: 900px;
}
.content-page {
  max-width: 1100px;
  padding: 65px 5% 90px;
  margin: auto;
  min-height: 65vh;
}
.content-page > h1 {
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -1.5px;
  margin: 0 0 25px;
}
.content-page > p {
  color: var(--muted);
  line-height: 1.8;
}
.faq {
  border-bottom: 1px solid #ddd;
  padding: 24px 0;
}
.faq summary {
  cursor: pointer;
  font-size: 16px;
}
.faq p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
  max-width: 800px;
}
.support-contact {
  margin-top: 35px;
}
.download-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 35px 0;
}
.download-qr {
  width: 160px;
  height: 160px;
  object-fit: contain;
}
.download-notice {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 20px;
  color: #777;
  font-size: 13px;
}
.cart-line {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line > a > img {
  width: 90px;
  height: 100px;
  object-fit: contain;
  background: #f6f6f6;
  border-radius: 5px;
}
.cart-line h3 {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 8px;
}
.cart-line p {
  font-size: 12px;
  color: #777;
  margin: 0 0 14px;
}
.cart-remove {
  background: none;
  border: 0;
  font-size: 12px;
  text-decoration: underline;
  color: #777;
  padding: 10px 0;
}
.cart-line .quantity-control {
  font-size: 12px;
  gap: 14px;
  padding: 1px 8px;
}
.cart-line .quantity-control button {
  font-size: 15px;
}
.line-total {
  font-size: 15px;
  white-space: nowrap;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  font-size: 22px;
  margin: 30px 0 12px;
}
.cart-actions {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}
.cart-actions > .button {
  flex: 1;
}
.cart-actions > .button-outline {
  color: var(--ink);
  border-color: #ccc;
}
.empty-state {
  text-align: center;
  padding: 70px 15px;
}
.empty-state .empty-symbol {
  font-size: 55px;
  color: #c4c4c4;
}
.empty-state h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 20px 0 30px;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 10px;
  max-width: min(600px, calc(100vw - 24px));
  color: var(--ink);
}
dialog::backdrop {
  background: #0006;
  backdrop-filter: blur(2px);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.modal-header h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 28px;
  padding: 0 5px;
}
.modal-body {
  padding: 25px;
}
.modal-body p {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
}
.cart-drawer {
  margin: 0 0 0 auto;
  inset: 0;
  width: min(500px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  border-radius: 0;
  overflow: auto;
}
.cart-drawer .cart-line {
  grid-template-columns: 75px 1fr auto;
  gap: 14px;
}
.cart-drawer .cart-line > a > img {
  width: 75px;
  height: 85px;
}
.region-options {
  display: grid;
  gap: 12px;
}
.region-options button {
  padding: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  text-align: left;
  font-size: 14px;
}
.region-options button[aria-pressed="true"] {
  border-color: var(--blue);
  color: var(--blue);
}
.image-dialog {
  width: min(850px, 95vw);
  background: #f6f6f6;
}
.image-dialog img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
.image-dialog .icon-button {
  position: absolute;
  right: 12px;
  top: 10px;
  background: white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.error-state {
  padding: 60px;
  text-align: center;
}
#notification {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #222;
  color: white;
  border-radius: 25px;
  padding: 12px 22px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#notification.show {
  opacity: 1;
}
@media (max-width: 1000px) {
  .site-nav {
    gap: 24px;
  }
  .site-header {
    padding: 0 3%;
    gap: 15px;
  }
  .header-actions {
    gap: 10px;
  }
  .home {
    padding: 35px 3% 55px;
  }
  .product-cards {
    gap: 22px;
  }
  .card-copy {
    left: 8%;
    right: 8%;
    bottom: 6%;
  }
  .card-copy h2 {
    font-size: 30px;
  }
  .card-buttons {
    gap: 10px;
  }
  .card-buttons .button {
    padding: 10px 12px;
    font-size: 13px;
    min-height: 42px;
  }
  .card-copy p {
    margin-bottom: 17px;
  }
  .product-layout {
    gap: 4%;
    padding-inline: 4%;
  }
  .highlights {
    gap: 9px;
  }
  .product-description {
    font-size: 13px;
  }
}
@media (max-width: 700px) {
  .site-header {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    padding: 15px 5%;
    gap: 13px;
  }
  .brand {
    font-size: 23px;
  }
  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 35px;
    font-size: 13px;
    border-top: 1px solid #f1f1f1;
    padding-top: 12px;
  }
  .header-actions {
    margin-left: auto;
  }
  .shop-links {
    left: -35px;
    width: 250px;
    top: 28px;
  }
  .product-cards {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .home {
    padding: 26px 5% 45px;
  }
  .product-card {
    aspect-ratio: 1160/1000;
  }
  .card-copy h2 {
    font-size: clamp(28px, 6.8vw, 42px);
  }
  .card-copy p {
    font-size: 14px;
  }
  .card-copy {
    left: 9%;
    right: 9%;
    bottom: 7%;
  }
  .card-buttons .button {
    font-size: 14px;
    min-height: 45px;
  }
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 5%;
  }
  .product-layout {
    grid-template-columns: 1fr;
    padding: 0 5% 40px;
    gap: 30px;
  }
  .gallery-thumbnails button {
    flex-basis: 60px;
    height: 60px;
  }
  .product-info h1 {
    font-size: 32px;
  }
  .product-price {
    font-size: 24px;
  }
  .highlights span {
    font-size: 11px;
  }
  .content-page {
    padding: 40px 5% 60px;
  }
  .cart-line {
    grid-template-columns: 65px 1fr auto;
    gap: 12px;
  }
  .cart-line > a > img {
    width: 65px;
    height: 80px;
  }
  .cart-line h3 {
    font-size: 14px;
  }
  .line-total {
    font-size: 13px;
  }
  .cart-actions {
    flex-direction: column;
  }
  .modal-body {
    padding: 20px;
  }
  .modal-header {
    padding: 20px;
  }
  .download-options {
    flex-direction: column;
  }
  .region-trigger {
    font-size: 11px;
  }
  .breadcrumb {
    padding: 20px 5%;
  }
  .buy-controls {
    gap: 10px;
  }
  .buy-controls > .button {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Homepage hero: full artwork at its native ratio; copy stays in its clear left area. */
.home {
  max-width: none;
  padding: 0;
  margin: 0;
}
.home > .product-cards {
  max-width: 1560px;
  margin: 0 auto;
  padding: 54px 4% 75px;
  scroll-margin-top: 110px;
}
.home-hero {
  position: relative;
  background: #ecebed;
  color: #494541;
  overflow: hidden;
}
.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.hero-copy {
  position: absolute;
  left: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: 51%;
  max-width: 860px;
}
.hero-copy h1 {
  font-size: clamp(26px, 3.1vw, 52px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -1.4px;
  margin: 0 0 24px;
}
.hero-copy h1 span,
.hero-copy p span {
  display: block;
}
.hero-copy p {
  font-size: clamp(13px, 1.2vw, 20px);
  line-height: 1.55;
  margin: 0 0 30px;
}
.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 30px;
  padding: 12px 25px;
  font-size: 14px;
  background: transparent;
  transition: background 0.2s;
}
.hero-button:hover {
  background: #ffffff70;
}
@media (max-width: 1000px) and (min-width: 701px) {
  .hero-copy {
    left: 8%;
    width: 55%;
  }
  .hero-copy h1 {
    font-size: clamp(23px, 3.2vw, 32px);
    margin-bottom: 14px;
  }
  .hero-copy p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero-button {
    padding: 9px 20px;
  }
}
@media (max-width: 700px) {
  .home {
    padding: 0;
  }
  .home > .product-cards {
    padding: 26px 5% 45px;
  }
  .home-hero {
    display: flex;
    flex-direction: column;
  }
  .hero-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 32px 6% 22px;
    order: 0;
  }
  .hero-image {
    order: 1;
  }
  .hero-copy h1 {
    font-size: 28px;
    letter-spacing: -0.7px;
    margin-bottom: 18px;
  }
  .hero-copy p {
    font-size: 14px;
    margin-bottom: 22px;
  }
}
/* Product gallery: zero minimum grid tracks prevent intrinsic image widths
   from pushing the purchase column off screen at 100% browser zoom. */
.product-layout {
  width: 100%;
  max-width: 1440px;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 76px);
  padding: 12px clamp(24px, 4vw, 60px) 70px;
  align-items: start;
}
.product-layout > .gallery,
.product-layout > .product-info {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
.gallery {
  position: sticky;
  top: 112px;
  align-self: start;
}
.gallery-main {
  width: 100%;
  height: clamp(360px, calc(100svh - 250px), 620px);
  min-width: 0;
  aspect-ratio: auto;
  isolation: isolate;
  touch-action: pan-y;
  background: #f6f6f6;
  border: 1px solid #efefef;
  border-radius: 12px;
}
.gallery-main > #main-product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.gallery-thumbnails {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 12px;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d4 transparent;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
}
.gallery-thumbnails button {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 4px;
  opacity: 0.65;
  transition:
    opacity 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.gallery-thumbnails button:hover {
  opacity: 1;
}
.gallery-thumbnails button.selected {
  opacity: 1;
  border-color: #3674ca;
  box-shadow: 0 0 0 1px #3674ca;
}
.gallery-thumbnails img {
  border-radius: 4px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #dedede;
  background: #ffffffed;
  border-radius: 50%;
  box-shadow: 0 2px 10px #0000000a;
  font-size: 28px;
  line-height: 1;
  color: #343434;
  z-index: 2;
  transition: background 0.2s;
}
.gallery-arrow:hover {
  background: white;
}
.gallery-arrow-prev {
  left: 14px;
}
.gallery-arrow-next {
  right: 14px;
}
.gallery-counter {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  background: #ffffffdc;
  color: #666;
  pointer-events: none;
}
.gallery-main .zoom-button {
  bottom: 14px;
  right: 14px;
  background: #ffffffed;
  z-index: 2;
}
.product-info h1 {
  font-size: clamp(29px, 2.6vw, 40px);
  line-height: 1.2;
  overflow-wrap: break-word;
  margin-bottom: 18px;
}
.product-description {
  font-size: 14px;
  line-height: 1.75;
}
.product-info .highlights {
  margin: 22px 0;
  padding: 18px 0;
}
.product-info .buy-controls {
  min-width: 0;
}
.product-info .buy-controls > .button {
  min-width: 0;
  padding-inline: 20px;
}
.product-info .option-list {
  max-width: 100%;
}
.product-info .option-button {
  white-space: normal;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    padding-inline: 24px;
  }
  .gallery-main {
    height: clamp(320px, 48vw, 460px);
  }
  .highlights {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .highlights span:before {
    display: inline;
    margin: 0 8px 0 0;
    font-size: 17px;
  }
  .product-options fieldset {
    margin: 18px 0;
  }
  .option-button {
    padding: 9px;
  }
}
@media (max-width: 700px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 0 5% 40px;
  }
  .gallery {
    position: static;
  }
  .gallery-main {
    height: auto;
    aspect-ratio: 1;
    max-height: 540px;
  }
  .gallery-thumbnails {
    gap: 10px;
    margin-top: 10px;
  }
  .gallery-thumbnails button {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }
  .gallery-arrow {
    width: 34px;
    height: 34px;
    font-size: 25px;
  }
  .gallery-arrow-prev {
    left: 10px;
  }
  .gallery-arrow-next {
    right: 10px;
  }
  .gallery-counter {
    bottom: 15px;
    font-size: 10px;
  }
  .product-info h1 {
    font-size: 30px;
  }
  .gallery-main .zoom-button {
    width: 34px;
    height: 34px;
    bottom: 10px;
    right: 10px;
  }
}

/* H1 color swatches; labels remain editable in products.js. */
.option-list:has(.color-option) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.option-button.color-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 0;
  padding: 12px 5px;
  font-size: 12px;
  line-height: 1.4;
}
.color-square {
  display: block;
  width: 32px;
  height: 32px;
  border: 1px solid #0003;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px #ffffff25;
}
.color-option[aria-pressed="true"] .color-square {
  outline: 2px solid #286cd5;
  outline-offset: 3px;
}

/* Expandable H1 sizing cards. */
.size-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
}
.size-heading h2 {
  font-size: 22px;
  margin: 0;
}
.size-heading .size-guide-button {
  margin: 0;
  color: #286cd5;
  font-size: 15px;
}
.size-description {
  color: #707070;
  line-height: 1.7;
  font-size: 14px;
  margin: 14px 0 20px;
}
.size-choices {
  display: grid;
  gap: 16px;
}
.size-choice {
  border: 1px solid #dedede;
  border-radius: 10px;
  overflow: hidden;
}
.size-choice.is-active {
  border-color: #286eff;
}
.size-choice-heading {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 25px 24px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  color: inherit;
}
.size-choice-content {
  padding: 0 24px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 15px;
}
.size-choice-content[hidden] {
  display: none;
}
.sizing-preview {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.sizing-preview img {
  display: block;
  width: 95px;
  height: 95px;
  object-fit: contain;
}
.size-number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 14px;
}
.size-number-grid .option-button {
  padding: 0;
  width: 100%;
  max-width: 58px;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 17px;
  justify-self: center;
  min-width: 0;
}
.size-guide-dialog {
  width: min(850px, 95vw);
}
.size-guide-image {
  display: block;
  width: 100%;
  height: auto;
}
.size-guide-dialog .modal-body > p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
@media (max-width: 450px) {
  .size-choice-heading {
    padding: 22px 18px;
    font-size: 16px;
  }
  .size-choice-content {
    padding: 0 18px 22px;
  }
  .size-number-grid {
    gap: 18px 12px;
  }
  .size-number-grid .option-button {
    font-size: 15px;
  }
  .size-heading h2 {
    font-size: 21px;
  }
}

/* Interactive package contents; product configuration defines the hotspots. */
.box-contents {
  max-width: 1320px;
  margin: 20px auto 70px;
  padding: 42px 32px 0;
  background: #f6f6f6;
  border-radius: 18px;
  overflow: hidden;
}
.box-contents > h2 {
  text-align: center;
  font-size: clamp(28px, 3vw, 42px);
  margin: 0 0 30px;
  letter-spacing: -1px;
}
.box-item-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  position: relative;
  z-index: 2;
  gap: 12px;
  max-width: 1100px;
  margin: auto;
}
.box-item-label {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  border: 0;
  border-right: 1px solid #ddd;
  background: transparent;
  color: #292929;
  font: inherit;
  font-size: 13px;
  padding: 8px 6px;
  cursor: pointer;
  transition:
    transform 0.22s,
    color 0.22s;
}
.box-item-label:last-child {
  border-right: 0;
}
.box-item-number {
  display: grid;
  place-items: center;
  border: 1px solid #aaa;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 14px;
}
.box-item-label small {
  display: block;
  color: #777;
  margin-top: 5px;
}
.box-item-label.is-highlighted {
  transform: scale(1.09);
  color: #286cd5;
}
.box-item-label.is-highlighted .box-item-number {
  border-color: #286cd5;
  background: #e9f1ff;
}
.box-stage {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 10px auto 0;
}
.box-overview {
  display: block;
  width: 100%;
  height: auto;
}
.box-hotspot {
  position: absolute;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  isolation: isolate;
  transition:
    transform 0.24s,
    box-shadow 0.24s;
  border-radius: 10px;
}
.box-magnify {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s;
}
.box-hotspot.is-highlighted {
  z-index: 3;
  transform: scale(1.1);
  box-shadow: 0 8px 28px #30405a24;
  outline: 1px solid #286cd55a;
}
.box-hotspot.is-highlighted .box-magnify {
  opacity: 1;
}
.box-hotspot:focus-visible,
.box-item-label:focus-visible {
  outline: 2px solid #286cd5;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .box-contents {
    margin: 0 20px 45px;
    padding: 28px 12px 0;
  }
  .box-item-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 5px;
  }
  .box-item-label {
    font-size: 11px;
  }
  .box-item-label:nth-child(3) {
    border-right: 0;
  }
  .box-contents > h2 {
    margin-bottom: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .box-hotspot,
  .box-magnify,
  .box-item-label {
    transition: none;
  }
}

/* Combined uAita symbol and supplied wordmark. */
.brand img {
  width: 180px;
  height: 42px;
  max-height: none;
  object-fit: contain;
  object-position: left center;
}
@media (max-width: 700px) {
  .brand img {
    width: 153px;
    height: 36px;
  }
}
.product-card[data-product-card="h1l"] .card-shade {
  inset: 40% 0 0;
  background: linear-gradient(transparent, #10283ea6);
}
.product-card[data-product-card="h1l"] .card-image-link img {
  object-position: center top;
}
body[data-product="h1l"] .option-list:has(.color-option) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
/* Shop product cards and fullscreen gallery */
.shop-menu summary:after {
  content: none;
}
.shop-chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.22s ease;
  color: #555;
}
.shop-menu[open] .shop-chevron {
  transform: rotate(180deg);
}
.shop-links {
  left: 50%;
  transform: translateX(-50%);
  width: 540px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 16px 50px #00000012;
}
.shop-links a {
  flex-direction: column;
  gap: 8px;
  padding: 14px 8px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s ease;
}
.shop-links img {
  width: 190px;
  height: 175px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}
.shop-links a:hover img {
  transform: scale(1.06);
}
.gallery-main {
  cursor: zoom-in;
}
.gallery-main button {
  cursor: pointer;
}
dialog.image-dialog {
  inset: 0;
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f3;
}
.viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:48px;height:48px;border:1px solid #ddd;border-radius:50%;background:#fffffff0;color:#222;font-size:32px;cursor:pointer}
.viewer-prev{left:20px}
.viewer-next{right:20px}
.viewer-counter{position:absolute;top:24px;left:50%;transform:translateX(-50%);padding:8px 16px;border-radius:24px;background:#fffffff0;font-size:14px;pointer-events:none}
.viewer-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  cursor: default;
}
.image-dialog .viewer-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transform-origin: center;
  pointer-events: none;
  will-change: transform;
}
.viewer-stage.is-zoomed {
  cursor: grab;
}
.viewer-stage.is-zoomed:active {
  cursor: grabbing;
}
.viewer-close {
  position: absolute;
  right: 24px;
  top: 24px;
  z-index: 2;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  background: #ffffffed;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.viewer-controls {
  position: absolute;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 6px;
  border: 1px solid #ddd;
  background: #fffffff0;
  box-shadow: 0 6px 28px #0001;
  border-radius: 40px;
  gap: 4px;
}
.viewer-controls button {
  border: 0;
  background: transparent;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 25px;
  cursor: pointer;
  color: #222;
}
.viewer-controls button:hover {
  background: #eee;
}
.viewer-controls button:disabled {
  opacity: 0.3;
  cursor: default;
}
.viewer-controls [data-zoom="reset"] {
  width: 78px;
  border-radius: 24px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 700px) {
  .site-nav {
    position: relative;
  }
  .shop-menu {
    position: static;
  }
  .shop-links {
    left: 0;
    right: 0;
    top: 40px;
    transform: none;
    width: 100%;
    padding: 10px;
    gap: 6px;
  }
  .shop-links a {
    font-size: 16px;
    padding: 8px 2px 16px;
  }
  .shop-links img {
    width: 150px;
    height: 140px;
  }
  .viewer-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-chevron,
  .shop-links img {
    transition: none;
  }
}
/* The header host must stay sticky: a sticky child cannot escape its short parent. */
#header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}
#header .site-header {
  position: relative;
  top: auto;
}
#product-cards {
  scroll-margin-top: 110px;
}
.account-trigger {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  border-radius: 50%;
  transition:
    background 0.2s,
    color 0.2s;
}
.account-trigger:hover {
  background: #edf3fc;
  color: #2264ca;
}
.account-trigger svg {
  width: 24px;
  height: 24px;
}
.account-page {
  padding: 48px 5% 64px;
  background: #fafaf8;
  min-height: calc(100dvh - 88px);
}
.account-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1180px;
  margin: auto;
  border: 1px solid #e6e5e0;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 70px #29374a08;
}
.account-art {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 48px;
  background: radial-gradient(
    ellipse at 60% 60%,
    #eef2fb 0%,
    #e6eaf2 40%,
    #e2e4e9 100%
  );
}
.account-eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #626d80;
}
.account-art h1 {
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.13;
  letter-spacing: -1.8px;
  margin: 24px 0 0;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.account-orbit {
  position: relative;
  align-self: center;
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.account-orbit:before,
.account-orbit:after {
  content: "";
  position: absolute;
  width: 78%;
  height: 78%;
  border: 1px solid #ffffffb0;
  border-radius: 50%;
  transform: rotate(-30deg) scaleY(0.65);
}
.account-orbit:after {
  width: 100%;
  height: 100%;
  transform: rotate(35deg) scaleY(0.65);
}
.account-orbit img {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 24px 18px #26324a20);
  animation: account-float 6s ease-in-out infinite;
}
.account-art > p {
  margin: auto 0 15px;
  color: #596171;
  font-size: 14px;
}
.account-art > a {
  font-size: 13px;
  border-bottom: 1px solid #8590a0;
  padding-bottom: 5px;
}
.account-art > a span {
  margin-left: 24px;
}
.account-panel {
  padding: 38px 48px;
  align-self: center;
}
.account-back {
  font-size: 12px;
  color: #737780;
  display: inline-block;
  margin-bottom: 36px;
}
.account-tabs {
  display: flex;
  border-bottom: 1px solid #e7e7e7;
  gap: 30px;
  margin-bottom: 32px;
}
.account-tabs button {
  border: 0;
  background: transparent;
  font-size: 14px;
  padding: 0 0 15px;
  color: #8a8d94;
  position: relative;
}
.account-tabs button[aria-selected="true"] {
  color: #2166ce;
}
.account-tabs button[aria-selected="true"]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: #2166ce;
}
.account-panel h2 {
  font-size: 30px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 12px;
  font-weight: 500;
}
.account-intro {
  font-size: 13px;
  line-height: 1.6;
  color: #7a7e86;
  margin-bottom: 28px;
}
.account-form {
  display: grid;
  gap: 19px;
}
.account-form label {
  display: grid;
  gap: 9px;
  font-size: 12px;
  font-weight: 500;
}
.account-form input {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: 1px solid #dedfe3;
  border-radius: 9px;
  padding: 0 14px;
  background: #fdfdfd;
  color: #222;
  font-size: 14px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.account-form input:focus {
  outline: none;
  border-color: #3875d1;
  box-shadow: 0 0 0 3px #3875d112;
}
.account-form input::placeholder {
  color: #a1a4ab;
}
.password-field {
  position: relative;
  display: block;
}
.password-field input {
  padding-right: 62px;
}
.password-toggle {
  position: absolute;
  right: 10px;
  top: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: #667389;
  font-size: 11px;
}
.account-submit {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 6px;
  border-radius: 9px;
  min-height: 49px;
  font-size: 14px;
}
.account-message {
  font-size: 13px;
  line-height: 1.65;
  color: #2861b3;
  margin: 0;
}
.account-message:empty {
  display: none;
}
.account-preview-note {
  font-size: 11px;
  color: #999da5;
  line-height: 1.6;
  margin: 26px 0 0;
}
@keyframes account-float {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}
@media (max-width: 700px) {
  #product-cards {
    scroll-margin-top: 145px;
  }
  .header-actions {
    gap: 10px;
  }
  .account-page {
    padding: 22px 5% 40px;
  }
  .account-shell {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }
  .account-art {
    padding: 28px;
    min-height: 210px;
  }
  .account-art h1 {
    font-size: 30px;
    max-width: 65%;
    margin: 20px 0 22px;
  }
  .account-orbit {
    position: absolute;
    width: 220px;
    right: -45px;
    top: 20px;
  }
  .account-art > p {
    max-width: 65%;
    font-size: 12px;
    position: relative;
    z-index: 1;
  }
  .account-art > a {
    position: relative;
    z-index: 1;
  }
  .account-panel {
    padding: 28px 24px 34px;
  }
  .account-back {
    margin-bottom: 26px;
  }
  .account-panel h2 {
    font-size: 27px;
  }
  .account-tabs {
    margin-bottom: 26px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-orbit img {
    animation: none;
  }
}
/* Match the homepage artwork until the product cards reach the header. */
body[data-page="home"] {
  --hero-header-background: linear-gradient(
    90deg,
    #dddae1 0%,
    #e6e5e9 25%,
    #e6e3e9 50%,
    #e2e0e7 75%,
    #d6d4da 100%
  );
}
#header {
  transition:
    background 0.28s ease,
    box-shadow 0.28s ease;
}
#header .site-header {
  background: transparent;
  transition: border-color 0.28s ease;
}
#header.hero-header {
  background: var(--hero-header-background);
}
#header.hero-header .site-header {
  border-bottom-color: transparent;
}
#header.hero-header .region-trigger {
  background: #ffffff50;
}
.account-trigger {
  width: 38px;
  height: 38px;
  color: #252a32;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}
.account-trigger svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.5;
}
.account-trigger:hover,
.account-trigger:focus-visible {
  color: #2264ca;
  background: #edf3fc;
  border-color: #d8e4f7;
  transform: translateY(-1px);
}
@media (max-width: 700px) {
  body[data-page="home"] .hero-copy {
    background: var(--hero-header-background);
  }
  #header.hero-header .site-nav {
    border-top-color: #00000008;
  }
  .account-trigger {
    width: 32px;
    height: 34px;
  }
  .account-trigger svg {
    width: 24px;
    height: 24px;
  }
}
.checkout-summary-line {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.checkout-summary-line img {
  width: 58px;
  height: 65px;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 8px;
}
.checkout-summary-line strong {
  font-size: 14px;
  font-weight: 500;
}
.checkout-summary-line p {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
  margin: 6px 0 0;
}
.cart-actions > .button:only-child {
  width: 100%;
}

/* No quantity badge for an empty cart. */
[data-cart-count][hidden] { display: none !important; }

/* Match the column count to the actual package items. */
@media (min-width: 701px) {
  .box-item-list {
    grid-template-columns: repeat(var(--box-item-count, 6), minmax(0, 1fr));
  }
}
