/* Poster Prints hub — acrylic-style split banner + configurator (/poster-prints) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');

:root {
    --pp-poster-gold: #C6A972;
    --pp-poster-gold-border: rgba(198, 169, 114, 0.35);
    --pp-poster-warm: #F8F7F4;
    --pp-poster-warm-muted: rgba(248, 247, 244, 0.72);
}

.single-product-hero--poster-prints.home-self-code {
    max-width: none;
    background: #fff;
    color: #222;
    padding-bottom: 0;
    position: relative;
}

.pp-poster-hub-split {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}

.pp-poster-hub-split__gallery {
    position: relative;
    min-width: 0;
}

.pp-poster-hub-split__gallery .slider.new_slide {
    position: relative;
    height: clamp(430px, 44vw, 640px);
}

.pp-poster-hub-split__gallery .slide_viewer,
.pp-poster-hub-split__gallery .slide_group,
.pp-poster-hub-split__gallery .slide {
    height: 100%;
}

.pp-poster-hub-split__gallery .category-hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #111;
}

.pp-poster-hub-split__config {
    min-width: 0;
}

.single-product-hero--poster-prints .pp-poster-hub-split__config .premium-configurator-wrapper--poster.banner-from-table,
.single-product-hero--poster-prints .pp-poster-hub-split__config #cff-order-source.banner-from-table {
    position: static !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: auto !important;
}

@media (min-width: 992px) {
    .pp-poster-hub-split {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 400px;
        gap: 20px;
        align-items: start;
        padding: 8px 16px 0;
    }

    .pp-poster-hub-split__gallery {
        overflow: hidden;
        border-radius: 6px;
        background: #111;
    }

    .pp-poster-hub-split__config {
        position: sticky;
        top: 8px;
        align-self: start;
    }
}

@media (max-width: 991px) {
    .single-product-hero--poster-prints.home-self-code {
        display: block;
    }

    .pp-poster-hub-split {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .single-product-hero--poster-prints .pp-poster-hub-split__gallery .slider.new_slide,
    .single-product-hero--poster-prints.home-self-code .pp-poster-hub-split__gallery .slider.new_slide {
        height: clamp(300px, 78vw, 440px) !important;
    }

    .single-product-hero--poster-prints.home-self-code .pp-poster-hub-split__gallery .slider.new_slide .category-hero-slide-img {
        object-fit: cover !important;
        object-position: center 30%;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster.banner-from-table,
    .single-product-hero--poster-prints #cff-order-source.banner-from-table {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

.single-product-hero--poster-prints .pp-category-hero-frame.pp-poster-hub-split__gallery {
    overflow: hidden;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster.banner-from-table,
.single-product-hero--poster-prints #cff-order-source.banner-from-table {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .tbale-row,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-content-body,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .calculate-canvas-box {
    overflow: visible !important;
}

.single-product-hero--poster-prints .premium-header-banner--poster {
    display: block;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-header-banner--poster {
    padding: 5px 4px !important;
    border-bottom-width: 2px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-header-banner--poster .premium-configurator-title {
    font-size: 15px !important;
    line-height: 1.15 !important;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-content-body {
    padding: 5px 8px 8px !important;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .product-shape-amount {
    padding: 4px 8px;
    padding-right: 72px;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.35;
    min-height: 28px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .three-d-badge-container {
    top: 40px !important;
    right: 6px;
    transform: scale(0.82);
    transform-origin: top right;
}

.pp-poster-compact-usp {
    background: linear-gradient(180deg, #fffdf5 0%, #fff8e1 100%);
    border: 1px solid #d4af37;
    border-radius: 4px;
    padding: 5px 8px;
    padding-right: 68px;
    margin: 0 0 5px;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
    color: #444;
}

.pp-poster-compact-usp strong {
    display: block;
    font-size: 12px;
    color: #111;
    margin-bottom: 2px;
}

.pp-poster-compact-usp em {
    display: block;
    font-style: normal;
    font-size: 10px;
    color: #5a4a12;
    font-weight: 600;
    margin-top: 2px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip {
    padding: 5px 8px;
    margin: 0 0 5px;
    border-radius: 4px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__label {
    margin-bottom: 4px;
    font-size: 10px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__row {
    gap: 4px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__pill {
    padding: 3px 8px;
    font-size: 11px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__compare {
    margin-left: 0;
    font-size: 10px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: start;
    column-gap: 6px;
    row-gap: 2px;
    margin-bottom: 3px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .card-detail-title,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .frame-card-detail-title {
    margin: 0;
    padding-top: 3px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .card-detail-title h3,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .frame-card-detail-title h3,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title.pp-config-inline h3 {
    margin: 0;
    font-size: 10px;
    line-height: 1.25;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title.pp-config-inline .budget-radio-canvs-sip {
    grid-column: 2;
    min-width: 0;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline .InputGroup.card-group {
    margin-bottom: 0;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .card-detail-title h3,
.single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title h3 {
    font-size: 11px;
    margin: 2px 0 2px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-acrylic-custom-label h3 {
    margin: 4px 0 2px;
    font-size: 10px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .InputGroup.card-group {
    gap: 3px;
    margin-bottom: 2px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .InputGroup .div label {
    padding: 3px 6px;
    font-size: 11px;
    min-width: 28px;
    line-height: 1.2;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .calculate-canvas-box {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    padding: 3px;
    margin-top: 1px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .calculate-tow-box {
    flex: 1 1 28%;
    min-width: 60px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .select-product-heifht span {
    font-size: 9px;
    margin-bottom: 0;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .custom-select {
    padding: 2px 1px;
    font-size: 11px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster {
    padding: 4px 5px;
    margin: 4px 0 0 !important;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster .offer-head {
    font-size: 10px;
    margin-bottom: 1px;
}

.single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster .coupon-box {
    font-size: 10px;
    padding: 1px 6px;
    max-width: 80px;
}

.pp-poster-hero-overlay__title-extra {
    font: inherit;
    color: inherit;
}

.pp-poster-hero-overlay {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    z-index: 8;
    width: min(92%, 560px);
    padding: 14px 16px;
    text-align: center;
    background: rgba(14, 17, 22, 0.82);
    border: 1px solid var(--pp-poster-gold-border);
    border-radius: 8px;
    backdrop-filter: blur(4px);
}

.pp-poster-hero-overlay__eyebrow {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pp-poster-gold);
}

.pp-poster-hero-overlay__title {
    margin: 0 0 6px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1rem, 2.8vw, 1.35rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--pp-poster-warm);
}

.pp-poster-hero-overlay__sub--short,
.pp-poster-hero-overlay__cta {
    display: none;
}

.pp-poster-hero-overlay__sub {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: var(--pp-poster-warm-muted);
}

.premium-header-banner--poster {
    padding: 5px 4px !important;
}

.single-product-hero--poster-prints .pp-poster-journey {
    max-width: 1440px;
    margin: 16px auto 0;
    box-sizing: border-box;
}

@media (min-width: 992px) {
    .single-product-hero--poster-prints .pp-poster-journey {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ── Mobile-first premium pass (~80% of traffic) ── */
@media (max-width: 991px) {
    .single-product-hero--poster-prints .pp-poster-hub-split__gallery {
        border-radius: 0;
        background: #0b0c0e;
    }

    .single-product-hero--poster-prints .pp-poster-hub-split__gallery::after {
        content: '';
        position: absolute;
        inset: auto 0 0 0;
        height: 58%;
        pointer-events: none;
        z-index: 7;
        background: linear-gradient(180deg, rgba(11, 12, 14, 0) 0%, rgba(11, 12, 14, 0.78) 72%, rgba(11, 12, 14, 0.92) 100%);
    }

    .pp-poster-hero-overlay {
        left: 0;
        right: 0;
        bottom: 0;
        transform: none;
        width: 100%;
        max-width: none;
        padding: 56px 20px 22px;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 8;
    }

    .pp-poster-hero-overlay__eyebrow {
        font-size: 9px;
        letter-spacing: 0.16em;
        margin-bottom: 8px;
    }

    .pp-poster-hero-overlay__title {
        font-size: clamp(1.28rem, 6.4vw, 1.7rem);
        line-height: 1.15;
        letter-spacing: -0.02em;
        margin-bottom: 8px;
    }

    .pp-poster-hero-overlay__title-extra {
        display: none;
    }

    .pp-poster-hero-overlay__sub--full {
        display: none;
    }

    .pp-poster-hero-overlay__sub--short {
        display: block;
        font-size: 12px;
        line-height: 1.45;
        color: rgba(248, 247, 244, 0.82);
        margin-bottom: 14px;
    }

    .pp-poster-hero-overlay__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 10px 18px;
        border-radius: 999px;
        border: 1px solid var(--pp-poster-gold);
        background: var(--pp-poster-gold);
        color: #111;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.02em;
        text-decoration: none;
    }

    .pp-poster-hero-overlay__cta:hover,
    .pp-poster-hero-overlay__cta:focus {
        color: #000;
        text-decoration: none;
        background: #e8c547;
        border-color: #e8c547;
    }

    .single-product-hero--poster-prints .pp-category-hero-frame .directional_nav.direc_home .previous_btn svg,
    .single-product-hero--poster-prints .pp-category-hero-frame .directional_nav.direc_home .next_btn svg {
        width: 34px;
        height: 34px;
        opacity: 0.72;
    }

    .single-product-hero--poster-prints .pp-category-hero-frame .slide_buttons {
        top: 10px;
        bottom: auto;
    }

    .pp-poster-hub-split__config {
        position: relative;
        z-index: 9;
        margin-top: -18px;
        padding: 0 12px;
    }

    .single-product-hero--poster-prints #cff-order-source {
        scroll-margin-top: 12px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster {
        border-radius: 16px !important;
        border: 1px solid rgba(198, 169, 114, 0.45) !important;
        box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14);
        overflow: visible !important;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-header-banner--poster {
        padding: 12px 14px !important;
        border-bottom-width: 2px;
        border-radius: 16px 16px 0 0;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-header-banner--poster .premium-configurator-title,
    .single-product-hero--poster-prints .premium-header-banner--poster h1,
    .single-product-hero--poster-prints .premium-header-banner--poster h2,
    .single-product-hero--poster-prints .premium-header-banner--poster .h1-style {
        font-family: 'Playfair Display', Georgia, serif !important;
        font-size: 1.15rem !important;
        font-weight: 600 !important;
        letter-spacing: -0.02em !important;
        text-transform: none !important;
        line-height: 1.2 !important;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-content-body {
        padding: 12px 14px 16px !important;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .product-shape-amount {
        padding: 12px 14px;
        padding-right: 14px;
        margin-bottom: 10px;
        font-size: 15px;
        min-height: 0;
        border-radius: 10px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .product-shape-amount .discouted-price {
        font-size: 22px !important;
        letter-spacing: -0.02em;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .product-shape-amount .original-price {
        font-size: 14px !important;
    }

    .pp-poster-compact-usp {
        padding: 10px 12px;
        padding-right: 12px;
        margin-bottom: 10px;
        border-radius: 10px;
        font-size: 12px;
        line-height: 1.45;
        text-align: left;
    }

    .pp-poster-compact-usp strong {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .pp-poster-compact-usp em {
        font-size: 11px;
        margin-top: 6px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip {
        padding: 10px 0 4px;
        margin: 0 0 10px;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__label {
        margin-bottom: 8px;
        font-size: 11px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__row::-webkit-scrollbar {
        display: none;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-poster-format-strip__pill {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 8px 14px;
        font-size: 13px;
        border-radius: 999px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title.pp-config-inline {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        margin-bottom: 10px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .card-detail-title,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .frame-card-detail-title {
        padding-top: 0;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .card-detail-title h3,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title h3,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .card-detail-title h3,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-config-inline > .frame-card-detail-title h3,
    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-acrylic-custom-label h3 {
        font-size: 12px !important;
        letter-spacing: 0.06em;
        margin: 4px 0 0 !important;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .frame-card-detail-title.pp-config-inline .budget-radio-canvs-sip {
        grid-column: auto;
        width: 100%;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .InputGroup.card-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        margin: 0 -2px 2px;
        padding: 2px 2px 6px;
        scrollbar-width: none;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .InputGroup.card-group::-webkit-scrollbar {
        display: none;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .InputGroup .div label {
        flex-shrink: 0;
        min-height: 44px;
        min-width: 52px;
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 10px;
        line-height: 1.2;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .calculate-canvas-box {
        gap: 8px;
        padding: 8px;
        margin-top: 4px;
        border-radius: 10px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .calculate-tow-box {
        flex: 1 1 30%;
        min-width: 0;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .select-product-heifht span {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .custom-select {
        min-height: 44px;
        padding: 8px 6px;
        font-size: 14px;
        border-radius: 8px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster {
        padding: 10px 8px;
        margin: 10px 0 0 !important;
        border-radius: 10px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster .offer-head {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .premium-offer-banner--poster .coupon-box {
        font-size: 11px;
        padding: 6px 8px;
        max-width: none;
        min-height: 36px;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-photo-upload-cta {
        margin-bottom: 0 !important;
    }

    .single-product-hero--poster-prints .premium-configurator-wrapper--poster .pp-photo-upload-cta .order {
        min-height: 50px !important;
        padding: 14px 12px !important;
        font-size: 14px !important;
        border-radius: 10px !important;
        animation: none;
        letter-spacing: 0.04em;
    }

    .single-product-hero--poster-prints .pp-poster-journey {
        margin: 14px 12px 0;
        padding: 14px 14px 16px;
        border-radius: 16px;
    }

    .single-product-hero--poster-prints .pp-poster-journey-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px 8px;
        margin-bottom: 14px;
    }

    .single-product-hero--poster-prints .pp-poster-journey-item {
        font-size: 11px;
        line-height: 1.35;
    }

    .single-product-hero--poster-prints .pp-poster-journey-item strong {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .single-product-hero--poster-prints .pp-poster-journey-item span {
        font-size: 11px;
    }

    .single-product-hero--poster-prints .pp-poster-journey-cta {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        border-radius: 10px;
        padding: 12px 14px;
    }
}

@media (max-width: 767px) {
    body:has(.mobile-sticky-cta--poster) {
        padding-bottom: calc(128px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-sticky-cta--poster {
        background: rgba(17, 17, 17, 0.94);
        padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid rgba(198, 169, 114, 0.35);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .mobile-sticky-cta--poster a {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 16px;
        font-size: 15px;
        letter-spacing: 0.02em;
        border-radius: 10px;
        box-shadow: 0 8px 20px rgba(212, 175, 55, 0.28);
    }
}

@media (max-width: 399px) {
    .single-product-hero--poster-prints .pp-poster-journey-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pp-poster-hero-overlay__title {
        font-size: 1.22rem;
    }
}
