/* Improvements from the September 2026 website review. Loaded after the page stylesheets. */

/* Prices on the homepage cards */
.jz-soap-info-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:10px!important;font-size:14px;line-height:1.5;color:var(--jz-muted)}
.jz-soap-info-price strong{font-size:18px;font-weight:600;color:var(--jz-text)}

/* Ingredients and weight */
.jz-product-details{width:100%;margin-top:14px;border-top:1px solid var(--jz-line);font-size:14px;line-height:1.7;color:var(--jz-muted)}
.jz-product-details summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;font-weight:600;color:var(--jz-text);list-style:none}
.jz-product-details summary::-webkit-details-marker{display:none}
.jz-product-details summary::after{content:"+";font-size:18px;font-weight:400;line-height:1}
.jz-product-details[open] summary::after{content:"\2212"}
.jz-product-details p{margin:0 0 10px!important;overflow-wrap:anywhere}
.jz-product-details strong{color:var(--jz-text);font-weight:600}
.jzp-house-weight{font-weight:400;color:var(--jz-muted)}

/* Customer reviews (shown only when filled in) */
.jz-reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;margin-top:40px}
.jz-review{margin:0;padding:28px;background:#fffdf7;border:1px solid var(--jz-line);border-top:3px solid var(--jz-green);display:flex;flex-direction:column;gap:18px}
.jz-review blockquote{margin:0}
.jz-review blockquote p{font-family:JazizSerif,Georgia,serif;font-size:22px;line-height:1.45;color:var(--jz-text)}
.jz-review figcaption{margin-top:auto;font-size:14px;letter-spacing:.06em;text-transform:uppercase;color:var(--jz-muted)}

/* About: story, process and markets (shown only when filled in) */
.jza-story{padding-block:90px;background:var(--jz-ivory)}
.jza-story-inner{display:grid;grid-template-columns:1fr 1fr;gap:100px;align-items:start}
.jza-story h2{font-size:clamp(3.5rem,5.3vw,5rem);line-height:1.06}
.jza-story-copy p{font-size:1.125rem;line-height:1.9;color:var(--jz-muted);max-width:560px}
.jza-story-copy p+p{margin-top:18px}
.jza-story-copy h3{font-family:JazizSerif,Georgia,serif;font-size:30px;font-weight:400;line-height:1.2;margin:38px 0 12px}
.jza-story-copy>h3:first-child{margin-top:0}

/* Contact and footer email */
.jzc-email-note{font-size:14px!important;line-height:1.8!important;margin-top:6px!important}
.jzc-email-note a{color:inherit;font-weight:600}
.jz-footer-email{margin-top:10px;font-size:16px}
.jz-footer-email:hover{text-decoration:underline}
.jz-footer-contact{flex-wrap:wrap;row-gap:2px;white-space:normal}
.jz-footer-contact>span{white-space:nowrap}
.jz-footer-note{font-size:15px;color:#c6d0bf}

/* Gift note in the personal advice block */
.jzp-gift-note{display:flex;align-items:flex-start;gap:10px;font-weight:600}
.jzp-gift-note .jz-icon{flex-shrink:0;margin-top:4px}

/* Soap finder: add straight to the order */
.jz-finder-match .jz-finder-add{margin-top:14px;min-height:44px;padding:10px 16px;font-size:14px}
.jz-finder-match .jz-finder-added{font-weight:600}

@media(max-width:1000px){.jza-story-inner{gap:48px}}
@media(max-width:760px){
  /* Show a soap in the first screen: title, photo, then the introduction. */
  .jz-hero-copy{display:contents}
  .jz-hero>.jz-hero-copy>.jz-eyebrow{order:1;margin-bottom:0!important}
  .jz-hero>.jz-hero-copy>h1{order:2}
  .jz-hero>.jz-hero-visual{order:3}
  .jz-hero>.jz-hero-copy>.jz-hero-description{order:4;margin-top:0!important}
  .jz-hero>.jz-hero-copy>.jz-actions{order:5;margin-top:0}
  .jz-hero>.jz-hero-copy>.jz-finder-entry{order:6;justify-self:start}
  .jz-hero>.jz-hero-copy>*{padding-inline:4px}
  .jz-hero{gap:22px}
  .jz-hero-photo{aspect-ratio:4/3}
  .jza-story{padding-block:56px}
  .jza-story-inner{grid-template-columns:1fr;gap:28px}
  .jza-story h2{font-size:3.5rem}
  .jz-review{padding:22px}
  .jz-review blockquote p{font-size:20px}
}

/* Compact delivery line on the homepage (full details live on the products page) */
.jz-delivery-short{display:flex;align-items:flex-start;gap:14px;margin-top:40px!important;padding:22px 26px;background:var(--jz-lime);font-size:16px;line-height:1.7}
.jz-delivery-short>.jz-icon{flex-shrink:0;margin-top:4px}
.jz-delivery-short .jz-text-link{display:inline;margin-left:4px;font-weight:600}
/* Every in-page link lands directly below the sticky header (offset measured by jaziz-anchors.js) */
html:has(.jaziz-home){scroll-padding-top:var(--jz-anchor-offset,140px)}
.jzp-product[id],.jzp-selection,.jz-finder,.jzl-article{scroll-margin-top:0}
.jz-soap-info-question .jz-icon{width:16px;height:16px}
@media(max-width:760px){.jz-delivery-short{padding:18px;font-size:15px;margin-top:28px!important}}

/* Sold out: ask to be told when it is back */
.jzp-product-notify{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:10px;font-size:14px;font-weight:600}
.jzp-product-notify .jz-icon{width:16px;height:16px;flex-shrink:0}

/* Teaser line for the Hòfi Moringa market page */
.jz-market-teaser{display:flex;align-items:flex-start;gap:14px;margin-top:16px!important;padding:20px 26px;border:1px solid var(--jz-line);background:#fffdf7;font-size:16px;line-height:1.7}
.jz-market-teaser>.jz-icon{flex-shrink:0;margin-top:4px;color:var(--jz-green)}
.jz-market-teaser strong{font-weight:600}
.jz-market-teaser .jz-text-link{display:inline;margin-left:4px;font-weight:600}
.jza-market{padding-block:0 70px}
.jzc-market{margin-top:40px!important}
@media(max-width:760px){.jz-market-teaser{padding:18px;font-size:15px}.jza-market{padding-block:0 48px}}

/* Homepage: four soaps in one row, the whole card leads to the products page */
.jz-soap-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.jz-soap-gallery .jz-soap-info:not(.jz-soap-info-featured){position:relative}
.jz-soap-gallery .jz-soap-info:not(.jz-soap-info-featured) .jz-soap-info-body{padding:20px}
.jz-soap-gallery .jz-soap-info:not(.jz-soap-info-featured) h3{font-size:24px}
.jz-soap-gallery .jz-soap-info-photo{transition:opacity .2s}
.jz-card-link::after{content:"";position:absolute;inset:0;z-index:1}
.jz-soap-info:has(.jz-card-link:hover) .jz-soap-info-photo{opacity:.9}
@media(max-width:1000px){.jz-soap-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}}
@media(max-width:600px){
  .jz-soap-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .jz-soap-gallery .jz-soap-info:not(.jz-soap-info-featured) .jz-soap-info-body{padding:14px}
  .jz-soap-gallery .jz-soap-info:not(.jz-soap-info-featured) h3{font-size:19px}
  .jz-soap-gallery .jz-soap-info-price{font-size:12px}
  .jz-soap-gallery .jz-soap-info-price strong{font-size:15px}
  .jz-soap-gallery .jz-soap-info-question{font-size:13px;padding-top:12px}
  .jz-soap-gallery .jz-soap-info-featured{grid-column:1/-1}
}
@media(prefers-reduced-motion:reduce){.jz-soap-gallery .jz-soap-info-photo{transition:none}}
.jz-faq-all{margin-top:26px}
