/* ==========================================================
   Madam Beauty™ — Luxury RTL WooCommerce Theme
   Arabic-first, RTL, SPF sunscreen brand — Muscat, Oman
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

/* Force light color scheme — prevents browser dark-mode overrides */
:root { color-scheme: light; }

:root {
  --dark: #2b1d17;
  --dark-2: #1f1511;
  --brown: #7b4a35;
  --brown-2: #9b6a50;
  --gold: #c89b64;
  --gold-2: #e0bd86;
  --cream: #fff7ef;
  --soft: #f8eee5;
  --pink: #f7ddd4;
  --white: #ffffff;
  --text: #2f2926;
  --muted: #766860;
  --line: rgba(123, 74, 53, 0.12);
  --radius: 28px;
  --radius-lg: 44px;
  --shadow: 0 18px 45px rgba(43, 29, 23, 0.12);
  --shadow-lg: 0 28px 75px rgba(43, 29, 23, 0.18);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  text-align: right;
  background: var(--white);
  color: var(--text);
  font-family: "Tajawal", "Tahoma", Arial, sans-serif;
  overflow-x: hidden;
}

html,
body {
  max-width: 100%;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

table {
  max-width: 100%;
}

.entry-content,
.woo-inner-page,
.woocommerce {
  overflow-wrap: anywhere;
}

.entry-content img,
.entry-content iframe,
.entry-content video,
.entry-content embed,
.entry-content object {
  max-width: 100%;
}

.entry-content iframe,
.entry-content video {
  height: auto;
}

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

.narrow {
  max-width: 860px;
  text-align: center;
}

/* Top strip */

.top-strip {
  background: var(--dark-2);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.top-strip__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.top-strip__links {
  display: flex;
  gap: 18px;
}

.top-strip a {
  color: rgba(255, 255, 255, 0.9);
  transition: color .2s ease;
}

.top-strip a:hover {
  color: var(--gold);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(43, 29, 23, 0.07);
  transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 15px 45px rgba(43, 29, 23, 0.12);
}

.header-row {
  min-height: 88px;
  max-height: 100px;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-height: 88px;
  overflow: hidden;
  min-width: 0;
}

.brand__logo {
  display: block;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 32%),
    linear-gradient(135deg, var(--gold), var(--brown));
  color: var(--dark);
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 14px 30px rgba(200, 155, 100, 0.35);
}

.brand__text {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.brand__text strong {
  color: var(--dark);
  font-size: 24px;
  letter-spacing: .5px;
  overflow-wrap: anywhere;
}

.brand__text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.main-nav a {
  color: var(--dark);
  font-weight: 800;
  font-size: 15px;
  transition: color .2s ease;
}

.main-nav a:hover {
  color: var(--brown);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.link-action {
  color: var(--dark);
  font-weight: 800;
}

.cart-pill {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--dark);
  font-weight: 800;
}

.cart-pill b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--dark);
  border-radius: 14px;
  cursor: pointer;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 10px;
}

/* Hero */

.hero {
  min-height: calc(100vh - 130px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 155, 100, 0.36), transparent 30%),
    radial-gradient(circle at 88% 70%, rgba(247, 221, 212, 0.22), transparent 32%),
    linear-gradient(115deg, rgba(31,21,17,0.96), rgba(123,74,53,0.74)),
    var(--brown);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 80%);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .9;
}

.hero__glow--one {
  width: 420px;
  height: 420px;
  left: -140px;
  top: -120px;
  background: rgba(200, 155, 100, .20);
}

.hero__glow--two {
  width: 360px;
  height: 360px;
  right: -130px;
  bottom: -100px;
  background: rgba(247, 221, 212, .15);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding-block: 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
}

.eyebrow--dark {
  color: var(--brown);
}

.hero h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.13;
  font-weight: 900;
  letter-spacing: -1px;
}

.hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 21px;
  line-height: 1.95;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  font-weight: 900;
  transition: all .25s ease;
  border: 1px solid transparent;
}

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

.btn--gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 16px 34px rgba(200,155,100,.25);
}

.btn--gold:hover {
  background: #e0bd86;
  box-shadow: 0 22px 44px rgba(200,155,100,.32);
}

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}

.btn--ghost:hover {
  background: rgba(255,255,255,.18);
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

.btn--dark:hover {
  background: var(--brown);
  box-shadow: 0 18px 34px rgba(43,29,23,.20);
}

/* Hero visual */

.hero__visual {
  position: relative;
  min-height: 560px;
}

.product-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: min(100%, 520px);
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 24%, rgba(255,255,255,.34), transparent 22%),
    radial-gradient(circle at center, rgba(255,247,239,.20), rgba(255,247,239,.06) 62%, transparent 63%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.product-orb::before {
  content: "";
  position: absolute;
  inset: 54px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
}

.jar {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 34px 34px 48px 48px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.18), transparent 20%, rgba(255,255,255,.14) 74%, transparent),
    linear-gradient(180deg, #fff7ef, #e8cda5);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.72),
    0 26px 66px rgba(0,0,0,.28);
}

.jar--main {
  width: 210px;
  height: 290px;
  right: 50%;
  top: 50%;
  transform: translate(50%, -46%) rotate(-2deg);
}

.jar--small {
  width: 130px;
  height: 180px;
  border-radius: 26px 26px 36px 36px;
}

.jar--one {
  right: 36px;
  bottom: 88px;
  transform: rotate(10deg);
}

.jar--two {
  left: 42px;
  top: 92px;
  transform: rotate(-12deg);
}

.jar__cap {
  position: absolute;
  top: -34px;
  width: 62%;
  height: 46px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--brown-2));
  box-shadow: 0 12px 20px rgba(0,0,0,.18);
}

.jar__label {
  width: 70%;
  min-height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: var(--brown);
  font-weight: 900;
  letter-spacing: 1px;
}

.floating-card {
  position: absolute;
  z-index: 4;
  width: 160px;
  padding: 17px 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 44px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.5);
}

.floating-card strong {
  display: block;
  color: var(--brown);
  font-size: 18px;
  font-weight: 900;
}

.floating-card span {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.floating-card--top {
  right: 4%;
  top: 15%;
}

.floating-card--bottom {
  left: 5%;
  bottom: 14%;
}

/* Sections */

section {
  position: relative;
}

.section-soft {
  background:
    radial-gradient(circle at top right, rgba(200,155,100,.12), transparent 28%),
    linear-gradient(180deg, var(--cream), var(--soft));
}

.intro-section,
.cards-section,
.image-story,
.products-section,
.steps-section,
.reviews-section {
  padding-block: 90px;
}

.section-heading {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

h2 {
  margin: 0 0 16px;
  color: var(--dark);
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.32;
  font-weight: 900;
  letter-spacing: -.5px;
}

h3 {
  margin: 0 0 10px;
  color: var(--dark);
  font-weight: 900;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.intro-section p,
.section-heading p {
  max-width: 760px;
  margin-inline: auto;
}

/* Cards */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card,
.step-card,
.review-card,
.product-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: all .25s ease;
}

.feature-card:hover,
.step-card:hover,
.review-card:hover,
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
}

.feature-card {
  padding: 34px 30px;
}

.icon-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--cream);
  color: var(--brown);
  font-weight: 900;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--brown);
  font-size: 24px;
}

.feature-card p {
  margin: 0;
}

/* Story */

.story-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.story-image {
  min-height: 520px;
  position: relative;
}

.beauty-frame {
  position: relative;
  min-height: 520px;
  border-radius: 42px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 24%, rgba(255,255,255,.50), transparent 30%),
    linear-gradient(135deg, var(--pink), var(--cream) 48%, var(--gold-2));
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.7);
}

.circle-art {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123,74,53,.16);
}

.circle-art--one {
  width: 340px;
  height: 340px;
  right: -90px;
  top: -80px;
}

.circle-art--two {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -60px;
}

.bottle {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -47%);
  width: 180px;
  height: 330px;
  display: grid;
  place-items: center;
  border-radius: 80px 80px 34px 34px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.5), transparent 25%, rgba(255,255,255,.28) 72%, transparent),
    linear-gradient(180deg, #ffffff, #e8cda5);
  box-shadow: 0 30px 70px rgba(43,29,23,.22);
}

.bottle span {
  position: absolute;
  top: -62px;
  width: 82px;
  height: 74px;
  border-radius: 30px 30px 8px 8px;
  background: linear-gradient(180deg, var(--dark), var(--brown));
}

.bottle strong {
  width: 74%;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255,255,255,.66);
  color: var(--brown);
  font-size: 27px;
  font-weight: 900;
}

.story-content p {
  max-width: 620px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-right: 34px;
  color: var(--text);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-size: 14px;
  font-weight: 900;
}

/* Products */

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  overflow: hidden;
}

.product-card__image {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-card__image::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.42);
}

.product-card__image--one {
  background: linear-gradient(135deg, #f7ddd4, #fff7ef);
}

.product-card__image--two {
  background: linear-gradient(135deg, #e0bd86, #fff7ef);
}

.product-card__image--three {
  background: linear-gradient(135deg, #9b6a50, #f7ddd4);
}

.product-card__image--four {
  background: linear-gradient(135deg, #fff7ef, #c89b64);
}

.discount {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(43,29,23,.88);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mock-product {
  position: relative;
  z-index: 1;
  width: 118px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 26px 26px 34px 34px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.35), transparent 22%, rgba(255,255,255,.25) 80%, transparent),
    linear-gradient(180deg, #fff, #ead1aa);
  color: var(--brown);
  font-weight: 900;
  box-shadow: 0 22px 45px rgba(43,29,23,.20);
}

.mock-product::before {
  content: "";
  position: absolute;
  top: -30px;
  width: 60px;
  height: 38px;
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, var(--gold), var(--brown));
}

.product-card__body {
  padding: 22px;
  text-align: center;
}

.product-card h3 {
  font-size: 20px;
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: 900;
  margin: 8px 0;
}

.product-card p {
  margin: 0 0 18px;
  font-size: 15px;
}

.product-card__footer {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.product-card__footer strong {
  color: var(--brown);
  font-size: 19px;
  font-weight: 900;
}

.product-card__footer a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 900;
  transition: all .2s ease;
}

.product-card__footer a:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step-card {
  padding: 34px;
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(200,155,100,.12), transparent 42%),
    #fff;
}

.step-card span {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 22px;
  background: var(--dark);
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
}

.step-card h3 {
  color: var(--brown);
  font-size: 23px;
}

.step-card p {
  margin: 0;
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.review-card {
  padding: 30px;
}

.review-card p {
  margin: 14px 0 22px;
}

.review-card strong {
  color: var(--brown);
  font-weight: 900;
}

/* Final CTA */

.final-cta {
  padding: 84px 0;
}

.final-cta__inner {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 78px 42px;
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(200,155,100,.34), transparent 34%),
    radial-gradient(circle at bottom left, rgba(247,221,212,.18), transparent 34%),
    linear-gradient(135deg, var(--dark-2), var(--brown));
  box-shadow: var(--shadow-lg);
}

.final-cta__inner::after {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}

.final-cta h2 {
  color: #fff;
  max-width: 780px;
  margin-inline: auto;
}

.final-cta p {
  color: rgba(255,255,255,.84);
  max-width: 720px;
  margin: 0 auto 28px;
}

/* Footer */

.site-footer {
  background: var(--dark-2);
  color: rgba(255,255,255,.82);
  padding: 70px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr 1.2fr;
  gap: 46px;
  align-items: start;
}

.brand--footer .brand__text strong {
  color: #fff;
}

.site-footer p {
  color: rgba(255,255,255,.72);
  margin: 18px 0 0;
}

.site-footer h3 {
  color: #fff;
  font-size: 20px;
}

.site-footer a:not(.brand) {
  display: block;
  color: rgba(255,255,255,.74);
  margin: 10px 0;
  transition: color .2s ease;
}

.site-footer a:hover {
  color: var(--gold);
}

.newsletter {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.newsletter input {
  flex: 1;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 0 20px;
  outline: none;
  background: rgba(255,255,255,.08);
  color: #fff;
}

.newsletter input::placeholder {
  color: rgba(255,255,255,.52);
}

.newsletter button {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 900;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
}

/* WhatsApp */

.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 120;
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0,0,0,.25);
  transition: all .2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
}

/* Reveal animation */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   Brand Logo Box
   Uses CSS background-image on a <span> — completely
   immune to WooCommerce / WordPress  img { height:auto }  rules
========================================== */

.brand-logo-box {
  display: block;
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.brand--footer .brand-logo-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  opacity: .92;
}

/* ==========================================
   Hero — Real Product Image
========================================== */

.product-orb--photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-product-img {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.45));
  border-radius: 24px;
}

/* ==========================================
   Story Section — Real Product Image
========================================== */

.story-product-img {
  position: absolute;
  right: 50%;
  top: 50%;
  transform: translate(50%, -50%);
  width: 72%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 44px rgba(43, 29, 23, 0.32));
  border-radius: 16px;
}

/* ==========================================
   Product Images — Hard constraints everywhere
   The product mockup has a dark background.
   If any img renders at natural size (480×480)
   it fills the page with dark. Force small sizes.
========================================== */

.product-card__image {
  cursor: pointer;
}

/* Product card thumbnails on homepage / shop */
.product-thumb,
.product-card__image img,
.product-card__image .wp-post-image {
  position: relative;
  z-index: 2;
  width: 100% !important;
  height: 200px !important;
  object-fit: contain !important;
  padding: 18px;
}

/* Cart page product thumbnail */
table.cart td.product-thumbnail,
.woocommerce table.cart td.product-thumbnail,
.woocommerce-page table.cart td.product-thumbnail {
  width: 90px !important;
  max-width: 90px !important;
}

table.cart td.product-thumbnail img,
.woocommerce table.cart td.product-thumbnail img,
.woocommerce-page table.cart td.product-thumbnail img,
.shop_table td.product-thumbnail img {
  width: 80px !important;
  height: 80px !important;
  max-width: 80px !important;
  max-height: 80px !important;
  object-fit: contain !important;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 6px;
}

/* WooCommerce block product grid images */
.wc-block-grid__products .wc-block-grid__product-image img,
.wp-block-woocommerce-product-new img,
.wc-block-grid__product img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 260px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* Single product gallery */
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
  object-fit: contain;
}

/* ==========================================
   WooCommerce — Button Overrides
   Match the brand card CTA style
========================================== */

.product-card__footer .button,
.product-card__footer .add_to_cart_button,
.product-card__footer .ajax_add_to_cart,
.woocommerce .product-card__footer a.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 900;
  font-family: inherit;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
}

.product-card__footer .button:hover,
.product-card__footer .add_to_cart_button:hover,
.woocommerce .product-card__footer a.button:hover {
  background: var(--dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(43, 29, 23, .22);
}

/* Loading state */
.product-card__footer .add_to_cart_button.loading::after {
  border-color: var(--dark) transparent transparent;
}

/* Added to cart */
.product-card__footer .add_to_cart_button.added {
  background: var(--dark);
  color: #fff !important;
}

/* Single product add to cart */
.woocommerce .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce button.button {
  min-height: 52px;
  padding: 0 36px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 900;
  font-family: inherit;
  font-size: 17px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
}

.woocommerce .single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button.button:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Price styling */
.woocommerce .price,
.product-price .woocommerce-Price-amount {
  color: var(--brown);
  font-weight: 900;
  font-size: 19px;
}

.woocommerce .price del {
  color: var(--muted);
  font-size: 15px;
}

.woocommerce .price ins {
  text-decoration: none;
}

/* ==========================================
   WooCommerce — Notices & Messages
========================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--radius);
  margin-bottom: 24px;
  padding: 18px 24px;
  font-weight: 700;
  border-top: 4px solid var(--gold);
  background: var(--cream);
  color: var(--text);
}

.woocommerce-error {
  border-top-color: #e74c3c;
  background: #fff5f5;
}

/* ==========================================
   WooCommerce — Pagination
========================================== */

.woo-pagination .woocommerce-pagination ul {
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.woo-pagination .woocommerce-pagination ul li a,
.woo-pagination .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cream);
  color: var(--dark);
  font-weight: 900;
  transition: all .2s ease;
}

.woo-pagination .woocommerce-pagination ul li a:hover,
.woo-pagination .woocommerce-pagination ul li span.current {
  background: var(--gold);
  color: var(--dark);
}

/* ==========================================
   WooCommerce — Result count & ordering
========================================== */

.woocommerce-result-count,
.woocommerce-ordering {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.woocommerce-ordering select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  outline: none;
}

/* ==========================================
   WooCommerce — Single Product Page
========================================== */

.woocommerce div.product {
  max-width: 1100px;
  margin: 0 auto;
}

.woocommerce div.product .product_title {
  color: var(--dark);
  font-weight: 900;
}

.woocommerce div.product .woocommerce-product-gallery__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.woocommerce div.product form.cart .qty {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 17px;
  width: 80px;
  text-align: center;
}

/* ==========================================
   WooCommerce — Cart & Checkout Pages
========================================== */

.woo-inner-page > .container,
.woocommerce-page .woo-inner-page > .container,
.woocommerce-cart .woo-inner-page > .container,
.woocommerce-checkout .woo-inner-page > .container {
  padding: 60px 0;
  min-height: 60vh;
}

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  border-collapse: separate;
  width: 100%;
}

.woocommerce table.shop_table th {
  background: var(--cream);
  color: var(--dark);
  font-weight: 900;
  padding: 16px 22px;
}

.woocommerce table.shop_table td {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  color: var(--text);
}

/* ==========================================
   WooCommerce Block Cart — hide empty-cart fallback
   during is-loading state.
   The block renders BOTH filled+empty in the HTML;
   before JS loads it shows the empty state which has
   a full-width product image with a dark background.
   This CSS hides that dark placeholder entirely.
========================================== */

.wp-block-woocommerce-cart.is-loading
.wp-block-woocommerce-empty-cart-block {
  display: none !important;
}

.wp-block-woocommerce-cart.is-loading
.wp-block-woocommerce-filled-cart-block {
  visibility: hidden;
  min-height: 200px;
}

/* Constrain product grid images so they never go full-width */
.wc-block-grid__products .wc-block-grid__product-image img,
.wp-block-woocommerce-product-new img {
  width: auto !important;
  max-width: 100% !important;
  max-height: 280px !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* ==========================================
   WooCommerce Inner Page Wrapper
   (single product, cart, checkout, my account, login)
========================================== */

.woo-inner-page {
  padding: 60px 0 90px;
  min-height: 65vh;
  background: var(--white);
}

/* WooCommerce wraps the product loop in ul.products —
   override it to use our products-grid layout */
.woocommerce ul.products,
.woocommerce-page ul.products {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0;
  padding: 0;
}

/* ---- Single Product ---- */
.woocommerce div.product,
.woocommerce-page div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.woocommerce div.product .woocommerce-product-gallery {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
}

.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
  padding: 20px;
}

.woocommerce div.product .summary {
  padding-top: 10px;
}

.woocommerce div.product .product_title {
  color: var(--dark);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}

.woocommerce div.product .price {
  color: var(--brown);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 20px;
  display: block;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  margin-bottom: 24px;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.woocommerce div.product form.cart .qty {
  width: 70px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  color: var(--dark);
  background: var(--cream);
}

.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  min-height: 52px;
  padding: 0 34px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 900;
  font-family: inherit;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--dark);
  color: #fff !important;
  transform: translateY(-2px);
}

/* ---- Cart Page ---- */
.woocommerce-cart .woo-inner-page,
.woocommerce-checkout .woo-inner-page {
  background:
    radial-gradient(circle at top right, rgba(200,155,100,.08), transparent 28%),
    var(--cream);
}

.woocommerce .cart_item td.product-thumbnail img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain;
  border-radius: 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 6px;
}

.woocommerce .cart-subtotal th,
.woocommerce .order-total th {
  font-weight: 900;
  color: var(--dark);
}

.woocommerce .cart-subtotal td,
.woocommerce .order-total td {
  color: var(--brown);
  font-weight: 900;
}

.woocommerce #payment .place-order .button {
  width: 100%;
  min-height: 56px;
  font-size: 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark) !important;
  font-weight: 900;
  font-family: inherit;
  border: none;
  cursor: pointer;
}

/* ---- Checkout ---- */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
  color: var(--dark);
  font-weight: 900;
  font-size: 22px;
  margin-bottom: 18px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  outline: none;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
}

.woocommerce form .form-row {
  float: none;
  width: 100%;
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.woocommerce .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-1,
.woocommerce-page .col2-set .col-2 {
  float: none;
  width: auto;
}

.woocommerce-checkout-review-order,
.woocommerce-checkout #payment,
.woocommerce-cart-form,
.cart-collaterals,
.woocommerce-MyAccount-content {
  min-width: 0;
}

.woocommerce-cart-form,
.woocommerce-checkout-review-order {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  float: none;
  width: 100%;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
  overflow-wrap: anywhere;
}

.woocommerce table.shop_table_responsive tr td::before,
.woocommerce-page table.shop_table_responsive tr td::before {
  float: right;
}

.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout,
.wc-block-components-sidebar-layout,
.wc-block-components-main,
.wc-block-components-sidebar,
.wc-block-cart,
.wc-block-checkout {
  max-width: 100%;
  min-width: 0;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--gold);
}

/* ---- My Account ---- */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--dark);
  font-weight: 900;
  border: 1px solid var(--line);
  transition: all .2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--brown);
  font-weight: 700;
}

/* Responsive single product */
@media (max-width: 820px) {
  .woocommerce div.product,
  .woocommerce-page div.product {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   Ingredients icon emoji badge tweak
========================================== */

.icon-badge:not([class*="0"]):not([class*="1"]):not([class*="2"]):not([class*="3"]) {
  font-size: 26px;
  background: var(--soft);
}

/* Responsive */

@media (max-width: 1060px) {
  .hero__grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 470px;
  }

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

  .feature-grid,
  .steps-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .top-strip__inner {
    justify-content: center;
    text-align: center;
    min-height: auto;
    padding-block: 10px;
  }

  .top-strip__links {
    display: none;
  }

  .header-row {
    min-height: 76px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .main-nav {
    position: absolute;
    right: 20px;
    left: 20px;
    top: calc(100% + 12px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    padding: 14px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: var(--cream);
  }

  .link-action {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .brand__text strong {
    font-size: 20px;
  }

  .brand__text small {
    font-size: 11px;
  }

  .brand__mark {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .brand-logo-box,
  .brand__logo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px;
  }

  .hero {
    min-height: auto;
    border-radius: 0 0 30px 30px;
  }

  .hero__grid {
    padding-block: 54px;
    gap: 24px;
  }

  .hero__content {
    text-align: center;
  }

  .hero__content .eyebrow {
    justify-content: center;
  }

  .hero p {
    font-size: 18px;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    min-height: 390px;
  }

  .product-orb {
    width: 370px;
    height: 370px;
  }

  .jar--main {
    width: 156px;
    height: 220px;
  }

  .jar--small {
    width: 100px;
    height: 140px;
  }

  .floating-card {
    width: 138px;
    padding: 14px;
  }

  .intro-section,
  .cards-section,
  .image-story,
  .products-section,
  .steps-section,
  .reviews-section {
    padding-block: 62px;
  }

  .beauty-frame,
  .story-image {
    min-height: 420px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .woocommerce .col2-set,
  .woocommerce-page .col2-set {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .woocommerce-page .woo-inner-page > .container,
  .woocommerce-cart .woo-inner-page > .container,
  .woocommerce-checkout .woo-inner-page > .container {
    padding: 42px 0;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 14px 12px;
  }

  .woocommerce-cart table.cart td.actions .coupon {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .woocommerce-cart table.cart td.actions .coupon .input-text,
  .woocommerce-cart table.cart td.actions .button,
  .woocommerce-cart table.cart td.actions > .button {
    width: 100% !important;
  }

  .wc-block-components-sidebar-layout {
    display: block !important;
  }

  .wc-block-components-main,
  .wc-block-components-sidebar,
  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .wp-block-columns {
    flex-wrap: wrap !important;
  }

  .wp-block-column {
    flex-basis: 100% !important;
  }
}

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

  h2 {
    font-size: 30px;
  }

  p {
    font-size: 16px;
  }

  .top-strip {
    font-size: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand__text strong {
    font-size: 15px;
  }

  .brand__text small {
    display: none;
  }

  .header-actions {
    gap: 8px;
  }

  .cart-pill span {
    display: none;
  }

  .cart-pill {
    min-height: 40px;
    padding: 0 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 10px;
    border-radius: 12px;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: 0;
  }

  .hero p {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__visual {
    min-height: 300px;
  }

  .product-orb {
    width: min(100%, 300px);
    height: 300px;
  }

  .hero-product-img {
    width: 76%;
    max-height: 250px;
  }

  .floating-card {
    width: 118px;
    padding: 11px 12px;
    border-radius: 16px;
  }

  .floating-card strong {
    font-size: 14px;
  }

  .floating-card span {
    font-size: 11px;
  }

  .beauty-frame,
  .story-image {
    min-height: 320px;
  }

  .story-product-img {
    width: 82%;
  }

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

  .product-card__body,
  .feature-card,
  .step-card,
  .review-card {
    padding: 22px 18px;
  }

  .final-cta__inner {
    padding: 48px 18px;
    border-radius: 28px;
  }

  .newsletter {
    flex-direction: column;
  }

  .newsletter button {
    width: 100%;
  }

  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    min-height: 46px;
    padding: 0 16px;
    font-size: 14px;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }

  .woocommerce-page .woo-inner-page > .container,
  .woocommerce-cart .woo-inner-page > .container,
  .woocommerce-checkout .woo-inner-page > .container {
    padding: 32px 0;
  }

  .woocommerce table.shop_table {
    border-radius: 18px;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 12px 10px;
    font-size: 14px;
  }

  .woocommerce .cart_item td.product-thumbnail img,
  table.cart td.product-thumbnail img,
  .woocommerce table.cart td.product-thumbnail img,
  .woocommerce-page table.cart td.product-thumbnail img,
  .shop_table td.product-thumbnail img {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    max-height: 58px !important;
  }

  .woocommerce div.product form.cart {
    align-items: stretch;
  }

  .woocommerce div.product form.cart .qty,
  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
    justify-content: center;
  }

  .woocommerce-checkout .woocommerce-billing-fields h3,
  .woocommerce-checkout .woocommerce-shipping-fields h3,
  .woocommerce-checkout #order_review_heading {
    font-size: 20px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation li a {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================
   WooCommerce Pages — Header & Top Strip
   Shop, Cart, Checkout, Account, Login
========================================== */

/* Top strip always visible on WooCommerce pages */
.woocommerce-page .top-strip,
.woocommerce-cart .top-strip,
.woocommerce-checkout .top-strip,
.woocommerce-account .top-strip {
  display: block;
}

/* Header: NOT sticky on WooCommerce pages — scrolls with the page */
.woocommerce-page .site-header,
.woocommerce-cart .site-header,
.woocommerce-checkout .site-header,
.woocommerce-account .site-header {
  position: static;
  top: auto;
  box-shadow: 0 2px 12px rgba(43, 29, 23, 0.07);
}

/* Keep header row compact */
.woocommerce-page .header-row,
.woocommerce-cart .header-row,
.woocommerce-checkout .header-row,
.woocommerce-account .header-row {
  min-height: 80px;
  max-height: 100px;
  overflow: hidden;
}

/* Logo stays small */
.woocommerce-page .brand-logo-box,
.woocommerce-cart .brand-logo-box,
.woocommerce-checkout .brand-logo-box,
.woocommerce-account .brand-logo-box {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
}

@media (max-width: 560px) {
  .woocommerce-page .brand-logo-box,
  .woocommerce-cart .brand-logo-box,
  .woocommerce-checkout .brand-logo-box,
  .woocommerce-account .brand-logo-box {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
  }

  .woocommerce-page .header-row,
  .woocommerce-cart .header-row,
  .woocommerce-checkout .header-row,
  .woocommerce-account .header-row {
    min-height: 70px;
  }
}

/* ==========================================
   Final mobile override
   Kept at the end so it wins over WooCommerce/plugin CSS.
========================================== */

@media (max-width: 820px) {
  .site-header {
    position: relative !important;
  }

  .top-strip__inner {
    min-height: auto;
    padding-block: 10px;
    justify-content: center;
    text-align: center;
  }

  .top-strip__links,
  .link-action {
    display: none !important;
  }

  .header-row {
    min-height: 76px !important;
    max-height: none !important;
    grid-template-columns: auto auto !important;
    justify-content: space-between;
    gap: 12px;
    overflow: visible !important;
  }

  .brand-logo-box,
  .brand__logo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    border-radius: 12px !important;
  }

  .brand__text strong {
    font-size: 20px !important;
    letter-spacing: 0 !important;
  }

  .brand__text small {
    font-size: 11px !important;
  }

  .main-nav {
    right: 14px !important;
    left: 14px !important;
  }
}

@media (max-width: 560px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 28px, var(--container, 1180px)) !important;
  }

  .brand {
    gap: 8px !important;
    min-width: 0;
  }

  .brand-logo-box,
  .brand__logo {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
  }

  .brand__text strong {
    font-size: 14px !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .brand__text small {
    display: none !important;
  }

  .header-actions {
    gap: 8px !important;
  }

  .cart-pill {
    min-height: 40px !important;
    padding: 0 10px !important;
  }

  .cart-pill span {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
    width: 40px !important;
    height: 40px !important;
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .hero h1 {
    font-size: 32px !important;
    letter-spacing: 0 !important;
  }

  .hero p {
    font-size: 16px !important;
    line-height: 1.8 !important;
  }

  .hero__actions .btn,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
    justify-content: center;
  }

  .products-grid,
  .feature-grid,
  .steps-grid,
  .reviews-grid,
  .footer-grid,
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr !important;
  }

  .woocommerce .col2-set,
  .woocommerce-page .col2-set {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .woocommerce .col2-set .col-1,
  .woocommerce .col2-set .col-2,
  .woocommerce-page .col2-set .col-1,
  .woocommerce-page .col2-set .col-2 {
    float: none !important;
    width: auto !important;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 12px 10px !important;
    font-size: 14px !important;
    overflow-wrap: anywhere;
  }

  .wc-block-components-sidebar-layout {
    display: block !important;
  }

  .wc-block-components-main,
  .wc-block-components-sidebar,
  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
