@font-face {
  font-family: 'Scream';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Scream.ttf') format('truetype');
}
@font-face {
  font-family: 'Creepster';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Creepster-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/Inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/Inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink-950: #06060a;
  --ink-900: #0a0a0f;
  --ink-850: #101018;
  --ink-800: #14141f;
  --surface: #18181bcc;
  --surface-solid: #18181f;
  --surface-2: #1e1e2e;
  --border: #27272a;
  --border-soft: rgba(63, 63, 70, .55);
  --pumpkin-300: #fdba74;
  --pumpkin-400: #fb923c;
  --pumpkin-500: #f97316;
  --pumpkin-600: #ea580c;
  --pumpkin-700: #c2410c;
  --purple: #a855f7;
  --purple-soft: rgba(168, 85, 247, .2);
  --blood: #ef4444;
  --success: #22c55e;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --muted-2: #71717a;
  --shadow: 0 18px 55px rgba(0, 0, 0, .3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background-color: var(--ink-900);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(124, 45, 18, .15), transparent 31rem),
    radial-gradient(circle at 88% 22%, rgba(88, 28, 135, .1), transparent 28rem);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body::selection { background: rgba(249, 115, 22, .35); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.font-display { font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 800; letter-spacing: .025em; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.orange { color: var(--pumpkin-400); }
.purple { color: #c084fc; }
.hidden { display: none !important; }

/* Shared controls, intentionally echoing the reference site's compact dark UI. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: .62rem 1.15rem;
  font-size: .9rem;
  font-weight: 700;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  background: var(--pumpkin-600);
  color: white;
  box-shadow: 0 8px 24px rgba(234, 88, 12, .12);
}
.btn-primary:hover { background: var(--pumpkin-500); box-shadow: 0 10px 28px rgba(234, 88, 12, .28); }
.btn-secondary {
  border-color: #3f3f46;
  background: #27272a;
  color: #e4e4e7;
}
.btn-secondary:hover { border-color: #52525b; background: #3f3f46; color: #fff; }
.btn-ghost { color: #d4d4d8; background: transparent; }
.btn-ghost:hover { color: #fff; background: #27272a; }
.btn-danger { background: rgba(127, 29, 29, .28); border-color: rgba(239, 68, 68, .28); color: #fca5a5; }
.btn-danger:hover { background: rgba(185, 28, 28, .38); border-color: rgba(239, 68, 68, .55); }
.btn-small { min-height: 34px; padding: .45rem .75rem; font-size: .78rem; }
.btn-wide { width: 100%; }
.btn-icon { width: 38px; height: 38px; min-height: 38px; padding: 0; border-radius: 9px; }
.btn:disabled { cursor: not-allowed; opacity: .46; transform: none; box-shadow: none; }

.icon { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 15px; height: 15px; }
.icon-lg { width: 22px; height: 22px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(39, 39, 42, .72);
  background: rgba(10, 10, 15, .84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.navbar { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}
.brand-mark .icon { width: 23px; height: 23px; }
.brand-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; filter: drop-shadow(0 6px 10px rgba(168, 85, 247, .28)); }
.brand-mark-solid { border-radius: 12px; background: var(--brand-icon-bg, #18101f); box-shadow: 0 8px 24px rgba(168, 85, 247, .18); }
.brand-copy { display: grid; gap: 1px; }
.brand-name { font-family: Scream, sans-serif; font-size: 1.3rem; line-height: 1; letter-spacing: .07em; color: var(--pumpkin-400); }
.brand-subtitle { color: var(--muted-2); font-size: .69rem; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: .62rem .75rem;
  border-radius: 8px;
  color: #a1a1aa;
  font-size: .84rem;
  font-weight: 600;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover, .nav-link.active { color: #fff; background: #18181b; }
.nav-link.active { color: var(--pumpkin-300); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid #3f3f46;
  border-radius: 9px;
  padding: 0 .8rem;
  background: #18181b;
  color: #e4e4e7;
  font-size: .82rem;
  font-weight: 700;
  transition: all .15s ease;
}
.cart-button:hover { border-color: rgba(249, 115, 22, .55); color: #fff; background: #211a18; }
.cart-count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--pumpkin-600);
  color: #fff;
  font-size: .7rem;
  line-height: 1;
}
.menu-toggle { display: none; }
.mobile-nav { display: none; }

/* Ambient decorations / reference-like motion. */
.ambient { pointer-events: none; position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.ambient span { position: absolute; color: #fff; opacity: .035; font-size: 4.5rem; animation: float 4s ease-in-out infinite; }
.ambient .a1 { left: 3%; top: 18%; }
.ambient .a2 { right: 7%; top: 37%; animation-delay: 1s; font-size: 3.8rem; }
.ambient .a3 { left: 23%; bottom: 17%; animation-delay: 2s; font-size: 3.4rem; }
.ambient .a4 { right: 31%; bottom: 34%; animation-delay: .6s; font-size: 2.8rem; }
main, footer { position: relative; z-index: 1; }

/* Home / hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(39, 39, 42, .45);
  background: linear-gradient(180deg, rgba(124, 45, 18, .2), rgba(10, 10, 15, .9) 86%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% -10%, rgba(249, 115, 22, .22), transparent 38rem);
}
.hero-content { position: relative; padding: 64px 0 34px; text-align: center; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(249, 115, 22, .3);
  border-radius: 999px;
  padding: .4rem .9rem;
  background: rgba(249, 115, 22, .1);
  color: var(--pumpkin-300);
  font-size: .8rem;
}
/* Hero and info-chip SVGs use the same pumpkin-orange accent as the reference. */
.badge svg,
.info-chip svg,
.badge svg.icon-sm,
.info-chip svg.icon-sm {
  color: var(--pumpkin-500) !important;
  stroke: var(--pumpkin-500) !important;
  fill: none !important;
}
.badge svg path,
.badge svg circle,
.badge svg line,
.badge svg polyline,
.info-chip svg path,
.info-chip svg circle,
.info-chip svg line,
.info-chip svg polyline {
  stroke: var(--pumpkin-500) !important;
  fill: none !important;
}
.badge-purple { border-color: rgba(168, 85, 247, .32); background: rgba(168, 85, 247, .1); color: #d8b4fe; }
.hero-title { margin: 16px 0 0; font-size: clamp(3.2rem, 9vw, 6.8rem); line-height: .98; color: #fff; animation: flicker 3s infinite; text-shadow: 0 0 35px rgba(249, 115, 22, .12); }
.hero-title span { color: var(--pumpkin-400); }
.hero-copy { max-width: 680px; margin: 17px auto 0; color: #a1a1aa; font-size: 1.05rem; }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.info-chips { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.info-chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(39, 39, 42, .95); border-radius: 8px; padding: .5rem .82rem; background: rgba(24, 24, 27, .55); color: #d4d4d8; font-size: .78rem; }
.info-chip .icon { color: var(--pumpkin-400); }
.hero-banner {
  position: relative;
  min-height: 220px;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 22, .22);
  border-radius: 16px;
  background: #14141f url('/assets/hero-halloween.jpg') center / cover no-repeat;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .28), 0 0 55px rgba(124, 45, 18, .1);
  text-align: left;
}
.hero-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 15, .95) 0%, rgba(10, 10, 15, .6) 43%, rgba(10, 10, 15, .12) 100%); }
.hero-banner-content { position: relative; z-index: 1; max-width: 420px; padding: 32px 34px; }
.hero-banner-kicker { color: var(--pumpkin-300); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-banner-title { margin-top: 7px; font-size: clamp(1.35rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.hero-banner-copy { margin: 8px 0 18px; color: #d4d4d8; font-size: .85rem; }

.section { padding: 56px 0; }
.section-tight { padding: 36px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.section-title { margin: 0; font-size: clamp(2rem, 4vw, 3rem); color: #fff; line-height: 1.05; }
.section-subtitle { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.section-link { display: inline-flex; align-items: center; gap: 6px; color: var(--pumpkin-400); font-size: .86rem; font-weight: 700; white-space: nowrap; }
.section-link:hover { color: var(--pumpkin-300); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { display: flex; gap: 13px; padding: 18px; border: 1px solid #27272a; border-radius: 12px; background: rgba(24, 24, 27, .62); }
.feature-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 10px; background: rgba(249, 115, 22, .1); color: var(--pumpkin-400); }
.feature-card:nth-child(2) .feature-icon { background: rgba(168, 85, 247, .11); color: #c084fc; }
.feature-card:nth-child(3) .feature-icon { background: rgba(34, 197, 94, .1); color: #86efac; }
.feature-title { margin: 0; color: #fff; font-size: .95rem; }
.feature-copy { margin: 4px 0 0; color: var(--muted-2); font-size: .78rem; }

.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.product-card {
  overflow: hidden;
  border: 1px solid #27272a;
  border-radius: 12px;
  background: rgba(24, 24, 27, .8);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  animation: fade-in-up .45s ease both;
}
.product-card:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, .52); box-shadow: 0 20px 38px rgba(0, 0, 0, .22), 0 0 24px rgba(124, 45, 18, .15); }
.product-image-wrap { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(135deg, #27272a, #14141f); }
.product-image-wrap::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 65%, rgba(10, 10, 15, .22)); }
.product-image { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.product-card:hover .product-image { transform: scale(1.07); }
.product-category { position: absolute; z-index: 2; top: 11px; left: 11px; border: 1px solid rgba(249, 115, 22, .22); border-radius: 999px; padding: .3rem .62rem; background: rgba(10, 10, 15, .8); color: var(--pumpkin-300); font-size: .68rem; font-weight: 700; backdrop-filter: blur(5px); }
.product-badge { position: absolute; z-index: 2; top: 11px; right: 11px; border-radius: 999px; padding: .3rem .6rem; background: var(--pumpkin-600); color: #fff; font-size: .66rem; font-weight: 800; }
.product-badge.purple-badge { background: #7e22ce; }
.product-body { padding: 15px; }
.product-name { display: block; overflow: hidden; margin: 0; color: #fff; font-family: Inter, sans-serif; font-size: .92rem; font-weight: 700; letter-spacing: 0; text-overflow: ellipsis; white-space: nowrap; transition: color .15s ease; }
.product-card:hover .product-name { color: var(--pumpkin-300); }
.product-description { display: -webkit-box; min-height: 37px; overflow: hidden; margin: 5px 0 0; color: #a1a1aa; font-size: .75rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-stock { margin-top: 10px; font-size: .7rem; font-weight: 700; }
.product-stock.in-stock { color: #86efac; }
.product-stock.out-of-stock { color: #fca5a5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 14px; }
.product-price { color: var(--pumpkin-400); font-size: 1.13rem; font-weight: 800; white-space: nowrap; }
.product-card .btn { flex: 0 0 auto; }

.promo-strip { position: relative; overflow: hidden; border: 1px solid rgba(168, 85, 247, .22); border-radius: 16px; padding: 28px 30px; background: linear-gradient(120deg, rgba(88, 28, 135, .24), rgba(124, 45, 18, .2)); }
.promo-strip::before { content: "✦"; position: absolute; right: 32px; top: -15px; color: rgba(249, 115, 22, .2); font-size: 8rem; transform: rotate(15deg); }
.promo-strip-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.promo-title { margin: 0; color: #fff; font-size: 1.45rem; }
.promo-copy { margin: 5px 0 0; color: #c4b5fd; font-size: .84rem; }

/* Interior pages */
.page-hero { border-bottom: 1px solid rgba(39, 39, 42, .48); background: linear-gradient(180deg, rgba(124, 45, 18, .14), rgba(10, 10, 15, .1)); }
.page-hero .container { padding: 48px 0 42px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 17px; color: var(--muted-2); font-size: .76rem; }
.breadcrumbs a:hover { color: var(--pumpkin-300); }
.breadcrumbs .current { color: #d4d4d8; }
.page-title { margin: 0; color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1; }
.page-lead { max-width: 650px; margin: 12px 0 0; color: var(--muted); font-size: .98rem; }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.search-box { position: relative; width: min(100%, 360px); }
.search-box .icon { position: absolute; left: 13px; top: 50%; color: var(--muted-2); transform: translateY(-50%); }
.input {
  width: 100%;
  border: 1px solid #3f3f46;
  border-radius: 8px;
  outline: 0;
  padding: .67rem .9rem;
  background: #18181b;
  color: #fff;
  font-size: .86rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input::placeholder { color: #71717a; }
.input:focus { border-color: var(--pumpkin-500); box-shadow: 0 0 0 3px rgba(249, 115, 22, .14); }
.search-box .input { padding-left: 41px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.category-tab { border: 1px solid #3f3f46; border-radius: 8px; padding: .59rem .8rem; background: #18181b; color: #a1a1aa; font-size: .78rem; font-weight: 700; transition: all .15s ease; }
.category-tab:hover { border-color: #52525b; color: #fff; }
.category-tab.active { border-color: var(--pumpkin-600); background: var(--pumpkin-600); color: #fff; }
.empty-state { display: grid; place-items: center; min-height: 290px; padding: 40px; border: 1px dashed #3f3f46; border-radius: 14px; text-align: center; }
.empty-state .icon { width: 45px; height: 45px; margin-bottom: 13px; color: #52525b; }
.empty-state h3 { margin: 0; font-size: 1.1rem; }
.empty-state p { margin: 6px 0 0; color: var(--muted-2); font-size: .83rem; }

.product-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; gap: 42px; }
.product-detail-image { position: sticky; top: 102px; overflow: hidden; aspect-ratio: 1 / 1; border: 1px solid #27272a; border-radius: 16px; background: linear-gradient(135deg, #27272a, #14141f); }
.product-detail-image img { width: 100%; height: 100%; object-fit: contain; }
.product-detail-content { padding-top: 8px; }
.detail-category { display: inline-block; border: 1px solid rgba(249, 115, 22, .26); border-radius: 999px; padding: .33rem .72rem; background: rgba(249, 115, 22, .1); color: var(--pumpkin-300); font-size: .73rem; font-weight: 700; }
.detail-title { margin: 14px 0 0; color: #fff; font-family: Inter, sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.detail-price { margin-top: 16px; color: var(--pumpkin-400); font-size: 1.7rem; font-weight: 800; }
.detail-description { margin: 20px 0 0; color: #c4c4ca; font-size: .93rem; line-height: 1.75; white-space: pre-line; }
.detail-divider { height: 1px; margin: 24px 0; background: #27272a; }
.detail-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: flex; align-items: flex-start; gap: 10px; color: #d4d4d8; font-size: .84rem; }
.detail-list .icon { margin-top: 2px; color: var(--pumpkin-400); }
.purchase-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.quantity { display: inline-flex; align-items: center; border: 1px solid #3f3f46; border-radius: 8px; overflow: hidden; background: #18181b; }
.quantity button { display: grid; place-items: center; width: 36px; height: 42px; border: 0; background: transparent; color: #a1a1aa; transition: background .15s ease, color .15s ease; }
.quantity button:hover { background: #27272a; color: #fff; }
.quantity span { display: grid; place-items: center; min-width: 36px; color: #fff; font-weight: 700; font-size: .85rem; }
.purchase-row .btn-primary { min-width: 190px; }
.related { margin-top: 60px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.info-card { border: 1px solid #27272a; border-radius: 13px; padding: 22px; background: rgba(24, 24, 27, .7); }
.info-card-icon { display: grid; place-items: center; width: 45px; height: 45px; border-radius: 12px; margin-bottom: 16px; background: rgba(249, 115, 22, .1); color: var(--pumpkin-400); }
.info-card h3 { margin: 0; color: #fff; font-size: 1rem; }
.info-card p { margin: 8px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }
.delivery-table { width: 100%; border-collapse: collapse; margin-top: 24px; overflow: hidden; border: 1px solid #27272a; border-radius: 13px; background: rgba(24, 24, 27, .65); }
.delivery-table th, .delivery-table td { padding: 16px 18px; border-bottom: 1px solid #27272a; text-align: left; font-size: .86rem; }
.delivery-table th { width: 40%; color: var(--muted); font-weight: 600; }
.delivery-table td { color: #fff; font-weight: 700; }
.delivery-table tr:last-child th, .delivery-table tr:last-child td { border-bottom: 0; }
.note-box { display: flex; gap: 12px; border: 1px solid rgba(249, 115, 22, .2); border-radius: 12px; margin-top: 24px; padding: 16px; background: rgba(249, 115, 22, .07); color: #fed7aa; font-size: .82rem; }
.note-box .icon { flex: 0 0 auto; margin-top: 2px; color: var(--pumpkin-400); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 24px; align-items: start; }
.contact-list { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 13px; border: 1px solid #27272a; border-radius: 12px; padding: 16px; background: rgba(24, 24, 27, .7); }
.contact-card .feature-icon { width: 42px; height: 42px; }
.contact-card h3 { margin: 0; color: #fff; font-size: .9rem; }
.contact-card p { margin: 4px 0 0; color: var(--muted); font-size: .78rem; }
.support-form { display: grid; gap: 13px; border: 1px solid #27272a; border-radius: 14px; padding: 22px; background: rgba(24, 24, 27, .7); }
.form-label { display: grid; gap: 6px; color: #d4d4d8; font-size: .78rem; font-weight: 700; }
textarea.input { min-height: 125px; resize: vertical; }

/* Custom order */
.nav-link-order { color: #a1a1aa; }
.nav-link-order:hover, .nav-link-order.active { color: var(--pumpkin-300); background: rgba(249, 115, 22, .13); }
.custom-order-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: start; gap: 22px; }
.custom-order-info { display: grid; gap: 14px; }
.custom-order-card, .custom-order-form-card { border: 1px solid #27272a; border-radius: 14px; padding: 22px; background: rgba(24, 24, 27, .72); }
.custom-order-card { position: relative; overflow: hidden; }
.custom-order-card::after { content: ""; position: absolute; right: -55px; top: -65px; width: 150px; height: 150px; border-radius: 50%; background: rgba(168, 85, 247, .08); filter: blur(2px); pointer-events: none; }
.custom-order-card-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 15px; border-radius: 12px; background: rgba(249, 115, 22, .1); color: var(--pumpkin-400); }
.custom-order-card-icon .icon { width: 22px; height: 22px; }
.custom-order-card h2 { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 1.08rem; }
.custom-order-card p { position: relative; z-index: 1; margin: 9px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.custom-order-list { position: relative; z-index: 1; display: grid; gap: 7px; margin: 13px 0 0; padding-left: 20px; color: #d4d4d8; font-size: .82rem; line-height: 1.5; }
.custom-order-list li::marker { color: var(--pumpkin-400); }
.custom-order-form-card { position: sticky; top: 102px; }
.custom-order-form { display: grid; gap: 12px; }
.custom-order-form .panel-title { margin-bottom: -3px; }
.custom-order-form .panel-caption { margin-bottom: 2px; line-height: 1.55; }
.custom-order-success { margin-bottom: 17px; }

/* Cart */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(290px, .85fr); align-items: start; gap: 22px; }
.cart-items { display: grid; gap: 11px; }
.cart-item { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; align-items: center; gap: 14px; border: 1px solid #27272a; border-radius: 12px; padding: 11px; background: rgba(24, 24, 27, .72); }
.cart-item-image { width: 78px; height: 78px; overflow: hidden; border-radius: 9px; background: linear-gradient(135deg, #27272a, #14141f); }
.cart-item-image img { width: 100%; height: 100%; object-fit: contain; }
.cart-item-name { color: #fff; font-size: .87rem; font-weight: 700; }
.cart-item-category { margin-top: 4px; color: var(--muted-2); font-size: .71rem; }
.cart-item-controls { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cart-item-end { display: grid; justify-items: end; gap: 8px; }
.cart-item-price { color: var(--pumpkin-400); font-size: .92rem; font-weight: 800; white-space: nowrap; }
.cart-item-remove { display: grid; place-items: center; width: 32px; height: 32px; margin: 0; border: 1px solid transparent; border-radius: 8px; background: transparent; color: #71717a; transition: all .15s ease; }
.cart-item-remove:hover { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .08); color: #fca5a5; }
.cart-item-remove .icon { width: 15px; height: 15px; }
.summary-card { position: sticky; top: 102px; border: 1px solid #27272a; border-radius: 14px; padding: 22px; background: rgba(24, 24, 27, .78); }
.summary-title { margin: 0; color: #fff; font-size: 1.12rem; }
.summary-lines { display: grid; gap: 12px; margin: 20px 0; padding: 17px 0; border-top: 1px solid #27272a; border-bottom: 1px solid #27272a; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .82rem; }
.summary-line strong { color: #e4e4e7; }
.summary-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #fff; font-size: 1.02rem; font-weight: 700; }
.summary-total strong { color: var(--pumpkin-400); font-size: 1.4rem; }
.checkout-form { display: grid; gap: 11px; margin-top: 21px; }
.checkout-success { display: grid; gap: 8px; border: 1px solid rgba(34, 197, 94, .28); border-radius: 12px; padding: 18px; background: rgba(34, 197, 94, .08); color: #bbf7d0; }
.checkout-success h3 { margin: 0; color: #86efac; font-size: 1rem; }
.checkout-success p { margin: 0; color: #a7f3d0; font-size: .8rem; }

/* Footer */
.site-footer { margin-top: 24px; border-top: 1px solid rgba(39, 39, 42, .72); background: rgba(10, 10, 15, .65); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 42px 0 30px; }
.footer-brand { display: grid; gap: 8px; max-width: 250px; }
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-copy { margin: 0; color: var(--muted-2); font-size: .77rem; line-height: 1.65; }
.footer-columns { display: flex; flex-wrap: wrap; gap: 48px; }
.footer-column { display: grid; align-content: start; gap: 9px; min-width: 120px; }
.footer-column h3 { margin: 0 0 3px; color: #d4d4d8; font-size: .77rem; text-transform: uppercase; letter-spacing: .09em; }
.footer-column a { color: #71717a; font-size: .78rem; }
.footer-column a:hover { color: var(--pumpkin-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 17px 0 24px; border-top: 1px solid rgba(39, 39, 42, .52); color: #52525b; font-size: .71rem; }
.footer-bottom span { display: inline-flex; align-items: center; gap: 6px; }

/* Admin */
.admin-page { min-height: 100vh; background: var(--ink-900); }
.admin-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(39, 39, 42, .72); background: rgba(10, 10, 15, .88); backdrop-filter: blur(14px); }
.admin-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; }
.admin-header .brand-name { font-size: 1.25rem; }
.admin-header-label { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(168, 85, 247, .25); border-radius: 999px; padding: .35rem .65rem; background: rgba(168, 85, 247, .08); color: #c4b5fd; font-size: .68rem; font-weight: 700; }
.admin-login { display: grid; place-items: center; min-height: calc(100vh - 72px); padding: 42px 0; position: relative; overflow: hidden; }
.admin-login::before { content: ""; position: absolute; width: 520px; height: 520px; left: 50%; top: 50%; border-radius: 50%; background: rgba(124, 45, 18, .15); filter: blur(80px); transform: translate(-50%, -50%); }
.login-card { position: relative; width: min(100%, 420px); border: 1px solid #27272a; border-radius: 15px; padding: 31px; background: rgba(24, 24, 27, .88); box-shadow: 0 0 40px rgba(249, 115, 22, .08); }
.login-top { margin-bottom: 26px; text-align: center; }
.login-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 15px; border-radius: 17px; background: linear-gradient(135deg, var(--pumpkin-500), var(--pumpkin-700)); box-shadow: 0 10px 28px rgba(234, 88, 12, .25); }
.login-title { margin: 0; color: var(--pumpkin-400); font-size: 2rem; }
.login-subtitle { margin: 7px 0 0; color: var(--muted-2); font-size: .78rem; }
.login-form { display: grid; gap: 14px; }
.error-message { border: 1px solid rgba(239, 68, 68, .25); border-radius: 8px; padding: 10px 12px; background: rgba(239, 68, 68, .08); color: #fca5a5; font-size: .77rem; }
.admin-shell { padding: 34px 0 68px; }
.admin-page-title { margin: 0; color: #fff; font-size: 1.7rem; }
.admin-page-copy { margin: 6px 0 0; color: var(--muted-2); font-size: .8rem; }
.admin-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.stat-card { border: 1px solid #27272a; border-radius: 12px; padding: 16px; background: rgba(24, 24, 27, .72); }
.stat-label { color: var(--muted-2); font-size: .72rem; }
.stat-value { margin-top: 6px; color: #fff; font-size: 1.65rem; font-weight: 800; }
.stat-value.orange-value { color: var(--pumpkin-400); }
.admin-panel { border: 1px solid #27272a; border-radius: 14px; background: rgba(24, 24, 27, .72); }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 20px; border-bottom: 1px solid #27272a; }
.panel-title { margin: 0; color: #fff; font-size: 1rem; }
.panel-caption { margin: 4px 0 0; color: var(--muted-2); font-size: .73rem; }
.admin-product-list { display: grid; gap: 1px; }
.admin-product-row { display: grid; grid-template-columns: 24px 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid rgba(39, 39, 42, .8); transition: background .15s ease, box-shadow .15s ease; }
.admin-product-row:last-child { border-bottom: 0; }
.admin-product-row.dragging { opacity: .48; }
.admin-product-row.drag-over { background: rgba(249, 115, 22, .08); box-shadow: inset 0 2px 0 var(--pumpkin-500); }
.drag-handle { display: grid; place-items: center; width: 24px; height: 32px; cursor: grab; color: #71717a; }
.drag-handle:active { cursor: grabbing; }
.drag-handle .icon { width: 18px; height: 18px; }
.admin-product-thumb { width: 52px; height: 52px; overflow: hidden; border-radius: 8px; background: linear-gradient(135deg, #27272a, #14141f); }
.admin-product-thumb img { width: 100%; height: 100%; object-fit: contain; }
.admin-product-row-main { min-width: 0; }
.admin-product-name { color: #fff; font-family: Inter, sans-serif; font-size: .82rem; font-weight: 700; letter-spacing: 0; }
.admin-product-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 3px; color: var(--muted-2); font-size: .7rem; }
.admin-product-meta .stock-positive { color: #86efac; }
.admin-product-meta .stock-negative { color: #fca5a5; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.admin-lower-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); gap: 20px; margin-top: 20px; }
.admin-settings-panel { margin-top: 20px; }
.telegram-config-form, .site-settings-form { padding: 20px; }
.site-settings-form { display: grid; gap: 18px; }
.settings-icon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-icon-card { display: grid; gap: 12px; border: 1px solid #3f3f46; border-radius: 12px; padding: 15px; background: rgba(10, 10, 15, .28); }
.settings-icon-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.settings-icon-heading h3, .settings-background-tools h3 { margin: 0; color: #fff; font-size: .86rem; }
.settings-icon-heading p { margin: 4px 0 0; color: var(--muted-2); font-size: .7rem; line-height: 1.45; }
.settings-icon-preview { display: grid; place-items: center; width: 72px; height: 72px; flex: 0 0 auto; overflow: hidden; border: 1px dashed #52525b; border-radius: 10px; background-color: #fafafa; background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%); background-position: 0 0, 0 8px, 8px -8px, -8px 0; background-size: 16px 16px; }
.settings-icon-preview-image { width: 100%; height: 100%; object-fit: contain; }
.settings-icon-preview-empty { display: grid; place-items: center; gap: 4px; color: #71717a; text-align: center; font-size: .6rem; }
.settings-icon-preview-empty .icon { width: 20px; height: 20px; }
.settings-appearance-grid { align-items: end; }
.settings-color-input { align-self: end; }
.settings-background-tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr); align-items: end; gap: 18px; border: 1px solid rgba(168, 85, 247, .2); border-radius: 12px; padding: 14px; background: rgba(168, 85, 247, .06); }
.settings-text-heading { display: flex; align-items: center; justify-content: space-between; }
.settings-text-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.settings-text-field.wide { grid-column: 1 / -1; }
.orders-list { display: grid; gap: 0; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; padding: 15px 20px; border-bottom: 1px solid rgba(39, 39, 42, .8); }
.order-row:last-child { border-bottom: 0; }
.order-id { color: #fff; font-size: .8rem; font-weight: 700; }
.order-meta { margin-top: 3px; color: var(--muted-2); font-size: .7rem; }
.order-items { margin-top: 8px; color: #a1a1aa; font-size: .72rem; }
.status-select { min-width: 128px; align-self: center; border: 1px solid #3f3f46; border-radius: 7px; padding: .45rem .5rem; background: #18181b; color: #d4d4d8; font-size: .72rem; }
.admin-editor { max-width: 850px; margin: 0 auto; }
.admin-editor-header { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.editor-card { border: 1px solid #27272a; border-radius: 14px; padding: 22px; background: rgba(24, 24, 27, .75); }
.editor-form { display: grid; gap: 15px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.editor-actions { display: flex; justify-content: flex-end; gap: 9px; padding-top: 6px; }
.photo-workspace { display: grid; grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
.photo-preview { position: relative; display: grid; place-items: center; min-height: 230px; overflow: hidden; border: 1px dashed #52525b; border-radius: 12px; background-color: #fafafa; background-image: linear-gradient(45deg, #ddd 25%, transparent 25%), linear-gradient(-45deg, #ddd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #ddd 75%), linear-gradient(-45deg, transparent 75%, #ddd 75%); background-position: 0 0, 0 10px, 10px -10px, -10px 0; background-size: 20px 20px; }
.photo-preview img { position: relative; z-index: 1; max-width: 100%; max-height: 310px; object-fit: contain; }
.photo-placeholder { position: absolute; z-index: 2; display: grid; gap: 8px; place-items: center; padding: 15px; color: #71717a; font-size: .76rem; text-align: center; }
.photo-placeholder .icon { width: 30px; height: 30px; }
.photo-controls { display: grid; gap: 12px; }
.photo-control-title { margin: 0 0 1px; color: #fff; font-size: .9rem; }
.photo-control-copy { margin: 0; color: var(--muted-2); font-size: .73rem; line-height: 1.5; }
.file-input { border: 1px dashed #52525b; border-radius: 8px; padding: .8rem; background: rgba(10, 10, 15, .35); color: #a1a1aa; font-size: .75rem; }
.range-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #a1a1aa; font-size: .75rem; }
input[type="range"] { width: 100%; accent-color: var(--pumpkin-500); }
.color-row { display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 10px; }
.color-input { width: 46px; height: 36px; border: 1px solid #3f3f46; border-radius: 7px; padding: 3px; background: #18181b; }
.editor-hint { border: 1px solid rgba(168, 85, 247, .2); border-radius: 9px; padding: 10px 12px; background: rgba(168, 85, 247, .08); color: #c4b5fd; font-size: .72rem; line-height: 1.5; }

/* Toasts and transitions */
.app-loading { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 100vh; padding: 30px; background: var(--ink-900); color: var(--muted); font-size: .85rem; }
.app-loading-mark { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(249, 115, 22, .28); border-radius: 16px; background: rgba(249, 115, 22, .08); box-shadow: 0 0 30px rgba(249, 115, 22, .12); font-size: 1.6rem; animation: flicker 1.4s ease-in-out infinite; }
.admin-dashboard-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.admin-site-editor { max-width: 1120px; margin: 0 auto; }
#toast-root { position: fixed; z-index: 100; right: 18px; bottom: 18px; display: grid; gap: 9px; width: min(360px, calc(100% - 36px)); }
.toast { display: flex; align-items: flex-start; gap: 10px; border: 1px solid rgba(249, 115, 22, .35); border-radius: 10px; padding: 12px 13px; background: rgba(24, 24, 27, .96); box-shadow: 0 16px 35px rgba(0, 0, 0, .35); color: #e4e4e7; font-size: .78rem; animation: toast-in .25s ease both; }
.toast.success { border-color: rgba(34, 197, 94, .34); }
.toast.error { border-color: rgba(239, 68, 68, .35); }
.toast .icon { color: var(--pumpkin-400); }
.toast.success .icon { color: #86efac; }
.toast.error .icon { color: #fca5a5; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes flicker { 0%, 45%, 55%, 100% { opacity: 1; } 50% { opacity: .86; } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }

@media (max-width: 1050px) {
  .main-nav { gap: 0; }
  .nav-link { padding-inline: .55rem; font-size: .78rem; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .navbar { min-height: 68px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .mobile-nav { display: grid; gap: 4px; padding: 0 0 13px; }
  .mobile-nav .nav-link { padding: .72rem .8rem; }
  .mobile-nav .cart-button { width: 100%; justify-content: center; margin-top: 4px; }
  .hero-content { padding-top: 48px; }
  .feature-grid, .info-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout, .support-layout, .cart-layout, .custom-order-layout, .admin-lower-grid { grid-template-columns: 1fr; }
  .custom-order-form-card { position: relative; top: auto; }
  .product-detail-image { position: relative; top: auto; max-width: 620px; margin: 0 auto; width: 100%; }
  .summary-card { position: relative; top: auto; }
  .footer-inner { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-icon-grid, .settings-background-tools, .settings-text-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 22px, 1180px); }
  .brand-mark { width: 39px; height: 39px; border-radius: 10px; }
  .brand-name { font-size: 1.17rem; }
  .brand-subtitle { font-size: .59rem; }
  .header-actions { gap: 5px; }
  .cart-button { width: 40px; padding: 0; justify-content: center; }
  .cart-button .cart-label { display: none; }
  .hero-title { font-size: 3.2rem; }
  .hero-copy { font-size: .88rem; }
  .info-chips { display: grid; grid-template-columns: 1fr; }
  .info-chip { justify-content: center; }
  .hero-banner { min-height: 265px; background-position: 61% center; }
  .hero-banner-content { padding: 27px 22px; }
  .section { padding: 42px 0; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .section-title { font-size: 2.2rem; }
  .product-grid { gap: 10px; }
  .product-body { padding: 11px; }
  .product-description { min-height: 0; }
  .product-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
  .product-card .btn { width: 100%; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .category-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
  .category-tab { white-space: nowrap; }
  .page-hero .container { padding: 37px 0 33px; }
  .page-title { font-size: 2.75rem; }
  .product-layout { gap: 25px; }
  .detail-title { font-size: 2.25rem; }
  .purchase-row { align-items: stretch; }
  .purchase-row .btn-primary { flex: 1; min-width: 0; }
  .cart-item { grid-template-columns: 61px minmax(0, 1fr); }
  .cart-item-image { width: 61px; height: 61px; }
  .cart-item-end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .cart-item-remove { margin-top: 0; }
  .footer-columns { gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .admin-heading-row { align-items: flex-start; flex-direction: column; }
  .stats-grid { gap: 8px; }
  .stat-card { padding: 13px; }
  .stat-value { font-size: 1.35rem; }
  .admin-product-row { grid-template-columns: 22px 43px minmax(0, 1fr); padding-inline: 13px; }
  .admin-product-thumb { width: 43px; height: 43px; }
  .admin-row-actions { grid-column: 3; }
  .panel-header { padding-inline: 14px; }
  .order-row { grid-template-columns: 1fr; padding-inline: 14px; }
  .status-select { width: 100%; }
  .editor-grid, .photo-workspace { grid-template-columns: 1fr; }
  .editor-card { padding: 15px; }
  .photo-preview { min-height: 200px; }
  .editor-actions { flex-direction: column-reverse; }
  .editor-actions .btn { width: 100%; }
  .login-card { padding: 24px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
