:root {
  --ink: #000000;
  --muted: #7a13aa;
  --cream: #ffffff;
  --paper: #ffffff;
  --line: #7a13aa;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
  background: var(--cream);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  color: #ffffff;
  background: #4b176d;
  border-radius: 8px;
  transform: translateY(calc(-100% - 16px));
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, filter .18s ease;
}

button:not(:disabled):hover {
  filter: brightness(.94);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
}

/* =========================
   ANNOUNCEMENT
========================= */

.announcement {
  padding: 9px;
  color: #ffffff;
  background: #7a13aa;
  font-size: 12px;
  text-align: center;
  letter-spacing: 0.04em;
}

/* =========================
   HEADER
========================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.logo {
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.logo .kh-brand__kays { color: #000000; font-family: "Montserrat", sans-serif; font-style: normal; font-weight: 700; }
.logo .kh-brand__haven { color: #9760c3; font-family: "Playfair Display", serif; font-style: italic; font-weight: 700; }

.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--kh-primary);
}

.desktop-nav a,
.mobile-nav a { display: inline-flex; align-items: center; gap: 7px; }
.nav-icon { width: 17px; height: 17px; flex: 0 0 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--kh-primary);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 11px 18px;
  border: 0;
  border-radius: 30px;
  color: #ffffff;
  background: #7a13aa;
  font-size: 13px;
  font-weight: 600;
}

.cart-btn span {
  display: inline-grid;
  place-items: center;
  width: 19px;
  height: 19px;
  margin-left: 0;
  border-radius: 50%;
  color: #000000;
  background: #ffffff;
  font-size: 11px;
  font-weight: 500;
}

.menu-btn {
  display: none;
  min-height: 42px;
  padding: 0 10px;
  border: 0;
  background: transparent;
  color: var(--kh-primary);
  width: 44px;
  height: 44px;
  flex-direction: column;
  gap: 5px;
  border-radius: 6px;
}

.cart-btn .cart-icon { width: 20px; height: 20px; }
.menu-btn span { width: 22px; height: 2px; display: block; border-radius: 2px; background: var(--kh-primary); }
.menu-btn:focus-visible { outline: 2px solid var(--kh-primary); outline-offset: 2px; }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 15px;
  padding: 0 20px 20px;
}

.mobile-nav a:hover {
  color: var(--kh-primary);
}

/* =========================
   HERO
========================= */

.hero {
  overflow: hidden;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(680px, calc(100vh - 110px));
}

.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(40px, 7vw, 110px); }
.hero-copy .hero-brand { color: #7a13aa; letter-spacing: .18em; }
.hero h1 { max-width: 650px; color: #7a13aa; font-size: clamp(46px, 5.8vw, 76px); line-height: 1.08; letter-spacing: -.035em; }
.hero h1 span { color: var(--kh-primary); }
.hero h1 em { color: var(--kh-ink); font-style: normal; }
.hero-art { position: relative; min-height: 520px; overflow: hidden; }
.hero-photo { display: block; width: 100%; height: 100%; min-height: inherit; object-fit: cover; object-position: center 40%; }

.eyebrow {
  margin: 0 0 15px;
  color: var(--kh-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 660px;
  margin: 0 0 22px;
  font-family: var(--kh-heading-font);
  font-weight: 600;
  font-size: clamp(48px, 5.8vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--kh-ink);
  font-family: "Playfair Display", serif;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-text {
  max-width: 490px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 27px 0 20px;
}

.hero-brand {
  margin-bottom: 18px;
  color: var(--kh-primary);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.hero-art { position: relative; height: 100%; min-height: 520px; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; }
.blob-one { right: 10px; width: 390px; height: 390px; background: var(--kh-primary); }
.blob-two { bottom: 28px; left: 8px; width: 150px; height: 150px; background: var(--kh-surface-muted); }
.hero-card { position: relative; width: min(410px, 84%); padding: 12px; border-radius: 14px; background: #ffffff; box-shadow: var(--shadow); transform: rotate(1deg); }
.hero-badge { position: absolute; top: 28px; left: 28px; z-index: 2; padding: 7px 10px; color: #ffffff; background: var(--kh-primary); font-size: 9px; letter-spacing: 0.12em; }
.hero-placeholder { display: block; width: 100%; height: 380px; border-radius: 8px; background: #ffffff; object-fit: cover; object-position: center 32%; }
.hero-card-copy { display: flex; justify-content: space-between; gap: 10px; padding: 16px 3px 4px; }
.hero-card-copy span { color: var(--kh-primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 0;
  border-radius: var(--kh-radius-control);
  font-size: 13px;
  font-weight: 700;
}

.btn-primary {
  color: #ffffff;
  background: #7a13aa;
}

.btn-primary:hover {
  background: var(--kh-primary);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: transparent;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 11px;
}

/* =========================
   CATEGORIES
========================= */

.category-strip {
  padding: 80px 0;
  background: #ffffff;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 35px;
}

.section-heading.compact {
  margin-bottom: 25px;
}

.section-heading h2,
.feature-grid h2,
.newsletter h2 {
  margin: 0;
  font-family: var(--kh-heading-font);
  font-weight: 600;
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.category-card {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--kh-radius-card);
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 35px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--kh-primary);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-card strong {
  display: block;
  font-size: 16px;
}

.category-card small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.sale-card {
  border-color: rgba(122, 19, 170, 0.35);
}

.sale-card .category-icon {
  color: var(--kh-primary);
}

/* =========================
   PRODUCTS
========================= */

.products-section {
  padding: 90px 0;
}

.filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--muted);
  background: #ffffff;
  font-size: 11px;
}

.filter.active,
.filter:hover {
  border-color: #7a13aa;
  color: #ffffff;
  background: #7a13aa;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--kh-radius-card);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:nth-child(even) { background: var(--kh-lavender); }

.product-image {
  position: relative;
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
}

.product-image .placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  padding: 30px;
  color: #7a13aa;
  background: #ffffff;
}

.product-image .placeholder::after { content: "Photo unavailable"; max-width: 14ch; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; }

.product-image img {
  transition: transform .35s ease;
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 9px;
  background: #ffffff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 30px;
}




.product-info {
  flex: 1;
  padding: 15px 5px 9px;
}

.product-info small {
  color: var(--kh-primary);
  font-size: 11px;
  font-weight: 600;
}

.product-info h3 {
  margin: 7px 0 8px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}

.product-info strong {
  color: var(--kh-primary);
  font-size: 15px;
  font-weight: 700;
}

.add-btn {
  min-height: 40px;
  align-self: stretch;
  margin: 0 5px 3px;
  padding: 0 13px;
  border: 1px solid var(--kh-primary);
  border-radius: var(--kh-radius-control);
  color: #ffffff;
  background: var(--kh-primary);
  font-size: 12px;
  font-weight: 700;
}

.add-btn:hover {
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.10);
}

.add-btn:disabled { opacity: .62; cursor: not-allowed; }

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
  }

  .product-card:hover .product-image img {
    transform: scale(1.025);
  }
}

.empty-state {
  display: none;
  padding: 50px;
  color: var(--muted);
  text-align: center;
}

/* =========================
   WHY CHOOSE KAY'S HAVEN
========================= */

.feature-band {
  padding: 90px 0;
  background: #7a13aa;
  color: #ffffff;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

/* EVERYTHING INSIDE THIS PURPLE SECTION IS WHITE */

.feature-band,
.feature-band *,
.feature-band h2,
.feature-band .feature-intro,
.feature-band .feature-items,
.feature-band .feature-items span,
.feature-band .feature-items strong,
.feature-band .feature-items p,
.feature-band .feature-items small,
.feature-band .feature-items a {
  color: #ffffff !important;
}

.feature-intro {
  max-width: 500px;
  font-size: 14px;
  line-height: 1.7;
}

.feature-items {
  display: flex;
  flex-direction: column;
}

.feature-items > div {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 15px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-items span {
  font-size: 11px;
  font-weight: 700;
}

.feature-items strong {
  font-size: 15px;
}

.feature-items p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
  padding: 90px 0;
}

.newsletter-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 55px;
  background: #ffffff;
}

.newsletter h2 {
  font-size: 43px;
}

.newsletter p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.newsletter form {
  display: flex;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

/* =========================
   FOOTER
========================= */

footer {
  padding: 70px 0 25px;
  color: #ffffff;
  background: #000000;
}
footer .kh-brand { --kh-brand-kays-color: #ffffff; --kh-brand-haven-color: #d9bced; }
footer .kh-brand .kh-brand__kays { color: #ffffff; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-grid .logo {
  display: block;
  margin-bottom: 15px;
}

.footer-note {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  line-height: 1.7;
}
.footer-note span { color: #ffffff; font-weight: 700; }
.footer-note em { color: #ffffff; font-style: normal; }
.social-handle { margin: -4px 0 0; color: rgba(255,255,255,.76); font-size: 12px; }

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}

.social-links a {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #ffffff;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.social-links svg { width: 21px; height: 21px; display: block; }
.social-links a:hover, .social-links a:focus-visible { color: #d9c1e7; background: transparent; transform: translateY(-2px); }
.social-links a:focus-visible { outline: none; }

.footer-grid h4 {
  margin: 0 0 18px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0 0 11px;
  color: #ffffff;
  font-size: 12px;
}

.footer-grid a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
}

/* =========================
   CART DRAWER
========================= */

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  height: 100vh;
  background: #ffffff;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.14);
  transition: 0.3s;
}

.cart-drawer.open {
  right: 0;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
}

.heading-icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.drawer-head button,
.modal-close {
  border: 0;
  background: transparent;
  font-size: 28px;
}

.cart-items {
  flex: 1;
  padding: 20px;
  overflow: auto;
}

.cart-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.mini-img {
  display: grid;
  place-items: center;
  width: 70px;
  height: 75px;
  color: #000000;
  border: 1px solid #7a13aa;
  border-radius: 8px;
  background: #ffffff;
  font-size: 8px;
  text-align: center;
}

.mini-img img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 7px;
  object-fit: contain;
}

.cart-item h4 {
  margin: 2px 0 7px;
  font-size: 13px;
}

.cart-item p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.qty button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.remove {
  border: 0;
  color: var(--kh-primary);
  background: none;
  font-size: 10px;
}

.cart-item .remove { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border-radius: 8px; color: var(--kh-primary); background: transparent; font-size: 0; }
.cart-item .remove:hover { background: var(--kh-lavender); }
.trash-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.empty-cart {
  padding: 60px 10px;
  color: var(--muted);
  text-align: center;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--line);
}

.total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.full {
  width: 100%;
}

.small-note {
  margin: 10px 0;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

/* =========================
   OVERLAY / MODAL
========================= */

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.42);
}

.overlay.show {
  display: block;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.modal.show {
  display: grid;
}

.modal-card {
  position: relative;
  width: min(650px, 100%);
  max-height: 90vh;
  padding: 35px;
  overflow: auto;
  background: #ffffff;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
}

.modal-card h2 {
  margin: 0 0 25px;
  font-family: "Montserrat", sans-serif;
  font-size: 36px;
}

/* =========================
   FORM
========================= */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  font-size: 11px;
  font-weight: 700;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  outline: none;
  background: #ffffff;
}

.form-grid textarea {
  height: 90px;
  resize: vertical;
}

.checkout-summary {
  display: flex;
  justify-content: space-between;
  margin: 22px 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* =========================
   TOAST
========================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 6px;
  color: #ffffff;
  background: #000000;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: 0.25s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1050px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .desktop-nav {
    gap: 20px;
  }

  .filter-wrap {
    max-width: 600px;
  }
}

/* =========================
   MOBILE / TABLET
========================= */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 35;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px 16px;
    border-top: 1px solid var(--line);
    background: #ffffff;
    box-shadow: var(--shadow);
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-nav:not([hidden]) {
    display: flex;
  }

  .mobile-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-nav[hidden] {
    display: none !important;
  }

  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding: 48px max(24px, 7vw); }
  .hero-art { min-height: 420px; }

  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .newsletter-box {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 35px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .announcement {
    font-size: 10px;
  }

  .nav-wrap {
    height: 65px;
  }

  .logo {
    font-size: 22px;
  }

  .nav-actions {
    gap: 2px;
  }

  .icon-btn,
  .menu-btn {
    padding: 0 7px;
  }

  .cart-btn {
    padding: 9px 12px;
  }

  .hero-copy { padding: 38px 24px; }
  .hero-art { min-height: 320px; }
  .hero-card { width: 78%; }
  .hero-placeholder { height: 245px; }
  .blob-one { width: 270px; height: 270px; }
  .blob-two { width: 105px; height: 105px; }

  .hero h1 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .category-strip,
  .products-section,
  .feature-band,
  .newsletter {
    padding: 60px 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .section-heading h2 {
    font-size: 34px;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .category-card {
    padding: 18px;
  }

  .category-icon {
    margin-bottom: 25px;
  }

  .filter-wrap {
    width: 100%;
    flex-wrap: nowrap;
    overflow: auto;
    padding-bottom: 5px;
  }

  .filter {
    white-space: nowrap;
  }

  .feature-grid h2,
  .newsletter h2 {
    font-size: 37px;
  }

  .newsletter-box {
    padding: 30px 22px;
  }

  .newsletter form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .modal-card {
    padding: 28px 20px;
  }

  .modal-card h2 {
    font-size: 30px;
  }
}

.product-image img {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
