/* DAL — Bellussi shop system for Korean spirits */

:root {
  --black: #000000;
  --white: #FFFFFF;
  --ink: #111111;
  --muted: #666666;
  --red: #E10600;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(0, 0, 0, 0.08);
  --wrap: 1120px;
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-text: "Mulish", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--f-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3 {
  font-family: var(--f-text);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
  line-height: 1.15;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.wrap { width: min(100% - 2.4rem, var(--wrap)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--red); color: #fff; padding: 0.6rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 200;
  background: #000;
  display: grid; place-items: center;
  text-align: center;
  padding: 2rem;
}
.age-gate.is-gone { display: none; }
.age-gate__logo {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.age-gate__bottle {
  width: min(42vw, 220px);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 40px rgba(225, 6, 0, 0.35));
}
.age-gate__bottle img {
  width: 100%;
  height: auto;
  display: block;
}
.age-gate p {
  font-size: 0.95rem;
  font-weight: 300;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,0.9);
}
.age-acts { display: flex; gap: 0.75rem; justify-content: center; }
.age-acts button {
  min-width: 88px;
  padding: 0.7rem 1.2rem;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
}
.age-acts button:hover { background: #fff; color: #000; }

/* header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 80;
  background: #000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
}
.icon-btn {
  background: none; border: 0; color: #fff; cursor: pointer;
  padding: 0.4rem; display: inline-flex; align-items: center; gap: 0.35rem;
}
.cart-btn { justify-self: start; position: relative; }
.cart-count {
  position: absolute; top: -2px; right: -6px;
  min-width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 0.65rem; font-weight: 700;
  display: grid; place-items: center;
}
.cart-count[hidden] { display: none !important; }
.brand {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
}
.menu-btn { justify-self: end; }

/* nav overlay */
.nav-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.97);
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
  display: flex; flex-direction: column;
}
.nav-overlay.is-open { opacity: 1; pointer-events: auto; }
.nav-overlay__top { display: flex; justify-content: space-between; align-items: center; }
.nav-overlay__main {
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem;
}
.nav-overlay__main a {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 300; letter-spacing: 0.18em; text-transform: uppercase;
}
.nav-overlay__main a:hover { color: var(--red); }

/* mini cart */
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(360px, 92vw);
  background: #0a0a0a;
  border-left: 1px solid var(--line);
  transform: translateX(105%);
  transition: transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  padding: 1.25rem;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer h2 {
  font-size: 0.9rem; letter-spacing: 0.2em; margin: 0;
}
.cart-drawer__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line);
}
.cart-list { flex: 1; overflow: auto; }
.cart-item {
  display: flex; justify-content: space-between; gap: 0.75rem;
  padding: 0.75rem 0; border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.cart-empty { color: var(--muted); font-size: 0.9rem; padding: 1rem 0; }
.cart-foot { padding-top: 1rem; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 0.9rem; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid currentColor;
  background: transparent;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn-solid { background: #fff; color: #000; border-color: #fff; }
.btn-solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: #fff; color: #000; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-dark { border-color: #000; color: #000; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-block { width: 100%; }

/* hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  padding: 5rem 1.2rem 3rem;
}
.hero-type {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
  font-weight: 800;
  font-size: clamp(2.8rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}
.hero-type .red { color: var(--red); }
.hero-bottle {
  position: relative;
  z-index: 1;
  width: min(58vw, 320px);
  filter: drop-shadow(0 24px 60px rgba(225, 6, 0, 0.28));
}
.hero-bottle::before {
  content: "";
  position: absolute;
  left: 50%; top: 48%;
  width: 85%; height: 75%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 6, 0, 0.4) 0%, transparent 68%);
  z-index: -1;
  pointer-events: none;
}
.hero-bottle img {
  width: 100%;
  height: auto;
  display: block;
  mix-blend-mode: lighten;
}

/* white band */
.band-white {
  background: #fff;
  color: var(--ink);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  text-align: center;
}
.band-white h1, .band-white h2 { color: #000; }
.band-white .lead {
  max-width: 52ch;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-weight: 400;
}

.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.section-head {
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.section-head h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); }
.section-head .sub {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0.85;
}

/* lines grid */
.lines-grid {
  display: grid;
  gap: 1px;
  background: #111;
}
@media (min-width: 800px) {
  .lines-grid { grid-template-columns: 1fr 1fr; }
}
.line-card {
  position: relative;
  background: #000;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.line-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  padding: 0;
  transition: transform 0.7s var(--ease);
  z-index: -1;
  opacity: 0.55;
}
.line-card:hover img { transform: scale(1.04); opacity: 0.7; }
.line-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 55%);
  z-index: 0;
}
.line-body {
  position: relative; z-index: 1;
  padding: 1.5rem;
}
.line-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.line-body p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 1rem;
  max-width: 36ch;
}

/* shop */
.shop-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 700px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
.product {
  text-align: center;
}
.product figure {
  background: #0a0a0a;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.product img {
  max-height: 78%;
  width: auto;
  max-width: 70%;
  object-fit: contain;
  transition: transform 0.5s var(--ease);
}
.product:hover img { transform: scale(1.05); }
.product h3 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.product .price {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.product .btn { width: 100%; max-width: 200px; }

/* promo rows */
.promo-row {
  display: grid;
  gap: 0;
}
@media (min-width: 800px) {
  .promo-row { grid-template-columns: 1fr 1fr; }
}
.promo {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.promo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.promo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15));
  z-index: -1;
}
.promo-body { padding: 1.75rem; }
.promo-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

/* footer */
.site-foot {
  background: #000;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
}
.foot-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.site-foot h3 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.85rem;
  color: #fff;
}
.foot-links { display: grid; gap: 0.4rem; }
.foot-links a:hover { color: #fff; }
.foot-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  justify-content: space-between;
  font-size: 0.78rem;
}

.to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 70;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: #000; color: #fff;
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.to-top.is-show { opacity: 1; pointer-events: auto; }

.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 100;
  transform: translateX(-50%) translateY(20px);
  background: #fff; color: #000;
  padding: 0.75rem 1.2rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
