:root{
  /* keep existing palette vars */
  --gold2:#d4af37;
  --muted:#a6adbb;

  /* luxury tokens */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-soft: 0 18px 60px rgba(0,0,0,.45);
  --shadow-card: 0 18px 45px rgba(0,0,0,.32);
  --shadow-float: 0 14px 40px rgba(0,0,0,.55);

  --glass: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.09);
  --stroke: rgba(255,255,255,.12);
  --stroke2: rgba(255,255,255,.18);

  --container: 1100px;

  /* typography (use your preferred fonts if installed; graceful fallbacks) */
  --font-sans: "Groote", "GC EpicPro", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --font-display: "Shori Typeface", "Nativera", "Decker", ui-serif, Georgia, "Times New Roman", serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: var(--font-sans);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(900px 500px at 80% 30%, rgba(120,140,255,.06), transparent 60%),
    #0b0c10;
  color:#f3f4f6;
}

body,
body *{
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

input,
textarea,
select,
button,
[contenteditable="true"]{
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

img{
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: auto;
}

img,
a,
button{
  -webkit-touch-callout: none;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button, input, textarea{ font:inherit; }

.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:16px;
  top:16px;
  width:auto;
  height:auto;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(0,0,0,.8);
  border:1px solid var(--stroke);
  z-index:9999;
}

.section.merch{ padding-top: 18px; }

/* ---------- HERO ---------- */
.merch-hero{
  position:relative;
  padding: 44px 0 26px;
  overflow:hidden;
}
.merch-hero__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.kicker{
  letter-spacing:.18em;
  text-transform:uppercase;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.merch-hero__title{
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.05;
  margin: 0 0 10px;
  font-size: clamp(34px, 4.6vw, 58px);
  color: var(--gold);
}
.merch-hero__sub{
  margin: 0 0 20px;
  max-width: 68ch;
  line-height: 1.7;
  color: var(--text);
  font-size: 1.05rem;
}
.merch-hero__cta{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-bottom: 22px;
}

.btn.ghost{
  background: transparent;
  border: 1px solid var(--stroke);
  color: #fff;
}
.btn.ghost:hover{ border-color: var(--stroke2); transform: translateY(-1px); }
.btn.ghost:active{ transform: translateY(0); }

.purpose-card{
  position:relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(212,175,55,.22);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
  overflow:hidden;
}
.purpose-card::before{
  content:"";
  position:absolute;
  inset:-40% -20%;
  background: radial-gradient(closest-side, rgba(212,175,55,.14), transparent 60%);
  transform: rotate(12deg);
  pointer-events:none;
}
.purpose-card__head{
  position:relative;
  display:flex;
  gap: 12px;
  align-items:flex-start;
  margin-bottom: 10px;
}
.purpose-badge{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: rgba(212,175,55,.12);
  border: 1px solid rgba(212,175,55,.28);
}
.purpose-title{
  margin: 0;
  font-size: 1.12rem;
  letter-spacing: .02em;
}
.purpose-sub{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.5;
}
.purpose-list{
  position:relative;
  list-style:none;
  padding: 0;
  margin: 12px 0 10px;
  color: var(--muted);
}
.purpose-list li{
  padding-left: 22px;
  margin: 8px 0;
  position:relative;
  line-height: 1.6;
}
.purpose-list li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--gold2);
  font-weight: 800;
}
.purpose-note{
  position:relative;
  margin: 0;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
  font-size: .95rem;
}

.hero-shine{
  position:absolute;
  inset:-40% -20%;
  background:
    radial-gradient(closest-side at 30% 35%, rgba(212,175,55,.18), transparent 60%),
    radial-gradient(closest-side at 72% 44%, rgba(120,140,255,.10), transparent 62%);
  filter: blur(2px);
  pointer-events:none;
}

/* ---------- SHOP ---------- */
.shop{ padding: 12px 0 10px; }
.shop-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin: 18px auto 14px;
  max-width: var(--container);
  padding: 0 20px;
}
.shop-title{
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: .02em;
  font-size: 1.6rem;
}
.shop-sub{
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.filter-bar{
  max-width: var(--container);
  margin: 0 auto 18px;
  padding: 0 20px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  justify-content: center;
  position: sticky;
  top: 10px;
  z-index: 5;
  background: linear-gradient(to bottom, rgba(11,12,16,.82), rgba(11,12,16,.38));
  backdrop-filter: blur(10px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  padding: 10px;
}

.filter-btn{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: #e8e9ee;
  padding: 10px 14px;
  border-radius: 999px;
  cursor:pointer;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 11px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.filter-btn:hover{ transform: translateY(-1px); border-color: rgba(212,175,55,.35); }
.filter-btn.active{
  background: rgba(212,175,55,.14);
  border-color: rgba(212,175,55,.45);
  color: #fff;
}

/* ---------- GRID / CARDS ---------- */
.grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px 60px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
}

.product-card{
  background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  position:relative;
}
.product-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(closest-side at 30% 20%, rgba(212,175,55,.10), transparent 60%);
  opacity: 0;
  transition: opacity .22s ease;
  pointer-events:none;
}
.product-card:hover{
  transform: translateY(-4px);
  border-color: rgba(212,175,55,.25);
  box-shadow: 0 22px 60px rgba(0,0,0,.48);
}
.product-card:hover::after{ opacity: 1; }

.product-card img{
  width:100%;
  height: 240px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}
.product-info{
  padding: 14px 14px 16px;
}
.product-title{
  margin: 0 0 6px;
  font-weight: 750;
  letter-spacing: .02em;
}
.product-desc{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.55;
  font-size: .95rem;
}
.product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.product-price{
  color: var(--gold2);
  font-weight: 800;
  letter-spacing: .02em;
}
.product-actions{
  display:flex;
  gap: 10px;
}
.product-actions .btn{
  padding: 10px 12px;
  border-radius: 999px;
}

/* ---------- MODAL ---------- */
.modal{
  position: fixed;
  inset: 0;
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 50;
  background: rgba(0,0,0,.62);
  backdrop-filter: blur(10px);
}
.modal.active{ display:flex; }

.modal-shell{
  width: min(980px, 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(145deg, rgba(18,19,24,.95), rgba(12,12,16,.92));
  box-shadow: var(--shadow-soft);
  position:relative;
  max-height: min(920px, calc(100vh - 36px));
  overflow:hidden;
}
.modal-close{
  position:absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease;
  z-index: 2;
}
.modal-close:hover{ transform: translateY(-1px); border-color: rgba(212,175,55,.35); }

/* keep existing modal-content layout but elevate it */
.modal-content{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  padding: 18px;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
}
.modal-image{
  border-radius: var(--radius-md);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.modal-image img{
  width:100%;
  height: 420px;
  object-fit: cover;
}
.modal-details{
  padding: 4px 2px 2px;
}
.modal-details h2{
  font-family: var(--font-display);
  margin: 0 0 8px;
  letter-spacing:.02em;
}
.modal-price{
  color: var(--gold2);
  font-weight: 900;
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.modal-details p{ color: var(--muted); line-height: 1.65; }

.select-group{
  margin: 14px 0;
}
.select-group label{
  display:block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.select-group select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0b0c10;
  color: #fff;
}

.modal-field input,
.modal-field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0b0c10;
  color: #fff;
}

.modal-field textarea{
  min-height: 100px;
  resize: vertical;
}

.field-help{
  display:block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.modal-custom-fields{
  display:grid;
  gap: 0;
}

.modal-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 14px;
}
.modal-actions .btn{ border-radius: 999px; }

/* ---------- CHECKOUT PANEL ---------- */
.checkout-panel{
  position: fixed;
  top: 10px;
  right: 10px;
  height: calc(100vh - 20px);
  width: min(430px, calc(100vw - 20px));
  background:
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0) 22%),
    linear-gradient(145deg, rgba(24,25,31,.97), rgba(11,12,16,.94));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.58);
  border-radius: 28px;
  transform: translateX(calc(100% + 28px));
  z-index: 55;
  display:flex;
  flex-direction:column;
  overflow: hidden;
  isolation: isolate;
}
.checkout-panel::before{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(212,175,55,.12), transparent 36%);
  pointer-events: none;
}
.checkout-panel.active{
  transform: translateX(0);
}
.checkout-panel.dragging{
  transition: none;
}
.checkout-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.checkout-header::before{
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.checkout-title{
  margin:0;
  font-family: var(--font-display);
  letter-spacing:.02em;
}
.checkout-close{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.checkout-close:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,.4);
  background: rgba(255,255,255,.1);
}
.checkout-items{
  padding: 12px 16px;
  overflow:auto;
  flex: 1;
  overscroll-behavior: contain;
}
.checkout-total{
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 800;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(8px);
}
.checkout-form{
  padding: 14px 16px 16px;
  display:grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}
.checkout-form input,
.checkout-form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
}
.checkout-form textarea{ min-height: 90px; resize: vertical; }

.phone-group{
  display:grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 10px;
}

.phone-group select,
.phone-group input{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
}

.phone-group select{
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.8) 50%),
    linear-gradient(135deg, rgba(255,255,255,.8) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px),
    100% 0;
  background-size: 6px 6px, 6px 6px, 2.5em 2.5em;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.phone-group select option{
  background: #0f1117;
  color: #fff;
}

.btn-send-wa{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(212,175,55,.40);
  background: rgba(212,175,55,.14);
  color:#fff;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease;
}
.btn-send-wa:hover{ transform: translateY(-1px); border-color: rgba(212,175,55,.55); }
.checkout-footnote{
  margin: 0;
  padding: 0 16px 16px;
  font-size: 12px;
  color: var(--muted);
  text-align:center;
}

/* checkout items (works with existing JS markup) */
.checkout-item{
  display:grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.checkout-item img{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.10);
}
.checkout-item-title{ font-weight: 750; margin: 0; }
.checkout-item-meta{ color: var(--muted); font-size: 12px; margin-top: 2px; }
.checkout-item-custom{
  margin-top: 6px;
  color: #d8dbe6;
  font-size: 12px;
  line-height: 1.45;
}
.checkout-item-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap: 8px;
}
.checkout-item-price{ font-weight: 800; }
.checkout-remove{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor:pointer;
}
.qty-controls{
  display:flex;
  align-items:center;
  gap: 8px;
}
.qty-controls button{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color:#fff;
  cursor:pointer;
}

/* ---------- CART BUTTON ---------- */
.cart-button{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  color:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  box-shadow: var(--shadow-float);
  z-index: 60;
  transition: transform .18s ease, border-color .18s ease;
}
.cart-button:hover{ transform: translateY(-2px); border-color: rgba(212,175,55,.35); }
.cart-count{
  position:absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(212,175,55,.95);
  color: #0b0c10;
  border: 1px solid rgba(0,0,0,.25);
}

/* ---------- IMPACT SECTION ---------- */
.impact{
  position:relative;
  margin-top: 18px;
  padding: 56px 0;
  background: linear-gradient(135deg, rgba(139, 90, 43, 0.08) 0%, rgba(184, 134, 11, 0.08) 100%);
  overflow:hidden;
}
.impact__inner{
  max-width: var(--container);
  margin:0 auto;
  padding: 0 20px;
}
.impact__head{
  text-align:center;
  margin-bottom: 22px;
}
.impact__title{
  margin:0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.7vw, 34px);
  color: var(--gold);
}
.impact__sub{
  margin:0 auto;
  max-width: 80ch;
  color: var(--text);
  line-height: 1.7;
}
.impact-grid{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}
.impact-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 16px;
  box-shadow: var(--shadow-card);
}
.impact-card h3{
  margin:0 0 6px;
  letter-spacing:.02em;
}
.impact-card p{
  margin:0;
  color: var(--muted);
  line-height: 1.65;
}
.impact-shine{
  position:absolute;
  inset:-40% -20%;
  background: radial-gradient(closest-side at 25% 40%, rgba(212,175,55,.18), transparent 60%);
  pointer-events:none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .modal-content{ grid-template-columns: 1fr; }
  .modal-image img{ height: 320px; }
  .shop-head{ flex-direction:column; align-items:flex-start; }
}

@media (max-width: 640px){
  .modal{
    align-items:flex-start;
    padding: 10px;
  }
  .modal-shell{
    width: 100%;
    max-height: calc(100vh - 20px);
    overflow:hidden;
  }
  .modal-content{
    padding: 14px;
    gap: 14px;
    max-height: calc(100vh - 20px);
  }
  .modal-image img{ height: 240px; }
  .filter-bar{ top: 8px; border-radius: 18px; }
  .grid{ grid-template-columns: 1fr; }
  .product-card img{ height: 220px; }
  .impact-grid{ grid-template-columns: 1fr; }
  .phone-group{ grid-template-columns: 1fr; }
  .checkout-panel{
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* ---------- OVERLAY / TOAST ---------- */
.overlay{
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0,0,0,.28), rgba(0,0,0,.58));
  backdrop-filter: blur(8px);
  z-index: 54; /* under checkout panel (55) */
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.overlay.active{
  opacity: 1;
  pointer-events: auto;
}

.toast{
  position: fixed;
  top: 18px;
  right: 18px;
  max-width: min(360px, 88vw);
  background: rgba(212,175,55,.92);
  color: #0b0c10;
  padding: 12px 14px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
  z-index: 2000;
}


.modal-production{
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}


.product-media{
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display:block;
  width:100%;
}
.product-media:focus-visible{
  outline: 2px solid rgba(212,175,55,.55);
  outline-offset: 2px;
}

@media (max-width: 900px){
  .checkout-panel{
    top: 8px;
    right: 8px;
    width: calc(100vw - 16px);
    height: calc(100vh - 16px);
    border-radius: 24px;
    touch-action: pan-y;
  }
}
.checkout-item-side{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
}

.checkout-remove{
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.checkout-remove:hover{
  transform: translateY(-1px);
  border-color: rgba(212,175,55,.35);
  background: rgba(255,255,255,.09);
}