@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #1697E6;
  --secondary-orange: #F7931E;
  --accent-pink: #E91E8F;
  --accent-purple: #483DAD;
  --background: #FFFFFF;
  --section-background: #FAFAFC;
  --light-blue: #F4FAFF;
  --text-primary: #222222;
  --text-secondary: #666666;
  --border: #E6E8EC;
  --success: #4CAF50;
  --error: #EF5350;
  --warning: #FFC107;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-pill: 30px;
  --shadow-soft: 0 14px 40px rgba(16, 24, 40, 0.08);
  --shadow-card: 0 16px 40px rgba(22, 151, 230, 0.08), 0 8px 20px rgba(72, 61, 173, 0.06);
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Nunito", sans-serif;
  color: var(--text-primary);
  background:
    radial-gradient(circle at 0% 0%, rgba(22, 151, 230, 0.08), transparent 18%),
    radial-gradient(circle at 100% 0%, rgba(233, 30, 143, 0.05), transparent 16%),
    linear-gradient(180deg, rgba(244, 250, 255, 0.6), transparent 16%),
    var(--background);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.03;
  background-image:
    radial-gradient(circle at 12% 14%, var(--primary-blue) 0 2px, transparent 2px),
    radial-gradient(circle at 88% 18%, var(--accent-pink) 0 3px, transparent 3px),
    radial-gradient(circle at 24% 78%, var(--secondary-orange) 0 2px, transparent 2px),
    radial-gradient(circle at 80% 72%, var(--accent-purple) 0 3px, transparent 3px);
  background-size: 280px 280px;
  z-index: -1;
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 232, 236, 0.7);
}

.topbar {
  background: linear-gradient(90deg, rgba(72, 61, 173, 0.08), rgba(22, 151, 230, 0.08));
  border-bottom: 1px solid rgba(230, 232, 236, 0.7);
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  color: var(--text-secondary);
  font-size: 13px;
}

.header-main {
  min-height: 94px;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-copy strong,
.footer-brand strong {
  display: block;
  font-family: "Fredoka", "Poppins", sans-serif;
  font-size: 26px;
  line-height: 1;
  letter-spacing: 0.01em;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 13px;
}

.brand-mark {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(244,250,255,0.92));
  box-shadow: var(--shadow-soft);
}

.brand-mark.compact {
  width: 54px;
  height: 54px;
}

.brand-mark__dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
}

.brand-mark__dot--blue { background: var(--primary-blue); top: 10px; left: 10px; }
.brand-mark__dot--orange { background: var(--secondary-orange); top: 10px; right: 10px; }
.brand-mark__dot--pink { background: var(--accent-pink); bottom: 10px; left: 10px; }
.brand-mark__dot--purple { background: var(--accent-purple); bottom: 10px; right: 10px; }

.brand-image {
  width: auto;
  height: 64px;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 8px 20px rgba(16, 24, 40, 0.08));
}

.brand-image.compact {
  height: 52px;
  max-width: 150px;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60px;
  border-radius: 999px;
  padding: 0 10px 0 18px;
  background: var(--section-background);
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.header-search:focus-within {
  border-color: rgba(22, 151, 230, 0.28);
  box-shadow: 0 0 0 4px rgba(22, 151, 230, 0.08);
}

.search-icon,
.header-icon-button svg,
.wishlist-button svg,
.rating-row svg,
.hero-decor svg,
.contact-card svg,
.trust-card svg,
.floating-cart svg,
.mobile-bottom-nav svg,
.trust-note svg {
  width: 20px;
  height: 20px;
}

.header-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 14px;
  outline: 0;
}

.search-submit {
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  background: var(--primary-blue);
  transition: transform 0.2s ease, background 0.2s ease;
}

.search-submit__icon {
  display: inline-grid;
  place-items: center;
}

.search-submit__icon svg {
  width: 18px;
  height: 18px;
}

.search-submit:hover {
  background: #0c86d1;
  transform: translateY(-1px);
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 24px;
  border: 1px solid rgba(230, 232, 236, 0.8);
  box-shadow: var(--shadow-soft);
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.search-suggestions.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.suggestion-label {
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.suggestion-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 8px;
  border-radius: 16px;
}

.suggestion-item:hover {
  background: var(--light-blue);
}

.suggestion-item img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.suggestion-item strong {
  display: block;
  font-size: 14px;
}

.suggestion-item small,
.suggestion-trending {
  color: var(--text-secondary);
  font-size: 12px;
}

.suggestion-trending {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 8px 0;
}

.suggestion-trending a {
  color: var(--primary-blue);
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-icon-button,
.wishlist-button,
.quick-view-button {
  border: 0;
  background: white;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 16px;
  color: var(--text-primary);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-icon-button:hover,
.wishlist-button:hover,
.quick-view-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(16, 24, 40, 0.1);
}

.header-icon-button b,
.cart-button b {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--accent-pink);
  font-size: 11px;
}

.desktop-nav {
  padding-bottom: 14px;
}

.desktop-nav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.desktop-nav-links a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.desktop-nav-links a:hover,
.desktop-nav-links a.active {
  color: var(--primary-blue);
  background: rgba(22, 151, 230, 0.08);
}

.mega-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mega-menu.is-open {
  max-height: 520px;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  padding: 12px 0 24px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.mega-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.mega-card.soft-blue { background: rgba(22, 151, 230, 0.08); }
.mega-card.soft-pink { background: rgba(233, 30, 143, 0.08); }
.mega-card.soft-purple { background: rgba(72, 61, 173, 0.09); }
.mega-card.soft-orange { background: rgba(247, 147, 30, 0.1); }

.mega-icon,
.category-icon {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  color: var(--accent-purple);
}

.mega-feature,
.newsletter-card,
.summary-card.luxury,
.content-card,
.review-card,
.trust-card,
.category-card,
.season-card,
.product-card,
.product-summary,
.product-gallery-card,
.contact-card,
.side-sheet,
.filters-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(230, 232, 236, 0.64);
}

.mega-feature {
  padding: 28px;
  background: linear-gradient(145deg, var(--light-blue), rgba(255,255,255,0.95));
}

.mega-feature h3,
.newsletter-card h2,
.hero-copy h1,
.section-heading h1,
.section-heading h2,
.product-summary h1 {
  font-family: "Fredoka", "Poppins", sans-serif;
}

.site-main {
  padding: 24px 0 96px;
}

.section {
  padding: 34px 0;
}

.page-intro {
  padding: 24px 0 10px;
}

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

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.08;
}

.section-heading p,
.page-intro p,
.newsletter-card p,
.review-card p,
.contact-card span,
.product-copy,
.product-card p,
.summary-card p,
.feature-list,
.feature-list li,
.mega-feature p {
  color: var(--text-secondary);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(22, 151, 230, 0.08);
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding-top: 10px;
}

.hero-stage {
  position: relative;
  min-height: 700px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(140deg, rgba(255,255,255,0.94), rgba(244,250,255,0.94) 48%, rgba(250,250,252,0.92));
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: 0.45s ease;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-copy h1 {
  margin: 16px 0;
  font-size: clamp(40px, 6vw, 56px);
  line-height: 0.95;
  max-width: 640px;
}

.hero-copy p {
  max-width: 560px;
  font-size: 16px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.hero-metrics article {
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(230, 232, 236, 0.82);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.hero-metrics span {
  color: var(--text-secondary);
  font-size: 12px;
}

.hero-actions,
.product-actions,
.hero-tags,
.info-pills,
.payment-row,
.social-row,
.size-pills,
.color-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-tags span,
.info-pills span,
.size-pills span,
.payment-row span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(230, 232, 236, 0.82);
  color: var(--text-secondary);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  min-height: 540px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-gradient {
  position: absolute;
  inset: 8% 6% auto auto;
  width: 84%;
  height: 84%;
  border-radius: 38px;
  background: linear-gradient(145deg, rgba(22, 151, 230, 0.16), rgba(233, 30, 143, 0.12), rgba(247, 147, 30, 0.18));
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

.hero-decor {
  position: absolute;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  color: var(--accent-purple);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.decor-left { left: -14px; top: 18%; }
.decor-right { right: -10px; bottom: 18%; color: var(--accent-pink); }

.button {
  border: 0;
  min-height: 56px;
  padding: 0 24px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.button-primary {
  color: white;
  background: var(--primary-blue);
  box-shadow: 0 16px 30px rgba(22, 151, 230, 0.24);
}

.button-primary:hover {
  background: #128ad5;
}

.button-secondary {
  color: white;
  background: var(--secondary-orange);
  box-shadow: 0 16px 30px rgba(247, 147, 30, 0.2);
}

.button-secondary:hover {
  background: #e68410;
}

.button-ghost {
  background: white;
  color: var(--primary-blue);
  border: 1px solid rgba(22, 151, 230, 0.24);
}

.button-ghost:hover {
  color: white;
  background: var(--primary-blue);
}

.button-block,
.button-grow {
  width: 100%;
}

.highlight-grid,
.category-strip,
.product-grid,
.footer-grid,
.contact-grid,
.story-grid,
.mini-grid {
  display: grid;
  gap: 18px;
}

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

.trust-card {
  display: flex;
  align-items: start;
  gap: 14px;
  padding: 24px;
}

.trust-card svg {
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.trust-card strong {
  display: block;
  font-size: 18px;
  margin-bottom: 4px;
}

.category-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.category-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  min-height: 180px;
}

.category-card.soft-blue { background: linear-gradient(180deg, rgba(22,151,230,0.08), white); }
.category-card.soft-pink { background: linear-gradient(180deg, rgba(233,30,143,0.08), white); }
.category-card.soft-purple { background: linear-gradient(180deg, rgba(72,61,173,0.08), white); }
.category-card.soft-orange { background: linear-gradient(180deg, rgba(247,147,30,0.1), white); }

.category-card strong {
  font-size: 20px;
}

.category-card small {
  color: var(--text-secondary);
}

.home-collection {
  margin-top: 18px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

.product-card {
  overflow: hidden;
}

.premium-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(16, 24, 40, 0.12);
}

.product-card__image-wrap {
  position: relative;
  padding: 16px 16px 0;
}

.product-card__image {
  display: block;
  aspect-ratio: 4 / 4.5;
  overflow: hidden;
  border-radius: 20px;
  background: var(--light-blue);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.premium-card:hover .product-card__image img {
  transform: scale(1.05);
}

.product-badge,
.discount-badge,
.sale-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.product-badge {
  top: 28px;
  left: 28px;
  color: white;
  background: var(--accent-pink);
}

.discount-badge {
  top: 28px;
  right: 28px;
  color: white;
  background: var(--accent-purple);
}

.sale-pill {
  position: static;
  color: white;
  background: var(--accent-pink);
}

.quick-view-button {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 18px);
  opacity: 0;
  visibility: hidden;
  min-height: 46px;
  padding: 0 18px;
}

.premium-card:hover .quick-view-button {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.wishlist-button {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 16px;
}

.wishlist-button.is-active {
  color: white;
  background: var(--accent-pink);
}

.product-card__body {
  padding: 18px 18px 20px;
}

.product-card__topline,
.price-cluster,
.rating-line,
.price-line,
.summary-row,
.product-summary-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-summary-top .wishlist-button {
  position: static;
  flex-shrink: 0;
}

.product-card__topline {
  align-items: start;
  color: var(--text-secondary);
  font-size: 13px;
}

.product-card__body h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.32;
}

.swatch-row {
  display: flex;
  gap: 8px;
  margin: 10px 0 12px;
}

.color-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.85), 0 0 0 1px rgba(34,34,34,0.08);
}

.size-pills.inline span {
  min-height: 30px;
  padding: 0 10px;
}

.price-current {
  color: var(--accent-purple);
  font-size: 18px;
  font-weight: 700;
}

.price-old {
  color: #9DA3AE;
  text-decoration: line-through;
  font-size: 14px;
}

.rating-row {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--secondary-orange);
}

.rating-row small {
  margin-left: 4px;
  color: var(--text-secondary);
}

.star.small svg {
  width: 14px;
  height: 14px;
}

.checkout-layout,
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 360px;
  gap: 24px;
  align-items: start;
}

.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.shop-layout > aside,
.shop-layout > section,
.checkout-layout > section,
.cart-layout > div,
.cart-layout > aside {
  min-width: 0;
}

.shop-layout .filters-card {
  width: 100%;
}

.shop-layout .filters-card form {
  gap: 16px;
}

.filters-card,
.content-card,
.summary-card {
  padding: 24px;
}

.filters-card form,
.checkout-form {
  display: grid;
  gap: 18px;
}

.filters-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span {
  font-weight: 600;
  font-size: 14px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 130px;
  padding: 16px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(22, 151, 230, 0.4);
  box-shadow: 0 0 0 4px rgba(22, 151, 230, 0.08);
}

.toggle-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 34px;
  align-self: end;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 26px;
}

.product-gallery-card,
.product-summary {
  padding: 22px;
}

.product-gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  border-radius: 24px;
  margin-bottom: 16px;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}

.thumb {
  border: 1px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  background: var(--light-blue);
}

.thumb.is-active {
  border-color: rgba(22, 151, 230, 0.4);
}

.thumb img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

.product-summary h1 {
  margin: 8px 0;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 0.98;
}

.rating-line span {
  color: var(--text-secondary);
  font-size: 14px;
}

.price-line {
  justify-content: start;
  margin: 16px 0;
}

.price-line .price-current {
  font-size: 28px;
}

.product-option-group {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.product-option-group > span {
  font-weight: 600;
}

.product-buy-row {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 12px;
  margin-top: 22px;
  align-items: end;
}

.quantity-control {
  display: grid;
  grid-template-columns: 46px 72px 46px;
  gap: 8px;
}

.quantity-control button,
.quantity-control input {
  min-height: 52px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: white;
  text-align: center;
}

.product-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.product-benefits-grid article {
  padding: 16px;
  border-radius: 18px;
  background: var(--section-background);
}

.product-benefits-grid strong {
  display: block;
  margin-bottom: 4px;
}

.product-extra-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  margin-top: 26px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-list svg {
  color: var(--success);
}

.mini-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.mini-product {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.mini-product img {
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: white;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}

.cart-item img {
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
}

.cart-item__content small,
.sheet-item small {
  color: var(--text-secondary);
}

.cart-item__content h3,
.summary-card h3,
.review-card strong,
.mega-card strong,
.season-card h3 {
  margin: 0;
}

.cart-item__actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.summary-row {
  padding: 14px 0;
  border-bottom: 1px solid rgba(230, 232, 236, 0.86);
}

.summary-row.total {
  font-size: 18px;
  border-bottom: 0;
}

.shipping-progress {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.shipping-progress__bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(22, 151, 230, 0.08);
  overflow: hidden;
}

.shipping-progress__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-purple));
}

.checkout-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.checkout-progress span {
  display: grid;
  place-items: center;
  min-height: 38px;
  border-radius: 999px;
  background: var(--section-background);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
}

.checkout-progress span.is-active {
  background: rgba(22, 151, 230, 0.08);
  color: var(--primary-blue);
}

.payment-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: white;
}

.payment-option input {
  margin-top: 4px;
}

.trust-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: var(--light-blue);
  color: var(--text-secondary);
  margin-top: 12px;
}

.review-card,
.contact-card,
.content-card {
  padding: 24px;
}

.footer h4,
.footer-brand strong {
  margin-top: 0;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
}

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

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

.review-card strong,
.contact-card strong {
  font-size: 16px;
}

.season-card {
  min-height: 320px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.season-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(255,255,255,0.2);
}

.season-card-blue {
  background: linear-gradient(135deg, rgba(22,151,230,0.18), rgba(244,250,255,0.96));
}

.season-card-orange {
  background: linear-gradient(135deg, rgba(247,147,30,0.18), rgba(255,255,255,0.96));
}

.season-card-purple {
  background: linear-gradient(135deg, rgba(72,61,173,0.16), rgba(255,255,255,0.96));
}

.season-card-neutral {
  background: linear-gradient(135deg, rgba(22,151,230,0.1), rgba(250,250,252,0.96));
}

.season-card h3 {
  margin: 16px 0 10px;
  font-size: clamp(28px, 3vw, 36px);
  font-family: "Fredoka", "Poppins", sans-serif;
}

.brand-pill {
  min-height: 58px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(230,232,236,0.82);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

#featured-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

#instagram-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.gallery-tile {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 28px;
  background: linear-gradient(135deg, var(--light-blue), white);
}

.newsletter-card-form,
.newsletter-inline {
  display: flex;
  gap: 10px;
}

.newsletter-card-form input,
.newsletter-inline input {
  min-width: 280px;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.footer {
  padding: 42px 0 28px;
  background: var(--accent-purple);
  color: white;
}

.footer-grid {
  grid-template-columns: 1.3fr 0.8fr 0.8fr 0.9fr 1.1fr;
}

.footer a,
.footer p {
  color: rgba(255,255,255,0.82);
}

.footer-brand .social-row a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-legal {
  margin-top: 18px;
  color: rgba(255,255,255,0.8);
  text-align: center;
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 94px;
  z-index: 80;
  width: min(360px, calc(100% - 32px));
}

.toast,
.status-banner {
  padding: 14px 16px;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.toast.info,
.status-banner.info { background: rgba(22,151,230,0.1); color: #0e78b7; }
.toast.success,
.status-banner.success { background: rgba(76,175,80,0.12); color: #256c29; }
.toast.error,
.status-banner.error { background: rgba(239,83,80,0.12); color: #9d2d2b; }

.sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.38);
  opacity: 0;
  visibility: hidden;
  z-index: 70;
  transition: 0.2s ease;
}

.sheet-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.side-sheet {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  z-index: 75;
  transform: translateX(105%);
  transition: transform 0.25s ease;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.side-sheet.is-open {
  transform: translateX(0);
}

.side-sheet__header,
.side-sheet__footer {
  padding: 20px;
  border-bottom: 1px solid rgba(230,232,236,0.82);
}

.side-sheet__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.side-sheet__body {
  padding: 20px;
  overflow: auto;
}

.side-sheet__header button {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 0;
  background: var(--section-background);
}

.sheet-item {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(230,232,236,0.82);
}

.sheet-item img {
  width: 84px;
  height: 94px;
  border-radius: 16px;
  object-fit: cover;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--primary-blue);
  font-weight: 700;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 999px;
  background: var(--primary-blue);
  color: white;
  box-shadow: 0 20px 40px rgba(22,151,230,0.3);
  display: grid;
  place-items: center;
  z-index: 60;
}

.floating-cart span {
  position: absolute;
  top: -4px;
  right: -2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--accent-pink);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.mobile-bottom-nav {
  display: none;
}

.compact {
  padding: 18px;
}

.rich-text p {
  margin-top: 0;
  color: var(--text-secondary);
}

.empty-state {
  padding: 30px;
  text-align: center;
}

.empty-state.compact {
  padding: 12px 0;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.pagination-button {
  min-width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow-soft);
  padding: 0 14px;
}

.pagination-button.pagination-nav {
  min-width: 96px;
}

.pagination-ellipsis {
  color: var(--text-secondary);
  padding: 0 4px;
}

.pagination-button.is-active {
  background: var(--primary-blue);
  color: white;
}

@media (max-width: 1180px) {
  .header-main {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .header-actions {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
  }

  .brand {
    justify-content: center;
  }

  .category-strip {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  #instagram-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  .hero-visual {
    min-height: auto;
  }

  .hero-slide,
  .shop-layout,
  .checkout-layout,
  .cart-layout,
  .product-layout,
  .product-extra-grid,
  .newsletter-card,
  .mega-menu-inner {
    grid-template-columns: 1fr;
  }

  .filters-grid,
  .highlight-grid {
    grid-template-columns: 1fr 1fr;
  }

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


@media (max-width: 920px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

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

  .hero-stage {
    min-height: auto;
  }

  .hero-visual img {
    min-height: 0;
  }

  .hero-visual-frame {
    min-height: 380px;
  }

  .hero-slide {
    position: relative;
    inset: auto;
    display: none;
    min-height: auto;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .mega-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-buy-row {
    grid-template-columns: 1fr;
  }

  .product-benefits-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading p {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .desktop-nav {
    display: none;
  }

  .header-main {
    gap: 14px;
    padding: 14px 0;
  }

  .brand {
    justify-content: flex-start;
  }

  .header-actions {
    display: none;
  }

  .header-search {
    min-height: 54px;
    padding: 0 8px 0 14px;
  }

  .header-search input {
    padding: 0 8px;
    font-size: 15px;
  }

  .search-submit {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: 14px;
  }

  .search-submit__label {
    display: none;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-slide {
    padding: 18px;
    gap: 18px;
  }

  .hero-copy h1 {
    font-size: 34px;
    margin: 12px 0 10px;
  }

  .hero-copy p {
    font-size: 14px;
    margin: 0;
  }

  .hero-visual-frame {
    min-height: 240px;
  }

  .hero-gradient {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 32px;
  }

  .hero-decor {
    display: none;
  }

  .hero-metrics {
    display: none;
  }

  .hero-tags {
    gap: 8px;
    margin-top: 10px;
  }

  .hero-tags span {
    padding: 7px 10px;
    font-size: 11px;
  }

  .category-strip,
  .highlight-grid,
  .filters-grid,
  .story-grid,
  .contact-grid,
  .footer-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .toggle-field {
    padding-top: 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  #trust-highlights-section {
    display: none;
  }

  .product-card__body {
    padding: 16px;
  }

  .product-card__image-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 0;
  }

  .product-card__image {
    width: 100%;
  }

  .product-card__topline {
    flex-direction: column;
    align-items: start;
  }

  .product-card__body > p {
    display: none;
  }

  .quick-view-button {
    position: static;
    left: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    bottom: auto;
    flex: 1 1 auto;
    min-height: 40px;
    padding: 0 14px;
    font-size: 13px;
  }

  .product-card__image-wrap > .wishlist-button {
    position: static;
    right: auto;
    bottom: auto;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .product-badge,
  .discount-badge {
    top: 22px;
  }

  .product-badge {
    left: 22px;
  }

  .discount-badge {
    right: 22px;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item img {
    width: 100%;
    height: 240px;
  }

  .cart-item__actions {
    justify-items: start;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 14px;
    z-index: 65;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,255,255,0.96);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(230,232,236,0.86);
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    padding: 4px;
  }

  .floating-cart {
    display: none;
  }

  .toast-stack {
    bottom: 100px;
  }

  .site-main {
    padding-bottom: 124px;
  }

  .side-sheet {
    width: 100%;
  }

  .side-sheet__body {
    padding-bottom: 110px;
  }

  .checkout-progress {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter-card,
  .summary-card.luxury,
  .filters-card,
  .content-card,
  .review-card,
  .contact-card {
    padding: 20px;
  }
}

@media (max-width: 680px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #instagram-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-copy h1 {
    font-size: 30px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
  }

  .hero-actions .button:last-child {
    grid-column: 1 / -1;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .price-line,
  .rating-line,
  .product-summary-top,
  .summary-row {
    align-items: start;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .brand-copy strong {
    font-size: 22px;
  }

  .brand-image {
    height: 56px;
    max-width: 150px;
  }

  .brand-image.compact {
    height: 44px;
    max-width: 128px;
  }

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

  .header-search {
    min-height: 52px;
    padding: 0 6px 0 12px;
    border-radius: 18px;
  }

  .search-icon {
    display: inline-grid;
  }

  .header-search input {
    min-height: 44px;
    padding: 0 8px;
  }

  .search-submit {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 12px;
  }

  .search-suggestions {
    max-height: 70vh;
    overflow: auto;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 56px;
    height: 56px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-slide {
    padding: 14px;
    gap: 14px;
  }

  .hero-visual img {
    border-radius: 24px;
  }

  .hero-gradient {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 28px;
  }

  .hero-visual-frame {
    min-height: 190px;
    border-radius: 20px;
  }

  .hero-copy h1 {
    font-size: 26px;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 12px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 14px;
  }

  .hero-tags {
    display: none;
  }

  .product-gallery-card,
  .product-summary {
    padding: 18px;
  }

  .product-summary h1 {
    font-size: 30px;
  }

  .product-card__body {
    padding: 14px;
  }

  .product-card__body h3 {
    font-size: 15px;
  }

  .product-card p {
    font-size: 13px;
  }

  .product-actions {
    gap: 8px;
  }

  .product-actions .button {
    min-height: 42px;
    padding: 0 12px;
    font-size: 12px;
  }

  .product-badge,
  .discount-badge {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10px;
  }

  .quick-view-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 11px;
    bottom: auto;
  }

  .product-card__image-wrap > .wishlist-button {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .price-line .price-current {
    font-size: 24px;
  }

  .quantity-control {
    width: 100%;
    grid-template-columns: 52px 1fr 52px;
  }

  .cart-item,
  .summary-card.luxury {
    padding: 16px;
  }

  .sheet-item {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }

  .sheet-item .button,
  .sheet-item .text-button {
    grid-column: 2;
    justify-self: start;
  }

  .side-sheet__header,
  .side-sheet__footer,
  .side-sheet__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .newsletter-card-form,
  .newsletter-inline {
    flex-direction: column;
  }

  .newsletter-card-form input,
  .newsletter-inline input {
    min-width: 0;
  }

  #instagram-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mobile-bottom-nav {
    left: 12px;
    right: 12px;
    bottom: 12px;
    gap: 4px;
    padding: 8px;
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    font-size: 10px;
  }
}
