@font-face { font-family: Anton; src: url(/fonts/anton-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Rajdhani; font-weight: 600; src: url(/fonts/rajdhani-latin-600-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Rajdhani; font-weight: 700; src: url(/fonts/rajdhani-latin-700-normal.woff2) format('woff2'); font-display: swap; }

:root {
  --mag: #FF2D95; --teal: #19E3D1; --ink: #0B0B10; --ink2: #14141c; --ink3: #1e1e29;
  --white: #fff; --mute: #a9a9b8; --yellow: #FFD60A;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--white);
  font-family: Rajdhani, system-ui, sans-serif; font-weight: 600; font-size: 18px; line-height: 1.45;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--teal); }
h1, h2, h3 { font-family: Anton, Impact, sans-serif; font-weight: 400; letter-spacing: .5px; margin: 0; line-height: 1.02; }

.top {
  position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
  padding: 14px clamp(16px, 4vw, 48px); background: rgba(11, 11, 16, .86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink3);
}
.logo { font-family: Anton, sans-serif; font-size: 28px; color: var(--white); text-decoration: none; letter-spacing: 1px; }
.logo span { color: var(--mag); margin-left: 4px; }
.top nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.top nav a { color: var(--white); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 15px; font-weight: 700; }
.top nav a:hover { color: var(--teal); }
.lang { background: none; border: 1px solid var(--ink3); color: var(--mute); border-radius: 8px; padding: 4px 8px; font: 700 13px Rajdhani, sans-serif; cursor: pointer; }
.cart-btn { position: relative; background: var(--mag); color: var(--white); border: 0; border-radius: 50%; width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer; }
.count { position: absolute; top: -5px; right: -5px; background: var(--teal); color: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; }

.hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center;
  padding: clamp(32px, 6vw, 90px) clamp(16px, 4vw, 48px);
  background:
    linear-gradient(180deg, transparent 55%, rgba(255, 45, 149, .18)),
    repeating-linear-gradient(0deg, rgba(25, 227, 209, .05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(90deg, rgba(25, 227, 209, .05) 0 1px, transparent 1px 64px);
}
.kicker { color: var(--teal); text-transform: uppercase; letter-spacing: 4px; font-weight: 700; margin: 0 0 14px; }
.hero h1 { font-size: clamp(54px, 9vw, 120px); text-shadow: 6px 6px 0 var(--mag); }
.hero h1 em { font-style: normal; color: var(--mag); text-shadow: 5px 5px 0 var(--teal); font-size: .55em; display: inline-block; margin-top: 8px; }
.lead { color: #dcdce6; font-size: 20px; max-width: 34ch; margin: 22px 0 26px; }
.ship-note { color: var(--mute); font-size: 15px; margin-top: 16px; }
.hero-art { position: relative; }
.hero-art img { border-radius: 24px; box-shadow: 0 30px 80px rgba(255, 45, 149, .25); transform: rotate(2deg); }
.stamp {
  position: absolute; left: -10px; bottom: 26px; background: var(--yellow); color: var(--ink); font-family: Anton, sans-serif;
  font-size: clamp(22px, 3vw, 34px); padding: 6px 18px; transform: rotate(-6deg); box-shadow: 4px 4px 0 var(--ink);
}

.btn {
  display: inline-block; background: var(--mag); color: var(--white); border: 0; border-radius: 999px; cursor: pointer;
  padding: 14px 28px; font: 700 17px Rajdhani, sans-serif; text-transform: uppercase; letter-spacing: 2px; text-decoration: none;
  box-shadow: 4px 4px 0 var(--teal); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--teal); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--teal); }
.btn[disabled] { opacity: .5; cursor: wait; }
.btn.ghost { background: transparent; border: 2px solid var(--mag); }
.btn.wide { width: 100%; text-align: center; }

.section { padding: clamp(40px, 6vw, 80px) clamp(16px, 4vw, 48px); }
.section.alt { background: var(--ink2); }
.section h2 { font-size: clamp(40px, 6vw, 68px); }
.sub { color: var(--mute); margin: 8px 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.grid.two { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 760px; }
.card {
  background: var(--ink2); border: 1px solid var(--ink3); border-radius: var(--r); overflow: hidden; cursor: pointer;
  transition: transform .15s, border-color .15s; text-align: left; color: inherit; font: inherit; padding: 0;
}
.section.alt .card { background: var(--ink); }
.card:hover, .card:focus-visible { transform: translateY(-4px); border-color: var(--mag); outline: none; }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.card .meta { padding: 14px 16px 16px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.card h3 { font-size: 22px; }
.card .p { color: var(--teal); font-weight: 700; white-space: nowrap; }
.tag { display: inline-block; background: var(--teal); color: var(--ink); font-size: 12px; font-weight: 700; border-radius: 6px; padding: 2px 8px; margin: 0 16px 14px; text-transform: uppercase; letter-spacing: 1px; }

.about { text-align: center; }
.about p { max-width: 52ch; margin: 16px auto 24px; color: #dcdce6; }

.foot { padding: 36px clamp(16px, 4vw, 48px) 60px; border-top: 1px solid var(--ink3); color: var(--mute); font-size: 15px; text-align: center; }
.foot a { color: var(--mute); }
.small { font-size: 13px; color: var(--mute); }

/* product dialog */
.sheet { border: 1px solid var(--ink3); border-radius: 20px; background: var(--ink2); color: var(--white); padding: 0; width: min(940px, 94vw); max-height: 92vh; }
.sheet::backdrop { background: rgba(0, 0, 0, .7); }
.x { position: absolute; top: 12px; right: 12px; background: rgba(11, 11, 16, .75); border: 0; color: var(--white); font-size: 28px; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; line-height: 1; z-index: 2; }
.pd { display: grid; grid-template-columns: 1fr 1fr; }
.pd-media img#pdImg { aspect-ratio: 1; object-fit: cover; width: 100%; }
.thumbs { display: flex; gap: 8px; padding: 10px; }
.thumbs button { border: 2px solid transparent; border-radius: 8px; padding: 0; background: none; cursor: pointer; width: 64px; height: 64px; overflow: hidden; }
.thumbs button.on { border-color: var(--mag); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 8px; }
.pd-info h3 { font-size: 36px; padding-right: 30px; }
.price { color: var(--teal); font-size: 24px; font-weight: 700; margin: 0; }
.label { margin: 10px 0 6px; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--mute); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 52px; padding: 8px 12px; border-radius: 10px; border: 2px solid var(--ink3); background: var(--ink); color: var(--white); font: 700 16px Rajdhani, sans-serif; cursor: pointer; }
.sizes button.on { border-color: var(--mag); background: rgba(255, 45, 149, .15); }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--ink3); border-radius: 10px; overflow: hidden; }
.qty button { background: var(--ink); color: var(--white); border: 0; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }
.qty span { width: 40px; text-align: center; }
#pdAdd { margin-top: 16px; }
.details { color: var(--mute); font-size: 15px; }

/* cart drawer */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100vw); background: var(--ink2); z-index: 40;
  transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; border-left: 1px solid var(--ink3);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--ink3); }
.drawer-head h3 { font-size: 30px; }
.drawer-head .x { position: static; }
.cart-items { flex: 1; overflow: auto; padding: 10px 20px; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--ink3); }
.ci img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.ci .n { font-weight: 700; line-height: 1.2; }
.ci .s { color: var(--mute); font-size: 14px; }
.ci .ctrl { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.ci .ctrl button { background: var(--ink); color: var(--white); border: 1px solid var(--ink3); border-radius: 6px; width: 26px; height: 26px; cursor: pointer; }
.ci .rm { background: none; border: 0; color: var(--mute); cursor: pointer; font-size: 13px; text-decoration: underline; padding: 0; margin-left: 6px; }
.empty { color: var(--mute); text-align: center; margin: 40px 0; }
.drawer-foot { padding: 16px 20px 22px; border-top: 1px solid var(--ink3); }
.total { display: flex; justify-content: space-between; font-size: 20px; margin: 4px 0 14px; }
.free { color: var(--teal); font-size: 14px; margin: 0; }
.err { color: #ff7a8a; font-size: 14px; min-height: 1em; margin: 8px 0 0; }
.scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 30; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; transition: .2s;
  background: var(--teal); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700; z-index: 50; pointer-events: none;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* confirmation + legal pages */
.page { max-width: 760px; margin: 0 auto; padding: clamp(32px, 6vw, 70px) 20px; }
.page h1 { font-size: clamp(44px, 8vw, 80px); text-shadow: 5px 5px 0 var(--mag); margin-bottom: 18px; }
.page h2 { font-size: 30px; margin: 32px 0 8px; color: var(--teal); }
.dl { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: var(--ink2); border: 1px solid var(--ink3); border-radius: var(--r); padding: 16px; margin: 10px 0; }
.lines { list-style: none; padding: 0; }
.lines li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink3); padding: 8px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .pd { grid-template-columns: 1fr; }
  .top nav a { display: none; }
  .sheet { max-height: 96vh; overflow: auto; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card h3 { font-size: 18px; }
  .card .meta { flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
  .tag { margin: 0 12px 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* toolbar inside the full site */
.shopbar { position: sticky; top: 68px; z-index: 30; display: flex; align-items: center; gap: 12px; justify-content: flex-end;
  padding: 10px clamp(16px, 4vw, 48px); background: rgba(11, 11, 16, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ink3); }
.shopbar__t { margin-right: auto; font-family: Anton, sans-serif; font-size: 22px; letter-spacing: .5px; }
.is-shop .hero { padding-top: clamp(28px, 4vw, 60px); }
