:root{--container:1180px;--text:#111;--muted:#666;--line:#ddd;--bg:#fff;--soft:#f6f6f6;--primary:#111;--font-body:"Inter";--font-heading:"Poppins";--body-weight:400;--heading-weight:700;--h1-size:48px;--h1-color:#111;--h2-size:38px;--h2-color:#111;--h3-size:30px;--h3-color:#111;--h4-size:24px;--h4-color:#111;--h5-size:20px;--h5-color:#111;--h6-size:16px;--h6-color:#111;--p-size:16px;--p-color:#444}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font-body);font-size:var(--p-size);line-height:1.55;font-weight:var(--body-weight);color:var(--text);background:var(--bg);overflow-x:hidden;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body,button,input,textarea,select{font-family:var(--font-body)}
p,li,blockquote,td,th,label,input,textarea,select,button,a,span,div{font-weight:var(--body-weight)}
h1,h2,h3,h4,h5,h6,.card > strong:first-child,.brand-fallback{font-family:var(--font-heading);font-weight:var(--heading-weight)}
.section-richtext strong,.section-richtext b,.richtext strong,.richtext b{font-weight:700 !important}
.section-richtext em,.section-richtext i,.richtext em,.richtext i{font-style:italic !important}
.section-richtext u,.richtext u{text-decoration:underline !important;text-underline-offset:2px}
a{color:inherit}
.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.btn{display:inline-block;padding:var(--btn-padding-y) var(--btn-padding-x);background:var(--btn-bg);color:var(--btn-text);text-decoration:none;border-style:var(--btn-border-style);border-color:var(--btn-border-color);border-width:var(--btn-border-top-width) var(--btn-border-right-width) var(--btn-border-bottom-width) var(--btn-border-left-width);border-radius:var(--btn-radius-top-left) var(--btn-radius-top-right) var(--btn-radius-bottom-right) var(--btn-radius-bottom-left);transition:background-color .2s ease,color .2s ease,border-color .2s ease;cursor:pointer;appearance:none}
.btn:hover,.btn:focus-visible{background:var(--btn-hover-bg);color:var(--btn-hover-text);border-color:var(--btn-hover-border-color)}
.btn--ghost{background:#fff;color:var(--primary)}
.btn--secondary{opacity:.92}
.section{padding:0}
.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.card{padding:24px;border:1px solid var(--line);background:#fff}
.two-col{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:32px;align-items:center}
.two-col--reverse > :first-child{order:2}
.muted{color:var(--muted)}

.site-header,.site-footer{border-bottom:1px solid var(--line)}
.site-footer{border-top:1px solid var(--line);border-bottom:0;margin-top:64px}
.site-header__row,.site-footer__row{display:flex;align-items:center;justify-content:space-between;padding:18px 0;gap:24px}
.brand-link{display:flex;align-items:center;gap:18px;text-decoration:none;color:inherit;min-width:0;flex:0 0 auto}
.brand-fallback{font-family:var(--font-heading);font-size:20px;line-height:1.2}
.site-logo{display:block;width:auto;height:auto;max-width:320px;max-height:96px;object-fit:contain;flex:0 0 auto}
.site-logo--footer{max-height:48px;max-width:220px}
.nav{display:flex;gap:20px;align-items:center;flex-wrap:wrap}
.nav a{text-decoration:none}
.nav-toggle{display:none;appearance:none;background:#fff;border:1px solid var(--line);padding:10px;width:46px;height:46px;align-items:center;justify-content:center;flex-direction:column;gap:5px;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:#111}

body.header-fixed .site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:var(--bg);
}
body.header-fixed .site-header::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:1px;
  background:var(--line);
  pointer-events:none;
}
body.header-fixed .site-header .nav{z-index:1001}
body.header-fixed.admin-preview .site-header{top:var(--preview-bar-height,64px)}

h1,h2,h3,h4,h5,h6{font-family:var(--font-heading);margin:0 0 16px;line-height:1.2}
h1{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h1-size);color:var(--h1-color)}
h2{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h2-size);color:var(--h2-color)}
h3{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h3-size);color:var(--h3-color)}
h4{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h4-size);color:var(--h4-color)}
h5{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h5-size);color:var(--h5-color)}
h6{font-family:var(--font-heading);font-weight:var(--heading-weight);font-size:var(--h6-size);color:var(--h6-color)}
.card > strong:first-child{display:block;font-family:var(--font-heading);font-weight:var(--heading-weight);color:var(--h4-color);font-size:var(--h4-size);line-height:1.25;margin:0 0 10px}
p{font-size:var(--p-size);font-weight:var(--body-weight);color:var(--p-color);margin:0 0 16px}

.section-shell{
    position:relative;
    background-color:var(--section-bg-color, transparent);
    color:var(--section-text-color, inherit);
    overflow:hidden;
    background-image:var(--section-bg-image);
    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;
    min-height:auto;
}
.section-shell::before{
    content:"";
    position:absolute;
    inset:0;
    background:var(--section-overlay-color, transparent);
    opacity:var(--section-overlay-opacity, 0);
    pointer-events:none;
    z-index:1;
}
.section-shell__inner{
    position:relative;
    z-index:2;
    padding-top:var(--section-padding-top, 72px);
    padding-bottom:var(--section-padding-bottom, 72px);
}
.section-divider{
    position:absolute;
    left:0;
    width:100%;
    line-height:0;
    pointer-events:none;
    z-index:3;
    transform:translateY(var(--divider-offset, 0px));
}
.section-divider svg{
    display:block;
    width:100%;
    height:100%;
}
.section-divider--top{
    top:0;
}
.section-divider--bottom{
    bottom:0;
}
.section-divider--flip svg{
    transform:scaleX(-1);
    transform-origin:center;
}
.section-shell .container{
    max-width:var(--section-content-width, var(--container));
}
.section-shell{color:inherit}
.section-shell p,
.section-shell li,
.section-shell .eyebrow{color:var(--section-text-color, var(--p-color))}
.section-shell h1{color:var(--section-text-color, var(--h1-color))}
.section-shell h2{color:var(--section-text-color, var(--h2-color))}
.section-shell h3{color:var(--section-text-color, var(--h3-color))}
.section-shell h4{color:var(--section-text-color, var(--h4-color))}
.section-shell h5{color:var(--section-text-color, var(--h5-color))}
.section-shell h6{color:var(--section-text-color, var(--h6-color))}

.hero.hero--background{
    position:relative;
    display:flex;
    align-items:center;
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
    overflow:hidden;
    min-height:420px;
}
.hero.hero--background::before{
    content:"";
    position:absolute;
    inset:0;
    background:var(--hero-overlay-color,#000000);
    opacity:var(--hero-overlay-opacity,0.35);
}
.hero.hero--background.hero--fallback{background:linear-gradient(180deg,#f2f2f2 0%,#e8e8e8 100%)}
.hero__inner{position:relative;z-index:1;width:100%;padding:0}
.hero__content{max-width:var(--hero-content-max,700px)}
.hero.hero--with-image .eyebrow,.hero.hero--with-image h1,.hero.hero--with-image p{color:var(--hero-text-color,#ffffff)}
.hero.hero--fallback .eyebrow,.hero.hero--fallback h1,.hero.hero--fallback p{color:#111111}
.code-embed iframe,.code-embed script,.code-embed div{max-width:100%}

@media (max-width:900px){
  .grid-3,.two-col,.two-col--reverse{grid-template-columns:1fr}
  .two-col--reverse > :first-child{order:0}
  .nav-toggle{display:flex}
  .nav{display:none;position:absolute;left:20px;right:20px;top:100%;background:#fff;border:1px solid var(--line);padding:14px;flex-direction:column;align-items:flex-start;z-index:30}
  body.nav-open .nav{display:flex}
  .site-header{position:relative}
  .site-header__row{position:relative}
  .hero.hero--background{min-height:360px}
  .hero h1{font-size:min(36px,var(--h1-size))}
  .site-logo{max-width:220px;max-height:70px}
  .section-shell__inner{padding-top:56px;padding-bottom:56px}
}
@media (max-width:640px){
  .container{padding:0 16px}
}


.section-richtext,.richtext{font-family:var(--font-body);font-weight:var(--body-weight);line-height:1.7}
.section-richtext :where(p,ul,ol,li,a,span,strong,b,em,i,u,blockquote,figcaption),
.richtext :where(p,ul,ol,li,a,span,strong,b,em,i,u,blockquote,figcaption){font-family:var(--font-body)}
.section-richtext > *:first-child{margin-top:0}
.section-richtext > *:last-child{margin-bottom:0}
.section-richtext p{margin:0 0 1em}
.section-richtext ul,.section-richtext ol{margin:0 0 1em 1.25em}
.section-richtext h2{margin:0 0 .6em;font-size:1.5em;font-family:var(--font-heading);font-weight:var(--heading-weight)}
.section-richtext h3{margin:0 0 .6em;font-size:1.25em;font-family:var(--font-heading);font-weight:var(--heading-weight)}
.section-richtext strong,.section-richtext b,.richtext strong,.richtext b{font-weight:700}
.section-richtext em,.section-richtext i,.richtext em,.richtext i{font-style:italic}
.section-richtext u,.richtext u{text-decoration:underline;text-underline-offset:2px}
.section-richtext span[style*="font-weight"],.richtext span[style*="font-weight"]{font-weight:inherit}
.section-richtext span[style*="font-style:italic"],.richtext span[style*="font-style:italic"]{font-style:italic}
.section-richtext span[style*="text-decoration:underline"],.section-richtext span[style*="text-decoration-line:underline"],.richtext span[style*="text-decoration:underline"],.richtext span[style*="text-decoration-line:underline"]{text-decoration:underline;text-underline-offset:2px}



/* Blog */
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}
.blog-hero{padding:64px 0 28px}
.blog-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.05;margin:0 0 12px}
.blog-intro{font-size:18px;line-height:1.7;max-width:760px;color:#555}
.blog-meta{font-size:14px;color:#777;margin-top:10px}
.blog-badge{display:inline-block;padding:6px 10px;border-radius:999px;background:#f3f3f3;color:#111;font-size:13px;margin-bottom:12px}
.blog-featured{padding:0 0 28px}
.blog-featured img{width:100%;display:block;border-radius:18px}
.blog-list{padding:20px 0 60px}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.blog-card{background:#fff;border:1px solid #e8e8e8;border-radius:18px;overflow:hidden}
.blog-card-image img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.blog-card-body{padding:18px}
.blog-card h2{font-size:22px;line-height:1.2;margin:0 0 10px}
.blog-card h2 a{text-decoration:none;color:inherit}
.blog-card p{margin:0;color:#555;line-height:1.7}
@media (max-width:900px){.blog-grid{grid-template-columns:1fr}}


/* Rich text images */
.section-richtext img,
.richtext img{
  display:block;
  max-width:100%;
  height:auto;
  margin:18px 0;
  border-radius:12px;
}
.section-richtext figure,
.richtext figure{
  margin:18px 0;
}
.section-richtext figcaption,
.richtext figcaption{
  font-size:14px;
  color:var(--muted);
  margin-top:8px;
}


/* Rich text images final fix */
.section-richtext img,
.richtext img,
.blog-content img{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  max-width:100% !important;
  width:auto !important;
  height:auto !important;
  margin:18px 0 !important;
  border-radius:12px;
}
.section-richtext p > img:only-child,
.richtext p > img:only-child{
  display:block !important;
}


/* Rich text images preview/frontend */
.section-richtext img,
.section-richtext--media img,
.richtext img{
  display:block !important;
  max-width:100% !important;
  height:auto !important;
  margin:18px 0 !important;
  border-radius:12px;
}

.nav-item{position:relative;display:flex;align-items:center}
.nav-item--has-children > a{padding-right:4px}
.nav-submenu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--line);padding:10px;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.08);z-index:40;flex-direction:column;gap:10px}
.nav-item--has-children:hover .nav-submenu{display:flex}
@media (max-width:980px){
  .nav-item{width:100%;display:block}
  .nav-submenu{display:flex;position:static;border:0;box-shadow:none;padding:8px 0 0 14px;min-width:0;gap:8px}
}

.nav-item--has-children{position:relative}
.nav-item--has-children > a{padding-right:4px}
.nav-submenu{display:none;position:absolute;top:100%;left:0;min-width:220px;background:#fff;border:1px solid var(--line);padding:10px;border-radius:12px;box-shadow:0 10px 24px rgba(0,0,0,.08);z-index:40;flex-direction:column;gap:10px}
.nav-item--has-children:hover > .nav-submenu{display:flex}
.nav-submenu .nav-item--has-children{position:relative}
.nav-submenu .nav-submenu{top:-10px;left:calc(100% + 10px)}
@media (max-width:900px){
  .nav-submenu{display:flex;position:static;border:0;box-shadow:none;padding:8px 0 0 14px;min-width:0;gap:8px}
  .nav-submenu .nav-submenu{left:0;top:0}
}

.site-footer__stack{padding:26px 0 18px}
.site-footer__top{display:flex;align-items:flex-start;justify-content:space-between;gap:32px}
.site-footer__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;flex:1}
.site-footer__block strong{display:block;margin:0 0 10px}
.site-footer__block div,.site-footer__block a{display:block;text-decoration:none}
.site-footer__socials{display:flex;flex-wrap:wrap;gap:8px 14px}
.site-footer__socials a{display:inline-block}
.site-footer__bottom{display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:18px;margin-top:18px;border-top:1px solid var(--line)}
@media (max-width:900px){
  .site-footer__top{flex-direction:column}
  .site-footer__grid{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .site-footer__grid{grid-template-columns:1fr}
}

.site-footer__legal{display:flex;flex-wrap:wrap;gap:10px 18px;padding-top:12px}.site-footer__legal a{text-decoration:none}

.mio-form-wrap{margin-top:20px;max-width:760px}.mio-form{display:grid;gap:16px}.mio-form__group label{display:block;margin-bottom:6px;font-weight:600}.mio-form input,.mio-form textarea,.mio-form select{width:100%;padding:12px 14px;border:1px solid #d9d9d9;border-radius:8px;background:#fff;font:inherit}.mio-form textarea{min-height:140px;resize:vertical}.mio-form__checkbox{display:flex;gap:10px;align-items:flex-start}.mio-form__checkbox input{width:auto;margin-top:3px}.mio-form__notice{margin:0 0 14px;padding:12px 14px;border-radius:8px}.mio-form__notice--success{background:#f1f8ec;border:1px solid #cfe3bf}.mio-form__notice--error{background:#fff4f4;border:1px solid #efc7c7}.mio-form__trap{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}


.section-shell--animatable{
    opacity:0;
    transition:
        opacity var(--section-anim-duration,700ms) ease,
        transform var(--section-anim-duration,700ms) ease;
    transition-delay:var(--section-anim-delay,0ms);
    will-change:opacity, transform;
}
.section-shell--animatable.section-shell--in-view{
    opacity:1;
    transform:none;
}
.section-shell--anim-fade{transform:none;}
.section-shell--anim-fade-up{transform:translateY(28px);}
.section-shell--anim-zoom-in{transform:scale(.96);transform-origin:center center;}
@media (prefers-reduced-motion: reduce){
    .section-shell--animatable{
        opacity:1;
        transform:none;
        transition:none;
    }
}

.shop-hero{padding:56px 0 22px}
.shop-intro{max-width:760px;color:var(--p-color,#444)}
.shop-notice{margin-top:16px;padding:14px 16px;border:1px solid var(--color-line,#ddd);background:var(--color-soft,#f6f6f6)}
.shop-grid-wrap{padding:14px 0 56px}
.shop-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}
.shop-card{border:1px solid var(--color-line,#ddd);background:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden}
.shop-card-image{display:block;background:#fff;padding:18px 18px 8px}
.shop-card-image img,.shop-detail-media img{display:block;width:100%;height:auto}
.shop-card-image img{aspect-ratio:4/5;object-fit:contain}
.shop-card-body{padding:0 18px 18px;display:flex;flex-direction:column;gap:12px;height:100%}
.shop-card-body h2{margin:0;font-size:18px;line-height:1.35;font-weight:600}
.shop-card-body h2 a{text-decoration:none}
.shop-card-body h2 a:hover{text-decoration:underline}
.shop-card-body p{margin:0;color:var(--p-color,#555);font-size:15px;line-height:1.5}
.shop-card-meta,.shop-summary div,.shop-cart-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.shop-card-meta{margin-top:auto;padding-top:4px;font-size:15px}
.shop-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:4px}
.shop-card-actions form{margin:0}
.shop-card-actions .btn, .shop-card-actions form .btn{width:100%;justify-content:center}
.shop-detail{padding:28px 0 56px}
.shop-detail-grid,.shop-checkout-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(320px,480px);gap:32px;align-items:start}
.shop-price{font-size:32px;font-weight:700;margin:8px 0 16px}
.shop-buy-form{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-top:24px}
.shop-buy-form input{max-width:90px}
.shop-rich p:first-child{margin-top:0}
.shop-cart,.shop-checkout{padding:10px 0 56px}
.shop-cart-table,.shop-summary{border:1px solid var(--color-line,#ddd);background:#fff}
.shop-cart-row,.shop-summary div{padding:14px 16px;border-bottom:1px solid var(--color-line,#ddd)}
.shop-cart-row:last-child,.shop-summary div:last-child{border-bottom:0}
.shop-summary{margin-top:22px}
.shop-summary h2{padding:16px;margin:0;border-bottom:1px solid var(--color-line,#ddd)}
.shop-summary-total{font-size:18px}
.shop-cart-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
@media (max-width:1100px){.shop-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:900px){.shop-detail-grid,.shop-checkout-grid{grid-template-columns:1fr}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.shop-grid{grid-template-columns:1fr}.shop-card-actions{grid-template-columns:1fr}}

.shop-main-image{display:block;width:100%;height:auto;border-radius:18px}
.shop-gallery-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(82px,1fr));gap:10px;margin-top:12px}
.shop-gallery-thumb{padding:0;border:1px solid #dcdcdc;border-radius:14px;background:#fff;overflow:hidden;cursor:pointer}
.shop-gallery-thumb img{display:block;width:100%;height:82px;object-fit:cover}
.shop-gallery-thumb.is-active{border-color:#111;box-shadow:0 0 0 1px #111 inset}

.shop-pagination,.pagination{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:center;margin:24px 0 0}.shop-pagination .btn.is-active,.pagination .btn.is-active{background:#111;color:#fff;border-color:#111}.pagination-gap{padding:0 4px;color:#666}


.shop-theme-hero{padding:48px 0 24px;background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,0));border-bottom:1px solid var(--color-line,#ddd)}
.shop-theme-hero__inner{display:flex;align-items:end;justify-content:space-between;gap:24px}
.shop-theme-hero__inner.compact{align-items:center}
.shop-theme-hero__aside{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.shop-theme-stat{display:flex;flex-direction:column;min-width:110px;padding:16px 18px;border:1px solid var(--color-line,#ddd);background:#fff}
.shop-theme-stat strong{font-size:24px;line-height:1}
.shop-theme-stat span{font-size:13px;color:var(--p-color,#666)}
.shop-theme-filters{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.shop-chip{display:inline-flex;align-items:center;padding:10px 14px;border:1px solid var(--color-line,#ddd);text-decoration:none;background:#fff}
.shop-chip.is-active{background:#111;color:#fff;border-color:#111}
.shop-theme-section{padding-top:28px;padding-bottom:56px}
.shop-theme-panel{background:#fff;border:1px solid var(--color-line,#ddd);padding:24px}
.shop-theme-card{border-radius:0;box-shadow:none}
.shop-card-top{display:flex;flex-direction:column;gap:8px}
.shop-card-price{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.shop-stock-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#f1f1f1;font-size:12px;line-height:1}
.shop-stock-pill.is-instock{background:#e9f5ea}
.shop-empty-state{padding:32px;border:1px solid var(--color-line,#ddd);background:#fff;text-align:center}
.shop-empty-state h2{margin-top:0}
.shop-breadcrumbs{display:flex;gap:10px;align-items:center;margin-bottom:18px;color:var(--p-color,#666);font-size:14px}
.shop-breadcrumbs a{text-decoration:none}
.shop-theme-product-grid{align-items:start}
.shop-back-link{margin-top:0}
.shop-option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.shop-theme-buy-form{display:flex;flex-direction:column;gap:16px}
.shop-buy-row{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.shop-buy-row label{min-width:120px}
.shop-discount-form--stacked{display:flex;flex-direction:column;gap:14px;margin:0 0 20px}
.shop-discount-form--stacked .actions{display:flex;gap:10px;flex-wrap:wrap}
@media (max-width:900px){.shop-theme-hero__inner{flex-direction:column;align-items:flex-start}.shop-option-grid{grid-template-columns:1fr}}
