:root {
  font-family: 'Inter', system-ui, sans-serif;
  background: #ffffff;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
}

button,
a,
input {
  font: inherit;
}

/* ---------- announcement bar ---------- */
.announcement-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, #bfdbfe, #2563eb);
  color: white;
  padding: 0.7rem 1rem;
}

.announcement-bar__nav {
  flex-shrink: 0;
  border: none;
  background: none;
  color: white;
  opacity: 0.85;
  cursor: pointer;
  display: inline-flex;
}

.announcement-bar__track {
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  height: 1.2rem;
}

.announcement-bar__track span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.announcement-bar__track span.is-active {
  opacity: 1;
}

/* ---------- navbar ---------- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: white;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.menu-btn,
.icon-btn {
  border: none;
  background: none;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-links {
  display: none;
}

.nav-icons {
  display: flex;
  gap: 1rem;
}

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

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, #64748b 0%, #1e293b 60%, #0f172a 100%);
}

.hero__overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  padding: 3rem 1.25rem;
  max-width: 40rem;
}

.hero .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
}

.hero p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

/* ---------- multi-product carousel ---------- */
.product-carousel {
  padding: 2.5rem 1rem;
}

.product-carousel__title {
  text-align: center;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(90deg, #7dd3fc, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.product-carousel__intro {
  max-width: 48rem;
  margin: 0 auto 1.5rem;
  text-align: center;
  color: #334155;
  line-height: 1.7;
}

.product-carousel__wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-carousel__nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #0b0b0b;
  color: white;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.product-carousel__track {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.p-card {
  scroll-snap-align: start;
  flex: 0 0 80%;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.p-card__image {
  height: 220px;
  position: relative;
  background: radial-gradient(circle at top, #f8fafc 0%, #cbd5e1 60%, #94a3b8 100%);
}

.p-card__image--2 { background: radial-gradient(circle at top, #f8fafc 0%, #dbeafe 60%, #93c5fd 100%); }
.p-card__image--3 { background: radial-gradient(circle at top, #f1f5f9 0%, #cbd5e1 60%, #64748b 100%); }

.p-card__ribbon {
  position: absolute;
  top: 0.9rem;
  right: -2.1rem;
  background: #047857;
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.p-card h3 {
  margin: 1rem 1rem 0.5rem;
  font-size: 1.05rem;
}

.p-card .rating--small,
.p-card .price--small {
  margin-left: 1rem;
  margin-right: 1rem;
}

.rating--small { margin-bottom: 0.5rem; }
.rating--small .rating__stars svg,
.rating--small span { font-size: 0.85rem; }

.price--small {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.p-card .button--wide {
  margin: 0 1rem 1rem;
  width: calc(100% - 2rem);
}

.button--dark {
  background: #0f172a;
  color: white;
}

.product-top {
  padding-bottom: 0.5rem;
}

/* ---------- ticker ---------- */
.ticker {
  background: #0b0b0b;
  color: white;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ticker__track {
  display: inline-flex;
  animation: ticker-scroll 16s linear infinite;
  padding: 0.85rem 0;
}

.ticker__track span {
  padding-right: 0.5rem;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- product details / buy box ---------- */
.product__details {
  padding: 1.25rem 1rem 1.5rem;
}

.product__details h1 {
  font-size: clamp(1.75rem, 5vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.product__description {
  color: #0f172a;
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.rating__stars {
  display: inline-flex;
  gap: 0.15rem;
  color: #cbd5e1;
}

.rating span {
  color: #64748b;
  font-size: 0.9rem;
}

.price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.price__now {
  font-size: 1.5rem;
  font-weight: 700;
  color: #047857;
}

.price__was {
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 1.05rem;
}

.price__save {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #047857;
  color: white;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.tax {
  color: #64748b;
  font-size: 0.9rem;
  margin: 0.1rem 0 0.6rem;
}

.delivery {
  font-style: italic;
  color: #0f172a;
  line-height: 1.6;
  margin: 0 0 1.1rem;
}

.delivery strong {
  color: #047857;
}

#addToCartBtn {
  margin-bottom: 0.75rem;
}

.quantity-control {
  display: inline-flex;
  gap: 0.9rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: #f1f5f9;
  margin-bottom: 0.9rem;
}

.quantity-control button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #0f172a;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.quantity-control span {
  min-width: 1.1rem;
  text-align: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 1rem 1.4rem;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.button--primary {
  background: #2563eb;
  color: white;
}

.button--ghost {
  border: 1px solid #cbd5e1;
  color: #94a3b8;
  background: transparent;
}

.button--wide {
  width: 100%;
}

.newsletter__form button {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.85rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
}

.payment-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  margin: 1.6rem 0 1rem;
}

.payment-divider::before,
.payment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
}

.payment-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  background: #f8fafc;
}

.pay-badge--stripe { color: #635bff; }
.pay-badge--amex { color: #016fd0; }
.pay-badge--visa { color: #1a1f71; }
.pay-badge--paypal { color: #003087; }
.pay-badge--mc { color: #eb001b; }

.payment-note {
  text-align: center;
  font-style: italic;
  color: #64748b;
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

/* ---------- inline product review ---------- */
.inline-review {
  margin-top: 1.5rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #f8fafc;
}

.inline-review__author {
  margin: 0 0 0.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.inline-review__author span:not(.inline-review__stars) {
  font-weight: 400;
  color: #64748b;
  font-size: 0.85rem;
}

.inline-review__stars {
  display: inline-flex;
  gap: 0.1rem;
  color: #16a34a;
  margin-left: auto;
}

.inline-review__text {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.inline-review__more {
  display: inline-block;
  margin-top: 0.5rem;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- testimonials ---------- */
.testimonials,
.about,
.faq,
.newsletter {
  padding: 2.5rem 1rem;
}

.testimonials__heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  margin-bottom: 0.6rem;
}

.testimonials__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px #bfdbfe;
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.section-label {
  position: relative;
  font-size: 1.55rem;
  font-weight: 800;
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: #334155;
  margin-top: 0;
  margin-bottom: 1.4rem;
}

.reviews-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews__nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #0b0b0b;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reviews {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.25rem;
}

.review-card {
  scroll-snap-align: start;
  flex: 0 0 82%;
  background: white;
  border: 1px solid #bfdbfe;
  border-radius: 18px;
  padding: 1.2rem;
}

.review-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.review-author {
  margin: 0 0 0.5rem;
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.review-author em {
  font-style: italic;
  font-weight: 400;
  color: #64748b;
}

.verified-badge {
  background: #16a34a;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  font-style: normal;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

.review-card__stars {
  display: flex;
  gap: 0.1rem;
  color: #16a34a;
  margin-bottom: 0.6rem;
}

.review-card p {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}

.review-card a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-top: 0.5rem;
}

.reviews__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.reviews__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.reviews__dot--active {
  background: #0f172a;
}

/* ---------- product showcase ---------- */
.product-showcase {
  padding: 1rem;
}

.product-showcase__main {
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  background: radial-gradient(circle at top, #f8fafc 0%, #cbd5e1 60%, #94a3b8 100%);
  margin-bottom: 0.75rem;
}

.product-showcase__main--2 { background: radial-gradient(circle at top, #f8fafc 0%, #dbeafe 60%, #93c5fd 100%); }
.product-showcase__main--3 { background: radial-gradient(circle at top, #f1f5f9 0%, #cbd5e1 60%, #64748b 100%); }
.product-showcase__main--4 { background: radial-gradient(circle at top, #f8fafc 0%, #bfdbfe 60%, #60a5fa 100%); }

.product-showcase__thumbs-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-showcase__thumbs {
  flex: 1;
  display: flex;
  gap: 0.6rem;
}

.product-showcase__thumb {
  flex: 1 0 22%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  background: radial-gradient(circle at top, #f8fafc 0%, #cbd5e1 60%, #94a3b8 100%);
}

.product-showcase__thumb--2 { background: radial-gradient(circle at top, #f8fafc 0%, #dbeafe 60%, #93c5fd 100%); }
.product-showcase__thumb--3 { background: radial-gradient(circle at top, #f1f5f9 0%, #cbd5e1 60%, #64748b 100%); }
.product-showcase__thumb--4 { background: radial-gradient(circle at top, #f8fafc 0%, #bfdbfe 60%, #60a5fa 100%); }

.product-showcase__thumb--active {
  border-color: #2563eb;
}

.showcase-nav {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #3f3f3f;
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-showcase__details {
  padding-top: 1.5rem;
}

.product-showcase__details h2 {
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.product-showcase__description {
  color: #0f172a;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.button--outline-blue {
  border: 1px solid #2563eb;
  color: #2563eb;
  background: transparent;
  padding: 0.7rem 1.4rem;
  margin-top: 1rem;
}

/* ---------- about ---------- */
.about {
  background: #fafbff;
}

.about h2 {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #7dd3fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about h3 {
  text-align: center;
  margin-top: 0;
  font-size: 1.3rem;
  font-weight: 800;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.about p {
  max-width: 42rem;
  margin: 0.9rem auto;
  color: #334155;
  line-height: 1.75;
  text-align: center;
}

.about__strong {
  font-weight: 800;
  color: #0f172a;
}

/* ---------- FAQ ---------- */
.faq h2 {
  text-align: center;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.faq__list {
  max-width: 42rem;
  margin: 0 auto;
  display: grid;
  gap: 0.9rem;
}

.faq__item {
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 1rem 1.2rem;
  background: white;
}

.faq__item summary {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  color: #2563eb;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "⌄";
  margin-left: auto;
  color: #0f172a;
  transition: transform 0.2s ease;
  font-size: 1.1rem;
}

.faq__item[open] summary::after {
  transform: rotate(180deg);
}

.faq__icon {
  border: 1px solid #94a3b8;
  border-radius: 50%;
  width: 1.4rem;
  height: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #475569;
  flex-shrink: 0;
}

.faq__answer {
  margin-top: 0.9rem;
  color: #334155;
  line-height: 1.75;
}

.faq__answer p {
  margin: 0 0 0.75rem;
}

/* ---------- features carousel ---------- */
.features {
  padding: 1rem;
}

.features__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1.25rem;
  scroll-snap-type: x mandatory;
}

.feature-card {
  scroll-snap-align: start;
  flex: 0 0 78%;
  border-radius: 20px;
  padding: 1.6rem 1.4rem;
  color: white;
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
}

.feature-card--alt {
  background: linear-gradient(135deg, #60a5fa, #93c5fd);
}

.feature-card__icon {
  margin-bottom: 0.6rem;
}

.feature-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  line-height: 1.5;
  opacity: 0.95;
}

/* ---------- newsletter ---------- */
.newsletter {
  text-align: center;
  background: #f8fafc;
}

.newsletter h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.newsletter__form {
  max-width: 28rem;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.newsletter__form input {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  width: 100%;
}

.newsletter__row {
  display: flex;
  gap: 0.5rem;
}

.newsletter__row input {
  flex: 1;
  min-width: 0;
}

.newsletter__legal {
  font-size: 0.8rem;
  color: #64748b;
  text-align: left;
  line-height: 1.6;
}

.newsletter__legal a {
  color: #2563eb;
}

.newsletter__heading h2 {
  margin: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #dbeafe 0%, #2563eb 100%);
  padding: 3rem 1rem 2rem;
  color: white;
  width: 100%;
}

.site-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer__card {
  background: white;
  color: #0f172a;
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 30rem;
  margin: -4rem auto 2rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.site-footer__card h3 {
  margin: 0 0 0.6rem;
}

.site-footer__card p {
  margin: 0.4rem 0;
  color: #334155;
  line-height: 1.6;
}

.site-footer__email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-footer__accordions {
  max-width: 30rem;
  margin: 0 auto;
  display: grid;
  gap: 0.5rem;
}

.footer-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.75rem 0;
}

.footer-accordion summary {
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.footer-accordion summary::-webkit-details-marker {
  display: none;
}

.footer-accordion summary::after {
  content: "⌄";
}

.footer-accordion[open] summary::after {
  content: "⌃";
}

.footer-accordion div {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.footer-accordion a {
  color: white;
  opacity: 0.9;
  text-decoration: none;
}

.featured-product {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: white;
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  max-width: 16rem;
}

.featured-product__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #e0f2fe 0%, #7dd3fc 100%);
}

.featured-product__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.featured-product__name {
  color: #0f172a;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.3;
}

.featured-product__price {
  color: #047857;
  font-weight: 700;
  font-size: 0.85rem;
}

.site-footer__friends {
  text-align: center;
  font-style: italic;
  opacity: 0.85;
  margin: 2rem 0 0.5rem;
}

.site-footer__copyright {
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0;
}

/* ---------- menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  visibility: hidden;
  pointer-events: none;
}

.menu-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.menu-overlay.is-open .menu-overlay__backdrop {
  opacity: 1;
}

.menu-overlay__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(80%, 320px);
  background: white;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.menu-overlay.is-open .menu-overlay__panel {
  transform: translateX(0);
}

.menu-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0b0b0b;
  color: white;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
}

.menu-overlay__close {
  background: none;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.menu-overlay__links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem;
}

.menu-overlay__links a {
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  text-decoration: none;
}

.menu-overlay__links a.active {
  color: #2563eb;
}

/* ---------- catalog page ---------- */
.catalog {
  padding: 2rem 1rem 1rem;
  max-width: 80rem;
  margin: 0 auto;
}

.catalog__header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.catalog__breadcrumb {
  color: #64748b;
  margin: 0 0 1.5rem;
}

.catalog__breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.catalog__toolbar {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.5rem;
}

.catalog__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.catalog__sort select {
  border: none;
  background: none;
  font-weight: 400;
  color: #334155;
  cursor: pointer;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.9rem;
}

.grid-card {
  position: relative;
}

.grid-card__image {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #f8fafc 0%, #cbd5e1 60%, #94a3b8 100%);
  margin-bottom: 0.75rem;
}

.grid-card__image--2 { background: radial-gradient(circle at top, #f8fafc 0%, #dbeafe 60%, #93c5fd 100%); }
.grid-card__image--3 { background: radial-gradient(circle at top, #f1f5f9 0%, #cbd5e1 60%, #64748b 100%); }
.grid-card__image--4 { background: radial-gradient(circle at top, #f8fafc 0%, #bfdbfe 60%, #60a5fa 100%); }
.grid-card__image--5 { background: radial-gradient(circle at top, #f8fafc 0%, #e2e8f0 60%, #94a3b8 100%); }
.grid-card__image--6 { background: radial-gradient(circle at top, #fef9c3 0%, #fde68a 60%, #d4a24e 100%); }
.grid-card__image--7 { background: radial-gradient(circle at top, #dcfce7 0%, #86efac 60%, #4ade80 100%); }

.grid-card__ribbon {
  position: absolute;
  top: 0.75rem;
  right: -1.9rem;
  background: #047857;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 2.2rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.grid-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #475569;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.grid-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-card .rating--small {
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
}

.grid-card .price--small {
  margin-bottom: 0.6rem;
}

.grid-card--sold-out .button--wide {
  background: #93c5fd;
  color: white;
  cursor: not-allowed;
}

.catalog__pagination {
  text-align: center;
  font-style: italic;
  color: #64748b;
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

/* ---------- contact page ---------- */
.contact {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
}

.contact h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}

.contact__intro {
  color: #334155;
  line-height: 1.75;
  margin: 0 0 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  text-align: left;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  background: white;
  color: #0f172a;
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='16' height='16' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}

.contact-form textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 8rem;
  font-family: inherit;
}

.contact-form__date-label {
  font-size: 0.85rem;
  color: #334155;
  font-weight: 600;
  display: grid;
  gap: 0.4rem;
}

.contact-form__date-label input {
  border-radius: 12px;
  font-weight: 400;
}

/* ---------- floating action buttons ---------- */
.fab-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.75rem;
  justify-items: end;
  z-index: 30;
}

.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: white;
  color: #2563eb;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: white;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.25;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.back-to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #0f172a;
  animation: spin 9s linear infinite;
}

.back-to-top__arrow {
  position: relative;
  color: #0f172a;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }

  .nav-links {
    display: flex;
    gap: 0.5rem;
  }

  .nav-links__item {
    color: #0f172a;
    text-decoration: none;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
  }

  .nav-links__item--active {
    background: #0f172a;
    color: white;
  }

  .product-carousel__nav {
    display: inline-flex;
  }

  .p-card {
    flex: 0 0 31%;
  }

  .review-card {
    flex: 0 0 23%;
  }

  .product-top {
    padding: 0 1rem;
  }

  .product__details {
    max-width: 40rem;
    margin: 0 auto;
  }

  .product-showcase {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
    gap: 2rem;
    padding: 1rem 1.5rem;
  }

  .product-showcase__details {
    padding-top: 0;
  }

  .features__track .feature-card {
    flex: 0 0 32%;
  }

  .catalog {
    padding: 2.5rem 1.5rem 1.5rem;
  }

  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    text-align: left;
    max-width: 64rem;
    margin: 0 auto;
  }

  .newsletter__form {
    margin: 0;
  }

  .site-footer {
    padding: 3rem 1.5rem 2rem;
  }

  .site-footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
  }

  .site-footer__card {
    margin: 0;
    max-width: none;
  }

  .site-footer__accordions {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-accordion summary {
    cursor: default;
    pointer-events: none;
  }

  .footer-accordion summary::after {
    display: none;
  }

  .footer-accordion > div {
    display: grid !important;
    margin-top: 1rem;
  }

  .site-footer__friends,
  .site-footer__copyright {
    grid-column: 1 / -1;
  }
}
