/* Only store content changes; the shared site header and footer retain their own styles. */
body.fest-shop-page{background:#fff}
/* Keep the shared header in normal flow on store pages. Relative positioning still anchors the mobile dropdown. */
body.fest-shop-page .site-header{position:relative!important;top:auto!important}
.fest-shop-content{--ink:#153f5c;--muted:#526575;--line:#dce6ed;--blue:#145c88;--pale:#edf4f8;--cream:#f6f4ee;min-width:0;font-family:Arial,sans-serif;color:var(--ink);font-size:15px;line-height:1.6}
.fest-shop-content h1,.fest-shop-content h2,.fest-shop-content h3,.fest-shop-content h4,.fest-shop-content .primary,.fest-shop-content .buy,.fest-shop-content button,.fest-shop-content .continue-button{font-family:Magra,Arial,sans-serif!important}
.fest-shop-content .fese-hero{border-radius:4px!important}
.fest-shop-content .fese-hero h1{font-family:Magra,Arial,sans-serif!important;color:#fff}
.fest-shop-content .fese-cta{background:#bd1527!important;color:#fff!important;border-radius:4px!important;border-color:#bd1527!important;font-family:Magra,Arial,sans-serif!important}
.fest-shop-content .fese-cta:hover{background:#98101f!important}
.fest-shop-content h1,.fest-shop-content h2,.fest-shop-content h3{color:#153f5c}
.fest-shop-content .hero,.fest-shop-content .product-card,.fest-shop-content .detail-grid,.fest-shop-content .category-tabs>a,.fest-shop-content input,.fest-shop-content select,.fest-shop-content button{border-radius:4px}
.fest-shop-content .primary,.fest-shop-content .buy,.fest-shop-content .continue-button{background:#bd1527;color:#fff;border-color:#bd1527;border-radius:4px}
.fest-shop-content .primary:hover,.fest-shop-content .buy:hover,.fest-shop-content .continue-button:hover{background:#98101f;color:#fff}
.fest-shop-nav{display:flex;gap:12px 26px;align-items:center;flex-wrap:wrap;padding:16px max(24px,calc((100% - 1280px)/2));border-bottom:1px solid #dce6ed;background:#f4f8fb;color:#153f5c;font:600 15px/1.5 Magra,Arial,sans-serif}
.fest-shop-nav a{padding:4px 0;min-height:32px;display:inline-flex;align-items:center;gap:5px;text-decoration:none}
.fest-shop-nav a:hover{text-decoration:underline;text-underline-offset:4px}
.fest-shop-content [id]{scroll-margin-top:calc(var(--fest-header-height,110px) + 18px)}
.fest-shop-conditions{padding:18px 24px;background:#f2f7fa;text-align:center;border-top:1px solid #dce6ed}
.fest-shop-conditions nav{display:flex;gap:12px 26px;flex-wrap:wrap;justify-content:center;margin:16px 0}
.fest-shop-conditions a{color:#145c88;text-decoration:underline;text-underline-offset:3px}
.fest-shop-content .fe26-consumer-links{border:0;background:transparent}
.fest-shop-page .site-header .header-cart .cart-count{font-family:Arial,sans-serif}
@media(max-width:650px){.fest-shop-nav{padding:12px 20px;gap:4px 18px;font-size:14px}.fest-shop-content main{margin-top:0}.fest-shop-content .hero h1{font-size:34px}.fest-shop-content .detail-summary h1{font-size:30px}.fest-shop-conditions{padding:16px 20px}.fest-shop-conditions nav{gap:10px 20px}}

/* Product variant details remain part of the single H1, with a compact readable second line. */
.fest-shop-content .detail h1 .fest-product-heading-details{display:block;font-size:clamp(18px,1.6vw,23px);font-weight:600;line-height:1.4;letter-spacing:0;margin-top:9px;overflow-wrap:anywhere}


/* Compact price and quantity controls for stock products in the native cart. */
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-purchase{display:grid;grid-template-columns:minmax(0,1fr);align-content:start;align-items:start;justify-items:start;justify-self:end;width:154px;max-width:100%;min-width:0;gap:7px;text-align:left}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-price{margin:0;font-size:18px;line-height:1.3;letter-spacing:0;color:#153f5c}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-price::before{content:'Preț / bucată';display:block;margin-bottom:3px;font:400 11px/1.4 Arial,sans-serif;color:#526575}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-purchase>small{display:block;margin-top:-4px;font:400 10px/1.4 Arial,sans-serif;color:#526575}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity{display:grid;grid-template-columns:36px 48px 36px;align-items:center;width:120px;max-width:100%;height:38px;box-sizing:content-box;margin:3px 0;border:1px solid #b8cedd;border-radius:5px;background:#fff;overflow:hidden}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity button{display:grid!important;place-items:center!important;width:36px!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-sizing:border-box;font:600 22px/1 Arial,sans-serif!important;text-align:center;background:#edf4f8!important;color:#153f5c!important;transform:none}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity button:hover{background:#d7e8f3!important;color:#10354d!important}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity input{display:block;width:48px!important;min-width:0!important;max-width:none!important;height:38px!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;border-left:1px solid #b8cedd!important;border-right:1px solid #b8cedd!important;border-radius:0!important;box-sizing:border-box;background:#fff;color:#153f5c;font:600 15px/38px Arial,sans-serif!important;text-align:center}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity button:focus-visible,.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity input:focus-visible{outline:2px solid #145c88;outline-offset:-3px}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-line-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;width:100%;padding-top:8px;border-top:1px solid #dce6ed;font-size:20px;line-height:1.3;color:#153f5c}
.fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-line-total::before{content:'Total';font:400 11px/1.4 Arial,sans-serif;color:#526575}
@media(max-width:1100px){
 .fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-purchase{grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;justify-self:stretch;width:auto;gap:3px 16px;padding-top:12px;border-top:1px solid #dce6ed}
 .fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-price{grid-column:1;grid-row:1;font-size:17px}
 .fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-item-purchase>small{grid-column:1;grid-row:2;margin:0}
 .fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-quantity{grid-column:2;grid-row:1/3;align-self:center;margin:0}
 .fest-shop-content #checkout-preview .demo-cart-item:not(.fewro-configured-item) .demo-line-total{grid-column:1/-1;grid-row:3;margin-top:7px}
}
