/* Artmoop inner-page illustrated theme — WordPress / WooCommerce-safe pure CSS.
   Uses same horizontal colour stops as homepage's seamless header. */
body:not(.home){background:#f8f7ff;color:#2d155e}
body:not(.home) .site-header,
body:not(.home) .site-header .header-inner{
  background:linear-gradient(90deg,#e2eeff 0%,#dce5ff 26%,#ddd5ff 54%,#c8befb 77%,#aba8fa 100%);
  border-bottom:0;box-shadow:none;
}
body:not(.home) .site-header .header-inner{background:transparent}
body:not(.home) .site-header .nav-menu a,
body:not(.home) .site-header .account-link,
body:not(.home) .site-header .cart-link{color:#2d155e}
body:not(.home) .site-header .nav-menu a:hover,
body:not(.home) .site-header .account-link:hover{color:#be328e}
/* Continuous illustrated backdrop. The colour is the page surface, not a frame
   around a separate white content box. The horizontal gradient stops match the header. */
body:not(.home) .site-content{
  position:relative;isolation:isolate;min-height:60vh;
  background:
    radial-gradient(ellipse 40% 26% at 88% 13%,rgba(171,150,248,.34),transparent 100%),
    radial-gradient(ellipse 41% 33% at 7% 34%,rgba(255,198,227,.31),transparent 100%),
    radial-gradient(ellipse 42% 32% at 83% 73%,rgba(208,198,255,.27),transparent 100%),
    linear-gradient(180deg,transparent 0,rgba(255,250,255,.52) 500px,rgba(251,246,255,.84) 100% ),
    linear-gradient(90deg,#e2eeff 0%,#dce5ff 26%,#ddd5ff 54%,#c8befb 77%,#aba8fa 100%);
  padding:1px 0 95px;
  overflow:clip;
}
/* No separate colour panel, hard boundary, or square overlay behind the content. */
body:not(.home) .site-content:before{content:none}
body:not(.home) .site-content:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:88px;
  z-index:-1;pointer-events:none;
  background:linear-gradient(100deg,rgba(245,200,243,.50),rgba(216,197,254,.53),rgba(177,180,255,.43));
  clip-path:polygon(0 62%,9% 48%,22% 61%,35% 39%,49% 63%,63% 47%,80% 60%,92% 38%,100% 50%,100% 100%,0 100%);
}
/* Shop and standard pages: transparent, unboxed layouts. Individual cards
   and WooCommerce input panels retain their own readable surfaces. */
body:not(.home) .site-content>.content-wrap,
body:not(.home) .site-content>.shop-shell{
  position:relative;width:min(100% - 48px,1200px);max-width:1200px;
  margin:36px auto 40px;padding:28px clamp(8px,2vw,26px) 65px;
  background:transparent;border:0;border-radius:0;box-shadow:none;
}
body:not(.home) .site-content>.shop-shell{max-width:1320px;width:min(100% - 48px,1320px)}
body:not(.home) .site-content>.content-wrap h1,
body:not(.home) .site-content>.shop-shell .woocommerce-products-header__title,
body:not(.home) .site-content>.shop-shell h1{color:#2d155e}
body:not(.home) .site-content>.content-wrap h1{font-size:clamp(30px,3.8vw,48px);letter-spacing:-.035em}
body:not(.home) .shop-shell .woocommerce-products-header{text-align:center;padding:16px 0 32px}
/* The category bar and catalogue should fit inside the content width. */
body:not(.home) .shop-shell .woocommerce{min-width:0;max-width:100%}
body:not(.home) .woocommerce ul.products{min-width:0;max-width:100%}
body:not(.home) .woocommerce ul.products li.product{
  border:1px solid rgba(230,212,249,.85);
  box-shadow:0 10px 28px rgba(74,42,130,.09);
}
body:not(.home) .woocommerce ul.products li.product:hover{
  box-shadow:0 18px 39px rgba(74,42,130,.15);
}
/* Ordinary content is still comfortable to read without a giant white slab. */
body:not(.home) .content-wrap>article{
  padding:clamp(22px,4vw,48px);max-width:1000px;
  border-radius:25px;
  background:rgba(255,255,255,.76);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 12px 35px rgba(64,36,113,.055);
}
/* WooCommerce account, basket and checkout need legible, predictable forms. */
body.woocommerce-account .content-wrap>article,
body.woocommerce-cart .content-wrap>article,
body.woocommerce-checkout .content-wrap>article{
  background:rgba(255,255,255,.88);
}
/* Dedicated informational templates use their own internal cards; keep layout spacious. */
body:not(.home) .site-content>.am-page{
  position:relative;max-width:1250px;margin:0 auto;
  padding:38px clamp(12px,3vw,26px) 50px;
}
body:not(.home) .am-page-hero{
  border-radius:28px;
  background:linear-gradient(110deg,rgba(255,255,255,.53),rgba(255,244,252,.59) 60%,rgba(240,231,255,.60));
  border:1px solid rgba(255,255,255,.68);
  box-shadow:0 9px 28px rgba(67,40,125,.045);
}
body:not(.home) .am-page-hero h1{color:#2d155e}
body:not(.home) .am-card,
body:not(.home) .am-faq details,
body:not(.home) .am-legal-body{
  background:rgba(255,255,255,.95);
  border-color:#e8dcf5;
}
/* Footer matches the illustrated homepage and closes the sky with a soft wave. */
body:not(.home) .site-footer{
  position:relative;isolation:isolate;margin-top:0;
  background:linear-gradient(130deg,#353373,#21174b 66%,#41317b);
  border-top:0;padding-top:32px;
}
body:not(.home) .site-footer:before{
  content:"";position:absolute;left:-2%;right:-2%;height:70px;top:-56px;
  border-radius:48% 54% 0 0 / 72% 80% 0 0;
  background:#353373;z-index:-1;pointer-events:none;
}
body:not(.home) .site-footer .footer-inner h3{color:#ffc1e5}
body:not(.home) .site-footer .footer-inner a{color:#f4e9ff}
body:not(.home) .site-footer .footer-inner p{color:#e4d8f9}
body:not(.home) .site-footer .copyright{color:#c9b8e7;border-color:#ffffff2b}
/* Form controls stay white and legible, especially checkout/account/card designer. */
body:not(.home) .woocommerce input.input-text,
body:not(.home) .woocommerce textarea,
body:not(.home) .woocommerce select,
body:not(.home) .site-content input:not([type=checkbox]):not([type=radio]):not([type=submit]),
body:not(.home) .site-content textarea{
  background:#fff;color:#2d155e;
}
@media(max-width:900px){
  body:not(.home) .site-header .main-nav.open{background:rgba(255,255,255,.97);border-radius:15px;padding:12px;box-shadow:0 14px 32px #34205c24}
  body:not(.home) .site-content>.content-wrap,
  body:not(.home) .site-content>.shop-shell{width:calc(100% - 32px);margin:20px 16px 34px;padding:20px 4px 40px;border-radius:0}
  body:not(.home) .site-content>.am-page{padding:28px 16px 40px}
}
@media(max-width:560px){
  body:not(.home) .site-content>.content-wrap,
  body:not(.home) .site-content>.shop-shell{width:calc(100% - 20px);margin:13px 10px 30px;padding:14px 2px 35px;border-radius:0}
  body:not(.home) .site-content>.am-page{padding:18px 10px 32px}
  body:not(.home) .site-footer:before{height:44px;top:-35px}
}
@media(prefers-reduced-motion:reduce){body:not(.home) .site-content{scroll-behavior:auto}}

/* Preserve the catalogue layout at every size; no body-wide horizontal scroll. */
body:not(.home) .site-content{max-width:100%;}
body:not(.home) .shop-shell :is(input,select,textarea){max-width:100%;}
@media(max-width:760px){
 body:not(.home) .site-content>.shop-shell{width:calc(100% - 24px);padding-left:2px;padding-right:2px}
 body:not(.home) .content-wrap>article{padding:22px 16px}
}
@media(max-width:560px){
 body:not(.home) .site-content>.shop-shell{width:calc(100% - 16px);margin-left:8px;margin-right:8px}
 body:not(.home) .am-page-hero{border-radius:20px}
}
