*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #0f172a;
  background: #020617;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  background: transparent;
  pointer-events: none;
  padding: 1rem 6vw;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.75rem;
}

.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 6vw;
  font-size: 0.8rem;
  color: #e5e7eb;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
}

.top-bar-left {
  font-weight: 600;
}

.top-bar-right {
  opacity: 0.92;
}

.telegram-button {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.5);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.08s ease-out;
}

.telegram-button:hover {
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

.telegram-button svg {
  width: 20px;
  height: 20px;
  color: #0088cc;
}

.cart-button {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.5);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
}

.cart-button .badge {
  min-width: 20px;
  height: 20px;
  font-size: 0.7rem;
  top: -6px;
  right: -6px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #f9fafb;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #16a34a, #10b981);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #f9fafb;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.logo-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.logo-subtitle {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: #e5e7eb;
  font-size: 0.9rem;
}

.nav-desktop a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  transition: width 0.16s ease-out;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-button {
  border: none;
  background: transparent;
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease-out, transform 0.08s ease-out;
}

.icon-button:hover {
  background: rgba(15, 23, 42, 0.6);
  transform: translateY(-1px);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ef4444;
  color: #f9fafb;
  font-size: 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-toggle {
  display: none;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0 6vw 0.9rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
}

.nav-mobile a {
  padding: 0.2rem 0;
}

.nav-mobile--open {
  display: flex;
}

.btn {
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.12s ease-out,
    color 0.12s ease-out;
}

.btn.primary {
  background: linear-gradient(120deg, #22c55e, #16a34a, #3b82f6);
  color: #f9fafb;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.55);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 1);
  border-color: #e5e7eb;
}

.btn.ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.btn.ghost:hover {
  background: rgba(15, 23, 42, 0.85);
}

.btn.text {
  background: transparent;
  color: #22c55e;
  padding-left: 0;
  padding-right: 0;
}

.btn.text:hover {
  color: #4ade80;
}

.btn.small {
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
}

.btn.full-width {
  width: 100%;
}

.product-card .btn.full-width {
  margin-top: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.3fr);
  gap: 3rem;
  padding: 5rem 6vw 2.5rem;
  color: #e5e7eb;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.25), transparent 55%),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.25), transparent 55%),
    #020617;
}

.hero-content h1 {
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
  letter-spacing: -0.04em;
  padding-bottom: 0.1em;
}

.name-glow {
  display: inline-block;
  background: linear-gradient(90deg, #e5e7eb, #22c55e, #3b82f6, #e5e7eb);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: subtle-gradient 4s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.3));
  padding-bottom: 0.05em;
  vertical-align: baseline;
}

@keyframes subtle-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero-subtitle {
  max-width: 36rem;
  margin: 0 0 1.8rem;
  font-size: 1.05rem;
  color: #cbd5f5;
  line-height: 1.6;
}

.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a5b4fc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: #d1d5db;
}

.hero-badges li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.75);
}

.warehouse-pill {
  border-color: rgba(59, 130, 246, 0.6) !important;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
  animation: warehouse-glow 2s ease-in-out infinite;
}

@keyframes warehouse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 0 40px rgba(59, 130, 246, 0.4);
    border-color: rgba(59, 130, 246, 0.8);
  }
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-card {
  max-width: 360px;
  width: 100%;
  padding: 1.5rem 1.6rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.36), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.45), transparent 55%),
    rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.85);
}

.hero-card h2 {
  margin: 0.4rem 0 0.3rem;
  font-size: 1.2rem;
}

.hero-card-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
  padding: 0 6vw 2.5rem;
  margin-top: -0.75rem;
}

.highlight-card {
  padding: 1.2rem 1.2rem 1.3rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.8);
  margin-bottom: 0.4rem;
}

.highlight-card h3 {
  margin: 0 0 0.1rem;
  font-size: 0.95rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #9ca3af;
}

.section {
  padding: 2.8rem 6vw 2.4rem;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.13), transparent 55%),
    #020617;
  color: #e5e7eb;
}

.section-alt {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%),
    #020617;
}

.section-header {
  max-width: 46rem;
  margin-bottom: 1.6rem;
}

.section-header h2 {
  margin: 0 0 0.3rem;
  font-size: 1.4rem;
}

#categories .section-header h2 {
  font-size: 2.2rem;
}

.section-header p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

#faq .section-header {
  max-width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#faq .section-header h2 {
  font-size: 2.6rem;
}

#faq .section-header p {
  font-size: 1.05rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.category-card {
  padding: 1.2rem 1.3rem 1.3rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.category-card h3 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.05rem;
}

.category-card p {
  margin: 0 0 0.9rem;
  font-size: 0.88rem;
  color: #d1d5db;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.2rem 1.3rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  position: relative;
}

.product-card.featured-glow {
  border-color: rgba(34, 197, 94, 0.8);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
  animation: pulsate-glow 2s ease-in-out infinite;
}

@keyframes pulsate-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 197, 94, 0.7), 0 0 60px rgba(59, 130, 246, 0.5);
  }
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 600;
  display: inline-block;
  vertical-align: middle;
}

.product-name-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.product-price {
  margin: 0 0 0.25rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #f9fafb;
}

.product-price--old {
  font-weight: 400;
  font-size: 0.8rem;
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 0.4rem;
}

.product-note {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: #d1d5db;
}

.product-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-top: -0.3rem;
}

.product-tag--stock {
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.6);
}

.product-tag--discount {
  background: rgba(248, 113, 113, 0.08);
  color: #fb7185;
  border: 1px solid rgba(248, 113, 113, 0.6);
}

.product-tag--out-of-stock {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.7);
}

.product-tag--new {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.7);
}

/* FAQ Section */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.faq-category {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-category-title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #4ade80;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(34, 197, 94, 0.3);
}

.faq-item {
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
  overflow: hidden;
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}

.faq-item:hover {
  border-color: rgba(148, 163, 184, 0.8);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.4rem;
  background: transparent;
  border: none;
  text-align: left;
  color: #e5e7eb;
  font-size: 1.15rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease-out;
  font-family: inherit;
}

.faq-question:hover {
  color: #f9fafb;
}

.faq-question[aria-expanded="true"] {
  color: #4ade80;
}

.faq-question span:first-child {
  flex: 1;
  padding-right: 1rem;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #9ca3af;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.3s ease-out;
  flex-shrink: 0;
}

.faq-question:hover .faq-icon {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.faq-question[aria-expanded="true"] .faq-icon {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.6);
  color: #4ade80;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 1.4rem;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.6;
}

.faq-answer ol,
.faq-answer ul {
  margin: 0.5rem 0 1.2rem 1.5rem;
  padding-left: 1rem;
  color: #d1d5db;
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-answer li {
  margin: 0.4rem 0;
}

.faq-item[aria-expanded="true"] .faq-answer {
  max-height: 500px;
  padding-top: 0;
}

.faq-why-choose {
  position: relative;
  margin-top: 1rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.2rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.12), transparent 55%),
    rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.faq-why-choose-title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: #4ade80;
}

.faq-why-choose-list {
  margin: 0 0 1.2rem;
  padding-left: 1.5rem;
  list-style: none;
  color: #d1d5db;
}

.faq-why-choose-list li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.6rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.faq-why-choose-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #4ade80;
  font-size: 1.2rem;
  font-weight: bold;
}

.faq-why-choose-text {
  margin: 0;
  font-size: 1.05rem;
  color: #d1d5db;
  line-height: 1.6;
  font-style: italic;
}

.faq-signature {
  position: absolute;
  bottom: 0.5rem;
  right: 1.8rem;
  height: 60px;
  width: auto;
  max-width: 200px;
  opacity: 0.9;
  filter: brightness(0.95);
  z-index: 1;
  object-fit: contain;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);
  gap: 2.4rem;
}

.testimonial-slider {
  display: grid;
  gap: 1rem;
}

.testimonial-card {
  padding: 1.1rem 1.2rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.testimonial-rating {
  margin: 0 0 0.35rem;
}

.testimonial-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.testimonial-card p {
  margin: 0 0 0.45rem;
  font-size: 0.86rem;
  color: #d1d5db;
}

.testimonial-author {
  margin: 0;
  font-size: 0.8rem;
  color: #9ca3af;
}

.blog-list {
  display: grid;
  gap: 1rem;
}

.blog-card {
  padding: 1.1rem 1.2rem 1.25rem;
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.blog-card h3 {
  margin: 0.3rem 0 0.35rem;
  font-size: 0.98rem;
}

.blog-card p {
  margin: 0 0 0.4rem;
  font-size: 0.86rem;
  color: #d1d5db;
}

.newsletter-section {
  padding-bottom: 3.2rem;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 2.5fr) minmax(0, 1.3fr);
  gap: 1.8rem;
  padding: 1.6rem 1.8rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.26), transparent 55%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.4), transparent 60%),
    rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.newsletter-main h2 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.newsletter-main p {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.newsletter-form .input {
  min-width: 0;
  flex: 1 1 210px;
}

.newsletter-offer {
  padding: 1rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px dashed rgba(148, 163, 184, 0.7);
}

.newsletter-offer h3 {
  margin: 0 0 0.15rem;
  font-size: 1.7rem;
}

.newsletter-offer p {
  margin: 0;
  font-size: 0.88rem;
  color: #e5e7eb;
}

.site-footer {
  padding: 2.2rem 6vw 1.7rem;
  background: #020617;
  color: #9ca3af;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 1.8rem;
  margin-bottom: 1.3rem;
}

.footer-grid h3 {
  margin: 0 0 0.4rem;
  color: #e5e7eb;
}

.footer-grid h4 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.footer-grid p {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li + li {
  margin-top: 0.2rem;
}

.footer-grid a {
  font-size: 0.85rem;
  color: #e5e7eb;
}

.footer-grid a:hover {
  color: #22c55e;
}

.footer-contact {
  font-size: 0.85rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: space-between;
  font-size: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 0.7rem;
}

.input {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.8);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.input::placeholder {
  color: #6b7280;
}

.input:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
}

.footer-form {
  flex-direction: column;
  align-items: flex-start;
}

.footer-form .input {
  width: 100%;
}

.search-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.search-overlay[data-open='true'] {
  display: block;
}

.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
}

.search-panel {
  position: absolute;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  width: min(640px, 92vw);
  border-radius: 1.1rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  padding: 1.1rem 1.2rem 1.25rem;
  color: #e5e7eb;
}

.search-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.search-panel-header h2 {
  margin: 0;
  font-size: 1rem;
}

.search-form {
  display: flex;
  gap: 0.7rem;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 50;
}

.cart-overlay[data-open='true'] {
  display: block;
}

.cart-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
}

.cart-panel {
  position: absolute;
  right: 4vw;
  top: 13%;
  width: min(420px, 92vw);
  max-height: 70vh;
  border-radius: 1.2rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95);
  padding: 1.1rem 1.2rem 1.3rem;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
}

.cart-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.7rem;
}

.cart-panel-header h2 {
  margin: 0;
  font-size: 1rem;
}

.cart-panel-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cart-items {
  max-height: 32vh;
  overflow-y: auto;
  padding-right: 0.2rem;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0.3rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.85rem;
}

.cart-item-main {
  flex: 1 1 auto;
}

.cart-item-name {
  margin: 0 0 0.1rem;
}

.cart-item-meta {
  margin: 0;
  font-size: 0.78rem;
  color: #9ca3af;
}

.cart-item-qty {
  white-space: nowrap;
  font-size: 0.8rem;
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0.2rem 0.4rem;
  line-height: 1;
  transition: color 0.15s ease-out, transform 0.1s ease-out;
  margin-left: 0.5rem;
}

.cart-item-remove:hover {
  color: #dc2626;
  transform: scale(1.1);
}

.cart-item-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-empty {
  font-size: 0.85rem;
  color: #9ca3af;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.9rem;
}

.cart-summary span:last-child {
  font-weight: 600;
}

.cart-inquiry {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  color: #d1d5db;
}

.cart-telegram {
  margin: 0.2rem 0 0.6rem;
}

/* Wholesale Selection Popup */
.wholesale-overlay {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
}

.wholesale-overlay[data-open='true'] {
  display: block;
}

.wholesale-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(12px);
}

.wholesale-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, 92vw);
  max-height: 85vh;
  border-radius: 1.6rem;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(34, 197, 94, 0.1);
  padding: 1.5rem 1.6rem 1.6rem;
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wholesale-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.wholesale-panel-header h2 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
}

.wholesale-panel-body {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow-y: auto;
  padding-right: 0.3rem;
  max-height: calc(85vh - 120px);
}

.moq-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: 0.8rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.85rem;
  color: #e5e7eb;
}

.moq-notice strong {
  color: #4ade80;
}

.moq-progress {
  font-weight: 600;
  color: #4ade80;
}

.quantity-notice {
  padding: 0.6rem 1rem;
  border-radius: 0.8rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 0.8rem;
  color: #d1d5db;
}

.quantity-notice strong {
  color: #60a5fa;
}

.flavor-selection {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.flavor-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  transition: all 0.2s ease-out;
}

.flavor-row:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.6);
}

.flavor-row.selected {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
}

.new-flavors-container {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 2px solid rgba(34, 197, 94, 0.6);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4), 0 0 20px rgba(34, 197, 94, 0.2);
  animation: flavor-new-glow 2s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  background: rgba(15, 23, 42, 0.3);
}

@keyframes flavor-new-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4), 0 0 20px rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.4);
    border-color: rgba(34, 197, 94, 0.8);
  }
}

.flavor-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 0.4rem;
  border: 2px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease-out;
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.flavor-checkbox:checked {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
}

.flavor-checkbox:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f9fafb;
  font-size: 0.75rem;
  font-weight: 700;
}

.flavor-label {
  flex: 1;
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.box-counter {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}

.box-counter-label {
  font-size: 0.85rem;
  color: #9ca3af;
  white-space: nowrap;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: #e5e7eb;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.15s ease-out;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.qty-btn:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.6);
  color: #4ade80;
  transform: scale(1.05);
}

.qty-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.box-count {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.piece-count {
  font-size: 0.8rem;
  color: #9ca3af;
  white-space: nowrap;
}

.order-summary {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #d1d5db;
}

.summary-line.total {
  margin-top: 0.3rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  font-size: 1rem;
  color: #f9fafb;
}

.summary-line strong {
  color: #f9fafb;
  font-weight: 600;
}

.moq-warning {
  padding: 0.6rem 0.8rem;
  border-radius: 0.6rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  font-size: 0.85rem;
  text-align: center;
  margin-top: 0.3rem;
}

.wholesale-panel-body button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.wholesale-panel-body button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.wholesale-panel-body button[disabled]:hover {
  transform: none;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .top-bar {
    padding-inline: 4vw;
    font-size: 0.75rem;
  }

  .top-bar-right {
    display: none;
  }

  .main-header {
    padding-inline: 4vw;
  }

  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 4vw;
    padding-top: 2.3rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-card {
    max-width: none;
  }

  .highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-inline: 4vw;
  }

  .section {
    padding-inline: 4vw;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .newsletter-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .category-grid,
  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-panel {
    top: 12%;
    padding-inline: 1rem;
  }

  .search-form {
    flex-direction: column;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-panel {
    right: 50%;
    transform: translateX(50%);
    top: 14%;
    width: 92vw;
  }

  .wholesale-panel {
    width: 92vw;
    max-height: 90vh;
    padding: 1.2rem 1.3rem 1.4rem;
  }

  .wholesale-panel-header h2 {
    font-size: 1rem;
  }

  .flavor-row {
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .box-counter {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
    margin-top: 0.4rem;
  }

  .moq-notice {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

