:root {
  --bg-1: #09070f;
  --bg-2: #120a1f;
  --bg-3: #1a1230;
  --surface: rgba(22, 15, 40, 0.7);
  --surface-strong: rgba(14, 10, 28, 0.9);
  --champagne: #efcf9f;
  --champagne-strong: #d9b277;
  --text-main: #f5f0e6;
  --text-soft: #c8bfd7;
  --accent-line: #bda8ff;
  --shadow: 0 18px 44px rgba(4, 2, 10, 0.55);
  --radius: 18px;
  --header-h-desktop: 76px;
  --header-h-mobile: 62px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 8% 10%, #2c2052 0%, transparent 28%),
    radial-gradient(circle at 88% 14%, #4a2f5d 0%, transparent 30%),
    linear-gradient(150deg, var(--bg-1) 0%, var(--bg-2) 40%, var(--bg-3) 100%);
  color: var(--text-main);
}

body {
  padding-top: var(--header-h-desktop);
}

a,
button {
  color: inherit;
  font: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(239, 207, 159, 0.9);
  outline-offset: 2px;
}

main {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1400;
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

.mobile-top-nav {
  display: none;
}

.top-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.top-nav.scrolled {
  background: linear-gradient(180deg, rgba(18, 12, 35, 0.86), rgba(12, 9, 24, 0.9));
  backdrop-filter: blur(14px);
  border-color: rgba(239, 207, 159, 0.24);
  box-shadow: var(--shadow);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-image {
  width: clamp(120px, 13vw, 190px) !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.mobile-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.mobile-logo-image {
  width: min(56vw, 240px) !important;
  max-width: 100% !important;
  height: 40px !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.nav-center {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.nav-link,
.tablet-link,
.profile-link {
  position: relative;
  text-decoration: none;
  border: 0;
  background: transparent;
  color: var(--text-main);
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-link::after,
.profile-link::after,
.tablet-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-line), var(--champagne));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover,
.profile-link:hover,
.tablet-link:hover {
  color: var(--champagne);
  text-shadow: 0 0 12px rgba(239, 207, 159, 0.4);
}

.nav-link:hover::after,
.profile-link:hover::after,
.tablet-link:hover::after,
.nav-link.active::after,
.profile-link.active::after,
.tablet-link.active::after,
.mobile-nav-item.active .mobile-label::after {
  transform: scaleX(1);
}

.nav-link.active,
.profile-link.active,
.tablet-link.active {
  color: var(--champagne);
}

.nav-item.dropdown {
  position: relative;
}

.dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.caret {
  font-size: 0.72rem;
  color: var(--text-soft);
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-item.dropdown.open .caret {
  transform: rotate(180deg);
  color: var(--champagne);
}

.dropdown-menu {
  list-style: none;
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 190px;
  margin: 0;
  padding: 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(239, 207, 159, 0.25);
  background: linear-gradient(180deg, rgba(30, 20, 52, 0.96), rgba(20, 13, 36, 0.96));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-menu li a {
  display: block;
  padding: 0.58rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-main);
  transition: background 0.22s ease, color 0.22s ease;
}

.dropdown-menu li a:hover {
  background: rgba(189, 168, 255, 0.18);
  color: var(--champagne);
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-btn {
  position: relative;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid rgba(239, 207, 159, 0.3);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.icon-btn .icon {
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
}

.icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-btn:hover {
  border-color: rgba(239, 207, 159, 0.7);
  box-shadow: 0 0 17px rgba(239, 207, 159, 0.27);
  transform: translateY(-1px);
}

.cart-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.35rem;
  min-width: 1.12rem;
  height: 1.12rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.66rem;
  font-weight: 700;
  color: #271607;
  background: linear-gradient(180deg, #ffe1b7, #d9b277);
  border: 1px solid #f7dfbb;
  padding: 0 0.2rem;
}

.profile-link {
  margin-left: 0.35rem;
}

.hamburger {
  display: none;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(239, 207, 159, 0.36);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.hamburger span {
  width: 14px;
  height: 2px;
  background: var(--champagne);
}

.tablet-menu {
  position: fixed;
  top: 4.2rem;
  right: 1.2rem;
  width: min(280px, 72vw);
  border-radius: var(--radius);
  border: 1px solid rgba(239, 207, 159, 0.25);
  background: rgba(19, 12, 34, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  padding: 0.9rem;
  display: none;
  flex-direction: column;
  gap: 0.65rem;
}

.tablet-menu.open {
  display: flex;
  animation: menuSlideIn 0.3s ease;
}

@keyframes menuSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 6.5rem 1.2rem 2.5rem;
}

.tagline {
  color: var(--champagne);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 6vw, 4rem);
  margin: 0 0 0.8rem;
  line-height: 1.06;
}

.hero p {
  max-width: 650px;
  color: var(--text-soft);
  line-height: 1.6;
}

.demo-actions {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.gold-btn,
.ghost-btn {
  border-radius: 999px;
  padding: 0.68rem 1.25rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gold-btn {
  background: linear-gradient(180deg, #f8d7aa, var(--champagne-strong));
  color: #2b1b0b;
  border: 1px solid #f6dfbf;
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  border: 1px solid rgba(189, 168, 255, 0.55);
}

.gold-btn:hover,
.ghost-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(189, 168, 255, 0.35);
}

.content-placeholder {
  padding: 1rem 1rem 7rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.content-placeholder h2 {
  font-family: "Cormorant Garamond", serif;
  color: var(--champagne);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.spacer {
  height: 120vh;
}

.shop-toolbar {
  margin: 1.4rem auto 1.1rem;
  display: grid;
  gap: 0.8rem;
}

.shop-search {
  width: min(100%, 560px);
  margin: 0 auto;
  border: 1px solid rgba(239, 207, 159, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  padding: 0.7rem 1rem;
}

.shop-search:focus {
  outline: 0;
  border-color: var(--champagne);
  box-shadow: 0 0 0 2px rgba(239, 207, 159, 0.2);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.filter-chip {
  border: 1px solid rgba(239, 207, 159, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  background: rgba(239, 207, 159, 0.18);
  border-color: rgba(239, 207, 159, 0.7);
  color: var(--champagne);
}

.sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width: min(100%, 760px);
  margin: 0 auto;
}

.results-count {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.sort-select {
  border: 1px solid rgba(239, 207, 159, 0.35);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.34rem 0.75rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  text-align: left;
}

.product-card {
  border: 1px solid rgba(239, 207, 159, 0.25);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(239, 207, 159, 0.5);
  box-shadow: 0 10px 26px rgba(6, 3, 14, 0.35);
}

.product-image {
  height: 180px;
  background: linear-gradient(145deg, rgba(68, 43, 98, 0.85), rgba(27, 19, 44, 0.92));
  display: grid;
  place-items: center;
  font-size: 2.2rem;
}

.product-body {
  padding: 0.85rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: start;
}

.product-name {
  font-size: 0.97rem;
  margin: 0;
}

.wishlist-btn {
  border: 1px solid rgba(239, 207, 159, 0.38);
  background: transparent;
  color: var(--text-soft);
  border-radius: 999px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.wishlist-btn.active {
  color: #ff77bd;
  border-color: rgba(255, 119, 189, 0.6);
  box-shadow: 0 0 10px rgba(255, 119, 189, 0.28);
}

.product-category {
  color: var(--text-soft);
  font-size: 0.8rem;
  margin-top: 0.35rem;
}

.product-footer {
  margin-top: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-weight: 600;
}

.add-btn {
  border: 1px solid rgba(239, 207, 159, 0.45);
  background: rgba(239, 207, 159, 0.13);
  color: var(--champagne);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
}

.empty-state {
  color: var(--text-soft);
  margin-top: 1rem;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(380px, 92vw);
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  background: linear-gradient(180deg, rgba(23, 16, 39, 0.98), rgba(12, 9, 22, 0.98));
  border-left: 1px solid rgba(239, 207, 159, 0.25);
  z-index: 1300;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(239, 207, 159, 0.2);
}

.drawer-head h3 {
  margin: 0;
}

.drawer-close {
  background: transparent;
  border: 0;
  color: var(--text-main);
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 0.6rem 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(239, 207, 159, 0.12);
}

.cart-item-name {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item-price {
  margin: 0.2rem 0 0;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.qty-btn {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(239, 207, 159, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  cursor: pointer;
}

.cart-empty {
  padding: 1rem;
  color: var(--text-soft);
}

.cart-summary {
  border-top: 1px solid rgba(239, 207, 159, 0.2);
  padding: 0.9rem 1rem 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.total-row {
  margin-top: -0.25rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(239, 207, 159, 0.25);
  font-size: 1.02rem;
}

.checkout-btn {
  width: 100%;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 1, 5, 0.48);
  z-index: 1250;
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  min-height: 72px;
  display: none;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-around;
  gap: 0;
  padding: 0.4rem 0.2rem calc(0.4rem + env(safe-area-inset-bottom));
  border-radius: 0;
  border-top: 1px solid rgba(239, 207, 159, 0.28);
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(28, 19, 48, 0.95), rgba(17, 11, 31, 0.94));
  backdrop-filter: blur(16px);
  box-shadow: 0 -10px 24px rgba(4, 2, 10, 0.4);
  z-index: 1200;
}

.mobile-nav-item {
  position: relative;
  flex: 1;
  min-width: 0;
  color: #f3edf8;
  text-decoration: none;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 0.15rem;
  padding: 0.36rem 0.06rem;
  border-radius: 10px;
  font-size: 0.74rem;
  line-height: 1.1;
  transition: background 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  background: rgba(189, 168, 255, 0.16);
  color: var(--champagne);
  text-shadow: 0 0 10px rgba(239, 207, 159, 0.35);
}

.mobile-label {
  font-size: 0.73rem;
  white-space: nowrap;
}

.mobile-badge {
  top: 2px;
  right: 8px;
}

.cart-mobile {
  padding-right: 0.32rem;
}

.mobile-icon {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.mobile-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast-region {
  position: fixed;
  right: 14px;
  bottom: 90px;
  z-index: 1400;
  display: grid;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  min-width: 180px;
  max-width: 280px;
  padding: 0.58rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(239, 207, 159, 0.32);
  background: rgba(20, 14, 35, 0.95);
  color: var(--text-main);
  box-shadow: 0 10px 26px rgba(3, 2, 8, 0.45);
  animation: toastIn 0.22s ease;
}

body.no-scroll {
  overflow: hidden;
}

.flow-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 2, 8, 0.66);
  backdrop-filter: blur(4px);
  z-index: 1405;
}

.auth-modal,
.spin-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(430px, calc(100% - 1.2rem));
  border-radius: 16px;
  border: 1px solid rgba(239, 207, 159, 0.3);
  background: linear-gradient(180deg, rgba(28, 19, 48, 0.98), rgba(15, 10, 27, 0.98));
  box-shadow: 0 20px 40px rgba(4, 2, 10, 0.55);
  padding: 1rem;
  z-index: 1410;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.auth-modal.open,
.spin-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.auth-modal h3,
.spin-modal h3 {
  margin: 0 0 0.25rem;
}

.modal-subtitle {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
}

.auth-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.auth-tab {
  flex: 1;
  border: 1px solid rgba(239, 207, 159, 0.3);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  cursor: pointer;
}

.auth-tab.active {
  color: #2b1b0b;
  background: linear-gradient(180deg, #f8d7aa, var(--champagne-strong));
}

.auth-form {
  display: grid;
  gap: 0.55rem;
}

.auth-form input {
  border: 1px solid rgba(239, 207, 159, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
}

.auth-submit {
  margin-top: 0.4rem;
}

.wheel-wrap {
  width: 250px;
  height: 250px;
  margin: 0.3rem auto 1rem;
  position: relative;
  display: grid;
  place-items: center;
}

.wheel-pointer {
  position: absolute;
  top: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 16px solid var(--champagne);
  z-index: 2;
}

.spin-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid rgba(239, 207, 159, 0.7);
  position: relative;
  background: conic-gradient(
    #f6d6ab 0deg 72deg,
    #ac8ff1 72deg 144deg,
    #eec18a 144deg 216deg,
    #7c5dc8 216deg 288deg,
    #dfad72 288deg 360deg
  );
  transition: transform 3.4s cubic-bezier(0.1, 0.75, 0.05, 1);
}

.wheel-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: center;
  font-weight: 700;
  font-size: 0.86rem;
  color: #1f1207;
}

.label-1 { transform: translate(-50%, -50%) rotate(36deg) translateY(-95px) rotate(-36deg); }
.label-2 { transform: translate(-50%, -50%) rotate(108deg) translateY(-95px) rotate(-108deg); }
.label-3 { transform: translate(-50%, -50%) rotate(180deg) translateY(-95px) rotate(-180deg); }
.label-4 { transform: translate(-50%, -50%) rotate(252deg) translateY(-95px) rotate(-252deg); }
.label-5 { transform: translate(-50%, -50%) rotate(324deg) translateY(-95px) rotate(-324deg); }

.spin-btn {
  width: 100%;
}

.spin-result {
  margin: 0.7rem 0 0;
  min-height: 1.1rem;
  text-align: center;
  color: var(--champagne);
  font-weight: 600;
}

.toast.success {
  border-color: rgba(89, 208, 161, 0.5);
}

.toast.info {
  border-color: rgba(189, 168, 255, 0.52);
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.skeleton .product-image,
.product-card.skeleton .product-name,
.product-card.skeleton .product-category,
.product-card.skeleton .product-price,
.product-card.skeleton .add-btn {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  background-size: 220% 100%;
  animation: shimmer 1.2s linear infinite;
  color: transparent;
}

.product-card.skeleton .product-name {
  height: 14px;
  border-radius: 6px;
  width: 68%;
}

.product-card.skeleton .product-category {
  margin-top: 0.6rem;
  height: 10px;
  width: 44%;
  border-radius: 6px;
}

.product-card.skeleton .product-price {
  height: 12px;
  width: 34%;
  border-radius: 6px;
}

.product-card.skeleton .add-btn {
  height: 28px;
  width: 72px;
  border: 0;
}

@keyframes shimmer {
  from {
    background-position: 220% 0;
  }
  to {
    background-position: -220% 0;
  }
}

/* Footer (desktop + mobile) */
.site-footer {
  margin-top: 2.5rem;
  padding: 2.2rem 1rem calc(6.6rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(239, 207, 159, 0.18);
  background: linear-gradient(180deg, rgba(12, 9, 22, 0.35), rgba(10, 7, 18, 0.75));
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1fr 1.25fr;
  gap: 1.3rem;
  text-align: left;
}

.footer-logo {
  width: min(240px, 70%);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.footer-tagline {
  margin: 0.55rem 0 0.8rem;
  color: var(--champagne);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-address {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.55;
  font-size: 0.9rem;
}

.footer-col h4 {
  margin: 0 0 0.8rem;
  color: var(--champagne);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.footer-link {
  display: block;
  text-decoration: none;
  color: var(--text-soft);
  padding: 0.28rem 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.footer-link:hover {
  color: var(--champagne);
  text-shadow: 0 0 12px rgba(239, 207, 159, 0.35);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(239, 207, 159, 0.3);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.8rem;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 207, 159, 0.65);
  box-shadow: 0 0 18px rgba(239, 207, 159, 0.25);
}

.footer-note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.5;
}

.subscribe-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  margin-top: 0.75rem;
}

.subscribe-form input {
  border: 1px solid rgba(239, 207, 159, 0.34);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border-radius: 10px;
  padding: 0.62rem 0.75rem;
}

.subscribe-btn {
  padding: 0.62rem 0.95rem;
}

.footer-fine {
  margin: 0.7rem 0 0;
  color: rgba(200, 191, 215, 0.8);
  font-size: 0.78rem;
  line-height: 1.4;
}

.footer-bottom {
  max-width: 1200px;
  margin: 1.7rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(239, 207, 159, 0.12);
  text-align: center;
  color: rgba(200, 191, 215, 0.85);
  font-size: 0.85rem;
}


@media (max-width: 1024px) and (min-width: 769px) {
  .top-nav {
    padding-inline: 1.2rem;
  }

  .nav-center {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    padding-top: var(--header-h-mobile);
  }

  .top-nav {
    display: none !important;
  }

  .tablet-menu {
    display: none !important;
  }

  .mobile-top-nav {
    position: sticky;
    top: 0;
    z-index: 1201;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    padding: 0.45rem 0.9rem;
    background: linear-gradient(180deg, rgba(22, 14, 38, 0.94), rgba(16, 10, 29, 0.9));
    border-bottom: 1px solid rgba(239, 207, 159, 0.24);
    backdrop-filter: blur(12px);
  }

  .mobile-bottom-nav {
    display: flex !important;
  }

  .hero {
    padding-top: 1.25rem;
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .sort-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-image {
    height: 140px;
  }

  .cart-drawer {
    width: 100%;
  }

  .toast-region {
    right: 10px;
    left: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .toast {
    max-width: none;
  }

  .site-footer {
    padding-bottom: calc(7.2rem + env(safe-area-inset-bottom));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
  }

  .subscribe-form {
    grid-template-columns: 1fr;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
