/* Marsa — sobrement marin, rapide et mobile-first */
:root {
  --marsa-ocean: #197bbd;
  --marsa-ocean-deep: #145c8d;
  --marsa-coral: #b44534;
  --marsa-coral-dark: #983a2b;
  --marsa-ink: #183342;
  --marsa-muted: #61727a;
  --marsa-sand: #f5f3ef;
  --marsa-line: rgba(24, 51, 66, .12);
  --marsa-white: #ffffff;
  --marsa-shadow: 0 10px 30px rgba(18, 44, 58, .08);
  --marsa-radius: 18px;
  --font-family: 'Inter', 'Tajawal', sans-serif;
  --color-primary: 25, 123, 189;
  --color-button: 180, 69, 52;
  --color-button-text: 255, 255, 255;
  --color-secondary-button: 25, 123, 189;
  --button-border-radius: 12px;
  --input-border-radius: 10px;
  color-scheme: light only;
}
html { scroll-behavior: smooth; }
body { color: var(--marsa-ink); background: var(--marsa-white); font-family: 'Inter', 'Tajawal', sans-serif; }
h1, h2, h3, h4, .title { font-family: 'Lora', 'Tajawal', serif; color: var(--marsa-ink); letter-spacing: -.025em; }
p, label, input, button, select, textarea, a { font-family: 'Inter', 'Tajawal', sans-serif; }
html[dir="rtl"] body, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4, html[dir="rtl"] p, html[dir="rtl"] label, html[dir="rtl"] a, html[dir="rtl"] button { font-family: 'Tajawal', sans-serif; }
.main-container { background: var(--marsa-white); }
.main-container yc-section.marsa-section { display: block; padding: clamp(38px, 6vw, 82px) clamp(20px, 6.5vw, 96px); color: var(--marsa-ink); background: var(--marsa-white); }
.marsa-eyebrow { margin: 0 0 10px; color: var(--marsa-ocean); font-size: 13px; font-weight: 700; letter-spacing: .11em; line-height: 1.35; text-transform: uppercase; }
html[dir="rtl"] .marsa-eyebrow { letter-spacing: 0; }
.marsa-section-head { max-width: 800px; margin: 0 auto 34px; text-align: center; }
.marsa-section-head h2, .marsa-guarantee h2, .marsa-newsletter h2 { margin: 0 0 10px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.16; }
.marsa-section-head > p:last-child { margin: 0; color: var(--marsa-muted); }
.marsa-section-head--split { max-width: 1180px; display: flex; justify-content: space-between; align-items: end; gap: 24px; text-align: start; }
.marsa-section-head--split > p { max-width: 390px; }
.marsa-hero-section { padding: 0 !important; }
.marsa-hero { display: grid; grid-template-columns: minmax(300px, .86fr) minmax(0, 1.14fr); min-height: 510px; align-items: center; gap: clamp(22px, 5vw, 72px); padding: clamp(36px, 6vw, 80px) clamp(20px, 7vw, 104px); background: var(--marsa-sand); }
.marsa-hero__copy { max-width: 580px; }
.marsa-hero__copy h1 { margin: 0 0 16px; max-width: 12ch; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; font-weight: 600; }
.marsa-hero__intro { max-width: 46ch; margin: 0 0 24px; color: var(--marsa-muted); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; }
.marsa-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.marsa-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid transparent; border-radius: 12px; text-decoration: none; font-size: 15px; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.marsa-button:hover { transform: translateY(-1px); box-shadow: var(--marsa-shadow); }
.marsa-button:focus-visible, .marsa-locale a:focus-visible, .marsa-button--primary { color: #fff; background: var(--marsa-coral); }
.marsa-button--primary:hover { color: #fff; background: var(--marsa-coral-dark); }
.marsa-button--secondary { color: var(--marsa-ocean-deep); background: transparent; border-color: var(--marsa-ocean); }
.marsa-hero__note { margin: 16px 0 0; color: var(--marsa-muted); font-size: 13px; }
.marsa-hero__image { min-height: 320px; margin: 0; overflow: hidden; border-radius: 22px; box-shadow: var(--marsa-shadow); }
.marsa-hero__image img { width: 100%; height: min(440px, 43vw); min-height: 320px; display: block; object-fit: cover; }
.marsa-trust-section { padding-block: 24px !important; background: var(--marsa-white) !important; }
.marsa-trust { max-width: 1180px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; list-style: none; }
.marsa-trust li { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--marsa-line); color: var(--marsa-ink); font-size: 14px; font-weight: 600; line-height: 1.35; }
.marsa-trust__icon { flex: 0 0 28px; display: grid; place-items: center; color: var(--marsa-ocean); font-size: 20px; font-weight: 700; }
.marsa-story-section { background: var(--marsa-sand) !important; }
.marsa-steps { max-width: 1060px; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; list-style: none; }
.marsa-steps li { min-height: 150px; display: flex; align-items: flex-start; gap: 18px; padding: 22px 18px; background: var(--marsa-white); border-radius: 14px; box-shadow: var(--marsa-shadow); }
.marsa-step__number { color: var(--marsa-ocean); font-family: 'Lora', serif; font-size: 26px; line-height: 1; }
.marsa-steps h3 { margin: 0 0 8px; font-size: 20px; }
.marsa-steps p { margin: 0; color: var(--marsa-muted); font-size: 15px; line-height: 1.55; }
.marsa-guarantee-section { padding-inline: clamp(20px, 8vw, 120px) !important; }
.marsa-guarantee { max-width: 1000px; margin: auto; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 30px; align-items: start; }
.marsa-guarantee__copy > p:not(.marsa-eyebrow) { max-width: 70ch; color: var(--marsa-muted); line-height: 1.7; }
.marsa-guarantee__copy ul { margin: 20px 0 0; padding-inline-start: 20px; display: grid; gap: 10px; }
.marsa-guarantee__copy li { padding-inline-start: 4px; }
.marsa-testimonials-section { background: var(--marsa-sand) !important; }
.marsa-review-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.marsa-review { min-height: 175px; padding: 24px; background: var(--marsa-white); border-radius: 14px; box-shadow: var(--marsa-shadow); }
.marsa-review__stars { margin: 0 0 12px; color: var(--marsa-ocean); letter-spacing: .1em; }
.marsa-review blockquote { margin: 0 0 18px; color: var(--marsa-ink); line-height: 1.6; }
.marsa-review__name { margin: 0; color: var(--marsa-muted); font-size: 14px; font-weight: 700; }
.marsa-faq-list { max-width: 850px; margin: auto; border-top: 1px solid var(--marsa-line); }
.marsa-faq-item { border-bottom: 1px solid var(--marsa-line); }
.marsa-faq-item summary { min-height: 62px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 16px 4px; color: var(--marsa-ink); font-size: 17px; font-weight: 650; cursor: pointer; list-style: none; }
.marsa-faq-item summary::-webkit-details-marker { display: none; }
.marsa-faq-plus { color: var(--marsa-ocean); font-size: 24px; transition: transform .18s ease; }
.marsa-faq-item[open] .marsa-faq-plus { transform: rotate(45deg); }
.marsa-faq-answer { padding: 0 4px 20px; color: var(--marsa-muted); line-height: 1.7; }
.marsa-faq-answer p { margin: 0; }
.marsa-journal-section { background: var(--marsa-sand) !important; }
.marsa-journal-grid { max-width: 1180px; margin: auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.marsa-journal-card { overflow: hidden; background: var(--marsa-white); border-radius: 14px; box-shadow: var(--marsa-shadow); }
.marsa-journal-card__image { display: block; aspect-ratio: 4/3; overflow: hidden; }
.marsa-journal-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.marsa-journal-card__image:hover img { transform: scale(1.025); }
.marsa-journal-card__content { padding: 18px 20px 22px; }
.marsa-journal-card__category { margin: 0 0 8px; color: var(--marsa-ocean); font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.marsa-journal-card h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.marsa-journal-card__content > p:not(.marsa-journal-card__category) { min-height: 48px; margin: 0 0 14px; color: var(--marsa-muted); line-height: 1.55; }
.marsa-text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--marsa-ocean-deep); font-weight: 700; text-decoration: none; }
.marsa-newsletter-section { background: #eaf3f8 !important; }
.marsa-newsletter { max-width: 1180px; margin: auto; display: grid; grid-template-columns: 1fr minmax(320px, 500px); gap: 34px; align-items: center; }
.marsa-newsletter > div > p:last-child { max-width: 48ch; color: var(--marsa-muted); line-height: 1.6; }
.marsa-newsletter__row { display: flex; gap: 10px; }
.marsa-newsletter__row input { min-height: 48px; background: var(--marsa-white) !important; }
.marsa-newsletter__consent { margin: 10px 0 0; color: var(--marsa-muted); font-size: 12px; line-height: 1.5; }
.marsa-form-message { color: var(--marsa-ink); font-weight: 700; }
.marsa-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.marsa-whatsapp { position: fixed; z-index: 30; inset-inline-end: 18px; inset-block-end: 18px; min-width: 56px; min-height: 56px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border: 0; border-radius: 999px; color: #fff !important; background: #167a55; box-shadow: 0 6px 20px rgba(18,44,58,.2); font-weight: 700; text-decoration: none; }
.marsa-whatsapp:hover { background: #116444; }
.marsa-whatsapp__icon { width: 23px; height: 23px; display: inline-block; }
/* Navigation, logo, locale and accessible theme control */
.marsa-brand-lockup { display: inline-flex; align-items: center; gap: 9px; color: var(--marsa-ocean-deep); font-family: 'Lora', serif; font-size: 25px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.marsa-brand-lockup img { width: 34px; height: 34px; object-fit: contain; }
.docean-wordmark { display: block; max-width: 190px; max-height: 52px; height: auto; object-fit: contain; }
.docean-wordmark--footer { max-height: 42px; }
.marsa-locale { display: inline-flex; align-items: center; gap: 3px; padding-inline: 5px; }
.marsa-locale a { min-width: 36px; min-height: 38px; display: grid; place-items: center; padding: 4px; border-radius: 8px; color: var(--marsa-muted); font-size: 12px; font-weight: 700; text-decoration: none; }
.marsa-locale a[aria-current="true"] { color: var(--marsa-ocean-deep); background: color-mix(in srgb, var(--marsa-ocean) 10%, transparent); }
.marsa-announcement { min-height: 36px; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 5px 14px; color: #fff; background: var(--marsa-ocean-deep); font-size: 13px; text-align: center; }
.marsa-announcement a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.marsa-footer-meta { display: flex; flex-wrap: wrap; gap: 22px 48px; align-items: flex-start; padding-block: 18px; border-top: 1px solid var(--marsa-line); border-bottom: 1px solid var(--marsa-line); }
.marsa-footer-meta p { margin: 4px 0; }
.marsa-footer-meta a { color: inherit; text-underline-offset: 3px; }
.marsa-footer-meta__title { font-weight: 700; }
.marsa-brand-lockup--footer { color: inherit; }
/* Product cards and product experience */
.product-card { position: relative; overflow: hidden; background: var(--marsa-white); border: 1px solid var(--marsa-line); border-radius: 14px; box-shadow: 0 3px 12px rgba(18,44,58,.04); }
.product-card .img-link { display: block; overflow: hidden; background: var(--marsa-sand); }
.product-card .img-link img { transition: transform .25s ease; }
.product-card:hover .img-link img { transform: scale(1.02); }
.product-card .info { padding: 13px; }
.product-card .title { color: var(--marsa-ink); font-family: 'Inter', 'Tajawal', sans-serif; font-size: 16px; font-weight: 650; text-decoration: none; }
.product-card .price { color: var(--marsa-ink); font-weight: 700; }
.product-card .price .compare-at { color: var(--marsa-muted); }
.product-card yc-product-form { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: center; }
.product-card yc-product-form > button { min-height: 44px; }
.product-card yc-quantity-control { min-height: 44px; gap: 0; }
.product-card yc-quantity-control button { min-width: 40px; min-height: 40px; }
.marsa-badge { position: absolute; z-index: 2; inset-block-start: 10px; inset-inline-start: 10px; padding: 5px 9px; border-radius: 999px; color: #fff; background: var(--marsa-ocean-deep); font-size: 12px; font-weight: 700; }
.marsa-badge--sale { background: var(--marsa-ocean-deep); }
.single-product .buy-button { position: sticky; z-index: 10; inset-block-end: 12px; padding: 8px; border-radius: 14px; background: color-mix(in srgb, var(--marsa-white) 92%, transparent); box-shadow: var(--marsa-shadow); }
.single-product .buy-button button, .single-product .buy-button .yc-btn { min-height: 48px; }
.single-product, .product-listing, .cart { color: var(--marsa-ink); }
.product-listing .filter-area, .product-listing .products-area { border-color: var(--marsa-line); }
.marsa-collection-filters { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--marsa-line); }
.marsa-collection-filters .field { min-width: min(100%, 220px); flex: 1; }
.marsa-collection-filters input, .marsa-collection-filters select { min-height: 44px; }
.marsa-filter-empty[hidden], .items-grid [hidden] { display: none !important; }
.marsa-filter-empty { padding: 24px; color: var(--marsa-muted); text-align: center; }
/* Header overrides */
yc-header { color: var(--marsa-ink) !important; border-bottom: 1px solid var(--marsa-line); }
yc-header .links > ul > li > a.yc-btn.link { color: var(--marsa-ink) !important; }
yc-header .logo a { color: var(--marsa-ocean-deep) !important; text-decoration: none; }
/* RTL layout details */
html[dir="rtl"] .marsa-hero { direction: rtl; }
html[dir="rtl"] .marsa-section-head--split { text-align: right; }
html[dir="rtl"] .marsa-whatsapp { inset-inline-end: auto; inset-inline-start: 18px; }
html[dir="rtl"] .marsa-hero__actions { justify-content: flex-start; }
@media (max-width: 900px) {
  .marsa-hero { grid-template-columns: 1fr 1fr; min-height: 420px; }
  .marsa-hero__image img { height: 360px; min-height: 280px; }
  .marsa-trust { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .marsa-steps { grid-template-columns: 1fr; }
  .marsa-steps li { min-height: auto; }
}
@media (max-width: 640px) {
  .main-container yc-section.marsa-section { padding: 42px 20px; }
  .marsa-hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 22px; padding: 0 20px 32px; }
  .marsa-hero__image { min-height: 250px; margin-inline: -20px; border-radius: 0; box-shadow: none; }
  .marsa-hero__image img { width: 100%; height: 58vw; min-height: 250px; max-height: 370px; }
  .marsa-hero__copy h1 { max-width: 14ch; font-size: clamp(34px, 9vw, 46px); }
  .marsa-hero__actions { display: grid; grid-template-columns: 1fr; }
  .marsa-button { width: 100%; }
  .marsa-trust { gap: 4px 10px; }
  .marsa-trust li { padding: 10px 2px; font-size: 12px; }
  .marsa-trust__icon { flex-basis: 22px; font-size: 17px; }
  .marsa-section-head--split { display: block; text-align: center; }
  .marsa-section-head--split > p { margin: 10px auto 0; }
  .marsa-guarantee { grid-template-columns: 1fr; gap: 16px; }
  .marsa-review-grid, .marsa-journal-grid { grid-template-columns: 1fr; }
  .marsa-newsletter { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .marsa-newsletter > div > p:last-child { margin-inline: auto; }
  .marsa-newsletter__row { flex-direction: column; }
  .marsa-whatsapp { width: 56px; min-width: 56px; padding: 0; inset-block-end: 84px; }
  .marsa-whatsapp__label { display: none; }
  .marsa-collection-filters { align-items: stretch; flex-direction: column; }
  .product-card .info { padding: 10px; }
  .marsa-locale { gap: 0; padding-inline: 0; }
  .marsa-locale a { min-width: 28px; min-height: 36px; font-size: 11px; }
    .marsa-footer-meta { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Conversion polish: tactile product cards, confident actions, and clear contact paths */
.marsa-hero__image { position: relative; isolation: isolate; }
.marsa-hero__image-note { position: absolute; inset-inline-start: 16px; inset-block-end: 16px; display: inline-flex; align-items: center; min-height: 40px; padding: 9px 14px; border: 1px solid var(--marsa-line); border-radius: 999px; color: var(--marsa-ink); background: var(--marsa-white); box-shadow: var(--marsa-shadow); font-size: 13px; font-weight: 700; }
.marsa-hero__actions .marsa-button--primary { box-shadow: 0 8px 20px rgba(180,69,52,.2); }
.marsa-hero__actions .marsa-button--secondary { background: color-mix(in srgb, var(--marsa-white) 70%, transparent); }
.marsa-hero__actions .marsa-button--secondary:hover { background: var(--marsa-white); }

.product-card { height: 100%; display: flex; flex-direction: column; border-radius: 18px; border-color: var(--marsa-line); box-shadow: 0 2px 10px rgba(24,51,66,.05); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.product-card .img-link { aspect-ratio: 1 / 1; flex: 0 0 auto; background: var(--marsa-sand); }
.product-card .img-link img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-card .info { flex: 1; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
.product-card .title { min-height: 2.5em; font-size: 16px; line-height: 1.3; }
.product-card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 9px; font-size: 18px; }
.product-card .price .compare-at { font-size: 14px; text-decoration: line-through; }
.product-card yc-product-form { grid-template-columns: 78px minmax(0, 1fr); gap: 8px; margin-block-start: auto; }
.product-card yc-product-form > button.primary, .product-card .info > a.yc-btn { min-height: 46px; border: 0; border-radius: 11px; color: #fff !important; background: var(--marsa-ocean-deep) !important; font-weight: 700; transition: background .18s ease, transform .18s ease; }
.product-card yc-product-form > button.primary:hover, .product-card .info > a.yc-btn:hover { background: var(--marsa-ocean) !important; transform: translateY(-1px); }
.product-card yc-quantity-control { border-radius: 10px; background: var(--marsa-sand); }
.product-card .marsa-badge { inset-block-start: 12px; inset-inline-start: 12px; padding: 7px 11px; box-shadow: 0 3px 12px rgba(24,51,66,.12); }
@media (hover: hover) and (pointer: fine) {
  .product-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--marsa-ocean) 38%, var(--marsa-line)); box-shadow: 0 14px 30px rgba(24,51,66,.12); }
  .product-card:hover .img-link img { transform: scale(1.035); }
}

.marsa-contact-section { color: #fff !important; background: var(--marsa-ocean-deep) !important; }
.marsa-contact { max-width: 1180px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 5vw, 64px); }
.marsa-contact__copy h2 { max-width: 15ch; margin: 0 0 14px; color: #fff; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.marsa-contact__copy > p:last-child { max-width: 38ch; margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }
.marsa-contact-section .marsa-eyebrow { color: #f2c7a5; }
.marsa-contact-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.marsa-contact-option { min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 22px; padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--marsa-line); border-radius: 18px; box-shadow: 0 12px 30px rgba(8,34,50,.12); }
.marsa-contact-option h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; }
.marsa-contact-option p { margin: 0; line-height: 1.6; }
.marsa-contact-option--online { color: var(--marsa-ink); background: var(--marsa-white); }
.marsa-contact-option--online p { color: var(--marsa-muted); }
.marsa-contact-option--phone { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }
.marsa-contact-option--phone p { color: rgba(255,255,255,.84); }
.marsa-contact-option .marsa-button { width: 100%; min-height: 48px; }
.marsa-contact-option .marsa-button--phone { border-color: rgba(255,255,255,.72); color: #fff; background: transparent; }
.marsa-contact-option .marsa-button--phone:hover { color: var(--marsa-ocean-deep); background: #fff; }
.marsa-contact-page { max-width: 980px; margin: 0 auto 42px; }
.marsa-contact-page__intro { margin: 0 auto 28px; text-align: center; }
.marsa-contact-page__intro h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 34px); }
.marsa-contact-page__intro p { margin: 0; color: var(--marsa-muted); font-size: 16px; line-height: 1.65; }
.marsa-contact-page .marsa-contact-options { margin-block-end: 36px; }
.marsa-contact-page .marsa-contact-option--phone { color: var(--marsa-ink); background: var(--marsa-sand); border-color: var(--marsa-line); }
.marsa-contact-page .marsa-contact-option--phone p { color: var(--marsa-muted); }
.marsa-contact-page .marsa-contact-option .marsa-button--phone { border-color: transparent; color: #fff; background: var(--marsa-ocean-deep); }
.marsa-contact-page .marsa-contact-option .marsa-button--phone:hover { background: var(--marsa-ocean); }
.marsa-contact-option a:focus-visible { outline: 3px solid var(--marsa-coral); outline-offset: 3px; }

@media (max-width: 900px) {
  .marsa-contact { grid-template-columns: 1fr; gap: 24px; }
  .marsa-contact__copy h2, .marsa-contact__copy > p:last-child { max-width: 55ch; }
}
@media (max-width: 640px) {
  .marsa-hero__image-note { inset-inline-start: 12px; inset-block-end: 12px; max-width: calc(100% - 24px); font-size: 12px; }
  .product-card .info { gap: 10px; padding: 12px; }
  .product-card yc-product-form { grid-template-columns: 68px minmax(0, 1fr); }
  .marsa-contact-options { grid-template-columns: 1fr; }
  .marsa-contact-option { min-height: 175px; }
  .marsa-contact-page .marsa-contact-options { margin-block-end: 28px; }
}


/* ==========================================================================
   Marsa v1.1 — lisibilité, panier, conversion
   Thème clair uniquement : tous les textes restent lisibles sur fond blanc.
   ========================================================================== */
html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
html, body, .main-container { background: var(--marsa-white); color: var(--marsa-ink); }
yc-section, yc-section label, yc-section .title, yc-section h1, yc-section h2, yc-section h3 { color: var(--marsa-ink); }
yc-section .product-listing h1, .product-listing .title, .product-listing label, .product-listing .count { color: var(--marsa-ink) !important; }
.product-listing label, .marsa-collection-filters label { font-weight: 600; font-size: 14px; }

/* Champs : fond blanc, texte sombre, bordure nette */
input, select, textarea, .marsa-collection-filters input, .marsa-collection-filters select {
  color: var(--marsa-ink) !important; background-color: var(--marsa-white) !important;
  border: 1px solid color-mix(in srgb, var(--marsa-ink) 28%, transparent) !important; border-radius: var(--input-border-radius);
}
input::placeholder, textarea::placeholder { color: var(--marsa-muted) !important; opacity: 1; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(25,123,189,.28); outline-offset: 1px; border-color: var(--marsa-ocean) !important; }

/* Quantité (− 1 +) : visible partout (carte produit, fiche, tiroir, page panier) */
yc-quantity-control {
  display: inline-flex; align-items: center; gap: 0; overflow: hidden;
  border: 1px solid var(--marsa-line); border-radius: 12px; background: var(--marsa-white); color: var(--marsa-ink);
}
yc-quantity-control button, yc-quantity-control .yc-btn.icon {
  width: 38px; min-width: 38px; height: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 0;
  display: grid; place-items: center; background: var(--marsa-sand); color: var(--marsa-ink) !important; cursor: pointer;
}
yc-quantity-control button:hover { background: color-mix(in srgb, var(--marsa-ink) 12%, var(--marsa-sand)); }
yc-quantity-control button svg { width: 16px; height: 16px; stroke: currentColor; }
yc-quantity-control .current-quantity { min-width: 38px; padding-inline: 4px; color: var(--marsa-ink); background: var(--marsa-white); font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
yc-quantity-control .current-quantity [data-current-quantity] { color: var(--marsa-ink); }
yc-quantity-control[data-loading] .current-quantity [data-current-quantity] { color: transparent; }
.product-card yc-quantity-control { background: var(--marsa-white); border-radius: 12px; }

/* Icône panier + pastille du nombre d'articles */
yc-header .actions .cart-btn { color: var(--marsa-ink); }
yc-header .actions .search-btn, yc-header .actions .search-bar .icon { color: var(--marsa-ink); }
yc-header .actions .cart-btn .total-items {
  inset-block-start: -7px; inset-inline-start: -7px; min-width: 20px; height: 20px; padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center; clip-path: none; border-radius: 999px;
  background: var(--marsa-coral); color: #fff; font-size: 11px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 2px var(--marsa-white);
}
yc-header .actions .cart-btn .total-items[hidden] { display: none; }
yc-header .actions .cart-btn .total-amount { color: var(--marsa-ink); font-size: 13px; font-weight: 700; }

/* Tiroir panier */
.cart-drawer { background: var(--marsa-white) !important; color: var(--marsa-ink); }
.cart-drawer .header .title, .cart-drawer .item .name, .cart-drawer .footer .totals { color: var(--marsa-ink); }
.cart-drawer .item .price .original, .cart-drawer [data-price] { color: var(--marsa-coral); font-weight: 700; }
.cart-drawer .item .price .compare-at { color: var(--marsa-muted); text-decoration: line-through; }
.cart-drawer .footer .actions .yc-btn.primary, .cart .summary .yc-btn.primary { background: var(--marsa-coral) !important; color: #fff !important; border: 0; font-weight: 800; min-height: 50px; }
.cart-drawer .footer .actions .yc-btn.primary:hover, .cart .summary .yc-btn.primary:hover { background: var(--marsa-coral-dark) !important; }
.cart-drawer .footer .actions .yc-btn.secondary { color: var(--marsa-ink); background: var(--marsa-white); border: 1px solid var(--marsa-line); }
.marsa-cod-note { margin: 0; padding: 10px 1.5em 0; color: var(--marsa-ocean-deep); font-size: 14px; font-weight: 700; }
.marsa-cod-note::before { content: "✓ "; color: #167a55; }

/* Page panier */
.cart, .cart .summary, .cart .item, .cart .item .name, .cart h1, .cart h2 { color: var(--marsa-ink); }
.cart .summary { background: var(--marsa-sand); border-radius: 18px; }

/* Cartes produit : prix en évidence, bouton d'achat fort */
.product-card .title { color: var(--marsa-ink) !important; }
.product-card .price .current { color: var(--marsa-coral); font-size: 20px; font-weight: 800; }
.product-card .price .compare-at { color: var(--marsa-muted); font-weight: 500; }
.product-card yc-product-form { grid-template-columns: auto minmax(0, 1fr); }
.product-card yc-product-form > button.primary, .product-card .info > a.yc-btn {
  background: var(--marsa-coral) !important; color: #fff !important; box-shadow: 0 6px 14px rgba(180,69,52,.22);
}
.product-card yc-product-form > button.primary:hover, .product-card .info > a.yc-btn:hover { background: var(--marsa-coral-dark) !important; }
.marsa-badge--sale { background: var(--marsa-coral); font-size: 13px; letter-spacing: .01em; }

/* Fiche produit */
.single-product h1, .single-product .title, .single-product .description, .single-product .description * { color: var(--marsa-ink); }
.single-product .price, .single-product [class*="price"] { color: var(--marsa-coral); font-weight: 800; }
.single-product [class*="compare"] { color: var(--marsa-muted); }
.single-product .buy-button {
  background: var(--marsa-white); border: 1px solid var(--marsa-line); box-shadow: 0 -4px 24px rgba(24,51,66,.12);
}
.single-product .buy-button yc-product-form { display: flex; gap: 10px; align-items: stretch; }
.single-product .buy-button yc-product-form > button.primary {
  flex: 1; min-height: 48px; border: 0; border-radius: 12px; background: var(--marsa-coral) !important; color: #fff !important; font-size: 16px; font-weight: 800;
}
.single-product .buy-button yc-product-form > button.primary:hover { background: var(--marsa-coral-dark) !important; }

/* Bloc de réassurance : paiement à la livraison */
.marsa-assurance { margin: 18px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.marsa-assurance li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--marsa-line); border-radius: 14px; background: var(--marsa-sand); color: var(--marsa-ink); }
.marsa-assurance__icon { flex: 0 0 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #167a55; color: #fff; font-size: 13px; font-weight: 800; }
.marsa-assurance strong { display: block; font-size: 15px; }
.marsa-assurance small { display: block; margin-top: 2px; color: var(--marsa-muted); font-size: 13px; line-height: 1.45; }

/* Bandeau d'annonce, en-tête, pied de page */
.marsa-announcement { font-weight: 600; }
yc-header { background: var(--marsa-white); }
footer, footer p, footer a, footer .copyright { color: #fff; }
footer .content .links-box .navigation .links a { color: rgba(255,255,255,.82); }
footer .marsa-footer-meta a { color: #fff; font-weight: 700; }

/* Pages de contenu (Contactez-nous, etc.) */
.page, .page * { color: var(--marsa-ink); }
.marsa-contact-page__title, yc-section-head h1, yc-section-head h2 { color: var(--marsa-ink) !important; }
.marsa-contact-page .marsa-contact-option--online h3, .marsa-contact-page .marsa-contact-option--phone h3 { color: var(--marsa-ink); }
.marsa-contact-page .marsa-contact-option .marsa-button--primary, .marsa-contact-page .marsa-contact-option .marsa-button--phone { color: #fff; }

@media (max-width: 640px) {
  .single-product .buy-button { inset-block-end: 0; border-radius: 14px 14px 0 0; }
  .product-card .price .current { font-size: 17px; }
}


/* ==========================================================================
   Mode clair / sombre (clair par défaut, choix mémorisé)
   ========================================================================== */
html[data-theme="dark"] {
  --marsa-ink: #eaf2f6; --marsa-muted: #b8c8d0; --marsa-sand: #17303d; --marsa-white: #0f212b;
  --marsa-line: rgba(233,242,247,.18); --marsa-shadow: 0 10px 30px rgba(0,0,0,.35);
  --header-bg-color: #0f212b !important; --header-text-color: 234, 242, 246 !important;
}
html[data-theme="dark"] body, html[data-theme="dark"] .main-container { background: var(--marsa-white); color: var(--marsa-ink); }
html[data-theme="dark"] yc-section { --section-bg-color: #0f212b !important; --section-text-color: 234, 242, 246 !important; background-color: #0f212b; color: var(--marsa-ink); }
html[data-theme="dark"] .main-container yc-section.marsa-section { background: var(--marsa-white); }
html[data-theme="dark"] .marsa-story-section, html[data-theme="dark"] .marsa-testimonials-section, html[data-theme="dark"] .marsa-journal-section { background: var(--marsa-sand) !important; }
html[data-theme="dark"] .marsa-newsletter-section { background: #17303d !important; }
html[data-theme="dark"] .marsa-contact-section { background: #123a55 !important; }
html[data-theme="dark"] .marsa-trust-section { background: var(--marsa-white) !important; }
html[data-theme="dark"] .product-card, html[data-theme="dark"] .marsa-steps li, html[data-theme="dark"] .marsa-review, html[data-theme="dark"] .marsa-journal-card { background: var(--marsa-sand); border-color: var(--marsa-line); }
html[data-theme="dark"] .product-card .img-link { background: #1d3a4a; }
html[data-theme="dark"] .product-card .price .current, html[data-theme="dark"] .single-product .price, html[data-theme="dark"] .cart-drawer .item .price .original { color: #ff9a86; }
html[data-theme="dark"] .marsa-eyebrow, html[data-theme="dark"] .marsa-text-link, html[data-theme="dark"] .marsa-step__number, html[data-theme="dark"] .marsa-faq-plus, html[data-theme="dark"] .marsa-brand-lockup { color: #7cc4ef; }
html[data-theme="dark"] .marsa-button--secondary { color: #cfe9f8; border-color: #7cc4ef; }
html[data-theme="dark"] .marsa-locale a[aria-current="true"] { color: #fff; background: rgba(124,196,239,.2); }
html[data-theme="dark"] .marsa-hero { background: var(--marsa-sand); }
html[data-theme="dark"] .marsa-hero__image-note { background: var(--marsa-white); color: var(--marsa-ink); }
html[data-theme="dark"] .marsa-contact-page .marsa-contact-option--phone { background: var(--marsa-sand); }
html[data-theme="dark"] .marsa-assurance li, html[data-theme="dark"] .cart .summary { background: var(--marsa-sand); }
html[data-theme="dark"] yc-header { border-bottom-color: var(--marsa-line); }
html[data-theme="dark"] .yc-btn.secondary { color: var(--marsa-ink); border-color: var(--marsa-line); }
html[data-theme="dark"] .marsa-badge:not(.marsa-badge--sale) { background: #1d6fa8; }

.marsa-theme-toggle { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--marsa-line); border-radius: 50%; color: var(--marsa-ink); background: transparent; font-size: 18px; line-height: 1; cursor: pointer; transition: background .18s ease, transform .18s ease; }
.marsa-theme-toggle:hover { background: var(--marsa-sand); }
.marsa-theme-toggle:active { transform: scale(.94); }
.marsa-theme-toggle:focus-visible { outline: 3px solid var(--marsa-ocean); outline-offset: 3px; }
@media (max-width: 640px) { .marsa-theme-toggle { width: 36px; height: 36px; } }

/* ==========================================================================
   Page « Méthodes de paiement » : paiement à la livraison, animée
   ========================================================================== */
.marsa-pay { max-width: 920px; margin: 0 auto; padding: 8px 0 24px; }
.marsa-pay__card { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: center; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--marsa-line); border-radius: 22px; background: var(--marsa-sand); box-shadow: var(--marsa-shadow); }
.marsa-pay__icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; background: var(--marsa-coral); color: #fff !important; font-size: 34px; animation: marsa-float 3.2s ease-in-out infinite; }
.marsa-pay__card h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.marsa-pay__card p { margin: 0; color: var(--marsa-muted) !important; line-height: 1.65; }
.marsa-pay__steps { margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; counter-reset: pay; }
.marsa-pay__steps li { position: relative; counter-increment: pay; padding: 18px 16px 18px 56px; border: 1px solid var(--marsa-line); border-radius: 16px; background: var(--marsa-white); opacity: 0; transform: translateY(14px); animation: marsa-rise .6s ease forwards; }
.marsa-pay__steps li:nth-child(2) { animation-delay: .18s; }
.marsa-pay__steps li:nth-child(3) { animation-delay: .36s; }
.marsa-pay__steps li::before { content: counter(pay); position: absolute; inset-inline-start: 14px; inset-block-start: 16px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--marsa-coral); color: #fff; font-weight: 800; }
.marsa-pay__steps strong { display: block; margin-bottom: 4px; }
.marsa-pay__steps span { color: var(--marsa-muted) !important; font-size: 14px; line-height: 1.5; }
.marsa-pay__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.marsa-pay__cta .marsa-button--primary { color: #fff !important; animation: marsa-pulse 2.4s ease-in-out infinite; }
@keyframes marsa-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes marsa-rise { to { opacity: 1; transform: none; } }
@keyframes marsa-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(180,69,52,.35); } 50% { box-shadow: 0 0 0 10px rgba(180,69,52,0); } }
@media (max-width: 720px) { .marsa-pay__steps { grid-template-columns: 1fr; } .marsa-pay__card { grid-template-columns: 56px minmax(0,1fr); } .marsa-pay__icon { width: 56px; height: 56px; font-size: 26px; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .marsa-pay__icon, .marsa-pay__cta .marsa-button--primary { animation: none; } .marsa-pay__steps li { opacity: 1; transform: none; animation: none; } }


/* ==========================================================================
   Correctifs v1.2.1 — grille sans débordement, cartes compactes, fiche produit
   ========================================================================== */
html, body { max-width: 100%; }
.main-container { overflow-x: clip; }

/* Grille produits : plus de colonne qui dépasse de l'écran (2 colonnes dès les petits écrans) */
.items-grid { grid-template-columns: repeat(var(--items-columns, 3), minmax(0, 1fr)); }
.items-grid > li { min-width: 0; }
@media (max-width: 1280px) { .items-grid, .items-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 1024px) { .items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px; } }
@media (max-width: 380px)  { .items-grid { grid-template-columns: minmax(0, 1fr) !important; } }
.product-card { min-width: 0; }
/* le conteneur de requêtes est limité aux boutons : un ancêtre « container-type » piégerait la fenêtre « Choisir les options » (position: fixed) dans la carte */
.product-card .card-actions { margin-block-start: auto; min-width: 0; container-type: inline-size; }
.product-card .title { overflow-wrap: anywhere; }

/* Quantité + bouton : côte à côte si la carte est large, empilés sinon */
@container (max-width: 300px) {
  .product-card yc-product-form { grid-template-columns: minmax(0, 1fr); }
  .product-card yc-quantity-control { width: 100%; }
  .product-card yc-quantity-control button { flex: 0 0 44px; }
  .product-card yc-quantity-control .current-quantity { flex: 1; }
  .product-card yc-product-form > button.primary { width: 100%; font-size: 14px; }
}

/* Fiche produit : la barre « Ajouter au panier » ne recouvre plus la description */
.single-product yc-product-info { display: block; min-width: 0; }
.single-product yc-product-info .description { position: relative; margin-block: 12px 18px; overflow-wrap: anywhere; }
.single-product .buy-button { position: static; margin-block: 18px; z-index: auto; box-shadow: var(--marsa-shadow); }
@media (max-width: 768px) {
  .single-product { grid-template-columns: minmax(0, 1fr); }
  .single-product yc-product-media { position: static; }
  .single-product .buy-button { position: sticky; inset-block-end: 0; z-index: 20; margin-block: 18px 0; }
  .single-product { padding-block-end: 90px; }
}


/* ==========================================================================
   Marsa v1.3 — univers océan : vagues, poissons, bulles
   ========================================================================== */
:root {
  --marsa-aqua: #3fb6d9;
  --marsa-foam: #e4f5fb;
  --marsa-foam-deep: #cdeaf5;
  --marsa-card-bg: #fff;
  --marsa-fish-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 32'%3E%3Cpath fill='%23197bbd' d='M2 16C12 4 28 2 40 10l14-8v28l-14-8C28 30 12 28 2 16z'/%3E%3Ccircle cx='14' cy='14' r='2.2' fill='%23fff'/%3E%3C/svg%3E");
  --marsa-fish-coral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 32'%3E%3Cpath fill='%23e86f5d' d='M2 16C12 4 28 2 40 10l14-8v28l-14-8C28 30 12 28 2 16z'/%3E%3Ccircle cx='14' cy='14' r='2.2' fill='%23fff'/%3E%3C/svg%3E");
  --marsa-fish-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 32'%3E%3Cpath fill='%23fff' d='M2 16C12 4 28 2 40 10l14-8v28l-14-8C28 30 12 28 2 16z'/%3E%3C/svg%3E");
  --marsa-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 10Q25 0 50 10T100 10V20H0z'/%3E%3C/svg%3E");
}
html[data-theme="dark"] { --marsa-foam: #12303f; --marsa-foam-deep: #17394b; --marsa-card-bg: #17303d; }

/* Vagues réutilisables */
.marsa-story-section, .marsa-testimonials-section, .marsa-journal-section,
.marsa-contact-section, .marsa-newsletter-section, footer { position: relative; }
.marsa-story-section::before, .marsa-testimonials-section::before, .marsa-journal-section::before,
.marsa-contact-section::before, .marsa-newsletter-section::before, footer::before {
  content: ""; position: absolute; inset-inline: 0; inset-block-start: -19px; height: 20px; pointer-events: none;
  background: currentColor; -webkit-mask: var(--marsa-wave-mask) repeat-x 0 0 / 120px 20px; mask: var(--marsa-wave-mask) repeat-x 0 0 / 120px 20px;
}
.marsa-story-section::before, .marsa-testimonials-section::before, .marsa-journal-section::before { color: var(--marsa-sand); }
.marsa-contact-section::before { color: #145c8d; }
.marsa-newsletter-section::before { color: #eaf3f8; }
html[data-theme="dark"] .marsa-newsletter-section::before { color: #17303d; }
html[data-theme="dark"] .marsa-contact-section::before { color: #123a55; }
footer::before { color: #14425f; }

/* Titres de section : vaguelette sous le titre */
.marsa-section-head h2::after, yc-section-head h2::after, .marsa-pay__card h2::after {
  content: ""; display: block; width: 74px; height: 10px; margin: 12px auto 0; background: var(--marsa-aqua);
  -webkit-mask: var(--marsa-wave-mask) repeat-x 0 0 / 20px 10px; mask: var(--marsa-wave-mask) repeat-x 0 0 / 20px 10px;
  -webkit-mask-position: 0 -3px; mask-position: 0 -3px; transform: scaleY(-1);
}
.marsa-section-head--split h2::after, .marsa-pay__card h2::after { margin-inline: 0; }

/* Bandeau d'annonce et en-tête */
.marsa-announcement { background: linear-gradient(90deg, #0f4c75, #145c8d 45%, #1b86b8); }
yc-header { border-bottom: 3px solid transparent !important; border-image: linear-gradient(90deg, #145c8d, #3fb6d9, #145c8d) 1; }

/* Hero : eau, bulles, banc de poissons, vague */
.marsa-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(circle at 12% 78%, rgba(255,255,255,.75) 0 7px, transparent 8px),
    radial-gradient(circle at 18% 62%, rgba(255,255,255,.55) 0 4px, transparent 5px),
    radial-gradient(circle at 8% 40%, rgba(255,255,255,.6) 0 5px, transparent 6px),
    radial-gradient(circle at 52% 85%, rgba(255,255,255,.6) 0 6px, transparent 7px),
    radial-gradient(circle at 47% 70%, rgba(255,255,255,.45) 0 3px, transparent 4px),
    linear-gradient(180deg, var(--marsa-foam-deep) 0%, var(--marsa-foam) 60%, var(--marsa-white) 100%);
  padding-block-end: clamp(56px, 8vw, 100px);
}
.marsa-hero > * { position: relative; z-index: 2; }
.marsa-hero::before {
  content: ""; position: absolute; z-index: 1; inset-block-start: 8%; inset-inline-start: 0; width: 260px; height: 140px; pointer-events: none; opacity: .9;
  background:
    var(--marsa-fish-blue) 0 44px / 54px 31px no-repeat,
    var(--marsa-fish-coral) 92px 4px / 34px 20px no-repeat,
    var(--marsa-fish-blue) 150px 86px / 28px 16px no-repeat,
    var(--marsa-fish-blue) 196px 36px / 22px 13px no-repeat;
  animation: marsa-swim 34s linear infinite;
}
.marsa-hero::after {
  content: ""; position: absolute; z-index: 3; inset-inline: 0; inset-block-end: -1px; height: 34px; pointer-events: none;
  background: var(--marsa-white); -webkit-mask: var(--marsa-wave-mask) repeat-x 0 0 / 160px 34px; mask: var(--marsa-wave-mask) repeat-x 0 0 / 160px 34px;
  animation: marsa-wave 14s linear infinite;
}
@keyframes marsa-swim { from { transform: translateX(110vw); } to { transform: translateX(-320px); } }
@keyframes marsa-wave { to { -webkit-mask-position: 160px 0; mask-position: 160px 0; } }
html[dir="rtl"] .marsa-hero::before { inset-inline-start: auto; inset-inline-end: 0; animation-direction: reverse; }
.marsa-hero__image { border-radius: 28px 28px 28px 110px; box-shadow: 0 0 0 8px rgba(255,255,255,.7), 0 24px 50px rgba(15,76,117,.22); }
html[data-theme="dark"] .marsa-hero { background:
    radial-gradient(circle at 12% 78%, rgba(124,196,239,.25) 0 7px, transparent 8px),
    radial-gradient(circle at 52% 85%, rgba(124,196,239,.2) 0 6px, transparent 7px),
    linear-gradient(180deg, #0c2634 0%, #10303f 60%, var(--marsa-white) 100%); }
.marsa-hero__copy h1 { color: #0f3a57; }
html[data-theme="dark"] .marsa-hero__copy h1 { color: var(--marsa-ink); }

/* Engagements : icônes dans des bulles */
.marsa-trust li { border-bottom-color: color-mix(in srgb, var(--marsa-aqua) 40%, transparent); }
.marsa-trust__icon { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; background: var(--marsa-foam); color: var(--marsa-ocean-deep); }
.marsa-trust__icon svg { width: 24px; height: 24px; }

/* Promesse : logo Docean */
.marsa-guarantee__logo { box-sizing: border-box; width: 100%; max-width: 190px; padding-block-start: 4px; }
.marsa-guarantee__logo img { width: 100%; height: auto; display: block; }
html[data-theme="dark"] .marsa-guarantee__logo { padding: 8px 12px; border-radius: 12px; background: #fff; }

/* Étapes : numéros en bulles */
.marsa-step__number { flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--marsa-foam); color: var(--marsa-ocean-deep); font-size: 17px; font-weight: 700; }

/* Cartes produit : fond marin, vague au bas de l'image */
.product-card { --marsa-card-bg: var(--marsa-white); }
html[data-theme="dark"] .product-card { --marsa-card-bg: #17303d; }
.product-card .img-link { position: relative; background: linear-gradient(180deg, var(--marsa-foam) 0%, var(--marsa-foam-deep) 100%); }
.product-card .img-link::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .14; pointer-events: none;
  background: var(--marsa-fish-blue) 50% 50% / 38% auto no-repeat;
}
.product-card .img-link > * { position: relative; z-index: 1; }
.product-card .img-link::after {
  content: ""; position: absolute; z-index: 2; inset-inline: 0; inset-block-end: -1px; height: 16px; pointer-events: none;
  background: var(--marsa-card-bg); -webkit-mask: var(--marsa-wave-mask) repeat-x 0 0 / 64px 16px; mask: var(--marsa-wave-mask) repeat-x 0 0 / 64px 16px;
}
.product-card .price .current { color: var(--marsa-coral); }
.single-product yc-product-media .main-image { background: linear-gradient(180deg, var(--marsa-foam), var(--marsa-foam-deep)); }

/* Contact : fond océan profond */
.marsa-contact-section { background: linear-gradient(135deg, #0c3d5f 0%, #145c8d 55%, #1b86b8 100%) !important; }
.marsa-contact-section .marsa-eyebrow { color: #bfe6f5; }

/* Newsletter, pied de page */
.marsa-newsletter-section { background: linear-gradient(180deg, #eaf3f8, #d9eef7) !important; }
html[data-theme="dark"] .marsa-newsletter-section { background: linear-gradient(180deg, #17303d, #123241) !important; }
footer { background: linear-gradient(180deg, #14425f 0%, #0d2e43 100%) !important; margin-block-start: 22px; }
footer::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 46px; pointer-events: none; opacity: .07;
  background: var(--marsa-fish-white) 0 50% / 44px 25px repeat-x;
}
footer .content, footer .copyright { position: relative; z-index: 1; }

/* Page paiement : même univers */
.marsa-pay__card { background: linear-gradient(135deg, var(--marsa-foam), var(--marsa-foam-deep)); }
html[data-theme="dark"] .marsa-pay__card { background: linear-gradient(135deg, #12303f, #17394b); }

@media (max-width: 640px) {
  .marsa-hero::before { width: 200px; height: 110px; inset-block-start: 3%; opacity: .75; }
  .marsa-hero__image { border-radius: 0; box-shadow: none; }
  .marsa-trust__icon { flex-basis: 38px; width: 38px; height: 38px; }
  .marsa-guarantee__logo { max-width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .marsa-hero::before { animation: none; transform: translateX(8vw); }
  .marsa-hero::after { animation: none; }
}

/* ==========================================================================
   Correctifs v1.3.3 — mobile : en-tête et bandeau sans débordement horizontal
   (le logo + menu + panier + FR/AR + thème dépassaient la largeur de l'écran,
   ce qui faisait dézoomer la page sur iPhone et laissait une bande blanche)
   ========================================================================== */
html, body { overflow-x: clip; }
/* le bouton clair/sombre héritait du padding global des boutons (12px 25px) et devenait un ovale */
.marsa-theme-toggle { padding: 0; }

@media (max-width: 768px) {
  /* le conteneur du bandeau avait 10 % de marge de chaque côté : on le remet pleine largeur */
  html #youcan-section--announcement-bar { padding-inline: 0; }
}

@media (max-width: 640px) {
  /* Bandeau d'annonce : deux lignes centrées, sans virgule orpheline */
  .marsa-announcement { flex-direction: column; gap: 2px; padding: 8px 12px; font-size: 12px; line-height: 1.35; }
  .marsa-announcement > span[aria-hidden="true"] { display: none; }

  /* En-tête : une seule ligne qui tient toujours dans l'écran (menu | logo | panier, FR/AR, thème) */
  html yc-header, html yc-header[data-mobile-logo-position] {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    gap: 8px;
    padding: 10px 12px;
  }
  html yc-header > [data-block] { min-width: 0; }
  html yc-header .logo { justify-content: center; }
  html yc-header .logo a { max-width: 100%; }
  html yc-header .logo img, html yc-header .logo .docean-wordmark { width: 170px !important; max-width: 100% !important; height: auto; }
  html yc-header .actions { gap: 4px; }
  html yc-header .drawer-btn, html yc-header .cart-btn { padding: 8px; }
  html yc-header .marsa-theme-toggle { width: 34px; height: 34px; }
}

/* ==========================================================================
   Correctif v1.3.4 — cartes produit : la photo s'affiche en entier
   (la hauteur fixe de 350px + object-fit:cover rognait les poissons sur mobile ;
   product-card.css est chargé après ce fichier, d'où le préfixe "html" pour gagner en priorité)
   ========================================================================== */
html .product-card[data-style$="standard"] .img-link {
  height: auto;
  aspect-ratio: 1 / 1;
  background: #fff; /* les photos produit sont sur fond blanc : pas de bandes colorées autour */
}
html .product-card[data-style$="standard"] .img-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  box-sizing: border-box;
  padding: 8px 8px 22px; /* marge basse = place pour la vague décorative */
}
/* le poisson filigrane ne sert que pour les cartes sans photo */
.product-card .img-link:has(> img)::before { display: none; }

/* ==========================================================================
   Correctif v1.3.4 — fenêtre « Choisir les options » (aperçu rapide)
   Elle est rendue à l'intérieur de la carte produit : tant que la carte avait
   container-type / transform, la fenêtre (position: fixed) restait coincée et
   rognée dans la carte (étroite, tronquée). Désormais :
   ========================================================================== */
/* pas de « soulèvement » au survol quand la fenêtre de la carte est ouverte (un transform piège aussi les éléments fixed) */
html .product-card:has(yc-modal-content[data-visible]) { transform: none; transition: none; }
/* barre de défilement seulement si nécessaire + photo entière dans l'aperçu */
html .product-quick-view .view-box .content { overflow-y: auto; }
html .product-quick-view .view-box .content yc-product-media .main-image { background: #fff; }
html .product-quick-view .view-box .content yc-product-media .main-image img { width: 100%; object-fit: contain; }
