/* Mah e Maria â Saya-inspired fashion storefront */

:root {
  --mem-ink: #1a1a1a;
  --mem-muted: #757575;
  --mem-line: #e8e8e8;
  --mem-paper: #f5f5f5;
  --mem-white: #ffffff;
  --mem-wa: #25d366;
  --mem-header-h: 100px;
  --mem-font: "Manrope", system-ui, sans-serif;
  --mem-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --mem-ease: cubic-bezier(.22, 1, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--mem-ink);
  background: var(--mem-white);
  font-family: var(--mem-font);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.screen-reader-text,
.mem-skip {
  position: absolute;
  left: -9999px;
}
.mem-skip:focus {
  left: 1rem; top: 1rem; z-index: 9999;
  background: #fff; padding: .5rem 1rem;
}

.mem-container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Buttons */
.mem-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .75rem 1.5rem;
  border: 1px solid var(--mem-ink);
  background: var(--mem-ink);
  color: #fff;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .35s var(--mem-ease);
}
.mem-btn:hover { transform: translateY(-1px); }
.mem-btn--solid,
.mem-btn--primary { background: var(--mem-ink); color: #fff; border-color: var(--mem-ink); }
.mem-btn--solid:hover,
.mem-btn--primary:hover { background: #000; }
.mem-btn--ghost { background: transparent; color: var(--mem-ink); }
.mem-btn--ghost:hover { background: var(--mem-ink); color: #fff; }
.mem-btn--sm { min-height: 40px; padding: .55rem 1.1rem; font-size: 10px; }

.mem-link {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.mem-eyebrow {
  margin: 0 0 .65rem;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mem-muted);
  font-weight: 600;
}

.mem-section { padding: 4.25rem 0; }
.mem-section__head { margin-bottom: 2rem; }
.mem-section__head--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}
.mem-section__title {
  margin: 0;
  font-family: var(--mem-display);
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
}

/* Header â solid white, ONE row (menu btn is absolute so it never wraps) */
.mem-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--mem-header-h);
  background: #fff;
  color: var(--mem-ink);
  border-bottom: 1px solid var(--mem-line);
  transition: background .45s var(--mem-ease), border-color .45s var(--mem-ease), box-shadow .45s var(--mem-ease), color .35s ease, backdrop-filter .45s ease;
}
.mem-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(0,0,0,.04);
}

/* Home: transparent over hero, solid on scroll */
.mem-header--home {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  color: var(--mem-ink);
}
.mem-header--home:not(.is-scrolled) {
  background: transparent;
}
.mem-header--home:not(.is-scrolled) .mem-logo__img {
  filter: drop-shadow(0 1px 8px rgba(255,255,255,.55));
}
.mem-header--home:not(.is-scrolled) .mem-nav--desktop a,
.mem-header--home:not(.is-scrolled) .mem-icon-link {
  text-shadow: 0 1px 10px rgba(255,255,255,.65);
}
.mem-header--home.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--mem-line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}
.home .mem-main.mem-home {
  padding-top: 0;
}
.mem-header__inner {
  position: relative;
  height: 100%;
  width: min(1440px, calc(100% - 1.25rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: .75rem;
}
.mem-header__menu-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  border: 0; background: transparent; color: inherit;
  display: none;
  place-content: center; gap: 5px; cursor: pointer;
  padding: 0;
}
.mem-header__menu-btn span {
  display: block; width: 20px; height: 1.5px; background: currentColor;
}
.mem-header__nav {
  display: block;
  justify-self: start;
  grid-column: 1;
}
.mem-header__brand {
  justify-self: center;
  grid-column: 2;
  text-align: center;
  line-height: 0;
}
.mem-header__actions {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  justify-self: end;
  grid-column: 3;
}

/* Brand: enlarge logo image only â no extra text under it */
.mem-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  text-decoration: none;
  color: inherit;
}
.mem-logo__img {
  display: block;
  height: 88px;
  width: auto;
  max-width: min(320px, 60vw);
  object-fit: contain;
}
.mem-logo__img--drawer {
  height: 64px;
  max-width: 220px;
}
.mem-logo__text {
  display: inline-block;
  font-family: var(--mem-display);
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: .03em;
  font-weight: 500;
  white-space: nowrap;
  line-height: 1;
}

.mem-icon-link {
  position: relative;
  color: inherit;
  display: grid;
  place-items: center;
  opacity: .88;
  transition: opacity .2s;
}
.mem-icon-link:hover { opacity: 1; }
.mem-cart__count {
  position: absolute; top: -6px; right: -8px;
  min-width: 15px; height: 15px; padding: 0 3px;
  border-radius: 999px; background: var(--mem-ink); color: #fff;
  font-size: 9px; line-height: 15px; text-align: center; font-weight: 700;
}

/* Desktop strip â flat, no nested menus */
.mem-nav--desktop {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mem-nav--desktop a {
  position: relative;
  font-family: var(--mem-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
  line-height: 1;
  padding-bottom: .2rem;
  transition: opacity .25s ease;
}
.mem-nav--desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s var(--mem-ease);
}
.mem-nav--desktop a:hover { opacity: 1; }
.mem-nav--desktop a:hover::after { right: 0; }

.mem-nav--drawer {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mem-nav--drawer a {
  font-family: var(--mem-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .01em;
}
.mem-nav--drawer a:hover { opacity: .55; }

@media (max-width: 959px) {
  .mem-header__menu-btn { display: grid; }
  .mem-header__nav { display: none; }
  .mem-header__brand { padding-inline: 2.5rem; }
}
@media (max-width: 640px) {
  .mem-icon-link--hide-sm { display: none; }
  .mem-logo__img { height: 64px; max-width: 200px; }
  :root { --mem-header-h: 84px; }
}

/* Drawer */
.mem-drawer[hidden] { display: none; }
.mem-drawer { position: fixed; inset: 0; z-index: 200; }
.mem-drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.42); }
.mem-drawer__panel {
  position: absolute; inset: 0 auto 0 0; width: min(380px, 92vw);
  background: #fff; color: var(--mem-ink);
  padding: 1.4rem 1.6rem 1.85rem;
  display: flex; flex-direction: column; gap: 1.75rem;
  animation: memSlide .4s var(--mem-ease);
}
.mem-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.mem-drawer__close {
  border: 0; background: transparent;
  font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.mem-drawer__wa { margin-top: auto; width: 100%; }
@keyframes memSlide {
  from { transform: translateX(-18px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* Hero â image only, full bleed under transparent header */
.mem-hero {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--mem-header-h));
  height: calc(100vh - var(--mem-header-h));
  max-height: 920px;
  min-height: 480px;
  background: #111;
  overflow: hidden;
}
.home .mem-hero {
  height: 100svh;
  height: 100vh;
  max-height: none;
  min-height: 560px;
}
.mem-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 28%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,.28), transparent);
}
.mem-hero__track,
.mem-hero__slide {
  position: absolute;
  inset: 0;
}
.mem-hero__slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity .9s var(--mem-ease), visibility .9s var(--mem-ease);
}
.mem-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}
.mem-hero__slide.is-leaving {
  opacity: 0;
  visibility: visible;
  z-index: 2;
  pointer-events: none;
}
.mem-hero__slide[hidden] { display: none !important; }
.mem-hero__slide.is-active[hidden],
.mem-hero__slide.is-leaving[hidden] { display: block !important; }
.mem-hero__link {
  display: block;
  position: absolute;
  inset: 0;
}
.mem-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.04);
  transition: transform 6.5s linear;
}
.mem-hero__slide.is-active .mem-hero__img {
  transform: scale(1.12);
  animation: memKenBurns 7s linear forwards;
}
@keyframes memKenBurns {
  from { transform: scale(1.04); }
  to { transform: scale(1.12); }
}
.mem-hero__controls {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.mem-hero__dots { display: flex; gap: .4rem; align-items: center; }
.mem-hero__dot {
  width: 7px; height: 7px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.45);
  padding: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.mem-hero__dot.is-active {
  background: #fff;
  transform: scale(1.15);
}
.mem-hero__arrow {
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--mem-ink);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s, transform .25s var(--mem-ease);
}
.mem-hero__arrow:hover {
  background: #fff;
  transform: scale(1.05);
}

@media (max-width: 700px) {
  .mem-hero {
    height: 68vh;
    min-height: 420px;
    max-height: 640px;
  }
  .home .mem-hero {
    height: 100svh;
    height: 100vh;
    max-height: none;
    min-height: 520px;
  }
  .mem-hero__img { object-position: 68% 12%; }
}

/* Categories */
.mem-categories { background: var(--mem-white); }
.mem-categories__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
@media (min-width: 900px) {
  .mem-categories__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.mem-cat-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mem-paper);
  color: #fff;
}
.mem-cat-card__media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 15%;
  transition: transform .9s var(--mem-ease);
}
.mem-cat-card:hover .mem-cat-card__media { transform: scale(1.07); }
.mem-cat-card__body {
  position: absolute; inset: auto 0 0;
  padding: 1.5rem 1rem 1.15rem;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transform: translateY(6px);
  transition: transform .45s var(--mem-ease);
}
.mem-cat-card:hover .mem-cat-card__body { transform: none; }
.mem-cat-card__name {
  font-family: var(--mem-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 500;
}
.mem-cat-card__cta {
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: .85;
}

/* Home featured uses shared product card styles */
.mem-featured { background: var(--mem-paper); }
.woocommerce .star-rating { display: none; }

/* Story band */
.mem-story {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 560px;
}
@media (min-width: 900px) {
  .mem-story { grid-template-columns: 1.05fr .95fr; }
}
.mem-story__media {
  min-height: 380px;
  background-size: cover;
  background-position: center 18%;
}
.mem-story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #141414;
  color: rgba(255,255,255,.78);
}
@media (min-width: 900px) {
  .mem-story__copy { padding: 4.5rem 4.5rem; }
}
.mem-story__copy .mem-eyebrow { color: rgba(255,255,255,.5); }
.mem-story__copy .mem-section__title { color: #fff; max-width: 12ch; }
.mem-story__copy p { max-width: 38ch; margin: 1rem 0 0; }
.mem-story__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.mem-story .mem-btn--primary {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.mem-story .mem-btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.mem-story .mem-btn--ghost:hover { background: #fff; color: #111; }

/* Reviews */
.mem-reviews { background: var(--mem-white); }
.mem-reviews__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 800px) {
  .mem-reviews__grid { grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
}
.mem-review {
  margin: 0;
  padding: 1.75rem 1.5rem;
  border: 0;
  background: var(--mem-paper);
}
.mem-review__stars { color: var(--mem-ink); letter-spacing: .12em; margin-bottom: .65rem; font-size: .85rem; }
.mem-review__title {
  display: block;
  font-family: var(--mem-display);
  font-size: 1.4rem;
  margin-bottom: .4rem;
}
.mem-review footer { margin-top: 1rem; color: var(--mem-muted); font-size: .9rem; }

/* Pages */
.mem-page { padding: 2.75rem 0 4.5rem; }
.mem-page__head { margin-bottom: 1.75rem; max-width: 40rem; }
.mem-page-title {
  font-family: var(--mem-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 500;
  margin: 0;
  line-height: 1.05;
}
.mem-content {
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #333;
}
.mem-is-cart .mem-content,
.mem-is-checkout .mem-content,
.mem-is-account .mem-content {
  max-width: none;
  font-size: 15px;
  line-height: 1.55;
  color: var(--mem-ink);
}
.mem-content > *:first-child { margin-top: 0; }
.mem-content h2, .mem-content h3 {
  font-family: var(--mem-display);
  font-weight: 500;
  color: var(--mem-ink);
  line-height: 1.15;
}
.mem-content img { border-radius: 0; margin: 1.5rem 0; }
.mem-wa-cta { margin-top: 1.25rem; }

/* Breadcrumb */
.mem-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  margin: 0 0 1.5rem;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--mem-muted);
}
.mem-breadcrumb a:hover { color: var(--mem-ink); }
.mem-breadcrumb__sep { opacity: .45; margin-inline: .15rem; }

/* Shop archive */
.mem-shop { padding: 2rem 0 4rem; }
.mem-shop__head { margin-bottom: 1.75rem; }
.mem-shop__toolbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.5rem;
  font-size: .9rem; color: var(--mem-muted);
}
.mem-shop__toolbar .woocommerce-ordering select {
  min-height: 42px;
  border: 1px solid var(--mem-line);
  background: #fff;
  padding: 0 .75rem;
}

/* Product cards */
.mem-products,
ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1rem;
  list-style: none;
  margin: 0 0 2rem !important;
  padding: 0 !important;
  width: 100% !important;
}
@media (min-width: 900px) {
  .mem-products,
  ul.products { grid-template-columns: repeat(4, 1fr); gap: 2.25rem 1.25rem; }
}
.mem-product-card,
ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 !important;
  text-align: left;
  background: transparent;
  transition: transform .4s var(--mem-ease);
}
.mem-product-card:hover,
ul.products li.product:hover {
  transform: translateY(-4px);
}
.mem-product-card__media {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mem-paper);
  margin-bottom: .85rem;
}
.mem-product-card__media img,
ul.products li.product a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
}
.mem-product-card__body { display: grid; gap: .45rem; }
.mem-product-card__title,
ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--mem-display);
  font-size: 1.2rem !important;
  font-weight: 500;
  margin: 0 !important;
  line-height: 1.2;
}
.mem-product-card__price,
ul.products li.product .price {
  color: var(--mem-muted);
  font-size: .95rem;
  margin: 0;
}
.mem-sale-badge {
  position: absolute; top: .65rem; left: .65rem;
  background: #fff; color: var(--mem-ink);
  font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; padding: .35rem .55rem; z-index: 2;
}

/* Single product */
.mem-single {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 900px) {
  .mem-single {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas:
      "gallery summary"
      "tabs tabs";
    gap: 2.5rem 3rem;
    align-items: start;
  }
  .mem-single__gallery { grid-area: gallery; }
  .mem-single__summary { grid-area: summary; padding-top: .25rem; }
  .mem-single__tabs { grid-area: tabs; }
}
.mem-single__gallery .woocommerce-product-gallery { margin: 0; }
.mem-single__gallery .woocommerce-product-gallery__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--mem-paper);
}
.mem-single__summary .product_title {
  font-family: var(--mem-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 .75rem;
}
.mem-single__summary .price {
  font-size: 1.15rem;
  color: var(--mem-ink);
  margin: 0 0 1.25rem;
}
.mem-single__summary .woocommerce-product-details__short-description {
  color: #444;
  margin-bottom: 1.25rem;
}
.mem-single__summary form.cart {
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem;
  margin: 1rem 0 1.25rem;
}
.mem-single__summary .quantity .qty {
  width: 72px; min-height: 46px;
  border: 1px solid var(--mem-line);
  text-align: center;
}
.mem-single__summary .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .75rem 1.4rem;
  border: 1px solid var(--mem-ink) !important;
  border-radius: 0 !important;
  background: var(--mem-ink) !important;
  color: #fff !important;
  font-size: 11px !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
}
.mem-single__summary .single_add_to_cart_button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
  background: #000 !important;
}
.woocommerce-tabs {
  margin-top: 1rem;
  border-top: 1px solid var(--mem-line);
  padding-top: 1.5rem;
}
.woocommerce-tabs ul.tabs {
  display: flex; flex-wrap: wrap; gap: 1rem;
  list-style: none; margin: 0 0 1.25rem; padding: 0;
  border: 0 !important;
}
.woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  opacity: .55; padding-bottom: .35rem; border-bottom: 1px solid transparent;
}
.woocommerce-tabs ul.tabs li.active a {
  opacity: 1; border-bottom-color: var(--mem-ink);
}
.related.products > h2,
.upsells.products > h2 {
  font-family: var(--mem-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 2.5rem 0 1.25rem;
}

/* Cart */
.mem-is-cart .mem-page__head,
.mem-is-checkout .mem-page__head { max-width: none; }

.mem-cart-form,
.woocommerce-cart-form { margin-bottom: 2.5rem; }

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  table-layout: auto;
}
.woocommerce-cart table.shop_table {
  table-layout: fixed;
}
.woocommerce-cart table.shop_table .product-remove { width: 36px; }
.woocommerce-cart table.shop_table .product-thumbnail { width: 88px; }
.woocommerce-cart table.shop_table .product-name { width: auto; }
.woocommerce-cart table.shop_table .product-price,
.woocommerce-cart table.shop_table .product-quantity,
.woocommerce-cart table.shop_table .product-subtotal {
  width: 120px;
  text-align: right;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border: 0;
  border-bottom: 1px solid var(--mem-line);
  padding: 1.15rem .65rem;
  vertical-align: middle;
  background: transparent !important;
}
.woocommerce table.shop_table th {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--mem-muted);
  text-align: left;
}
.woocommerce-cart table.shop_table th.product-price,
.woocommerce-cart table.shop_table th.product-quantity,
.woocommerce-cart table.shop_table th.product-subtotal {
  text-align: right;
}
.woocommerce table.shop_table .product-name a {
  font-family: var(--mem-display);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
}
.woocommerce table.shop_table img {
  width: 72px;
  height: 96px;
  object-fit: cover;
}
.woocommerce table.shop_table .product-remove a {
  font-size: 1.35rem;
  line-height: 1;
  color: var(--mem-muted);
}
.woocommerce table.shop_table .quantity .qty {
  width: 64px;
  min-height: 42px;
  text-align: center;
  border: 1px solid var(--mem-line);
  background: #fff;
  margin-inline-start: auto;
  display: block;
}

.woocommerce-cart table.shop_table td.actions {
  padding-top: 1.5rem;
  border-bottom: 0;
}
.woocommerce-cart .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
  margin-bottom: .85rem;
}
.woocommerce-cart .coupon .input-text {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 320px;
  min-height: 46px;
  border: 1px solid var(--mem-line);
  padding: 0 .9rem;
}
.woocommerce-cart td.actions .button,
.woocommerce-cart td.actions .mem-btn {
  min-height: 46px;
  margin: 0;
}

.woocommerce-cart .cart-collaterals,
.mem-cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: .5rem;
}
.cart_totals {
  width: min(420px, 100%);
  background: var(--mem-paper);
  padding: 1.75rem;
}
.cart_totals h2 {
  font-family: var(--mem-display);
  font-weight: 500;
  font-size: 1.7rem;
  margin: 0 0 1.1rem;
}
.cart_totals table {
  width: 100%;
  margin: 0;
}
.cart_totals th,
.cart_totals td {
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid #e1e1e1;
  background: transparent !important;
}
.cart_totals th {
  text-align: left;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mem-muted);
  font-weight: 600;
}
.cart_totals td { text-align: right; }
.cart_totals .order-total th,
.cart_totals .order-total td {
  border-bottom: 0;
  padding-top: 1rem;
  font-size: 1.05rem;
}
.cart_totals .checkout-button,
.cart_totals .wc-proceed-to-checkout .button {
  display: flex;
  width: 100%;
  margin-top: 1.15rem;
  justify-content: center;
}

@media (max-width: 767px) {
  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table tbody,
  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td {
    display: block;
    width: 100% !important;
  }
  .woocommerce-cart table.shop_table thead { display: none; }
  .woocommerce-cart table.shop_table tr.cart_item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--mem-line);
  }
  .woocommerce-cart table.shop_table td {
    border: 0 !important;
    padding: .35rem 0;
    text-align: left !important;
  }
  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 96px;
    height: 128px;
  }
  .woocommerce-cart table.shop_table .quantity .qty {
    margin-inline-start: 0;
  }
  .woocommerce-cart .cart-collaterals { justify-content: stretch; }
  .cart_totals { width: 100%; }
}

/* Checkout */
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-info {
  background: var(--mem-paper);
  border: 0;
  border-radius: 0;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}
form.checkout.woocommerce-checkout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 960px) {
  form.checkout.woocommerce-checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    column-gap: 3rem;
    row-gap: 0;
    align-items: start;
  }
  form.checkout.woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: 1;
  }
  form.checkout.woocommerce-checkout #order_review_heading {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin: 0;
  }
  form.checkout.woocommerce-checkout #order_review {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    width: 100%;
    margin-top: 2.75rem;
    position: sticky;
    top: calc(var(--mem-header-h) + 1.25rem);
  }
}
.woocommerce-checkout .col2-set {
  display: grid;
  gap: 1.75rem;
}
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100% !important;
  max-width: none;
}
.woocommerce-checkout h3 {
  font-family: var(--mem-display);
  font-weight: 500;
  font-size: 1.55rem;
  margin: 0 0 1rem;
}
.woocommerce form .form-row {
  margin-bottom: 1rem;
  padding: 0;
  width: 100%;
}
.woocommerce form .form-row-first,
.woocommerce form .form-row-last {
  width: 100%;
}
@media (min-width: 700px) {
  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last {
    width: 48%;
  }
  .woocommerce form .form-row-first { float: left; clear: both; }
  .woocommerce form .form-row-last { float: right; }
  .woocommerce form .form-row-wide { clear: both; }
}
.woocommerce form .form-row label {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: .4rem;
}
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-input-wrapper .select2-selection {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--mem-line) !important;
  border-radius: 0 !important;
  background: #fff;
  padding: .65rem .85rem;
  box-shadow: none !important;
}
.woocommerce form textarea { min-height: 110px; }
#order_review_heading {
  font-family: var(--mem-display);
  font-weight: 500;
  font-size: 1.7rem;
}
#order_review,
.woocommerce-checkout-review-order {
  background: var(--mem-paper);
  padding: 1.75rem;
}
.woocommerce-checkout-review-order-table {
  width: 100%;
  margin-bottom: 1.25rem;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: .75rem 0;
  border: 0;
  border-bottom: 1px solid #e1e1e1;
  background: transparent !important;
}
.woocommerce-checkout-payment {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.woocommerce-checkout-payment .payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}
.woocommerce-checkout-payment .payment_methods li {
  margin: 0 0 .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--mem-line);
  background: #fff;
}
.woocommerce-checkout-payment #place_order,
.woocommerce-checkout-payment button[type="submit"] {
  width: 100%;
  margin-top: .5rem;
}
.woocommerce-privacy-policy-text { font-size: .9rem; color: var(--mem-muted); }

/* Account */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid; gap: .35rem;
  margin: 0 0 1.5rem; padding: 0; list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: .7rem 0;
  border-bottom: 1px solid var(--mem-line);
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
}
@media (min-width: 900px) {
  .woocommerce-account .woocommerce {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
  }
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--mem-paper) !important;
  color: var(--mem-ink) !important;
  padding: 1rem 1.15rem !important;
  margin-bottom: 1.25rem !important;
}
.woocommerce-error { background: #f7ecec !important; }
.woocommerce-pagination { margin-top: 2rem; text-align: center; }
.woocommerce-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; margin: 0 .15rem;
  border: 1px solid var(--mem-line);
  font-size: 13px;
}
.woocommerce-pagination .page-numbers.current {
  background: var(--mem-ink); color: #fff; border-color: var(--mem-ink);
}

/* Footer */
.mem-footer {
  background: #111;
  color: rgba(255,255,255,.7);
  padding-top: 4rem;
}
.mem-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 3rem;
}
@media (min-width: 900px) {
  .mem-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
}
.mem-footer__logo {
  margin: 0 0 .55rem;
  font-family: var(--mem-display);
  font-size: 2rem;
  color: #fff;
  font-weight: 500;
}
.mem-footer__tag { margin: 0 0 1.1rem; max-width: 28ch; }
.mem-footer__heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
}
.mem-footer__links { display: grid; gap: .55rem; }
.mem-footer__links a:hover { color: #fff; }
.mem-footer__note { margin: 0 0 1rem; }
.mem-newsletter { display: grid; gap: .65rem; }
.mem-newsletter input {
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: #fff;
  padding: 0 .9rem;
}
.mem-newsletter input::placeholder { color: rgba(255,255,255,.4); }
.mem-footer .mem-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.mem-footer .mem-btn--primary,
.mem-footer .mem-btn--solid {
  background: #fff;
  color: #111;
  border-color: #fff;
}
.mem-footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: .85rem;
}

/* WhatsApp FAB */
.mem-whatsapp-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 90;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--mem-wa);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
  transition: transform .3s var(--mem-ease);
}
.mem-whatsapp-fab:hover { transform: translateY(-2px) scale(1.03); }

/* Motion */
.mem-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--mem-ease), transform .85s var(--mem-ease);
  transition-delay: var(--mem-delay, 0ms);
}
.mem-reveal.is-in {
  opacity: 1;
  transform: none;
}
.mem-section__head.mem-reveal {
  transform: translateY(14px);
}
.mem-products li.product.mem-reveal:nth-child(1) { --mem-delay: 0ms; }
.mem-products li.product.mem-reveal:nth-child(2) { --mem-delay: 70ms; }
.mem-products li.product.mem-reveal:nth-child(3) { --mem-delay: 140ms; }
.mem-products li.product.mem-reveal:nth-child(4) { --mem-delay: 210ms; }
.mem-cat-card.mem-reveal:nth-child(1) { --mem-delay: 0ms; }
.mem-cat-card.mem-reveal:nth-child(2) { --mem-delay: 80ms; }
.mem-cat-card.mem-reveal:nth-child(3) { --mem-delay: 160ms; }
.mem-cat-card.mem-reveal:nth-child(4) { --mem-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .mem-reveal,
  .mem-reveal.is-in,
  .mem-hero__slide,
  .mem-hero__img,
  .mem-header,
  .mem-nav--desktop a::after,
  .mem-product-card,
  ul.products li.product {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Admin bar */
.admin-bar .mem-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .mem-header { top: 46px; }
}

/* Clean About / Contact (non-Elementor) */
.mem-about h2,
.mem-contact h2 {
  font-family: var(--mem-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 1rem;
}
.mem-about p,
.mem-contact p {
  max-width: 42rem;
  margin: 0 0 1rem;
  color: #444;
}
.mem-about .mem-btn,
.mem-contact .mem-btn { margin-top: .5rem; }

/* Shop wrapper */
.mem-shop,
.woocommerce-shop .mem-main > .mem-container,
.tax-product_cat .mem-main > .mem-container,
.single-product .mem-main > .mem-container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
  padding-block: 2rem 4rem;
}
.single-product .mem-main > .mem-container { padding-top: 1.5rem; }

/* Keep WC gallery usable on fabric flat-lays */
.mem-single__gallery .woocommerce-product-gallery__image img {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: var(--mem-paper);
}
@media (min-width: 900px) {
  .mem-single__gallery .woocommerce-product-gallery__image img {
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
}
