/* ===== MENIU PRINCIPAL + PREVIZUALIZARE PRODUS — albumefotohd.ro, 4 dec 2026 ===== */

@media (min-width: 769px) {

    /* --- bara --- */
    .navigation .level0 > a.level-top {
        position: relative;
        letter-spacing: 0.03em;
        transition: color .15s ease, background-color .15s ease;
    }

    .navigation .level0 > a.level-top::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 8px;
        height: 2px;
        border-radius: 2px;
        background: #fff;
        transform: scaleX(0);
        transform-origin: center;
        transition: transform .22s ease;
    }

    .navigation .level0:hover > a.level-top::after,
    .navigation .level0 > a.level-top:focus-visible::after,
    .navigation .level0.active > a.level-top::after,
    .navigation .level0.has-active > a.level-top::after {
        transform: scaleX(1);
    }

    /* bara portocalie a temei pe elementul activ */
    .navigation .level0.active > .level-top,
    .navigation .level0.has-active > .level-top {
        border-color: transparent !important;
        border-bottom-width: 0 !important;
    }

    .navigation .level0:hover > a.level-top {
        background: rgba(255,255,255,0.07);
    }

    .navigation .level0 > a.level-top .ui-menu-icon {
        transition: transform .2s ease;
    }

    /* --- lista care se deschide --- */
    .navigation .level0 > .submenu {
        border: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 18px 44px rgba(0,0,0,0.18) !important;
        padding: 8px !important;
        min-width: 270px !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }

    .navigation .level0 .submenu a {
        border-radius: 8px;
        padding: 10px 16px !important;
        color: #333 !important;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.02em;
        position: relative;
        transition: background-color .12s ease, color .12s ease, padding-left .15s ease;
    }

    .navigation .level0 .submenu a:hover,
    .navigation .level0 .submenu a.ui-state-focus,
    .navigation .level0 .submenu a.ui-state-active,
    .navigation .level0 .submenu .active > a {
        background: #faf2f0 !important;
        color: #8f0000 !important;
        padding-left: 22px !important;
        text-decoration: none;
    }

    .navigation .level0 .submenu a:hover::before,
    .navigation .level0 .submenu a.ui-state-focus::before,
    .navigation .level0 .submenu a.ui-state-active::before {
        content: "";
        position: absolute;
        left: 8px;
        top: 50%;
        width: 3px;
        height: 16px;
        margin-top: -8px;
        border-radius: 2px;
        background: #8f0000;
    }

    /* sub-sub-meniu (ex. Acril / Plexiglas) */
    .navigation .level1 > .submenu {
        border: 0 !important;
        border-radius: 12px !important;
        box-shadow: 0 18px 44px rgba(0,0,0,0.18) !important;
        padding: 8px !important;
    }

    /* sub-sub-meniul (ex. Acril / Plexiglas) nu mai pluteste separat:
       subcategoriile apar in cardul din dreapta (jQuery UI pune display inline, de aici !important) */
    .navigation .level0 > .submenu.af-mp-on > li.level1 > .submenu {
        display: none !important;
    }

    .navigation .level0 > .submenu.af-mp-on > li.level1 > a .ui-menu-icon {
        opacity: .45;
    }

    .af-mp-subs {
        display: none;
        flex-wrap: wrap;
        gap: 6px;
        padding: 14px 14px 0;
    }

    .af-mp.af-mp-has-subs .af-mp-subs {
        display: flex;
    }

    .navigation .level0 .submenu a.af-mp-sub {
        display: inline-block;
        padding: 6px 11px !important;
        border-radius: 999px;
        border: 1px solid #ead9cf;
        background: #fff !important;
        color: #5a3a2a !important;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.03em;
        line-height: 1.2;
        transition: background-color .12s ease, border-color .12s ease, color .12s ease;
    }

    .navigation .level0 .submenu a.af-mp-sub:hover,
    .navigation .level0 .submenu a.af-mp-sub.is-on {
        padding: 6px 11px !important;
        background: #8f0000 !important;
        border-color: #8f0000;
        color: #fff !important;
    }

    .navigation .level0 .submenu a.af-mp-sub::before {
        display: none !important;
    }

    .af-mp.af-mp-has-subs .af-mp-imgwrap {
        margin-top: 10px;
    }

    /* --- previzualizare produs, in dreapta listei --- */
    .navigation .level0 > .submenu.af-mp-on {
        padding-right: 292px !important;
        min-width: 580px !important;
        min-height: 330px;
        box-sizing: border-box;
    }

    .navigation .level0 > .submenu > li.af-mp {
        position: absolute !important;
        top: 8px;
        right: 8px;
        bottom: 8px;
        width: 276px;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
        border-left: 1px solid #f0ebe8;
        background: #fbf9f7;
        border-radius: 0 8px 8px 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .af-mp-imgwrap {
        display: block;
        flex: 1 1 auto;
        min-height: 150px;
        margin: 14px 14px 0;
        background: #fff;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        padding: 0 !important;
    }

    .navigation .level0 .submenu a.af-mp-imgwrap:hover {
        background: #fff !important;
        padding: 0 !important;
    }

    .navigation .level0 .submenu a.af-mp-imgwrap::before {
        display: none !important;
    }

    .af-mp-imgwrap img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform .35s ease, opacity .2s ease;
    }

    .af-mp-imgwrap:hover img {
        transform: scale(1.04);
    }

    .af-mp-body {
        padding: 12px 16px 14px;
    }

    .af-mp-cat {
        display: block;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #ae7951;
        margin-bottom: 4px;
    }

    .af-mp-name {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        color: #2b2b2b;
        min-height: 35px;
    }

    .af-mp-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        gap: 8px;
        margin-top: 8px;
    }

    .af-mp-price {
        font-size: 16px;
        font-weight: 700;
        color: #8f0000;
        white-space: nowrap;
    }

    .af-mp-price small {
        font-size: 10px;
        font-weight: 600;
        color: #888;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: 4px;
    }

    .navigation .level0 .submenu a.af-mp-all {
        padding: 0 !important;
        font-size: 12px;
        font-weight: 700;
        color: #8f0000 !important;
        background: none !important;
        white-space: nowrap;
    }

    .navigation .level0 .submenu a.af-mp-all:hover {
        padding: 0 !important;
        text-decoration: underline;
    }

    .navigation .level0 .submenu a.af-mp-all::before {
        display: none !important;
    }

    /* incarcare */
    .af-mp.af-mp-loading .af-mp-imgwrap,
    .af-mp.af-mp-loading .af-mp-name,
    .af-mp.af-mp-loading .af-mp-price {
        color: transparent !important;
        background: linear-gradient(90deg, #f1ece9 25%, #f8f5f3 50%, #f1ece9 75%);
        background-size: 200% 100%;
        animation: af-mp-shimmer 1.1s linear infinite;
        border-radius: 6px;
    }

    .af-mp.af-mp-loading img {
        opacity: 0;
    }

    .af-mp.af-mp-empty .af-mp-imgwrap img {
        display: none;
    }

    @keyframes af-mp-shimmer {
        from { background-position: 200% 0; }
        to { background-position: -200% 0; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .navigation .level0 > a.level-top::after,
    .af-mp-imgwrap img,
    .navigation .level0 .submenu a {
        transition: none !important;
    }
    .af-mp.af-mp-loading .af-mp-imgwrap,
    .af-mp.af-mp-loading .af-mp-name,
    .af-mp.af-mp-loading .af-mp-price {
        animation: none;
    }
}

@media (min-width: 769px) {
    /* cand cardul are subcategorii: poza se micsoreaza, lista e mai inalta, nimic nu iese din card */
    .navigation .level0 > .submenu.af-mp-on:has(.af-mp-has-subs) {
        min-height: 400px;
    }

    .af-mp .af-mp-imgwrap {
        flex: 1 1 0;
        min-height: 110px;
    }

    .af-mp .af-mp-body {
        flex: 0 0 auto;
    }

    .navigation .level0 .submenu a.af-mp-sub,
    .navigation .level0 .submenu a.af-mp-sub:hover,
    .navigation .level0 .submenu a.af-mp-sub.is-on {
        padding: 5px 9px !important;
        font-size: 10px;
    }

    .af-mp-subs {
        gap: 5px;
    }
}

@media (min-width: 769px) {
    /* ===== card sub elementele fara submeniu (Color Box, Newborn ...) ===== */
    .navigation li.level0 {
        position: relative;
    }

    .af-mp-drop {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1001;
        width: 290px;
        padding: 8px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 18px 44px rgba(0,0,0,0.18);
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
        pointer-events: none;
    }

    .navigation li.level0.af-mp-right > .af-mp-drop {
        left: auto;
        right: 0;
    }

    .navigation li.level0.af-mp-open > .af-mp-drop {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .16s ease, transform .16s ease, visibility 0s;
        pointer-events: auto;
    }

    .af-mp-solo {
        display: flex;
        flex-direction: column;
        background: #fbf9f7;
        border-radius: 8px;
        overflow: hidden;
    }

    .af-mp-solo .af-mp-imgwrap {
        flex: 0 0 auto !important;
        height: 190px;
        min-height: 0 !important;
    }

    .af-mp-drop a {
        text-decoration: none;
    }

    .af-mp-drop a.af-mp-all {
        font-size: 12px;
        font-weight: 700;
        color: #8f0000;
        white-space: nowrap;
    }

    .af-mp-drop a.af-mp-all:hover {
        text-decoration: underline;
    }
}

@media (prefers-reduced-motion: reduce) {
    .af-mp-drop {
        transition: none !important;
        transform: none !important;
    }
}

@media (min-width: 769px) {
    /* „Vezi toate” ca buton (in ambele carduri) */
    .navigation .level0 .submenu a.af-mp-all,
    .navigation .level0 .submenu a.af-mp-all:hover,
    .af-mp-drop a.af-mp-all,
    .af-mp-drop a.af-mp-all:hover {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 7px 13px !important;
        border-radius: 999px;
        background: #8f0000 !important;
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        text-decoration: none !important;
        white-space: nowrap;
        box-shadow: 0 2px 6px rgba(143,0,0,0.25);
        transition: background-color .15s ease, transform .12s ease, box-shadow .15s ease;
    }

    .navigation .level0 .submenu a.af-mp-all:hover,
    .af-mp-drop a.af-mp-all:hover {
        background: #6e0000 !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(143,0,0,0.32);
    }

    .af-mp-row {
        align-items: center;
    }

    .af-mp.af-mp-loading .af-mp-all {
        visibility: hidden;
    }
}

@media (min-width: 769px) {
    /* pretul + butonul: daca nu incap pe un rand, butonul trece dedesubt, nu iese din card */
    .af-mp-row {
        flex-wrap: wrap;
        row-gap: 8px;
    }

    .navigation .level0 .submenu a.af-mp-all,
    .af-mp-drop a.af-mp-all {
        margin-left: auto !important;
        padding: 6px 12px !important;
    }
}

/* ===== BARA DE SUS (contact + cont) — 4 dec 2026 ===== */
@media (min-width: 769px) {
    body .page-header .panel.wrapper {
        background: #4a0a0a !important;
        border-bottom: 1px solid rgba(255,255,255,0.06) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.22) !important;
    }

    body .header-top-contact,
    body .header-top-contact a,
    body .header-top-contact span {
        font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif !important;
    }

    body .header-top-contact .top-contact-left {
        gap: 2px !important;
    }

    body .header-top-contact .top-contact-item {
        padding: 6px 11px !important;
        border-radius: 999px;
        font-size: 12.5px !important;
        font-weight: 500 !important;
        letter-spacing: 0.01em;
        transition: background-color .15s ease, color .15s ease;
    }

    body .header-top-contact .top-contact-item span {
        color: rgba(255,255,255,0.88) !important;
    }

    body .header-top-contact .top-contact-item::after {
        display: none !important;
    }

    body .header-top-contact .top-contact-item i {
        color: #e3c6a6 !important;
        font-size: 12px !important;
        transition: color .15s ease, transform .15s ease;
    }

    body .header-top-contact .top-contact-item.phones span {
        font-weight: 600 !important;
        font-variant-numeric: tabular-nums;
    }

    body .header-top-contact a.top-contact-item:hover {
        background: rgba(255,255,255,0.10);
        opacity: 1 !important;
    }

    body .header-top-contact a.top-contact-item:hover span,
    body .header-top-contact a.top-contact-item:hover i {
        color: #fff !important;
    }

    body .header-top-contact a.top-contact-item:hover i {
        transform: translateY(-1px);
    }

    body .header-top-contact .top-contact-item.delivery {
        cursor: default;
    }

    /* grupuri: livrare+email+telefoane | WhatsApp | descarcari */
    body .header-top-contact .phones + .whatsapp,
    body .header-top-contact .whatsapp + .download-link {
        margin-left: 13px !important;
    }

    body .header-top-contact .phones + .whatsapp::before,
    body .header-top-contact .whatsapp + .download-link::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 50%;
        width: 1px;
        height: 16px;
        margin-top: -8px;
        background: rgba(255,255,255,0.22);
    }

    body .header-top-contact .top-contact-item.whatsapp i {
        color: #7ee2a8 !important;
        font-size: 13px !important;
    }

    body .header-top-contact .top-contact-item.download-link {
        border: 1px solid rgba(227,198,166,0.45);
        padding: 5px 12px !important;
        margin-left: 4px;
    }

    body .header-top-contact .top-contact-item.download-link:hover {
        border-color: #e3c6a6;
        background: rgba(227,198,166,0.12);
    }

    /* butoanele de cont */
    body .custom-auth .btn-login,
    body .custom-auth .btn-register {
        min-height: 32px !important;
        line-height: 32px !important;
        padding: 0 16px !important;
        border-radius: 999px !important;
        font-size: 13px !important;
        font-weight: 600 !important;
        gap: 7px !important;
        transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .12s ease !important;
    }

    body .custom-auth .btn-login {
        background: #fff !important;
        border: 1px solid #fff !important;
    }

    body .custom-auth .btn-login span,
    body .custom-auth .btn-login i {
        color: #6e0000 !important;
    }

    body .custom-auth .btn-login:hover {
        background: #f6ece4 !important;
        transform: translateY(-1px);
    }

    body .custom-auth .btn-register {
        background: transparent !important;
        border: 1px solid rgba(255,255,255,0.4) !important;
    }

    body .custom-auth .btn-register:hover {
        background: rgba(255,255,255,0.12) !important;
        border-color: #fff !important;
    }

    body .custom-auth .auth-group {
        gap: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1350px) {
    body .header-top-contact .top-contact-item {
        padding: 6px 7px !important;
        font-size: 12px !important;
    }
    body .header-top-contact .top-contact-item.delivery span {
        display: none;
    }
}

@media (min-width: 769px) {
    /* butoanele de cont stau in acelasi rand, lipite la dreapta */
    body .header-top-contact .top-contact-left {
        flex-wrap: nowrap !important;
        flex: 1 1 auto;
        min-width: 0;
    }
    body .header-top-contact .top-contact-right {
        margin-left: auto !important;
        padding-left: 12px !important;
        flex: 0 0 auto;
    }
}

/* ===== ANTET (logo + cos) SI BARA DE MENIU — 4 dec 2026 ===== */
@media (min-width: 769px) {
    body .page-header {
        background: radial-gradient(ellipse 70% 140% at 50% 0%, #8c0b0b 0%, #650606 55%, #470505 100%) !important;
        box-shadow: none !important;
    }

    /* logo si cos pe aceeasi latime ca meniul (max 1400px, centrat) */
    body .page-header .header.content {
        padding: 20px max(24px, calc((100% - 1400px) / 2)) 18px !important;
        box-sizing: border-box;
    }

    body .page-header .header.content::after {
        content: "";
        display: table;
        clear: both;
    }

    body .page-header .logo {
        margin: 0 !important;
        transition: opacity .15s ease;
    }

    body .page-header .logo:hover {
        opacity: .9;
    }

    body .page-header .logo img {
        height: 50px;
        width: auto;
    }

    /* cos: buton rotund, bulina alba */
    body .page-header .minicart-wrapper {
        margin: 2px 0 0 !important;
    }

    body .page-header .minicart-wrapper .action.showcart {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: rgba(255,255,255,0.10);
        border: 1px solid rgba(255,255,255,0.18);
        box-sizing: border-box;
        transition: background-color .15s ease, border-color .15s ease, transform .12s ease;
    }

    body .page-header .minicart-wrapper .action.showcart:hover {
        background: rgba(255,255,255,0.18);
        border-color: rgba(255,255,255,0.35);
        transform: translateY(-1px);
    }

    body .page-header .minicart-wrapper .action.showcart:before {
        margin: 0 !important;
        line-height: 1 !important;
    }

    body .page-header .minicart-wrapper .counter.qty {
        position: absolute;
        top: -5px;
        right: -7px;
        min-width: 22px;
        height: 22px;
        margin: 0 !important;
        padding: 0 6px !important;
        border-radius: 999px !important;
        background: #fff !important;
        color: #8f0000 !important;
        font-size: 12px;
        font-weight: 700;
        line-height: 22px;
        text-align: center;
        box-sizing: border-box;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    }

    body .page-header .minicart-wrapper .counter.qty .counter-number {
        color: #8f0000 !important;
    }

    body .page-header .minicart-wrapper .counter.qty.empty {
        display: none !important;
    }

    /* bara de meniu */
    body .nav-sections,
    body .nav-sections .nav-sections-item-content {
        background: #7a0000 !important;
    }

    body .nav-sections {
        border-top: 1px solid rgba(255,255,255,0.10);
        box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    }

    body .navigation > ul {
        display: flex !important;
        justify-content: space-between;
        align-items: stretch;
        max-width: 1400px;
        margin: 0 auto !important;
        padding: 0 12px !important;
        box-sizing: border-box;
    }

    body .navigation > ul::before,
    body .navigation > ul::after {
        display: none !important;
    }

    body .navigation li.level0 {
        margin: 0 !important;
    }

    body .navigation .level0 > a.level-top {
        white-space: nowrap !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        letter-spacing: 0.04em !important;
        padding: 0 14px !important;
    }
}

@media (min-width: 769px) and (max-width: 1300px) {
    body .navigation .level0 > a.level-top {
        font-size: 12.5px !important;
        padding: 0 8px !important;
        letter-spacing: 0.02em !important;
    }
}

@media (min-width: 769px) {
    body .page-wrapper .nav-sections,
    body .page-wrapper .nav-sections .nav-sections-item-content,
    body .page-wrapper .navigation,
    body .page-wrapper .navigation > ul {
        background: #7a0000 !important;
    }
}

@media (min-width: 769px) {
    /* loc pentru sageata la Albume / Oferte */
    body .navigation li.level0.parent > a.level-top {
        padding-right: 26px !important;
    }
}

@media (min-width: 769px) and (max-width: 1300px) {
    body .navigation li.level0.parent > a.level-top {
        padding-right: 22px !important;
    }
}

@media (min-width: 769px) {
    body .navigation li.level0.parent > a.level-top .ui-menu-icon {
        right: 8px !important;
        left: auto !important;
    }
}

/* ===== COSUL DIN ANTET (fereastra mica) — compact — 4 dec 2026 ===== */
@media (min-width: 769px) {
    body .minicart-wrapper .block-minicart {
        width: 360px !important;
        padding: 16px 18px 12px !important;
        border: 0 !important;
        border-radius: 14px !important;
        box-shadow: 0 18px 44px rgba(0,0,0,0.20) !important;
        right: -6px !important;
        margin-top: 10px !important;
        font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    }

    body .minicart-wrapper .block-minicart::before,
    body .minicart-wrapper .block-minicart::after {
        right: 18px !important;
    }

    body .block-minicart .block-content > .action.close {
        top: 8px !important;
        right: 8px !important;
        width: 30px;
        height: 30px;
    }

    body .block-minicart .block-content > .action.close::before {
        font-size: 22px !important;
        line-height: 30px !important;
        color: #999 !important;
    }

    body .block-minicart .items-total {
        float: none !important;
        margin: 0 0 2px !important;
        font-size: 13px;
        color: #777;
    }

    body .block-minicart .items-total .count {
        font-weight: 700;
        color: #2b2b2b;
    }

    body .block-minicart .subtotal {
        float: none !important;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        margin: 0 34px 12px 0 !important;
        text-align: left !important;
    }

    body .block-minicart .subtotal .label {
        font-size: 13px;
        color: #777;
    }

    body .block-minicart .subtotal .price-wrapper,
    body .block-minicart .subtotal .amount .price {
        font-size: 19px !important;
        font-weight: 700 !important;
        color: #8f0000 !important;
    }

    body .block-minicart .block-content > .actions {
        margin: 0 0 6px !important;
    }

    body .block-minicart #top-cart-btn-checkout {
        width: 100%;
        height: 44px !important;
        padding: 0 16px !important;
        font-size: 15px !important;
        line-height: 44px !important;
        border-radius: 10px !important;
    }

    /* lista de produse */
    body .block-minicart .minicart-items-wrapper {
        margin: 10px -18px 0 !important;
        padding: 0 18px !important;
        border-top: 1px solid #eee !important;
        border-bottom: 1px solid #eee !important;
        max-height: 320px !important;
        height: auto !important;
        overflow-y: auto;
    }

    body .block-minicart .minicart-items .product-item {
        padding: 12px 0 !important;
        border-top: 1px solid #f2f2f2 !important;
    }

    body .block-minicart .minicart-items .product-item:first-child {
        border-top: 0 !important;
    }

    body .block-minicart .minicart-items .product-item > .product {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        position: relative;
    }

    body .block-minicart .minicart-items .product-item-photo {
        float: none !important;
        flex: 0 0 64px;
        width: 64px;
    }

    body .block-minicart .minicart-items .product-item-photo img,
    body .block-minicart .minicart-items .product-image-container {
        width: 64px !important;
        max-width: 64px !important;
        border-radius: 8px;
        overflow: hidden;
    }

    body .block-minicart .minicart-items .product-item-details {
        padding: 0 54px 0 0 !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    body .block-minicart .minicart-items .product-item-name {
        display: block;
        margin: 0 0 2px !important;
        font-size: 13px !important;
        font-weight: 600;
        line-height: 1.35;
    }

    body .block-minicart .minicart-items .product-item-name a {
        color: #2b2b2b !important;
    }

    body .block-minicart .minicart-items .product-item-name a:hover {
        color: #8f0000 !important;
    }

    body .block-minicart .minicart-items .product.options {
        margin: 0 0 4px !important;
    }

    body .block-minicart .minicart-items .product.options .toggle {
        font-size: 12px !important;
        color: #888 !important;
    }

    body .block-minicart .minicart-items .product.options .toggle::after {
        font-size: 18px !important;
    }

    body .block-minicart .minicart-items .product-item-pricing {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    body .block-minicart .minicart-items .price-container .price {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #8f0000 !important;
    }

    body .block-minicart .minicart-items .details-qty {
        margin: 0 !important;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    body .block-minicart .minicart-items .details-qty .label {
        font-size: 12px !important;
        color: #888;
    }

    body .block-minicart .minicart-items .details-qty .item-qty {
        width: 42px !important;
        height: 28px !important;
        padding: 0 4px !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        text-align: center;
    }

    /* editeaza / sterge: sus in dreapta, mici */
    body .block-minicart .minicart-items .product.actions {
        position: absolute !important;
        top: 0;
        right: 0;
        margin: 0 !important;
        display: flex;
        gap: 2px;
        float: none !important;
    }

    body .block-minicart .minicart-items .product.actions .primary,
    body .block-minicart .minicart-items .product.actions .secondary {
        margin: 0 !important;
        float: none !important;
        display: block;
    }

    body .block-minicart .minicart-items .product.actions a {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 26px;
        height: 26px;
        border-radius: 6px;
        transition: background-color .12s ease;
    }

    body .block-minicart .minicart-items .product.actions a:hover {
        background: #f6eeee;
    }

    body .block-minicart .minicart-items .product.actions a::before {
        font-size: 16px !important;
        line-height: 1 !important;
        margin: 0 !important;
        color: #999 !important;
    }

    body .block-minicart .minicart-items .product.actions a:hover::before {
        color: #8f0000 !important;
    }

    body .block-minicart .minicart-items .update-cart-item {
        font-size: 11px !important;
        padding: 3px 8px !important;
        margin: 0 !important;
        float: none !important;
    }

    body .block-minicart .block-content > .actions:last-child,
    body .block-minicart .block-content > .actions .secondary {
        margin: 8px 0 0 !important;
        text-align: center;
    }

    body .block-minicart .action.viewcart {
        font-size: 13px !important;
        font-weight: 600;
        color: #8f0000 !important;
    }
}

@media (min-width: 769px) {
    body .minicart-wrapper .block-minicart,
    body .block-minicart .block-content {
        min-height: 0 !important;
        height: auto !important;
    }
    body .block-minicart .block-content > .action.close::before {
        font-size: 16px !important;
    }
    body .block-minicart .minicart-items .product.options .toggle::after {
        font-size: 12px !important;
        line-height: 1 !important;
    }
    body .block-minicart .minicart-items .product.actions a::before {
        font-size: 14px !important;
    }
}

@media (min-width: 769px) {
    /* bara fixa avea ~41px, iar pagina incepea la 42px: ramanea o dunga de fundal deschis */
    body .page-header .panel.wrapper {
        min-height: 43px !important;
        box-sizing: border-box !important;
        border-bottom: 0 !important;
        display: flex !important;
        align-items: center;
    }
    body .page-header .panel.wrapper > .panel.header {
        width: 100%;
    }
}

@media (min-width: 769px) {
    /* coșul mic: editeaza / sterge ca butoane clare */
    body .block-minicart .minicart-items .product.actions {
        gap: 6px !important;
    }
    body .block-minicart .minicart-items .product.actions a {
        width: 30px !important;
        height: 30px !important;
        border: 1px solid #eee;
        border-radius: 8px !important;
        background: #fff;
    }
    body .block-minicart .minicart-items .product.actions a:hover {
        border-color: #e3caca;
        background: #faf2f2;
    }
    body .block-minicart .minicart-items .product.actions a::before {
        font-size: 20px !important;
        width: 20px;
        text-align: center;
        -webkit-font-smoothing: antialiased;
    }
    body .block-minicart .minicart-items .product-item-details {
        padding-right: 76px !important;
    }
}

/* pagina cosului: aceleasi iconite, randate fin */
body.checkout-cart-index .custom-cart-item .action-edit::before,
body.checkout-cart-index .custom-cart-item .action-delete::before {
    -webkit-font-smoothing: antialiased;
    font-size: 20px !important;
}

@media (min-width: 769px) {
    /* coșul mic: „Vezi detalii” — lista de optiuni compacta */
    body .block-minicart .minicart-items .product.options .content {
        margin: 6px 0 2px !important;
        padding: 8px 10px !important;
        background: #faf8f6;
        border: 1px solid #f0ebe7;
        border-radius: 8px;
    }
    body .block-minicart .minicart-items .product.options .content .subtitle {
        display: none !important;
    }
    body .block-minicart .minicart-items .product.options.list,
    body .block-minicart .minicart-items .product.options .list {
        margin: 0 !important;
        font-size: 11.5px !important;
        line-height: 1.4 !important;
    }
    body .block-minicart .minicart-items .product.options .list dt,
    body .block-minicart .minicart-items .product.options .list .label {
        display: block;
        margin: 6px 0 0 !important;
        font-size: 10.5px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.03em;
        color: #8a8a8a !important;
        line-height: 1.3 !important;
    }
    body .block-minicart .minicart-items .product.options .list dt:first-child {
        margin-top: 0 !important;
    }
    body .block-minicart .minicart-items .product.options .list dd,
    body .block-minicart .minicart-items .product.options .list .values {
        margin: 1px 0 0 !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        color: #2b2b2b !important;
        word-break: break-all;
        overflow-wrap: anywhere;
    }
    body .block-minicart .minicart-items .product.options .list dd .price {
        font-size: 11px !important;
        font-weight: 600 !important;
        color: #9a9a9a !important;
    }
}

@media (min-width: 769px) {
    /* detaliile ocupa toata latimea (nu doar coloana de langa butoane) */
    body .block-minicart .minicart-items .product-item-details {
        padding-right: 0 !important;
    }
    body .block-minicart .minicart-items .product-item-name {
        padding-right: 72px;
    }
    body .block-minicart .minicart-items-wrapper {
        overflow-x: hidden !important;
    }
}

/* ===== SUBSOL — 4 dec 2026 ===== */
body .page-footer,
body .page-footer .footer.content,
body .page-footer .links .page-footer,
body .page-footer .links .bootstrap-iso {
    background: #3b0707 !important;
}

body > .page-wrapper > .page-footer {
    margin-top: 40px;
    padding: 0 !important;
    border-top: 0 !important;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
    color: rgba(255,255,255,0.78);
}

body .page-footer * {
    font-family: inherit;
}

body .page-footer .em,
body .page-footer .fa,
body .page-footer [class*="fa-"] {
    font-family: FontAwesome, "Font Awesome 5 Free", "Font Awesome 5 Brands" !important;
}

@media (min-width: 769px) {
    body .page-footer > .footer.content {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "news news"
            "links links"
            "partners fb";
        column-gap: 32px;
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 44px 24px 28px !important;
        box-sizing: border-box;
        border: 0 !important;
    }

    body .page-footer > .footer.content::before,
    body .page-footer > .footer.content::after {
        display: none !important;
    }

    body .page-footer > .footer.content > .block.newsletter { grid-area: news; }
    body .page-footer > .footer.content > .links { grid-area: links; }
    body .page-footer > .footer.content > footer.page-footer { grid-area: partners; }
    body .page-footer > .footer.content > .fb-page { grid-area: fb; align-self: center; }
    body .page-footer > .footer.content > #fb-root { display: none; }
}

/* --- newsletter: banda de sus --- */
body .page-footer .block.newsletter {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 40px !important;
    padding: 22px 28px !important;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
}

body .page-footer .block.newsletter::before {
    content: "Noutăți și oferte pentru fotografi\A Primești pe email ofertele sezoniere și modelele noi de albume.";
    white-space: pre-line;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

body .page-footer .block.newsletter::first-line {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

body .page-footer .block.newsletter > .title {
    display: none !important;
}

body .page-footer .block.newsletter > .content {
    flex: 0 1 520px;
    width: 100%;
}

body .page-footer .block.newsletter .form.subscribe {
    display: flex !important;
    gap: 8px;
    width: 100%;
}

body .page-footer .block.newsletter .field.newsletter {
    flex: 1 1 auto;
    margin: 0 !important;
    max-width: none !important;
}

body .page-footer .block.newsletter .field.newsletter .control::before {
    line-height: 46px !important;
    color: #999 !important;
    left: 14px !important;
}

body .page-footer .block.newsletter input[type="email"] {
    height: 46px !important;
    padding-left: 42px !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    background: #fff !important;
}

body .page-footer .block.newsletter input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(227,198,166,0.45) !important;
    outline: none;
}

body .page-footer .block.newsletter .actions {
    display: block !important;
    width: auto !important;
}

body .page-footer .block.newsletter .action.subscribe {
    height: 46px !important;
    margin: 0 !important;
    padding: 0 22px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #c9a27e !important;
    color: #3b0707 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    transition: background-color .15s ease, transform .12s ease;
}

body .page-footer .block.newsletter .action.subscribe span {
    color: #3b0707 !important;
}

body .page-footer .block.newsletter .action.subscribe:hover {
    background: #e3c6a6 !important;
    transform: translateY(-1px);
}

/* --- cele 3 coloane --- */
body .page-footer .links,
body .page-footer .links .widget,
body .page-footer .links .page-footer,
body .page-footer .links .bootstrap-iso,
body .page-footer .links .container {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: block !important;
    border: 0 !important;
}

body .page-footer .links .row {
    display: grid !important;
    grid-template-columns: 1.1fr 0.9fr 1.3fr;
    gap: 48px;
    margin: 0 !important;
}

body .page-footer .links .row::before,
body .page-footer .links .row::after {
    display: none !important;
}

body .page-footer .links .row > [class*="col-"] {
    width: auto !important;
    float: none !important;
    padding: 0 !important;
}

body .page-footer .links h4 {
    font-size: 0 !important;
    border: 0 !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    position: relative;
}

body .page-footer .links h4::before {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e3c6a6;
}

body .page-footer .links .row > :nth-child(1) h4::before { content: "Contact"; }
body .page-footer .links .row > :nth-child(2) h4::before { content: "Informații"; }
body .page-footer .links .row > :nth-child(3) h4::before { content: "Despre noi"; }

body .page-footer .links h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #c9a27e;
}

body .page-footer .links .footer-content img {
    width: 210px !important;
    height: auto !important;
    padding: 0 0 18px !important;
    opacity: 0.95;
}

body .page-footer .links ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body .page-footer .links li {
    margin: 0 0 9px !important;
    padding: 0 !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.78) !important;
    width: auto !important;
}

body .page-footer .links li em,
body .page-footer .links li i {
    width: 18px;
    margin-right: 8px;
    color: #c9a27e !important;
    text-align: center;
}

body .page-footer .links a {
    color: rgba(255,255,255,0.82) !important;
    text-decoration: none !important;
    font-size: 13.5px !important;
    transition: color .15s ease, padding-left .15s ease;
}

body .page-footer .links a:hover {
    color: #fff !important;
}

body .page-footer .links .row > :nth-child(2) li a:hover {
    padding-left: 4px;
}

body .page-footer .links .row > :nth-child(3) p,
body .page-footer .links .row > :nth-child(3) .footer-content {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
    color: rgba(255,255,255,0.72) !important;
    margin: 0 0 10px !important;
}

/* --- parteneri --- */
body .page-footer > .footer.content > footer.page-footer {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 34px;
    margin: 40px 0 0 !important;
    padding: 24px 0 0 !important;
    border-top: 1px solid rgba(255,255,255,0.10) !important;
    background: transparent !important;
}

body .page-footer > .footer.content > footer.page-footer > .title {
    width: auto !important;
    margin: 0 !important;
}

body .page-footer > .footer.content > footer.page-footer > .title h4 {
    margin: 0 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e3c6a6 !important;
}

body .page-footer > .footer.content > footer.page-footer img {
    height: 42px !important;
    width: auto !important;
    max-width: 200px;
    object-fit: contain;
    filter: grayscale(1) brightness(1.6);
    opacity: 0.7;
    transition: filter .2s ease, opacity .2s ease;
}

body .page-footer > .footer.content > footer.page-footer a {
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
}

body .page-footer > .footer.content > footer.page-footer img:hover,
body .page-footer > .footer.content > footer.page-footer a:hover img {
    filter: none;
    opacity: 1;
}

body .page-footer > .footer.content > .fb-page {
    margin: 40px 0 0 !important;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
}

body .page-footer > .footer.content > .fb-page iframe {
    border-radius: 10px;
}

/* --- copyright --- */
body .copyright {
    background: #2c0505 !important;
    color: rgba(255,255,255,0.55) !important;
    font-size: 12.5px !important;
    padding: 14px 10px !important;
    letter-spacing: 0.02em;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

body .copyright span,
body .copyright a {
    color: rgba(255,255,255,0.55) !important;
}

/* --- mobil --- */
@media (max-width: 768px) {
    body .page-footer .block.newsletter {
        flex-direction: column;
        align-items: stretch;
        padding: 18px !important;
        margin: 20px 12px 28px !important;
    }
    body .page-footer .links .row {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 0 16px !important;
    }
    body .page-footer > .footer.content > footer.page-footer {
        justify-content: center;
        gap: 20px;
        padding: 20px 12px 0 !important;
    }
}

/* newsletter: titlu + text in stanga, formularul in dreapta */
body .page-footer .block.newsletter {
    display: grid !important;
    grid-template-columns: 1fr minmax(320px, 520px);
    grid-template-rows: auto auto;
    column-gap: 32px;
    row-gap: 2px;
    align-items: center;
}

body .page-footer .block.newsletter::before {
    content: "Noutăți și oferte pentru fotografi";
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    white-space: normal;
}

body .page-footer .block.newsletter::after {
    content: "Primești pe email ofertele sezoniere și modelele noi de albume.";
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    font-size: 13.5px;
    color: rgba(255,255,255,0.65);
}

body .page-footer .block.newsletter > .content {
    grid-column: 2;
    grid-row: 1 / span 2;
}

body .page-footer .block.newsletter .field.newsletter .control {
    position: relative;
}

body .page-footer .block.newsletter .field.newsletter .control::before {
    position: absolute !important;
    top: 0;
    z-index: 2;
}

@media (max-width: 768px) {
    body .page-footer .block.newsletter {
        grid-template-columns: 1fr;
    }
    body .page-footer .block.newsletter > .content {
        grid-column: 1;
        grid-row: 3;
        margin-top: 12px;
    }
}

/* ===== FONT PE TOT SITE-UL — 4 dec 2026 =====
   Open Sans-ul temei nu are ă, ș, ț (le lua din Arial → pareau bold). Fontul sistemului le are pe toate.
   Iconitele (luma-icons, FontAwesome) isi declara singure fontul, nu sunt afectate. */
body,
body button,
body input,
body select,
body textarea,
body .page-title,
body h1, body h2, body h3, body h4, body h5, body h6,
body .product-item-name,
body .action.primary,
body .block-title strong,
body .block .title strong {
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Roboto, Arial, sans-serif !important;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
