/* TOFI Beauty · Sadeem · v2.1 — replace the previous custom CSS in full. */
body.tofi-v2 {
  --tofi-ink: #362b2b;
  --tofi-muted: #786866;
  --tofi-rose: #96544d;
  --tofi-light: #faf6f2;
  --tofi-line: #e9ddd7;
  --tofi-tint: #f4e8e2;
  --color-primary: #96544d;
  --color-primary-dark: #78403b;
  --color-primary-light: #f4e8e2;
  color: var(--tofi-ink);
  background: #fffdfb;
}
.tofi-v2 [data-tofi-owned], .tofi-v2 [data-tofi-owned] * { box-sizing: border-box; }
.tofi-v2 [data-tofi-replaced-banner], .tofi-v2 [data-tofi-native-gallery] { display: none !important; }
.tofi-v2 :is(a, button, input, summary):focus-visible { outline: 3px solid var(--tofi-rose); outline-offset: 4px; }
.tofi-v2 .store-header { background: #fffdfb; border-bottom: 1px solid var(--tofi-line); }
.tofi-v2 .store-header .main-nav-container, .tofi-v2 .store-header .inner { min-height: 76px; background: #fffdfb; }
.tofi-v2 .store-header .navbar-brand img { width: auto; max-width: 116px; max-height: 60px; object-fit: contain; }
.tofi-v2 .store-header .container { padding-block: 8px; }
.tofi-v2 .store-header :is(a,button) { color: var(--tofi-ink); }
.tofi-v2 :is(.tofi-hero, main#main-content > .container, #product-tabs) { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.tofi-v2 .tofi-eyebrow { color: var(--tofi-rose); font-size: 11px; font-weight: 700; letter-spacing: .2em; margin: 0 0 18px; text-align: start; }
.tofi-v2 .tofi-primary-link { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 54px; padding: 12px 28px; background: var(--tofi-rose); color: #fff; border: 1px solid var(--tofi-rose); border-radius: 8px; font-size: 17px; font-weight: 700; text-decoration: none; }
.tofi-v2 .tofi-primary-link:hover { background: #78403b; }
.tofi-v2 [data-tofi-owned] svg { width: 21px; height: 21px; flex-shrink: 0; }

/* Home: product-first content, with the merchant's native sections retained. */
.tofi-v2 .tofi-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; padding-block: 40px 48px; }
.tofi-v2 .tofi-hero-copy h1 { font-size: clamp(34px, 4.2vw, 58px); font-weight: 700; line-height: 1.35; margin: 0 0 22px; letter-spacing: -.02em; }
.tofi-v2 .tofi-hero-copy h1 span { color: var(--tofi-rose); }
.tofi-v2 .tofi-hero-description { color: var(--tofi-muted); font-size: 18px; line-height: 1.95; margin-bottom: 28px; }
.tofi-v2 .tofi-hero-photo { position: relative; border-radius: 24px 24px 80px 24px; overflow: hidden; background: var(--tofi-tint); }
.tofi-v2 .tofi-hero-photo > img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; }
.tofi-v2 .tofi-photo-caption { position: absolute; bottom: 22px; right: 22px; padding: 10px 18px; background: rgba(255,253,251,.94); color: var(--tofi-ink); border-radius: 6px; font-size: 14px; }
.tofi-v2 .tofi-hero-points { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 26px; color: var(--tofi-muted); font-size: 14px; }
.tofi-v2 .tofi-hero-points > span { display: flex; align-items: center; gap: 6px; }
.tofi-home main#main-content > :is(.s-block,.testimonials-component,.store-features-component,.faq-component,.after-before-component,.special-banner-component) { margin-block: 56px; }
.tofi-home .s-product-card-entry { border: 1px solid var(--tofi-line); border-radius: 18px; overflow: hidden; background: #fff; }
.tofi-home .s-product-card-content { padding: 24px; }
.tofi-home .s-product-card-content-title { font-size: 21px; line-height: 1.6; }
.tofi-home .s-product-card-price { color: var(--tofi-rose); font-weight: 700; }
.tofi-home .s-product-card-image img { object-fit: contain; }
/* A selected list containing one product should not reserve empty card columns. */
.tofi-home salla-products-list[source="selected"][limit="1"] { display: block; width: 100%; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-products-list-wrapper { grid-template-columns: minmax(0,1fr) !important; width: 100%; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-entry { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: 1fr auto; grid-column: 1 / -1; align-items: center; width: 100% !important; max-width: none !important; padding: 0 !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-image { grid-column: 1; grid-row: 1 / 3; width: 100%; height: auto !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: var(--tofi-light); overflow: hidden; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-image a { display: block; width: 100%; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 1; object-fit: contain !important; border-radius: 0 !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content { grid-column: 2; grid-row: 1; width: 100%; min-width: 0; align-self: end; padding: 32px 32px 20px; gap: 16px; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-title { margin: 0 0 12px !important; font-size: 24px !important; line-height: 1.65 !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-title a { display: block; color: var(--tofi-ink) !important; white-space: normal !important; -webkit-line-clamp: unset !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-sale-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-sale-price h4 { margin: 0 !important; color: var(--tofi-rose) !important; font-size: 28px !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer { grid-column: 2; grid-row: 2; width: 100%; align-self: start; margin: 0 !important; padding: 0 32px 32px; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer > div { display: grid !important; grid-template-columns: 44px minmax(0,1fr) 44px; gap: 8px !important; align-items: center; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer salla-add-product-button { display: block; width: 100% !important; min-width: 0; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer button { min-height: 46px; border-radius: 10px !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] salla-add-product-button button { width: 100%; background: #8b4943 !important; border: 1px solid #8b4943 !important; color: #fff !important; font-size: 15px; }
.tofi-home salla-products-list[source="selected"][limit="1"] salla-add-product-button button .s-button-text { color: #fff !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer > div > salla-button > button { width: 44px; padding: 0 !important; background: var(--tofi-light) !important; border: 1px solid var(--tofi-line) !important; color: #78403b !important; }
.tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer svg { fill: currentColor !important; color: inherit; }
.tofi-home .special-banner-component, .tofi-home .s-block--fixed-banner { max-width: 1180px; margin-inline: auto; overflow: hidden; border-radius: 20px; }
.tofi-home .testimonials-component, .tofi-home .store-features-component { background: var(--tofi-light); padding-block: 36px; }
.tofi-home :is(.faq-component,.testimonials-component,.store-features-component) h4 { font-size: 30px; color: var(--tofi-ink); }
.tofi-home .faq-component { max-width: 900px; margin-inline: auto; padding-inline: 20px; }
.tofi-home .faq-item { border: 1px solid var(--tofi-line); border-radius: 12px; margin-block: 12px; background: #fffdfb; overflow: hidden; }
.tofi-home .faq-question { padding: 20px 22px; font-size: 17px; color: var(--tofi-ink); }
.tofi-home .faq-answer { color: var(--tofi-muted); line-height: 1.9; }
.tofi-home .faq-item.active .faq-answer { padding: 0 22px 20px; }

/* Product: the original form remains intact, including validation and stock. */
.tofi-product main#main-content { padding-block: 24px 60px; }
/* TOFI — lighter product breadcrumb bar */
body.product-single nav.breadcrumbs {
  background: #faf6f2 !important;
  background-image: none !important;
  color: #362b2b !important;
  border: 1px solid #e9ddd7 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  margin: 0 auto 20px !important;
  width: calc(100% - 32px) !important;
  max-width: 1180px !important;
  box-sizing: border-box;
  box-shadow: none !important;
  text-align: right !important;
}
body.product-single nav.breadcrumbs .s-breadcrumb-wrapper {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.product-single nav.breadcrumbs :is(salla-breadcrumb, .s-breadcrumb-wrapper, .s-breadcrumb-item, .s-breadcrumb-item span) {
  background: transparent !important;
  color: #362b2b !important;
  opacity: 1 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
}
body.product-single nav.breadcrumbs a {
  color: #78403b !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}
body.product-single nav.breadcrumbs svg {
  fill: #8b7771 !important;
  width: 12px !important;
  height: 12px !important;
}
@media (max-width: 640px) {
  body.product-single nav.breadcrumbs {
    padding: 10px 12px !important;
    margin-bottom: 16px !important;
  }
  body.product-single nav.breadcrumbs .s-breadcrumb-item {
    font-size: 12px !important;
  }
}
.tofi-product .tofi-product-grid { display: grid !important; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.tofi-product .tofi-product-grid > :is(.sidebar,.main-content) { width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; position: static !important; overflow: visible; }
.tofi-product .tofi-product-info { width: 100%; max-width: none !important; }
.tofi-product .tofi-product-info h1 { color: var(--tofi-ink); font-size: 29px; font-weight: 700; line-height: 1.6; margin: 0 0 12px; }
.tofi-product .tofi-product-info > .tofi-eyebrow { margin: 8px 0 14px; }
.tofi-product .tofi-product-intro > p { color: var(--tofi-muted); font-size: 16px; line-height: 1.9; margin: 0 0 18px; }
.tofi-product .tofi-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tofi-product .tofi-chips > span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 6px; color: var(--tofi-muted); background: var(--tofi-light); font-size: 13px; }
.tofi-product .tofi-chips svg { width: 16px; height: 16px; color: var(--tofi-rose); }
.tofi-product .tofi-has-full-details > .product__description { display: none; }
.tofi-product .price-wrapper { margin: 0 0 22px; }
.tofi-product .price-wrapper .total-price { font-size: 34px; color: var(--tofi-rose); line-height: 1.3; }
.tofi-product .price-wrapper :is(.before-price,.price_is_on_sale > span) { font-size: 15px; color: var(--tofi-muted); }
.tofi-product .tofi-option-note { color: var(--tofi-muted); font-size: 13px; line-height: 1.8; margin: 0 0 14px; }
.tofi-product .tofi-purchase-form > salla-product-options { display: block; margin: 0 0 20px; }
.tofi-product .s-product-options-option-label { display: block; font-size: 16px; margin-bottom: 12px; color: var(--tofi-ink); }
.tofi-product .s-product-options-thumbnails-wrapper { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tofi-product .s-product-options-thumbnails-wrapper > .tofi-option-row { position: relative; width: 100%; min-width: 0; margin: 0; }
.tofi-product .tofi-option-row > label { display: flex !important; align-items: center; gap: 18px; width: 100% !important; height: auto !important; min-height: 86px; margin: 0; padding: 10px 14px; border: 1px solid var(--tofi-line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--tofi-ink); }
.tofi-product .tofi-option-row > label > img { width: 62px !important; height: 62px !important; aspect-ratio: 1; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.tofi-product .tofi-option-row > label::before { display: none !important; }
.tofi-product .tofi-option-copy { font-size: 15px; line-height: 1.75; text-align: start; padding-inline-end: 24px; }
.tofi-product .tofi-option-row > p, .tofi-product .tofi-option-row .s-product-options-thumbnails-icon { display: none !important; }
.tofi-product .tofi-option-row > input { display: block !important; position: absolute; width: 1px; height: 1px; opacity: 0; }
.tofi-product .tofi-option-row > label::after { content: ''; position: absolute; inset-inline-end: 16px; top: calc(50% - 9px); width: 18px; height: 18px; border: 1px solid #c8b6af; border-radius: 50%; background: #fff; }
.tofi-product .tofi-option-row > input:checked + label { background: #fbf1eb !important; color: var(--tofi-ink) !important; border-color: var(--tofi-rose) !important; box-shadow: inset 0 0 0 1px var(--tofi-rose); }
.tofi-product .tofi-option-row > input:checked + label :is(img,.tofi-option-copy) { opacity: 1 !important; color: var(--tofi-ink) !important; }
.tofi-product .tofi-option-row > input:checked + label::after { border: 5px solid var(--tofi-rose); }
.tofi-product .tofi-option-row > input:focus-visible + label { outline: 3px solid var(--tofi-rose); outline-offset: 3px; }
.tofi-product .tofi-option-row > input:disabled + label { opacity: .5; cursor: not-allowed; }

/* Checkout stays in its native form. It is never cloned or moved into a fake bar. */
.tofi-product .tofi-purchase-form .sticky-product-bar { position: static !important; display: block; width: 100%; margin: 22px 0 0; padding: 16px !important; border: 1px solid var(--tofi-line) !important; border-radius: 16px !important; background: #fffdfb !important; box-shadow: 0 4px 20px #362b2b06; z-index: auto; box-sizing: border-box; }
.tofi-product .sticky-product-bar__quantity { display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; gap: 16px; margin: 0 0 16px !important; }
.tofi-product .sticky-product-bar__quantity .form-label { margin: 0 !important; font-size: 14px; font-weight: 600; color: var(--tofi-ink); }
.tofi-product .sticky-product-bar__quantity salla-quantity-input { width: 142px; flex: 0 0 142px; }
.tofi-product .s-quantity-input-container { height: 44px !important; min-height: 44px; width: 100%; border: 1px solid var(--tofi-line); border-radius: 10px; background: #fff; display: flex; align-items: center; overflow: hidden; }
.tofi-product .s-quantity-input-button { width: 44px; height: 42px; color: var(--tofi-rose); background: #fff; border: 0; }
.tofi-product .s-quantity-input-button svg { width: 16px; height: 16px; }
.tofi-product .s-quantity-input-input { width: 52px; min-width: 0; height: 42px; text-align: center; color: var(--tofi-ink); border: 0; font-size: 16px; }
.tofi-product salla-add-product-button.sticky-product-bar__btn { display: block; width: 100%; margin: 0 !important; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 10px; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > :is(salla-button,salla-mini-checkout-widget) { display: block; width: 100% !important; min-width: 0; margin: 0 !important; padding: 0 !important; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button:only-child { grid-column: 1 / -1; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-mini-checkout-widget { height: 52px; --color-text: #362b2b; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button > button { --color-text: #fff; box-sizing: border-box; width: 100%; height: 52px !important; min-height: 52px; padding: 8px !important; border-radius: 12px !important; background: #8b4943 !important; border: 1px solid #8b4943 !important; color: #fff !important; font-size: 15px; font-weight: 600; white-space: nowrap; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button > button :is(.s-button-text,span) { color: #fff !important; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button > button:disabled { opacity: .55; }
.tofi-product .sticky-product-bar__btn .s-add-product-button-mini-checkout-content { display: flex; justify-content: center; align-items: center; min-height: 0 !important; height: auto !important; width: 100%; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0; color: #362b2b !important; background: transparent !important; font-size: 15px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.tofi-product .sticky-product-bar__btn > salla-quick-buy { display: block; margin-top: 10px; }
.tofi-product .sticky-product-bar__btn > salla-quick-buy:empty { display: none; margin: 0; }
.tofi-product .sticky-product-bar__btn apple-pay-button { --apple-pay-button-width: 100%; --apple-pay-button-height: 48px; --apple-pay-button-border-radius: 12px; --apple-pay-button-padding: 0; --apple-pay-button-box-sizing: border-box; width: 100%; height: 48px; }
.tofi-product .tofi-purchase-reassurance { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--tofi-line); padding-top: 18px; margin-top: 20px; color: var(--tofi-muted); font-size: 13px; }
.tofi-product .tofi-purchase-reassurance > span { display: flex; align-items: center; gap: 7px; }
.tofi-product .tofi-purchase-reassurance > a { color: var(--tofi-rose); text-underline-offset: 4px; }

/* Accessible gallery. The native image mapping and option inputs are retained. */
.tofi-product .tofi-gallery-host > button { display: none; }
.tofi-product .tofi-gallery-stage { position: relative; background: var(--tofi-light); border-radius: 22px; overflow: hidden; }
.tofi-product .tofi-gallery-open { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.tofi-product .tofi-gallery-open > img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.tofi-product .tofi-gallery-counter { position: absolute; bottom: 14px; right: 14px; background: #fffdfbf2; padding: 5px 12px; border-radius: 20px; font-size: 12px; direction: ltr; pointer-events: none; }
.tofi-product .tofi-gallery-hint { position: absolute; bottom: 14px; left: 14px; background: #fffdfbf2; padding: 5px 12px; border-radius: 20px; font-size: 12px; color: var(--tofi-muted); pointer-events: none; }
.tofi-product .tofi-gallery-thumbs { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.tofi-product .tofi-gallery-thumbs button { min-width: 0; aspect-ratio: 1; padding: 3px; border: 1px solid var(--tofi-line); border-radius: 9px; background: #fff; cursor: pointer; overflow: hidden; }
.tofi-product .tofi-gallery-thumbs button[aria-pressed="true"] { border-color: var(--tofi-rose); box-shadow: inset 0 0 0 1px var(--tofi-rose); }
.tofi-product .tofi-gallery-thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.tofi-v2 .tofi-image-dialog { width: min(900px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 16px; background: var(--tofi-light); overflow: auto; }
.tofi-v2 .tofi-image-dialog::backdrop { background: #241817ba; }
.tofi-v2 .tofi-image-dialog > img { display: block; width: 100%; height: auto; }
.tofi-v2 .tofi-dialog-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border: 1px solid var(--tofi-line); border-radius: 50%; background: #fff; color: var(--tofi-ink); display: grid; place-items: center; cursor: pointer; }
.tofi-product #product-tabs { margin-top: 48px; padding: 0; }
.tofi-product #product-tabs .tabs-header { display: flex; gap: 12px; border-bottom: 1px solid var(--tofi-line); margin: 0; padding: 0; }
.tofi-product #product-tabs .tab-trigger { border: 0; border-radius: 0; min-height: 50px; background: transparent; color: var(--tofi-muted); font-size: 17px; }
.tofi-product #product-tabs button.tab-trigger.is-active { border-bottom: 2px solid var(--tofi-rose); color: var(--tofi-rose); }
.tofi-product #product_description { padding: 28px 0; max-width: 780px; margin-inline: auto; }
.tofi-product #product_description img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 12px; }
.tofi-v2 .store-footer { background: var(--tofi-light); border-top: 1px solid var(--tofi-line); color: var(--tofi-ink); }
.tofi-v2 .tofi-contact { position: fixed; inset-inline-end: 20px; bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 16px; border: 1px solid var(--tofi-line); border-radius: 28px; background: #fffdfb; color: var(--tofi-rose); text-decoration: none; box-shadow: 0 5px 24px #362b2b14; z-index: 20; font-size: 13px; }
.tofi-v2:has(salla-mini-checkout-modal[visible],salla-modal[visible],dialog[open]) .tofi-contact { visibility: hidden; }

@media (max-width: 900px) {
  .tofi-v2 :is(.tofi-hero, main#main-content > .container, #product-tabs) { width: calc(100% - 40px); }
  .tofi-product .tofi-product-grid { gap: 28px; }
  .tofi-product .tofi-product-info h1 { font-size: 24px; }
  .tofi-v2 .tofi-hero { gap: 30px; }
  .tofi-v2 .tofi-hero-description { font-size: 16px; }
}
@media (max-width: 767px) {
  /* One compact photo-led banner; the text remains in normal grid flow for zoom. */
  .tofi-v2 .tofi-hero { grid-template-columns: minmax(0,1fr); gap: 0; padding: 0; margin-top: 16px; margin-bottom: 28px; border-radius: 18px; overflow: hidden; isolation: isolate; background: var(--tofi-light); }
  .tofi-v2 .tofi-hero-photo, .tofi-v2 .tofi-hero-copy { grid-area: 1 / 1; min-width: 0; }
  .tofi-v2 .tofi-hero-photo { min-height: 440px; border-radius: 0; }
  .tofi-v2 .tofi-hero-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 20%; }
  .tofi-v2 .tofi-hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(250,246,242,.12) 42%, rgba(250,246,242,.96) 66%, #faf6f2 80%); }
  .tofi-v2 .tofi-hero-copy { position: relative; z-index: 1; align-self: end; padding: 24px 20px 20px; }
  .tofi-v2 .tofi-hero-copy h1 { font-size: 26px; line-height: 1.45; margin: 0 0 16px; }
  .tofi-v2 .tofi-hero-copy > .tofi-eyebrow, .tofi-v2 .tofi-hero-description, .tofi-v2 .tofi-photo-caption { display: none; }
  .tofi-v2 .tofi-hero .tofi-primary-link { width: 100%; min-height: 46px; padding: 10px 16px; font-size: 15px; gap: 24px; border-radius: 10px; }
  .tofi-v2 .tofi-hero-points { justify-content: space-between; gap: 8px; font-size: 11px; margin-top: 14px; color: #685651; }
  .tofi-v2 .tofi-hero-points svg { width: 15px; height: 15px; }
  .tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-entry { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; }
  .tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-image { grid-column: 1; grid-row: 1; }
  .tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content { grid-column: 1; grid-row: 2; align-self: auto; padding: 20px 20px 16px; }
  .tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-title { font-size: 20px !important; margin-bottom: 12px !important; }
  .tofi-home salla-products-list[source="selected"][limit="1"] .s-product-card-content-footer { grid-column: 1; grid-row: 3; padding: 0 20px 20px; }
}
@media (max-width: 640px) {
  .tofi-v2 :is(.tofi-hero, main#main-content > .container, #product-tabs) { width: calc(100% - 32px); }
  .tofi-v2 .store-header .main-nav-container, .tofi-v2 .store-header .inner { min-height: 64px; }
  .tofi-v2 .store-header .navbar-brand img { max-width: 88px; max-height: 45px; }
  .tofi-home main#main-content > :is(.s-block,.testimonials-component,.store-features-component,.faq-component,.after-before-component,.special-banner-component) { margin-block: 32px; }
  .tofi-product main#main-content { padding-block: 16px 36px; }
  .tofi-product .tofi-product-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .tofi-product .tofi-gallery-stage { border-radius: 16px; }
  .tofi-product .tofi-gallery-thumbs { gap: 5px; margin-top: 8px; }
  .tofi-product .tofi-gallery-thumbs button { padding: 2px; border-radius: 6px; }
  .tofi-product .tofi-product-info h1 { font-size: 22px; line-height: 1.6; }
  .tofi-product .tofi-product-info > .tofi-eyebrow { margin-top: 0; font-size: 10px; }
  .tofi-product .tofi-product-intro > p { font-size: 15px; }
  .tofi-product .tofi-chips { gap: 6px; margin-bottom: 20px; }
  .tofi-product .tofi-chips > span { font-size: 12px; padding: 6px 9px; }
  .tofi-product .price-wrapper .total-price { font-size: 30px; }
  .tofi-product .tofi-option-row > label { gap: 12px; padding: 10px; }
  .tofi-product .tofi-option-copy { font-size: 14px; }
  .tofi-product .tofi-purchase-form .sticky-product-bar { margin-top: 20px; }
  .tofi-product .sticky-product-bar__btn .s-add-product-button-main { gap: 8px; }
  .tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button > button { font-size: 15px; }
  .tofi-product #product-tabs { margin-top: 32px; }
  .tofi-v2 .tofi-contact { width: 46px; height: 46px; padding: 0; inset-inline-end: 14px; bottom: max(14px, env(safe-area-inset-bottom)); }
  .tofi-v2 .tofi-contact > span { display: none; }
  .tofi-product .tofi-purchase-reassurance { padding-bottom: 24px; }
}
@media (max-width: 375px) {
  .tofi-v2 .tofi-hero-photo { min-height: 420px; }
  .tofi-v2 .tofi-hero-copy h1 { font-size: 24px; }
  .tofi-product .tofi-purchase-form .sticky-product-bar { padding: 12px !important; }
  .tofi-product .sticky-product-bar__btn .s-add-product-button-main > salla-button > button, .tofi-product .sticky-product-bar__btn .s-add-product-button-mini-checkout-content { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .tofi-v2 [data-tofi-owned] * { scroll-behavior: auto; transition: none; animation: none; }
}