/*
Theme Name: YellowMoon Royale
Theme URI: https://yellowmooncart.com/
Author: YELLOWMOON ENTERPRISES PVT LTD
Description: Ultra-premium, responsive men’s fashion WooCommerce theme for YellowMoon.
Version: 10.3.0
Text Domain: yellowmoon-royale
*/
:root{
 --ym-bg:#f5f0e8; --ym-paper:#fffdf9; --ym-ink:#17130f; --ym-muted:#766e64;
 --ym-maroon:#7b1524; --ym-maroon-dark:#571018; --ym-gold:#b58a3c; --ym-forest:#15342b;
 --ym-line:#ded6ca; --ym-soft:#ebe2d6; --ym-black:#0f0d0b;
 --ym-serif:"Iowan Old Style","Palatino Linotype",Palatino,"Times New Roman",serif;
 --ym-sans:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ym-paper);color:var(--ym-ink);font-family:var(--ym-sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.ym-shell{width:min(1440px,calc(100% - 56px));margin:auto}
.ym-serif{font-family:var(--ym-serif)}
/* Critical grid intentionally explicit to survive cache/minify plugins */
.ym-product-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:34px 18px!important;width:100%!important;list-style:none!important;margin:0!important;padding:0!important}.ym-product-card{min-width:0!important;width:auto!important;float:none!important;margin:0!important;position:relative}.ym-product-media{position:relative;overflow:hidden;background:#efe8de;aspect-ratio:4/5}.ym-product-media img{width:100%;height:100%;object-fit:cover;object-position:center top;transition:transform .55s ease}.ym-product-card:hover .ym-product-media img{transform:scale(1.025)}
.ym-badge{position:absolute;z-index:2;top:12px;left:12px;background:var(--ym-maroon);color:#fff;padding:7px 9px;font-size:9px;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.ym-heart{position:absolute;z-index:2;top:12px;right:12px;width:32px;height:32px;border:1px solid rgba(23,19,15,.16);background:rgba(255,253,249,.88);display:grid;place-items:center;border-radius:50%;font-size:15px}.ym-product-copy{padding:13px 1px 0}.ym-product-kicker{font-size:8px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--ym-muted);margin-bottom:6px}.ym-product-title{font-family:var(--ym-serif);font-size:17px;line-height:1.2;font-weight:500;min-height:42px;margin:0 0 6px}.ym-price{font-size:13px;font-weight:800}.ym-price del{color:#90877c;font-weight:500;margin-right:6px}.ym-price ins{text-decoration:none;color:var(--ym-maroon)}.ym-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:11px}.ym-swatches{display:flex;gap:5px}.ym-swatch{width:11px;height:11px;border-radius:50%;border:1px solid #b9b0a5}.ym-card-cta{font-size:9px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;border-bottom:1px solid var(--ym-ink);padding-bottom:2px}
/* Header */
.ym-topbar{background:var(--ym-black);color:#f7f2e9;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.ym-topbar .ym-shell{display:flex;justify-content:space-between;align-items:center;gap:18px;min-height:30px}.ym-topbar-center{display:flex;gap:26px;opacity:.92}.ym-header{background:rgba(255,253,249,.97);border-bottom:1px solid var(--ym-line);position:sticky;top:0;z-index:99;backdrop-filter:blur(14px)}.ym-headrow{display:grid;grid-template-columns:285px minmax(300px,1fr) 285px;gap:34px;align-items:center;padding:16px 0 12px}.ym-brand{display:flex;align-items:center;gap:12px}.ym-brand img{width:48px;height:48px;object-fit:contain}.ym-brand-copy strong{display:block;font-family:var(--ym-serif);font-size:30px;font-weight:500;line-height:1}.ym-brand-copy span{display:block;font-size:7px;letter-spacing:.36em;text-transform:uppercase;margin-top:6px;color:var(--ym-muted)}.ym-search{display:grid;grid-template-columns:1fr 52px;border:1px solid var(--ym-line);background:#faf7f1}.ym-search input{border:0;background:transparent;padding:13px 16px;font-size:12px;outline:none}.ym-search button{border:0;background:var(--ym-ink);color:#fff;font-size:16px}.ym-actions{display:flex;justify-content:flex-end;gap:20px;align-items:center;font-size:10px;font-weight:700}.ym-actions a{display:flex;gap:6px;align-items:center}.ym-cart-count{display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:var(--ym-gold);color:#111;font-size:9px}.ym-nav{border-top:1px solid #eee7dc}.ym-nav ul{list-style:none;display:flex;justify-content:center;gap:38px;padding:0;margin:0;overflow-x:auto;scrollbar-width:none}.ym-nav li{flex:0 0 auto}.ym-nav a{display:block;padding:13px 0 14px;font-size:10px;font-weight:800}.ym-nav li:first-child a,.ym-nav li:last-child a{color:var(--ym-maroon)}
/* Hero */
.ym-hero{background:#241b14}.ym-hero-inner{position:relative;min-height:610px;overflow:hidden}.ym-hero-bg{position:absolute;inset:0}.ym-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center 18%;filter:saturate(.8) contrast(1.03)}.ym-hero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,8,6,.82) 0%,rgba(10,8,6,.5) 38%,rgba(10,8,6,.12) 72%,rgba(10,8,6,.35) 100%)}.ym-hero-copy{position:relative;z-index:2;color:#fff;max-width:620px;padding:118px 0 70px}.ym-eyebrow{font-size:9px;font-weight:800;letter-spacing:.26em;text-transform:uppercase}.ym-hero h1{font-family:var(--ym-serif);font-weight:400;font-size:88px;line-height:.88;letter-spacing:-.045em;margin:16px 0 20px}.ym-hero p{font-family:var(--ym-serif);font-size:20px;line-height:1.45;color:#eee7de;max-width:560px}.ym-btn{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:0 20px;background:var(--ym-maroon);color:#fff;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}.ym-btn:hover{background:var(--ym-maroon-dark)}.ym-hero-aside{position:absolute;right:0;bottom:52px;z-index:3;color:#fff;text-align:right;font-family:var(--ym-serif);font-size:16px;line-height:1.6;letter-spacing:.08em}.ym-hero-aside:after{content:"";display:block;width:72px;height:1px;background:#fff;margin:17px 0 0 auto}
/* Trust */.ym-trust{border-bottom:1px solid var(--ym-line);background:#fbf8f2}.ym-trust-grid{display:grid;grid-template-columns:repeat(3,1fr)}.ym-trust-item{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;padding:18px 28px;border-right:1px solid var(--ym-line)}.ym-trust-item:last-child{border-right:0}.ym-trust-icon{font-size:24px}.ym-trust-item strong{display:block;font-family:var(--ym-serif);font-size:14px;font-weight:500}.ym-trust-item span{font-size:9px;color:var(--ym-muted)}
/* Sections */.ym-section{padding:64px 0}.ym-section--soft{background:var(--ym-bg)}.ym-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.ym-section-head h2{font-family:var(--ym-serif);font-size:42px;font-weight:400;line-height:1;margin:0}.ym-section-head p{font-size:11px;color:var(--ym-muted);margin:8px 0 0}.ym-link{font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;border-bottom:1px solid currentColor;padding-bottom:4px}
/* Categories */.ym-cat-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.ym-cat-card{position:relative;aspect-ratio:4/5;overflow:hidden;background:#ddd}.ym-cat-card img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease;filter:saturate(.85)}.ym-cat-card:hover img{transform:scale(1.03)}.ym-cat-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.68))}.ym-cat-copy{position:absolute;z-index:2;left:15px;right:15px;bottom:16px;color:#fff}.ym-cat-copy strong{font-family:var(--ym-serif);font-size:24px;font-weight:400;display:block}.ym-cat-copy span{font-size:8px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
/* Editorial */.ym-editorial-grid{display:grid;grid-template-columns:1.05fr 1.35fr .8fr;min-height:440px}.ym-editorial-card{position:relative;overflow:hidden;background:#1a1510;color:#fff}.ym-editorial-card img{width:100%;height:100%;object-fit:cover;filter:saturate(.8)}.ym-editorial-card:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.06))}.ym-editorial-copy{position:absolute;z-index:2;left:26px;right:26px;bottom:28px}.ym-editorial-copy h3{font-family:var(--ym-serif);font-weight:400;font-size:36px;line-height:1;margin:8px 0}.ym-editorial-copy p{font-size:10px;line-height:1.6;color:#eee7de}.ym-editorial-center .ym-editorial-copy{top:50%;bottom:auto;transform:translateY(-50%);text-align:center}.ym-editorial-center .ym-editorial-copy h3{font-size:42px}.ym-editorial-text{display:flex;align-items:center;justify-content:center;padding:40px;text-align:center;background:#e8dfd2;color:#2b241e}.ym-editorial-text h3{font-family:var(--ym-serif);font-size:42px;font-weight:400;line-height:1.05;margin:0 0 15px}
/* Offer band */.ym-offer-band{background:#eee5d9;border-top:1px solid var(--ym-line);border-bottom:1px solid var(--ym-line)}.ym-offer-grid{display:grid;grid-template-columns:repeat(3,1fr)}.ym-offer{padding:20px 28px;border-right:1px solid var(--ym-line);text-align:center}.ym-offer:last-child{border-right:0}.ym-offer strong{display:block;font-size:10px;letter-spacing:.15em;text-transform:uppercase}.ym-offer span{font-size:9px;color:var(--ym-muted)}
/* Brand proof */.ym-proof{background:#fff}.ym-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--ym-line);border-bottom:1px solid var(--ym-line)}.ym-proof-item{padding:25px 24px;border-right:1px solid var(--ym-line)}.ym-proof-item:last-child{border-right:0}.ym-proof-item b{font-family:var(--ym-serif);font-size:18px;font-weight:500}.ym-proof-item small{display:block;color:var(--ym-muted);font-size:9px;margin-top:5px}
/* Archive */.ym-archive-hero{background:#ece8df;color:var(--ym-ink);position:relative;overflow:hidden;border-bottom:1px solid var(--ym-line)}.ym-archive-hero-bg{display:none}.ym-archive-hero-bg img{width:100%;height:100%;object-fit:cover;opacity:.48}.ym-archive-hero:after{display:none}.ym-archive-hero .ym-shell{position:relative;z-index:2;padding-top:34px;padding-bottom:24px}.ym-archive-hero h1{font-family:var(--ym-serif);font-size:56px;line-height:.96;font-weight:400;letter-spacing:-.03em;margin:6px 0 8px}.ym-archive-hero p{max-width:760px;font-family:var(--ym-sans);font-size:14px;line-height:1.55;color:var(--ym-muted);margin:0}.ym-archive-content{padding:28px 0 84px}.ym-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px}.ym-toolbar-left{font-size:10px;color:var(--ym-muted)}.ym-toolbar-controls{display:flex;gap:8px;flex-wrap:wrap}.ym-filter-chip{border:1px solid var(--ym-line);background:#fff;padding:10px 13px;font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.ym-pagination{margin-top:44px}.ym-pagination .page-numbers{display:flex;gap:7px;list-style:none;padding:0}.ym-pagination a,.ym-pagination span{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid var(--ym-line);font-size:10px}.ym-pagination .current{background:var(--ym-maroon);color:#fff;border-color:var(--ym-maroon)}
/* Woo single */.single-product .site-main{padding:54px 0 90px}.single-product div.product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:58px;align-items:start}.single-product .woocommerce-product-gallery{width:100%!important;float:none!important}.single-product .summary{width:100%!important;float:none!important;position:sticky;top:165px}.single-product .product_title{font-family:var(--ym-serif);font-size:52px;line-height:1.02;font-weight:400;letter-spacing:-.025em}.single-product .price{font-size:21px}.single-product .single_add_to_cart_button{background:var(--ym-maroon)!important;color:#fff!important;border-radius:0!important;min-height:50px!important;text-transform:uppercase!important;font-size:10px!important;font-weight:900!important;letter-spacing:.12em!important}.single-product table.variations select,.single-product input.qty{border:1px solid var(--ym-line);background:#fff;padding:10px}.ymcore-assurance{display:grid;gap:8px;border-top:1px solid var(--ym-line);padding-top:18px;margin-top:20px;color:var(--ym-muted);font-size:11px}
/* Pages */.ym-page{padding:62px 0 90px}.ym-page article{max-width:1000px}.ym-page h1{font-family:var(--ym-serif);font-size:58px;font-weight:400}.ym-page h2{font-family:var(--ym-serif);font-size:34px;font-weight:400;margin-top:36px}.ym-page p,.ym-page li{font-size:14px;line-height:1.75;color:#524b43}.ym-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ym-contact-form .wide{grid-column:1/-1}.ym-contact-form input,.ym-contact-form textarea{width:100%;border:1px solid var(--ym-line);background:#fff;padding:13px}.ym-form-submit{background:var(--ym-maroon);color:#fff;border:0;padding:14px 20px;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
/* Footer */.ym-footer{background:#11100e;color:#fff;padding:58px 0 26px}.ym-footer-grid{display:grid;grid-template-columns:1.45fr repeat(3,1fr);gap:45px}.ym-footer-brand{display:flex;align-items:center;gap:10px}.ym-footer-brand img{width:48px;height:48px}.ym-footer-brand strong{font-family:var(--ym-serif);font-size:29px;font-weight:500}.ym-footer p{color:#aaa39a;font-size:10px;line-height:1.7}.ym-footer h3{font-size:8px;letter-spacing:.18em;text-transform:uppercase;color:#d6b166}.ym-footer a{display:block;color:#c2bbb2;font-size:10px;margin:9px 0}.ym-footer-bottom{border-top:1px solid #2b2824;margin-top:38px;padding-top:22px;color:#817b74;font-size:9px;line-height:1.7}
/* Woo fallback safety */body ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:34px 18px!important;list-style:none!important;padding:0!important;margin:0!important;width:100%!important}body ul.products>li.product{float:none!important;width:auto!important;max-width:none!important;margin:0!important;min-width:0!important}body ul.products>li.product::marker{content:none!important}
@media(max-width:1180px){.ym-headrow{grid-template-columns:220px 1fr auto}.ym-cat-grid{grid-template-columns:repeat(4,1fr)}.ym-product-grid,body ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ym-hero h1{font-size:72px}.ym-editorial-grid{grid-template-columns:1fr 1fr}.ym-editorial-text{display:none}}
@media(max-width:860px){.ym-shell{width:min(100% - 28px,1440px)}.ym-topbar-center{display:none}.ym-headrow{grid-template-columns:1fr auto;padding:10px 0}.ym-search{grid-column:1/-1;grid-row:2}.ym-actions .ym-help{display:none}.ym-brand-copy strong{font-size:24px}.ym-brand-copy span{font-size:6px}.ym-brand img{width:40px;height:40px}.ym-nav ul{justify-content:flex-start;gap:26px}.ym-hero-inner{min-height:600px}.ym-hero-copy{padding:110px 0 60px}.ym-hero h1{font-size:62px}.ym-hero-aside{display:none}.ym-trust-grid{grid-template-columns:1fr}.ym-trust-item{border-right:0;border-bottom:1px solid var(--ym-line)}.ym-cat-grid{grid-template-columns:repeat(2,1fr)}.ym-product-grid,body ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 9px!important}.ym-editorial-grid{grid-template-columns:1fr}.ym-editorial-card{min-height:430px}.ym-offer-grid,.ym-proof-grid{grid-template-columns:repeat(2,1fr)}.ym-offer:nth-child(2),.ym-proof-item:nth-child(2){border-right:0}.single-product div.product{grid-template-columns:1fr}.single-product .summary{position:static}.ym-footer-grid{grid-template-columns:1fr 1fr}.ym-footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:560px){.ym-shell{width:calc(100% - 20px)}.ym-topbar{font-size:7px}.ym-topbar .ym-shell{justify-content:center}.ym-topbar .ym-topbar-right{display:none}.ym-actions{gap:12px}.ym-actions .ym-account{display:none}.ym-nav a{font-size:9px}.ym-hero-inner{min-height:610px}.ym-hero-bg img{object-position:62% center}.ym-hero-copy{padding:84px 0 36px;max-width:290px}.ym-hero h1{font-size:55px}.ym-hero p{font-size:15px}.ym-section{padding:48px 0}.ym-section-head{align-items:flex-start;flex-direction:column}.ym-section-head h2{font-size:36px}.ym-cat-copy strong{font-size:20px}.ym-product-grid,body ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px 7px!important}.ym-product-title{font-size:12px;min-height:34px}.ym-price{font-size:11px}.ym-card-cta{font-size:7px}.ym-heart{width:27px;height:27px}.ym-editorial-card{min-height:380px}.ym-offer-grid,.ym-proof-grid{grid-template-columns:1fr 1fr}.ym-offer,.ym-proof-item{padding:16px 10px}.ym-archive-hero .ym-shell{padding-top:28px;padding-bottom:20px}.ym-archive-hero h1{font-size:36px}.ym-archive-content{padding-top:28px}.ym-toolbar{align-items:flex-start;flex-direction:column}.single-product .product_title{font-size:39px}.ym-page h1{font-size:46px}.ym-contact-form{grid-template-columns:1fr}.ym-contact-form .wide{grid-column:auto}.ym-footer-grid{gap:24px 15px}}


/* v10.3 DEFINITIVE CATEGORY HERO COMPACTION */
body.tax-product_cat .ym-archive-hero,
body.page-template-page-new-in .ym-archive-hero,
body.page-template-page-sale .ym-archive-hero{
  min-height:0!important;
  height:auto!important;
  padding:0!important;
}
body.tax-product_cat .ym-archive-hero .ym-shell,
body.page-template-page-new-in .ym-archive-hero .ym-shell,
body.page-template-page-sale .ym-archive-hero .ym-shell{
  min-height:0!important;
  height:auto!important;
  padding-top:24px!important;
  padding-bottom:20px!important;
}
body.tax-product_cat .ym-archive-hero h1,
body.page-template-page-new-in .ym-archive-hero h1,
body.page-template-page-sale .ym-archive-hero h1{
  font-size:48px!important;
  line-height:.98!important;
  margin:5px 0 7px!important;
}
body.tax-product_cat .ym-archive-hero p,
body.page-template-page-new-in .ym-archive-hero p,
body.page-template-page-sale .ym-archive-hero p{
  max-width:900px!important;
  margin:0!important;
  font-size:13px!important;
  line-height:1.45!important;
}
body.tax-product_cat .ym-archive-content,
body.page-template-page-new-in .ym-archive-content,
body.page-template-page-sale .ym-archive-content{padding-top:24px!important;}
@media(max-width:560px){
 body.tax-product_cat .ym-archive-hero .ym-shell,
 body.page-template-page-new-in .ym-archive-hero .ym-shell,
 body.page-template-page-sale .ym-archive-hero .ym-shell{padding-top:20px!important;padding-bottom:16px!important;}
 body.tax-product_cat .ym-archive-hero h1,
 body.page-template-page-new-in .ym-archive-hero h1,
 body.page-template-page-sale .ym-archive-hero h1{font-size:34px!important;}
 body.tax-product_cat .ym-archive-hero p,
 body.page-template-page-new-in .ym-archive-hero p,
 body.page-template-page-sale .ym-archive-hero p{font-size:12px!important;}
}
