html:has( > body[data-page="products"]) {
  scroll-behavior: smooth;
}

@keyframes prod-phin {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}

@keyframes prod-float {
  from {
    translate: 0 -8px;
  }

  to {
    translate: 0 10px;
  }
}

@keyframes prod-fadein {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

@keyframes prod-cbin {
  from {
    opacity: 0;
    transform: scale(.92);
  }
}

body[data-page="products"] .shop {
  background: var(--bg);
  position: relative;
}

body[data-page="products"] svg.ic {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body[data-page="products"] .phead {
  text-align: center;
  padding: calc(var(--hdr-h) + clamp(36px,7vh,72px)) clamp(20px,6vw,100px) clamp(40px,7vh,72px);
  flex-direction: column;
  align-items: center;
  display: flex;
  position: relative;
}

body[data-page="products"] .phead h1 {
  font: 800 clamp(35px,3.6vw,84px)/1.2 var(--san);
  color: var(--t1);
  background: var(--grad-txt);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin: 0;
  padding-bottom: .08em;
}

body[data-page="products"] .lead {
  max-width: 75ch;
  color: var(--t1);
  margin: 20px 0 0;
  font-size: 15px;
  font-weight: normal;
  line-height: 2.05;
}

.js :is(body[data-page="products"]) .phead > * {
  animation: .8s cubic-bezier(.2, .8, .2, 1) both prod-phin;
}

.js :is(body[data-page="products"]) .phead > :nth-child(2) {
  animation-delay: .1s;
}

@media (prefers-reduced-motion: reduce) {
  .js :is(body[data-page="products"]) .phead > * {
    animation: none;
  }
}

body[data-page="products"] .prod {
  --bh: min(66vh,92vw);
  --pad: clamp(120px,17vh,190px);
  --line: rgba(var(--w),.2);
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--pad) clamp(20px,6vw,100px);
  background: var(--bg);
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(16px, 3vw, 56px);
  display: grid;
  position: relative;
  overflow: hidden;
}

body[data-page="products"] .prod:not(:last-child):after {
  content: "";
  inset-inline: 0;
  background: var(--line);
  height: 1px;
  position: absolute;
  bottom: 0;
}

body[data-page="products"] .info {
  justify-self: start;
  width: 100%;
  max-width: 310px;
}

body[data-page="products"] .side {
  justify-self: end;
  width: 100%;
  max-width: 310px;
}

body[data-page="products"] .kicker {
  color: var(--ac-tx);
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  display: flex;
}

body[data-page="products"] .kicker:before {
  content: "";
  background: var(--ac-tx);
  width: 24px;
  height: 1px;
}

body[data-page="products"] .ptitle {
  font: 800 clamp(54px,7vw,128px)/1.08 var(--san);
  color: var(--t1);
  flex-direction: column;
  align-items: flex-start;
  margin: 14px 0 0;
  display: flex;
}

body[data-page="products"] .ptitle span {
  align-items: center;
  gap: .1em;
  display: inline-flex;
  position: relative;
}

body[data-page="products"] .price {
  font: 600 clamp(26px,2.6vw,38px)/1 var(--san);
  color: var(--t1);
  margin: 18px 0 0;
}

body[data-page="products"] .price small {
  color: var(--mut);
  margin-inline-start: 6px;
  font-size: .45em;
  font-weight: 500;
}

body[data-page="products"] .desc {
  max-width: none;
  color: var(--t1);
  overscroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--w),.35) transparent;
  max-height: 6em;
  margin: 18px 0 0;
  padding-inline-end: 10px;
  font-size: 14px;
  line-height: 2;
  overflow-y: auto;
}

body[data-page="products"] .desc::-webkit-scrollbar {
  width: 4px;
}

body[data-page="products"] .desc::-webkit-scrollbar-thumb {
  background: rgba(var(--w),.35);
  border-radius: 4px;
}

body[data-page="products"] .desc::-webkit-scrollbar-track {
  background: none;
}

body[data-page="products"] .sizes {
  gap: 8px;
  margin-top: 22px;
  display: flex;
}

body[data-page="products"] .sz {
  position: relative;
}

body[data-page="products"] .sz input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

body[data-page="products"] .sz span {
  border: 1px solid rgba(var(--w),.2);
  color: var(--t1);
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  transition: all .2s;
  display: block;
}

body[data-page="products"] .sz:hover span {
  border-color: rgba(var(--w),.55);
}

body[data-page="products"] .sz input:checked + span {
  background: var(--ac);
  border-color: var(--ac);
  color: #140f0a;
}

body[data-page="products"] .sz input:focus-visible + span {
  outline-offset: 2px;
  outline: 2px solid #fff;
}

body[data-page="products"] .buyrow {
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  display: flex;
}

body[data-page="products"] .buy {
  background: var(--btn-bg);
  color: var(--btn-fg);
  cursor: pointer;
  font: 700 15px var(--san);
  border: 0;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-weight: normal;
  transition: background-color .25s, transform .2s;
  display: inline-flex;
}

body[data-page="products"] .buy:hover {
  background: var(--ac);
  color: #0a0908;
}

body[data-page="products"] .buy:active {
  transform: scale(.97);
}

body[data-page="products"] .buy svg {
  width: 18px;
  height: 18px;
}

body[data-page="products"] .qty {
  border: 1px solid rgba(var(--w),.22);
  border-radius: 999px;
  align-items: center;
  display: flex;
  overflow: hidden;
}

body[data-page="products"] .qty button {
  width: 36px;
  height: 44px;
  color: var(--t1);
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 18px;
}

body[data-page="products"] .qty button:hover {
  background: rgba(var(--w),.1);
}

body[data-page="products"] .qty input {
  text-align: center;
  width: 28px;
  font: 600 15px var(--san);
  color: var(--t1);
  -moz-appearance: textfield;
  background: none;
  border: 0;
}

body[data-page="products"] .qty input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body[data-page="products"] .qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body[data-page="products"] .pv {
  width: calc(var(--bh)*.8);
  min-height: calc(var(--bh)*1.18);
  align-self: stretch;
  place-items: end center;
  padding-bottom: 34px;
  display: grid;
  position: relative;
  clip-path: none !important;
  overflow: visible !important;
}

body[data-page="products"] .arch {
  width: calc(var(--bh)*.74);
  height: calc(var(--bh)*1.03);
 
  border-radius: 999px 999px 0 0;
  position: absolute;
  bottom: calc(7% + 34px);
  left: 50%;
  transform: translateX(-50%);
}

body[data-page="products"] .pb {
  z-index: 3;
  height: var(--bh);
  aspect-ratio: 896 / 1200;
  position: relative;
}

body[data-page="products"] .gal {
  position: absolute;
  inset: 0;
}

body[data-page="products"] .sl {
  opacity: 0;
  transition: opacity .5s;
  position: absolute;
  inset: 0;
}

body[data-page="products"] .sl.on {
  opacity: 1;
}

body[data-page="products"] .sl > img {
  object-fit: contain;
  filter: drop-shadow(0 3vh 3vh #0000008c);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  -webkit-box-reflect: none !important;
}

.js :is(body[data-page="products"]) .arch {
  opacity: 0;
  transition: opacity .8s .1s, transform 1s cubic-bezier(.2, .8, .2, 1) .1s;
  transform: translateX(-50%)translateY(40px);
}

.js :is(body[data-page="products"]) .is-active .arch {
  opacity: 1;
  transform: translateX(-50%);
}

.js :is(body[data-page="products"]) .pb {
  opacity: 0;
  transition: opacity .8s .25s, transform 1s cubic-bezier(.2, .8, .2, 1) .25s;
  transform: translateY(30px)scale(.95);
}

.js :is(body[data-page="products"]) .is-active .pb {
  opacity: 1;
  transform: none;
}

body[data-page="products"] .gdots {
  z-index: 5;
  gap: 10px;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

body[data-page="products"] .gdots button {
  background: rgba(var(--w),.3);
  cursor: pointer;
  border: 0;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  padding: 0;
  transition: all .25s;
}

body[data-page="products"] .gdots button.on {
  background: var(--ac);
  transform: scale(1.4);
}

body[data-page="products"] .orb {
  z-index: 4;
  background: radial-gradient(circle at 35% 30%,#fff,#e8e2da 55%,rgba(var(--w),.4));
  border-radius: 50%;
  animation: 6s ease-in-out infinite alternate prod-float;
  position: absolute;
  display:none;
}

body[data-page="products"] .o1 {
  width: 3.2vmin;
  height: 3.2vmin;
  top: 24%;
  left: 30%;
}

body[data-page="products"] .o2 {
  width: 1.4vmin;
  height: 1.4vmin;
  animation-delay: -2s;
  top: 10%;
  left: 62%;
}

body[data-page="products"] .o3 {
  opacity: .9;
  width: 4.4vmin;
  height: 4.4vmin;
  animation-delay: -4s;
  bottom: 30%;
  right: 26%;
}

body[data-page="products"] .pill {
  z-index: 5;
  background: var(--pill-bg);
  box-shadow: 0 12px 30px var(--pill-shadow);
  opacity: 0;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 18px;
  transition: opacity .6s .9s;
  animation: 5s ease-in-out infinite alternate prod-float;
  display: flex;
  position: absolute;
}

body[data-page="products"] .is-active .pill {
  opacity: 1;
}

body[data-page="products"] .pill i {
  background: rgba(var(--ac-rgb),.28);
  width: 34px;
  height: 34px;
  color: var(--ac-tx);
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

body[data-page="products"] .pill i svg {
  width: 18px;
  height: 18px;
}

body[data-page="products"] .pill b {
  color: var(--t1);
  font-size: 11px;
  display: block;
}

body[data-page="products"] .pill span {
  color: rgba(var(--w),.55);
  font-size: 11px;
  display: block;
}

body[data-page="products"] .pa {
  top: 22%;
  right: -4%;
}

body[data-page="products"] .pc {
  animation-delay: -1.2s;
  top: 45%;
  left: -6%;
}

body[data-page="products"] .pb2 {
  animation-delay: -2.5s;
  bottom: 19%;
  right: -2%;
}

body[data-page="products"] .side {
  align-self: center;
  padding-top: 10vh;
}

body[data-page="products"] .acc {
  border-bottom: 1px solid rgba(var(--w),.12);
}

body[data-page="products"] .acc summary {
  cursor: pointer;
  font: 500 clamp(15px,1.2vw,22px) var(--san);
  color: var(--g-9b9b9b);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  font-synthesis: none;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  list-style: none;
  transition: color .25s;
  display: flex;
}

body[data-page="products"] .acc summary::-webkit-details-marker {
  display: none;
}

body[data-page="products"] .acc summary:after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
}

body[data-page="products"] .acc[open] summary {
  color: var(--t1);
}

body[data-page="products"] .acc[open] summary:after {
  content: "−";
}

body[data-page="products"] .acc.closing summary {
  color: var(--g-9b9b9b);
}

body[data-page="products"] .acc.closing summary:after {
  content: "+";
}

body[data-page="products"] .acc summary:hover {
  color: var(--t1);
}

body[data-page="products"] .acc p {
  color: rgba(var(--w),.55);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizelegibility;
  margin: 0;
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 1.9;
  animation: .5s prod-fadein;
}

body[data-page="products"] .acc.closing p {
  animation: none;
}

.js :is(body[data-page="products"]) .prod .info > *, .js :is(body[data-page="products"]) .prod .side {
  opacity: 0;
  transition: opacity .7s calc(var(--i, 3)*70ms + .2s),transform .8s calc(var(--i, 3)*70ms + .2s) cubic-bezier(.2,.8,.2,1);
  transform: translateY(20px);
}

.js :is(body[data-page="products"]) .prod.is-active .info > *, .js :is(body[data-page="products"]) .prod.is-active .side {
  opacity: 1;
  transform: none;
}

:is(body[data-page="products"], body[data-page="home"]) .cartbar {
  inset-inline: 0;
  z-index: 60;
  padding: 12px;
  color: #14110d;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #fff;
  border-radius: 10px;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  width: fit-content;
  max-width: min(1180px, 100% - 32px);
  margin-inline: auto;
  padding-inline-end: 30px;
  transition: opacity .35s, transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s;
  display: flex;
  position: fixed;
  bottom: 20px;
  transform: translateY(40px);
  box-shadow: 0 20px 60px #0000008c;
}

:is(body[data-page="products"], body[data-page="home"]) .cartbar.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
  transform: none;
}

:is(body[data-page="products"], body[data-page="home"]) .cartbar.show.is-dismissed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition-delay: 0s, 0s, .45s;
  transform: translateY(40px);
}

:is(body[data-page="products"], body[data-page="home"]) .cb-items {
  scrollbar-width: thin;
  flex: 0 auto;
  gap: 10px;
  min-width: 0;
  padding-block: 2px;
  display: flex;
  overflow-x: auto;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-item {
  background: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  flex: none;
  gap: 8px;
  width: 210px;
  padding: 10px;
  animation: .4s cubic-bezier(.2, .8, .2, 1) prod-cbin;
  display: grid;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-top {
  align-items: center;
  gap: 10px;
  display: flex;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-top img {
  object-fit: contain;
  background: rgba(var(--ac-rgb),.3);
  border-radius: 12px;
  flex: none;
  width: 44px;
  height: 44px;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-info {
  flex: 1;
  min-width: 0;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-info b {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
  display: block;
  overflow: hidden;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-info span {
  color: #6b6358;
  font-size: 11px;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-rm {
  color: #6b6358;
  cursor: pointer;
  background: #14110d1a;
  border: 0;
  border-radius: 50%;
  flex: none;
  width: 24px;
  height: 24px;
  font-size: 18px;
  line-height: 1;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-rm:hover {
  color: red;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-bot {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-qty {
  border: 1px solid #14110d33;
  border-radius: 999px;
  align-items: center;
  display: flex;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-qty button {
  color: #14110d;
  cursor: pointer;
  background: none;
  border: 0;
  width: 28px;
  height: 28px;
  font-size: 16px;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-qty span {
  text-align: center;
  min-width: 18px;
  font: 700 13px var(--san);
}

:is(body[data-page="products"], body[data-page="home"]) .cb-iprice {
  font: 700 15px var(--san);
  white-space: nowrap;
  margin: 0;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-iprice small, :is(body[data-page="products"], body[data-page="home"]) .cb-total small {
  color: #6b6358;
  font-size: 11px;
  font-weight: 500;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-foot {
  flex-direction: column;
  flex: none;
  align-items: stretch;
  gap: 10px;
  display: flex;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-total {
  font: 700 20px var(--san);
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  display: flex;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-go {
  color: #fff;
  font: 700 15px var(--san);
  text-align: center;
  white-space: nowrap;
  background: #14110d;
  border-radius: 100px;
  padding: 14px 26px;
  font-weight: normal;
  text-decoration: none;
  transition: background-color .25s, color .25s;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-go:hover {
  background: var(--gold-bg);
  color: #14110d;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-x {
  color: #000;
  cursor: pointer;
  background: #14110d14;
  border: 0;
  border-radius: 50%;
  width: 28px;
  height: 30px;
  font-size: 20px;
  line-height: 1;
  position: absolute;
  inset-block-start: 2px;
  inset-inline-end: 2px;
}

:is(body[data-page="products"], body[data-page="home"]) .cb-x:hover {
  color: red;
}

@media (max-width: 760px) {
  :is(body[data-page="products"], body[data-page="home"]) .cartbar {
    flex-wrap: wrap;
    gap: 10px;
    width: calc(100% - 24px);
    max-width: none;
    padding: 34px 12px 12px;
    bottom: 12px;
  }

  :is(body[data-page="products"], body[data-page="home"]) .cb-items {
    flex: 100%;
  }

  :is(body[data-page="products"], body[data-page="home"]) .cb-foot {
    flex-direction: row;
    flex: 100%;
    align-items: center;
  }

  :is(body[data-page="products"], body[data-page="home"]) .cb-total {
    flex-direction: column;
    flex: 1;
    align-items: flex-start;
    gap: 0;
  }

  :is(body[data-page="products"], body[data-page="home"]) .cb-go {
    flex: 1;
  }
}

@media (max-width: 1000px) {
  body[data-page="products"] .prod {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  body[data-page="products"] .pv {
    width: auto;
  }

  body[data-page="products"] .info, body[data-page="products"] .side {
    max-width: none;
  }

  body[data-page="products"] .side {
    grid-column: 1 / -1;
    padding-top: 0;
  }

  body[data-page="products"] .pill {
    transform: scale(.88);
  }
}

@media (max-width: 760px) {
  body[data-page="products"] .prod {
    --bh: min(52vh,78vw);
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body[data-page="products"] .pv {
    order: -1;
  }

  body[data-page="products"] .info, body[data-page="products"] .side {
    justify-self: stretch;
  }

  body[data-page="products"] .ptitle {
    font-size: clamp(52px, 17vw, 84px);
  }

  body[data-page="products"] .pa {
    right: 0;
  }

  body[data-page="products"] .pc {
    left: 0;
  }

  body[data-page="products"] .pb2 {
    right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="products"] .orb, body[data-page="products"] .pill {
    animation: none;
  }

  body[data-page="products"] .prod, body[data-page="products"] .arch, body[data-page="products"] .pb, body[data-page="products"] .pill, .js :is(body[data-page="products"]) .prod .info > *, .js :is(body[data-page="products"]) .prod .side {
    transition: none;
  }
}

body[data-page="products"] .price .was {
  color: var(--mut);
  margin-top: 8px;
  font-size: .42em;
  font-weight: 500;
  text-decoration: line-through;
  display: block;
}

body[data-page="products"] .sz input:disabled + span {
  opacity: .45;
  cursor: not-allowed;
}

body[data-page="products"] .buy:disabled {
  opacity: .5;
  cursor: not-allowed;
}

body[data-page="products"] .buy-error {
  color: #e07a7a;
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.7;
}

body[data-page="products"] .empty {
  text-align: center;
  place-items: center;
  min-height: 40vh;
  padding: 40px 20px;
  display: grid;
}

body[data-page="products"] [x-cloak] {
  display: none !important;
}

body[data-page="products"] .sr {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}
