/* Optional seasonal presentation. Loaded by the master only when enabled. */
:root,body {
    --body-bg:#fff!important;--body-color:#302831!important;
    --title-color:#49354f!important;--H1-color:#49354f!important;
    --search-color:#fff2e5!important;--dropdown-color:#49354f!important;
    --pillsrow-color:#fff7ef!important;--autocomplete-items-color:#fff2e5!important;
    --table-striped-color:#fff7ef!important;--compras-th-color:#f7e9dc!important;
    --option-selected-color:#ffe5c7!important;--nice-select-color:#fff!important;
    --totalbox-border-color:#dec9b9!important;--totalbox-color:#fff2e5!important;
    --migas-a-color:#68536d!important;--color-tituloazul:#49354f!important;
    --color-testtahoma:#49354f!important;--card-color:#49354f!important;
    --tr-impar-bg-color:#fff7ef!important;--hr-color:#e5d8ca!important;
    --ht-bg:#fff;--ht-head:#fff2e5;--ht-row:#fff7ef;--ht-text:#49354f;--ht-muted:#705e76;--ht-border:#e5d8ca;
}
body {background-color:var(--body-bg)!important;color:var(--body-color)!important}
#site-header {border-bottom:2px solid #f28c18}
#site-header::after {
    position:absolute;top:calc(100% + 2px);left:0;
    content:"HALLOWEEN · Piezas con un lado oscuro";
    display:block;clear:both;padding:8px 12px;background:#eee5f5;
    /* Fixed header spans viewport; catalogue excludes body padding (16px + 15px). */
    width:calc(100% - 31px);box-sizing:border-box;
    color:#49354f;text-align:center;font:14px/1.4 Arial,sans-serif;
    letter-spacing:.3px;
}
#site-header + .main {padding-top:36px}
#site-header::before {
    content:"";position:absolute;top:0;left:0;width:78px;height:78px;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23807486' stroke-width='1'%3E%3Cpath d='M0 0H80M0 0L74 30M0 0L56 56M0 0L30 74M0 0V80M20 0Q18 11 14 14Q11 18 0 20M40 0Q36 22 28 28Q22 36 0 40M60 0Q54 33 42 42Q33 54 0 60M80 0Q72 44 56 56Q44 72 0 80'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat;
    opacity:.35;pointer-events:none;
}
@media(max-width:600px){
    #site-header::before {width:42px;height:42px}
    #site-header::after {font-size:12px;padding:6px 8px;letter-spacing:0}
    #site-header + .main {padding-top:29px}
}
@media(prefers-color-scheme:dark){
    #site-header::after {background:#35283f;color:#f4e7fc}
    #site-header::before {filter:brightness(1.8);opacity:.45}
}
#site-header.bg-white,#site-header .bg-white {background-color:var(--body-bg)!important}
#site-header .nav-link,#site-header .itemMenuSup {color:var(--title-color)}
.btn-primary,.btn-warning,#btnBuscador,input.btn[type=submit],a.btn:not(.btn-secondary),button.btn:not(.btn-secondary),.customer-account-nav button.active {
    background-color:#f28c18!important;border-color:#f28c18!important;color:#fff!important;
}
.btn-primary:hover,.btn-warning:hover,#btnBuscador:hover {background-color:#db7608!important;border-color:#db7608!important}
.orders-modern,.my-orders-modern {
    --om-bg:var(--ht-bg)!important;--om-head:var(--ht-head)!important;--om-row:var(--ht-row)!important;--om-text:var(--ht-text)!important;--om-muted:var(--ht-muted)!important;--om-border:var(--ht-border)!important;
    --mo-bg:var(--ht-bg)!important;--mo-head:var(--ht-head)!important;--mo-row:var(--ht-row)!important;--mo-text:var(--ht-text)!important;--mo-muted:var(--ht-muted)!important;--mo-border:var(--ht-border)!important;
}
#Detalle.order-detail-modern {--od-bg:var(--ht-bg)!important;--od-head:var(--ht-head)!important;--od-row:var(--ht-row)!important;--od-text:var(--ht-text)!important;--od-muted:var(--ht-muted)!important;--od-border:var(--ht-border)!important}
.customer-account-nav {--cn-bg:var(--ht-bg)!important;--cn-head:var(--ht-head)!important;--cn-text:var(--ht-text)!important;--cn-border:var(--ht-border)!important}
@media(prefers-color-scheme:dark){
    :root,body {
        --body-bg:#17141c!important;--body-color:#f3edf6!important;
        --title-color:#f4e7fc!important;--H1-color:#f4e7fc!important;
        --search-color:#302637!important;--dropdown-color:#f3edf6!important;
        --pillsrow-color:#251e2d!important;--autocomplete-items-color:#302637!important;
        --table-striped-color:#251e2d!important;--compras-th-color:#35283f!important;
        --option-selected-color:#634371!important;--nice-select-color:#251e2d!important;
        --totalbox-border-color:#594563!important;--totalbox-color:#302637!important;
        --migas-a-color:#d6bfdc!important;--color-tituloazul:#f4e7fc!important;
        --color-testtahoma:#f4e7fc!important;--card-color:#f3edf6!important;
        --tr-impar-bg-color:#251e2d!important;--hr-color:#493b52!important;
        --ht-bg:#17141c;--ht-head:#35283f;--ht-row:#251e2d;--ht-text:#f3edf6;--ht-muted:#ccb5d4;--ht-border:#493b52;
    }
}

/* Small decorative corner webs on a sparse selection of catalogue cards.
   Theme stylesheet is loaded only when Halloween is enabled. */
#listaArticulos:nth-child(7n+2) .tarjeta .imagen-producto-wrapper::after,
#listaArticulos:nth-child(11n+5) .tarjeta .imagen-producto-wrapper::after {
    content:"";position:absolute;top:0;left:0;width:54px;height:54px;
    background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23807486%22%20stroke-width%3D%221.1%22%20stroke-linecap%3D%22round%22%3E%3Cpath%20d%3D%22M1%201L63%201M1%201L59%2025M1%201L45%2045M1%201L25%2059M1%201L1%2063M17%201Q14%209%2016%2016Q9%2014%201%2017M33%201Q28%2017%2031%2031Q17%2028%201%2033M49%201Q42%2025%2046%2046Q25%2042%201%2049M16%2016Q22%208%2024%2011M31%2031Q41%2016%2046%2019M46%2046Q59%2028%2060%2026M16%2016Q8%2022%2011%2024M31%2031Q16%2041%2019%2046M46%2046Q28%2059%2026%2060%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") center/contain no-repeat;
    pointer-events:none;z-index:3;opacity:.65;
}
#listaArticulos:nth-child(11n+5) .tarjeta .imagen-producto-wrapper::after {left:auto;right:0;transform:scaleX(-1)}
@media(max-width:600px){
    .tarjeta .imagen-producto-wrapper::after {width:38px;height:38px}
}
@media(prefers-color-scheme:dark){
    .tarjeta .imagen-producto-wrapper::after {filter:brightness(1.8);opacity:.8}
}
