@import url("/static/fonts.css");
:root {
  --bg: #080e17;
  --panel: #101a28;
  --panel2: #152235;
  --gold: #d6b875;
  --gold-light: #efdab0;
  --red: #d73346;
  --text: #f7f5ee;
  --muted: #97a4b5;
  --line: #253143;
  --radius: 12px;
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
input,
select,
textarea {
  width: 100%;
  background: #0c1521;
  border: 1px solid #354156;
  border-radius: 7px;
  padding: 12px;
  color: var(--text);
  min-height: 46px;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
textarea {
  resize: vertical;
  min-height: 105px;
}
input[type="checkbox"] {
  width: 20px;
  min-height: 20px;
  accent-color: var(--gold);
  flex-shrink: 0;
}
label {
  display: grid;
  gap: 7px;
  color: #d3d9e2;
  font-size: 13px;
}
img {
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin: 0 0 16px;
}
h1,
h2,
h3 {
  line-height: 1.13;
  letter-spacing: -0.045em;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}
small,
.small {
  font-size: 12px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.gold {
  color: var(--gold);
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 15px;
  z-index: 100;
  background: var(--gold);
  color: #111;
  padding: 15px;
}
.skip-link:focus {
  top: 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 20px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--gold);
  color: #101722;
}
.primary:hover {
  background: var(--gold-light);
}
.subtle {
  background: #121d2b;
  border-color: #354050;
}
.danger {
  background: #581d2b;
  border-color: #993349;
}
.text-button {
  background: none;
  border: 0;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
  min-height: 44px;
}
.text-button:hover {
  color: var(--gold);
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  height: 44px;
  border: 0;
  background: none;
  font-size: 26px;
  border-radius: 7px;
}
.pill {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font-size: 11px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.announcement {
  background: #122135;
  border-bottom: 1px solid #263346;
  display: flex;
  justify-content: center;
  gap: 70px;
  padding: 9px 20px;
  color: #c4cbd4;
  font-size: 9px;
  letter-spacing: 1.5px;
}
.site-header {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 24px 5%;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -0.5px;
}
.brand small {
  display: block;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 3px;
}
.brand-symbol {
  display: inline-grid;
  place-content: center;
  position: relative;
  font-size: 33px;
  line-height: 1;
  color: var(--gold);
  width: 44px;
  height: 46px;
  transform: skew(-7deg);
  border: 1px solid #6b5d40;
  border-radius: 9px;
}
.brand-symbol span {
  font-size: 10px;
  position: absolute;
  right: 4px;
  top: 4px;
  color: var(--red);
}
.brand-symbol:has(img) {
  width: 65px;
  height: 55px;
  transform: none;
  border: 0;
}
.brand-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.search-box {
  display: flex;
  align-items: center;
  background: #111c2a;
  border: 1px solid #263447;
  border-radius: 6px;
  padding: 0 14px;
  flex: 1;
  gap: 10px;
  max-width: 530px;
  margin-left: auto;
}
.search-box > span {
  font-size: 26px;
  color: var(--muted);
}
.search-box input {
  background: none;
  border: 0;
  padding: 12px 0;
  font-size: 12px;
  min-width: 0;
  outline-offset: 4px;
}
.search-box kbd {
  color: #748094;
  border: 1px solid #3a4655;
  font: 8px Arial;
  padding: 3px 4px;
  border-radius: 3px;
}
.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}
.action-text {
  font-size: 12px;
}
.cart-button {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 0;
  background: none;
  font-size: 12px;
  min-height: 44px;
  white-space: nowrap;
}
.cart-button b {
  display: grid;
  place-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: #0d1520;
  width: 23px;
  height: 23px;
  font-size: 11px;
}
.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  padding: 0 5%;
  height: 54px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  white-space: nowrap;
}
.main-nav button {
  border: 0;
  background: none;
  color: #a8b2bf;
  height: 54px;
  font-size: 11px;
  padding: 0;
}
.main-nav a.active {
  color: var(--gold);
  height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--gold);
}
.nav-contact {
  margin-left: auto;
  color: var(--gold);
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #73bc98;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 5px;
  box-shadow: 0 0 10px #73bc9840;
}
.hero {
  display: block;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 77% 33%, #172c49 0, transparent 52%),
    linear-gradient(125deg, #0d1725 30%, #0a1320 90%);
  padding: 58px 7% 38px;
}
.hero-copy {
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.hero .eyebrow {
  color: #adb9c8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 9px;
  margin: 0 0 25px;
}
.hero .eyebrow span {
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  font-size: clamp(48px, 5.8vw, 83px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -4px;
  margin-bottom: 26px;
}
.hero h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero-description {
  color: #a7b3c4;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 26px;
}
.hero .button {
  min-width: 195px;
  justify-content: space-between;
}
.hero-footnote {
  font-size: 9px;
  color: #8795a9;
  margin-top: 18px;
}
.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-shirt {
  width: 540px;
  max-width: 120%;
  position: absolute;
  z-index: 2;
  transform: rotate(-10deg);
  filter: drop-shadow(15px 30px 30px #0007);
  top: -45px;
}
.hero-orbit {
  position: absolute;
  width: 410px;
  height: 410px;
  border: 1px solid #b59b5940;
  border-radius: 50%;
  background: radial-gradient(circle, #d6b8750d, transparent 65%);
  transform: rotate(-30deg);
  z-index: 1;
}
.hero-orbit:after {
  content: "";
  position: absolute;
  inset: 25px;
  border: 1px dashed #61748c55;
  border-radius: 50%;
}
.vertical-note {
  position: absolute;
  right: -16px;
  top: 90px;
  writing-mode: vertical-rl;
  letter-spacing: 5px;
  font-size: 9px;
  color: #7f8d9f;
  z-index: 4;
}
.hero-label {
  z-index: 4;
  position: absolute;
  bottom: 0;
  left: 35px;
  background: #0d1928dc;
  backdrop-filter: blur(10px);
  border: 1px solid #3c4653;
  padding: 15px 20px;
  font-size: 9px;
  letter-spacing: 2px;
  border-radius: 4px;
  transform: rotate(-3deg);
}
.hero-label small {
  display: block;
  color: #7d8d9f;
  font-size: 7px;
  letter-spacing: 1px;
  margin: 5px 0 0 12px;
}
.hero-number {
  position: absolute;
  font-size: 240px;
  font-weight: 900;
  opacity: 0.035;
  bottom: -40px;
  right: -10px;
  letter-spacing: -25px;
  z-index: 0;
}
.benefits {
  padding: 24px 6%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  gap: 20px;
  background: #0e1723;
}
.benefits > div {
  display: flex;
  gap: 13px;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #2b3542;
}
.benefits > div:last-child {
  border: 0;
}
.benefits > div > span {
  font-size: 24px;
  color: var(--gold);
  font-weight: 400;
}
.benefits p {
  margin: 0;
}
.benefits b {
  font-size: 11px;
  font-weight: 600;
}
.benefits small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  margin-top: 3px;
}
.catalog-section {
  padding: 62px 5%;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 28px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > p {
  font-size: 11px;
  margin: 0 0 4px;
}
.demo-notice {
  font-size: 10px;
  color: #c6b186;
  background: #c7a2590c;
  border: 1px solid #c7a25933;
  padding: 10px 13px;
  border-radius: 5px;
  margin-bottom: 22px;
}
.catalog-tabs {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: #364254 transparent;
}
.catalog-tabs button {
  border: 1px solid #283448;
  border-radius: 5px;
  padding: 10px 16px;
  min-height: 43px;
  background: none;
  white-space: nowrap;
  font-size: 11px;
  color: #a8b2c0;
  display: flex;
  align-items: center;
  gap: 7px;
}
.catalog-tabs button.active {
  color: #0e1724;
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 700;
}
.category-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 5px 0 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.catalog-toolbar > .button {
  font-size: 11px;
  min-height: 40px;
  padding: 9px 13px;
}
.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  margin-left: auto;
  white-space: nowrap;
  color: var(--muted);
}
.sort-label select {
  font-size: 11px;
  width: 160px;
  min-height: 40px;
  padding: 8px;
  background: transparent;
}
.catalog-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
}
.filter-title {
  font-size: 9px;
  letter-spacing: 1.7px;
  font-weight: 700;
  margin: 5px 0 25px;
}
.filter-group {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.filter-group summary {
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 0;
}
.filter-group label {
  display: flex;
  flex-direction: row;
  gap: 9px;
  align-items: center;
  font-size: 11px;
  margin-top: 12px;
  line-height: 1.4;
}
.filter-group input {
  width: 15px;
  min-height: 15px;
  height: 15px;
}
.filter-group .count {
  color: #66788f;
  margin-left: auto;
}
.filter-help {
  font-size: 10px;
  line-height: 1.8;
  color: #7f8da0;
  margin-top: 20px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
}
.product-card {
  min-width: 0;
  position: relative;
}
.product-image {
  display: block;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 42%, #e9ebed, #d7dade 90%);
  height: auto;
  aspect-ratio: 0.85;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 9px 5px;
  transition: transform 0.35s;
}
.product-image:hover img {
  transform: none;
}
.product-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 80%;
  z-index: 1;
}
.badge {
  display: inline-block;
  background: #0c1728;
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.7px;
  padding: 5px 7px;
  border-radius: 3px;
  font-weight: 600;
}
.badge.stock {
  background: #d6b875;
  color: #172335;
}
.badge.demo {
  background: #fff9;
  color: #344252;
  border: 1px solid #bdc5ce;
}
.favorite {
  position: absolute;
  top: 10px;
  right: 9px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #ffffffb3;
  color: #152235;
  border: 0;
  font-size: 21px;
  display: grid;
  place-content: center;
  z-index: 2;
}
.favorite.saved {
  color: #bd1c34;
}
.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #8c9bb0;
  margin-top: 15px;
  text-transform: uppercase;
}
.product-card h3 {
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 6px 0 6px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.product-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-light);
}
.product-bottom .text-button {
  font-size: 10px;
  min-height: 35px;
  padding: 3px 0;
}
.product-sizes {
  font-size: 9px;
  color: #8492a4;
  margin-top: 7px;
}
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state > span {
  display: block;
  font-size: 50px;
  color: var(--gold);
}
.empty-state h3 {
  color: var(--text);
}
.how-section {
  padding: 60px 8%;
  background: #0e1928;
  border-block: 1px solid var(--line);
}
.how-section h2 {
  font-size: 30px;
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 32px;
  margin-bottom: 25px;
}
.how-grid b {
  color: var(--gold);
  font-size: 12px;
  display: block;
  margin-bottom: 18px;
}
.how-grid h3 {
  font-size: 17px;
}
.how-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
footer {
  padding: 45px 6% 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 45px;
}
.footer-brand {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.7px;
}
.footer-top p {
  color: var(--muted);
  font-size: 11px;
  margin-top: 14px;
}
.footer-top .eyebrow {
  font-size: 9px;
}
.footer-top #footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 8px;
}
.footer-top #footer-links button {
  text-align: left;
  padding: 4px 0;
  font-size: 10px;
  min-height: 28px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin-top: 35px;
  color: #78879b;
  font-size: 10px;
}
dialog {
  background: #0c1522;
  color: var(--text);
  border: 1px solid #354358;
  border-radius: 12px;
  padding: 0;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 40px);
  box-shadow: 0 25px 100px #0009;
}
dialog::backdrop {
  background: #020610c7;
  backdrop-filter: blur(5px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.close-dialog {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 5;
  background: #0c1522cd;
  color: white;
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 28px 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #0c1522;
  z-index: 5;
}
.dialog-header h2 {
  font-size: 26px;
  margin: 0;
}
.dialog-header .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.dialog-header .close-dialog {
  position: static;
}
.dialog-header h2 span {
  font-size: 15px;
  color: var(--muted);
  margin-left: 8px;
}
.product-dialog {
  width: 1000px;
}
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.product-gallery {
  min-width: 0;
  padding: 25px;
  background: #e0e3e7;
  color: #111;
}
.main-product-photo {
  width: 100%;
  height: 400px;
  object-fit: contain;
}
.gallery-thumbs {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-top: 15px;
}
.gallery-thumbs button {
  border: 1px solid #a4acb7;
  border-radius: 5px;
  background: #f1f2f3;
  min-width: 65px;
  width: 65px;
  height: 75px;
  padding: 0;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-thumbs button.active {
  border: 2px solid #1e304b;
}
.product-info {
  min-width: 0;
  padding: 40px 30px 30px;
}
.product-info h2 {
  font-size: 30px;
  margin: 12px 0 16px;
}
.detail-price {
  font-size: 28px;
  color: var(--gold);
}
.detail-description {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  white-space: pre-line;
}
.detail-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.product-options {
  display: grid;
  gap: 18px;
}
.option-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 8px;
}
.option-title .text-button {
  font-size: 11px;
  min-height: 25px;
  padding: 0;
}
.size-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-buttons button {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: normal;
  min-width: 45px;
  min-height: 42px;
  background: none;
  border: 1px solid #3c495c;
  border-radius: 5px;
  padding: 8px;
  font-size: 12px;
}
.size-buttons button.selected {
  background: var(--gold);
  color: #101722;
  border-color: var(--gold);
  font-weight: 700;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.custom-fields {
  display: grid;
  grid-template-columns: 1fr 85px;
  gap: 12px;
}
.custom-fields .full {
  grid-column: 1/-1;
}
.full {
  grid-column: 1/-1;
}
.detail-add {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}
.detail-add input {
  width: 75px;
}
.detail-add button {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  flex: 1;
}
.form-error {
  color: #ff9aa8;
  font-size: 12px;
  margin: 10px 0;
  white-space: pre-line;
}
.stock-info {
  border: 1px solid #40513e;
  color: #b5c9ab;
  padding: 12px;
  font-size: 11px;
  border-radius: 6px;
}
.info-dialog {
  width: 700px;
  padding: 38px;
}
.info-dialog h2 {
  padding-right: 25px;
  font-size: 26px;
}
.info-body {
  white-space: pre-line;
  line-height: 1.9;
  color: #b4bfcd;
  font-size: 14px;
}
.info-dialog img {
  max-height: 65vh;
  object-fit: contain;
}
.cart-dialog {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  margin: 0 0 0 auto;
  border-radius: 12px 0 0 12px;
  height: 100dvh;
  max-height: 100dvh;
  width: 570px;
  max-width: 100vw;
}
.cart-body {
  padding: 22px 26px;
}
.cart-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item > img {
  width: 78px;
  height: 95px;
  object-fit: contain;
  background: #e0e3e6;
  border-radius: 6px;
}
.cart-item h3 {
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 2px 0 5px;
}
.cart-item .reference {
  font-size: 9px;
  letter-spacing: 0.7px;
  color: var(--gold);
}
.cart-item p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0;
}
.cart-line-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.quantity-control {
  display: flex;
  border: 1px solid #354156;
  border-radius: 5px;
  align-items: center;
}
.quantity-control button {
  background: none;
  border: 0;
  min-width: 32px;
  min-height: 35px;
  font-size: 17px;
}
.quantity-control span {
  font-size: 11px;
  min-width: 20px;
  text-align: center;
}
.cart-item .text-button {
  font-size: 10px;
  padding: 5px;
  min-height: 35px;
}
.cart-item .price {
  font-size: 13px;
}
.cart-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  padding: 14px 0;
}
.cart-note.gold {
  color: var(--gold);
}
.shipping-box {
  padding: 17px;
  background: #111e2e;
  border: 1px solid var(--line);
  border-radius: 7px;
  margin: 20px 0;
}
.shipping-box h3 {
  font-size: 14px;
  letter-spacing: 0;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.totals {
  margin: 22px 0;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  color: #b0bdce;
}
.totals dd {
  margin: 0;
  font-weight: 600;
  white-space: nowrap;
}
.totals > div.gold {
  color: var(--gold);
}
.totals .grand-total,
.totals > div:last-child {
  padding: 17px 0 0;
  margin-top: 10px;
  border-top: 1px solid #354259;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
}
.wide {
  width: 100%;
}
.cart-checkout {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.cart-checkout h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.cart-checkout .intro {
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 23px;
}
.cart-review {
  border: 1px solid #766643;
  background: #d6b87508;
  padding: 18px;
  border-radius: 8px;
  margin: 22px 0;
}
.cart-review h3 {
  font-size: 20px;
}
.review-address {
  font-size: 12px;
  white-space: pre-line;
  color: #b6c2d0;
  line-height: 1.8;
}
.success-panel {
  border: 1px solid #4e745e;
  background: #658a6b12;
  padding: 22px;
  border-radius: 8px;
  margin: 20px 0;
}
.success-panel h3 {
  font-size: 20px;
}
.success-panel p {
  font-size: 12px;
  color: #bdccbe;
}
.success-panel textarea {
  font-size: 11px;
  min-height: 180px;
  margin-top: 14px;
}
.success-panel .button {
  margin-top: 10px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 30px);
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  background: #e4c991;
  color: #142035;
  padding: 13px 22px;
  border-radius: 7px;
  box-shadow: 0 5px 30px #0008;
  max-width: 90vw;
  width: max-content;
  font-size: 12px;
  z-index: 100;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.admin-header {
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.admin-header > div {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.admin-main {
  padding: 40px 5% 80px;
  max-width: 1600px;
  margin: auto;
}
.admin-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.admin-intro h1 {
  font-size: 34px;
  margin-bottom: 0;
}
.admin-intro .eyebrow {
  margin-bottom: 12px;
}
.admin-tabs {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  white-space: nowrap;
}
.admin-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 13px 0 16px;
  background: none;
  font-size: 12px;
  color: var(--muted);
}
.admin-tabs button.active {
  color: var(--gold);
  border-color: var(--gold);
}
.admin-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.admin-tools input {
  max-width: 300px;
}
.admin-tools .spacer {
  flex: 1;
}
.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
.admin-table th {
  font-size: 10px;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: #142032;
  padding: 13px;
}
.admin-table td {
  padding: 12px;
  border-top: 1px solid var(--line);
}
.admin-table td:first-child {
  width: 35px;
}
.admin-table img {
  width: 40px;
  height: 50px;
  object-fit: contain;
  background: #cdd3db;
  border-radius: 4px;
  vertical-align: middle;
  margin-right: 10px;
}
.admin-table .name-cell {
  min-width: 240px;
  max-width: 400px;
  white-space: normal;
}
.admin-table .name-cell button {
  font-size: 12px;
  text-align: left;
  padding: 0;
  color: var(--text);
}
.admin-table .name-cell small {
  font-size: 9px;
  display: block;
  color: var(--muted);
}
.login-panel {
  max-width: 430px;
  margin: 70px auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.login-panel h1 {
  font-size: 32px;
}
.login-panel form {
  margin: 25px 0;
}
.login-panel .button {
  width: 100%;
}
.login-panel code {
  font-size: 10px;
  overflow-wrap: anywhere;
}
.panel-box {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0d1724;
  margin-bottom: 24px;
}
.panel-box h2 {
  font-size: 22px;
  margin-bottom: 18px;
}
.panel-box h3 {
  font-size: 17px;
}
.panel-box > p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.panel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.bulk-panel {
  padding: 20px;
  border: 1px solid #695b3e;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #b89a5210;
}
.editor-dialog {
  width: 1050px;
}
.editor-body {
  padding: 25px;
}
.editor-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 30px;
}
.editor-grid section {
  min-width: 0;
}
.editor-grid h3 {
  font-size: 18px;
  margin: 15px 0 20px;
}
.editor-grid .form-grid {
  gap: 15px;
}
#reviewed-patches,
#reviewed-patches [data-review-option] {
  min-width: 0;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
#reviewed-patches legend {
  padding: 0 6px;
  color: var(--gold-light);
}
#review-fields > label {
  margin: 14px 0;
}
#reviewed-patches .form-grid > label:has([data-review-competition]) {
  grid-column: 1 / -1;
}
#reviewed-patches .checkbox-grid {
  max-height: none;
}
.checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.checkbox-grid label {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-editor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 15px 0;
}
.gallery-tile {
  border: 1px solid #354259;
  border-radius: 6px;
  background: #152132;
  overflow: hidden;
  position: relative;
  min-width: 0;
}
.gallery-tile[draggable="true"] {
  cursor: grab;
}
.gallery-tile img {
  width: 100%;
  height: 115px;
  object-fit: contain;
  background: #e0e4e8;
  display: block;
}
.gallery-tile small {
  padding: 3px 5px;
  font-size: 9px;
  display: block;
  color: var(--gold);
}
.gallery-tile .tile-actions {
  display: flex;
  justify-content: space-between;
}
.tile-actions button {
  font-size: 12px;
  background: none;
  border: 0;
  min-height: 32px;
  min-width: 28px;
  padding: 3px;
  color: var(--muted);
}
.gallery-tile.selected {
  outline: 2px solid var(--gold);
}
.asset-library {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  max-height: 65vh;
  overflow: auto;
}
.asset-library label {
  cursor: pointer;
  display: block;
}
.asset-library .gallery-tile img {
  height: 130px;
}
.asset-library small {
  overflow-wrap: anywhere;
}
.editor-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  margin-top: 25px;
  position: sticky;
  bottom: 0;
  background: #0c1522;
  z-index: 2;
}
.upload-status {
  padding: 12px;
  background: #142437;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 10px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.upload-status:empty {
  display: none;
}
progress {
  width: 100%;
  accent-color: var(--gold);
  height: 10px;
}
.category-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 80px 85px 1fr 40px;
  gap: 10px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.category-row input,
.category-row select {
  font-size: 11px;
  padding: 9px;
  min-height: 42px;
}
.category-row label {
  font-size: 10px;
}
.settings-form {
  display: grid;
  gap: 20px;
}
.settings-form .panel-box {
  margin: 0;
}
.inline-list {
  display: grid;
  gap: 12px;
  margin: 15px 0;
}
.list-row {
  display: flex;
  align-items: end;
  gap: 10px;
}
.list-row label {
  flex: 1;
}
.list-row button {
  flex-shrink: 0;
}
.order-card {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 8px;
  margin: 15px 0;
  background: #101a28;
}
.order-card summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  flex-wrap: wrap;
}
.order-card summary strong {
  color: var(--gold);
}
.order-card summary span {
  font-size: 12px;
  color: var(--muted);
}
.order-card .order-detail {
  padding-top: 20px;
}
.order-card .form-grid {
  margin-bottom: 20px;
}
.order-card p {
  font-size: 12px;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.order-card select {
  width: auto;
}
.order-summary {
  max-width: 850px;
  padding: 60px 25px;
  margin: auto;
}
.order-summary h1 {
  font-size: 30px;
  overflow-wrap: anywhere;
}
.order-summary > p {
  font-size: 13px;
  line-height: 1.8;
}
.summary-line {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.summary-line img {
  width: 90px;
  height: 110px;
  object-fit: contain;
  background: #dbe0e4;
  border-radius: 6px;
}
.summary-line h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.summary-line .eyebrow {
  font-size: 9px;
  margin-bottom: 7px;
}
.summary-line p {
  font-size: 12px;
  margin-bottom: 4px;
}
.summary-line small {
  font-size: 10px;
  color: var(--muted);
}
.summary-line strong {
  margin-left: auto;
  white-space: nowrap;
}
.admin-message {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.8;
}
.upload-label input {
  padding: 10px;
  font-size: 11px;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.warning {
  color: #e8c783;
  background: #a7802510;
  border: 1px solid #a7802540;
  border-radius: 6px;
  padding: 12px;
  font-size: 12px;
}
.size-guide-image {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
}
@media (min-width: 1100px) {
  #filter-toggle {
    display: none;
  }
  .catalog-layout.hide-filters {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1500px) {
  .hero {
    padding-inline: max(7%, calc((100vw - 1400px) / 2));
  }
  .catalog-section {
    max-width: 1550px;
    margin: auto;
  }
  .hero h1 {
    font-size: 86px;
  }
  .hero-shirt {
    width: 580px;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
    padding-inline: 4%;
  }
  .header-actions {
    gap: 5px;
  }
  .brand {
    font-size: 13px;
  }
  .search-box {
    max-width: 400px;
  }
  .main-nav {
    gap: 24px;
    padding-inline: 4%;
    overflow: auto;
  }
  .nav-contact {
    display: none;
  }
  .hero {
    padding-inline: 6%;
    min-height: 520px;
  }
  .hero-shirt {
    width: 470px;
    max-width: 130%;
    top: -5px;
  }
  .hero-orbit {
    width: 330px;
    height: 330px;
  }
  .hero-label {
    left: 0;
    bottom: 10px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filters {
    display: none;
  }
  .filters.visible {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    background: #101c2c;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 7px;
  }
  .filter-title,
  .filter-help {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .benefits {
    padding-inline: 4%;
    gap: 8px;
  }
  .benefits small {
    font-size: 8px;
  }
  .benefits b {
    font-size: 10px;
  }
  .category-row {
    grid-template-columns: 1fr 1fr 70px 80px 1fr 40px;
  }
}
@media (max-width: 700px) {
  .desktop-only {
    display: none !important;
  }
  .announcement {
    font-size: 7px;
    letter-spacing: 1.1px;
    padding: 8px 7px;
  }
  .site-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 13px;
    padding: 15px 5%;
  }
  .brand {
    font-size: 13px;
    gap: 9px;
    letter-spacing: -0.5px;
  }
  .brand small {
    font-size: 6px;
    letter-spacing: 2.3px;
  }
  .brand-symbol {
    width: 34px;
    height: 36px;
    font-size: 26px;
  }
  .brand-symbol span {
    font-size: 8px;
  }
  .header-actions {
    gap: 7px;
  }
  .cart-button {
    gap: 6px;
    font-size: 22px;
    padding: 0;
  }
  .cart-button b {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .header-actions .icon-button {
    min-width: 33px;
    font-size: 25px;
  }
  .search-box {
    grid-column: 1/-1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 12px;
  }
  .search-box input {
    font-size: 11px;
    min-height: 42px;
  }
  .main-nav {
    height: 45px;
    gap: 24px;
    padding-inline: 5%;
    font-size: 10px;
  }
  .main-nav button,
  .main-nav a.active {
    height: 45px;
    font-size: 10px;
  }
  .hero {
    min-height: 0;
    padding: 32px 6% 26px;
    grid-template-columns: 1fr 0.65fr;
    gap: 0;
  }
  .hero .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
    margin-bottom: 20px;
    white-space: nowrap;
  }
  .hero .eyebrow span {
    width: 12px;
  }
  .hero h1 {
    font-size: clamp(39px, 9.6vw, 64px);
    letter-spacing: -2px;
    margin-bottom: 20px;
    line-height: 1.05;
  }
  .hero-description {
    font-size: 11px;
    line-height: 1.8;
    max-width: 230px;
    margin-bottom: 20px;
  }
  .hero .button {
    font-size: 11px;
    padding: 12px 14px;
    min-width: 174px;
    min-height: 44px;
  }
  .hero-footnote {
    font-size: 7px;
    line-height: 1.8;
    max-width: 225px;
    margin: 12px 0 0;
  }
  .hero-visual {
    min-height: 280px;
    align-self: center;
    margin-left: -10px;
    z-index: 0;
  }
  .hero-shirt {
    width: 310px;
    min-width: 310px;
    max-width: unset;
    top: -25px;
    left: -60px;
    transform: rotate(-12deg);
  }
  .hero-orbit {
    width: 220px;
    height: 220px;
    left: -14px;
    top: 3px;
  }
  .vertical-note {
    font-size: 6px;
    letter-spacing: 3px;
    right: -7px;
    top: 40px;
  }
  .hero-label {
    font-size: 6px;
    letter-spacing: 0.8px;
    padding: 9px;
    bottom: 22px;
    left: -15px;
    white-space: nowrap;
  }
  .hero-label small {
    font-size: 4px;
    letter-spacing: 0.4px;
    margin-left: 8px;
  }
  .hero-number {
    font-size: 160px;
    bottom: 5px;
    right: -15px;
  }
  .benefits {
    grid-template-columns: 1fr 1fr;
    padding: 18px 6%;
    gap: 18px 10px;
  }
  .benefits > div {
    justify-content: start;
    border: 0;
  }
  .benefits > div > span {
    font-size: 21px;
    width: 25px;
  }
  .benefits b {
    font-size: 10px;
  }
  .benefits small {
    font-size: 8px;
  }
  .catalog-section {
    padding: 35px 5%;
  }
  .section-heading {
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 27px;
  }
  .section-heading .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
  }
  .section-heading > p {
    font-size: 9px;
    max-width: 65px;
    text-align: right;
  }
  .demo-notice {
    font-size: 9px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  .catalog-tabs {
    gap: 6px;
    padding-bottom: 14px;
  }
  .catalog-tabs button {
    font-size: 10px;
    padding: 9px 12px;
    min-height: 40px;
  }
  .catalog-toolbar {
    gap: 2px;
    flex-wrap: wrap;
    margin-bottom: 19px;
    padding-bottom: 14px;
  }
  .catalog-toolbar .text-button {
    font-size: 9px;
    padding: 9px;
  }
  .catalog-toolbar > .button {
    font-size: 10px;
    padding: 8px 10px;
  }
  .sort-label {
    font-size: 0;
    gap: 0;
  }
  .sort-label select {
    font-size: 9px;
    width: 127px;
    padding: 8px 4px;
    min-height: 38px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .product-image {
    border-radius: 6px;
    aspect-ratio: 0.78;
  }
  .product-image img {
    padding: 9px 0;
  }
  .product-badges {
    left: 7px;
    top: 7px;
    max-width: 70%;
    gap: 3px;
  }
  .badge {
    font-size: 6px;
    padding: 4px 5px;
    letter-spacing: 0.3px;
  }
  .favorite {
    top: 7px;
    right: 6px;
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 18px;
  }
  .product-meta {
    font-size: 7px;
    letter-spacing: 0.6px;
    margin-top: 11px;
    align-items: start;
  }
  .product-card h3 {
    font-size: 11px;
    margin: 4px 0;
    line-height: 1.5;
  }
  .product-price {
    font-size: 14px;
  }
  .product-bottom .text-button {
    font-size: 8px;
    min-height: 28px;
  }
  .product-sizes {
    font-size: 8px;
  }
  .filters.visible {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
  }
  .filter-group {
    margin: 0;
  }
  .filter-group summary,
  .filter-group label {
    font-size: 10px;
  }
  .how-section {
    padding: 35px 6%;
  }
  .how-section h2 {
    font-size: 27px;
  }
  .how-section .eyebrow {
    font-size: 8px;
  }
  .how-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
  }
  .how-grid > div {
    position: relative;
    padding-left: 37px;
  }
  .how-grid b {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 12px;
  }
  .how-grid h3 {
    font-size: 16px;
    margin-bottom: 9px;
  }
  .how-grid p {
    font-size: 11px;
    margin-bottom: 0;
  }
  .how-section small {
    font-size: 9px;
  }
  footer {
    padding: 32px 6% 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px 20px;
  }
  .footer-top > div:first-child {
    grid-column: 1/-1;
  }
  .footer-brand {
    font-size: 18px;
  }
  .footer-top p {
    font-size: 10px;
  }
  .footer-top #footer-links {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .footer-top #footer-links button {
    font-size: 9px;
  }
  .footer-bottom {
    font-size: 8px;
    padding: 16px 0;
    gap: 10px;
    margin-top: 25px;
  }
  .footer-top .button {
    font-size: 11px;
    padding: 10px 14px;
  }
  dialog {
    max-width: calc(100vw - 16px);
    max-height: calc(100dvh - 20px);
    border-radius: 9px;
  }
  .product-dialog {
    width: calc(100vw - 16px);
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-gallery {
    padding: 15px;
  }
  .main-product-photo {
    height: 290px;
  }
  .gallery-thumbs {
    margin-top: 5px;
    gap: 6px;
  }
  .gallery-thumbs button {
    height: 60px;
    width: 50px;
    min-width: 50px;
  }
  .product-info {
    padding: 25px 20px;
  }
  .product-info h2 {
    font-size: 26px;
  }
  .detail-price {
    font-size: 25px;
  }
  .cart-dialog {
    max-width: 100vw;
    border-radius: 0;
    max-height: 100dvh;
  }
  .dialog-header {
    padding: 18px 20px 15px;
  }
  .dialog-header h2 {
    font-size: 23px;
  }
  .cart-body {
    padding: 16px 20px;
  }
  .cart-item {
    grid-template-columns: 66px 1fr;
    gap: 12px;
  }
  .cart-item > img {
    width: 66px;
    height: 85px;
  }
  .cart-item h3 {
    font-size: 12px;
  }
  .cart-line-bottom {
    gap: 4px;
  }
  .cart-item .text-button {
    font-size: 9px;
    padding: 5px 3px;
  }
  .cart-line-bottom .price {
    font-size: 11px;
  }
  .cart-item p {
    font-size: 10px;
  }
  .info-dialog {
    padding: 30px 23px;
  }
  .info-body {
    font-size: 13px;
  }
  .form-grid {
    gap: 12px;
  }
  .form-grid label {
    font-size: 12px;
  }
  input,
  textarea,
  select {
    font-size: 16px;
  }
  .admin-header {
    padding: 14px 5%;
    gap: 13px;
  }
  .admin-header > div {
    gap: 5px;
  }
  .admin-header .text-button {
    font-size: 10px;
    padding: 6px;
  }
  .admin-header .button {
    font-size: 10px;
    padding: 8px;
    min-height: 38px;
  }
  .admin-main {
    padding: 25px 5% 60px;
  }
  .admin-intro {
    flex-wrap: wrap;
    gap: 15px;
  }
  .admin-intro h1 {
    font-size: 29px;
  }
  .admin-tabs {
    gap: 20px;
    margin-bottom: 20px;
  }
  .admin-tabs button {
    font-size: 11px;
  }
  .admin-tools {
    gap: 8px;
  }
  .admin-tools .button {
    font-size: 11px;
    padding: 10px 13px;
  }
  .admin-tools input {
    max-width: none;
    flex: 1;
    font-size: 14px;
  }
  .admin-tools select {
    font-size: 13px;
  }
  .admin-table {
    font-size: 11px;
  }
  .admin-table th {
    font-size: 9px;
  }
  .admin-table td {
    padding: 9px;
  }
  .admin-table .name-cell {
    min-width: 190px;
  }
  .admin-table .button {
    font-size: 10px;
    padding: 8px;
  }
  .panel-box {
    padding: 18px;
  }
  .panel-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .panel-box h2 {
    font-size: 21px;
  }
  .editor-dialog {
    width: calc(100vw - 12px);
    max-width: calc(100vw - 12px);
  }
  .editor-body {
    padding: 18px;
  }
  .editor-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .editor-actions {
    gap: 8px;
    padding-top: 15px;
    padding-bottom: 8px;
  }
  .editor-actions .button {
    font-size: 11px;
    padding: 10px 12px;
  }
  .checkbox-grid {
    font-size: 12px;
  }
  .category-row {
    grid-template-columns: 1fr 1fr 40px;
    gap: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 12px;
    margin-bottom: 10px;
  }
  .category-row .category-name {
    grid-column: 1/3;
  }
  .category-row .row-delete {
    grid-column: 3;
    grid-row: 1;
  }
  .category-row label {
    font-size: 10px;
  }
  .category-row .icon-field {
    grid-column: 1/3;
  }
  .list-row {
    flex-wrap: wrap;
  }
  .list-row label {
    min-width: 100px;
  }
  .login-panel {
    margin: 30px auto;
    padding: 24px;
  }
  .login-panel h1 {
    font-size: 29px;
  }
  .order-summary {
    padding: 40px 20px;
  }
  .order-summary h1 {
    font-size: 24px;
  }
  .summary-line {
    gap: 12px;
  }
  .summary-line img {
    width: 65px;
    height: 90px;
  }
  .summary-line h2 {
    font-size: 14px;
  }
  .summary-line strong {
    font-size: 12px;
  }
  .summary-line p {
    font-size: 11px;
  }
  .order-card {
    padding: 17px;
  }
  .admin-message {
    font-size: 11px;
  }
  .gallery-tile img {
    height: 100px;
  }
  .editor-actions {
    position: static;
  }
  .upload-status {
    font-size: 11px;
  }
  .brand-symbol:has(img) {
    width: 50px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* En móvil la ilustración completa tiene espacio propio y no se recorta. */
@media (max-width: 700px) {
  .hero {
    display: block;
  }
  .hero h1 {
    font-size: clamp(40px, 10.5vw, 58px);
    letter-spacing: -2px;
  }
  .hero-description {
    max-width: 100%;
    font-size: 12px;
  }
  .hero-visual {
    height: 300px;
    min-height: 300px;
    margin: 10px 0 0;
  }
  .hero-shirt {
    width: 290px;
    min-width: 0;
    max-width: 100%;
    left: 50%;
    top: -8px;
    transform: translateX(-50%) rotate(-7deg);
  }
  .hero-orbit {
    width: 255px;
    height: 255px;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
  .hero-label {
    left: 10px;
    bottom: 0;
    font-size: 7px;
    padding: 11px;
  }
  .hero-label small {
    font-size: 5px;
  }
  .vertical-note {
    right: 0;
    top: 55px;
    font-size: 7px;
  }
  .hero-number {
    right: 5px;
    bottom: -10px;
  }
  .hero-footnote {
    max-width: 100%;
    font-size: 8px;
  }
  .filters.visible #filter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .filters.visible {
    display: block;
  }
  .product-meta {
    line-height: 1.6;
  }
  .product-image > a {
    display: block;
    width: 100%;
    height: 100%;
  }
}

.drag-handle {
  cursor: grab;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 28px;
  color: var(--gold);
  font-family:
    DejaVu Sans,
    sans-serif;
  font-size: 18px;
  touch-action: none;
}

/* Galerías administradas con el dedo: cuatro acciones completas, sin recortes. */
@media (max-width: 700px) {
  .gallery-tile .tile-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
    padding: 2px;
  }
  .gallery-tile .tile-actions button {
    min-width: 44px;
    min-height: 44px;
    width: 100%;
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .gallery-editor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* Tarjetas de producto en gestión móvil: acciones sin desplazamiento horizontal. */
:root {
  font-family: Arial, "DejaVu Sans", Helvetica, sans-serif;
}
@media (max-width: 700px) {
  .admin-tools #admin-search {
    flex: 1 0 100%;
    width: 100%;
    max-width: 100%;
  }
  .admin-table-wrap {
    border: 0;
    overflow: visible;
  }
  .admin-table,
  .admin-table thead,
  .admin-table tbody {
    display: block;
    width: 100%;
    white-space: normal;
  }
  .admin-table thead tr {
    display: block;
    border: 0;
    margin-bottom: 12px;
  }
  .admin-table th {
    display: none;
  }
  .admin-table th:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    width: auto;
    padding: 0;
    font-size: 11px;
  }
  .admin-table th:first-child:after {
    content: "Seleccionar todos los resultados";
    font-weight: 400;
    letter-spacing: 0;
  }
  .admin-table tbody {
    display: grid;
    gap: 13px;
  }
  .admin-table tbody tr {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px 12px;
    background: #111b29;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 15px;
    min-width: 0;
  }
  .admin-table td {
    display: block;
    padding: 0;
    border: 0;
    grid-column: 2;
    min-width: 0;
    white-space: normal;
  }
  .admin-table td:first-child {
    grid-column: 1;
    grid-row: 1/6;
    width: 28px;
  }
  .admin-table .name-cell {
    min-width: 0;
    max-width: 100%;
    min-height: 58px;
    padding-bottom: 7px;
  }
  .admin-table .name-cell img {
    width: 45px;
    height: 58px;
    float: left;
    margin-right: 12px;
  }
  .admin-table .name-cell button {
    font-size: 13px;
    max-width: calc(100% - 57px);
    line-height: 1.5;
    min-height: 50px;
    overflow-wrap: anywhere;
  }
  .admin-table .name-cell small {
    font-size: 9px;
    margin-top: 5px;
  }
  .admin-table td:nth-child(3) {
    font-size: 15px;
    color: var(--gold);
    font-weight: 700;
  }
  .admin-table td:nth-child(3):before {
    content: "Precio: ";
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
  }
  .admin-table td:nth-child(5) {
    color: var(--muted);
    font-size: 11px;
  }
  .admin-table td:last-child {
    display: flex;
    gap: 4px;
    border-top: 1px solid var(--line);
    padding-top: 7px;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  .admin-table td:last-child .text-button {
    font-size: 11px;
    padding: 8px 10px;
    background: #18263a;
    border-radius: 5px;
  }
}

/* Consulta accesible sin abandonar la ficha ni perder la talla elegida. */
.option-title { flex-wrap: wrap; gap: 10px; }
.option-title .size-guide-trigger { min-height: 44px; padding: 10px 14px; font-size: 12px; }
.guide-image-viewer { overflow: auto; max-height: 65vh; margin-top: 14px; border-radius: 6px; background: white; }
.guide-image-viewer img { display: block; }


.main-nav { height: auto; min-height: 54px; flex-wrap: wrap; white-space: normal; overflow: visible; gap: 12px; padding-block: 10px; }
#top-category-links { display: flex; flex-wrap: wrap; gap: 6px 14px; flex: 1 1 100%; }
.main-nav #top-category-links button { min-height: 44px; height: auto; padding: 8px 10px; border: 1px solid var(--line); border-radius: 5px; }
.main-nav #top-category-links button[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.subcategory-navigation { margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; }
.subcategory-navigation h3 { font-size: 15px; margin: 0 0 12px; }
.subcategory-options { display: flex; flex-wrap: wrap; gap: 9px; }
.subcategory-options button { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 14px; border: 1px solid #364254; border-radius: 5px; color: inherit; background: transparent; }
.subcategory-options button[aria-pressed="true"] { background: var(--gold); color: #0e1724; }
.gallery-missing{display:flex;align-items:center;justify-content:center;min-height:120px;padding:1rem;color:#c9ced5;text-align:center;background:#122031}
#photo-zoom,#gallery-preview-dialog{width:min(95vw,1100px);max-height:95vh;padding:16px;background:#101b29;color:white;border:1px solid #bda468}
.zoom-photo,.preview-photo{display:block;width:100%;max-height:83vh;object-fit:contain;height:auto}
.review-product{display:flex;align-items:flex-start;gap:1rem;margin:1rem 0}
.review-product>img,.review-product>.variant-image-pending{width:84px;max-height:110px;object-fit:contain;flex-shrink:0}
.variant-image-pending{display:flex;align-items:center;justify-content:center;padding:.5rem;font-size:.75rem;color:var(--muted);text-align:center}
.photo-zoom-trigger{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}
#gallery-preview-dialog .preview-photo{margin:1rem 0}
.catalog-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin:28px 0;flex-wrap:wrap}
.catalog-pagination span{font-size:.85rem;color:var(--muted)}
.filter-group input[type=search]{width:100%;margin:8px 0;min-height:42px}
.related-products{padding:24px;border-top:1px solid var(--line)}
.related-products:empty{display:none}
.related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.related-grid a{display:flex;flex-direction:column;gap:8px;font-size:.85rem}
.related-grid img{width:100%;height:170px;object-fit:contain;background:#e0e3e7;border-radius:6px}
.related-grid strong{color:var(--gold)}
.admin-tools select{width:auto;max-width:210px}
@media(max-width:700px){.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.related-products{padding:18px}.admin-tools select{max-width:100%}}

.size-advice.warning { font-size: 14px; line-height: 1.55; }

/* Owner's original artwork: the complete square image is never cropped. */
.site-header .owner-brand-symbol:has(img) { width: 76px; height: 76px; flex-shrink: 0; }
.owner-brand-symbol img { object-fit: contain; aspect-ratio: 1; }
.guide-image-viewer { cursor: zoom-in; touch-action: pan-x pan-y pinch-zoom; }
.guide-image-viewer:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.guide-image-viewer.is-zoomed { cursor: zoom-out; }
.guide-image-viewer.is-zoomed img { width: var(--guide-natural-width, 1448px); max-width: none; max-height: none; }
@media (max-width: 700px) {
  .site-header .owner-brand-symbol:has(img) { width: 60px; height: 60px; }
}
.main-nav .tracking-nav{font-size:11px;letter-spacing:.04em;color:var(--gold);padding:10px 8px}.footer-top .tracking-nav{font-size:12px;color:var(--gold)}
.order-shipments{border-top:1px solid var(--line);margin-top:26px;padding-top:20px}.shipment-editor{border:1px solid var(--line);border-radius:8px;padding:16px;margin:16px 0}.shipment-editor h4{margin:0 0 16px}.shipment-editor button{margin-top:14px}.shipment-create>summary{cursor:pointer;color:var(--gold);padding:16px 0}.shipment-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.shipment-whatsapp{padding:16px;border:1px solid var(--line);border-radius:8px}.shipment-message,.shipment-link{width:100%;user-select:text}.shipment-message{margin-bottom:14px}.shipment-whatsapp button{margin-top:12px}@media(max-width:520px){.shipment-tools .button{width:100%;white-space:normal}.shipment-editor{padding:12px}}

/* Product delivery and simultaneous size groups. */
.size-group { margin-top:12px; }
.size-group-label { display:block; font-weight:700; margin-bottom:8px; }
.delivery-card { background:#091a2c; border:1px solid #a8853d; border-radius:12px; padding:16px; margin:16px 0 10px; }
.delivery-card h3 { display:flex; gap:10px; align-items:center; font-size:1.2rem; margin:0 0 12px; }
.delivery-plane { display:inline-flex; flex:0 0 30px; height:30px; align-items:center; justify-content:center; border-radius:50%; background:#d8b45b; color:#091320; }
.delivery-card p { margin:0 0 8px; line-height:1.5; }
.delivery-card strong { color:#e7c36c; font-size:1.15rem; overflow-wrap:anywhere; }
.delivery-card small { display:block; line-height:1.4; color:#d0d6df; }
.christmas-notice { background:#2e2515; border-left:3px solid #c69b44; border-radius:7px; padding:12px; margin-bottom:16px; color:#ead7ae; font-size:.85rem; }
.christmas-notice p { margin:6px 0 0; line-height:1.45; }
.christmas-notice[hidden] { display:none; }
@media(max-width:480px) { .delivery-card { padding:14px; } .delivery-card h3,.delivery-card strong { font-size:1.08rem; } }
#featured-list{padding-left:0;list-style:none}#featured-list .link-row{flex-wrap:wrap;margin:12px 0;gap:8px}#featured-list img{width:64px;height:76px;object-fit:contain}#featured-list span{flex:1;min-width:140px}
.orders-panel .order-tabs,.orders-panel .order-state-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.orders-panel [role=tab][aria-selected=true]{border-color:var(--gold);color:var(--gold)}.orders-panel .order-card summary{display:flex;justify-content:space-between;gap:16px;align-items:start;list-style:none}.orders-panel .order-card h3{margin:0 0 6px;font-size:1.15rem}.orders-panel .order-reference{margin:0;color:#c8d0dc}.orders-panel .payment-badge{display:block;width:fit-content;margin-top:10px;padding:5px 10px;border-radius:6px;font-weight:700}.orders-panel .payment-pendiente{background:#41350b;color:#ffe28a}.orders-panel .payment-pagado{background:#123b27;color:#9af0b7}.orders-panel .payment-cancelado,.orders-panel .payment-revision{background:#303741;color:#e1e5eb}.orders-panel .order-detail{overflow-wrap:anywhere}.orders-panel input[readonly]{max-width:100%}@media(max-width:600px){.orders-panel .order-card summary{flex-direction:column}.orders-panel .order-card summary>div:last-child{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.orders-panel .payment-badge{margin-top:0}.orders-panel .order-tabs button{flex:1 1 44%}.orders-panel .order-state-actions button{width:100%}}
.orders-panel .order-detail .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-panel .form-grid>section,.orders-panel .form-grid>label{min-width:0}.orders-panel .order-detail button{max-width:100%;white-space:normal}@media(max-width:700px){.orders-panel .order-detail .form-grid{grid-template-columns:minmax(0,1fr)}}
