/* Zeedo - decor de Craciun 2026. Se incarca doar prin themes/warehouse/zd-craciun.tpl.
   "html:root" = aceeasi prioritate ca in prototip, fara clasa pusa din script. */

/* culorile scrise inline in tema (unele cu !important): rosu de la primul cadru, pana ruleaza scriptul */
html:root #header .header-background:not(.zx-curat),
html:root #header .container-header:not(.zx-curat),
html:root #header .more_info:not(.zx-curat) { box-shadow: inset 0 0 0 3000px #b63b3b; }
/* bulina cu numarul de produse: portocaliul inline devine galben cu cifra inchisa */
html:root #header [style*="ff6e0d"]:not(#sbnt) { background: #ffd31b !important; box-shadow: inset 0 0 0 20px #ffd31b; color: #111210 !important; -webkit-text-fill-color: #111210; }

html:root header .nav { background-color: #933131 !important; }

html:root .header-background { position: relative; }
html:root body #header .header-background { background: #b63b3b linear-gradient(#b63b3b, #b63b3b) !important; }
html:root .header-background .header-information,
html:root .header-background .container-header,
html:root .header-background .more_info,
/* pagina de cos are un fundal alb mai specific pe .more_info; fara verdele inline iese la vedere */
html:root body#order-opc #header .header-background .more_info, html:root body#order #header .header-background .more_info { background: transparent !important; }

/* zapada care cade: peste fundal, sub logo / cautare / iconite */
html:root .zx-fulgi { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
html:root .header-background .container-header > .row,
html:root .header-background .header-information > div { position: relative; }

/* dunga subtire de zapada la baza, in interiorul benzii (nu adauga inaltime).
   Desenul are margini transparente sus si jos, impinse in afara casetei: fara ele, la scalare 125% / 150%
   browserul trage albul de jos in randul de sus si apare o linie in plus. */
html:root .header-background:after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; pointer-events: none;
  background: url(zapada.svg?4) repeat-x left 0 bottom -3px / 240px 10px;
}

/* cautare: doar culoarea, fara contururi */
html:root #sbnt { background-color: #ffd31b !important; color: #111210 !important; }
html:root #sbnt:before { color: #111210 !important; }

/* header lipit sus: dunga aproape cat o linie */
@media (min-width: 1000px) {
  html:root.zd-stuck .header-background:after { height: 3px; background-size: 144px 6px; background-position: left 0 bottom -1.8px; }
}
@media (max-width: 767px) {
  html:root .header-background:after { height: 4px; background-size: 192px 8px; background-position: left 0 bottom -2.4px; }
}

/* ---------- iconuri de sarbatoare ---------- */
/* header: cos = sanie (varianta 3), lista de dorinte = inima cu fulg. Iconul-font ramane ca loc rezervat,
   desenul e pus absolut, ca sus si jos sa cada pe aceleasi linii cu telefonul de langa. */
html:root #header i.icon-shopping-cart,
html:root #header .nxtal-wishlist-link i { position: relative; display: inline-block; }
html:root #header i.icon-shopping-cart:before,
html:root #header .nxtal-wishlist-link i:before { content: "" !important; position: absolute; background: no-repeat center / contain; }
html:root #header i.icon-shopping-cart:before { background-image: url(ico/sanie-3.svg); }
html:root #header .nxtal-wishlist-link i:before { background-image: url(ico/inima-fulg.svg); }
html:root #header .nxtal-wishlist-link .hover i:before { background-image: url(ico/inima-fulg-plin.svg); }
/* desktop: de la varful cifrelor de telefon pana la baza randului de program (31px) */
html:root #header .container-header i.icon-shopping-cart { box-sizing: border-box; width: 61px; height: 39px; }
html:root #header .container-header i.icon-shopping-cart:before { left: 13px; top: 5px; width: 45px; height: 31px; }
html:root #header .container-header .nxtal-wishlist-link i { width: 33px; height: 36px; vertical-align: top; }
html:root #header .container-header .nxtal-wishlist-link i:before { left: -1px; top: 3px; width: 35px; height: 31px; }
/* telefon: desenele stau intre y 13 si 36, ca iconurile de apel si cont; casetele raman cat in tema,
   ca headerul sa nu creasca in inaltime */
html:root #header .header-information i.icon-shopping-cart { box-sizing: border-box; width: 69px; height: 28px; }
html:root #header .header-information i.icon-shopping-cart:before { left: 11px; top: 3px; width: 34px; height: 23px; }
html:root #header .header-information .nxtal-wishlist-link i { width: 25px; height: 25px; }
html:root #header .header-information .nxtal-wishlist-link i:before { left: -4px; top: 3.5px; width: 26px; height: 23px; }
/* beneficii (prima pagina si footer) */
html:root img.zx-ico { object-fit: contain; }
html:root .zf-benefits img.zx-ico { width: 34px; height: 34px; flex: 0 0 34px; }
/* bulina cu numarul de produse: incepe de la aceeasi linie de sus ca iconurile */
@media (min-width: 768px) {
  html:root #header .shopping_cart .ajax_cart_no_product,
  html:root #header .shopping_cart .ajax_cart_quantity { top: 5px !important; left: 56px !important; }
}
html:root #header .header-information span[style*="border-radius"] { top: 15px; right: 22px !important; }

/* ---------- pagina de categorie: titlul devine o banda de sarbatoare cu bradul din ilustratie ---------- */
html:root body#category h1.page-heading {
  position: relative; display: flex; align-items: center; box-sizing: border-box; min-height: 104px; margin: 0 0 14px !important; padding: 8px 130px 13px 20px !important;
  background: #b63b3b url(zapada-alba.svg?4) repeat-x left 0 bottom -3px / 240px 10px !important; border: 0 !important; border-radius: 3px; color: #fff !important;
}
html:root body#category h1.page-heading * { color: #fff !important; }
html:root body#category h1.page-heading:after { content: ""; position: absolute; right: 18px; bottom: 3px; width: 82px; height: 98px; background: url(brad-cadouri.png) no-repeat center bottom / contain; }
@media (max-width: 767px) {
  html:root body#category h1.page-heading { min-height: 76px; padding: 6px 84px 11px 14px !important; }
  html:root body#category h1.page-heading:after { right: 8px; width: 60px; height: 71px; }
}
/* telefon: meniu, apel si cont intre aceleasi linii ca inima si sania (y 13 - 36) */
html:root #header .header-information i.icon-bars:before { display: inline-block; transform: translateY(.5px) scaleY(1.285); }
html:root #header .header-information .icon-phone:before { display: inline-block; transform: translateY(1.1px) scale(1.082); }
html:root #header .header-information .fa-user:before { display: inline-block; transform: translateY(.1px) scale(.99); }

/* ---------- fereastra "Adaugat in cos": capul devine rosu, cu zapada subtire, ca headerul ---------- */
html:root #layer_cart.zcp .zcp-head { background: #b63b3b url(zapada-alba.svg?4) repeat-x left 0 bottom -3px / 240px 10px; border-bottom: 0; padding-bottom: 13px; border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
@media (max-width: 767px) { html:root #layer_cart.zcp .zcp-head { padding-bottom: 11px; } }
html:root #layer_cart.zcp .zcp-ok { color: #fff; }
html:root #layer_cart.zcp .zcp-ok svg { background: #ffd31b; stroke: #111210; }
html:root #layer_cart.zcp .cross svg { stroke: #fff; }
html:root #layer_cart.zcp .cross:hover { background: rgba(255,255,255,.18); }

/* ---------- inima de pe poza produsului: cu fulg, in culoarea pe care o are deja ---------- */
html:root body#product .zx-inima-poza i:before {
  content: "" !important; display: inline-block; width: 1.12em; height: 1em; vertical-align: -.12em; background-color: currentColor;
  -webkit-mask: url(ico/inima-fulg.svg) no-repeat center / contain; mask: url(ico/inima-fulg.svg) no-repeat center / contain;
}
html:root body#product .zx-inima-poza .hover i:before { -webkit-mask-image: url(ico/inima-fulg-masca-plin.svg); mask-image: url(ico/inima-fulg-masca-plin.svg); }

/* ---------- telefon: logo mai mare, literele cat iconurile de langa ---------- */
html:root #header .header-information img.logo { width: 92px !important; height: auto !important; max-width: none !important; margin-top: -4px; margin-bottom: -4px; position: relative; top: .2px; }
@media (max-width: 359px) {
  html:root #header .header-information img.logo { width: 78px !important; margin-top: -2px; margin-bottom: -2px; top: .3px; }
}
/* telefon: cifra ramane centrata in bulina */
html:root #header .header-information span[style*="border-radius"] { display: flex; align-items: center; justify-content: center; line-height: 1; }
html:root #header .header-information span[style*="border-radius"] > span { padding: 0 !important; line-height: 1; }

/* ---------- cos: ren la termenul de livrare, casuta la ridicarea din showroom (in locul iconurilor mici) ---------- */
html:root .zd-liv-cart i.fa-truck, html:root .zd-liv-cart i.fa-shopping-bag, html:root .zd-liv-cart i.fa-map-marker { display: inline-block; width: 22px; height: 22px; margin-right: 7px; padding: 0; vertical-align: -6px; background: url(ico/ren-plat.svg) no-repeat center / contain; }
html:root .zd-liv-cart i.fa-shopping-bag, html:root .zd-liv-cart i.fa-map-marker { background-image: url(ico/casuta-plata.svg); }
html:root .zd-liv-cart i.fa-truck:before, html:root .zd-liv-cart i.fa-shopping-bag:before, html:root .zd-liv-cart i.fa-map-marker:before { content: none; }
html:root .zd-liv-cart .zi { line-height: 28px; }

/* ---------- cos: caseta termenelor in roz-cald in loc de verdele spalacit; titlul = banda rosie cu zapada ---------- */
html:root #zd-liv-cart.zd-liv-cart { background: #fbefee; border: 1px solid #efd3d1; }
html:root body #cart_title.page-heading {
  box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; min-height: 64px; margin: 0 0 14px !important; padding: 10px 20px 15px !important;
  background: #b63b3b url(zapada-alba.svg?4) repeat-x left 0 bottom -3px / 240px 10px !important; border: 0 !important; border-radius: 3px; color: #fff !important;
}
html:root body #cart_title.page-heading * { color: #fff !important; }
@media (max-width: 767px) {
  html:root body #cart_title.page-heading { min-height: 52px; padding: 8px 14px 13px !important; }
}
