.deco-cart-success-backdrop {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.48);
}

.deco-cart-success-backdrop.is-visible {
    display: flex;
}

body.deco-cart-success-open {
    overflow: hidden;
}

.deco-cart-success-dialog {
    position: relative;
    width: min(520px, 94vw);
    padding: 30px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.deco-cart-success-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.deco-cart-success-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #f3212b;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 62px;
}

.deco-cart-success-dialog h3 {
    margin: 0 0 8px;
    font-size: 25px;
    line-height: 1.25;
}

.deco-cart-success-dialog p {
    margin: 0 0 22px;
    color: #555;
    font-size: 16px;
}

.deco-cart-success-actions {
    display: grid;
    gap: 11px;
}

.deco-cart-success-actions a,
.deco-cart-success-actions button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    border: 0;
    border-radius: 7px;
    box-sizing: border-box;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.deco-cart-success-continue {
    background: #f1f1f1;
    color: #222;
}

.deco-cart-success-view-cart {
    background: #333;
    color: #fff !important;
}

.deco-cart-success-checkout {
    background: #f3212b;
    color: #fff !important;
}

.deco-cart-success-dialog.deco-smart-dialog {
    width: min(1040px, 96vw);
    max-height: 94vh;
    overflow-y: auto;
    padding: 24px;
    text-align: left;
}

.deco-smart-dialog .deco-smart-close {
    top: 14px;
    right: 18px;
    color: #111;
    font-size: 38px;
}

.deco-smart-success {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 48px;
    margin-bottom: 18px;
}

.deco-smart-check {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #49a927;
    color: #fff;
    font-size: 48px;
    font-weight: 800;
}

.deco-smart-success > div:last-child {
    display: flex;
    flex-direction: column;
    font-size: clamp(23px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.04;
}

.deco-smart-success strong {
    color: #3d9225;
}

.deco-smart-added-product {
    display: grid;
    grid-template-columns: 170px 1fr 190px;
    align-items: center;
    gap: 20px;
    padding: 14px 18px;
    border: 2px solid #3d9225;
    border-radius: 9px;
}

.deco-smart-added-product img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

.deco-smart-added-name {
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.deco-smart-added-name span,
.deco-smart-added-name b {
    display: block;
    margin-top: 7px;
}

.deco-smart-added-name span {
    font-size: 17px;
    font-weight: 600;
}

.deco-smart-added-name b {
    width: max-content;
    padding: 4px 14px;
    border-radius: 5px;
    background: #e5f1df;
    color: #3d9225;
    font-size: 18px;
}

.deco-smart-coverage {
    display: flex;
    flex-direction: column;
    border-left: 1px solid #bbb;
    text-align: center;
}

.deco-smart-coverage span {
    font-weight: 800;
}

.deco-smart-coverage strong {
    color: #3d9225;
    font-size: 35px;
}

.deco-smart-coverage small {
    font-weight: 600;
}

.deco-smart-heading {
    display: flex;
    flex-direction: column;
    margin: 22px 0 14px;
}

.deco-smart-heading strong {
    font-size: 23px;
}

.deco-smart-heading span {
    font-size: 17px;
}

.deco-smart-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.deco-smart-card {
    display: flex;
    flex-direction: column;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

.deco-smart-card img {
    width: 100%;
    height: 155px;
    object-fit: contain;
}

.deco-smart-card h3 {
    margin: 8px 0 2px;
    font-size: 19px;
}

.deco-smart-card-subtitle {
    margin: 0 0 10px !important;
    color: #444 !important;
    font-size: 15px !important;
}

.deco-smart-recommendation {
    min-height: 66px;
    padding: 10px;
    border: 1px solid #bedcae;
    border-radius: 6px;
    background: #eff7ea;
    font-size: 18px;
}

.deco-smart-recommendation strong {
    display: block;
    color: #3d9225;
}

.deco-smart-recommendation span {
    display: block;
    font-size: 15px;
}

.deco-smart-price {
    min-height: 25px;
    margin: 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.deco-smart-primary,
.deco-smart-secondary,
.deco-smart-actions a {
    padding: 12px;
    border-radius: 4px;
    text-align: center;
    text-decoration: none !important;
    font-weight: 800;
}

.deco-smart-primary {
    background: #f3212b;
    color: #fff !important;
}

.deco-smart-secondary {
    margin-top: 8px;
    border: 1px solid #aaa;
    color: #222 !important;
}

.deco-smart-card small {
    margin-top: 6px;
    text-align: center;
}

.deco-smart-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1.35fr;
    gap: 14px;
    margin-top: 20px;
}

.deco-smart-actions a {
    border: 1px solid #aaa;
    color: #222 !important;
}

.deco-smart-actions .deco-smart-checkout {
    border-color: #f3212b;
    background: #f3212b;
    color: #fff !important;
}

@media (min-width: 620px) {
    .deco-cart-success-actions {
        grid-template-columns: 1fr 1fr;
    }

    .deco-cart-success-checkout {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .deco-cart-success-dialog.deco-smart-dialog {
        padding: 17px;
    }

    .deco-smart-success {
        align-items: flex-start;
    }

    .deco-smart-check {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: 36px;
    }

    .deco-smart-added-product {
        grid-template-columns: 90px 1fr;
    }

    .deco-smart-coverage {
        grid-column: 1 / -1;
        padding-top: 10px;
        border-top: 1px solid #ddd;
        border-left: 0;
    }

    .deco-smart-grid,
    .deco-smart-actions {
        grid-template-columns: 1fr;
    }

    .deco-smart-card img {
        height: 130px;
    }
}


/* v1.2.2 compact desktop presentation */
@media (min-width: 761px) {
    .deco-cart-success-backdrop {
        padding: 12px;
    }

    .deco-cart-success-dialog.deco-smart-dialog {
        width: min(920px, 94vw);
        max-height: 92vh;
        padding: 16px 18px 14px;
        border-radius: 10px;
    }

    .deco-smart-dialog .deco-smart-close {
        top: 8px;
        right: 10px;
        width: 34px;
        height: 34px;
        font-size: 30px;
    }

    .deco-smart-success {
        gap: 12px;
        margin-bottom: 10px;
        padding-right: 42px;
    }

    .deco-smart-check {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
        font-size: 34px;
    }

    .deco-smart-success > div:last-child {
        font-size: clamp(22px, 2.2vw, 31px);
        line-height: 1;
    }

    .deco-smart-added-product {
        grid-template-columns: 100px 1fr 145px;
        gap: 14px;
        padding: 10px 14px;
    }

    .deco-smart-added-product img {
        height: 78px;
    }

    .deco-smart-added-name {
        font-size: 21px;
        line-height: 1.12;
    }

    .deco-smart-added-name span {
        margin-top: 4px;
        font-size: 14px;
    }

    .deco-smart-added-name b {
        margin-top: 5px;
        padding: 3px 10px;
        font-size: 15px;
    }

    .deco-smart-coverage strong {
        font-size: 28px;
    }

    .deco-smart-coverage small {
        font-size: 12px;
    }

    .deco-smart-heading {
        margin: 13px 0 8px;
    }

    .deco-smart-heading strong {
        font-size: 19px;
    }

    .deco-smart-heading span {
        font-size: 14px;
    }

    .deco-smart-grid {
        gap: 10px;
    }

    .deco-smart-card {
        padding: 9px;
    }

    .deco-smart-card img {
        height: 105px;
    }

    .deco-smart-card h3 {
        margin: 5px 0 1px;
        font-size: 16px;
        line-height: 1.15;
    }

    .deco-smart-card-subtitle {
        margin-bottom: 6px !important;
        font-size: 12px !important;
        line-height: 1.2;
    }

    .deco-smart-recommendation {
        min-height: 50px;
        padding: 7px 8px;
        font-size: 15px;
        line-height: 1.2;
    }

    .deco-smart-recommendation span {
        font-size: 12px;
    }

    .deco-smart-price {
        min-height: 20px;
        margin: 6px 0;
        font-size: 15px;
    }

    .deco-smart-primary,
    .deco-smart-secondary {
        padding: 8px 9px;
        font-size: 14px;
    }

    .deco-smart-secondary {
        margin-top: 5px;
    }

    .deco-smart-card small {
        margin-top: 4px;
        font-size: 11px;
    }

    .deco-smart-actions {
        gap: 9px;
        margin-top: 11px;
    }

    .deco-smart-actions a {
        padding: 9px 10px;
        font-size: 14px;
    }
}


/* v1.2.3 final compact popup sizing */
@media (min-width: 761px) {
    .deco-cart-success-backdrop {
        padding: 10px;
    }

    .deco-cart-success-dialog.deco-smart-dialog {
        width: min(860px, 90vw);
        max-height: 84vh;
        padding: 12px 14px 12px;
        border-radius: 9px;
        overflow-y: auto;
    }

    .deco-smart-dialog .deco-smart-close {
        top: 7px;
        right: 8px;
        width: 30px;
        height: 30px;
        font-size: 27px;
    }

    .deco-smart-success {
        gap: 9px;
        margin-bottom: 8px;
        padding-right: 38px;
    }

    .deco-smart-check {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        font-size: 29px;
    }

    .deco-smart-success > div:last-child {
        font-size: clamp(19px, 1.9vw, 27px);
        line-height: 0.98;
    }

    .deco-smart-added-product {
        grid-template-columns: 78px 1fr 128px;
        gap: 10px;
        padding: 8px 10px;
    }

    .deco-smart-added-product img {
        height: 62px;
    }

    .deco-smart-added-name {
        font-size: 18px;
        line-height: 1.08;
    }

    .deco-smart-added-name span {
        margin-top: 3px;
        font-size: 12px;
    }

    .deco-smart-added-name b {
        margin-top: 4px;
        padding: 2px 8px;
        font-size: 13px;
    }

    .deco-smart-coverage span {
        font-size: 12px;
    }

    .deco-smart-coverage strong {
        font-size: 24px;
    }

    .deco-smart-coverage small {
        font-size: 10px;
    }

    .deco-smart-heading {
        margin: 9px 0 6px;
    }

    .deco-smart-heading strong {
        font-size: 17px;
    }

    .deco-smart-heading span {
        font-size: 12px;
    }

    .deco-smart-grid {
        gap: 8px;
    }

    .deco-smart-card {
        padding: 7px;
        border-radius: 6px;
    }

    .deco-smart-card img {
        height: 82px;
    }

    .deco-smart-card h3 {
        margin: 4px 0 1px;
        font-size: 14px;
        line-height: 1.08;
    }

    .deco-smart-card-subtitle {
        margin-bottom: 4px !important;
        font-size: 10px !important;
        line-height: 1.1;
    }

    .deco-smart-recommendation {
        min-height: 42px;
        padding: 5px 6px;
        font-size: 13px;
        line-height: 1.12;
    }

    .deco-smart-recommendation strong {
        font-size: 13px;
    }

    .deco-smart-recommendation span {
        font-size: 10px;
    }

    .deco-smart-price {
        min-height: 17px;
        margin: 4px 0;
        font-size: 13px;
    }

    .deco-smart-primary,
    .deco-smart-secondary {
        padding: 6px 7px;
        font-size: 12px;
        line-height: 1.1;
    }

    .deco-smart-secondary {
        margin-top: 4px;
    }

    .deco-smart-card small {
        margin-top: 3px;
        font-size: 9px;
    }

    .deco-smart-actions {
        gap: 7px;
        margin-top: 8px;
    }

    .deco-smart-actions a {
        padding: 7px 8px;
        font-size: 12px;
        line-height: 1.1;
    }
}

@media (min-width: 1200px) and (min-height: 800px) {
    .deco-cart-success-dialog.deco-smart-dialog {
        width: min(900px, 86vw);
        max-height: 82vh;
    }
}


/* v1.2.4 unit-price wording and card alignment */
.deco-smart-card {
    height: 100%;
}

.deco-smart-card h3 {
    min-height: 2.2em;
}

.deco-smart-card-subtitle {
    min-height: 1.2em;
}

.deco-smart-recommendation {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.deco-smart-price {
    margin-top: auto;
}

.deco-smart-primary,
.deco-smart-secondary {
    flex: 0 0 auto;
}

.deco-smart-unit {
    font-size: 0.78em;
    font-weight: 600;
    white-space: nowrap;
}

.deco-smart-price-line {
    display: block;
    line-height: 1.25;
}

.deco-smart-recommendation span {
    display: block;
}

@media (min-width: 761px) {
    .deco-smart-grid {
        align-items: stretch;
    }

    .deco-smart-card {
        display: flex;
        flex-direction: column;
    }

    .deco-smart-card img {
        flex: 0 0 auto;
    }

    .deco-smart-recommendation {
        min-height: 50px;
    }

    .deco-smart-price {
        min-height: 34px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .deco-smart-primary {
        margin-top: 0;
    }
}


/* v1.2.5 action-row separation and border cleanup */
.deco-smart-grid {
    margin-bottom: 12px;
}

.deco-smart-actions {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding-top: 8px;
    border-top: 1px solid #e4e4e4;
    background: #fff;
}

.deco-smart-card {
    overflow: hidden;
}

.deco-smart-price {
    min-height: 42px;
}

.deco-smart-price-line {
    display: block;
    line-height: 1.18;
}

@media (min-width: 761px) {
    .deco-smart-grid {
        margin-bottom: 10px;
    }

    .deco-smart-actions {
        padding-top: 7px;
    }
}


/* v1.2.6 price positioning, unit labels and button alignment */
.deco-smart-unit {
    display: inline !important;
    font-size: 0.82em !important;
    font-weight: 700 !important;
    white-space: normal !important;
    color: #333 !important;
}

.deco-smart-price-line {
    display: block !important;
    line-height: 1.25 !important;
}

.deco-smart-price {
    margin: 6px 0 7px !important;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

@media (min-width: 761px) {
    .deco-smart-card {
        display: grid !important;
        grid-template-rows:
            82px
            minmax(2.25em, auto)
            minmax(1.2em, auto)
            minmax(50px, auto)
            auto
            auto
            auto
            auto;
        align-content: start;
        height: 100%;
    }

    .deco-smart-card img {
        align-self: center;
        justify-self: center;
    }

    .deco-smart-card h3,
    .deco-smart-card-subtitle,
    .deco-smart-recommendation,
    .deco-smart-price,
    .deco-smart-primary,
    .deco-smart-secondary,
    .deco-smart-card small {
        margin-left: 0;
        margin-right: 0;
    }

    .deco-smart-recommendation {
        margin-bottom: 0 !important;
    }

    .deco-smart-primary {
        margin-top: 0 !important;
    }

    .deco-smart-secondary {
        margin-top: 4px !important;
    }
}


/* v1.2.7 move prices into the product heading area */
.deco-smart-card-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 10px;
    margin: 5px 0 7px;
}

.deco-smart-card-copy {
    min-width: 0;
}

.deco-smart-card-heading h3 {
    min-height: 0;
    margin: 0 0 2px;
}

.deco-smart-card-heading .deco-smart-card-subtitle {
    min-height: 0;
    margin: 0 !important;
}

.deco-smart-card-heading .deco-smart-price {
    align-self: start;
    min-width: max-content !important;
    max-width: 145px;
    margin: 0 !important;
    padding: 1px 0 0 8px;
    color: #f3212b !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    text-align: right;
}

.deco-smart-card-heading .deco-smart-price .amount,
.deco-smart-card-heading .deco-smart-price bdi,
.deco-smart-card-heading .deco-smart-price span,
.deco-smart-card-heading .deco-smart-price strong {
    color: #f3212b !important;
}

.deco-smart-card-heading .deco-smart-unit {
    display: block !important;
    margin-top: 1px;
    color: #f3212b !important;
    font-size: 0.62em !important;
    line-height: 1.05 !important;
    text-align: right;
}

.deco-smart-card-heading .deco-smart-price-line {
    margin-bottom: 2px;
}

@media (min-width: 761px) {
    .deco-smart-card {
        display: grid !important;
        grid-template-rows: 82px auto minmax(50px, auto) auto auto auto !important;
    }
}

@media (max-width: 760px) {
    .deco-smart-card-heading {
        gap: 8px;
    }

    .deco-smart-card-heading .deco-smart-price {
        max-width: 125px;
        font-size: 16px !important;
    }
}

/* v1.2.8 balanced media rows and alternative recommendations */
.deco-smart-card-media {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 145px;
    margin-bottom: 10px;
}

.deco-smart-card-media > img {
    width: 132px !important;
    height: 132px !important;
    object-fit: contain;
    align-self: center;
    justify-self: center;
}

.deco-smart-card-media .deco-smart-card-heading {
    display: flex;
    min-width: 0;
    height: 100%;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.deco-smart-card-media .deco-smart-price {
    align-self: flex-start;
    min-width: 0 !important;
    max-width: none;
    padding: 0;
    text-align: left;
}

.deco-smart-card-media .deco-smart-unit {
    text-align: left;
}

.deco-smart-rec-line {
    display: block !important;
    font-size: inherit !important;
    line-height: 1.25;
}

.deco-smart-rec-note {
    font-size: 0.88em !important;
}

.deco-smart-rec-line em {
    color: #555;
    font-size: 0.82em;
    font-style: normal;
    white-space: nowrap;
}

.deco-smart-recommendation {
    min-height: 74px !important;
    justify-content: center;
}

@media (min-width: 761px) {
    .deco-smart-card {
        display: flex !important;
        flex-direction: column;
    }

    .deco-smart-card-media {
        flex: 0 0 auto;
    }

    .deco-smart-recommendation {
        flex: 0 0 auto;
    }

    .deco-smart-primary {
        margin-top: auto !important;
    }
}

@media (max-width: 1050px) and (min-width: 761px) {
    .deco-smart-card-media {
        grid-template-columns: 104px minmax(0, 1fr);
        gap: 10px;
        min-height: 116px;
    }

    .deco-smart-card-media > img {
        width: 104px !important;
        height: 104px !important;
    }
}

@media (max-width: 760px) {
    .deco-smart-card-media {
        grid-template-columns: 105px minmax(0, 1fr);
        gap: 12px;
        min-height: 115px;
    }

    .deco-smart-card-media > img {
        width: 105px !important;
        height: 105px !important;
    }

    .deco-smart-recommendation {
        min-height: 0 !important;
    }
}


/* v1.2.9 recommendation guide and corrected Glue Devil conversion */
.deco-smart-guide {
    color: #f3212b;
    font-style: normal;
    font-weight: 700;
}

.deco-smart-rec-line em {
    white-space: nowrap;
}

/* Cart page: Clear Cart button */
.woocommerce-cart .deco-clear-cart-button,
.woocommerce-cart button.deco-clear-cart-button:disabled {
    opacity: 1 !important;
    cursor: pointer !important;
    background: #f3212b !important;
    border-color: #f3212b !important;
    color: #fff !important;
}

.woocommerce-cart .deco-clear-cart-button:hover,
.woocommerce-cart .deco-clear-cart-button:focus {
    background: #d91821 !important;
    border-color: #d91821 !important;
    color: #fff !important;
}

.woocommerce-cart .deco-clear-cart-button.is-loading {
    opacity: 0.65 !important;
    cursor: wait !important;
}


/* v1.3.4 Android/mobile modal opening position */
@media (max-width: 760px) {
    .deco-cart-success-backdrop {
        align-items: flex-start;
        overflow-y: auto;
        padding: 8px 0;
        overscroll-behavior: contain;
    }

    .deco-cart-success-dialog.deco-smart-dialog {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
        margin: 0 auto;
        scroll-behavior: auto;
        overscroll-behavior: contain;
    }
}


/* Fallback styling for the mobile Shop submenu enhancement. */
@media (max-width: 1024px) {
    .deco-shop-menu-open > .deco-shop-submenu-open {
        display: block !important;
        max-height: none !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* v1.3.6 WPC wall-panel recommendation popup */
.deco-wpc-grid {
    grid-template-columns: minmax(280px, 430px);
    justify-content: center;
}

@media (min-width: 761px) {
    .deco-wpc-dialog {
        width: min(720px, 90vw) !important;
    }

    .deco-wpc-grid .deco-smart-card img {
        height: 120px;
    }
}

@media (max-width: 760px) {
    .deco-wpc-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.3.8 Climate Board recommendation popup */
.deco-climate-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.deco-climate-grid .deco-smart-card:last-child .deco-smart-recommendation {
    background: #eef3f6;
    border-color: #c7d2d9;
    color: #33434d;
}

@media (max-width: 900px) {
    .deco-climate-grid {
        grid-template-columns: 1fr;
    }
}


/* v1.4.0 Wallpaper recommendation popup */
.deco-wallpaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 761px) {
    .deco-wallpaper-dialog {
        width: min(820px, 90vw) !important;
    }
}

@media (max-width: 760px) {
    .deco-wallpaper-grid {
        grid-template-columns: 1fr;
    }
}

/* Cornice recommendation uses one focused adhesive card. */
.deco-cornice-grid {
    grid-template-columns: minmax(320px, 540px);
    justify-content: center;
}


/* Cornice adhesive alternatives shown beneath the primary recommendation. */
.deco-cornice-dialog .deco-smart-rec-separator {
    display: block;
    border-top: 1px solid rgba(47, 143, 35, 0.22);
    margin: 9px 0 7px;
}

.deco-cornice-dialog .deco-smart-rec-note strong {
    color: #2f8f23;
}

/* Skirting recommendation cards */
.deco-skirting-grid{grid-template-columns:repeat(2,minmax(0,1fr));max-width:900px;margin-left:auto;margin-right:auto}.deco-skirting-grid-supawood{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center}.deco-skirting-free-card .deco-smart-recommendation{background:#eef6fb;border-color:#b7cfdd}.deco-skirting-free-card .deco-smart-recommendation>strong{color:#2e8b2d}.deco-free-price{display:block;color:#2e9627;font-weight:800;font-size:24px;line-height:1.05}.deco-smart-included{display:flex;align-items:center;justify-content:center;min-height:34px;padding:8px 12px;background:#2e9627;color:#fff;font-weight:800;border-radius:5px;text-align:center}@media(max-width:800px){.deco-skirting-grid,.deco-skirting-grid-supawood{grid-template-columns:1fr;max-width:none}}

/* v1.4.5: keep PVC skirting adhesive and free-clip cards aligned. */
.deco-skirting-grid-pvc .deco-smart-card {
    height: 100%;
}
.deco-skirting-grid-pvc .deco-smart-recommendation {
    flex: 1 1 auto;
}
.deco-skirting-grid-pvc .deco-smart-primary,
.deco-skirting-grid-pvc .deco-smart-included {
    margin-top: auto;
}
.deco-smart-inline-note {
    display: inline !important;
    color: #666;
    font-size: 13px !important;
}

/* v1.4.7: centre the single recommendation card for dado rails and ceiling roses. */
.deco-dado-grid,
.deco-ceiling-rose-grid {
    grid-template-columns: minmax(320px, 540px);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 760px) {
    .deco-dado-grid,
    .deco-ceiling-rose-grid {
        grid-template-columns: 1fr;
    }
}

/* v1.4.8: use the focused single-card popup width for dado rails and ceiling roses. */
@media (min-width: 761px) {
    .deco-dado-dialog,
    .deco-ceiling-rose-dialog {
        width: min(720px, 90vw) !important;
    }

    .deco-dado-grid,
    .deco-ceiling-rose-grid {
        grid-template-columns: minmax(0, 540px);
        max-width: 540px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

/* v1.4.9: final true single-column layout for dado rails and ceiling roses. */
@media (min-width: 761px) {
    .deco-dado-dialog,
    .deco-ceiling-rose-dialog {
        width: min(720px, 90vw) !important;
    }

    .deco-dado-grid,
    .deco-ceiling-rose-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 430px) !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: none !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .deco-dado-grid .deco-smart-card,
    .deco-ceiling-rose-grid .deco-smart-card {
        width: 100% !important;
        max-width: 430px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* v1.5.4: Supawood skirting now shows adhesive and wood stain as two aligned recommendations. */
.deco-skirting-grid-supawood .deco-smart-card{height:100%}
.deco-skirting-grid-supawood .deco-smart-recommendation{flex:1 1 auto}
.deco-skirting-grid-supawood .deco-smart-primary{margin-top:auto}

/* v1.5.5: Supawood stain recommendations and professional staining service. */
.deco-smart-service-title strong{color:#2f8f23}
.deco-dado-grid-supawood{grid-template-columns:repeat(2,minmax(0,1fr)) !important;max-width:900px !important;gap:18px !important}
.deco-dado-grid-supawood .deco-smart-card{width:100% !important;max-width:none !important;height:100%}
.deco-dado-grid-supawood .deco-smart-recommendation{flex:1 1 auto}
.deco-dado-grid-supawood .deco-smart-primary{margin-top:auto}
@media (min-width:761px){.deco-dado-dialog-supawood{width:min(980px,94vw) !important}}
@media (max-width:800px){.deco-dado-grid-supawood{grid-template-columns:1fr !important;max-width:none !important}}
.deco-pvc-original-form-hidden {
    display: none !important;
}

.deco-pvc-length-chooser {
    max-width: 540px;
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    background: #fff;
}

.deco-pvc-length-chooser h3,
.deco-pvc-length-chooser p {
    margin: 0 0 8px;
}

.deco-pvc-length-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0;
    border-top: 1px solid #ededed;
}

.deco-pvc-length-name strong,
.deco-pvc-length-name span {
    display: block;
}

.deco-pvc-length-name strong {
    font-size: 18px;
}

.deco-pvc-length-name span {
    margin-top: 4px;
    color: #ef2029;
    font-weight: 700;
}

.deco-pvc-stepper {
    display: grid;
    grid-template-columns: 42px 48px 42px;
    border: 1px solid #d5d5d5;
}

.deco-pvc-stepper button,
.deco-pvc-stepper input {
    height: 42px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #222;
    text-align: center;
    font-weight: 700;
}

.deco-pvc-stepper button {
    cursor: pointer;
    font-size: 20px;
}

.deco-pvc-stepper input {
    width: 48px;
    padding: 0;
    appearance: textfield;
}

.deco-pvc-add-selected {
    width: 100%;
    min-height: 50px;
    margin-top: 8px !important;
    background: #ef2029 !important;
    color: #fff !important;
    font-weight: 800 !important;
}

.deco-pvc-add-selected:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.deco-pvc-add-error {
    margin-top: 8px;
    color: #b00020;
    font-weight: 700;
}

.deco-pvc-simple-dialog {
    width: min(760px, calc(100vw - 28px));
    max-width: 760px;
    padding: 22px;
}

.deco-pvc-order-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #54a62f;
    border-radius: 8px;
}

.deco-pvc-order-summary img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}

.deco-pvc-order-summary span {
    display: block;
    margin-top: 3px;
}

.deco-pvc-screw-heading {
    margin: 18px 0 10px;
}

.deco-pvc-screw-heading strong,
.deco-pvc-screw-heading span {
    display: block;
}

.deco-pvc-screw-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.deco-pvc-screw-option {
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    transition: opacity .2s ease, background .2s ease;
}

.deco-pvc-screw-option img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.deco-pvc-screw-copy strong,
.deco-pvc-screw-copy span,
.deco-pvc-screw-copy small {
    display: block;
}

.deco-pvc-screw-copy span {
    margin-top: 6px;
    color: #ef2029;
    font-size: 18px;
    font-weight: 800;
}

.deco-pvc-screw-copy small {
    margin-top: 2px;
    color: #555;
    font-size: 12px;
}

.deco-pvc-add-screws {
    min-width: 76px;
    padding: 11px 13px;
    border: 0;
    border-radius: 4px;
    background: #ef2029;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.deco-pvc-screw-option.is-added {
    border-color: #46a529;
    background: #f0f8ec;
}

.deco-pvc-screw-option.is-added .deco-pvc-add-screws {
    background: #46a529;
}

.deco-pvc-screw-option.is-disabled {
    opacity: .42;
    background: #eee;
}

.deco-pvc-simple-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.deco-pvc-simple-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px;
    border: 1px solid #aaa;
    color: #222;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.deco-pvc-simple-actions .deco-smart-checkout {
    border-color: #ef2029;
    background: #ef2029;
    color: #fff;
}

@media (max-width: 700px) {
    .deco-pvc-screw-options,
    .deco-pvc-simple-actions {
        grid-template-columns: 1fr;
    }

    .deco-pvc-screw-option {
        grid-template-columns: 72px 1fr;
    }

    .deco-pvc-screw-option img {
        width: 72px;
        height: 72px;
    }

    .deco-pvc-add-screws {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* v1.10.0: compact bulk-discount purchase flow for selected DC cornices only. */
.deco-cornice-theme-detail-hidden,
.deco-cornice-original-quantity-hidden {
    display: none !important;
}

form.cart.deco-discount-cornice-cart {
    display: block !important;
    width: 100%;
    max-width: 740px;
    margin-top: 8px !important;
}

.deco-cornice-purchase {
    display: grid;
    grid-template-columns: minmax(280px, 1.2fr) minmax(170px, .8fr);
    gap: 10px 14px;
    width: 100%;
}

.deco-cornice-purchase.deco-sl-cornice-purchase {
    grid-template-columns: 1fr;
}

.deco-sl-sale-price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px 22px;
}

.deco-sl-sale-price .deco-sl-was {
    color: #ef2029;
    font-weight: 800;
}

.deco-sl-sale-price .deco-sl-now {
    color: #299519;
    font-weight: 800;
}

.deco-sl-sale-price del {
    color: #ef2029;
    opacity: .72;
}

.deco-sl-cornice-purchase .deco-cornice-price-calculation {
    margin-top: 2px;
}

.deco-discount-cornice-summary form.cart.deco-discount-cornice-cart {
    margin-top: 6px !important;
}

.deco-cornice-purchase h3 {
    margin: 0 0 5px !important;
    font-size: 20px !important;
    line-height: 1.2 !important;
}

.deco-cornice-quantity-row {
    display: grid;
    grid-template-columns: minmax(110px, 1fr) 126px;
    gap: 8px;
    align-items: center;
    min-height: 46px;
    padding: 4px 0;
    border-bottom: 1px solid #e6e6e6;
}

.deco-cornice-quantity-row strong,
.deco-cornice-quantity-row small {
    display: block;
}

.deco-cornice-quantity-row small {
    color: #666;
    font-size: 12px;
}

.deco-cornice-stepper {
    display: grid;
    grid-template-columns: 39px 48px 39px;
    height: 39px;
}

.deco-cornice-stepper button,
.deco-cornice-stepper input {
    width: 100% !important;
    min-width: 0 !important;
    height: 39px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
    text-align: center;
    font-weight: 800;
}

.deco-cornice-stepper button {
    border: 0 !important;
    background: #ef2029 !important;
    color: #fff !important;
}

.deco-cornice-stepper input {
    border: 1px solid #ddd !important;
    background: #fff !important;
    color: #333 !important;
}

.deco-cornice-totals {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 8px;
}

.deco-cornice-totals > div {
    padding: 7px;
    border: 1px solid #ddd;
    background: #fafafa;
    text-align: center;
}

.deco-cornice-totals span,
.deco-cornice-totals b {
    display: block;
}

.deco-cornice-totals span { color: #666; font-size: 12px; }
.deco-cornice-totals b { color: #ef2029; font-size: 18px; }

.deco-cornice-discounts {
    padding-left: 13px;
    border-left: 1px solid #ddd;
}

.deco-cornice-tier {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px;
    padding: 5px 6px;
    border-bottom: 1px solid #e6e6e6;
    font-size: 14px;
}

.deco-cornice-tier.is-active {
    background: #edf8e9;
    color: #33951f;
    font-weight: 800;
}

.deco-cornice-discount-message {
    display: block;
    margin-top: 6px;
    color: #33951f;
    font-size: 13px;
    text-align: center;
}

.deco-cornice-price-calculation {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1.15fr;
    gap: 7px;
    align-items: center;
    padding: 9px;
    border: 1px solid #ddd;
    background: #fafafa;
    text-align: center;
}

.deco-cornice-price-calculation span,
.deco-cornice-price-calculation b {
    display: block;
}

.deco-cornice-price-calculation span { color: #666; font-size: 12px; }
.deco-cornice-price-calculation b { font-size: 15px; }
.deco-cornice-price-calculation > div:last-child b { color: #33951f; font-size: 18px; }
.deco-cornice-price-calculation i { font-style: normal; font-weight: 800; }

.deco-cornice-qualified-discount {
    display: block;
    margin-top: 5px;
    color: #299519;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}

form.cart.deco-discount-cornice-cart .single_add_to_cart_button {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-height: 46px;
    margin: 9px 0 0 !important;
    background: #ef2029 !important;
    color: #fff !important;
}

.deco-cart-success-dialog.deco-smart-dialog.deco-cornice-simple-dialog {
    width: min(1040px, 96vw) !important;
    max-width: 1040px !important;
    padding: 24px !important;
    text-align: left !important;
}
.deco-cornice-order-summary {
    display: grid;
    grid-template-columns: 105px 1fr 145px;
    gap: 15px;
    align-items: center;
    padding: 14px;
    border: 1px solid #46a529;
    border-radius: 8px;
}
.deco-cornice-order-summary img { width: 90px; height: 90px; object-fit: cover; }
.deco-cornice-order-summary strong,
.deco-cornice-order-summary span,
.deco-cornice-order-summary b,
.deco-cornice-order-summary small { display: block; }
.deco-cornice-order-summary b { color: #33951f; font-size: 26px; text-align: center; }
.deco-cornice-order-summary small { text-align: center; }
.deco-cornice-accessory-heading { margin: 18px 0 10px; text-align: center; }
.deco-cornice-accessory-heading strong,
.deco-cornice-accessory-heading span { display: block; }
.deco-cornice-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deco-cornice-option {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.deco-cornice-option img { width: 86px; height: 86px; object-fit: contain; }
.deco-cornice-option-copy strong,
.deco-cornice-option-copy span,
.deco-cornice-option-copy small,
.deco-cornice-option-copy em { display: block; }
.deco-cornice-option-copy span { color: #ef2029; font-size: 24px; font-weight: 800; }
.deco-cornice-option-copy small { color: #555; font-weight: 700; }
.deco-cornice-option-copy em { margin-top: 12px; color: #666; font-style: normal; }
.deco-cornice-add-adhesive {
    grid-column: auto;
    position: static !important;
    float: none !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    min-width: 76px !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    transform: none !important;
    background: #ef2029 !important;
    color: #fff !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}
.deco-cornice-option.is-added { border-color: #46a529; background: #f0f8ec; }
.deco-cornice-option.is-added .deco-cornice-add-adhesive { background: #46a529 !important; }
.deco-cornice-option.is-disabled { opacity: .42; background: #eee; }

@media (max-width: 700px) {
    .deco-cornice-purchase { grid-template-columns: minmax(250px, 1.15fr) minmax(145px, .85fr); gap: 8px; }
    .deco-cornice-quantity-row { grid-template-columns: 1fr 118px; }
    .deco-cornice-stepper { grid-template-columns: 36px 46px 36px; }
    .deco-cornice-options { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .deco-cornice-purchase { grid-template-columns: 1fr; }
    .deco-cornice-discounts { padding: 8px 0 0; border-left: 0; border-top: 1px solid #ddd; }
    .deco-cornice-price-calculation { grid-template-columns: 1fr; gap: 3px; }
    .deco-cornice-price-calculation > i { display: none; }
    .deco-cornice-order-summary { grid-template-columns: 74px 1fr; }
    .deco-cornice-order-summary img { width: 70px; height: 70px; }
    .deco-cornice-order-summary > div:last-child { grid-column: 1 / -1; }
    .deco-cornice-option { grid-template-columns: 88px 1fr; }
    .deco-cornice-option img { width: 88px; height: 88px; }
    .deco-cornice-add-adhesive { grid-column: 1 / -1; width: 100% !important; }
}

/* Wallpaper product page and simplified accessory popup (v1.9.0). */
.deco-wallpaper-product-price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
}

.deco-wallpaper-was {
    color: #ef2029;
    font-weight: 700;
}

.deco-wallpaper-was del {
    color: #ef2029;
    opacity: 1;
}

.deco-wallpaper-now {
    color: #279b25;
    font-weight: 900;
}

form.cart.deco-wallpaper-cart {
    display: block !important;
}

form.cart.deco-wallpaper-cart .deco-wallpaper-original-quantity-hidden {
    display: none !important;
}

.deco-wallpaper-purchase-controls,
.deco-wallpaper-stepper,
form.cart.deco-wallpaper-cart .single_add_to_cart_button {
    width: 150px !important;
    max-width: 150px !important;
    box-sizing: border-box !important;
}

.deco-wallpaper-purchase-controls {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0;
}

.deco-wallpaper-stepper {
    display: grid;
    grid-template-columns: 48px 54px 48px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #d4d4d4;
    border-radius: 3px;
    background: #fff;
}

.deco-wallpaper-stepper button,
.deco-wallpaper-stepper input {
    width: 100% !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 20px;
    line-height: 46px;
}

.deco-wallpaper-stepper button {
    display: block !important;
    visibility: visible !important;
    background: #ef2029 !important;
    color: #fff !important;
    cursor: pointer;
    font-weight: 800;
}

.deco-wallpaper-stepper input {
    appearance: textfield;
    background: #fff !important;
    color: #333 !important;
    font-weight: 700;
}

.deco-wallpaper-stepper input::-webkit-inner-spin-button,
.deco-wallpaper-stepper input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

form.cart.deco-wallpaper-cart .single_add_to_cart_button {
    display: block !important;
    min-height: 46px;
    margin: 0 !important;
    padding: 9px 5px !important;
    border: 0 !important;
    border-radius: 3px;
    background: #ef2029 !important;
    color: #fff !important;
    white-space: nowrap;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 28px !important;
    text-align: center;
}

.deco-wallpaper-simple-dialog {
    width: min(920px, calc(100vw - 28px));
    max-width: 920px;
    padding: 22px;
}

.deco-wallpaper-order-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #54a62f;
    border-radius: 8px;
}

.deco-wallpaper-order-summary img {
    width: 82px;
    height: 82px;
    object-fit: cover;
}

.deco-wallpaper-order-summary strong,
.deco-wallpaper-order-summary span {
    display: block;
}

.deco-wallpaper-order-summary span {
    margin-top: 6px;
    color: #279b25;
    font-weight: 800;
}

.deco-wallpaper-accessory-heading {
    margin: 18px 0 10px;
    text-align: center;
}

.deco-wallpaper-accessory-heading strong,
.deco-wallpaper-accessory-heading span {
    display: block;
}

.deco-wallpaper-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.deco-wallpaper-option {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    box-sizing: border-box;
}

.deco-wallpaper-option img {
    width: 105px;
    height: 105px;
    object-fit: contain;
}

.deco-wallpaper-option-copy {
    min-width: 0;
}

.deco-wallpaper-option-copy strong,
.deco-wallpaper-option-copy span,
.deco-wallpaper-option-copy small,
.deco-wallpaper-option-copy em {
    display: block;
}

.deco-wallpaper-option-copy span {
    margin-top: 6px;
    color: #ef2029;
    font-size: 20px;
    font-weight: 900;
}

.deco-wallpaper-option-copy small {
    color: #555;
    font-weight: 700;
}

.deco-wallpaper-option-copy em {
    margin-top: 7px;
    color: #666;
    font-size: 12px;
    font-style: normal;
}

.deco-wallpaper-add-accessory {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin: 0 !important;
    border: 0;
    border-radius: 4px;
    background: #ef2029;
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.deco-wallpaper-option.is-added {
    border-color: #46a529;
    background: #f0f8ec;
}

.deco-wallpaper-option.is-added .deco-wallpaper-add-accessory {
    background: #46a529;
}

.deco-wallpaper-simple-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.deco-wallpaper-simple-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px;
    border: 1px solid #aaa;
    color: #222;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.deco-wallpaper-simple-actions .deco-smart-checkout {
    border-color: #ef2029;
    background: #ef2029;
    color: #fff;
}

@media (max-width: 700px) {
    .deco-wallpaper-options,
    .deco-wallpaper-simple-actions {
        grid-template-columns: 1fr;
    }

    .deco-wallpaper-option {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .deco-wallpaper-option img {
        width: 82px;
        height: 82px;
    }
}

/* v1.8.5 — Climate Board stable price and material cleanup */
.deco-climate-original-form-hidden {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.deco-climate-length-chooser {
    box-sizing: border-box;
    width: max-content;
    max-width: 760px;
    margin: 10px 0 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.deco-climate-length-chooser h3 {
    margin: 0 0 7px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 700;
}

.deco-climate-product-price {
    margin: 0 0 8px !important;
    color: #ef2029 !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
}

.deco-climate-length-grid {
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, max-content);
    grid-template-rows: none;
    gap: 5px 10px;
    justify-content: start;
}

.deco-climate-length-row {
    display: grid;
    grid-template-columns: 58px 78px;
    align-items: center;
    gap: 4px;
    min-width: 0;
    width: max-content;
    padding: 5px;
    border: 1px solid #e2e4e7;
    border-radius: 7px;
    background: #fafafa;
}

.deco-climate-length-name {
    min-width: 0;
}

.deco-climate-length-name strong,
.deco-climate-length-name span {
    display: block;
}

.deco-climate-length-name strong {
    color: #222;
    font-size: 12px;
    line-height: 1.05;
}

.deco-climate-length-name span {
    margin-top: 3px;
    color: #ef2029;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.05;
    white-space: nowrap;
}

.deco-climate-stepper {
    display: grid;
    grid-template-columns: 25px 28px 25px;
    width: 78px;
    overflow: hidden;
    border: 1px solid #ccd0d4;
    border-radius: 6px;
    background: #fff;
}

.deco-climate-stepper button,
.deco-climate-stepper input {
    box-sizing: border-box;
    width: 100%;
    height: 30px;
    min-height: 30px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #222;
    text-align: center;
    line-height: 30px;
}

.deco-climate-stepper button {
    cursor: pointer;
    font-size: 16px;
}

.deco-climate-stepper input {
    border-right: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    box-shadow: none;
    font-size: 13px;
    font-weight: 700;
    -moz-appearance: textfield;
}

.deco-climate-stepper input::-webkit-outer-spin-button,
.deco-climate-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.deco-climate-add-selected {
    width: 100%;
    min-height: 38px;
    margin: 7px 0 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #ef2029 !important;
    color: #fff !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

.deco-climate-add-selected:disabled {
    cursor: not-allowed;
    opacity: .48;
}

.deco-climate-add-error {
    min-height: 20px;
    margin-top: 7px;
    color: #c71920;
    font-size: 14px;
    font-weight: 700;
}

.deco-climate-simple-dialog {
    width: min(760px, calc(100vw - 28px));
    max-width: 760px;
    padding: 22px;
}

.deco-climate-clip-heading {
    margin: 18px 0 10px;
    text-align: center;
}

.deco-climate-clip-heading strong,
.deco-climate-clip-heading span {
    display: block;
}

.deco-climate-clip-option {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 16px;
    padding: 14px;
    border: 1px solid #dedede;
    border-radius: 8px;
    transition: background .2s ease, border-color .2s ease;
}

.deco-climate-clip-option img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.deco-climate-clip-copy strong,
.deco-climate-clip-copy span,
.deco-climate-clip-copy small,
.deco-climate-clip-copy em {
    display: block;
}

.deco-climate-clip-copy span {
    margin-top: 6px;
    color: #ef2029;
    font-size: 21px;
    font-weight: 800;
}

.deco-climate-clip-copy small {
    margin-top: 3px;
    color: #555;
    font-weight: 700;
}

.deco-climate-clip-copy em {
    margin-top: 8px;
    color: #666;
    font-size: 12px;
    font-style: normal;
}

.deco-climate-add-clips {
    min-height: 48px;
    border: 0;
    border-radius: 5px;
    background: #ef2029;
    color: #fff;
    cursor: pointer;
    font-size: 17px;
    font-weight: 800;
}

.deco-climate-clip-option.is-added {
    border-color: #46a529;
    background: #f0f8ec;
}

.deco-climate-clip-option.is-added .deco-climate-add-clips {
    background: #46a529;
}

.deco-climate-clip-unavailable {
    padding: 18px;
    border: 1px solid #efc2c4;
    border-radius: 7px;
    color: #b01920;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 700px) {
    .deco-climate-length-chooser {
        width: 100%;
        max-width: none;
    }

    .deco-climate-length-grid {
        grid-auto-flow: row;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-rows: none;
        gap: 5px;
        justify-content: stretch;
    }

    .deco-climate-length-row {
        display: grid;
        grid-template-columns: minmax(35px, .8fr) minmax(66px, 1.55fr);
        align-items: center;
        gap: 3px;
        width: auto;
        padding: 4px;
    }

    .deco-climate-length-name {
        display: block;
    }

    .deco-climate-length-name strong,
    .deco-climate-length-name span {
        display: block;
        white-space: nowrap;
        font-size: 11px;
        line-height: 1.05;
    }

    .deco-climate-length-name span {
        margin-top: 3px;
        font-weight: 900;
    }

    .deco-climate-stepper {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .deco-climate-stepper button,
    .deco-climate-stepper input {
        height: 30px;
        min-height: 30px;
        line-height: 30px;
    }

    .deco-climate-clip-option {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .deco-climate-clip-option img {
        width: 82px;
        height: 82px;
    }

    .deco-climate-add-clips {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* v1.6.1 — compact PVC length selector */
.deco-pvc-length-chooser {
    box-sizing: border-box;
    width: 100%;
    max-width: 610px;
    margin: 18px 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: Arial, Helvetica, sans-serif;
}

.deco-pvc-length-chooser h3 {
    margin: 0 0 8px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.deco-pvc-length-row {
    box-sizing: border-box;
    min-height: 82px;
    padding: 12px 0;
    border-top: 1px solid #e4e4e4;
}

.deco-pvc-length-row:first-of-type {
    border-top: 0;
}

.deco-pvc-length-name {
    min-width: 0;
}

.deco-pvc-length-name > strong {
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.deco-pvc-row-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 18px;
    margin-top: 6px;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.deco-pvc-row-price .deco-pvc-was,
.deco-pvc-row-price .deco-pvc-now {
    display: inline-block;
    margin: 0;
}

.deco-pvc-row-price .deco-pvc-was {
    color: #e5262f;
}

.deco-pvc-row-price .deco-pvc-was del {
    color: inherit;
    opacity: 1;
}

.deco-pvc-row-price .deco-pvc-now {
    color: #18963b;
}

.deco-pvc-stepper {
    flex: 0 0 auto;
    grid-template-columns: 42px 48px 42px;
    overflow: hidden;
    border: 1px solid #ccd0d4;
    border-radius: 7px;
    background: #fff;
}

.deco-pvc-stepper button,
.deco-pvc-stepper input {
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: #fff;
    color: #222;
    line-height: 44px;
}

.deco-pvc-stepper button {
    border-radius: 0;
    font-size: 22px;
    font-weight: 400;
}

.deco-pvc-stepper input {
    display: block !important;
    box-sizing: border-box !important;
    width: 48px !important;
    min-width: 48px !important;
    max-width: 48px !important;
    border-right: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    box-shadow: none;
    font-size: 16px;
    padding-right: 0 !important;
    padding-left: 0 !important;
    text-align: center !important;
    text-indent: 0 !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.deco-pvc-stepper input::-webkit-outer-spin-button,
.deco-pvc-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.deco-pvc-add-selected {
    min-height: 50px;
    margin: 8px 0 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    box-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
}

@media (max-width: 520px) {
    .deco-pvc-length-chooser h3 {
        font-size: 19px;
    }

    .deco-pvc-length-row {
        gap: 10px;
    }

    .deco-pvc-row-price {
        display: block;
        white-space: normal;
        font-size: 13px;
    }

    .deco-pvc-row-price span + span {
        margin-top: 3px;
    }

    .deco-pvc-stepper {
        grid-template-columns: 38px 42px 38px;
    }

    .deco-pvc-stepper input {
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
    }
}

/* v1.7.0 — simplified Wall Panel purchase flow */
.deco-wpc-product-price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 18px;
    font-family: Arial, Helvetica, sans-serif;
    white-space: nowrap;
}

.deco-wpc-product-price .deco-wpc-was {
    color: #e5262f !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.deco-wpc-product-price .deco-wpc-was del {
    color: inherit;
    opacity: 1;
}

.deco-wpc-product-price .deco-wpc-now {
    color: #18963b !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.deco-wpc-product-price .deco-wpc-was *,
.deco-wpc-product-price .deco-wpc-was .amount {
    color: #e5262f !important;
}

.deco-wpc-product-price .deco-wpc-now *,
.deco-wpc-product-price .deco-wpc-now .amount {
    color: #18963b !important;
}

form.cart.deco-wall-panel-cart {
    display: block !important;
    width: 100%;
    max-width: 520px;
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid #e4e4e4;
    font-family: Arial, Helvetica, sans-serif;
}

.deco-wpc-quantity-heading {
    margin: 0 0 8px;
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.deco-wpc-quantity-chooser {
    margin-bottom: 8px;
}

.deco-wpc-quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-sizing: border-box;
    min-height: 82px;
    padding: 12px 0;
    border-top: 1px solid #e4e4e4;
}

.deco-wpc-quantity-row:first-child {
    border-top: 0;
}

.deco-wpc-quantity-row strong,
.deco-wpc-quantity-row small {
    display: block;
}

.deco-wpc-quantity-row strong {
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.deco-wpc-quantity-row small {
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}

.deco-wpc-stepper {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 42px 48px 42px;
    overflow: hidden;
    border: 1px solid #ccd0d4;
    border-radius: 7px;
    background: #fff;
}

.deco-wpc-stepper input,
.deco-wpc-stepper button {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 !important;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: center !important;
    line-height: 44px;
}

.deco-wpc-stepper button {
    background: #ef2029 !important;
    color: #fff !important;
    cursor: pointer;
    font-size: 22px;
    font-weight: 400;
}

.deco-wpc-stepper input {
    border-right: 1px solid #e1e1e1;
    border-left: 1px solid #e1e1e1;
    background: #fff;
    color: #222;
    font-size: 16px;
    font-weight: 700;
    appearance: textfield;
    -moz-appearance: textfield;
}

.deco-wpc-stepper input::-webkit-outer-spin-button,
.deco-wpc-stepper input::-webkit-inner-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.deco-wpc-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border: 1px solid #d8d8d8;
    border-radius: 7px;
    background: #f7f7f7;
}

.deco-wpc-total span {
    color: #444;
    font-size: 14px;
}

.deco-wpc-total strong {
    color: #ef2029;
    font-size: 20px;
}

form.cart.deco-wall-panel-cart .deco-wpc-original-quantity-hidden {
    display: none !important;
}

form.cart.deco-wall-panel-cart .single_add_to_cart_button {
    width: 100%;
    min-height: 50px;
    margin: 0 !important;
    border: 0;
    border-radius: 7px;
    background: #ef2029;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 800;
}

@media (max-width: 520px) {
    .deco-wpc-quantity-heading {
        font-size: 19px;
    }

    .deco-wpc-quantity-row {
        gap: 10px;
    }

    .deco-wpc-stepper {
        grid-template-columns: 38px 42px 38px;
    }
}

.deco-wpc-simple-dialog {
    width: min(760px, calc(100vw - 28px));
    max-width: 760px;
    padding: 22px;
}

.deco-wpc-order-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 14px 0;
    padding: 12px;
    border: 1px solid #54a62f;
    border-radius: 8px;
}

.deco-wpc-order-summary img {
    width: 82px;
    height: 82px;
    object-fit: cover;
}

.deco-wpc-order-summary strong,
.deco-wpc-order-summary span {
    display: block;
}

.deco-wpc-order-summary span {
    margin-top: 6px;
    color: #269c24;
    font-weight: 800;
}

.deco-wpc-adhesive-heading {
    margin: 18px 0 10px;
    text-align: center;
}

.deco-wpc-adhesive-heading strong,
.deco-wpc-adhesive-heading span {
    display: block;
}

.deco-wpc-adhesive-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.deco-wpc-adhesive-option {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    padding: 12px;
    border: 1px solid #dedede;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    transition: opacity .2s ease, background .2s ease;
}

.deco-wpc-adhesive-option img {
    width: 86px;
    height: 86px;
    object-fit: contain;
}

.deco-wpc-adhesive-copy strong,
.deco-wpc-adhesive-copy span,
.deco-wpc-adhesive-copy small {
    display: block;
}

.deco-wpc-adhesive-copy {
    min-width: 0;
}

.deco-wpc-adhesive-copy span {
    margin-top: 6px;
    color: #ef2029;
    font-size: 20px;
    font-weight: 800;
}

.deco-wpc-adhesive-copy small {
    margin-top: 3px;
    color: #555;
    font-weight: 700;
}

.deco-wpc-add-adhesive {
    grid-column: auto;
    position: static !important;
    float: none !important;
    display: block !important;
    width: auto;
    max-width: none;
    min-width: 76px;
    min-height: 42px;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0;
    border-radius: 4px;
    box-sizing: border-box !important;
    transform: none !important;
    background: #ef2029;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
}

.deco-wpc-adhesive-option.is-added {
    border-color: #46a529;
    background: #f0f8ec;
}

.deco-wpc-adhesive-option.is-added .deco-wpc-add-adhesive {
    background: #46a529;
}

.deco-wpc-adhesive-option.is-disabled {
    opacity: .42;
    background: #eee;
}

.deco-wpc-simple-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    margin-top: 18px;
}

.deco-wpc-simple-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px;
    border: 1px solid #aaa;
    color: #222;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
}

.deco-wpc-simple-actions .deco-smart-checkout {
    border-color: #ef2029;
    background: #ef2029;
    color: #fff;
}

@media (max-width: 700px) {
    .deco-wpc-adhesive-options,
    .deco-wpc-simple-actions {
        grid-template-columns: 1fr;
    }

    .deco-wpc-adhesive-option {
        grid-template-columns: 82px 1fr;
    }

    .deco-wpc-adhesive-option img {
        width: 82px;
        height: 82px;
    }

    .deco-wpc-add-adhesive {
        grid-column: 1 / -1;
        width: 100% !important;
    }
}

/* Keep the proven PVC action row above every optional-accessory card. */
.deco-wpc-simple-dialog .deco-pvc-simple-actions,
.deco-cornice-simple-dialog .deco-pvc-simple-actions {
    position: relative !important;
    z-index: 100 !important;
    isolation: isolate;
    pointer-events: auto !important;
}

.deco-wpc-simple-dialog .deco-pvc-simple-actions a,
.deco-cornice-simple-dialog .deco-pvc-simple-actions a {
    position: relative !important;
    z-index: 101 !important;
    pointer-events: auto !important;
}

.deco-wpc-adhesive-options,
.deco-cornice-options {
    position: relative;
    z-index: 1;
}
