.af-modern-header{display:flex;align-items:center;gap:22px;padding:14px 28px;background:#fff;position:relative;z-index:50;min-height:90px;flex-wrap:nowrap}.af-modern-header .wordmark{font-size:29px;white-space:nowrap;margin:0}.af-header-menu{position:relative}.af-header-menu summary{list-style:none;cursor:pointer;font-size:23px;padding:8px}.af-header-menu summary::-webkit-details-marker{display:none}.af-header-menu nav{position:absolute;top:50px;left:0;width:230px;padding:12px;background:white;border:1px solid #e1e5eb;border-radius:12px;box-shadow:0 14px 35px #17243820}.af-header-menu nav a{display:block;padding:12px;color:#172438;border-radius:6px}.af-header-menu nav a:hover{background:#fff6ce}.af-header-garage{display:grid;place-items:center;width:44px;height:46px;flex-shrink:0;background:#f1f3f6;border-radius:12px;font-size:26px;color:#162234}.af-header-search{flex:1;min-width:120px}.af-modern-header .afc-search-bar{padding:0;margin:0;border:0;background:transparent;max-width:none;width:100%}.af-modern-header .afc-search-bar form{max-width:none;margin:0;width:100%}.af-modern-header .afc-complete>label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.af-modern-header .afc-search-row{display:flex;position:relative;gap:0}.af-modern-header .afc-search-row input{height:50px;border:1px solid #cdd5df;border-radius:12px;padding:0 78px 0 18px;background:#fff;width:100%;font-size:14px;box-shadow:0 2px 3px #17243808}.af-modern-header .afc-search-row button{position:absolute;right:5px;top:5px;height:40px;padding:0 12px;border:0;border-radius:8px;background:#fff;color:#172438;font-size:12px}.af-modern-header .afc-search-row button:hover{background:#ffda28}.af-modern-header .afc-suggestions{z-index:100}.af-header-account{display:flex;flex-direction:column;min-width:105px;color:#172438;line-height:1.6;font-size:14px}.af-header-account strong{font-weight:600}.af-header-account small{font-size:11px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.af-header-account strong span{margin-left:8px}.af-header-favorites{color:#172438;display:grid;place-items:center;flex-shrink:0}.af-header-favorites svg{width:29px;height:29px}.af-modern-header .autoflux-cart{display:flex;align-items:center;gap:8px;background:transparent;margin:0;padding:0;font-size:13px;white-space:nowrap;color:#172438}.af-modern-header .autoflux-cart b{background:#ffd21c;color:#172438;font-size:11px;border-radius:50%;min-width:20px;height:20px;display:grid;place-items:center}.af-modern-header a:focus-visible,.af-modern-header summary:focus-visible{outline:2px solid #b48b00;outline-offset:5px}@media(max-width:1100px){.af-modern-header{gap:14px;padding:14px 20px}.af-modern-header .wordmark{font-size:24px}.af-header-garage{display:none}}@media(max-width:760px){.af-modern-header{flex-wrap:wrap;gap:14px;padding:12px 16px}.af-modern-header .wordmark{font-size:23px;flex:1}.af-header-search{order:10;flex-basis:100%}.af-header-account{min-width:0;font-size:12px}.af-header-account small{display:none}.af-modern-header .autoflux-cart{font-size:0;gap:0}.af-modern-header .autoflux-cart:before{content:'Coș';font-size:12px;margin-right:6px}.af-header-favorites svg{width:24px}.af-header-menu summary{padding:0;font-size:22px}}
.af-header-garage svg{width:25px;height:25px}.af-cart-icon{position:relative;display:block}.af-cart-icon svg{width:29px;height:29px}.af-modern-header .af-cart-icon b{position:absolute;right:-8px;top:-8px;min-width:17px;height:17px;font-size:10px}.af-cart-copy{display:flex;flex-direction:column;line-height:1.5;margin-left:4px}.af-cart-copy small{font-size:10px;color:#657184}.af-cart-copy strong{font-size:15px}.af-header-menu nav .afg-header-link,.af-header-menu nav .afcmp-nav{margin:0;font-size:14px}.af-modern-header .af-header-menu nav a{font-size:14px}@media(max-width:760px){.af-modern-header .autoflux-cart:before{display:none}.af-cart-copy{display:none}}

/* The new header uses natural height and normal flow, including the WP toolbar. */
.topbar.af-modern-header,body.admin-bar .topbar.af-modern-header{height:auto;top:auto;position:relative;flex-shrink:0}.af-modern-header+.autoflux-primary-nav{position:relative;z-index:1;clear:both}

@media(max-width:760px){.topbar.af-modern-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto auto;gap:14px 10px}.af-modern-header .wordmark{font-size:20px}.af-header-search{grid-column:1/-1;min-width:0;order:initial}.af-header-account{grid-column:3;grid-row:1;font-size:11px}.af-header-favorites{grid-column:4;grid-row:1}.af-modern-header .autoflux-cart{grid-column:5;grid-row:1}.af-header-search{grid-row:2}.af-header-account strong span{margin-left:2px}.af-cart-icon svg{width:25px}}
/* Sticky header stays in document flow, so the navigation never slides under it initially. */
.topbar.af-modern-header,body.admin-bar .topbar.af-modern-header{position:sticky;top:0;z-index:1000}
body.admin-bar .topbar.af-modern-header{top:32px}
.af-account-dropdown{position:relative;flex-shrink:0}
button.af-header-account{background:none;border:0;padding:8px 0;text-align:left;font-family:inherit}
.af-account-links{position:absolute;right:0;top:100%;width:240px;max-height:70vh;overflow:auto;padding:8px;background:#fff;border:1px solid #e1e5eb;border-radius:12px;box-shadow:0 14px 40px #17243824;z-index:1010}
.af-account-links[hidden]{display:none}
.af-account-links a{display:block;padding:10px 13px;border-radius:7px;color:#273344;font-size:14px;line-height:1.4}
.af-account-links a:hover,.af-account-links a:focus-visible{background:#fff5ca;color:#172438}
.af-account-links a:last-child{border-top:1px solid #edf0f4;margin-top:4px}
@media(max-width:782px){body.admin-bar .topbar.af-modern-header{top:46px}}
@media(max-width:760px){.af-account-dropdown{grid-column:3;grid-row:1}.af-account-links{right:-60px;width:230px}}
@media(max-width:600px){body.admin-bar .topbar.af-modern-header{top:0}}
.af-cart-dropdown{position:relative;flex-shrink:0;padding:10px 0}.af-mini-cart{position:absolute;top:100%;right:0;width:350px;max-width:calc(100vw - 24px);padding:20px;background:#fff;border:1px solid #e0e5ec;border-radius:15px;box-shadow:0 18px 45px #16223426;visibility:hidden;opacity:0;pointer-events:none;transform:translateY(5px);transition:opacity .15s,transform .15s;z-index:1020}.af-cart-dropdown:hover .af-mini-cart,.af-cart-dropdown:focus-within .af-mini-cart,.af-cart-dropdown.is-open .af-mini-cart{visibility:visible;opacity:1;pointer-events:auto;transform:translateY(0)}.af-mini-cart h3{font-size:16px;margin:0 0 16px;font-weight:700}.af-mini-cart ul.cart_list{list-style:none;padding:0;margin:0;max-height:320px;overflow-y:auto}.af-mini-cart ul.cart_list li{position:relative;padding:14px 23px 14px 76px;min-height:90px;border-bottom:1px solid #e8ecf1;font-size:13px;line-height:1.4;text-align:left}.af-mini-cart ul.cart_list li>a:not(.remove){font-weight:600;color:#172438;display:block}.af-mini-cart ul.cart_list li img{position:absolute;left:0;top:14px;width:60px;height:60px;object-fit:contain;border:1px solid #e6eaf0;border-radius:10px;float:none;margin:0}.af-mini-cart ul.cart_list li a.remove{position:absolute;right:0;top:14px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #e1e5eb;border-radius:50%;color:#647184!important;font-size:16px;line-height:1;font-weight:400;background:#fff}.af-mini-cart ul.cart_list li a.remove:hover{background:#fff0eb;color:#a42f1e!important}.af-mini-cart .quantity{display:block;color:#667385;font-size:12px;margin-top:6px}.af-mini-cart .quantity .amount{color:#172438;font-weight:600}.af-mini-cart .total{display:flex;justify-content:space-between;gap:12px;padding:16px 0 10px;margin:0;color:#172438;font-size:15px}.af-mini-cart .total>strong{font-weight:400;color:#748194}.af-mini-cart .buttons{display:flex;gap:8px;margin:8px 0 0}.af-mini-cart .buttons a{flex:1;text-align:center;background:#eef1f5;color:#172438;border-radius:10px;padding:12px 7px;font-size:12px;font-weight:700;line-height:1.4}.af-mini-cart .buttons a.checkout{background:#ffd21c}.af-mini-cart .buttons a:hover{filter:brightness(.96)}.af-mini-cart .woocommerce-mini-cart__empty-message{font-size:14px;color:#748194;padding:16px 0;margin:0}@media(max-width:760px){.af-cart-dropdown{grid-column:5;grid-row:1;padding:4px 0}.af-mini-cart{right:-1px;padding:16px}.af-mini-cart ul.cart_list{max-height:45vh}}@media(prefers-reduced-motion:reduce){.af-mini-cart{transition:none}}
/* AnveloFlux yellow cart icons in the header and product cards. */
.af-modern-header .af-cart-icon svg{color:#e4b600}
.af-header-favorites{position:relative}.af-favorites-count{position:absolute;right:-8px;top:-8px;display:grid;place-items:center;min-width:17px;height:17px;padding:0 4px;background:#ffd21c;color:#172438;font-size:10px;font-weight:700;border-radius:20px;line-height:1}

/* Illustrative image captions belong to the catalog, not the compact cart. */
.af-mini-cart ul.cart_list li .afci-image{position:absolute;left:0;top:14px;width:60px;height:60px;margin:0;display:block}
.af-mini-cart ul.cart_list li .afci-image .afci-caption{display:none}
.af-mini-cart ul.cart_list li .afci-image img{position:static;display:block;width:60px;height:60px;max-width:100%;margin:0;float:none;object-fit:contain}
.af-mini-cart ul.cart_list li>a:not(.remove){overflow-wrap:anywhere}

.af-mini-cart .buttons a.af-mini-cart-details{background:#ffd21c;color:#172438;width:100%;flex:1}
