html[style*="--misli-page"] body,
html[style*="--misli-page"] body.reference-home,
html[style*="--misli-page"] body .site-header,
html[style*="--misli-page"] body.reference-home .site-header,
html[style*="--misli-page"] body.reference-home .editorial-hero,
html[style*="--misli-page"] body.reference-home .category-section,
html[style*="--misli-page"] body .simple-catalog,
html[style*="--misli-page"] body .simple-catalog-head {
  background: var(--misli-page) !important;
}
html[style*="--misli-accent"] body .misli-footer,
html[style*="--misli-accent"] body .product-action.info,
html[style*="--misli-accent"] body .btn-primary {
  background: var(--misli-accent) !important;
  color: var(--misli-accent-ink) !important;
}
html[style*="--misli-accent"] body .misli-footer :is(a,h2,p) { color:var(--misli-accent-ink) !important; }
html[style*="--misli-card"] body .product-card,
html[style*="--misli-card"] body .product-photo,
html[style*="--misli-card"] body .category-live-card,
html[style*="--misli-card"] body .category-image-stage {
  background-color: var(--misli-card) !important;
}
html[style*="--misli-card"] body :is(.product-card,.category-live-card) :is(h3,.product-size,.product-kicker,.category-card-top,.category-caption,.category-bottom) {
  color:var(--misli-card-ink) !important;
}
html[data-misli-pattern="dots"] { --misli-pattern:radial-gradient(#164a3624 1px,transparent 1px); --misli-pattern-size:12px 12px; }
html[data-misli-pattern="lines"] { --misli-pattern:repeating-linear-gradient(135deg,transparent 0 9px,#164a3618 9px 10px); --misli-pattern-size:auto; }
html[data-misli-pattern="grid"] { --misli-pattern:linear-gradient(#164a361a 1px,transparent 1px),linear-gradient(90deg,#164a361a 1px,transparent 1px); --misli-pattern-size:14px 14px; }
html[data-misli-pattern] body :is(.product-card,.product-photo,.category-live-card,.category-image-stage) {
  background-image: var(--misli-pattern) !important;
  background-size: var(--misli-pattern-size) !important;
}
html[data-misli-watermark][data-misli-watermark-position="image"] body :is(.product-photo.real,.category-image-stage,.editorial-photo,.detail-media:has(img)) { position:relative; }
html[data-misli-watermark][data-misli-watermark-position="image"] body :is(.product-photo.real,.category-image-stage,.editorial-photo,.detail-media:has(img))::after {
  content:''; display:block!important; position:absolute; inset:auto 8px 9px auto;
  width:clamp(48px,35%,108px); height:38px; z-index:2; pointer-events:none;
  border-radius:5px; opacity:var(--misli-watermark-opacity,.15);
  background:#fff8ef url('/assets/mislinatural-logo.jpeg') center/92% auto no-repeat;
  transform:none; box-shadow:none;
}
html[data-misli-watermark="text"][data-misli-watermark-position="image"] body :is(.product-photo.real,.category-image-stage,.editorial-photo,.detail-media:has(img))::after {
  content:var(--misli-watermark-text); width:auto; height:auto; max-width:80%; padding:3px 6px;
  background:#fff8ef; color:#173c2e; font:700 11px/1.3 system-ui,sans-serif; overflow-wrap:anywhere;
}
/* One surface for the image, information and actions. */
html body .product-card {
  --misli-card-surface:var(--misli-card,#fff8ef);
  background-color:var(--misli-card-surface)!important;
  border-radius:12px!important;
}
html body .product-card .product-photo {
  height:auto!important;
  min-height:0!important;
  aspect-ratio:4/3;
  isolation:isolate;
  background-color:var(--misli-card-surface)!important;
}
html body .product-card .product-photo.real img {
  position:relative;
  z-index:1;
  width:100%;
  height:100%;
  padding:0!important;
  object-fit:contain!important;
  mix-blend-mode:multiply;
  mask-image:linear-gradient(to right,transparent,#000 5%,#000 95%,transparent),
             linear-gradient(to bottom,transparent,#000 5%,#000 88%,transparent);
  mask-composite:intersect;
}
html body .product-card .product-body { padding:8px 10px 3px!important; }
html body .product-card .product-body h3 {
  margin:4px 0!important;
  line-height:1.24;
  font-size:clamp(15px,2.4vw,20px);
  overflow-wrap:anywhere;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  overflow:hidden;
}
html body .product-card .product-size { margin:3px 0!important; font-size:11px; line-height:1.35; }
html body .product-card .product-kicker { font-size:9px; }
html body .product-card .product-card-actions { gap:4px!important; padding:6px 8px 8px!important; }
html body .product-card :is(.product-detail-link,.product-action.info) { padding:4px 7px!important; min-height:40px; font-size:11px; }
html body .product-card .product-detail-link { background:transparent; }

/* Background mode blends the image over the watermark layer. */
html[data-misli-watermark-position="background"] body :is(.product-photo.real,.category-image-stage) { position:relative; isolation:isolate; }
html[data-misli-watermark-position="background"] body .category-image-stage img { mix-blend-mode:multiply; }
html[data-misli-watermark][data-misli-watermark-position="background"] body :is(.product-photo.real,.category-image-stage)::before {
  content:'';
  display:block!important;
  position:absolute;
  inset:6px 6px auto auto;
  width:clamp(42px,31%,94px);
  height:30px;
  opacity:var(--misli-watermark-opacity,.15);
  background:transparent url('/assets/mislinatural-logo.jpeg') center/contain no-repeat;
  border:0;
  box-shadow:none;
  transform:none;
  z-index:0;
  pointer-events:none;
}
html[data-misli-watermark="text"][data-misli-watermark-position="background"] body :is(.product-photo.real,.category-image-stage)::before {
  content:var(--misli-watermark-text);
  background:none;
  color:#173c2e;
  font:700 11px/1.3 system-ui,sans-serif;
  width:auto;
  height:auto;
  max-width:75%;
  overflow-wrap:anywhere;
}

/* Keep page context, filters and the first row close together. */
html body .category-page-head { padding:14px 0 2px; background:var(--misli-page,#fff8ef); }
html body .category-page-head .back-categories { margin-bottom:8px; }
html body .category-page-head .eyebrow { display:none; }
html body .category-page-head h1 { margin:0 0 6px; font-size:clamp(25px,4vw,36px); line-height:1.2; }
html body .category-page-head p { margin:0; font-size:13px; line-height:1.45; }
html body[data-category-page] .simple-catalog { padding-top:10px; }
html body[data-category-page] .catalog-tools { margin:0; padding:8px 0; }
html body[data-category-page] .catalog-tools label { gap:4px; }
html body[data-category-page] #product-count { margin:8px 0; font-size:11px; }
html body :is(.guide-heading,.guide-faq,.guide-content,.contact-pro-section) { padding-block:22px; }
html body .guide-heading h1 { margin-block:8px; font-size:clamp(26px,4vw,40px); }
html body .guide-heading p { margin-block:0; }
html body .category-section-head { margin-bottom:16px; }
@media(max-width:700px) {
  html body .site-header .header-inner { min-height:60px!important; padding-block:5px; }
  html body .site-header .signature-brand img { width:110px!important; height:48px!important; object-fit:contain; }
  html body .product-grid { gap:9px; }
  html body .product-card .product-body h3 { font-size:15px; }
  html body .product-card .product-body { padding-inline:8px!important; }
}

/* Short catalogue heading, with labelled controls. */
html body.products-page .simple-catalog-head { padding:8px 0 0; }
html body.products-page .simple-catalog-head h1 { margin:0; font-size:clamp(22px,3vw,30px); }
html body.products-page .simple-catalog-head p { display:none; }
html body.products-page .simple-catalog { padding-top:5px; }
html body.products-page .catalog-tools { border:0; padding:4px 0; gap:8px; }
html body.products-page .catalog-tools label { gap:0; font-size:0; }
html body.products-page .catalog-tools :is(input,select) { font-size:13px; min-height:42px; }
html body.products-page #product-count { margin:4px 0 7px; }

/* A product photograph retains its full original composition. */
html body main > section:has(> #dynamic-product-detail) { padding-block:14px 28px; }
html body #dynamic-product-detail { gap:clamp(14px,3vw,38px); align-items:start; }
html body #dynamic-product-detail .detail-media {
  height:auto!important;
  min-height:0;
  border-radius:12px;
  background:var(--misli-page,#fff8ef)!important;
  overflow:visible;
}
html body #dynamic-product-detail .detail-media > img {
  display:block;
  width:100%;
  height:auto!important;
  max-height:520px;
  object-fit:contain!important;
  object-position:center;
  padding:0!important;
  border-radius:12px;
  mix-blend-mode:multiply;
}
html body #dynamic-product-detail .detail-title {
  font-size:clamp(26px,4vw,42px)!important;
  line-height:1.13;
  margin:4px 0 10px!important;
  overflow-wrap:anywhere;
}
@media(max-width:700px) {
  html body main > section:has(> #dynamic-product-detail) { padding-block:8px 20px; }
  html body #dynamic-product-detail { grid-template-columns:minmax(0,1fr); gap:10px; }
  html body #dynamic-product-detail .detail-media > img { max-height:min(280px,42svh); }
  html body #dynamic-product-detail .detail-title { font-size:26px!important; }
}

#dynamic-product-detail .detail-zoom-trigger {
  border:0; background:none; color:#145244; cursor:zoom-in; padding:0; width:100%; display:grid; justify-items:center; gap:6px;
}
html body #dynamic-product-detail .detail-zoom-trigger img {
  display:block; width:100%; height:auto; max-height:520px; object-fit:contain; border-radius:12px; mix-blend-mode:multiply;
}
#dynamic-product-detail .detail-zoom-trigger span { font:600 12px/1.4 system-ui,sans-serif; }
#dynamic-product-detail .detail-section-heading { margin:0 0 6px; font:700 15px/1.3 system-ui,sans-serif; color:#145244; }
#dynamic-product-detail .detail-overview { margin:0 0 14px; }
#dynamic-product-detail .detail-overview p { margin:0 0 7px; }
.misli-image-dialog {
  width:min(95vw,1000px); max-width:none; max-height:92dvh; padding:10px; border:0; border-radius:13px; background:#fff8ef; color:#173c2e;
}
.misli-image-dialog::backdrop { background:#0b201cd9; }
.misli-image-dialog .image-tools { display:flex; justify-content:flex-end; gap:8px; margin-bottom:8px; }
.misli-image-dialog button { padding:7px 10px; min-height:40px; border:1px solid #b6c7bc; border-radius:8px; background:#fffdf8; color:inherit; cursor:pointer; }
.misli-image-dialog .image-scroll { max-height:calc(92dvh - 70px); overflow:auto; }
.misli-image-dialog img { display:block; width:100%; max-width:none; height:auto; object-fit:contain; }
.misli-image-dialog .image-scroll.is-zoomed img { width:200%; }
@media(max-width:700px) {
  html body #dynamic-product-detail .detail-zoom-trigger img { max-height:min(265px,40svh); }
}

body .product-grid:has(.misli-poster-card) { grid-template-columns:repeat(3,minmax(0,1fr)); }
body .misli-poster-card .misli-poster-main { position:relative; display:block; container-type:inline-size; overflow:hidden; }
body .misli-poster-card .misli-poster-img { display:block; width:100%; height:auto; aspect-ratio:700/667; object-fit:cover; }
body .misli-poster-card .misli-poster-caption {
 position:absolute; inset:0 0 auto; padding:7% 8% 6%;
 background:linear-gradient(150deg,#fffe 0%,#fff3 68%,transparent 94%);
 color:#102d23; pointer-events:none;
}
body .misli-poster-card h3 { color:#102d23; margin:.25em 0 0; font:normal clamp(15px,7.5cqw,32px)/1.06 Georgia,serif; text-wrap:balance; }
body .misli-poster-card .product-card-actions { display:grid; grid-template-columns:1fr; gap:5px; padding:6px 9px 9px; }
body .misli-poster-card .product-card-actions :is(a,button) { min-height:44px; }
body .misli-poster-card .product-action.info { background:#164f3d; color:#fff; }
@media(max-width:760px){
 body .product-grid:has(.misli-poster-card) { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 body .misli-poster-card .misli-poster-caption { padding:6% 7%; }
 body .misli-poster-card .product-kicker { font-size:clamp(9px,5.2cqw,11px); }
 body .misli-poster-card .product-card-actions :is(a,button) { font-size:12px; }
}

img[src*="mislinatural-logo.jpeg"] { object-fit:contain; }

/* Approved botanical studio series v44 */
html body .product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
html body .misli-studio-card { overflow:hidden; background:#fff; border:1px solid #dce2d7; border-radius:12px; }
html body .misli-studio-card .product-main-link { display:block; }
html body .misli-studio-card .product-photo { display:block; width:100%; height:auto!important; aspect-ratio:4/5; padding:0!important; background:#eef1e6; overflow:hidden; }
html body .misli-studio-card .product-photo img { display:block; width:100%; height:100%!important; max-height:none; object-fit:cover!important; padding:0!important; mix-blend-mode:normal!important; }
html body .misli-studio-card .product-body { padding:12px; }
html body .misli-studio-card h3 { margin:4px 0; font:normal clamp(17px,2vw,24px)/1.2 Georgia,serif; color:#213e32; }
html body .misli-studio-card .product-card-actions { display:grid; gap:6px; padding:0 10px 10px; }
html body .misli-studio-card .product-action.info { background:#243e33; color:white; min-height:44px; }
html body .category-image-stage .category-slide,html body .editorial-photo .hero-product-link>img { object-fit:cover!important; padding:0!important; mix-blend-mode:normal!important; }
html body #dynamic-product-detail .detail-zoom-trigger img { mix-blend-mode:normal; }
html body .site-header .brand img { max-height:60px!important; width:auto!important; }
html body .reference-brand h1 img { width:min(180px,45vw)!important; height:auto!important; }
@media(max-width:760px){html body .product-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}html body .misli-studio-card .product-body {padding:9px;}html body .misli-studio-card .product-card-actions :is(a,button){font-size:12px;} }

/* Composite original white logo against the current page surface. */
html body img[src*="mislinatural-logo.jpeg"] { mix-blend-mode:multiply!important; background:transparent!important; }
html body .signature-brand, html body .reference-brand h1 { background:transparent!important; }
