/* =====================================================================
   BUYFLEX · STORE (store.css)
   Header + footer are IDENTICAL to index.html.
   Product grid is a brand-new premium/minimal design.
   ===================================================================== */

/* ============ TOKENS ============ */
:root {
  --bg: #f6f6f1;
  --paper: #fbfbf8;
  --ink: #121313;
  --muted: #777b78;
  --line: rgba(18, 19, 19, .10);
  --soft-line: rgba(18, 19, 19, .06);
  --green: #13a86a;
  --green-deep: #0e7e51;
  --coral: #ef513c;
  --coral-soft: #ffede8;
  --blue: #65b4cf;
  --dark: #161817;
  --gold: #c9a24b;
  --gold-soft: #f7efdc;

  --shadow: 0 8px 20px rgba(17, 24, 20, .06), 0 30px 70px rgba(17, 24, 20, .13);
  --shadow-card: 0 1px 2px rgba(15, 20, 17, .04), 0 14px 30px rgba(15, 20, 17, .07);
  --shadow-card-hover: 0 10px 20px rgba(15, 20, 17, .09), 0 34px 64px rgba(15, 20, 17, .16);
  --shadow-btn: 0 14px 28px rgba(15, 20, 17, .20);
  --shadow-btn-strong: 0 18px 40px rgba(15, 20, 17, .28);

  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max: 1240px;
}

/* ============ RESET / BASE ============ */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(19, 168, 106, .05), transparent 28%),
    radial-gradient(circle at 85% 30%, rgba(239, 81, 60, .045), transparent 30%),
    var(--bg);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden
}

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

button,
input {
  font: inherit
}

button,
a {
  color: inherit
}

a {
  text-decoration: none
}

button {
  border: 0;
  background: none;
  cursor: pointer
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px
}

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

.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 12px;
}

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

/* =====================================================================
   HEADER (matches index.html exactly)
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 0 max(21px, calc((100vw - var(--max)) / 2));
  background: rgba(246, 246, 241, .86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .03);
}

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

.brand img {
  width: 112px;
  height: auto
}

.brand-domain {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  border-left: 1px solid var(--line);
  padding-left: 10px;
}

.desktop-nav {
  display: flex;
  gap: 27px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0
}

.desktop-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 1px;
  height: 1.5px;
  background: var(--green);
  transition: .25s;
}

.desktop-nav a:hover:after {
  right: 0
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 5px;
}

.icon-btn {
  width: 39px;
  height: 39px;
  border: 1px solid transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: .2s;
}

.icon-btn:hover {
  border-color: var(--line);
  background: #fff
}

.icon-btn svg,
.search-box svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-btn {
  position: relative
}

.bag-count {
  position: absolute;
  top: 0;
  right: 1px;
  min-width: 15px;
  height: 15px;
  border-radius: 99px;
  padding: 0 4px;
  background: var(--coral);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: .2s;
}

.bag-count.show {
  transform: scale(1)
}

.menu-btn {
  display: none;
  width: 39px;
  height: 39px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.menu-btn span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  margin: 3px auto;
}

/* Language toggle */
.language-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
  line-height: 1;
}

.language-btn [data-lang] {
  opacity: .45;
  transition: .2s
}

.language-btn [data-lang].active {
  opacity: 1;
  color: var(--green)
}

.language-btn .lang-divider {
  opacity: .3;
  color: var(--muted)
}

.language-btn:hover {
  background: #fff;
  transform: translateY(-1px)
}

/* =====================================================================
   FOOTER (matches index.html)
   ===================================================================== */
.site-footer {
  background: #111514;
  color: #fff;
  padding-top: 62px;
  margin-top: 90px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand {
  max-width: 300px
}

.footer-brand img {
  width: 150px;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.footer-brand p {
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
  line-height: 1.6;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 150px);
  gap: 28px;
}

.footer-cols div {
  display: grid;
  align-content: start;
  gap: 11px
}

.footer-cols h4 {
  font-size: 10px;
  letter-spacing: .15em;
  color: rgba(255, 255, 255, .42);
  text-transform: uppercase;
  margin: 0 0 4px;
}

.footer-cols a {
  font-size: 11px;
  color: rgba(255, 255, 255, .78)
}

.footer-cols a:hover {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 48px;
  padding: 17px 0 21px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .40);
  font-size: 9px;
  letter-spacing: .06em;
}

/* =====================================================================
   STORE — HEAD
   ===================================================================== */
.store {
  padding-top: 46px;
  padding-bottom: 30px;
}

.store-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-block: 10px 34px;
  border-bottom: 1px solid var(--line);
}

.store-title {
  font-family: "Manrope", sans-serif;
  font-size: clamp(44px, 6vw, 82px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 800;
  margin: 0;
}

.store-note {
  margin: 0;
  max-width: 360px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  text-align: right;
}

/* =====================================================================
   FILTERS
   ===================================================================== */
.filters {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 28px 2px 26px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none
}

.pill {
  flex: none;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #555a57;
  background: transparent;
  border: 1px solid var(--line);
  transition: .22s ease;
  white-space: nowrap;
}

.pill:hover {
  background: rgba(18, 19, 19, .04);
  color: var(--ink)
}

.pill.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: var(--shadow-btn);
}

/* =====================================================================
   GRID + PREMIUM PRODUCT CARDS
   ===================================================================== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 30px;
}

.p-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;

  transition:
    transform .45s cubic-bezier(.2, .8, .2, 1),
    box-shadow .45s cubic-bezier(.2, .8, .2, 1);

  will-change: transform;

  background-color: rgba(245, 245, 243, 0.72);
  border-radius: 24px;
}

.p-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.p-media {
  position: relative;
  aspect-ratio: 1 / 1.08;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #f1f1ec 0%, #fafaf7 55%, #eef0ea 100%);
  border: 1px solid var(--soft-line);
  box-shadow: 0 1px 2px rgba(15, 20, 17, .04), 0 10px 22px rgba(15, 20, 17, .05);
  transition: box-shadow .45s ease, border-color .45s ease;
}

.p-card:hover .p-media {
  box-shadow:
    0 8px 18px rgba(15, 20, 17, .08),
    0 26px 50px rgba(15, 20, 17, .14);
  border-color: transparent;
}

.p-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform .9s cubic-bezier(.2, .8, .2, 1),
    filter .45s ease;
  will-change: transform;
}

.p-card:hover .p-media img {
  transform: scale(1.06);
  filter: brightness(1.02) saturate(1.04);
}

/* soft top highlight */
.p-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .22),
      transparent 40%,
      transparent 70%,
      rgba(15, 20, 17, .06));
  opacity: .85;
  transition: opacity .45s ease;
}

.p-card:hover .p-media::after {
  opacity: 1
}

.p-emoji {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 68px;
  filter: grayscale(.15);
}

/* Badge */
.p-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 6px 14px rgba(15, 20, 17, .10);
  backdrop-filter: blur(6px);
  transform: translateY(-4px);
  opacity: 0;
  transition: .35s ease .05s;
}

.p-card:hover .p-badge {
  opacity: 1;
  transform: none
}

.p-badge-trend {
  background: var(--green);
  color: #fff;
  opacity: 1;
  transform: none;
}

/* Wishlist */
.p-wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 20, 17, .10);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.p-wish svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #2b2f2d;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill .25s ease, stroke .25s ease, transform .25s ease;
}

.p-wish:hover {
  transform: scale(1.08);
  background: #fff;
  box-shadow: 0 10px 26px rgba(15, 20, 17, .16);
}

.p-wish.is-on {
  background: #fff;
}

.p-wish.is-on svg {
  fill: var(--coral);
  stroke: var(--coral);
  animation: wishPop .4s cubic-bezier(.2, 1.6, .4, 1);
}

@keyframes wishPop {
  0% {
    transform: scale(.7)
  }

  60% {
    transform: scale(1.22)
  }

  100% {
    transform: scale(1)
  }
}

/* Quick view pill (hover) */
.p-quick {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  min-height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transform: translateY(10px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease, background .25s ease;
  box-shadow: 0 12px 26px rgba(15, 20, 17, .12);
}

.p-card:hover .p-quick {
  opacity: 1;
  transform: none
}

.p-quick:hover {
  background: #fff
}

/* Card body */
.p-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 4px 0;
}

.p-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.p-name {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--ink);
  transition: color .25s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.p-card:hover .p-name {
  color: #000
}

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

.p-price {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.p-add {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(15, 20, 17, .18);
  transition: transform .25s cubic-bezier(.2, 1.6, .4, 1), box-shadow .25s ease, background .25s ease;
}

.p-add svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.p-add:hover {
  background: var(--green);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 28px rgba(19, 168, 106, .32);
}

.p-add:active {
  transform: scale(.94)
}

/* Card focus */
.p-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 6px;
  border-radius: 24px;
}

/* Empty / error states */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 80px 0;
  font-size: 14px;
}

.store-error {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.store-error h3 {
  font-family: "Manrope";
  margin: 0 0 8px;
  font-size: 22px;
}

.store-error p {
  margin: 0 0 20px;
  color: var(--muted)
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 49px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.btn span {
  font-size: 17px;
  line-height: 1
}

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

.btn-dark {
  background: linear-gradient(155deg, #1d201e, var(--dark));
  color: #fff;
  box-shadow: var(--shadow-btn);
}

.btn-dark:hover {
  box-shadow: var(--shadow-btn-strong)
}

.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
}

/* =====================================================================
   OVERLAYS (search + account)
   ===================================================================== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(16, 19, 18, .58);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: start center;
  padding: 100px 18px 18px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.overlay.open {
  opacity: 1;
  pointer-events: auto
}

.overlay-inner {
  width: min(100%, 820px);
  background: var(--paper);
  border-radius: 32px;
  padding: 34px;
  position: relative;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .23);
}

.overlay h2 {
  font-family: "Manrope";
  font-size: 50px;
  line-height: .94;
  letter-spacing: -.06em;
  margin: 0 0 22px;
}

.overlay .close-btn {
  position: absolute;
  right: 19px;
  top: 19px;
}

.close-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 23px;
  transition: .2s;
}

.close-btn:hover {
  background: #fff
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 18px;
  min-height: 60px;
}

.search-box input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
}

.search-results {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-height: 380px;
  overflow: auto;
}

.search-result {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: .2s;
  width: 100%;
  text-align: left;
}

.search-result:hover {
  transform: translateY(-1px);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(15, 20, 17, .08);
}

.sr-thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f1ec;
  display: grid;
  place-items: center;
  flex: none;
}

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

.sr-info {
  flex: 1;
  min-width: 0
}

.sr-info strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sr-info small {
  color: var(--muted);
  font-size: 11px
}

.sr-plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 300;
  flex: none;
}

.search-result-empty {
  justify-content: flex-start
}

.search-result-empty:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--line)
}

.panel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f5ec;
  font-size: 25px;
  margin-bottom: 17px;
}

.account-actions {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}

/* =====================================================================
   MOBILE DRAWER
   ===================================================================== */
.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(88vw, 390px);
  z-index: 150;
  background: var(--paper);
  padding: 22px;
  box-shadow: -20px 0 70px rgba(0, 0, 0, .13);
  transform: translateX(102%);
  transition: .28s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  transform: none
}

.mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-head img {
  width: 118px
}

.mobile-drawer nav {
  display: grid;
  margin-top: 65px
}

.mobile-drawer nav a {
  font-family: "Manrope";
  font-size: 34px;
  letter-spacing: -.05em;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
}

.mobile-drawer nav a span {
  font-size: 18px;
  color: var(--coral)
}

.mobile-note {
  margin-top: auto;
  padding: 18px;
  background: #eff4ef;
  border-radius: 20px;
  color: var(--muted);
  font-size: 11px;
}

/* =====================================================================
   CART DRAWER
   ===================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 465px);
  z-index: 180;
  background: var(--paper);
  transform: translateX(102%);
  transition: .28s cubic-bezier(.2, .8, .2, 1);
  box-shadow: -20px 0 70px rgba(0, 0, 0, .15);
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.cart-drawer.open {
  transform: none
}

.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.cart-head h2 {
  font-family: "Manrope";
  margin: 0;
  font-size: 30px;
  letter-spacing: -.05em;
}

.cart-items {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  overflow: auto;
  padding-right: 4px;
}

.cart-item {
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  align-items: center;
  transition: .2s;
}

.cart-item:hover {
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(15, 20, 17, .06)
}

.cart-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 13px;
  background: #f1f1ec;
}

.cart-item-info h4 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
}

.cart-item-info small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}

.cart-item-remove {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 17px;
  color: var(--muted);
  transition: .2s;
}

.cart-item-remove:hover {
  background: var(--coral-soft);
  color: var(--coral);
}

.cart-empty {
  flex: 1;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  min-height: 220px;
  gap: 6px;
}

.empty-orb {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e8f4ec;
  font-size: 28px;
  margin: 0 auto 15px;
}

.cart-empty h3 {
  font-family: "Manrope";
  font-size: 24px;
  margin: 0 0 6px;
}

.cart-empty p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.cart-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.cart-foot>div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.cart-foot span {
  font-size: 11px;
  color: var(--muted)
}

.cart-foot strong {
  font-family: "Manrope";
  font-size: 22px
}

.checkout-btn {
  width: 100%
}

.cart-foot small {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 8px;
  margin-top: 10px;
}

/* =====================================================================
   QUICK VIEW MODAL
   ===================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 19, 18, .58);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.modal.open {
  opacity: 1;
  pointer-events: auto
}

.qv {
  position: relative;
  width: min(100%, 860px);
  background: #fff;
  border-radius: 32px;
  padding: 14px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .30);
  transform: translateY(16px) scale(.98);
  transition: .3s cubic-bezier(.2, .8, .2, 1);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
}

.modal.open .qv {
  transform: none
}

.qv-media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, #f1f1ec, #fafaf7 55%, #eef0ea);
  aspect-ratio: 1 / 1;
}

.qv-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.qv-media .p-emoji {
  font-size: 120px
}

.qv-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.qv-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 20, 17, .12);
  transition: transform .2s;
}

.qv-heart svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #2b2f2d;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qv-heart:hover {
  transform: scale(1.06)
}

.qv-heart.is-on svg {
  fill: var(--coral);
  stroke: var(--coral)
}

.qv-body {
  display: flex;
  flex-direction: column;
  padding: 10px 10px 10px 0;
}

.qv-body .p-cat {
  margin-bottom: 10px
}

.qv-body h2 {
  font-family: "Manrope";
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -.04em;
  margin: 0 0 12px;
}

.qv-body p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.qv-meta {
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 22px;
}

.qv-meta b {
  color: var(--ink);
  font-weight: 700
}

.qv-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--soft-line);
}

.qv-foot>strong {
  font-family: "Manrope";
  font-size: 24px;
  letter-spacing: -.02em;
}

.qv-add {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  min-height: 48px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: var(--shadow-btn);
  transition: transform .2s, box-shadow .2s, background .2s;
}

.qv-add svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.qv-add:hover {
  transform: translateY(-2px);
  background: var(--green);
  box-shadow: 0 18px 40px rgba(19, 168, 106, .30);
}

.qv .x {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .20);
  font-size: 22px;
  z-index: 3;
}

.qv .x:hover {
  background: var(--coral);
  color: #fff
}

/* =====================================================================
   TOAST
   ===================================================================== */
.toast {
  position: fixed;
  z-index: 400;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--dark);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
  max-width: min(90vw, 420px);
  text-align: center;
}

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

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1150px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px
  }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 1fr auto
  }

  .desktop-nav {
    display: none
  }

  .menu-btn {
    display: block
  }
}

@media (max-width: 900px) {
  .store-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px
  }

  .store-note {
    text-align: left
  }

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

  .qv {
    grid-template-columns: 1fr;
    padding: 12px;
    max-width: 460px
  }

  .qv-media {
    aspect-ratio: 1 / .95
  }

  .qv-body {
    padding: 8px 8px 8px
  }

  .footer-top {
    display: grid;
    gap: 38px
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 10px
  }
}

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

  .site-header {
    min-height: 70px;
    padding-inline: 14px;
    gap: 12px;
  }

  .brand-domain {
    display: none
  }

  .brand img {
    width: 97px
  }

  .header-actions .icon-btn:nth-child(2) {
    display: none
  }

  .language-btn {
    padding: 6px 10px;
    font-size: 10px
  }

  .store {
    padding-top: 30px
  }

  .store-title {
    font-size: 52px
  }

  .filters {
    padding: 5px 2px 5px
  }

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

  .p-media {
    border-radius: 20px;
    aspect-ratio: 1 / 1.05
  }

  .p-wish {
    width: 34px;
    height: 34px;
    top: 10px;
    right: 10px
  }

  .p-wish svg {
    width: 15px;
    height: 15px
  }

  .p-quick {
    display: none
  }

  .p-name {
    font-size: 14px
  }

  .p-cat {
    font-size: 9px;
    letter-spacing: .14em
  }

  .p-price {
    font-size: 14px
  }

  .p-add {
    width: 36px;
    height: 36px
  }

  .p-add svg {
    width: 16px;
    height: 16px
  }

  .overlay {
    padding-top: 76px
  }

  .overlay-inner {
    padding: 26px 20px;
    border-radius: 25px
  }

  .overlay h2 {
    font-size: 38px
  }

  .account-actions {
    display: grid
  }

  .cart-drawer {
    padding: 22px
  }

  .qv {
    border-radius: 26px
  }

  .qv-body h2 {
    font-size: 24px
  }

  .qv-add {
    padding: 0 18px;
    min-height: 44px;
    font-size: 11px
  }

  .footer-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
  }

  .footer-brand img {
    width: 130px
  }
}

@media (max-width: 460px) {
  .grid {
    gap: 12px
  }

  .p-name {
    font-size: 13px
  }

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

  .footer-cols div:last-child {
    grid-column: 1 / -1
  }

  .qv-media {
    aspect-ratio: 1 / 1
  }

  .qv-foot {
    flex-direction: column;
    align-items: flex-start
  }

  .qv-add {
    width: 100%;
    justify-content: center
  }
}

@media (hover: none) {
  .p-quick {
    opacity: 1;
    transform: none;
    position: static;
    width: 100%;
    margin-top: 8px
  }

  .p-badge {
    opacity: 1;
    transform: none
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}