/*
Theme Name:   Cosmetsy Child
 Theme URI:    https://rppbb.kathama.com
 Description:  Shadowbaye luxury storefront presentation layer on Cosmetsy
 Author:       KlbTheme
 Author URI:   https://rppbb.kathama.com
 Template:     cosmetsy
 Version:      1.3.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  cosmetsy-child
*/
/* SHADOWBAYE | Milestone 1 */
:root{--sb-ivory:#F6F2EC;--sb-espresso:#211B19;--sb-taupe:#A59B8D;--sb-gold:#B89B69;--sb-white:#fff;--sb-edge:#e7e1d9}body.shadowbaye-site{background:#fff;color:var(--sb-espresso);font-family:Arial,Helvetica,sans-serif;font-size:15px}body.shadowbaye-site a{text-decoration:none}body.shadowbaye-site h1,body.shadowbaye-site h2,body.shadowbaye-site h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:var(--sb-espresso)}.sb-skip{position:absolute;left:-9999px}.sb-skip:focus{left:12px;top:12px;background:#fff;z-index:10000}.sb-announcement{text-align:center;background:var(--sb-espresso);color:var(--sb-ivory);font-size:10px;letter-spacing:.18em;padding:10px 12px}.sb-header{background:#fff;border-bottom:1px solid var(--sb-edge);position:relative;z-index:100}.sb-header-inner{max-width:1400px;margin:auto;padding:18px 30px;display:grid;grid-template-columns:1fr 2fr 1fr;align-items:center;gap:20px}.sb-logo{width:220px;max-width:100%;height:auto}.sb-site-nav .sb-navigation,.sb-site-nav ul{display:flex;gap:30px;justify-content:center;list-style:none;padding:0;margin:0}.sb-site-nav li{position:relative}.sb-site-nav a{color:var(--sb-espresso);font-size:12px;text-transform:uppercase;letter-spacing:.08em}.sb-site-nav .sub-menu{display:none;position:absolute;min-width:180px;top:100%;left:0;background:white;padding:18px;box-shadow:0 10px 25px #0002;flex-direction:column;gap:15px}.sb-site-nav li:hover>.sub-menu,.sb-site-nav li:focus-within>.sub-menu{display:flex}.sb-actions{justify-self:end;display:flex;align-items:center;gap:20px}.sb-actions a{color:var(--sb-espresso);font-size:13px;white-space:nowrap}.sb-cart-count{font-size:10px}.sb-menu-toggle{display:none}.sb-main{min-height:40vh}.sb-container{max-width:1320px;padding:0 32px;margin:auto}.sb-hero{min-height:600px;background:linear-gradient(100deg,#25201ce0,#4d3d35a8 50%,#a59b8d80),radial-gradient(circle at 83% 25%,#d8bfa4,#57483b 58%,#1c1815);display:flex;align-items:center}.sb-hero-shade{width:100%;max-width:1320px;margin:auto;padding:100px 32px}.sb-hero-copy{max-width:650px;color:#fff}.sb-hero h1{font-size:clamp(42px,6vw,83px);line-height:1.05;color:#fff;margin:18px 0 23px;font-weight:400}.sb-hero-copy>p:not(.sb-eyebrow){font-size:17px;line-height:1.75;max-width:520px;color:#f2ece5}.sb-eyebrow{font:600 11px Arial,sans-serif;letter-spacing:.2em;color:#977b50;text-transform:uppercase}.sb-hero .sb-eyebrow{color:#e5ca9c}.sb-button{display:inline-flex;gap:35px;align-items:center;background:var(--sb-ivory);padding:16px 25px;margin-top:25px;color:var(--sb-espresso);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.sb-intro{text-align:center;padding-top:95px;padding-bottom:95px}.sb-intro h2{font-size:clamp(29px,4vw,46px);margin:16px auto;max-width:710px;font-weight:400}.sb-intro>p:last-child{max-width:690px;margin:auto;color:#6c625b;line-height:1.8}.sb-section{padding-top:60px;padding-bottom:85px}.sb-section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:34px}.sb-section-heading h2{font-size:38px;font-weight:400;margin:8px 0}.sb-section-heading>a,.sb-text-link{color:var(--sb-espresso);border-bottom:1px solid var(--sb-gold);padding-bottom:6px;font-size:13px}.sb-category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:23px}.sb-category-image{aspect-ratio:4/4.6;background:#e9e1d8;overflow:hidden}.sb-category-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.sb-category:hover img{transform:scale(1.04)}.sb-category h3{font-size:24px;font-weight:400;margin:15px 0 8px}.sb-category span{color:#766d65;font-size:12px}.sb-products-section{background:#faf8f5}.sb-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.sb-product-image{display:block;background:#f1ede7;aspect-ratio:1/1.2;overflow:hidden}.sb-product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.sb-product-body{padding:15px 2px}.sb-product-body>a{color:var(--sb-espresso);font-size:14px;line-height:1.5}.sb-price{margin-top:9px;color:#6a5b4e;font-size:13px}.sb-story{background:var(--sb-espresso);padding:110px 0;text-align:center}.sb-story-inner{max-width:880px}.sb-story h2{color:#fff;font-size:clamp(33px,4.4vw,57px);font-weight:400;line-height:1.2}.sb-story p:not(.sb-eyebrow){color:#e7dcd1;line-height:1.9}.sb-story .sb-text-link{display:inline-block;margin-top:25px;color:#f4e6d5}.sb-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding-top:64px;padding-bottom:64px;text-align:center}.sb-benefits>div{padding:20px;border-right:1px solid var(--sb-edge)}.sb-benefits>div:last-child{border:0}.sb-benefits strong{font-size:11px;letter-spacing:.13em}.sb-benefits p{color:#827871;font-size:13px}.sb-footer{background:#211B19;color:#eee5dc}.sb-footer-grid{max-width:1320px;margin:auto;padding:85px 32px;display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:55px}.sb-footer .sb-logo{width:245px}.sb-footer p{font-size:13px;line-height:1.9;color:#c8beb4;max-width:310px}.sb-footer h2{font:600 12px Arial,sans-serif;letter-spacing:.13em;color:#fff;margin:6px 0 25px;text-transform:uppercase}.sb-footer ul{list-style:none;margin:0;padding:0}.sb-footer li{margin:0 0 14px}.sb-footer a{color:#c8beb4;font-size:13px}.sb-footer a:hover{color:#fff}.sb-footer-bottom{max-width:1320px;margin:auto;padding:23px 32px;border-top:1px solid #514942;display:flex;justify-content:space-between;font-size:11px;color:#c8beb4}.shadowbaye-site:not(.home) .sb-main{max-width:1320px;margin:auto;padding:45px 30px}.shadowbaye-site.home .sb-main{max-width:none;padding:0}.shadowbaye-site .sb-main img{max-width:100%}@media(max-width:900px){.sb-header-inner{grid-template-columns:1fr auto auto}.sb-menu-toggle{display:block;border:0;background:transparent;font-size:13px;color:var(--sb-espresso)}.sb-site-nav{display:none;grid-column:1/-1;grid-row:2}.sb-site-nav.sb-open{display:block}.sb-site-nav .sb-navigation,.sb-site-nav ul{flex-direction:column;gap:15px;align-items:start}.sb-site-nav .sub-menu{display:block;position:static;box-shadow:none;padding:8px 15px}.sb-category-grid,.sb-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-footer-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.sb-header-inner{padding:14px 18px;gap:9px}.sb-logo{width:170px}.sb-actions{gap:9px}.sb-actions a{font-size:12px}.sb-actions a:nth-child(2){display:none}.sb-hero{min-height:510px}.sb-hero-shade{padding:75px 22px}.sb-container{padding-left:20px;padding-right:20px}.sb-intro{padding-top:65px;padding-bottom:50px}.sb-section{padding-top:48px;padding-bottom:55px}.sb-section-heading h2{font-size:30px}.sb-section-heading{align-items:start}.sb-category-grid,.sb-product-grid{gap:13px}.sb-category h3{font-size:19px}.sb-product-body>a{font-size:13px}.sb-benefits{grid-template-columns:1fr;gap:0}.sb-benefits>div{border-right:0;border-bottom:1px solid var(--sb-edge)}.sb-footer-grid{grid-template-columns:1fr 1fr;gap:35px 20px;padding:60px 22px}.sb-footer-brand{grid-column:1/-1}.sb-footer-bottom{padding:22px;gap:12px;flex-direction:column}.sb-story{padding:85px 0}}

/* Shadowbaye 1.2.0: focused presentation refinements */
body.shadowbaye-site.home .sb-hero{background:#eee6dd;min-height:590px;display:block}
body.shadowbaye-site.home .sb-hero-shade{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;max-width:1400px;padding:0;min-height:590px}
body.shadowbaye-site.home .sb-hero-copy{padding:90px 5vw;max-width:none;align-self:center}
body.shadowbaye-site.home .sb-hero h1{color:#241d19!important;font-size:clamp(45px,5vw,76px);line-height:1.07;opacity:1!important;text-shadow:none!important}
body.shadowbaye-site.home .sb-hero .sb-eyebrow{color:#87653e!important}
body.shadowbaye-site.home .sb-hero-copy>p:not(.sb-eyebrow){color:#514337!important;max-width:440px}
body.shadowbaye-site.home .sb-hero .sb-button{color:#fff!important;background:#241d19;transition:background .2s}
body.shadowbaye-site.home .sb-hero .sb-button:hover{background:#765944}
.sb-hero-visual{min-height:590px;display:flex;justify-content:center;align-items:center;background:radial-gradient(circle,#dfd2c4,#b49d87);overflow:hidden}
.sb-hero-visual img{width:100%;height:590px;object-fit:contain;padding:45px;mix-blend-mode:multiply}
.sb-hero-visual span{font:italic 160px Georgia,serif;color:#5c4a3b;opacity:.32}
body.shadowbaye-site.home .sb-story h2{color:#fff!important;opacity:1!important;visibility:visible!important;text-shadow:none!important}
body.shadowbaye-site.home .sb-story p:not(.sb-eyebrow){color:#e7dcd1!important}
body.shadowbaye-site.home .sb-intro h2{color:#241d19!important;opacity:1!important}
.sb-category-image .sb-category-placeholder{display:flex;align-items:center;justify-content:center;height:100%;font:italic 120px Georgia,serif;color:#a18e77;background:linear-gradient(145deg,#eae0d4,#c8b5a1)}
.sb-category-image img{object-fit:contain;padding:12px;background:#efe9e2}
.sb-product-body>a{display:block;min-height:42px;color:#241d19!important}
.sb-product-image img{padding:9px}.sb-price,.sb-price *{color:#665346!important}
.sb-footer h2{color:#fff!important}.sb-footer a{color:#d5c9bc!important}
.sb-header-inner{min-height:83px}.sb-site-nav a{font-weight:600}
@media(max-width:700px){body.shadowbaye-site.home .sb-hero-shade{grid-template-columns:1fr}body.shadowbaye-site.home .sb-hero-copy{padding:60px 24px}body.shadowbaye-site.home .sb-hero h1{font-size:clamp(42px,10vw,62px)}.sb-hero-visual{min-height:290px}.sb-hero-visual img{height:330px;padding:15px}}

/* V1.3 — keep WordPress/Elementor in charge of homepage content. Scoped visual standardization only. */
body.shadowbaye-site.home .sb-main{min-height:0}
body.shadowbaye-site.home .sb-main .elementor{width:100%}
body.shadowbaye-site .sb-main .elementor-section-wrap,body.shadowbaye-site .sb-main .elementor{max-width:none}
body.shadowbaye-site .sb-main .sb-editorial-hero{background:#eee6dd;min-height:520px}
body.shadowbaye-site .sb-main .sb-editorial-hero h1,body.shadowbaye-site .sb-main .sb-editorial-hero h2{color:#211b19!important;font-weight:400;line-height:1.1}
body.shadowbaye-site .sb-main .sb-editorial-dark{background:#211b19;color:#f6f2ec}
body.shadowbaye-site .sb-main .sb-editorial-dark h2,body.shadowbaye-site .sb-main .sb-editorial-dark h3{color:#fff!important}
/* Cosmetsy archive: preserve original theme HTML, sidebar filtering, sorting, pagination. */
body.shadowbaye-site.woocommerce-page .site-shop .products,body.shadowbaye-site.post-type-archive-product .site-shop .products{align-items:stretch}
body.shadowbaye-site .site-shop ul.products li.product{min-width:0;display:flex;flex-direction:column}
body.shadowbaye-site .site-shop ul.products li.product img,body.shadowbaye-site .site-shop ul.products li.product .attachment-woocommerce_thumbnail{display:block;width:100%!important;height:260px!important;max-height:260px!important;object-fit:contain!important;object-position:center;background:#f8f6f3;padding:18px!important;box-sizing:border-box;margin:0 auto 12px!important}
body.shadowbaye-site .site-shop ul.products li.product h2,body.shadowbaye-site .site-shop ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.45!important;font-weight:500!important;letter-spacing:0;min-height:44px}
body.shadowbaye-site .site-shop ul.products li.product .price{font-size:14px!important;color:#5b4c41!important}
body.shadowbaye-site .site-shop .site-shop--sidebar{min-width:0}
body.shadowbaye-site .site-shop .site-shop--content{min-width:0}
/* Cosmetsy single product: normalized gallery and readable summary without altering product data. */
body.shadowbaye-site.single-product .product-single--columns{align-items:start;gap:clamp(24px,4vw,66px)}
body.shadowbaye-site.single-product .product-single--columns>.column{min-width:0}
body.shadowbaye-site.single-product .woocommerce-product-gallery{max-width:100%;width:100%!important}
body.shadowbaye-site.single-product .woocommerce-product-gallery__image{background:#f8f6f3}
body.shadowbaye-site.single-product .woocommerce-product-gallery__image img{display:block;width:100%!important;height:min(52vw,520px)!important;max-height:520px;object-fit:contain!important;object-position:center;padding:22px!important;box-sizing:border-box}
body.shadowbaye-site.single-product .flex-control-thumbs img{width:80px!important;height:80px!important;object-fit:contain!important;background:#f8f6f3;padding:5px}
body.shadowbaye-site.single-product .product-details .product_title{font-size:clamp(29px,3vw,42px);line-height:1.2;margin-bottom:18px}
body.shadowbaye-site.single-product .product-details .price{font-size:22px!important;color:#211b19!important;margin:0 0 18px}
body.shadowbaye-site.single-product .product-details p,body.shadowbaye-site.single-product .product-details li{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
body.shadowbaye-site.single-product .product-details .woocommerce-product-details__short-description{max-height:460px;overflow:auto;padding-right:10px}
body.shadowbaye-site.single-product .related ul.products li.product img,body.shadowbaye-site.single-product .up-sells ul.products li.product img{width:100%!important;height:230px!important;object-fit:contain!important;box-sizing:border-box;background:#f8f6f3;padding:15px}
body.shadowbaye-site .site-shop ul.products li.product .button,body.shadowbaye-site.single-product .single_add_to_cart_button{background:#211b19;color:#fff;border-radius:0}
@media(max-width:767px){body.shadowbaye-site .site-shop ul.products li.product img{height:190px!important;max-height:190px!important;padding:9px!important}body.shadowbaye-site.single-product .woocommerce-product-gallery__image img{height:360px!important;padding:12px!important}body.shadowbaye-site.single-product .product-details .woocommerce-product-details__short-description{max-height:none;overflow:visible}}
