/* ===== PAGINA PRODUS + LISTA PRODUSE — albumefotohd.ro =====
   Doar pe body.catalog-product-view si body.catalog-category-view */

body.catalog-product-view,
body.catalog-category-view {
    --pp-red: #8f0000;
    --pp-red-dk: #5e0000;
    --pp-ink: #2b2b2b;
    --pp-muted: #6b6b6b;
    --pp-line: #ececec;
    --pp-bg: #f6f5f3;
    background: var(--pp-bg);
}

body.catalog-product-view .columns,
body.catalog-category-view .columns {
    background: transparent;
    max-width: 1400px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

body.catalog-product-view .page-main > .columns,
body.catalog-category-view .page-main > .columns {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.catalog-product-view .breadcrumbs,
body.catalog-category-view .breadcrumbs {
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px 24px 0 !important;
    box-sizing: border-box;
}

/* ================= PAGINA PRODUS ================= */

/* galerie */
@media (min-width: 769px) {
    body.catalog-product-view .product.media {
        background: #fff;
        border: 1px solid var(--pp-line);
        border-radius: 14px;
        padding: 20px;
        box-sizing: border-box;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
        margin-top: 10px;
    }
    body.catalog-product-view .product-info-main {
        padding-left: 12px;
        box-sizing: border-box;
        margin-top: 10px;
    }
}

body.catalog-product-view .product.media > p {
    font-size: 13px;
    color: var(--pp-muted);
    line-height: 1.6;
    margin: 10px 0 0;
}

body.catalog-product-view .fotorama__nav__frame--thumb .fotorama__thumb {
    border-radius: 8px;
}

body.catalog-product-view .fotorama__thumb-border {
    border-color: var(--pp-red) !important;
    border-radius: 8px;
}

/* titlu */
body.catalog-product-view .page-title-wrapper-2.product {
    text-align: left;
}

body.catalog-product-view .page-title-wrapper-2.product .page-title {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--pp-ink);
    letter-spacing: -0.01em;
    margin: 0 0 18px;
}

/* pret + stoc */
body.catalog-product-view .product-info-main .product-info-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--pp-line);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

body.catalog-product-view .product-info-main .price-box {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

body.catalog-product-view .product-info-main .price-box p {
    margin: 0;
}

body.catalog-product-view .product-info-main .price-box .price-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pp-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

body.catalog-product-view .product-info-main .price-box .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--pp-ink);
}

body.catalog-product-view .product-info-main .price-box .price-from .price {
    color: var(--pp-red);
}

body.catalog-product-view .product-info-stock-sku {
    text-align: right;
    padding: 0 !important;
}

body.catalog-product-view .product-info-stock-sku .stock {
    display: inline-block;
    background: #e8f5ec;
    color: #1e7a3c !important;
    border-radius: 999px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

body.catalog-product-view .product-info-stock-sku .stock span {
    color: inherit !important;
}

body.catalog-product-view .product-info-stock-sku .sku {
    font-size: 12px;
    color: var(--pp-muted);
}

/* butoane principale */
body.catalog-product-view .action.primary,
body.catalog-category-view .action.primary {
    background: linear-gradient(135deg, #a30000, var(--pp-red-dk)) !important;
    border: 0 !important;
    border-radius: 8px !important;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(94,0,0,0.22);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

body.catalog-product-view .action.primary:hover,
body.catalog-category-view .action.primary:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 12px rgba(94,0,0,0.28);
}

body.catalog-product-view .action.primary:active,
body.catalog-category-view .action.primary:active {
    transform: translateY(1px);
}

body.catalog-product-view .bundle-actions .action.customize {
    padding: 14px 32px;
    font-size: 16px;
}

/* mostrar culori */
body.catalog-product-view .product-info-main .products-grid .product-item {
    transition: transform .15s ease;
}

body.catalog-product-view .product-info-main .products-grid .product-item img {
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: box-shadow .15s ease;
}

body.catalog-product-view .product-info-main .products-grid .product-item:hover {
    transform: translateY(-2px);
}

body.catalog-product-view .product-info-main .products-grid .product-item:hover img {
    box-shadow: 0 4px 10px rgba(0,0,0,0.22);
}

body.catalog-product-view .product-info-main > small {
    display: block;
    color: var(--pp-muted);
    font-size: 12px;
    line-height: 1.55;
}

/* ===== CONFIGURATOR (optiuni bundle) ===== */
body.catalog-product-view .bundle-options-wrapper #product-options-wrapper {
    background: #fff;
    border: 1px solid var(--pp-line);
    border-radius: 14px;
    padding: 26px 28px;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.catalog-product-view .fieldset-bundle-options > .field.option {
    border-bottom: 1px solid #f1f1f1;
    padding: 16px 0;
    margin: 0;
}

body.catalog-product-view .fieldset-bundle-options > .field.option:first-of-type {
    padding-top: 0;
}

body.catalog-product-view .fieldset-bundle-options .field.option > .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-ink);
    margin-bottom: 8px;
}

body.catalog-product-view .bundle-options-wrapper select,
body.catalog-product-view .bundle-options-wrapper input[type="text"],
body.catalog-product-view .bundle-options-wrapper input[type="number"],
body.catalog-product-view .bundle-options-wrapper textarea,
body.catalog-product-view .box-tocart input.qty {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.catalog-product-view .bundle-options-wrapper select {
    height: 42px;
    min-width: 300px;
    padding: 0 36px 0 12px;
    background-color: #fff;
}

body.catalog-product-view .bundle-options-wrapper input[type="text"],
body.catalog-product-view .bundle-options-wrapper input[type="number"] {
    height: 42px;
    padding: 0 12px;
}

body.catalog-product-view .bundle-options-wrapper textarea {
    padding: 10px 12px;
}

body.catalog-product-view .bundle-options-wrapper select:focus,
body.catalog-product-view .bundle-options-wrapper input:focus,
body.catalog-product-view .bundle-options-wrapper textarea:focus,
body.catalog-product-view .box-tocart input.qty:focus {
    border-color: var(--pp-red);
    box-shadow: 0 0 0 3px rgba(143,0,0,0.12);
    outline: none;
}

/* ===== SUMAR + ADAUGA IN COS ===== */
@media (min-width: 769px) {
    body.catalog-product-view .block-bundle-summary {
        position: sticky;
        top: 60px;
    }
}

body.catalog-product-view .block-bundle-summary {
    background: #fff;
    border: 1px solid var(--pp-line);
    border-radius: 14px;
    padding: 22px 24px;
    box-sizing: border-box;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

body.catalog-product-view .block-bundle-summary > .title strong,
body.catalog-product-view .block-bundle-summary .title strong {
    font-size: 20px;
    font-weight: 600;
    color: var(--pp-ink);
}

body.catalog-product-view .block-bundle-summary .bundle-info,
body.catalog-product-view .block-bundle-summary .bundle-summary {
    background: transparent;
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none;
}

body.catalog-product-view .block-bundle-summary .bundle-summary > .subtitle,
body.catalog-product-view .block-bundle-summary .bundle-summary .subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--pp-ink);
    text-align: left;
    border-bottom: 1px solid var(--pp-line);
    padding-bottom: 12px;
    margin-bottom: 14px;
}

body.catalog-product-view .block-bundle-summary .price-configured_price {
    background: #faf6f4;
    border-radius: 10px;
    padding: 14px 18px;
    margin: 14px 0;
    border: 0;
}

body.catalog-product-view .block-bundle-summary .price-configured_price .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--pp-red);
}

body.catalog-product-view .block-bundle-summary #product-addtocart-button {
    width: 100%;
    padding: 15px 20px;
    font-size: 17px;
}

/* ===== RECENZII ===== */
body.catalog-product-view .product.info.detailed {
    margin-top: 40px;
}

body.catalog-product-view .product.data.items > .item.title > .switch {
    border-radius: 10px 10px 0 0 !important;
    font-weight: 600;
    color: var(--pp-ink) !important;
}

body.catalog-product-view .product.data.items > .item.content {
    background: #fff;
    border-radius: 0 12px 12px 12px;
    border-color: var(--pp-line) !important;
}

body.catalog-product-view .block.review-add .review-form,
body.catalog-product-view .block.review-add {
    background: transparent;
}

body.catalog-product-view #review-form input,
body.catalog-product-view #review-form textarea {
    border: 1px solid #dcdcdc;
    border-radius: 8px;
}

body.catalog-product-view #review-form .action.submit {
    background: linear-gradient(135deg, #a30000, var(--pp-red-dk));
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 10px 22px;
    font-weight: 600;
}

/* blocuri statice goale de sub recenzii (dungi gri fara continut) */
body.catalog-product-view .column.main main > .widget.block-static-block {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* ================= LISTA PRODUSE (categorie) ================= */
body.catalog-category-view .page-title-wrapper-2 .page-title,
body.catalog-category-view .category-view + * .page-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

body.catalog-category-view .toolbar-products {
    background: #fff;
    border: 1px solid var(--pp-line);
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 22px;
}

body.catalog-category-view .toolbar select {
    border-radius: 8px;
    height: 36px;
}

/* grila: toate cardurile la aceeasi inaltime, umplu latimea */
body.catalog-category-view .products-grid.products.wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.catalog-category-view .products-grid .product-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin: 0 !important;
}

body.catalog-category-view .products-grid .product-items:before,
body.catalog-category-view .products-grid .product-items:after {
    display: none !important;
}

body.catalog-category-view .products-grid .product-items > .product-item {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

body.catalog-category-view .products-grid .carousel-item {
    height: 100%;
    padding: 0 !important;
    box-sizing: border-box;
}

body.catalog-category-view .products-grid .carousel-item .product-item-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
    width: 100% !important;
}

body.catalog-category-view .products-grid .carousel-item .product.details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0 16px 16px;
}

body.catalog-category-view .products-grid .carousel-item .price-box {
    margin-top: auto;
}

body.catalog-category-view .carousel-item .product-item-info {
    background: #fff;
    border: 1px solid var(--pp-line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: transform .2s ease, box-shadow .2s ease;
}

body.catalog-category-view .carousel-item .product-item-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10) !important;
}

body.catalog-category-view .carousel-item .product.photo {
    display: block;
    overflow: hidden;
}

body.catalog-category-view .carousel-item .product.photo img {
    transition: transform .35s ease;
}

body.catalog-category-view .carousel-item .product-item-info:hover .product.photo img {
    transform: scale(1.04);
}

body.catalog-category-view .carousel-item .product.name a {
    color: var(--pp-ink) !important;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color .15s ease;
}

body.catalog-category-view .carousel-item .product-item-info:hover .product.name a {
    color: var(--pp-red) !important;
}

body.catalog-category-view .carousel-item .price-box {
    border-top: 1px solid #f1f1f1;
    padding-top: 12px;
    margin-top: 10px;
}

body.catalog-category-view .carousel-item .price-box .price {
    color: var(--pp-red) !important;
    font-weight: 700;
}

body.catalog-category-view .carousel-item .price-box .price-label {
    color: var(--pp-muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.06em;
}

body.catalog-category-view .carousel-item .product-badge-label {
    border-radius: 0 4px 4px 0;
}

/* ===== MOBIL ===== */
@media (max-width: 768px) {
    body.catalog-product-view .columns,
    body.catalog-category-view .columns {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    body.catalog-product-view .page-title-wrapper-2.product .page-title {
        font-size: 22px;
    }
    body.catalog-product-view .product-info-main .product-info-price {
        flex-direction: column;
        gap: 10px;
    }
    body.catalog-product-view .product-info-stock-sku {
        text-align: left;
    }
    body.catalog-product-view .bundle-options-wrapper #product-options-wrapper {
        padding: 18px 16px;
    }
    body.catalog-product-view .bundle-options-wrapper select {
        min-width: 0;
        width: 100%;
    }
    body.catalog-category-view .products-grid .product-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    body.catalog-category-view .products-grid .carousel-item .product.details {
        padding: 0 10px 12px;
    }
}

/* ===== ZONA DE SUS A PRODUSULUI (mostrar, butoane, galerie) — 4 dec 2026 ===== */

/* buton principal mai lat */
body.catalog-product-view .product-info-main > .bundle-actions:first-of-type {
    margin-bottom: 22px;
}

body.catalog-product-view .product-info-main > .bundle-actions:first-of-type .action.customize {
    min-width: 280px;
}

/* mostrarul ca un singur card: titlu (hint) + culori + buton descarcare */
body.catalog-product-view .product-info-main > small:nth-of-type(1) {
    display: block;
    background: #fff;
    border: 1px solid var(--pp-line);
    border-bottom: 0;
    border-radius: 14px 14px 0 0;
    padding: 18px 20px 6px;
    font-size: 12px;
    color: var(--pp-muted);
}

body.catalog-product-view .product-info-main > small:nth-of-type(1)::before {
    content: "Culori disponibile";
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pp-ink);
    margin-bottom: 4px;
}

body.catalog-product-view .product-info-main > .block-content {
    background: #fff;
    border-left: 1px solid var(--pp-line);
    border-right: 1px solid var(--pp-line);
    padding: 10px 20px 4px;
    margin: 0;
}

body.catalog-product-view .product-info-main > .block-content .product-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 12px 10px;
    margin: 0 !important;
    padding: 0;
}

body.catalog-product-view .product-info-main > .block-content .product-items > .product-item {
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: center;
}

body.catalog-product-view .product-info-main > .block-content .thumbnail-abhd img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    outline: 2px solid transparent;
    outline-offset: 2px;
    transition: outline-color .15s ease, box-shadow .15s ease;
}

body.catalog-product-view .product-info-main > .block-content .thumbnail-abhd img:hover {
    outline-color: var(--pp-red);
}

body.catalog-product-view .product-info-main > .block-content .font-coperti {
    font-size: 12px !important;
    font-weight: 600;
    color: var(--pp-muted);
    margin: 6px 0 0 !important;
    letter-spacing: 0.02em;
}

body.catalog-product-view .product-info-main > .block-content + .bundle-actions {
    background: #fff;
    border: 1px solid var(--pp-line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    padding: 14px 20px 20px;
    margin: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

/* „Descarca toate copertile” = buton secundar (contur) */
body.catalog-product-view .product-info-main > .block-content + .bundle-actions .action.primary {
    background: #fff !important;
    color: var(--pp-red) !important;
    border: 1.5px solid var(--pp-red) !important;
    box-shadow: none !important;
    padding: 10px 20px;
    font-size: 14px;
}

body.catalog-product-view .product-info-main > .block-content + .bundle-actions .action.primary span {
    color: var(--pp-red) !important;
}

body.catalog-product-view .product-info-main > .block-content + .bundle-actions .action.primary:hover {
    background: #fbf3f3 !important;
    filter: none;
}

body.catalog-product-view .product-info-main > small:nth-of-type(2) {
    display: block;
    margin-top: 10px;
    padding: 0 4px;
    font-size: 12px;
    color: var(--pp-muted);
    line-height: 1.55;
}

/* galerie: sageti rotunde, discrete */
body.catalog-product-view .product.media .fotorama__arr {
    top: 50% !important;
    bottom: auto !important;
    width: 44px !important;
    height: 44px !important;
    margin-top: -22px;
    background: rgba(255,255,255,0.92) !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

body.catalog-product-view .product.media .fotorama__arr--prev {
    left: 10px !important;
}

body.catalog-product-view .product.media .fotorama__arr--next {
    right: 10px !important;
}

body.catalog-product-view .product.media .fotorama__arr .fotorama__arr__arr {
    top: 50% !important;
    left: 50% !important;
    margin: -40px 0 0 -40px !important;
    transform: scale(0.55);
}

/* cardul de pret iesea in afara coloanei (latime + padding) */
body.catalog-product-view .product-info-main .product-info-price {
    box-sizing: border-box;
    width: 100%;
}

body.catalog-product-view .product.media .fotorama__nav__frame--thumb .fotorama__img {
    border-radius: 8px;
}

/* titlurile celorlalte campuri (ex. Observatii) la fel ca optiunile */
body.catalog-product-view #product-options-wrapper .fieldset > .field > label.label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-ink);
}

/* ===== CAMPUL „Copiati linkul cu colajele” =====
   eticheta are stil inline (banda rosie + fundal roz); il suprascriem */
body.catalog-product-view #product-options-wrapper label.label[style*="580100"] {
    border: 0 !important;
    background: none !important;
    color: var(--pp-ink) !important;
    width: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    display: block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.catalog-product-view #product-options-wrapper label.label[style*="580100"] span {
    color: inherit !important;
}

body.catalog-product-view #product-options-wrapper .field:has(> label.label[style*="580100"]) {
    background: #fbf6f3;
    border: 1px solid #efe1d8 !important;
    border-left: 3px solid var(--pp-red) !important;
    border-radius: 10px;
    padding: 16px 18px !important;
    margin: 18px 0 6px;
}

body.catalog-product-view #product-options-wrapper .field:has(> label.label[style*="580100"]) input[type="text"] {
    width: 100%;
    max-width: 560px;
    background: #fff;
}

body.catalog-product-view #product-options-wrapper .field:has(> label.label[style*="580100"]) .note {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 768px) {
    body.catalog-product-view .product-info-main > .bundle-actions:first-of-type .action.customize {
        width: 100%;
        min-width: 0;
    }
    body.catalog-product-view .product-info-main > .block-content .product-items {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ===== SUMAR COMPACT, FIX IN DREAPTA, LISTA DERULABILA — 4 dec 2026 ===== */

/* sticky nu merge sub parinti cu overflow hidden/auto: clip taie la fel pe orizontala, fara container de derulare */
body.catalog-product-view .page-wrapper,
body.catalog-product-view .columns {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

@media (min-width: 769px) {
    /* formularul are doar copii flotanti (inaltime 0) — flex ca sumarul sa aiba coloana pe toata inaltimea */
    body.catalog-product-view #product_addtocart_form {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 32px;
    }
    body.catalog-product-view #product_addtocart_form > .bundle-options-wrapper {
        flex: 1 1 auto;
        float: none;
    }
    body.catalog-product-view #product_addtocart_form > .block-bundle-summary {
        float: none;
        flex: 0 0 380px;
        width: 380px !important;
        position: sticky;
        top: 58px;
        max-height: calc(100vh - 74px);
        display: flex;
        flex-direction: column;
    }
    body.catalog-product-view .block-bundle-summary > .content {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    body.catalog-product-view .block-bundle-summary #bundle-summary {
        max-height: calc(100vh - 380px);
        min-height: 48px;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding-right: 6px;
        scrollbar-width: thin;
        scrollbar-color: #d8c9c0 transparent;
    }
}

body.catalog-product-view .block-bundle-summary {
    padding: 18px 20px 20px !important;
    margin-top: 0 !important;
}

body.catalog-product-view .block-bundle-summary .bundle-summary {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.catalog-product-view .block-bundle-summary .bundle-summary .title {
    margin: 0 0 6px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid var(--pp-line) !important;
    text-align: left !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.catalog-product-view .block-bundle-summary .bundle-summary .title::before {
    content: "";
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--pp-red);
}

body.catalog-product-view .block-bundle-summary .bundle-summary .title strong {
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pp-ink);
    line-height: 1.2;
}

/* randurile din sumar: ETICHETA ........ + pret / detaliul sub */
body.catalog-product-view .block-bundle-summary .bundle.items {
    margin: 0 !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .bundle.items > li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 4px;
    margin: 0 !important;
    padding: 10px 0;
    border-bottom: 1px dashed #ececec;
    font-size: 13px;
    line-height: 1.4;
    color: var(--pp-muted);
}

body.catalog-product-view .block-bundle-summary .bundle.items > li:last-child {
    border-bottom: 0;
}

body.catalog-product-view .block-bundle-summary .bundle.items > li > .label {
    flex: 1 1 auto;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--pp-muted);
}

body.catalog-product-view .block-bundle-summary .bundle.items > li > .total_price {
    font-size: 13px;
    font-weight: 700;
    color: var(--pp-ink);
    white-space: nowrap;
}

body.catalog-product-view .block-bundle-summary .bundle.items > li > div {
    flex: 0 0 100%;
    margin-top: 2px;
    color: var(--pp-ink);
    font-size: 13px;
}

/* total */
body.catalog-product-view .block-bundle-summary .bundle-info .product-image-container,
body.catalog-product-view .block-bundle-summary .bundle-info .product.name,
body.catalog-product-view .block-bundle-summary .bundle-info .stock {
    display: none !important;
}

body.catalog-product-view .block-bundle-summary .bundle-info,
body.catalog-product-view .block-bundle-summary .product-details {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.catalog-product-view .block-bundle-summary div.price-box.price-configured_price {
    margin: 12px 0 14px !important;
    padding: 14px 16px !important;
    background: #faf6f4 !important;
    border: 1px solid #f1e6df !important;
    border-radius: 10px !important;
    text-align: left !important;
}

body.catalog-product-view .block-bundle-summary .price-as-configured {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

body.catalog-product-view .block-bundle-summary .price-as-configured > .price {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pp-muted) !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.catalog-product-view .block-bundle-summary .price-as-configured .price-container {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: 0 !important;
}

body.catalog-product-view .block-bundle-summary .price-as-configured .price-container .price {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--pp-red) !important;
    line-height: 1.1 !important;
}

/* cantitate + buton pe acelasi rand */
body.catalog-product-view .block-bundle-summary .box-tocart {
    margin: 0 !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart .fieldset {
    display: flex !important;
    align-items: flex-end;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart .field.qty {
    margin: 0 !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart .field.qty .label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pp-muted);
    margin: 0 0 5px !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart input.qty {
    width: 60px !important;
    height: 48px !important;
    text-align: center;
    font-weight: 600;
}

body.catalog-product-view .block-bundle-summary .box-tocart .actions {
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0 !important;
}

body.catalog-product-view .block-bundle-summary #product-addtocart-button {
    width: 100% !important;
    height: 48px;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 16px !important;
}

/* ===== CONFIGURATOR MAI STRANS ===== */
body.catalog-product-view .bundle-options-wrapper #product-options-wrapper {
    padding: 18px 22px !important;
}

body.catalog-product-view .fieldset-bundle-options > .field.option {
    padding: 10px 0 !important;
}

body.catalog-product-view .fieldset-bundle-options .field.option > .label {
    margin-bottom: 5px !important;
    font-size: 12px !important;
}

body.catalog-product-view .bundle-options-wrapper select {
    height: 38px !important;
}

body.catalog-product-view .bundle-options-wrapper input[type="text"],
body.catalog-product-view .bundle-options-wrapper input[type="number"] {
    height: 38px !important;
}

body.catalog-product-view #product-options-wrapper .fieldset > .field {
    margin-bottom: 0 !important;
}

body.catalog-product-view #product-options-wrapper .fieldset > .field > label.label {
    font-size: 12px !important;
    margin-bottom: 5px !important;
}

body.catalog-product-view #product-options-wrapper .field:has(> label.label[style*="580100"]) {
    padding: 12px 16px !important;
    margin: 12px 0 4px !important;
}

body.catalog-product-view #product-options-wrapper .field:has(> label.label[style*="580100"]) .note {
    margin-top: 6px;
}

body.catalog-product-view #product-options-wrapper textarea {
    min-height: 80px;
    height: 90px;
}

/* ===== OPTIUNE FIXA (ex. DIMENSIUNE): eticheta pe un rand — 4 dec 2026 ===== */
body.catalog-product-view .fieldset-bundle-options .nested.options-list .price-notice .price-container {
    display: inline !important;
}

body.catalog-product-view .fieldset-bundle-options .nested.options-list:has(> input[type="hidden"]) {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: #faf6f4;
    border: 1px solid #f1e6df;
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 14px;
    line-height: 1.2;
}

body.catalog-product-view .fieldset-bundle-options .nested.options-list:has(> input[type="hidden"]) > .product-name {
    font-weight: 600;
    color: var(--pp-ink);
}

body.catalog-product-view .fieldset-bundle-options .nested.options-list:has(> input[type="hidden"]) > .price-notice {
    color: var(--pp-red);
    font-weight: 700;
    white-space: nowrap;
}

body.catalog-product-view .fieldset-bundle-options .nested.options-list:has(> input[type="hidden"]) > .price-notice::before {
    content: "·";
    color: #c9b8ad;
    font-weight: 400;
    margin-right: 8px;
}

body.catalog-product-view .fieldset-bundle-options .nested.options-list:has(> input[type="hidden"]) .price {
    font-weight: 700;
    color: var(--pp-red);
}

/* ===== RECENZII: sectiune curata in locul tab-ului — 4 dec 2026 ===== */
body.catalog-product-view .product.info.detailed {
    margin-top: 48px !important;
}

/* tab-ul unic devine titlu de sectiune */
body.catalog-product-view .product.data.items > .item.title {
    float: none !important;
    margin: 0 0 14px !important;
}

body.catalog-product-view .product.data.items > .item.title > .switch {
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    height: auto !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--pp-ink) !important;
    letter-spacing: -0.01em;
    cursor: default;
}

body.catalog-product-view .product.data.items > .item.content {
    float: none !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid var(--pp-line) !important;
    border-radius: 14px !important;
    padding: 30px 32px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

body.catalog-product-view .block.review-add {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

body.catalog-product-view .block.review-add > .block-title {
    display: none;
}

body.catalog-product-view #review-form,
body.catalog-product-view #review-form .review-fieldset {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* stanga: textul de invitatie; dreapta: campurile */
body.catalog-product-view #review-form .review-legend {
    float: left;
    width: 32%;
    margin: 0 !important;
    padding: 0 32px 0 0 !important;
    box-sizing: border-box;
}

body.catalog-product-view #review-form .review-legend > span {
    display: block;
    font-size: 12px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pp-muted);
    margin-bottom: 6px;
}

body.catalog-product-view #review-form .review-legend > strong {
    display: block;
    font-size: 17px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    color: var(--pp-ink);
    margin: 0 !important;
}

body.catalog-product-view #review-form .review-legend::after {
    content: "Ai lucrat cu acest album? Părerea ta îi ajută pe alți fotografi să aleagă produsul potrivit.";
    display: block;
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--pp-muted);
}

body.catalog-product-view #review-form .review-fieldset > .field,
body.catalog-product-view #review-form .review-form-actions {
    margin-left: 32% !important;
    max-width: 680px;
    clear: none !important;
}

body.catalog-product-view #review-form .review-fieldset > .field:before,
body.catalog-product-view #review-form .review-fieldset > .field:after {
    clear: none !important;
}

body.catalog-product-view #review-form::after {
    content: "";
    display: block;
    clear: both;
}

body.catalog-product-view #review-form .review-fieldset > .field {
    margin-bottom: 16px !important;
}

body.catalog-product-view #review-form .review-fieldset > .field > .label {
    display: block;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pp-ink);
    margin-bottom: 6px !important;
}

body.catalog-product-view #review-form input[type="text"],
body.catalog-product-view #review-form textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

body.catalog-product-view #review-form input[type="text"] {
    height: 44px;
    padding: 0 14px;
}

body.catalog-product-view #review-form textarea {
    min-height: 120px;
    padding: 12px 14px;
    resize: vertical;
}

body.catalog-product-view #review-form input[type="text"]:focus,
body.catalog-product-view #review-form textarea:focus {
    border-color: var(--pp-red) !important;
    box-shadow: 0 0 0 3px rgba(143,0,0,0.12);
    outline: none;
}

body.catalog-product-view #review-form .review-form-actions {
    padding-top: 4px;
}

body.catalog-product-view #review-form .action.submit {
    padding: 12px 28px !important;
    font-size: 15px !important;
}

/* recenziile existente (cand exista) */
body.catalog-product-view #product-review-container .review-list {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pp-line);
}

body.catalog-product-view #product-review-container .review-item {
    border-bottom: 1px dashed #ececec;
    padding: 16px 0;
}

body.catalog-product-view #product-review-container .review-item:last-child {
    border-bottom: 0;
}

body.catalog-product-view #product-review-container .review-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--pp-ink);
}

body.catalog-product-view #product-review-container .review-content {
    color: #444;
    line-height: 1.6;
}

@media (max-width: 768px) {
    body.catalog-product-view .product.data.items > .item.content {
        padding: 20px 16px !important;
    }
    body.catalog-product-view #review-form .review-legend {
        float: none;
        width: auto;
        padding: 0 !important;
        margin-bottom: 18px !important;
    }
    body.catalog-product-view #review-form .review-fieldset > .field,
    body.catalog-product-view #review-form .review-form-actions {
        margin-left: 0 !important;
    }
}

@media (min-width: 769px) {
    /* <br class="clear"> after the legend pushes the fields below it */
    body.catalog-product-view #review-form .review-fieldset > br {
        display: none;
    }
}

/* ===== TAB-URI DETALII / RECENZII (unul sau mai multe) — 4 dec 2026 ===== */
@media (min-width: 769px) {
    body.catalog-product-view .product.data.items {
        border-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.catalog-product-view .product.data.items > .item.title {
        float: left !important;
        width: auto !important;
        margin: 0 30px 0 0 !important;
    }

    body.catalog-product-view .product.data.items > .item.title > .switch {
        background: none !important;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        border-radius: 0 !important;
        padding: 0 2px 12px !important;
        height: auto !important;
        line-height: 1.2 !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        color: #9a9a9a !important;
        letter-spacing: -0.01em;
        cursor: pointer;
        transition: color .15s ease, border-color .15s ease;
    }

    body.catalog-product-view .product.data.items > .item.title > .switch:hover {
        color: var(--pp-ink) !important;
    }

    body.catalog-product-view .product.data.items > .item.title.active > .switch {
        color: var(--pp-ink) !important;
        border-bottom-color: var(--pp-red) !important;
    }

    /* un singur tab: fara cursor de tab */
    body.catalog-product-view .product.data.items > .item.title:only-of-type > .switch {
        cursor: default;
    }

    body.catalog-product-view .product.data.items > .item.title .counter {
        font-size: 14px;
        font-weight: 700;
        color: #fff;
        background: var(--pp-red);
        border-radius: 999px;
        padding: 1px 8px;
        margin-left: 6px;
        vertical-align: 3px;
    }

    body.catalog-product-view .product.data.items > .item.title .counter:before,
    body.catalog-product-view .product.data.items > .item.title .counter:after {
        content: none !important;
    }

    body.catalog-product-view .product.data.items > .item.content {
        float: right !important;
        width: 100% !important;
        margin-left: -100% !important;
        margin-top: 50px !important;
    }
}

body.catalog-product-view .product.data.items > .item.title.active > .switch:after {
    display: none !important;
}

/* ===== DESCRIEREA PRODUSULUI (continut din editor, pe toate produsele) ===== */
/* HTML-ul din editor nu e mereu inchis corect: o parte din continut iese din .description,
   asa ca latimea se pune pe toti copiii directi ai tab-ului */
body.catalog-product-view #description > *,
body.catalog-product-view #description .product.attribute.description {
    max-width: 860px;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.catalog-product-view #description {
    font-size: 15px;
    line-height: 1.75;
    color: #3a3a3a;
}

/* marimile puse de mana in editor (medium / large) — uniformizate */
body.catalog-product-view #description span[style*="font-size"] {
    font-size: inherit !important;
}

body.catalog-product-view #description p {
    margin: 0 0 10px;
}

body.catalog-product-view #description p:empty {
    display: none;
}

/* titlul descrierii */
body.catalog-product-view #description h1,
body.catalog-product-view #description h2,
body.catalog-product-view #description h3 {
    font-size: 26px !important;
    font-weight: 600 !important;
    line-height: 1.25;
    color: var(--pp-ink);
    letter-spacing: -0.01em;
    margin: 6px 0 14px !important;
    text-align: left !important;
}

/* subtitluri (in editor: text bold, marime „large”) */
body.catalog-product-view #description p > span[style*="large"] > strong,
body.catalog-product-view #description p > strong:only-child,
body.catalog-product-view #description h4 {
    display: block;
    position: relative;
    margin-top: 34px;
    padding-left: 14px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--pp-ink);
}

body.catalog-product-view #description p > span[style*="large"] > strong::before,
body.catalog-product-view #description p > strong:only-child::before,
body.catalog-product-view #description h4::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--pp-red);
}

/* pozele: latime plina, colturi rotunjite, fara spatiile de 5rem puse inline */
body.catalog-product-view #description img {
    display: block;
    width: 100% !important;
    height: auto !important;
    max-height: 460px;
    object-fit: cover;
    border-radius: 14px;
    margin: 22px 0 10px !important;
    box-shadow: 0 6px 22px rgba(0,0,0,0.08);
}

/* liste */
body.catalog-product-view #description ul,
body.catalog-product-view #description ol {
    padding-left: 22px;
    margin: 8px 0 14px;
}

body.catalog-product-view #description li {
    margin-bottom: 6px;
}

body.catalog-product-view #description li::marker {
    color: var(--pp-red);
}

/* ===== „ALTII AU CUMPARAT SI…” / „PRODUSE RECOMANDATE” ===== */
body.catalog-product-view .widget-products-carousel {
    max-width: 1352px;
    margin: 0 auto 10px;
    padding: 0 24px;
    box-sizing: border-box;
}

body.catalog-product-view .widget-products-carousel > .block-title {
    margin: 36px 0 16px;
    border: 0;
}

body.catalog-product-view .widget-products-carousel > .block-title strong {
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--pp-ink);
    letter-spacing: -0.01em;
}

body.catalog-product-view .widget-products-carousel .carousel-wrapper {
    position: relative;
}

body.catalog-product-view .widget-products-carousel .carousel-track {
    gap: 20px;
    padding: 6px 2px 16px;
}

body.catalog-product-view .widget-products-carousel .carousel-item {
    padding: 0 !important;
    flex: 0 0 240px;
    width: 240px !important;
}

body.catalog-product-view .widget-products-carousel .product-item-info {
    width: 100% !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pp-line) !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: transform .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
    position: relative;
}

body.catalog-product-view .widget-products-carousel .product-item-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.10) !important;
}

body.catalog-product-view .widget-products-carousel .product.photo {
    display: block;
    overflow: hidden;
    margin: 0 !important;
    width: 100% !important;
}

body.catalog-product-view .widget-products-carousel .product.photo img {
    width: 100% !important;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
    transition: transform .35s ease;
}

body.catalog-product-view .widget-products-carousel .product-item-info:hover .product.photo img {
    transform: scale(1.04);
}

body.catalog-product-view .widget-products-carousel .product.details {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 4px 14px 14px !important;
    width: auto !important;
}

body.catalog-product-view .widget-products-carousel .product.name a {
    color: var(--pp-ink) !important;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    transition: color .15s ease;
}

body.catalog-product-view .widget-products-carousel .product-item-info:hover .product.name a {
    color: var(--pp-red) !important;
}

body.catalog-product-view .widget-products-carousel .price-box {
    margin-top: auto !important;
    padding-top: 10px;
    border-top: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.catalog-product-view .widget-products-carousel .price-box .price {
    color: var(--pp-red) !important;
    font-weight: 700;
}

body.catalog-product-view .widget-products-carousel .price-box .price-label {
    color: var(--pp-muted);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.06em;
}

body.catalog-product-view .widget-products-carousel .carousel-nav {
    position: absolute;
    top: 42%;
    z-index: 3;
    width: 40px !important;
    height: 40px !important;
    margin-top: -20px;
    border-radius: 50% !important;
    border: 0 !important;
    background: #fff !important;
    color: var(--pp-ink) !important;
    font-size: 22px !important;
    line-height: 40px !important;
    padding: 0 !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.16) !important;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
}

body.catalog-product-view .widget-products-carousel .carousel-nav:hover {
    transform: scale(1.06);
    box-shadow: 0 5px 16px rgba(0,0,0,0.22) !important;
}

body.catalog-product-view .widget-products-carousel .carousel-nav.prev {
    left: -14px;
}

body.catalog-product-view .widget-products-carousel .carousel-nav.next {
    right: -14px;
}

@media (max-width: 768px) {
    body.catalog-product-view .widget-products-carousel {
        padding: 0 12px;
    }
    body.catalog-product-view .widget-products-carousel .carousel-item {
        flex-basis: 170px;
        width: 170px !important;
    }
    body.catalog-product-view .widget-products-carousel .carousel-nav.prev { left: 0; }
    body.catalog-product-view .widget-products-carousel .carousel-nav.next { right: 0; }
}

/* ===== RECENZII EXISTENTE (lista de deasupra formularului) ===== */
body.catalog-product-view #product-review-container .block.review-list {
    background: none !important;
    padding: 0 0 22px !important;
    margin: 0 0 28px !important;
    border-bottom: 1px solid var(--pp-line);
}

body.catalog-product-view #product-review-container .review-list .block-title strong {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: var(--pp-ink);
}

body.catalog-product-view #product-review-container .review-items {
    margin: 10px 0 0;
    padding: 0;
}

body.catalog-product-view #product-review-container .review-item {
    background: #fbf9f7;
    border: 1px solid #f1ebe7 !important;
    border-radius: 12px;
    padding: 16px 20px !important;
    margin: 0 0 12px !important;
}

body.catalog-product-view #product-review-container .review-item:last-child {
    border-bottom: 1px solid #f1ebe7 !important;
}

body.catalog-product-view #product-review-container .review-title {
    margin: 0 0 6px !important;
}

body.catalog-product-view #product-review-container .review-content {
    margin: 0 0 8px !important;
}

body.catalog-product-view #product-review-container .review-details,
body.catalog-product-view #product-review-container .review-author,
body.catalog-product-view #product-review-container .review-date {
    font-size: 12px;
    color: var(--pp-muted);
    margin: 0 !important;
}

body.catalog-product-view #product-review-container .review-toolbar {
    border: 0 !important;
    margin: 0 !important;
}

/* ===== BARA DE SORTARE (categorie) — tema o punea absolute, cardurile intrau peste ea ===== */
body.catalog-category-view .toolbar.toolbar-products {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: auto !important;
    margin: 0 0 22px !important;
    padding: 10px 18px !important;
    box-sizing: border-box;
    min-height: 58px;
}

body.catalog-category-view .toolbar.toolbar-products::before,
body.catalog-category-view .toolbar.toolbar-products::after {
    display: none !important;
}

body.catalog-category-view .toolbar-products > * {
    float: none !important;
    margin: 0 !important;
}

body.catalog-category-view .toolbar-products .modes:empty,
body.catalog-category-view .toolbar-products .modes {
    display: none !important;
}

body.catalog-category-view .toolbar-products .toolbar-amount {
    padding: 0 !important;
    line-height: 36px;
    font-size: 14px;
    color: var(--pp-muted);
}

body.catalog-category-view .toolbar-products .toolbar-amount .toolbar-number {
    font-weight: 700;
    color: var(--pp-ink);
}

body.catalog-category-view .toolbar-products .toolbar-sorter,
body.catalog-category-view .toolbar-products .limiter {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 0 !important;
}

body.catalog-category-view .toolbar-products .sorter-label,
body.catalog-category-view .toolbar-products .limiter-label,
body.catalog-category-view .toolbar-products .limiter-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-muted);
}

body.catalog-category-view .toolbar-products select {
    height: 38px !important;
    padding: 0 34px 0 12px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    font-size: 14px;
    cursor: pointer;
}

body.catalog-category-view .toolbar-products select:focus {
    border-color: var(--pp-red) !important;
    box-shadow: 0 0 0 3px rgba(143,0,0,0.12);
    outline: none;
}

body.catalog-category-view .toolbar-products .sorter-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    background: #fff;
    margin: 0 !important;
}

body.catalog-category-view .toolbar-products .sorter-action:hover {
    border-color: var(--pp-red);
}

body.catalog-category-view .toolbar-products .sorter-action:before {
    font-size: 26px !important;
    line-height: 1 !important;
    color: var(--pp-ink) !important;
}

/* bara de jos (doar „per pagina”): aliniata la dreapta */
body.catalog-category-view .products.wrapper ~ .toolbar-products {
    justify-content: flex-end;
}

/* spatiul lasat de tema pentru bara absoluta nu mai e necesar */
body.catalog-category-view .column.main {
    padding-top: 8px !important;
}

/* sus: doar numarul + sortarea; „per pagina” ramane jos */
body.catalog-category-view .toolbar-products:not(.products.wrapper ~ .toolbar-products) .limiter {
    display: none !important;
}

body.catalog-category-view .toolbar-products .sorter-action:before {
    font-size: 20px !important;
}

/* jos: doar „per pagina” (si paginile, daca sunt) */
body.catalog-category-view .products.wrapper ~ .toolbar-products .toolbar-sorter,
body.catalog-category-view .products.wrapper ~ .toolbar-products .toolbar-amount {
    display: none !important;
}

/* ===== GALERIE (galerie.html, continut in descrierea categoriei) — 4 dec 2026 ===== */
.af-galerie {
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 0 20px;
}

.af-gal-sec {
    background: #fff;
    border: 1px solid var(--pp-line, #ececec);
    border-radius: 14px;
    padding: 26px 28px 30px;
    margin: 0 0 26px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.af-gal-h {
    display: flex;
    align-items: baseline;
    gap: 12px;
    position: relative;
    margin: 0 0 20px !important;
    padding-left: 14px;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--pp-ink, #2b2b2b);
    letter-spacing: -0.01em;
}

.af-gal-h::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    border-radius: 2px;
    background: var(--pp-red, #8f0000);
}

.af-gal-h span {
    font-size: 13px;
    font-weight: 600;
    color: var(--pp-muted, #888);
}

.af-gal-vgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.af-gal-video {
    margin: 0;
}

.af-gal-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.af-gal-video figcaption {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--pp-ink, #2b2b2b);
    text-align: center;
}

.af-gal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.af-gal-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    background: #f4f1ee;
    cursor: zoom-in;
}

.af-gal-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .35s ease, filter .25s ease;
}

.af-gal-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.04);
}

/* vizualizare marita */
.af-lb {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,10,10,0.92);
}

.af-lb img {
    max-width: calc(100vw - 160px);
    max-height: calc(100vh - 110px);
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.af-lb button {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 28px;
    line-height: 52px;
    padding: 0;
    cursor: pointer;
    transition: background-color .15s ease;
}

.af-lb button:hover {
    background: rgba(255,255,255,0.25);
}

.af-lb .af-lb-prev { left: 24px; top: 50%; margin-top: -26px; }
.af-lb .af-lb-next { right: 24px; top: 50%; margin-top: -26px; }
.af-lb .af-lb-close { right: 24px; top: 20px; font-size: 24px; }

.af-lb .af-lb-count {
    position: absolute;
    bottom: 22px;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .af-gal-sec { padding: 18px 14px 20px; }
    .af-gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .af-lb img { max-width: 100vw; max-height: calc(100vh - 140px); border-radius: 0; }
    .af-lb .af-lb-prev, .af-lb .af-lb-next { top: auto; bottom: 14px; margin: 0; }
}

/* ===== produse fara mostrar: fara titlul „Culori disponibile” ===== */
body.catalog-product-view .product-info-main:not(:has(> .block-content)) > small:nth-of-type(1) {
    display: none !important;
}

/* ===== font cu diacritice complete (ă, ș, ț din Open Sans-ul temei lipsesc → par bold) ===== */
body.catalog-product-view #review-form .review-legend::after,
.af-aviz {
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif !important;
    font-weight: 400;
}

/* ===== aviz (ex. livrarea tablourilor Canvas mari) ===== */
.af-aviz {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fbf6f2;
    border: 1px solid #efe1d6;
    border-left: 4px solid var(--pp-red, #8f0000);
    border-radius: 12px;
    padding: 16px 20px;
    margin: 4px 0 8px;
    color: #3a3a3a;
    font-size: 15px;
    line-height: 1.65;
}

.af-aviz-ic {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pp-red, #8f0000);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    font-family: Georgia, serif;
}

.af-aviz-t {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--pp-ink, #2b2b2b);
    margin-bottom: 4px;
}

.af-aviz p {
    margin: 0 !important;
}

.af-aviz strong {
    font-weight: 600;
    color: var(--pp-ink, #2b2b2b);
}

/* ===== PAGINA COSULUI (/checkout/cart) — 4 dec 2026 ===== */
body.checkout-cart-index .page-title-wrapper .page-title {
    font-weight: 600;
    letter-spacing: -0.01em;
}

body.checkout-cart-index #shopping-cart-table > tbody.cart.item.custom-cart-item {
    margin-bottom: 16px !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-card {
    gap: 24px !important;
    padding: 20px 22px !important;
    background: #fff !important;
    border: 1px solid #ece7e3 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    transition: box-shadow .2s ease;
}

body.checkout-cart-index .custom-cart-item .cart-item-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-card::before {
    display: none !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-left {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    align-self: flex-start;
}

body.checkout-cart-index .custom-cart-item .cart-item-left .product-item-photo {
    padding: 0 !important;
    background: #f7f4f1 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-left img {
    object-fit: contain;
}

body.checkout-cart-index .custom-cart-item .cart-item-top {
    margin-bottom: 12px !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-title-wrap {
    margin-bottom: 10px !important;
}

body.checkout-cart-index .custom-cart-item .product-item-name,
body.checkout-cart-index .custom-cart-item .product-item-name a {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #2b2b2b !important;
    text-transform: none;
    letter-spacing: -0.01em;
}

body.checkout-cart-index .custom-cart-item .product-item-name a:hover {
    color: #8f0000 !important;
    text-decoration: none;
}

/* pret / cantitate / total: un rand de casete mici */
body.checkout-cart-index .custom-cart-item .cart-item-summary {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap;
}

body.checkout-cart-index .custom-cart-item .cart-item-summary .summary-box {
    min-width: 0 !important;
    width: auto !important;
    min-height: 0 !important;
    padding: 8px 14px !important;
    background: #faf8f6 !important;
    border: 1px solid #efe9e4 !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: center;
    gap: 3px;
    text-align: left !important;
}

body.checkout-cart-index .custom-cart-item .summary-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8a8a8a !important;
    margin: 0 !important;
}

body.checkout-cart-index .custom-cart-item .summary-value,
body.checkout-cart-index .custom-cart-item .summary-value .price {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2b2b2b !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-summary .summary-box:last-child .price {
    color: #8f0000 !important;
}

body.checkout-cart-index .custom-cart-item .qty-box .input-text.qty {
    width: 54px !important;
    height: 30px !important;
    padding: 0 6px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    text-align: center;
    margin: 0 !important;
}

/* optiunile alese: eticheta | valoare */
body.checkout-cart-index .custom-cart-item dl.item-options {
    margin: 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #f1ede9;
    font-size: 13px !important;
}

body.checkout-cart-index .custom-cart-item .item-option-row {
    display: grid !important;
    grid-template-columns: 210px 1fr;
    gap: 12px;
    padding: 4px 0 !important;
    margin: 0 !important;
}

body.checkout-cart-index .custom-cart-item .item-option-row dt {
    margin: 0 !important;
    font-weight: 600 !important;
    color: #777 !important;
    font-size: 12.5px !important;
    clear: none !important;
    float: none !important;
}

body.checkout-cart-index .custom-cart-item .item-option-row dd {
    margin: 0 !important;
    color: #2b2b2b !important;
    font-size: 13px !important;
    float: none !important;
    word-break: break-word;
}

body.checkout-cart-index .custom-cart-item .item-option-row dd .price {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #9a9a9a !important;
    margin-left: 4px;
}

body.checkout-cart-index .custom-cart-item .item-option-row dd a {
    color: #8f0000 !important;
}

/* actiuni: favorite / editeaza / sterge */
body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop {
    margin-top: 10px !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .actions-toolbar {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 !important;
}

body.checkout-cart-index .custom-cart-item .action-towishlist {
    margin-right: auto !important;
    font-size: 12.5px !important;
    color: #888 !important;
    padding: 0 !important;
}

body.checkout-cart-index .custom-cart-item .action-towishlist:hover {
    color: #8f0000 !important;
}

body.checkout-cart-index .custom-cart-item .action-edit,
body.checkout-cart-index .custom-cart-item .action-delete {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    margin: 0 !important;
    transition: background-color .12s ease;
}

body.checkout-cart-index .custom-cart-item .action-edit:hover,
body.checkout-cart-index .custom-cart-item .action-delete:hover {
    background: #f6eeee;
}

body.checkout-cart-index .custom-cart-item .action-edit::before,
body.checkout-cart-index .custom-cart-item .action-delete::before {
    font-size: 17px !important;
    color: #999 !important;
}

body.checkout-cart-index .custom-cart-item .action-edit:hover::before,
body.checkout-cart-index .custom-cart-item .action-delete:hover::before {
    color: #8f0000 !important;
}

/* butoanele de sub lista */
body.checkout-cart-index .custom-cart-actions .action {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.checkout-cart-index .custom-cart-actions .action.update {
    background: #fff !important;
    color: #8f0000 !important;
    border: 1px solid #8f0000 !important;
}

body.checkout-cart-index .custom-cart-actions .action.update:hover {
    background: #8f0000 !important;
    color: #fff !important;
}

/* ===== sumarul din dreapta ===== */
body.checkout-cart-index .cart-summary {
    background: #fff !important;
    border: 1px solid #ece7e3 !important;
    border-radius: 14px !important;
    padding: 20px 22px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* titlul aparea „Titlu recenzie” (traducerea lui „Summary” e cea pentru recenzii) */
body.checkout-cart-index .cart-summary > .summary.title {
    font-size: 0 !important;
    display: block;
    margin: 0 0 12px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.checkout-cart-index .cart-summary > .summary.title::before {
    content: "Sumar comandă";
    font-size: 20px;
    font-weight: 600;
    color: #2b2b2b;
    letter-spacing: -0.01em;
}

body.checkout-cart-index .cart-summary .block.shipping > .title {
    border: 1px solid #efe9e4 !important;
    border-radius: 10px;
    padding: 10px 14px !important;
    background: #faf8f6;
}

body.checkout-cart-index .cart-summary .block.shipping > .title strong {
    font-size: 13px !important;
    font-weight: 600 !important;
}

body.checkout-cart-index .cart-summary .cart-totals {
    border: 0 !important;
    padding-top: 10px !important;
}

body.checkout-cart-index .cart-summary .cart-totals table {
    border-collapse: collapse;
}

body.checkout-cart-index .cart-summary .cart-totals th,
body.checkout-cart-index .cart-summary .cart-totals td {
    background: none !important;
    padding: 8px 0 !important;
    font-size: 13px !important;
    vertical-align: top;
    border: 0 !important;
}

body.checkout-cart-index .cart-summary .cart-totals th {
    color: #666 !important;
    font-weight: 400 !important;
    padding-right: 12px !important;
    line-height: 1.5;
}

body.checkout-cart-index .cart-summary .cart-totals td,
body.checkout-cart-index .cart-summary .cart-totals td .price {
    font-weight: 600 !important;
    color: #2b2b2b !important;
    white-space: nowrap;
    text-align: right;
}

body.checkout-cart-index .cart-summary .cart-totals tr.totals.shipping th .label + .value,
body.checkout-cart-index .cart-summary .cart-totals .totals.shipping .value {
    font-size: 11.5px;
    color: #999;
}

body.checkout-cart-index .cart-summary .cart-totals .grand.totals th,
body.checkout-cart-index .cart-summary .cart-totals .grand.totals td {
    border-top: 1px solid #eee !important;
    padding-top: 14px !important;
}

body.checkout-cart-index .cart-summary .cart-totals .grand.totals th strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #2b2b2b !important;
}

body.checkout-cart-index .cart-summary .cart-totals .grand.totals td .price,
body.checkout-cart-index .cart-summary .cart-totals .grand.totals td strong {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #8f0000 !important;
}

body.checkout-cart-index .cart-summary .checkout-methods-items {
    margin: 16px 0 0 !important;
}

body.checkout-cart-index .cart-summary .checkout-methods-items .action.primary.checkout {
    width: 100%;
    height: 50px !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 50px !important;
    padding: 0 16px !important;
    box-shadow: 0 4px 12px rgba(143,0,0,0.25);
}

body.checkout-cart-index .cart-summary .checkout-methods-items .item + .item {
    margin-top: 10px !important;
    text-align: center;
}

body.checkout-cart-index .cart-summary .checkout-methods-items .action.multicheckout {
    font-size: 12.5px !important;
    color: #888 !important;
}

@media (max-width: 768px) {
    body.checkout-cart-index .custom-cart-item .cart-item-left {
        flex-basis: 90px !important;
        width: 90px !important;
        min-width: 90px !important;
    }
    body.checkout-cart-index .custom-cart-item .item-option-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    body.checkout-cart-index .custom-cart-item .cart-item-card {
        gap: 14px !important;
        padding: 14px !important;
    }
}

/* poza: patrat exact (wrapper-ul avea padding 100% + imaginea dedesubt = dublu) */
body.checkout-cart-index .custom-cart-item .cart-item-left .product-image-wrapper {
    padding-bottom: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
}

body.checkout-cart-index .custom-cart-item .cart-item-left .product-image-wrapper img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

body.checkout-cart-index .custom-cart-item .action-edit,
body.checkout-cart-index .custom-cart-item .action-delete {
    width: 34px !important;
}

/* butonul de pe pagina de editare din cos („Actualizează coșul”) — la fel ca „Adaugă în coș” */
body .block-bundle-summary #product-updatecart-button,
body .block-bundle-summary .box-tocart .action.primary.update {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    margin: 0 !important;
    font-size: 16px !important;
    line-height: 48px !important;
    white-space: nowrap;
    border-radius: 10px !important;
}

body .block-bundle-summary .box-tocart .fieldset {
    display: flex !important;
    align-items: flex-end;
    gap: 10px;
}

body .block-bundle-summary .box-tocart .actions {
    flex: 1 1 auto;
    padding: 0 !important;
    margin: 0 !important;
}

body .block-bundle-summary .box-tocart input.qty {
    width: 60px !important;
    height: 48px !important;
}

/* editeaza / sterge: tema le punea absolute, unul peste altul */
body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .action-edit,
body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .action-delete {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    border: 1px solid #eee;
    background: #fff;
}

body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .action-edit {
    margin-left: auto !important;
}

body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .action-edit:hover,
body.checkout-cart-index .custom-cart-item .cart-item-actions-desktop .action-delete:hover {
    border-color: #e3caca;
}

/* ===== cod de reducere ===== */
body.checkout-cart-index .cart-discount {
    float: none !important;
    width: auto !important;
    max-width: 560px;
    margin: 18px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.checkout-cart-index .cart-discount .block.discount {
    width: auto !important;
    background: #fff !important;
    border: 1px solid #ece7e3 !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.checkout-cart-index .cart-discount .block.discount > .title {
    display: flex !important;
    align-items: center;
    padding: 14px 18px !important;
    border: 0 !important;
    cursor: pointer;
}

body.checkout-cart-index .cart-discount .block.discount > .title strong {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
}

body.checkout-cart-index .cart-discount .block.discount > .title strong::before {
    content: "%";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: #8f0000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    vertical-align: middle;
}

body.checkout-cart-index .cart-discount .block.discount > .title::after {
    margin-left: auto;
    font-size: 26px !important;
    color: #999 !important;
    position: static !important;
}

body.checkout-cart-index .cart-discount .block.discount > .content {
    padding: 0 18px 18px !important;
    margin: 0 !important;
}

body.checkout-cart-index .cart-discount .fieldset.coupon {
    display: flex !important;
    gap: 8px;
    margin: 0 !important;
}

body.checkout-cart-index .cart-discount .fieldset.coupon > .field {
    flex: 1 1 auto;
    margin: 0 !important;
}

body.checkout-cart-index .cart-discount .fieldset.coupon > .field > .label {
    display: none !important;
}

body.checkout-cart-index .cart-discount #coupon_code {
    height: 44px !important;
    padding: 0 14px !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    box-sizing: border-box;
}

body.checkout-cart-index .cart-discount #coupon_code:focus {
    border-color: #8f0000 !important;
    box-shadow: 0 0 0 3px rgba(143,0,0,0.12);
    outline: none;
}

body.checkout-cart-index .cart-discount .fieldset.coupon > .actions-toolbar {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
}

body.checkout-cart-index .cart-discount .fieldset.coupon > .actions-toolbar > div {
    display: block !important;
    width: auto !important;
}

body.checkout-cart-index .cart-discount .action.apply,
body.checkout-cart-index .cart-discount .action.cancel {
    height: 44px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #8f0000 !important;
    border: 1px solid #8f0000 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap;
    box-shadow: none !important;
}

body.checkout-cart-index .cart-discount .action.apply span,
body.checkout-cart-index .cart-discount .action.cancel span {
    color: #fff !important;
}

body.checkout-cart-index .cart-discount .action.apply:hover,
body.checkout-cart-index .cart-discount .action.cancel:hover {
    background: #6e0000 !important;
}

/* bucata gri goala de sub caseta */
body.checkout-cart-index .cart-discount ~ :empty,
body.checkout-cart-index .cart-discount > :not(.block):empty {
    display: none !important;
}

body.checkout-cart-index .cart-discount,
body.checkout-cart-index .cart-discount .block.discount {
    width: 100% !important;
    box-sizing: border-box;
}

/* tema adauga inca „: ” dupa eticheta */
body.checkout-cart-index .custom-cart-item .item-option-row dt::after {
    content: none !important;
}

/* bloc static gol (fara produse) sub caseta de reducere */
body.checkout-cart-index .cart-container .widget.block-static-block:not(:has(img, a, iframe, video)) {
    display: none !important;
}

/* ===== eticheta a 3-a (PRET BUN / SUPER PRET): sub eticheta cu dimensiunea, nu jos pe card ===== */
.product-item-info .product-badge.product-badge-3--discount {
    margin-top: 37px !important;
    height: 17px !important;
    width: auto !important;
}

.product-item-info .product-badge.product-badge-3--discount .product-badge-label {
    white-space: nowrap !important;
    line-height: 17px !important;
    height: 17px !important;
    width: auto !important;
}

/* textul etichetei e pe doua randuri (doua elemente bloc) — pe un singur rand */
.product-item-info .product-badge.product-badge-3--discount .product-badge-label > * {
    display: inline !important;
}

.product-item-info .product-badge.product-badge-3--discount .product-badge-label > * + * {
    margin-left: 3px;
}

.product-item-info .product-badge.product-badge-3--discount .product-badge-label br {
    display: none !important;
}

/* ===== ALBUM 3D IN SUMAR + SUMAR COMPACT — 4 dec 2026 ===== */
.af-a3d {
    margin: 4px 0 12px;
    padding: 10px 10px 8px;
    background: radial-gradient(ellipse at 50% 35%, #ffffff 0%, #f6f2ee 70%, #efe9e3 100%);
    border: 1px solid #efe8e2;
    border-radius: 12px;
}

.af-a3d-stage {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 900px;
    cursor: pointer;
    position: relative;
}

.af-a3d-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: 160px;
    height: 16px;
    margin-left: -70px;
    background: radial-gradient(ellipse, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.af-a3d-book {
    --w: 150px;
    --h: 150px;
    --t: 14px;
    --cover: #cfc6bd;
    --tex: none;
    position: relative;
    width: var(--w);
    height: var(--h);
    transform-style: preserve-3d;
    transform: rotateX(-14deg) rotateY(-30deg) translateX(12px);
    transition: transform .6s cubic-bezier(.2,.7,.2,1), width .4s ease, height .4s ease;
}

.af-a3d-stage:hover .af-a3d-book {
    transform: rotateX(-12deg) rotateY(-22deg) translateX(12px);
}

.af-a3d.is-open .af-a3d-book {
    transform: rotateX(-18deg) rotateY(-8deg) translateX(46px);
}

.af-a3d-back,
.af-a3d-front,
.af-a3d-out,
.af-a3d-in,
.af-a3d-page {
    position: absolute;
    inset: 0;
    border-radius: 2px 6px 6px 2px;
}

.af-a3d-back {
    transform: translateZ(calc(var(--t) * -1));
    background-color: var(--cover);
    background-image: var(--tex);
    background-size: cover;
    filter: brightness(.8);
    box-shadow: 6px 10px 22px rgba(0,0,0,0.25);
}

/* blocul de file (marginea din dreapta si de sus) */
.af-a3d-edge {
    position: absolute;
    background: repeating-linear-gradient(90deg, #fbfaf7 0 1px, #e3ded6 1px 2px);
}

.af-a3d-edge-r {
    top: 3px;
    right: 3px;
    width: var(--t);
    height: calc(100% - 6px);
    transform-origin: right center;
    transform: rotateY(-90deg);
    background: repeating-linear-gradient(90deg, #fbfaf7 0 1px, #ddd7ce 1px 2px);
}

.af-a3d-edge-t {
    top: 3px;
    left: 2px;
    width: calc(100% - 5px);
    height: var(--t);
    transform-origin: center top;
    transform: rotateX(-90deg);
    background: repeating-linear-gradient(0deg, #fbfaf7 0 1px, #ddd7ce 1px 2px);
}

/* prima fila (se vede cand e deschis) */
.af-a3d-page {
    inset: 3px 3px 3px 2px;
    transform: translateZ(-1px);
    background: linear-gradient(90deg, #e9e4dc 0%, #fbfaf7 8%, #fff 100%);
    border-radius: 1px 4px 4px 1px;
}

.af-a3d-page::after {
    content: "";
    position: absolute;
    inset: 16% 14%;
    border: 1px dashed #e0d9cf;
    border-radius: 3px;
}

/* coperta din fata: se deschide pe cotor */
.af-a3d-front {
    transform-origin: left center;
    transform-style: preserve-3d;
    transform: translateZ(1px);
    transition: transform .8s cubic-bezier(.3,.7,.2,1);
}

.af-a3d.is-open .af-a3d-front {
    transform: translateZ(1px) rotateY(-155deg);
}

.af-a3d-out {
    backface-visibility: hidden;
    background-color: var(--cover);
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.05) 6%, rgba(255,255,255,0.10) 8%, rgba(0,0,0,0) 12%),
        linear-gradient(135deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 45%),
        var(--tex);
    background-size: 100% 100%, 100% 100%, cover;
    background-position: center;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
    overflow: hidden;
}

.af-velvet .af-a3d-out,
.af-a3d-in.af-velvet {
    background-image:
        linear-gradient(90deg, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.04) 6%, rgba(0,0,0,0) 10%),
        radial-gradient(ellipse at 30% 25%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%),
        radial-gradient(ellipse at 80% 90%, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 60%),
        repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,0.025) 0 1px, rgba(0,0,0,0.025) 1px 2px);
}

/* fereastra foto */
.af-a3d-foto {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background:
        linear-gradient(160deg, rgba(255,255,255,0.35), rgba(255,255,255,0) 40%),
        linear-gradient(180deg, #c9d6e3 0%, #a7b9c9 45%, #8a7d6c 46%, #6f6457 100%);
    box-shadow: inset 0 0 0 2px rgba(255,255,255,0.65), 0 1px 3px rgba(0,0,0,0.35);
    border-radius: 1px;
}

.af-a3d-foto.is-on { display: block; }

.af-a3d-foto.is-full {
    width: auto !important;
    height: auto !important;
    inset: 0;
    transform: none;
    left: 0;
    top: 0;
    box-shadow: none;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 8%),
        linear-gradient(160deg, rgba(255,255,255,0.3), rgba(255,255,255,0) 40%),
        linear-gradient(180deg, #c9d6e3 0%, #a7b9c9 50%, #8a7d6c 51%, #6f6457 100%);
}

/* interiorul copertei (face-off) */
.af-a3d-in {
    --in: #f4f1ea;
    backface-visibility: hidden;
    transform: rotateY(180deg);
    background-color: var(--in);
    background-image: linear-gradient(270deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 10%);
    border-radius: 6px 2px 2px 6px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    box-shadow: inset 0 0 0 4px rgba(0,0,0,0.05);
}

.af-a3d-inlbl {
    margin-bottom: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255,255,255,0.85);
    color: #333;
    font-size: 9.5px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 92%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.af-a3d-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

.af-a3d-info {
    font-size: 11.5px;
    color: #777;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.af-a3d-btn {
    flex: 0 0 auto;
    height: 28px;
    padding: 0 12px !important;
    border: 1px solid #e0d4c9 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #6e0000 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 26px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color .15s ease, border-color .15s ease;
}

.af-a3d-btn:hover {
    background: #faf2ee !important;
    border-color: #c9a27e !important;
}

@media (prefers-reduced-motion: reduce) {
    .af-a3d-book, .af-a3d-front { transition: none; }
}

/* ===== sumar mai compact ===== */
body.catalog-product-view .block-bundle-summary {
    padding: 16px 18px !important;
}

body.catalog-product-view .block-bundle-summary .bundle-summary > .title {
    margin: 0 0 8px !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .bundle-summary > .title strong {
    font-size: 15px !important;
}

body.catalog-product-view .block-bundle-summary #bundle-summary {
    max-height: calc(100vh - 560px) !important;
    min-height: 90px;
    margin: 0 !important;
    padding-top: 6px !important;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li {
    padding: 5px 0 !important;
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.35 !important;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li strong,
body.catalog-product-view .block-bundle-summary #bundle-summary .label {
    font-size: 10.5px !important;
}

body.catalog-product-view .block-bundle-summary div.price-box.price-configured_price {
    padding: 10px 14px !important;
    margin: 10px 0 !important;
}

body.catalog-product-view .block-bundle-summary div.price-box.price-configured_price .price {
    font-size: 24px !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart .field.qty .label {
    margin-bottom: 3px !important;
}

body.catalog-product-view .block-bundle-summary .box-tocart input.qty,
body.catalog-product-view .block-bundle-summary #product-addtocart-button,
body .block-bundle-summary #product-updatecart-button {
    height: 44px !important;
    line-height: 44px !important;
}

@media (max-height: 760px) {
    .af-a3d-stage { height: 150px; }
    .af-a3d-book { --t: 11px; }
}

/* mostrele au codul scris jos in poza: se ia doar partea de sus a texturii */
.af-a3d-out { background-size: 100% 100%, 100% 100%, 170% auto !important; background-position: center, center, 50% 20% !important; }
.af-a3d-back { background-size: 170% auto; background-position: 50% 20%; }
body.catalog-product-view .block-bundle-summary .bundle-summary > .title { padding: 0 0 6px !important; border: 0 !important; }
.af-a3d.is-open .af-a3d-book {
    transform: rotateX(-18deg) rotateY(-8deg) translateX(72px) scale(.86);
}
body.catalog-product-view .block-bundle-summary #bundle-summary {
    max-height: max(150px, calc(100vh - 600px)) !important;
}

/* album 3D: fara umbra eliptica (aparea peste album) si centrat */
.af-a3d-stage::after {
    display: none !important;
}

.af-a3d-stage {
    height: 200px !important;
}

.af-a3d-book {
    transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.92) !important;
}

.af-a3d-stage:hover .af-a3d-book {
    transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(.92) !important;
}

.af-a3d.is-open .af-a3d-book {
    transform: rotateX(-14deg) rotateY(-6deg) translateX(70px) scale(.82) !important;
}

.af-a3d-back {
    box-shadow: 10px 14px 26px rgba(0,0,0,0.20), 2px 3px 6px rgba(0,0,0,0.12) !important;
}

@media (max-height: 760px) {
    .af-a3d-stage { height: 160px !important; }
    .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.75) !important; }
}

/* titlurile caruselelor („Alții au cumpărat și…”, „Produse recomandate”): font cu diacritice, bara rosie + linie fina */
body .widget-products-carousel > .block-title {
    display: flex !important;
    align-items: center;
    gap: 16px;
    margin: 40px 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
}

body .widget-products-carousel > .block-title::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: linear-gradient(90deg, #e6dcd4, rgba(230,220,212,0));
}

body .widget-products-carousel > .block-title strong {
    position: relative;
    padding-left: 14px;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    color: #2b2b2b !important;
    white-space: nowrap;
}

body .widget-products-carousel > .block-title strong::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: #8f0000;
}

/* ambele carusele aliniate la aceeasi latime ca pagina */
body.catalog-product-view .widget-products-carousel {
    max-width: 1352px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 24px !important;
}

/* ===== recenziile clientilor: titlu ca restul sectiunilor + carduri cu initiala ===== */
body.catalog-product-view #product-review-container .block.review-list {
    border-bottom: 1px solid #f0ebe7 !important;
}

body.catalog-product-view #product-review-container .review-list > .block-title {
    margin: 0 0 14px !important;
}

body.catalog-product-view #product-review-container .review-list > .block-title strong {
    position: relative;
    padding-left: 14px;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
}

body.catalog-product-view #product-review-container .review-list > .block-title strong::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 3px;
    width: 4px;
    border-radius: 2px;
    background: #8f0000;
}

body.catalog-product-view #product-review-container .review-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
}

body.catalog-product-view #product-review-container .review-item {
    position: relative;
    margin: 0 !important;
    padding: 18px 20px 16px 20px !important;
    background: #fff !important;
    border: 1px solid #eee6df !important;
    border-radius: 12px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

body.catalog-product-view #product-review-container .review-item::before {
    content: "\201C";
    position: absolute;
    top: 4px;
    right: 16px;
    font-family: Georgia, serif;
    font-size: 52px;
    line-height: 1;
    color: #f0e4da;
    pointer-events: none;
}

body.catalog-product-view #product-review-container .review-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
    margin: 0 0 6px !important;
    padding-right: 36px;
}

body.catalog-product-view #product-review-container .review-content {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #4a4a4a !important;
    margin: 0 0 12px !important;
}

body.catalog-product-view #product-review-container .review-details {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
    border-top: 1px solid #f4efea;
    font-size: 12px !important;
    color: #8a8a8a !important;
}

body.catalog-product-view #product-review-container .review-details p {
    margin: 0 !important;
    display: inline;
}

body.catalog-product-view #product-review-container .review-author .review-details-value {
    font-weight: 600;
    color: #2b2b2b;
}

/* album 3D: lupa + vizualizare mare */
.af-a3d {
    position: relative;
}

.af-a3d-zoom {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border: 1px solid #e6dcd3 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.92) !important;
    color: #6e0000 !important;
    cursor: zoom-in;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    transition: transform .12s ease, background-color .15s ease, border-color .15s ease;
}

.af-a3d-zoom:hover {
    transform: scale(1.08);
    border-color: #c9a27e !important;
    background: #fff !important;
}

.af-a3d-ov {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(24,12,12,0.82);
    padding: 24px;
    box-sizing: border-box;
    animation: af-a3d-fade .2s ease;
}

@keyframes af-a3d-fade { from { opacity: 0; } to { opacity: 1; } }

.af-a3d.is-big {
    width: min(920px, 94vw);
    margin: 0;
    padding: 18px 22px 16px;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}

.af-a3d.is-big .af-a3d-stage {
    height: min(68vh, 620px) !important;
    perspective: 1600px;
}

.af-a3d.is-big .af-a3d-book {
    transform: rotateX(-12deg) rotateY(-26deg) scale(2.5) !important;
}

.af-a3d.is-big .af-a3d-stage:hover .af-a3d-book {
    transform: rotateX(-10deg) rotateY(-18deg) scale(2.5) !important;
}

.af-a3d.is-big.is-open .af-a3d-book {
    transform: rotateX(-12deg) rotateY(-6deg) translateX(150px) scale(2.1) !important;
}

.af-a3d.is-big .af-a3d-zoom {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.af-a3d.is-big .af-a3d-zoom svg {
    display: none;
}

.af-a3d.is-big .af-a3d-zoom::before {
    content: "✕";
    font-size: 16px;
    font-weight: 700;
}

.af-a3d.is-big .af-a3d-info {
    font-size: 14px;
}

.af-a3d.is-big .af-a3d-btn {
    height: 36px;
    padding: 0 18px !important;
    font-size: 13px !important;
}

@media (max-height: 700px) {
    .af-a3d.is-big .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) scale(1.9) !important; }
    .af-a3d.is-big.is-open .af-a3d-book { transform: rotateX(-12deg) rotateY(-6deg) translateX(110px) scale(1.6) !important; }
}

/* configurator: poza mostrei aleasa — mica, in dreapta listei (nu mare, deasupra) */
body #product-options-wrapper .qty-holder > span:has(> .dropdown-option-bundle-image-magespark) {
    display: flex !important;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    width: auto !important;
}

body #product-options-wrapper .dropdown-option-bundle-image-magespark {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0 !important;
}

body #product-options-wrapper .dropdown-option-bundle-image-magespark .image-child-bundle {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

body #product-options-wrapper .dropdown-option-bundle-image-magespark img {
    display: block;
    width: 96px !important;
    height: 96px !important;
    object-fit: cover;
    object-position: 50% 0;
    border-radius: 10px;
    border: 1px solid #e8e1da;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: zoom-in;
    transition: transform .15s ease, box-shadow .15s ease;
}

body #product-options-wrapper .dropdown-option-bundle-image-magespark img:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

/* album 3D mare, deschis: coperta nu mai iese din fereastra */
.af-a3d.is-big.is-open .af-a3d-book {
    transform: rotateX(-12deg) rotateY(-6deg) translateX(175px) scale(1.75) !important;
}

/* configurator: lista + „NR. COLAJE” pe acelasi rand, eticheta mica deasupra campului */
body #product-options-wrapper .qty-holder:has(input.qty) {
    display: grid !important;
    grid-template-columns: minmax(0, 300px) max-content;
    column-gap: 16px;
    row-gap: 4px;
    align-items: end;
    justify-content: start;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(1) select {
    width: 100% !important;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(2) .label {
    display: flex !important;
    align-items: baseline;
    gap: 5px;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(2) .label span {
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #2b2b2b !important;
}

body #product-options-wrapper .qty-holder:has(input.qty) > span:nth-child(2) .label p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #8a8a8a !important;
}

body #product-options-wrapper .qty-holder:has(input.qty) .control {
    width: auto !important;
    margin: 0 !important;
}

body #product-options-wrapper .qty-holder:has(input.qty) input.qty {
    width: 96px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    border: 1px solid #ddd5ce !important;
    border-radius: 10px !important;
    background: #fff !important;
    text-align: center;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2b2b2b !important;
    box-sizing: border-box;
}

body #product-options-wrapper .qty-holder:has(input.qty) input.qty:focus {
    border-color: #8f0000 !important;
    box-shadow: 0 0 0 3px rgba(143,0,0,0.10) !important;
    outline: 0;
}

@media (max-width: 560px) {
    body #product-options-wrapper .qty-holder:has(input.qty) {
        grid-template-columns: minmax(0, 1fr) max-content;
    }
}

/* sumar pe ecrane joase: lista ia doar spatiul ramas, albumul 3D se micsoreaza, butonul ramane in card */
@media (min-width: 769px) {
    body.catalog-product-view .block-bundle-summary > .content {
        flex: 1 1 auto;
    }
    body.catalog-product-view .block-bundle-summary .bundle-summary {
        display: flex !important;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }
    body.catalog-product-view .block-bundle-summary .bundle-summary > * {
        flex: 0 0 auto;
    }
    body.catalog-product-view .block-bundle-summary #bundle-summary {
        flex: 1 1 auto !important;
        max-height: none !important;
        min-height: 56px !important;
    }
    body.catalog-product-view .block-bundle-summary {
        overflow-y: auto;
        scrollbar-width: thin;
    }
}

@media (min-width: 769px) and (max-height: 860px) {
    .af-a3d:not(.is-big) .af-a3d-stage { height: 140px !important; }
    .af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.72) !important; }
    .af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(.72) !important; }
    .af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(60px) scale(.62) !important; }
    body.catalog-product-view .block-bundle-summary div.price-box.price-configured_price { padding: 6px 14px !important; margin: 8px 0 !important; }
}

@media (min-width: 769px) and (max-height: 720px) {
    .af-a3d:not(.is-big) { padding: 6px 8px 6px; margin-bottom: 8px; }
    .af-a3d:not(.is-big) .af-a3d-stage { height: 100px !important; }
    .af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.52) !important; }
    .af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(.52) !important; }
    .af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(44px) scale(.45) !important; }
    body.catalog-product-view .block-bundle-summary div.price-box.price-configured_price .price { font-size: 20px !important; }
}

/* foarte jos: doar randul cu informatii + lupa (albumul se vede mare din lupa) */
@media (min-width: 769px) and (max-height: 600px) {
    .af-a3d:not(.is-big) .af-a3d-stage { display: none; }
    .af-a3d:not(.is-big) .af-a3d-bar { margin: 0; padding-right: 40px; }
    .af-a3d:not(.is-big) .af-a3d-zoom { top: 50%; margin-top: -17px; }
}

/* sumar: fiecare optiune pe un singur rand — ETICHETA  valoare ........ +pret */
body.catalog-product-view .block-bundle-summary #bundle-summary li {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 8px;
    padding: 6px 0 !important;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li > .label {
    grid-column: 1;
    grid-row: 1;
    margin: 0 !important;
    white-space: nowrap;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li > div {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    margin: 0 !important;
    font-size: 12.5px;
    font-weight: 600;
    color: #2b2b2b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li > div > div {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.catalog-product-view .block-bundle-summary #bundle-summary li > .total_price {
    grid-column: 3;
    grid-row: 1;
    margin: 0 !important;
    white-space: nowrap;
    font-size: 11.5px !important;
}

/* cardul sub bara fixa de sus, nu ascuns de ea */
@media (min-width: 769px) {
    body.catalog-product-view #product_addtocart_form > .block-bundle-summary {
        top: 56px !important;
        max-height: calc(100vh - 68px) !important;
    }
}

body.catalog-product-view .block-bundle-summary #bundle-summary li.af-plus > .total_price::before {
    content: "+ ";
    font-weight: 400;
    color: #8a8a8a;
}

/* sumar: mai putin spatiu deasupra albumului, album mai mare (zona aproape patrata) */
body.catalog-product-view .block-bundle-summary .bundle-summary > .title {
    margin: 0 0 10px !important;
    padding: 0 !important;
}

body.catalog-product-view .block-bundle-summary .bundle-summary > .title strong {
    margin: 0 !important;
    line-height: 1.2 !important;
}

.af-a3d:not(.is-big) {
    margin: 0 0 10px !important;
    padding: 6px 8px 8px !important;
}

.af-a3d:not(.is-big) .af-a3d-stage { height: 270px !important; perspective: 1100px; }
.af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(1.3) !important; }
.af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(1.3) !important; }
.af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(78px) scale(.98) !important; }

@media (max-height: 780px) {
    .af-a3d:not(.is-big) .af-a3d-stage { height: 220px !important; }
    .af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(1.08) !important; }
    .af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(1.08) !important; }
    .af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(76px) scale(.86) !important; }
}

@media (max-height: 680px) {
    .af-a3d:not(.is-big) .af-a3d-stage { height: 180px !important; }
    .af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.9) !important; }
    .af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(.9) !important; }
    .af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(70px) scale(.72) !important; }
}

@media (max-height: 600px) {
    .af-a3d:not(.is-big) .af-a3d-stage { height: 130px !important; }
    .af-a3d:not(.is-big) .af-a3d-book { transform: rotateX(-12deg) rotateY(-26deg) translateX(-6px) scale(.64) !important; }
    .af-a3d:not(.is-big) .af-a3d-stage:hover .af-a3d-book { transform: rotateX(-10deg) rotateY(-18deg) translateX(-6px) scale(.64) !important; }
    .af-a3d.is-open:not(.is-big) .af-a3d-book { transform: rotateX(-14deg) rotateY(-6deg) translateX(50px) scale(.52) !important; }
}

@media (max-height: 520px) {
    .af-a3d:not(.is-big) .af-a3d-stage { display: none; }
}
@media (max-height: 600px) and (min-height: 521px) {
    .af-a3d:not(.is-big) .af-a3d-stage { display: flex !important; }
    .af-a3d:not(.is-big) .af-a3d-bar { padding-right: 0 !important; margin-top: 4px !important; }
    .af-a3d:not(.is-big) .af-a3d-zoom { top: 8px !important; margin-top: 0 !important; }
}

/* album 3D mare, deschis: centrat pe cotor, nu mai iese din fereastra */
body .af-a3d.is-big .af-a3d-stage {
    overflow: hidden;
}

body .af-a3d.is-big.is-open .af-a3d-book {
    transform: rotateX(-10deg) rotateY(-4deg) translateX(calc(var(--w) / 2)) scale(1.7) !important;
}

@media (max-height: 760px) {
    body .af-a3d.is-big.is-open .af-a3d-book {
        transform: rotateX(-10deg) rotateY(-4deg) translateX(calc(var(--w) / 2)) scale(1.45) !important;
    }
}

@media (max-width: 700px) {
    body .af-a3d.is-big.is-open .af-a3d-book {
        transform: rotateX(-10deg) rotateY(-4deg) translateX(calc(var(--w) / 2)) scale(.95) !important;
    }
    body .af-a3d.is-big .af-a3d-book {
        transform: rotateX(-12deg) rotateY(-26deg) scale(1.5) !important;
    }
}
