:root {
  --lemon: #fff9d7;
  --mint: #c3ffe5;
  --coral: #ff7f6a;
  --coral-dark: #ff5b4b;
  --charcoal: #1f1f1f;
  --stone: #5b6270;
  --smoke: #f4f5f7;
  --border: #e1e1e6;
  --shadow: 0 12px 32px rgba(31, 31, 31, 0.08);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--charcoal);
  line-height: 1.5;
  overflow-x: hidden;
}

input,
textarea,
select {
  font-family: inherit;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px 14px;
  background: #fff;
  width: 100%;
}

textarea {
  resize: vertical;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
  padding: 0 16px;
}

section.section {
  padding: 56px 0;
}

@media (max-width: 1024px) {
  section.section {
    padding: 40px 0;
  }
}

@media (max-width: 768px) {
  section.section {
    padding: 28px 0;
  }
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.2rem, 3.8vw, 3rem);
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

p {
  margin: 0;
  color: var(--stone);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 24px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: #fff;
  color: var(--charcoal);
  border: 1px solid var(--border);
}

.btn:hover {
  transform: translateY(-2px);
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: nowrap;
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
}

.brand span {
  color: var(--coral);
}

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

.nav-links li {
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--coral);
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.action-row .icon-button {
  border-radius: 999px;
  padding: 8px;
  min-width: 42px;
  min-height: 42px;
  background: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease;
}

.action-row .icon-button:hover {
  background: #fff;
}

.action-row .icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral-dark);
  color: #fff;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.badge[data-count="0"] {
  opacity: 0;
  pointer-events: none;
}

.hamburger {
  display: none;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 999px;
  padding: 8px;
  min-width: 42px;
  min-height: 42px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(360px, 48vw, 520px);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero.hero--mini {
  min-height: clamp(320px, 44vw, 420px);
}

.section.hero {
  padding: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(17, 17, 17, 0.35), rgba(255, 255, 255, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 5vw, 56px);
  max-width: min(640px, 90vw);
  text-align: left;
}

.hero-content .eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--stone);
}

.hero-content p:not(.eyebrow) {
  margin-top: 0.35rem;
  color: var(--stone);
  font-size: 1rem;
}

.hero-cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: #111;
}

.countdown {
  margin-top: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
}

.strip {
  background: #fff;
  padding: 16px 0;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin: 0 -16px;
}

.strip ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 32px;
  font-weight: 600;
  color: var(--stone);
  flex-wrap: wrap;
  gap: 12px;
}

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

.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.category-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__body {
  padding: 18px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-card__title {
  font-size: 1.1rem;
}

.category-card__subtitle {
  color: var(--stone);
  font-size: 0.95rem;
}

.category-card__action {
  margin-top: auto;
  align-self: flex-start;
  border-radius: 12px;
  padding: 6px 18px;
  border: none;
  background: var(--mint);
  color: var(--charcoal);
  font-weight: 600;
}

.deal-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.deal-slider > * {
  scroll-snap-align: start;
}

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

.deal-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.deal-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.deal-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral-dark);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.deal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 12px;
  background: var(--coral-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.deal-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.deal-card__body .card-subtext {
  margin-top: 4px;
  color: var(--stone);
  font-size: 0.95rem;
}

.deal-card__body h3 {
  font-size: 1.1rem;
}

.deal-card__body .deal-price {
  display: flex;
  align-items: center;
  gap: 12px;
}

.final-price {
  font-size: 1.2rem;
  font-weight: 600;
}

.price-old {
  text-decoration: line-through;
  color: var(--stone);
  font-size: 0.9rem;
}

.card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img,
.deal-card__media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.card-meta {
  font-size: 0.9rem;
  color: var(--stone);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  background: var(--mint);
  color: var(--charcoal);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.bundle-card {
  min-height: 260px;
  border-radius: 28px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
  text-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
}

.bundle-card .pill {
  background: rgba(255, 255, 255, 0.25);
}

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

.home-best-sellers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.newsletter {
  background: #fff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
  text-align: center;
}

.newsletter form {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.newsletter input {
  flex: 1;
  min-width: 260px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
}

.newsletter button {
  border: none;
  border-radius: 10px;
  background: var(--coral);
  color: #fff;
  padding: 10px 24px;
  cursor: pointer;
}

.toast {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #111;
  color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.toast.active {
  opacity: 1;
  pointer-events: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.footer-grid h4 {
  margin-bottom: 8px;
  color: #fff;
}

.footer-grid ul {
  padding: 0;
  list-style: none;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-grid a {
  color: #dadada;
}

.footer {
  background: #111;
  color: #fff;
  padding: 48px 16px;
}

.footer-newsletter {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-newsletter form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-newsletter input {
  flex: 1;
  min-width: 200px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #1f1f1f;
  color: #fff;
}

.footer-newsletter button {
  border-radius: 10px;
  border: none;
  padding: 10px 18px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.footer-note {
  font-size: 0.85rem;
  color: #b5b7be;
  margin-top: 18px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  background: #fff;
  border-radius: 20px;
  width: min(600px, 100%);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.search-panel input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 1rem;
}

.search-results {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(360px, 85vw);
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  transition: right 0.35s ease;
  z-index: 210;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-menu.open {
  right: 0;
}

#menuBackdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 205;
}

#menuBackdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-menu .btn-primary {
  width: 100%;
  justify-content: center;
}

.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

#shopFilters {
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: sticky;
  top: 24px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

.filter-option input {
  width: 16px;
  height: 16px;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.shop-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.shop-hero button {
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 500;
}

#filterBackdrop {
  display: none;
}

body.filters-open #filterBackdrop {
  display: block;
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  z-index: 190;
}

body.filters-open #shopFilters {
  transform: translateX(0);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  z-index: 195;
  border-radius: 0;
}

.product-card img,
.deal-card__media img {
  object-fit: cover;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 4px 8px;
}

.variant-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.variant-pills .pill {
  border-radius: 999px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.variant-pills .pill.is-active {
  background: var(--mint);
  border-color: var(--mint);
}

.product-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: var(--smoke);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deal-price {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.cart-row:last-child {
  border-bottom: none;
}

.cart-thumb {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
}

.cart-details {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-qty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.cart-qty button {
  background: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.cart-summary {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cart-summary div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
}

.coupon {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.coupon input {
  flex: 1;
  min-width: 200px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.coupon button {
  border: none;
  border-radius: 12px;
  padding: 10px 18px;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.cart-empty {
  text-align: center;
  padding: 48px 0;
  font-weight: 600;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.about-story__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  background-size: cover;
  background-position: center;
}

.about-story__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.value-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--mint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

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

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  nav {
    justify-content: flex-start;
  }

  .hero {
    min-height: clamp(280px, 60vw, 360px);
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  #shopFilters {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .product-card img,
  .deal-card__media img {
    height: 220px;
  }
}
