/** Shopify CDN: Minification failed

Line 1796:0 Unexpected "@media"

**/
:root {
  --font-heading: "Playfair Display", "Times New Roman", serif;
  --font-body: "Poppins", Arial, sans-serif;
  --font-arabic: "Alexandria", "Poppins", Arial, sans-serif;
  --color-ink: var(--color-matte-black);
  --color-canvas: var(--color-warm-beige);
  --color-accent: var(--color-soft-gold);
  --color-botanical: var(--color-olive-green);
  --color-paper: var(--color-white);
  --color-muted: rgba(17, 17, 17, 0.68);
  --color-line: rgba(17, 17, 17, 0.12);
  --color-line-strong: rgba(17, 17, 17, 0.22);
  --color-inverse-muted: rgba(255, 255, 255, 0.72);
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 8px 24px rgba(17, 17, 17, 0.08);
  --shadow-md: 0 18px 60px rgba(17, 17, 17, 0.14);
  --shadow-lg: 0 30px 90px rgba(17, 17, 17, 0.22);
  --shadow-gold: 0 16px 44px rgba(198, 169, 114, 0.24);
  --transition-fast: 160ms ease;
  --transition-base: 260ms ease;
  --transition-slow: 520ms cubic-bezier(0.22, 1, 0.36, 1);
  --container-padding: clamp(1rem, 4vw, 3rem);
  --grid-gap: clamp(1rem, 2.4vw, 2rem);
  --z-header: 30;
  --z-drawer: 80;
  --z-modal: 100;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior-y: none;
}

body.is-rtl,
body.rtl,
body.lang-ar {
  font-family: var(--font-arabic);
  letter-spacing: 0;
  line-height: 1.85;
  direction: rtl;
  text-align: right;
}

body.is-ltr,
body.ltr,
body.lang-en {
  direction: ltr;
  text-align: left;
}

body.is-rtl h1,
body.is-rtl h2,
body.is-rtl h3,
body.is-rtl h4,
body.is-rtl h5,
body.is-rtl h6,
body.is-rtl .font-heading,
body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl .font-heading,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar h5,
body.lang-ar h6,
body.lang-ar .font-heading {
  font-family: var(--font-arabic);
}

body.is-rtl .button,
body.is-rtl .icon-button,
body.is-rtl .product-card,
body.is-rtl .rosemary-card,
body.rtl .button,
body.rtl .icon-button,
body.rtl .product-card,
body.rtl .rosemary-card,
body.lang-ar .button,
body.lang-ar .icon-button,
body.lang-ar .product-card,
body.lang-ar .rosemary-card {
  text-align: center;
}

body.drawer-open,
body.is-loading {
  overflow: hidden;
}

html[dir="rtl"] .site-shell,
html[dir="rtl"] .site-header,
html[dir="rtl"] .rosemary-header__mobile-panel,
html[dir="rtl"] .product-card,
html[dir="rtl"] .rosemary-card,
html[dir="rtl"] .cart-drawer,
html[dir="rtl"] .site-footer,
html[dir="rtl"] .rosemary-footer,
html[dir="rtl"] .rosemary-announcement {
  direction: rtl;
}

html[dir="ltr"] .site-shell,
html[dir="ltr"] .site-header,
html[dir="ltr"] .rosemary-header__mobile-panel,
html[dir="ltr"] .product-card,
html[dir="ltr"] .rosemary-card,
html[dir="ltr"] .cart-drawer,
html[dir="ltr"] .site-footer,
html[dir="ltr"] .rosemary-footer,
html[dir="ltr"] .rosemary-announcement {
  direction: ltr;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration-color: rgba(198, 169, 114, 0.55);
  text-underline-offset: 0.18em;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
  touch-action: manipulation;
}

a:hover {
  color: var(--color-botanical);
  text-decoration-color: currentColor;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-block-start: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  color: var(--color-ink);
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0;
}

h1,
.h1 {
  font-size: clamp(2.5rem, 6vw, 5.8rem);
}

h2,
.h2 {
  font-size: clamp(2rem, 4.2vw, 4rem);
}

h3,
.h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4,
.h4 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

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

small,
.text-small {
  font-size: 0.875rem;
}

.text-caption {
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.is-rtl .text-caption,
body.rtl .text-caption,
body.lang-ar .text-caption {
  letter-spacing: 0;
}

::selection {
  background: var(--color-accent);
  color: var(--color-ink);
}

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

.skip-to-content-link {
  position: fixed !important;
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
  z-index: var(--z-modal);
  transform: translateY(-150%);
}

.skip-to-content-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100svh;
  overflow: clip;
}

.main-content {
  min-height: 60vh;
}

.shopify-section {
  display: block;
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

.shopify-section:first-child,
#shopify-section-announcement-bar,
#shopify-section-header,
#shopify-section-footer,
#shopify-section-cart-drawer,
.shopify-section:has(.rosemary-hero),
.shopify-section:has(.rosemary-gallery) {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

.container {
  width: min(100% - (var(--container-padding) * 2), var(--page-width));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - (var(--container-padding) * 2), 980px);
  margin-inline: auto;
}

.container--wide {
  width: min(100% - (var(--container-padding) * 2), 1680px);
  margin-inline: auto;
}

.section {
  padding-block: var(--section-spacing);
}

.section--compact {
  padding-block: calc(var(--section-spacing) * 0.62);
}

.section--dark {
  background: var(--color-ink);
  color: var(--color-paper);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: inherit;
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

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

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

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

.stack {
  display: grid;
  gap: var(--space-md);
}

.stack--lg {
  gap: var(--space-lg);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button,
.shopify-payment-button__button {
  --button-bg: var(--color-ink);
  --button-color: var(--color-paper);
  --button-border: var(--color-ink);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.8rem 1.45rem;
  border: 1px solid var(--button-border);
  border-radius: var(--radius-pill);
  background: var(--button-bg);
  color: var(--button-color);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.button::after,
.shopify-payment-button__button::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.button:hover,
.shopify-payment-button__button:hover {
  color: var(--button-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.button:active,
.shopify-payment-button__button:active,
.icon-button:active {
  transform: translateY(0) scale(0.98);
}

.button[aria-busy="true"] {
  pointer-events: none;
}

.button[aria-busy="true"]::before {
  content: "";
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-block-start-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.button:hover::after,
.shopify-payment-button__button:hover::after {
  opacity: 1;
}

.button:disabled,
.button[aria-disabled="true"],
.shopify-payment-button__button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.button--secondary {
  --button-bg: transparent;
  --button-color: var(--color-ink);
  --button-border: var(--color-line-strong);
}

.button--gold {
  --button-bg: var(--color-accent);
  --button-color: var(--color-ink);
  --button-border: var(--color-accent);
}

.button--light {
  --button-bg: var(--color-paper);
  --button-color: var(--color-ink);
  --button-border: var(--color-paper);
}

.button--full {
  width: 100%;
}

.icon-button {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.72);
  color: var(--color-ink);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base);
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  background: var(--color-paper);
  box-shadow: var(--shadow-sm);
}

.card,
.product-card,
.surface {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.surface-glass,
.glass {
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .surface-glass,
  .glass {
    background: rgba(255, 255, 255, 0.94);
  }
}

.luxury-shadow {
  box-shadow: var(--shadow-lg);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 169, 114, 0.5);
  box-shadow: var(--shadow-md);
}

.product-card__media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(245, 239, 231, 0.95), rgba(198, 169, 114, 0.18));
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  backface-visibility: hidden;
}

.product-card:hover .product-card__media img {
  transform: scale(1.045);
}

.product-card__content {
  display: grid;
  gap: 0.7rem;
  padding: var(--space-lg);
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-xs);
  color: var(--color-ink);
  font-weight: 600;
}

.price__compare {
  color: var(--color-muted);
  font-size: 0.9em;
  text-decoration: line-through;
}

.field {
  display: grid;
  gap: var(--space-xs);
}

.field__label {
  color: var(--color-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.field__input,
.select__select,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  min-height: 3.05rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.8);
  color: var(--color-ink);
  padding: 0.78rem 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.field__input:focus,
.select__select:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--color-accent);
  background: var(--color-paper);
  box-shadow: 0 0 0 4px rgba(198, 169, 114, 0.18);
  outline: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(198, 169, 114, 0.45);
  border-radius: var(--radius-pill);
  background: rgba(198, 169, 114, 0.14);
  color: var(--color-ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.site-header {
  position: relative;
  z-index: var(--z-header);
  background: rgba(245, 239, 231, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
}

.site-header[data-sticky="true"] {
  position: sticky;
  inset-block-start: 0;
}

.site-header.is-scrolled {
  background: rgba(245, 239, 231, 0.94);
  box-shadow: 0 12px 34px rgba(17, 17, 17, 0.08);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  pointer-events: none;
  visibility: hidden;
}

.cart-drawer[aria-hidden="false"] {
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  opacity: 0;
  transition: opacity var(--transition-base);
  backdrop-filter: none;
}

.cart-drawer[aria-hidden="false"] .cart-drawer__overlay {
  opacity: 1;
}

.cart-drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: grid;
  width: min(100%, 430px);
  grid-template-rows: auto 1fr auto;
  color: var(--color-ink);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

html[dir="rtl"] .cart-drawer__panel {
  transform: translateX(-100%);
}

.cart-drawer[aria-hidden="false"] .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__header,
.cart-drawer__footer {
  padding: var(--space-lg);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-block-end: 1px solid var(--color-line);
}

.cart-drawer__title {
  margin: 0;
  font-size: 1.45rem;
}

.cart-drawer__body {
  overflow: auto;
  padding: var(--space-lg);
  -webkit-overflow-scrolling: touch;
}

.cart-drawer__footer {
  display: grid;
  gap: var(--space-sm);
  border-block-start: 1px solid var(--color-line);
}

.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-drawer) - 1);
  background: rgba(17, 17, 17, 0.35);
}

.loading-state {
  display: grid;
  min-height: 8rem;
  place-items: center;
}

.loading-spinner {
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(17, 17, 17, 0.16);
  border-block-start-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 800ms linear infinite;
}

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background: var(--color-ink);
  opacity: 0;
  transition: opacity var(--transition-base);
}

body.is-loading .page-transition {
  opacity: 0.18;
}

.reveal-enabled [data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-enabled [data-animate].is-visible,
[data-animate] {
  opacity: 1;
  transform: translateY(0);
}

/* Keep Instagram feed images always visible */
.rosemary-instagram,
.rosemary-instagram__tile,
.rosemary-instagram__tile img {
  opacity: 1 !important;
}

.hover-lift {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.is-copied {
  border-color: var(--color-botanical);
  box-shadow: 0 0 0 4px rgba(122, 131, 99, 0.18);
}

.is-pressed {
  transform: scale(0.985);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@media screen and (max-width: 1180px) {
  .grid--4,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  :root {
    --section-spacing: clamp(2rem, 8vw, 3.5rem);
  }

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

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

@media screen and (max-width: 768px) {
  :root {
    --section-spacing: 2rem;
  }

  .section,
  .section--compact {
    padding-block: 2rem;
  }

  .site-shell,
  .main-content {
    min-height: auto;
  }

  .shopify-section {
    contain-intrinsic-size: 1px 640px;
  }
}

@media screen and (max-width: 640px) {
  :root {
    --container-padding: 1rem;
    --grid-gap: 0.85rem;
    --section-spacing: 2rem;
  }

  body {
    font-size: 0.96rem;
  }

  .section,
  .section--compact {
    padding-block: 2rem;
  }

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

  .button,
  .shopify-payment-button__button {
    min-height: 3rem;
    padding-inline: 1.1rem;
  }

  .cart-drawer__panel {
    width: min(100%, 390px);
  }

  .cart-drawer__header,
  .cart-drawer__body,
  .cart-drawer__footer {
    padding: var(--space-md);
  }
}

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

.rosemary-card {
  position: relative;
  overflow: hidden;
}

.rosemary-card__media {
  position: relative;
  display: block;
}

.rosemary-card__media img {
  position: absolute;
  inset: 0;
}

.rosemary-card__hover-image {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.rosemary-card:hover .rosemary-card__hover-image {
  opacity: 1;
}

.rosemary-card:hover .rosemary-card__media img:first-child {
  transform: scale(1.025);
}

.rosemary-card__badge {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
}

.rosemary-card__fallback {
  display: grid;
  place-items: center;
  color: var(--color-ink);
  text-align: center;
}

.rosemary-card__fallback-product {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: var(--space-lg);
  color: var(--color-ink);
  text-align: center;
}

.rosemary-card__fallback-product span {
  width: 70%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  border: 1px solid rgba(198, 169, 114, 0.36);
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, var(--color-paper), rgba(198, 169, 114, 0.28));
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.35rem);
}

.rosemary-card__fallback span {
  width: 68%;
  aspect-ratio: 3 / 4;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 16px 16px;
  background: linear-gradient(180deg, var(--color-paper), rgba(198, 169, 114, 0.32));
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
}

.rosemary-card__content h3 {
  margin: 0;
  font-size: 1.08rem;
}

.rosemary-card__title {
  text-decoration: none;
}

.rosemary-card__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
}

.rosemary-card__form {
  min-width: 0;
}

.rosemary-card .button {
  min-height: 2.9rem;
}

@media (max-width: 768px) {
  main,
  .main-content,
  .shopify-section,
  section {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
  }

  .site-shell,
  .main-content {
    min-height: auto !important;
    overflow: visible !important;
  }

  .hero,
  .hero-banner,
  .rosemary-hero,
  .hero-section,
  .section-hero {
    height: auto !important;
    min-height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .rosemary-hero__grid,
  .rosemary-categories__grid,
  .rosemary-best__rail,
  .rosemary-bundles__grid,
  .rosemary-showcase__grid,
  .rosemary-reels,
  .rosemary-reel-card,
  .rosemary-reel-card img {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .rosemary-reel-card img {
    z-index: 0 !important;
  }

  .hero__image:empty,
  .hero-media:empty,
  .placeholder-media:empty,
  .empty-placeholder,
  .rosemary-hero__media:empty,
  .rosemary-showcase__media:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  body {
    overflow-x: hidden !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 760px) {
  .product-card__wishlist,
  .product-card__wishlist--placeholder,
  .wishlist-button,
  [class*="wishlist"],
  [aria-label*="wishlist" i],
  [aria-label*="favorites" i] {
    z-index: 1 !important;
  }

  .smile-launcher-frame-container,
  .smile-launcher-frame,
  #smile-ui-lite-launcher-frame-container,
  iframe.smile-launcher-frame,
  iframe[title*="Rewards"],
  iframe[title*="rewards"],
  iframe[src*="smile"],
  iframe[src*="loyalty"],
  [class*="smile-launcher"],
  [id*="smile-launcher"] {
    inset-inline-end: .55rem !important;
    right: .55rem !important;
    bottom: calc(9.1rem + env(safe-area-inset-bottom)) !important;
    transform: scale(.72) !important;
    transform-origin: bottom right !important;
  }
}


/* Rosemary draft product page styles - transferred safely. */
.template-product { background: #fff; }
.product-shell__grid {
  display: grid;
  gap: 1.5rem;
}

.product-gallery {
  display: grid;
  gap: 0.85rem;
}

.product-gallery__stage {
  position: relative;
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-soft);
}

.product-gallery__media,
.product-gallery__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1.12;
}

.product-gallery__media img,
.product-gallery__media video,
.product-gallery__media model-viewer,
.product-gallery__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  gap: 0.65rem;
  overflow-x: auto;
  padding-block-end: 0.25rem;
  scroll-snap-type: inline mandatory;
}

.product-gallery__thumb {
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 0;
  scroll-snap-align: start;
}

.product-gallery__thumb.is-active {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-accent) 24%, transparent);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info-panel__inner {
  display: grid;
  gap: 1rem;
}

.product-app-area,
.app-placeholder,
.cart-app-area,
.account-app-area {
  display: grid;
  gap: 0.55rem;
}

.product-app-area:empty,
.cart-app-area:empty,
.account-app-area:empty {
  display: none;
}

.app-placeholder {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-surface) 88%, transparent);
  color: var(--color-text-muted);
  padding: 0.85rem;
}

.app-placeholder strong {
  color: var(--color-text);
}

.app-placeholder a {
  color: var(--color-primary);
  font-weight: 800;
  text-decoration: none;
}

.product-vendor {
  margin: 0;
  color: var(--color-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.product-title {
  margin: 0;
  font-size: clamp(2rem, 1.45rem + 2.3vw, 4rem);
}

.product-sale-badge.is-hidden {
  display: none;
}

.product-price-wrap .price {
  font-size: 1.2rem;
}

.inventory-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
  padding: 0.35rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
}

.inventory-status--out {
  background: color-mix(in srgb, var(--color-error) 10%, var(--color-surface));
  color: var(--color-error);
}

.product-form,
.variant-picker {
  display: grid;
  gap: 1rem;
}

.variant-picker__fieldset {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.variant-picker__fieldset legend,
.quantity-selector label {
  margin-block-end: 0.5rem;
  color: var(--color-text);
  font-weight: 800;
}

.variant-picker__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.variant-picker__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.variant-picker__option span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 48px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0.55rem 0.9rem;
  font-weight: 700;
}

.variant-picker__option input:checked + span {
  border-color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
  color: var(--color-primary);
}

.variant-picker__option input:focus-visible + span {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}

.quantity-selector {
  display: grid;
  gap: 0.5rem;
}

.quantity-selector__control {
  display: grid;
  grid-template-columns: 44px minmax(60px, 84px) 44px;
  width: fit-content;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.quantity-selector__control button,
.quantity-selector__control input {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--color-text);
  text-align: center;
}

.quantity-selector__control input {
  border-inline: 1px solid var(--color-border);
}

.product-form__buttons {
  display: grid;
  gap: 0.75rem;
}

.product-form__submit,
.product-whatsapp {
  width: 100%;
}

.product-form__submit[disabled],
.mobile-atc-bar .button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.delivery-badges {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-badge {
  position: relative;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  border: 1px solid color-mix(in srgb, var(--color-primary) 28%, var(--color-border));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--color-primary) 9%, var(--color-surface));
  padding: 0.85rem;
}

.delivery-badge__icon {
  position: relative;
  isolation: isolate;
  display: inline-grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface) 74%, transparent);
  color: var(--color-primary);
}

.delivery-badge strong,
.delivery-badge span {
  display: block;
}

.delivery-badge span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.product-accordions {
  display: grid;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--color-accent) 24%, var(--color-border));
  border-radius: var(--radius-md);
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 4%, transparent) 0 1px, transparent 1px 28px),
    color-mix(in srgb, var(--color-surface) 86%, transparent);
}

.product-accordion {
  border-block-end: 1px solid var(--color-border);
}

.product-accordion:last-child {
  border-block-end: 0;
}

.product-accordion__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--color-text);
  padding: 1rem;
  font-weight: 800;
  text-align: inherit;
}

.product-accordion__content {
  color: var(--color-text-muted);
  padding: 0 1rem 1rem;
}

.product-recommendations:empty,
.recently-viewed.is-empty {
  display: none;
}

.recently-viewed-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  text-decoration: none;
}

.recently-viewed-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.recently-viewed-card__info {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem;
}

.recently-viewed-card__title {
  color: var(--color-text);
  font-family: var(--font-heading-family);
  font-weight: var(--font-heading-weight);
}

.recently-viewed-card__price {
  color: var(--color-text-muted);
  font-weight: 800;
}

.mobile-atc-bar {
  position: fixed;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-block-start: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-surface) 94%, transparent);
  padding: 0.75rem 1rem;
  box-shadow: 0 -12px 30px rgb(47 41 37 / 10%);
  transform: translateY(115%);
  transition: transform 180ms ease;
}

.mobile-atc-bar.is-visible {
  transform: translateY(0);
}

.mobile-atc-bar__summary {
  display: grid;
  min-width: 0;
}

.mobile-atc-bar__summary strong,
.mobile-atc-bar__summary span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mobile-atc-bar__summary span {
  color: var(--color-text-muted);
  font-weight: 800;
}

.collection-hero {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 4%, transparent) 0 1px, transparent 1px 30px),
    radial-gradient(circle at top right, color-mix(in srgb, var(--color-accent) 16%, transparent), transparent 34%),
    var(--gradient-soft);
  border-block-end: 1px solid var(--color-border);
}

.egyptian-details .collection-hero::before,
.egyptian-details .collection-hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: clamp(44px, 8vw, 92px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.34;
  background:
    radial-gradient(ellipse at 50% 88%, transparent 0 44%, var(--egyptian-line) 45% 48%, transparent 49%),
    radial-gradient(ellipse at 35% 75%, transparent 0 52%, var(--egyptian-line) 53% 56%, transparent 57%),
    radial-gradient(ellipse at 65% 75%, transparent 0 52%, var(--egyptian-line) 53% 56%, transparent 57%);
}

.egyptian-details .collection-hero::before {
  inset-block-start: 1rem;
  inset-inline-start: 1rem;
}

.egyptian-details .collection-hero::after {
  inset-block-end: 1rem;
  inset-inline-end: 1rem;
  transform: rotate(180deg);
}

.collection-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2rem, 5vw, 4.5rem);
}

.collection-hero__content {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
}

.collection-hero h1 {
  margin: 0;
  font-size: clamp(2.2rem, 1.55rem + 3vw, 5rem);
}

.collection-hero__description {
  color: var(--color-text-muted);
  font-size: 1.02rem;
}

.collection-hero__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-alt);
  box-shadow: var(--shadow-soft);
}

.collection-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}


.product-form__submit.is-loading {
  opacity: 0.72;
  cursor: wait;
}

.add-to-cart-flyer {
  position: fixed;
  z-index: 1200;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #ffffff;
  object-fit: cover;
  pointer-events: none;
  box-shadow: 0 12px 32px rgb(0 0 0 / 18%);
  animation: addToCartFly 760ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cart-button--pulse {
  animation: cartButtonPulse 620ms ease;
}

@keyframes addToCartFly {
  0% {
    opacity: 0.95;
    transform: translate3d(0, 0, 0) scale(1);
  }

  72% {
    opacity: 0.85;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--fly-x), var(--fly-y), 0) scale(0.28);
  }
}

@keyframes cartButtonPulse {
  0%,
  100% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.12);
  }
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  padding: 0.25rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
}

.cartouche-badge {
  position: relative;
  min-height: 28px;
  border-color: color-mix(in srgb, var(--color-accent) 48%, var(--color-border));
  border-radius: 999px / 58%;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 13%, var(--color-surface)), var(--color-surface), color-mix(in srgb, var(--color-accent) 13%, var(--color-surface)));
  color: var(--color-text);
  padding-inline: 0.85rem;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.cartouche-badge::before,
.cartouche-badge::after {
  content: "";
  position: absolute;
  inset-block: 50% auto;
  width: 0.34rem;
  height: 0.34rem;
  border: 1px solid color-mix(in srgb, var(--color-accent) 62%, var(--color-border));
  border-radius: 999px;
  transform: translateY(-50%);
}

.cartouche-badge::before {
  inset-inline-start: 0.22rem;
}

.cartouche-badge::after {
  inset-inline-end: 0.22rem;
}

.badge--accent,
.badge--sale,
.badge--new,
.badge--best-seller,
.badge--natural-formula {
  border-color: color-mix(in srgb, var(--color-accent) 52%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 16%, var(--color-surface));
  color: var(--color-text);
}

.badge--natural-formula {
  border-color: color-mix(in srgb, var(--color-primary) 44%, var(--color-border));
  background: color-mix(in srgb, var(--color-primary) 12%, var(--color-surface));
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.6rem;
  color: var(--color-text);
  font-weight: 700;
}

.price__compare {
  color: var(--color-text-muted);
  font-size: 0.92em;
  font-weight: 500;
}

.price:not(.price--on-sale) .price__sale,
.price:not(.price--on-sale) .price__compare {
  display: none;
}

.price--on-sale .price__regular {
  display: none;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgb(47 41 37 / 42%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.drawer-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

[data-drawer] {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 1001;
  width: min(100vw, 420px);
  max-width: 100vw;
  background: var(--color-surface);
  box-shadow: var(--shadow-lifted);
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(105%, 0, 0);
  transition: transform 220ms ease, visibility 220ms ease;
  will-change: transform;
}

.drawer--full {
  width: 100%;
}

html[dir="rtl"] [data-drawer] {
  right: auto;
  left: 0;
  transform: translate3d(-105%, 0, 0);
}

html[dir="rtl"] 
@media (min-width: 990px) {
  .site-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 82px;
  }

  .site-header__logo img {
    width: var(--header-logo-width);
    max-height: 58px;
  }

  .site-header__menu-button {
    display: none;
  }

  .desktop-navigation {
    display: flex;
    justify-content: center;
    min-width: 0;
  }

  .desktop-navigation__list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1rem, 2.2vw, 2rem);
  }

  .language-switcher {
    display: block;
  }

  .language-switcher__select {
    min-height: 38px;
    max-width: 132px;
    padding-block: 0.35rem;
    font-size: 0.86rem;
  }

  .concern-grid,
  .benefits-grid,
  .trust-counters__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .collection-grid-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

/* Clean white catalog skin inspired by the supplied cosmetics references. */
:root {
  --color-background: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f7f7f7;
  --color-text: #1f1f1f;
  --color-text-muted: #666666;
  --color-primary: #111111;
  --color-primary-contrast: #ffffff;
  --color-accent: #111111;
  --color-border: #e7e7e7;
  --color-focus: #111111;
  --gradient-soft: linear-gradient(180deg, #ffffff, #fafafa);
  --shadow-soft: 0 8px 24px rgb(0 0 0 / 6%);
  --shadow-lifted: 0 20px 55px rgb(0 0 0 / 12%);
}

body,
.main-cart,
.collection-page,
.product-page {
  background: #ffffff;
}

.egyptian-details .content-for-layout > .shopify-section + .shopify-section .section-spacing::before,
.egyptian-details .site-footer::before,
.egyptian-details .hero-banner::before,
.egyptian-details .hero-banner::after,
.egyptian-details .hero-banner__box::before,
.egyptian-details .section-eyebrow::after,
.egyptian-details .concern-card::before,
.egyptian-details .benefit-card::before,
.egyptian-details .review-card::before,
.egyptian-details .offer-card::before,
.egyptian-details .trust-counter::before,
.egyptian-details .manufacturing-stat::before,
.egyptian-details .collection-card::before,
.egyptian-details .product-card::before,
.egyptian-details .brand-story__inner::before,
.egyptian-details .newsletter-cta__inner::before,
.egyptian-details .brand-story__media::before,
.egyptian-details .newsletter-cta__media::before,
.egyptian-details .product-gallery__stage::before,
.egyptian-details .collection-hero__media::before,
.egyptian-details .collection-hero::before,
.egyptian-details .collection-hero::after,
.lotus-corner::before,
.lotus-corner::after,
.gold-divider::before,
.hieroglyphic-overlay::after {
  content: none;
  display: none;
}

.section-spacing {
  padding-block: clamp(2.5rem, 5vw, 4.75rem);
}

.site-header {
  border-block-end: 1px solid var(--color-border);
  background: rgb(255 255 255 / 96%);
  backdrop-filter: blur(14px);
}

.announcement-bar {
  background: #111111;
  color: #ffffff;
}

.announcement-bar__link,
.announcement-bar__text {
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.desktop-navigation__link,
.mega-menu__summary,
.site-header__logo {
  color: #1f1f1f;
  font-weight: 800;
}

.desktop-navigation__link:hover,
.mega-menu__summary:hover {
  color: #666666;
}

.header-icon-button {
  border-color: transparent;
  background: transparent;
  color: #1f1f1f;
}

.header-icon-button:hover {
  border-color: var(--color-border);
  background: #f7f7f7;
}

.language-switcher__select,
.mobile-language-form select,
.mobile-search input,
.newsletter-form input,
input,
select,
textarea {
  border-color: var(--color-border);
  background: #ffffff;
  color: #1f1f1f;
}

.button,
.shopify-payment-button__button,
.product-form__submit,
.cart-checkout-button {
  border: 1px solid #111111;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  box-shadow: none;
}

.button:hover,
.shopify-payment-button__button:hover,
.product-form__submit:hover,
.cart-checkout-button:hover {
  border-color: #333333;
  background: #333333;
}

.button--secondary {
  border-color: #111111;
  background: #ffffff;
  color: #111111;
}

.button--secondary:hover {
  background: #f3f3f3;
  color: #111111;
}

.hero-banner {
  min-height: clamp(520px, 72vh, 760px);
  border: 0;
  background: #ffffff;
}

.hero-banner__media {
  background: #f5f5f5;
}

.hero-banner__placeholder {
  background: linear-gradient(135deg, #f6f6f6, #ffffff 58%, #eeeeee);
}

.hero-banner__placeholder::before {
  opacity: 0;
}

.hero-banner__overlay {
  background: linear-gradient(90deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 74%), rgb(255 255 255 / 20%));
}

html[dir="rtl"] .hero-banner__overlay {
  background: linear-gradient(270deg, rgb(255 255 255 / 94%), rgb(255 255 255 / 74%), rgb(255 255 255 / 20%));
}

.hero-banner__content {
  min-height: clamp(520px, 72vh, 760px);
  padding-block: clamp(3rem, 8vw, 7rem);
}

.hero-banner__box {
  max-width: 650px;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.hero-banner__heading {
  max-width: 11ch;
  color: #1f1f1f;
  font-size: clamp(3.2rem, 8vw, 7.8rem);
  font-weight: 900;
  line-height: 0.95;
}

.hero-banner__text {
  max-width: 42rem;
  color: #555555;
  font-size: clamp(1rem, 1.7vw, 1.3rem);
}

.section-eyebrow,
.product-card__vendor,
.collection-card__kicker {
  color: #777777;
  letter-spacing: 0;
  text-transform: none;
}

.badge,
.cartouche-badge {
  min-height: auto;
  border: 1px solid #111111;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  box-shadow: none;
}

.cartouche-badge::before,
.cartouche-badge::after {
  content: none;
}

.section-header,
.section-header--split {
  gap: 1rem;
}

.section-header h2,
.brand-story__content h2,
.newsletter-cta__content h2,
.collection-hero__content h1,
.product-info__title {
  color: #1f1f1f;
  font-weight: 900;
  line-height: 1.04;
}

.concern-card,
.benefit-card,
.review-card,
.offer-card,
.trust-counter,
.manufacturing-stat,
.collection-card,
.cart-summary,
.customer-account__nav,
.customer-account__card,
.product-accordion,
.delivery-badge {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.concern-card:hover,
.collection-card:hover,
.offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 7%);
}

.product-card {
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.product-card:hover {
  transform: none;
  box-shadow: none;
}

.product-card__media {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f7f7f7;
}

.product-card__image-link {
  background: #f7f7f7;
}

.product-card__media img {
  object-fit: contain;
  padding: 0.75rem;
}

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

.product-card__info {
  padding-inline: 0.1rem;
}

.product-card__title {
  font-size: 0.96rem;
  line-height: 1.45;
}

.product-card__quick-add {
  width: 100%;
  min-height: 42px;
}

.price {
  color: #111111;
}

.price__compare {
  color: #8a8a8a;
}

.offers-grid,
.reviews-grid,
.featured-collections .collection-grid,
.concern-grid,
.benefits-grid,
.trust-counters__grid,
.manufacturing-stats {
  gap: clamp(0.85rem, 2vw, 1.4rem);
}

.brand-story,
.newsletter-cta,
.reviews,
.featured-collections,
.product-carousel,
.shop-by-concern,
.offers-section,
.ingredients-benefits {
  background: #ffffff;
}

.brand-story__inner,
.newsletter-cta__inner {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.brand-story__media,
.newsletter-cta__media,
.product-gallery__stage,
.collection-hero__media {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f7f7f7;
  box-shadow: none;
}

.collection-hero {
  background: #ffffff;
}

.collection-toolbar,
.collection-filter-drawer,
.mobile-menu,
.cart-drawer,
.drawer__body,
.drawer__header {
  background: #ffffff;
}

.drawer-overlay {
  background: rgb(0 0 0 / 38%);
}

.cart-line {
  border-radius: 8px;
  background: #ffffff;
}

.cart-line__media {
  background: #f7f7f7;
}

.cart-free-shipping__track,
.cart-free-shipping__track span {
  border-radius: 999px;
}

.cart-free-shipping p {
  color: #111111;
}

.site-footer {
  border-block-start: 1px solid var(--color-border);
  background: #ffffff;
}

.social-links a {
  background: #ffffff;
}

.product-shell {
  background: #ffffff;
}

.product-shell__grid {
  gap: clamp(1.25rem, 3vw, 3rem);
}

.product-gallery {
  order: 1;
}

.product-info-panel {
  order: 2;
}

html[dir="rtl"] .product-gallery {
  order: 2;
}

html[dir="rtl"] .product-info-panel {
  order: 1;
}

.product-info-panel__inner {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: none;
}

.product-gallery__stage {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #f7f7f7;
}

.product-gallery__media,
.product-gallery__placeholder {
  aspect-ratio: 1 / 1;
}

.product-gallery__media img,
.product-gallery__media video,
.product-gallery__media model-viewer,
.product-gallery__placeholder {
  object-fit: contain;
  padding: clamp(0.5rem, 1.5vw, 1rem);
}

.product-gallery__thumb {
  border-radius: 8px;
  background: #f7f7f7;
}

.product-gallery__thumb.is-active {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111;
}

.product-vendor {
  color: #666666;
  letter-spacing: 0;
  text-transform: none;
}

.product-title-row {
  display: grid;
  gap: 0.75rem;
}

.product-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.product-price-wrap .price {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.inventory-status {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #f7f7f7;
  color: #111111;
}

.variant-picker__option span {
  border-radius: 4px;
}

.variant-picker__option input:checked + span {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.quantity-selector__control {
  border-radius: 4px;
}

.product-form__buttons {
  gap: 0.75rem;
}

.product-form__submit,
.product-whatsapp {
  width: 100%;
  min-height: 52px;
}

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

.product-accordion {
  border-radius: 8px;
}


.product-gallery {
  order: 1;
}

.product-info-panel {
  order: 2;
}

html[dir="rtl"] .product-gallery {
  order: 2;
}

html[dir="rtl"] .product-info-panel {
  order: 1;
}

.product-info-panel__inner {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #ffffff;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: none;
}

.product-gallery__stage {
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background: #f7f7f7;
}

.product-gallery__media,
.product-gallery__placeholder {
  aspect-ratio: 1 / 1;
}

.product-gallery__media img,
.product-gallery__media video,
.product-gallery__media model-viewer,
.product-gallery__placeholder {
  object-fit: contain;
  padding: clamp(0.5rem, 1.5vw, 1rem);
}

.product-gallery__thumb {
  border-radius: 8px;
  background: #f7f7f7;
}

.product-gallery__thumb.is-active {
  border-color: #111111;
  box-shadow: 0 0 0 1px #111111;
}

.product-vendor {
  color: #666666;
  letter-spacing: 0;
  text-transform: none;
}

.product-title-row {
  display: grid;
  gap: 0.75rem;
}

.product-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.product-price-wrap .price {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.inventory-status {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #f7f7f7;
  color: #111111;
}

.variant-picker__option span {
  border-radius: 4px;
}

.variant-picker__option input:checked + span {
  border-color: #111111;
  background: #111111;
  color: #ffffff;
}

.quantity-selector__control {
  border-radius: 4px;
}

.product-form__buttons {
  gap: 0.75rem;
}

.product-form__submit,
.product-whatsapp {
  width: 100%;
  min-height: 52px;
}

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

.product-accordion {
  border-radius: 8px;
}

@media (max-width: 989px) {
  html[dir="rtl"] .product-gallery,
  html[dir="rtl"] .product-info-panel,
  .product-gallery,
  .product-info-panel {
    order: initial;
  }

  .product-info-panel__inner {
    padding: 1rem;
  }

  .delivery-badges {
    grid-template-columns: 1fr;
  }
}

html[dir="rtl"] .cart-drawer[data-drawer] {
  right: 0;
  left: auto;
  transform: translate3d(105%, 0, 0);
}

html[dir="rtl"] .cart-drawer[data-drawer].is-open {
  transform: translate3d(0, 0, 0);
}

.product-carousel,
.featured-collections .collection-grid,
.shop-by-concern .concern-grid,
.offers-grid,
.reviews-grid,
.ingredients-benefits .benefits-grid,
.trust-counters__grid,
.manufacturing-section__stats {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, calc((100% - 3rem) / 4));
  grid-template-columns: none !important;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-block-end: 0.75rem;
  scroll-behavior: smooth;
  scroll-padding-inline: 1px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.product-carousel > *,
.featured-collections .collection-grid > *,
.shop-by-concern .concern-grid > *,
.offers-grid > *,
.reviews-grid > *,
.ingredients-benefits .benefits-grid > *,
.trust-counters__grid > *,
.manufacturing-section__stats > * {
  min-width: 0;
  scroll-snap-align: start;
}

.product-carousel::-webkit-scrollbar,
.featured-collections .collection-grid::-webkit-scrollbar,
.shop-by-concern .concern-grid::-webkit-scrollbar,
.offers-grid::-webkit-scrollbar,
.reviews-grid::-webkit-scrollbar,
.ingredients-benefits .benefits-grid::-webkit-scrollbar,
.trust-counters__grid::-webkit-scrollbar,
.manufacturing-section__stats::-webkit-scrollbar {
  height: 6px;
}

.product-carousel::-webkit-scrollbar-thumb,
.featured-collections .collection-grid::-webkit-scrollbar-thumb,
.shop-by-concern .concern-grid::-webkit-scrollbar-thumb,
.offers-grid::-webkit-scrollbar-thumb,
.reviews-grid::-webkit-scrollbar-thumb,
.ingredients-benefits .benefits-grid::-webkit-scrollbar-thumb,
.trust-counters__grid::-webkit-scrollbar-thumb,
.manufacturing-section__stats::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cfcfcf;
}

@media (max-width: 989px) {
  .product-carousel,
  .featured-collections .collection-grid,
  .shop-by-concern .concern-grid,
  .offers-grid,
  .reviews-grid,
  .ingredients-benefits .benefits-grid,
  .trust-counters__grid,
  .manufacturing-section__stats {
    grid-auto-columns: minmax(220px, calc((100% - 2rem) / 3));
  }
}

@media (max-width: 1200px) {
  .template-product .product-carousel {
    grid-auto-columns: minmax(190px, calc((100% - 3rem) / 4));
  }
}

/* Product page layout matching the live reference. */
.template-product .product-shell {
  background: #ffffff;
  padding-block: clamp(1.25rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem);
}

.template-product .product-shell .page-width {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.template-product .product-shell__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(2rem, 3.5vw, 3.75rem);
}

.template-product .product-gallery,
.template-product .product-info-panel {
  min-width: 0;
}

.template-product .product-gallery {
  order: 1;
}

.template-product .product-info-panel {
  order: 2;
}

html[dir="rtl"] .template-product .product-gallery {
  order: 2;
}

html[dir="rtl"] .template-product .product-info-panel {
  order: 1;
}

.template-product .product-gallery__stage {
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  background: #f7f7f7;
  box-shadow: none;
}

.template-product .product-gallery__media,
.template-product .product-gallery__placeholder {
  aspect-ratio: 1 / 1;
}

.template-product .product-gallery__media img,
.template-product .product-gallery__media video,
.template-product .product-gallery__media model-viewer,
.template-product .product-gallery__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: clamp(0.45rem, 1vw, 0.75rem);
}

.template-product .product-gallery__thumbs {
  grid-auto-columns: 82px;
}

.template-product .product-info-panel__inner {
  min-height: 0;
  justify-items: start;
  align-content: start;
  gap: 1.15rem;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #ffffff;
  padding: clamp(2.25rem, 5vw, 4.9rem) clamp(2rem, 4vw, 4.1rem) clamp(1.8rem, 3vw, 3rem);
  box-shadow: none;
  text-align: start;
}

.template-product .product-vendor {
  margin: 0 0 clamp(0.5rem, 1.5vw, 1.5rem);
  color: #555555;
  font-size: clamp(0.78rem, 0.8vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.template-product .product-title-row {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  width: 100%;
}

.template-product .product-title {
  max-width: 760px;
  margin: 0;
  color: #222222;
  font-size: clamp(2.7rem, 4.15vw, 4.25rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: 0;
}

.template-product .product-sale-badge {
  justify-self: start;
}

.template-product .product-sale-badge .badge {
  min-height: 2rem;
  border: 1px solid #111111;
  border-radius: 4px;
  background: #ffffff;
  color: #111111;
  padding: 0.25rem 1rem;
  font-size: 0.84rem;
  font-weight: 500;
}

.template-product .product-price-wrap {
  width: 100%;
}

.template-product .product-price-wrap .price {
  justify-content: flex-start;
  gap: 0.5rem;
  color: #000000;
  font-size: clamp(1.18rem, 1.35vw, 1.45rem);
  font-weight: 800;
  line-height: 1.3;
}

.template-product .product-price-wrap .price__compare {
  color: #8a8a8a;
  font-size: 0.94em;
  font-weight: 400;
}

.template-product .product-price-wrap .price--on-sale .price__regular {
  display: none;
}

.template-product .inventory-status {
  min-height: 2.75rem;
  justify-self: start;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  background: #f8f8f8;
  color: #111111;
  padding: 0.45rem 1rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.template-product .product-form {
  width: 100%;
  justify-items: start;
  gap: 1rem;
}

.template-product .variant-picker,
.template-product .quantity-selector {
  justify-items: start;
  width: 100%;
}

.template-product .variant-picker__fieldset {
  width: 100%;
  text-align: start;
}

.template-product .variant-picker__fieldset legend,
.template-product .quantity-selector label {
  margin-block-end: 0.65rem;
  color: #111111;
  font-size: 0.88rem;
  font-weight: 700;
}

.template-product .variant-picker__options {
  justify-content: flex-start;
}

.template-product .variant-picker__option span {
  min-height: 2.45rem;
  border-radius: 5px;
  font-size: 0.92rem;
}

.template-product .quantity-selector__control {
  grid-template-columns: 3.35rem minmax(4.6rem, 6.2rem) 3.35rem;
  border-color: #e3e3e3;
  border-radius: 5px;
}

.template-product .quantity-selector__control button,
.template-product .quantity-selector__control input {
  min-height: 3.45rem;
  font-size: 1rem;
}

.template-product .product-form__buttons {
  width: min(100%, 520px);
  justify-self: start;
  gap: 0.75rem;
  margin-block-start: 0.25rem;
}

.template-product .product-form__submit,
.template-product .product-whatsapp,
.template-product .shopify-payment-button__button {
  width: 100%;
  min-height: 3.35rem;
  border-radius: 8px;
  padding-block: 0.7rem;
  font-size: 0.92rem;
  font-weight: 800;
}

.template-product .shopify-payment-button,
.template-product .shopify-payment-button__button,
.template-product .shopify-payment-button__button--unbranded,
.template-product .product-whatsapp {
  width: min(100%, 520px);
}

.template-product .product-whatsapp {
  justify-self: start;
  margin-block-start: 0;
}

.template-product .product-app-area--info,
.template-product .product-app-area--after-tabs {
  justify-items: start;
}

.template-product .product-app-area :is(a, button, [role="button"]),
.template-product .product-info-panel__inner > :is(a, button, [role="button"]):not(.product-accordion__toggle) {
  width: min(100%, 520px);
  min-height: 3.35rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.template-product .product-form__submit {
  --button-bg: #111111;
  --button-border: #111111;
  --button-color: #ffffff;
}

.template-product .shopify-payment-button__button {
  --button-bg: #2599c9;
  --button-border: #2599c9;
  --button-color: #ffffff;
}

.template-product .product-whatsapp {
  --button-bg: #222222;
  --button-border: #222222;
  --button-color: #ffffff;
}

.template-product .product-app-area,
.template-product .delivery-badges,
.template-product .product-accordions,
.template-product .product-app-area--after-tabs {
  width: 100%;
}

.template-product .delivery-badges:empty,
.template-product .product-app-area:empty {
  display: none;
}

.template-product .product-accordions {
  margin-block-start: 0.3rem;
  border-block-start: 1px solid #cfcfcf;
}

.template-product .product-recommendations > .page-width,
.template-product .recently-viewed > .page-width {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

@media (max-width: 989px) {
  .template-product .product-shell .page-width {
    width: min(100% - 1rem, 760px);
  }

  .template-product .product-shell__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .template-product .product-gallery,
  html[dir="rtl"] .template-product .product-gallery,
  .template-product .product-info-panel,
  html[dir="rtl"] .template-product .product-info-panel {
    order: initial;
  }

  .template-product .product-info-panel__inner {
    min-height: 0;
    padding: 1.25rem;
  }

  .template-product .product-title {
    font-size: clamp(2rem, 9vw, 2.85rem);
    line-height: 1.18;
  }
}

@media (max-width: 760px) {
  .template-product .product-carousel {
    grid-auto-columns: minmax(220px, calc((100% - 0.75rem) / 2));
  }
}

@media (max-width: 520px) {
  .template-product .product-carousel {
    grid-auto-columns: minmax(78vw, 1fr);
  }
}

@media (max-width: 560px) {
  .template-product .product-shell {
    padding-block-start: 0.75rem;
  }

  .template-product .product-shell .page-width {
    width: min(100% - 0.75rem, 560px);
  }

  .template-product .product-info-panel__inner {
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 10px;
  }

  .template-product .product-gallery__stage {
    border-radius: 10px;
  }

  .template-product .product-title {
    font-size: clamp(1.85rem, 8.8vw, 2.45rem);
  }

  .template-product .product-form__submit,
  .template-product .product-whatsapp,
  .template-product .shopify-payment-button__button {
    min-height: 3.15rem;
    font-size: 0.88rem;
  }

  .template-product .product-price-wrap .price {
    font-size: clamp(1.05rem, 5vw, 1.25rem);
  }
}

.rosemary-product-trust-badges {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  width: min(100%, 520px);
  margin-block-start: 0.15rem;
}

.rosemary-product-trust-badge {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  min-width: 0;
  border: 1px solid #eadfce;
  border-radius: 8px;
  background: #fffaf2;
  padding: 0.65rem 0.45rem;
  color: #1f1b17;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.rosemary-product-trust-badge__icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: #f1e2c5;
  color: #917139;
}

.rosemary-product-trust-badge__icon svg {
  width: 0.98rem;
  height: 0.98rem;
  fill: currentColor;
}

.rosemary-product-content {
  background: #fbf7ef;
  color: #1d1a16;
  padding-block: clamp(1rem, 2.6vw, 2rem) clamp(2rem, 4vw, 3.5rem);
}

.rosemary-product-content[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

.rosemary-product-content[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

.rosemary-product-section {
  padding-block: clamp(0.55rem, 1.4vw, 0.95rem);
}

.rosemary-product-section__inner {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.rosemary-product-section__header {
  margin-block-end: 0.85rem;
  text-align: start;
}

.rosemary-product-section__header h2,
.rosemary-product-card h2 {
  margin: 0;
  color: #1f1b17;
  font-size: clamp(1.45rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.rosemary-product-eyebrow {
  margin: 0 0 0.35rem;
  color: #9b7a3b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rosemary-product-card {
  border: 1px solid #eadfce;
  border-radius: 12px;
  background: #ffffff;
  padding: clamp(1.1rem, 2.5vw, 2rem);
  box-shadow: 0 18px 45px rgba(71, 55, 33, 0.07);
  text-align: start;
}

.rosemary-product-card--accent {
  border-color: #dfcfb2;
  background: linear-gradient(135deg, #ffffff, #fff8ec);
}

.rosemary-product-story {
  display: grid;
  gap: 0.5rem;
}

.rosemary-product-richtext,
.rosemary-product-text,
.rosemary-product-reviews-placeholder p {
  color: #5e554b;
  font-size: clamp(0.98rem, 1.35vw, 1.06rem);
  line-height: 1.9;
  direction: inherit;
  text-align: start;
  unicode-bidi: plaintext;
}

.rosemary-product-richtext p,
.rosemary-product-richtext div,
.rosemary-product-richtext li,
.rosemary-product-richtext span,
.rosemary-product-text,
.rosemary-product-reviews-placeholder p {
  margin: 0;
  direction: inherit;
  text-align: start;
  unicode-bidi: plaintext;
}

.rosemary-product-benefits__grid,
.rosemary-product-list-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.rosemary-product-benefit-card,
.rosemary-product-list-item {
  border: 1px solid #eadfce;
  border-radius: 10px;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 12px 30px rgba(71, 55, 33, 0.055);
}

.rosemary-product-benefit-card {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.rosemary-product-benefit-card span {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 35%, #ffffff 0 18%, transparent 19%),
    linear-gradient(135deg, #d8bd82, #f3e5ca);
}

.rosemary-product-benefit-card strong,
.rosemary-product-list-item {
  color: #1f1b17;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.55;
}

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

.rosemary-product-list-item {
  position: relative;
  padding-inline-start: 2.6rem;
}

.rosemary-product-list-item::before {
  position: absolute;
  inset-inline-start: 1rem;
  top: 1.1rem;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: #b79758;
  content: "";
}

.rosemary-product-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.rosemary-product-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  border: 1px solid #e0d1b8;
  border-radius: 999px;
  background: #fffaf2;
  padding: 0.45rem 1rem;
  color: #2c261f;
  font-weight: 800;
  line-height: 1.4;
}

.rosemary-product-pills--cards span {
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(71, 55, 33, 0.05);
}

.rosemary-product-faq {
  display: grid;
  gap: 0.65rem;
}

.rosemary-product-faq__item {
  overflow: hidden;
  border: 1px solid #eadfce;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(71, 55, 33, 0.045);
}

.rosemary-product-faq__item h3 {
  margin: 0;
}

.rosemary-product-faq__item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  color: #1f1b17;
  text-align: start;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.rosemary-product-faq__item button span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;
}

.rosemary-product-content[dir="rtl"] .rosemary-product-faq__item button span:last-child {
  order: -1;
}

.rosemary-product-faq__item button span:last-child {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: #f1e2c5;
  color: #8c6d34;
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  padding-block-end: 0.08em;
}

.rosemary-product-faq__item button[aria-expanded="true"] span:last-child {
  transform: rotate(45deg);
}

.rosemary-product-faq__content {
  border-block-start: 1px solid #f0e7d8;
  padding: 0 1.1rem 1rem;
  color: #5e554b;
  line-height: 1.8;
}

.rosemary-product-faq__content p {
  margin: 0.85rem 0 0;
}

.rosemary-product-reviews-placeholder {
  display: grid;
  gap: 0.35rem;
}

@media (max-width: 900px) {
  .rosemary-product-benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .rosemary-product-trust-badges,
  .rosemary-product-benefits__grid,
  .rosemary-product-list-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-product-trust-badge {
    grid-template-columns: auto 1fr;
    justify-items: start;
    text-align: start;
  }

  .rosemary-product-section__inner {
    width: min(100% - 1rem, 560px);
  }

  .rosemary-product-card,
  .rosemary-product-benefit-card,
  .rosemary-product-list-item {
    border-radius: 10px;
    padding: 1rem;
  }

  .rosemary-product-list-item {
    padding-inline-start: 2.35rem;
  }
}

/* Language, direction, and typography controls. */
:root {
  --type-body-size: var(--body-font-size-desktop, 16px);
  --type-body-size-mobile: var(--body-font-size-mobile, 15px);
  --type-heading-scale: var(--heading-size-scale, 1);
  --type-h1: clamp(2.35rem, calc(5.15vw * var(--type-heading-scale)), 5.25rem);
  --type-h2: clamp(1.9rem, calc(3.65vw * var(--type-heading-scale)), 3.75rem);
  --type-h3: clamp(1.45rem, calc(2.45vw * var(--type-heading-scale)), 2.35rem);
  --type-h4: clamp(1.15rem, calc(1.55vw * var(--type-heading-scale)), 1.55rem);
}

html[lang^="ar"],
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html:not([lang^="ar"])[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

body {
  font-family: var(--font-body);
  font-size: var(--type-body-size);
  line-height: 1.65;
  letter-spacing: 0;
}

html[lang^="ar"] body,
html[dir="rtl"] body,
body.lang-ar,
body.is-rtl,
body.rtl {
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic);
  line-height: 1.8;
  letter-spacing: 0;
}

html[dir="ltr"] body,
body.lang-en,
body.is-ltr,
body.ltr {
  direction: ltr;
  text-align: left;
  font-family: var(--font-body);
  line-height: 1.65;
}

h1,
.h1 {
  font-size: var(--type-h1);
}

h2,
.h2 {
  font-size: var(--type-h2);
}

h3,
.h3 {
  font-size: var(--type-h3);
}

h4,
.h4 {
  font-size: var(--type-h4);
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  letter-spacing: 0;
}

html[lang^="ar"] h1,
html[lang^="ar"] h2,
html[lang^="ar"] h3,
html[lang^="ar"] h4,
html[lang^="ar"] h5,
html[lang^="ar"] h6,
html[lang^="ar"] .font-heading,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .font-heading {
  font-family: var(--font-arabic);
  font-weight: 700;
  line-height: 1.2;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] h4,
html[dir="ltr"] h5,
html[dir="ltr"] h6,
html[dir="ltr"] .font-heading {
  font-family: var(--font-heading);
  line-height: 1.08;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select {
  direction: rtl;
  text-align: right;
}

html[dir="ltr"] input,
html[dir="ltr"] textarea,
html[dir="ltr"] select {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .button,
html[dir="rtl"] .icon-button,
html[dir="rtl"] .shopify-payment-button__button,
html[dir="rtl"] [role="button"],
html[dir="ltr"] .button,
html[dir="ltr"] .icon-button,
html[dir="ltr"] .shopify-payment-button__button,
html[dir="ltr"] [role="button"] {
  text-align: center;
}

html[dir="rtl"] .text-caption,
html[dir="rtl"] .rosemary-header__brand-sub,
html[dir="rtl"] .rosemary-review__stars {
  letter-spacing: 0;
}

html[dir="rtl"] .rosemary-language-switcher,
html[dir="rtl"] .rosemary-language-switcher *,
html[dir="rtl"] .localization-switcher,
html[dir="rtl"] .localization-switcher * {
  direction: rtl;
  font-family: var(--font-arabic);
}

html[dir="ltr"] .rosemary-language-switcher,
html[dir="ltr"] .rosemary-language-switcher *,
html[dir="ltr"] .localization-switcher,
html[dir="ltr"] .localization-switcher * {
  direction: ltr;
  font-family: var(--font-body);
}

@media screen and (max-width: 640px) {
  body {
    font-size: var(--type-body-size-mobile);
  }

  :root {
    --type-h1: clamp(2rem, calc(10vw * var(--type-heading-scale)), 3.25rem);
    --type-h2: clamp(1.65rem, calc(7.5vw * var(--type-heading-scale)), 2.65rem);
    --type-h3: clamp(1.3rem, calc(5.5vw * var(--type-heading-scale)), 1.9rem);
    --type-h4: clamp(1.1rem, calc(4.5vw * var(--type-heading-scale)), 1.4rem);
  }
}

/* Unified professional product cards across the storefront. */
.product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgb(17 17 17 / 5%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: #d8d8d8;
  box-shadow: 0 18px 42px rgb(17 17 17 / 9%);
}

.product-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 0;
  background: #f7f7f7;
}

.product-card__image-link {
  display: block;
  width: 100%;
  height: 100%;
  background: #f7f7f7;
}

.product-card__media img,
.product-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0;
  transition: transform 260ms ease;
}

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

.product-card__badge {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 2;
}

.product-card__wishlist {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-end: 0.75rem;
  z-index: 2;
}

.product-card__info {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 0.55rem;
  align-content: start;
  padding: 0.95rem 1rem 1rem;
  text-align: start;
}

.product-card__vendor {
  margin: 0;
  overflow: hidden;
  color: #777777;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__title {
  margin: 0;
  color: #111111;
  font-family: var(--font-arabic);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.45;
}

html[dir="ltr"] .product-card__title {
  font-family: var(--font-body);
  font-weight: 700;
}

.product-card__title a {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .price {
  display: flex;
  min-height: 1.85rem;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.45rem;
  color: #111111;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
}

html[dir="rtl"] .product-card .price {
  justify-content: flex-start;
}

.product-card .price__regular,
.product-card .price__sale {
  color: #111111;
}

.product-card .price__compare {
  color: #8a8a8a;
  font-size: 0.9em;
  font-weight: 500;
}

.product-card__form {
  align-self: end;
  margin: 0;
}

.product-card__quick-add {
  width: 100%;
  min-height: 2.85rem;
  margin-block-start: 0.25rem;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 800;
}

.rosemary-best__rail > .product-card,
.rosemary-bundles__rail > .product-card,
.product-carousel > .product-card,
.product-carousel__item > .product-card,
.rosemary-collection-grid > .product-card {
  height: 100%;
}

.rosemary-best .product-card,
.rosemary-bundles .product-card {
  scroll-snap-align: start;
}

.rosemary-bundles .product-card {
  border-color: rgb(255 255 255 / 14%);
}

.rosemary-bundles .product-card__info,
.rosemary-best .product-card__info,
.rosemary-collection-grid .product-card__info,
.product-carousel .product-card__info {
  min-height: 11.5rem;
}

.rosemary-bundles .product-card__title,
.rosemary-bundles .product-card__title a,
.rosemary-best .product-card__title,
.rosemary-best .product-card__title a {
  display: -webkit-box;
  min-height: 3.05rem;
  overflow: hidden;
  color: #111111 !important;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rosemary-bundles .product-card__vendor,
.rosemary-best .product-card__vendor {
  color: #777777 !important;
}

.rosemary-bundles .product-card .price,
.rosemary-best .product-card .price {
  margin-block-start: 0.15rem;
  color: #111111 !important;
}

.rosemary-bundles .product-card .price__regular,
.rosemary-bundles .product-card .price__sale,
.rosemary-best .product-card .price__regular,
.rosemary-best .product-card .price__sale {
  color: #111111 !important;
}

@media (max-width: 700px) {
  .product-card__info {
    padding: 0.85rem;
  }

  .product-card__title {
    font-size: 0.96rem;
  }

  .product-card .price {
    font-size: 0.96rem;
  }

  .product-card__quick-add {
    min-height: 2.65rem;
    font-size: 0.88rem;
  }
}
