
:root {
  --bg-main: #02030a;
  --bg-elevated: #050814;
  --bg-soft: #111827;
  --accent-gold: #fbbf24;
  --accent-gold-soft: #facc6b;
  --accent-red: #ef4444;
  --accent-green: #22c55e;
  --accent-blue: #0ea5e9;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.35);
  --transition-fast: 180ms ease-out;
  --transition-med: 220ms ease-out;
  --max-width: 1120px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

/* LAYOUT */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.85));
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: var(--header-height);
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #f97316, #22c55e 40%, #0ea5e9 70%);
  padding: 3px;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.85);
}

.logo-text h1 {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.logo-text p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--accent-gold-soft);
}

/* NAVIGATION */

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent-gold-soft);
  border-color: var(--accent-gold-soft);
}

.cart-button {
  background: rgba(15, 23, 42, 0.85);
  color: var(--accent-gold);
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  padding: 0.35rem 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.9rem;
  box-shadow: var(--shadow-subtle);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.cart-button span {
  background: var(--accent-gold);
  color: #020617;
  min-width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-button:hover {
  background: rgba(248, 250, 252, 0.08);
  transform: translateY(-1px);
}

/* SECTIONS */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.2rem;
  margin-bottom: 3rem;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.hero-content p {
  color: var(--text-muted);
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--accent-gold-soft);
}

.hero-badges span {
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.12);
  padding: 0.35rem 0.75rem;
  background: rgba(15, 23, 42, 0.7);
}

.hero-visual {
  position: relative;
  min-height: 260px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.2), transparent 60%),
              radial-gradient(circle at bottom, rgba(34, 197, 94, 0.18), transparent 55%),
              #020617;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.hero-logo-fade {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 10%, rgba(251, 191, 36, 0.7), transparent 55%),
    radial-gradient(circle at 75% 20%, rgba(34, 197, 94, 0.7), transparent 55%),
    radial-gradient(circle at 40% 80%, rgba(56, 189, 248, 0.7), transparent 60%);
  opacity: 0.4;
  mix-blend-mode: screen;
}

.hero-note {
  position: relative;
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 260px;
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.55rem 1.2rem;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: background var(--transition-med), transform var(--transition-fast), box-shadow var(--transition-med), border-color var(--transition-med);
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-soft));
  color: #0b1120;
  box-shadow: var(--shadow-subtle);
}

.btn.primary:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn.ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn.full-width {
  width: 100%;
}

/* SECTION HEADER */

.section-header {
  text-align: center;
  margin-bottom: 1.8rem;
}

.section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* SHOP */

.shop-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  align-items: center;
  justify-content: space-between;
}

.shop-controls input[type="search"],
.shop-controls select {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  min-width: 160px;
}

.shop-controls input::placeholder {
  color: var(--text-muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.3rem;
}

.product-card {
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.02), transparent 55%),
              rgba(15, 23, 42, 0.98);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: var(--shadow-subtle);
  padding: 0.85rem 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(251, 191, 36, 0.12), transparent 65%);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.product-card:hover::before {
  opacity: 1;
}

.product-image {
  border-radius: calc(var(--radius-md) - 6px);
  background: radial-gradient(circle at top, rgba(251, 191, 36, 0.2), rgba(15, 23, 42, 0.95));
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 0.6rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
}

.product-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.7);
  font-size: 0.7rem;
  color: #bbf7d0;
}

.product-title {
  font-size: 0.98rem;
  margin: 0.1rem 0 0.1rem;
}

.product-category {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.2rem 0 0.4rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.product-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-gold-soft);
}

.product-size {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.product-actions button {
  flex: 1;
}

/* ABOUT */

.about {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.about-content {
  max-width: 720px;
  margin: 0 auto 1.8rem;
  text-align: center;
  color: var(--text-muted);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.1rem;
}

.about-highlights article {
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem;
  box-shadow: var(--shadow-subtle);
}

.about-highlights h3 {
  margin-top: 0;
  color: var(--accent-gold-soft);
}

/* CONTACT */

.contact {
  margin-top: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.7rem;
}

.contact-form {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1.1rem 1.2rem 1.25rem;
  box-shadow: var(--shadow-subtle);
}

.contact-form label {
  display: block;
  font-size: 0.84rem;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea,
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  margin-top: 0.18rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  font-size: 0.88rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.checkout-form select:focus {
  outline: none;
  border-color: var(--accent-gold-soft);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.45);
}

.contact-form .form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.contact-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info h3 {
  margin-top: 0;
  color: var(--accent-gold-soft);
}

.contact-info a {
  color: var(--accent-gold-soft);
}

.small {
  font-size: 0.82rem;
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem 1.5rem 1.8rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: radial-gradient(circle at top, #0b1120 0, #020617 55%, #000 100%);
}

/* CART DRAWER */

.cart-drawer {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  background: #020617;
  border-left: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.6);
  transform: translateX(100%);
  transition: transform var(--transition-med);
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-header {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cart-header button {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.4rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 0.4rem;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.55rem 0.6rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.cart-item-title {
  font-size: 0.86rem;
  margin-bottom: 0.1rem;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.cart-item-qty button {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: transparent;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
}

.cart-item-price {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-gold-soft);
}

.cart-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.9rem 1.1rem 1.1rem;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

/* CHECKOUT MODAL */

.checkout-modal {
  border: none;
  border-radius: var(--radius-md);
  max-width: 520px;
  width: calc(100% - 2.5rem);
  padding: 0;
  background: #020617;
  color: var(--text-main);
  box-shadow: var(--shadow-soft);
}

.checkout-form {
  padding: 1.1rem 1.25rem 1.25rem;
}

.checkout-form h2 {
  margin-top: 0;
}

.checkout-actions {
  margin-top: 0.9rem;
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
}

/* RESPONSIVE */

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  main {
    padding-inline: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-inline: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.98);
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
    flex-direction: column;
    padding: 0.75rem 1.2rem 0.9rem;
    gap: 0.65rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    margin-top: 1.5rem;
  }
}


/* POLICY / TERMS SECTION */
.policies {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 1rem;
}

.policy-grid article {
  background: rgba(15, 23, 42, 0.96);
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 1rem;
  box-shadow: var(--shadow-subtle);
}

.policy-grid h3 {
  color: var(--accent-gold-soft);
  margin-top: 0;
}

.policy-grid p,
.policy-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.policy-note {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(251, 191, 36, 0.45);
  background: rgba(15, 23, 42, 0.75);
}


/* ALWAYS-VISIBLE LANGUAGE & CURRENCY BAR */
.global-tools {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
  background: linear-gradient(90deg, rgba(2,6,23,0.98), rgba(15,23,42,0.95));
  border-bottom: 1px solid rgba(251, 191, 36, 0.28);
  padding: 0.55rem 1rem;
}

.global-tools-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.tool-field {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.tool-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-soft);
  font-weight: 700;
}

.tool-field select {
  background: rgba(15, 23, 42, 0.96);
  color: var(--text-main);
  border: 1px solid rgba(251, 191, 36, 0.55);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  min-width: 115px;
}

.tools-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-main-logo {
  position: absolute;
  inset: 1.4rem 1.4rem auto auto;
  width: min(210px, 45%);
  max-height: 210px;
  object-fit: contain;
  opacity: 0.95;
  filter: drop-shadow(0 0 28px rgba(251, 191, 36, 0.45));
  border-radius: 999px;
}

.policies {
  margin-top: 3rem;
  padding: 1.2rem;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.policy-grid article {
  background: rgba(2, 6, 23, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.policy-grid h3 { color: var(--accent-gold-soft); margin-top: 0; }
.policy-note { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 0; }

@media (max-width: 720px) {
  .global-tools { position: static; }
  .global-tools-inner { justify-content: flex-start; }
  .tool-field { width: calc(50% - 0.4rem); flex-direction: column; align-items: flex-start; }
  .tool-field select { width: 100%; }
  .tools-note { width: 100%; }
  .hero-main-logo { position: relative; inset: auto; width: 170px; margin: 0 auto 2.5rem; display: block; }
}
