@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --green: #0f5c4a;
  --green-dark: #0a3622;
  --green-soft: #e8f5ef;
  --orange: #f59e0b;
  --orange-dark: #d97706;
  --cream: #faf7f2;
  --ink: #10271f;
  --muted: #6b7280;
  --line: #e7e5e4;
  --white: #ffffff;
  --red: #dc2626;
  --shadow: 0 22px 65px -32px rgba(10, 54, 34, 0.3);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 0 0, rgba(15, 92, 74, 0.08), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(245, 158, 11, 0.08), transparent 25%),
    var(--cream);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

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

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

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

.page-section {
  padding-block: 70px;
}

.muted {
  color: var(--muted);
}

.hidden {
  display: none !important;
}

.icon-button {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--green);
  background: var(--white);
  transition: 0.2s ease;
}

.icon-button:hover {
  border-color: var(--green);
  transform: translateY(-1px);
}

.count-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  min-width: 21px;
  height: 21px;
  place-items: center;
  padding-inline: 5px;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  font-size: 10px;
  font-weight: 800;
}

.count-badge.red {
  background: var(--red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(231, 229, 228, 0.82);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 6px 28px -24px rgba(10, 54, 34, 0.5);
  backdrop-filter: blur(18px);
}

.nav-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: var(--green);
  box-shadow: 0 12px 24px -15px rgba(15, 92, 74, 0.8);
}

.logo-apna {
  color: var(--green);
}

.logo-finds {
  color: var(--orange);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a,
.desktop-nav button {
  border: 0;
  color: inherit;
  background: transparent;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav button:hover,
.desktop-nav .active {
  color: var(--green);
}

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

.mobile-menu-button {
  display: none;
}

.mobile-menu {
  display: none;
  padding: 0 0 18px;
}

.mobile-menu.open {
  display: grid;
}

.mobile-menu a,
.mobile-menu button {
  width: 100%;
  border: 0;
  border-radius: 13px;
  padding: 12px 14px;
  color: #374151;
  background: transparent;
  text-align: left;
  font-weight: 700;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
  color: var(--green);
  background: #f3f7f5;
}

.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 88% 10%, rgba(245, 158, 11, 0.3), transparent 27%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.08), transparent 28%),
    linear-gradient(135deg, var(--green) 0%, #114d41 43%, var(--green-dark) 100%);
}

.hero-grid {
  display: grid;
  min-height: 560px;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 45px;
  padding-block: 74px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 9px 14px;
  color: #ffdda0;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-size: clamp(43px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: 17px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  max-width: 660px;
  gap: 10px;
  margin-top: 30px;
  border-radius: 18px;
  padding: 7px;
  background: white;
  box-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.55);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 13px 15px;
  color: var(--ink);
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-button {
  color: white;
  background: var(--green);
}

.primary-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid rgba(15, 92, 74, 0.16);
  color: var(--green);
  background: white;
}

.secondary-button:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.danger-button {
  color: var(--red);
  background: #fef2f2;
}

.danger-button:hover {
  color: white;
  background: var(--red);
}

.hero-showcase {
  position: relative;
  display: grid;
  min-height: 420px;
  place-items: center;
}

.hero-showcase-card {
  width: min(100%, 420px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px -35px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(13px);
  transform: rotate(2deg);
}

.hero-showcase-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 25px;
  object-fit: cover;
  background: #f5f5f4;
}

.hero-floating {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 13px 16px;
  color: white;
  background: rgba(7, 26, 20, 0.78);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-floating.one {
  top: 50px;
  left: -18px;
}

.hero-floating.two {
  right: -15px;
  bottom: 55px;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(29px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 15px;
}

.category-card {
  display: grid;
  min-height: 145px;
  place-items: center;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 24px;
  padding: 20px 13px;
  background: rgba(255, 255, 255, 0.87);
  box-shadow: 0 15px 45px -35px rgba(10, 54, 34, 0.45);
  text-align: center;
  transition: 0.22s ease;
}

.category-card:hover {
  border-color: rgba(15, 92, 74, 0.34);
  transform: translateY(-4px);
}

.category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 22px;
}

.category-card strong {
  margin-top: 13px;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

@property --gold-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.gold-card {
  position: relative;
  isolation: isolate;
}

.gold-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  background:
    conic-gradient(
      from var(--gold-angle),
      transparent 0deg 225deg,
      rgba(245, 158, 11, 0.14) 246deg,
      rgba(245, 158, 11, 0.98) 272deg,
      #fff0ae 286deg,
      rgba(217, 119, 6, 0.78) 303deg,
      transparent 326deg 360deg
    );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: goldTravel 4.5s linear infinite;
}

@keyframes goldTravel {
  to {
    --gold-angle: 360deg;
  }
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: 27px;
  background: white;
  box-shadow: 0 14px 45px -33px rgba(10, 54, 34, 0.5);
  transition: 0.24s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-media {
  position: relative;
  overflow: hidden;
  background: #f4f5f4;
}

.product-media > a {
  display: block;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1.06 / 1;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  border-radius: 999px;
  padding: 7px 10px;
  color: white;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wishlist-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 7;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green);
  background: white;
  box-shadow: 0 12px 25px -16px rgba(10, 54, 34, 0.55);
  transition: 0.2s ease;
}

.wishlist-toggle:hover,
.wishlist-toggle.saved {
  border-color: #fecaca;
  color: var(--red);
  background: #fef2f2;
}

.product-content {
  padding: 18px;
}

.product-category {
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-title {
  min-height: 50px;
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.48;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  color: #9ca3af;
  font-size: 11px;
  font-weight: 600;
}

.rating-pill {
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--orange-dark);
  background: #fffbeb;
  font-weight: 800;
}

.price-row {
  display: flex;
  align-items: end;
  gap: 8px;
  margin-top: 15px;
}

.product-price {
  color: var(--green);
  font-size: 24px;
  font-weight: 800;
}

.old-price {
  padding-bottom: 3px;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 700;
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.quantity-label {
  margin-bottom: 7px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.quantity-label.active {
  color: var(--green);
}

.quantity-stepper {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}

.quantity-stepper.active {
  border-color: var(--green);
  background: var(--green-soft);
}

.quantity-stepper button,
.quantity-stepper span {
  display: grid;
  width: 42px;
  height: 45px;
  place-items: center;
  border: 0;
  color: var(--green);
  background: transparent;
  font-weight: 800;
}

.quantity-stepper span {
  border-inline: 1px solid var(--line);
  color: var(--ink);
}

.details-button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--green);
  background: white;
  transition: 0.2s ease;
}

.details-button:hover {
  border-color: var(--green);
  background: var(--green-soft);
}

.filters-card {
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 28px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.filter-top {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.search-box {
  position: relative;
}

.search-box i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: #9ca3af;
  transform: translateY(-50%);
}

.search-box input,
.filter-top select {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  color: var(--ink);
  background: white;
}

.search-box input {
  padding: 12px 15px 12px 43px;
}

.filter-top select {
  padding: 12px 14px;
  font-weight: 700;
}

.search-box input:focus,
.filter-top select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 92, 74, 0.1);
}

.category-pills {
  display: flex;
  gap: 9px;
  margin-top: 14px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.category-pill {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  color: #4b5563;
  background: white;
  font-size: 12px;
  font-weight: 800;
}

.category-pill.active,
.category-pill:hover {
  border-color: var(--green);
  color: white;
  background: var(--green);
}

.list-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 32px 0 22px;
}

.list-header h1,
.list-header h2 {
  margin: 0;
  font-size: clamp(31px, 5vw, 48px);
  letter-spacing: -0.045em;
}

.list-header p {
  margin: 7px 0 0;
  color: var(--muted);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.empty-state {
  border: 1px dashed #d6d3d1;
  border-radius: 30px;
  padding: 65px 24px;
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 30px;
}

.empty-state h2 {
  margin: 22px 0 0;
  font-size: 27px;
}

.empty-state p {
  max-width: 520px;
  margin: 10px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: start;
}

.detail-image-card {
  position: sticky;
  top: 105px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 15px;
  background: white;
  box-shadow: var(--shadow);
}

.detail-image-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 25px;
  object-fit: cover;
  background: #f4f4f3;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: #9ca3af;
  font-size: 12px;
  font-weight: 700;
}

.detail-category {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-title {
  margin: 11px 0 0;
  font-size: clamp(36px, 5.5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 19px;
}

.meta-pill {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 800;
}

.meta-pill.star {
  color: var(--orange-dark);
  background: #fffbeb;
}

.detail-price {
  display: flex;
  align-items: end;
  gap: 10px;
  margin-top: 24px;
}

.detail-price strong {
  color: var(--green);
  font-size: 42px;
}

.detail-description {
  margin-top: 24px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.8;
}

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

.feature-list li {
  display: flex;
  align-items: start;
  gap: 11px;
  color: #4b5563;
  line-height: 1.65;
}

.feature-check {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--green);
  background: var(--green-soft);
  font-size: 10px;
}

.purchase-card {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 20px;
  background: white;
  box-shadow: 0 18px 55px -38px rgba(10, 54, 34, 0.55);
}

.purchase-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 12px;
}

.purchase-row .quantity-stepper button,
.purchase-row .quantity-stepper span {
  width: 53px;
  height: 53px;
}

.purchase-row .primary-button,
.purchase-row .secondary-button {
  flex: 1 1 170px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: white;
  box-shadow: 0 13px 40px -34px rgba(10, 54, 34, 0.52);
}

.trust-card i {
  color: var(--orange);
  font-size: 21px;
}

.trust-card strong {
  display: block;
  margin-top: 12px;
}

.trust-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

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

.wishlist-summary {
  position: sticky;
  top: 105px;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 22px;
  background: white;
  box-shadow: var(--shadow);
}

.summary-number {
  margin: 12px 0 0;
  color: var(--green);
  font-size: 42px;
  font-weight: 800;
}

.summary-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.drawer-overlay,
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: none;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(4px);
}

.drawer-overlay.open,
.popup-overlay.open {
  display: block;
}

.wishlist-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 160;
  display: flex;
  width: min(430px, 100%);
  height: 100vh;
  flex-direction: column;
  background: var(--cream);
  box-shadow: -25px 0 65px -30px rgba(0, 0, 0, 0.6);
  transform: translateX(105%);
  transition: transform 0.28s ease;
}

.wishlist-drawer.open {
  transform: translateX(0);
}

.drawer-header,
.drawer-footer {
  flex: 0 0 auto;
  border-bottom: 1px solid var(--line);
  padding: 18px;
  background: white;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-header h2 {
  margin: 0;
  font-size: 21px;
}

.drawer-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 17px;
}

.drawer-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.drawer-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.drawer-product {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 13px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 11px;
  background: white;
}

.drawer-product img {
  width: 78px;
  height: 78px;
  border-radius: 13px;
  object-fit: cover;
  background: #f4f4f3;
}

.drawer-product h3 {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.drawer-product strong {
  display: block;
  margin-top: 5px;
  color: var(--green);
}

.drawer-product-actions {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}

.mini-button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  padding: 7px 9px;
  color: white;
  background: var(--green);
  font-size: 10px;
  font-weight: 800;
}

.mini-button.remove {
  color: var(--red);
  background: #fef2f2;
}

.popup-overlay {
  z-index: 230;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.open {
  display: flex;
}

.saved-popup {
  width: min(100%, 590px);
  border: 1px solid #fde68a;
  border-radius: 30px;
  padding: 25px;
  background: white;
  box-shadow: 0 35px 90px -25px rgba(0, 0, 0, 0.56);
}

.popup-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.popup-top h2 {
  margin: 8px 0 0;
  font-size: 26px;
}

.popup-top p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.popup-list {
  display: grid;
  gap: 10px;
  margin-top: 19px;
}

.popup-product {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 12px;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 9px;
  background: #fffbeb;
}

.popup-product img {
  width: 62px;
  height: 62px;
  border-radius: 11px;
  object-fit: cover;
  background: white;
}

.popup-product h3 {
  margin: 0;
  font-size: 12px;
}

.popup-product strong {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 13px;
}

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

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 300;
  max-width: calc(100% - 32px);
  border-radius: 14px;
  padding: 12px 18px;
  color: white;
  background: #111827;
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, 0.7);
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 80px);
  transition: 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.site-footer {
  margin-top: 65px;
  color: white;
  background: #071a14;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
  padding-block: 52px;
}

.footer-grid h3 {
  margin: 0 0 15px;
  font-size: 14px;
}

.footer-grid p,
.footer-grid a {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1.7;
}

.footer-grid a {
  display: block;
  margin-top: 9px;
}

.footer-grid a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 21px 0;
  color: #6b7280;
  text-align: center;
  font-size: 11px;
}

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

  .mobile-menu-button {
    display: inline-grid;
  }

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

  .hero-showcase {
    min-height: 330px;
  }

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

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

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

  .detail-image-card {
    position: relative;
    top: auto;
  }

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

  .wishlist-summary {
    position: relative;
    top: auto;
  }
}

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

  .nav-row {
    min-height: 70px;
  }

  .logo-text {
    display: none;
  }

  .hero-grid {
    min-height: auto;
    padding-block: 52px;
  }

  .hero-search {
    flex-direction: column;
    padding: 10px;
  }

  .hero-showcase {
    display: none;
  }

  .page-section {
    padding-block: 48px;
  }

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

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

  .product-content {
    padding: 14px;
  }

  .product-title {
    min-height: 44px;
    font-size: 14px;
  }

  .product-price {
    font-size: 20px;
  }

  .rating-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .quantity-stepper {
    width: 100%;
  }

  .quantity-stepper button,
  .quantity-stepper span {
    width: 33.33%;
  }

  .details-button {
    width: 100%;
  }

  .filter-top {
    grid-template-columns: 1fr;
  }

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

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

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

  .popup-actions,
  .drawer-footer-grid {
    grid-template-columns: 1fr;
  }
}

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

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

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

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

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