.step-card {
    position: relative;
    overflow: hidden;
    min-height: 225px;
    padding: 20px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--outline-variant, #eee);
    border-radius: 18px!important;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.image-border {
    padding: 2px !important;
}

.guide-img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    padding: 0 !important;
    object-fit: cover;
    background-color: #fff;
    border-radius: 18px !important;
}

/* Lists */
.content-seo ul,
.step-card ul {
    padding-left: 20px;
}

.content-seo ul li,
.why-content ul li,
.step-card ul li {
    position: relative;
    margin-bottom: 12px;
    margin-left: 15px;
    list-style-type: disc;
    color: #333;
    line-height: 2.0rem;
    font-family: 'Inter';
}

.content-seo li strong {
    color: #111;
}

/* =========================================
   Step Number Background
========================================= */
.step-number-bg,
.step-number-bg-2 {
    position: absolute;
    top: -4px;
    right: 14px;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    opacity: 0.2;
    pointer-events: none;
    transition: color 0.3s ease, opacity 0.3s ease;
    font-family: auto;
}

.step-number-bg {
    color: #fff;
}

.step-number-bg-2 {
    color: #7c6338;
}

/* Hover Effects */
.colour-card:hover .step-number-bg,
.step-card:hover .step-number-bg-2 {
    opacity: 0.55;
}

.colour-card:hover .step-number-bg {
    color: #fff;
}

.step-card:hover .step-number-bg-2 {
    color: var(--secondary-color);
}

/* step number background end */
.content-seo {

    color: #333;
    line-height: 1.8;
    /* smoother readability */
    font-size: 17px;
    margin: 0 auto;
    padding: 20px;
}

/* Headings */
.content-seo h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 10px 0 10px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.5px;
}

/* Paragraphs */
.content-seo p {
    margin-bottom: 0.1px !important;
    color: #444;
}

/* Links */
.content-seo p a {
    color: #887249;
    text-decoration: none;
    transition: all 0.2s ease;
}


/* Lists */
.content-seo ul {
    margin: 12px 0;
    padding-left: 20px;
}

.content-seo ul li {
    margin-bottom: 12px;
    position: relative;
    margin-left: 15px;
    list-style-type: disc;
    color: #333;
}

/* Strong inside list */
.content-seo li strong {
    color: #111;
}


@media (max-width: 767px) {
    .content-seo h2 {
        font-size: 20px !important;
    }
}

.font-s {
    font-size: 28px;
}

@media (max-width: 767px) {
    .font-s {
        font-size: 20px !important;
    }

    .content-seo {
        font-size: 16px;
        padding: 14px;
    }
}

span.categories__card--link {
    padding-top: 45px;
    padding-bottom: 45px;
    cursor: pointer;
}

.categories__card:hover {
    background: #ececec;
}

.categories__card:hover .categories__title {
    color: #000 !important;

}

p.categories__title {
    font-weight: 500;
}

.card-ctext {
    line-height: 18px;
    font-size: 13px;
}

.step-card {
    min-height: 225px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    text-align: left;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.row-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

@media (min-width: 768px) {
    .col-6.col-sm-6.col-md-3.col-lg-2 {
        padding: 0 !important;
        margin-right: 1.5rem !important;
    }
}

/* .btn-unit-option {
    /* Base state */
    /* background-color: #074079;
    color: #495057;
    border: 2px solid #dee2e6;
    font-weight: 600;
    padding: 1rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
} */

/* Hover state */
/* .btn-unit-option:hover {
    background-color: #eee6ce;
    border-color: #c5c5c5;
    color: #212529;

} */

/* Active/Checked state */
/* .btn-check:checked+.btn-unit-option,
.btn-check:active+.btn-unit-option {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: #fff; 

} */

.form-control:focus {
    color: #444749;
    background-color: #fff;
    border-color: var(--secondary-color) !important;
    outline: 0;
    box-shadow: 0 0 0 .01rem var(--secondary-color);
}

/* Label styling */
/* .unit-label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.unit-abbr {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
} */

/* Active state animation */
/* .btn-check:checked+.btn-unit-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%); 
    z-index: -1;
} */

.themebg {
    background: linear-gradient(to right, #F1F2FA, #FCEDF1);
}

/* Step Progress Bar */
.steps-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
    border: 2px solid #dee2e6;
    z-index: 2;
}

.step-title {
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
}

.step-connector {
    position: absolute;
    top: 20px;
    left: 108px;
    right: -113px;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.step.active .step-circle {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.step.completed .step-circle {
    background-color: #198754;
    color: white;
    border-color: #198754;
}

.step.completed .step-connector {
    background-color: #198754;
}

/* Step Content */
.step-pane {
    display: none;
    padding: 2rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.step-pane.active {
    display: block;
}

/* Style Cards */
.style-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--gold) !important;
    border-radius: 18px!important;
}
img.card-img-top{
    padding: 10px !important;
}
.style-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.style-card.selected {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.05rem var(--secondary-color);
    border-radius: 18px!important;
}
img.img-fluid {
    padding: 7px;
    border-radius: 18px !important;
}
/* Color Cards */
.color-card {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 18px;
    overflow: hidden;
}

.color-card.selected {
    border-color: var(--primary-color);
    box-shadow: 4px 0px 20px 0.01px #666666b9;
}

.color-name {
    padding: 0.5rem;
    text-align: center;
    font-weight: 500;
}

/* Dimensions Preview */
.dimensions-preview {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dimensions-box {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Summary Card */
.summary-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 0.5rem;
}

.summary-title {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #dee2e6;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.25rem;
    border-bottom: none;
    margin-top: 1.5rem;
}

.summary-label {
    color: #6c757d;
}

.summary-value {
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .steps-progress {
        flex-wrap: wrap;
        justify-content: flex-start;
        margin-bottom: 0;

    }

    .fw-bold.fs-5.step-title {
        font-size: 12px !important;
    }

    .step {
        flex: 0 0 33.333%;
        margin-bottom: 1rem;
    }

    .step-connector {
        display: none;
    }
}

.frame-capture-loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.925);
}

.frame-capture-loader {
    width: 90%;
    /* More responsive width */
    max-width: 600px;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
}

/* New class for the Lottie animation container */
#lottie-loader {
    width: 30vmin;
    /* Responsive size based on viewport */
    height: 30vmin;
    /* Keeps aspect ratio */
    margin: 0 auto;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* End loader and capture */
.centered-error {
    position: sticky;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    max-width: 90%;
    text-align: center;
    /* z-index: 999; */
}

.text-stroke-white {
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    paint-order: stroke fill;
}

.custom-active {
    background: linear-gradient(to right, #F1F2FA, #FCEDF1);
    width: 100%;
    color: var(--text-dark-color);
    font-weight: 800;
}

.image-text-container {
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 10px;
    /* Space between image and text */
}

.sticky-preview-container {
    position: sticky;
    top: 105px;
    height: fit-content;
}

.frame-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.my-chk {
    background: var(--secondary-color);
    border: 1px solid;
}

/* Frame Preview Styles */
.frame {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, .6);
}



.frame-preview {
    position: relative;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-size: contain;
    background-position: center;
    background-image: url('../img/banner/back.PNG')!important;
}

.frame-preview {
    min-width: 120px;
    max-height: 620px;
    max-width: 800px;
    aspect-ratio: 1;
}

/* For screens smaller than 992px (typical tablets) */
@media (max-width: 1199.98px) {
    .sticky-preview-container {
        position: static;
        /* Remove sticky on smaller screens */
        padding-top: 20px;
    }

    .frame-preview {
        max-width: 600px !important;
    }
}

@media (max-width: 991.98px) {
    .frame-preview {
        max-width: 500px !important;
    }
}

@media (max-width: 767.98px) {
    .frame-preview {
        max-width: 450px !important;
    }
}

@media (max-width: 575.98px) {
    .frame-preview {
        max-width: 350px !important;
    }
}

@media (max-width: 400px) {
    .frame-preview {
        max-width: 280px !important;
    }
}

@media (max-width: 575.98px) {
    .price__filter--input__field {
        width: 100% !important;
        padding: 8px 10px;
    }

    .d-flex.align-items-center {
        flex-wrap: wrap;
    }
}

.frame-top {
    box-shadow: inset 0 0px 2px rgba(0, 0, 0, 0.1);
}

.frame-bottom {
    inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.frame-left {
    box-shadow: inset 0px 0 15px rgba(0, 0, 0, 0.1);
}

.frame-right {
    inset -1px 0 3px rgba(0, 0, 0, 0.3);
}

.frame-top,
.frame-bottom {
    position: absolute;
    width: 100%;
    background-size: contain;
    background-repeat: repeat-x;
}

.frame-top {
    top: 0;
}

.frame-bottom {
    bottom: 0;
    transform: rotate(180deg);
}

.frame-left,
.frame-right {
    position: absolute;
    height: 100%;
    background-size: contain;
    background-repeat: repeat-y;
}

.frame-left {
    left: 0;
}

.frame-right {
    right: 0;
    transform: rotate(180deg);
}

.frame-corner {
    position: absolute;
    background-size: cover;
    z-index: 2;
}

.frame-corner-tl {
    top: 0;
    left: 0;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.frame-corner-tl::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 97%;
    background-color: #ffffff1a;
    transform: rotate(315deg);
    left: 45%;
}

.frame-corner-tr {
    top: 0;
    right: 0;
    clip-path: polygon(0 100%, 100% 0, 0 0);
}

.frame-corner-tr::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #ffffff1a;
    transform: rotate(225deg);
    left: 45%;
}

.frame-corner-bl {
    bottom: 0;
    left: 0;
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

.frame-corner-bl::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    background-color: #ffffff1a;
    transform: rotate(45deg);
    left: 45%;
}

.frame-corner-br {
    bottom: 0;
    right: 0;
    clip-path: polygon(0 0, 0 100%, 100% 100%);
}

.frame-corner-br::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 97%;
    background-color: #ffffff1a;
    transform: rotate(135deg);
    left: 45%;
}

span.cutm-txt {
    font-weight: 500;
}

.mount {
    background-size: cover;
    background-position: center;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 30px solid transparent;
}

.mount-inside {
    border: solid;
    border-bottom-color: #ffe;
    border-left-color: #eed;
    border-right-color: #eed;
    border-top-color: #ccb;
    height: 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.art-area {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #1a1818;
    font-size: 14px;
    font-weight: 800;
    /* background: rgba(255, 255, 255, 0.8); */
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 99;
}

.art-area span {
    white-space: nowrap;
}

.form-check-input:checked {
    background-color: #bf0208;
    border-color: #e7747f;
}
 .breadcrumb__content--menu__items::before {
    right: 4px;
    top: 4px;
}

/* unit button active state */
/* =========================================
   Measurement Unit Buttons
========================================= */

.btn-group {
    gap: 14px;
    flex-wrap: wrap;
}

.btn-unit-option {
    flex: 1 1 0;
    min-width: 170px;
    border: 1px solid #d9d9d9 !important;
    background: #ffffff !important;
    color: #1d1d1d !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 18px 20px !important;
    text-align: center;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

/* Hover Effect */
.btn-unit-option:hover {
    transform: translateY(-2px);
    border-color: #8b0d17 !important;
    color: #8b0d17 !important;
    box-shadow: 0 10px 25px rgba(139, 13, 23, 0.12);
}

/* Active / Checked State */
.btn-check:checked + .btn-unit-option {
    background: linear-gradient(135deg, #7b0913, #6d0f18) !important;
    color: #ffffff !important;
    border-color: #7b0913 !important;
    box-shadow: 0 8px 15px rgba(123, 9, 19, 0.25);
    transform: translateY(-1px);
}

/* Optional Shine Effect */
.btn-unit-option::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transition: 0.6s;
}

.btn-unit-option:hover::before {
    left: 120%;
}

/* Focus Accessibility */
.btn-check:focus + .btn-unit-option {
    box-shadow:
        0 0 0 4px rgba(139, 13, 23, 0.15),
        0 10px 10px rgba(139, 13, 23, 0.15);
}

/* Mobile */
@media (max-width: 767px) {

    .btn-group {
        flex-direction: column;
    }

    .btn-unit-option {
        width: 100%;
        min-width: 100%;
        font-size: 0.95rem !important;
        padding: 16px !important;
    }
}
.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .15rem var(--secondry-color)!important;
}
  .pcg-mtm-builder {
                    --pcg-gold: #887249;
                    --pcg-burgundy: #6d0f18;
                    --pcg-black: #10100f;
                    --pcg-muted: #6f6a62;
                    --pcg-cream: #f8f4ec;
                    --pcg-soft: #fffdf8;
                    --pcg-line: rgba(16, 16, 15, .12);
                    --pcg-shadow: 0 24px 70px rgba(16, 16, 15, .11);
                    position: relative;
                    overflow-x: hidden;
                }

                .pcg-mtm-builder * {
                    box-sizing: border-box;
                }

                /* Step Progress */
                .pcg-steps-progress {
                    display: grid;
                    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
                    gap: 14px;
                }

                .pcg-step {
                    position: relative;
                    display: flex;
                    align-items: center;
                    gap: 12px;
                    min-height: 68px;
                    padding: 14px 18px;
                    border: 1px solid rgba(136, 114, 73, .18);
                    border-radius: 18px;
                    background: rgba(255, 255, 255, .78);
                    box-shadow: 0 12px 32px rgba(16, 16, 15, .06);
                }

                .pcg-step-circle {
                    width: 38px;
                    height: 38px;
                    border-radius: 50%;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    background: #eee8dc;
                    color: var(--pcg-black);
                    font-weight: 900;
                    flex: 0 0 auto;
                }

                .pcg-step-title {
                    color: var(--pcg-muted);
                    font-size: 13px;
                    font-weight: 850;
                    text-transform: uppercase;
                    letter-spacing: .5px;
                }

                .pcg-step.active {
                    border-color: rgba(109, 15, 24, .38);
                    background: #ffffff;
                }

                .pcg-step.active .pcg-step-circle {
                    background: var(--pcg-burgundy);
                    color: #ffffff;
                }

                .pcg-step.completed .pcg-step-circle {
                    background: var(--pcg-gold);
                    color: #ffffff;
                }

                /* Main Card */
                .pcg-builder-card {
                    margin-top: 28px;
                    border-radius: 30px;
                    border: 1px solid rgba(136, 114, 73, .18);
                    background: rgba(255, 253, 248, .95);
                    box-shadow: var(--pcg-shadow);
                    padding: clamp(20px, 3vw, 34px);
                }

                .pcg-step-pane {
                    animation: pcgFadeUp .25s ease;
                }

                @keyframes pcgFadeUp {
                    from {
                        opacity: 0;
                        transform: translateY(8px);
                    }

                    to {
                        opacity: 1;
                        transform: translateY(0);
                    }
                }

                /* Headings */
                .pcg-section-head {
                    max-width: 760px;
                    margin: 0 auto 30px;
                }

                .pcg-section-head h2 {
                    color: var(--pcg-black);
                    font-size: clamp(25px, 3vw, 38px);
                    font-weight: 900;
                    line-height: 1.15;
                    margin: 0 0 10px;
                }

                .pcg-section-head p {
                    color: var(--pcg-muted);
                    margin: 0;
                    line-height: 1.65;
                }

                .pcg-eyebrow {
                    display: inline-flex;
                    letter-spacing: 1.8px;
                    text-transform: uppercase;
                    font-size: 12px;
                    font-weight: 850;
                    color: #d9c08c;
                    margin-bottom: 12px;
                }

                .pcg-eyebrow-dark {
                    color: var(--pcg-gold);
                }

                /* Unit Options */
                .pcg-unit-switch {
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    gap: 12px;
                }

                .pcg-unit-option {
                    border: 1px solid var(--pcg-line);
                    border-radius: 18px;
                    min-height: 74px;
                    padding: 14px 16px;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    background: #ffffff;
                    cursor: pointer;
                    transition: 220ms ease;
                    text-align: center;
                }

                .pcg-unit-option strong {
                    color: var(--pcg-black);
                    font-size: 15px;
                    font-weight: 850;
                }

                .pcg-unit-option span {
                    color: var(--pcg-muted);
                    font-size: 12px;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                }

                .btn-check:checked+.pcg-unit-option {
                    background: var(--pcg-burgundy);
                    border-color: var(--pcg-burgundy);
                }

                .btn-check:checked+.pcg-unit-option strong,
                .btn-check:checked+.pcg-unit-option span {
                    color: #ffffff;
                }

                /* Dimension Cards */
                .pcg-dimension-card {
                    border-radius: 24px;
                    border: 1px solid rgba(16, 16, 15, .10);
                    background: #ffffff;
                    padding: 24px;
                    box-shadow: 0 14px 36px rgba(16, 16, 15, .06);
                }

                .pcg-dimension-card h3 {
                    color: var(--pcg-black);
                    font-size: 21px;
                    font-weight: 900;
                    margin: 0 0 6px;
                }

                .pcg-dimension-card p {
                    color: var(--pcg-muted);
                    line-height: 1.55;
                    margin: 0 0 18px;
                    font-size: 14px;
                }

                .pcg-field+.pcg-field {
                    margin-top: 16px;
                }

                .pcg-field label {
                    display: block;
                    color: var(--pcg-black);
                    font-weight: 850;
                    font-size: 13px;
                    margin-bottom: 8px;
                }

                .pcg-mtm-builder .contact__form--input {
                    width: 100%;
                    min-height: 54px;
                    border-radius: 15px;
                    border: 1px solid rgba(16, 16, 15, .13);
                    background: #fffdf8;
                    padding: 12px 14px;
                    font-size: 15px;
                }

                .pcg-mtm-builder .contact__form--input:focus {
                    border-color: var(--pcg-gold);
                    box-shadow: 0 0 0 4px rgba(136, 114, 73, .12);
                    outline: none;
                }

                .pcg-mtm-builder .text-danger {
                    color: #b4232c !important;
                    margin-top: 7px;
                }

                /* Dimension Summary */
                .pcg-dimension-summary {
                    display: flex;
                    gap: 12px;
                    flex-wrap: wrap;
                    padding: 14px;
                    border-radius: 18px;
                    background: rgba(136, 114, 73, .08);
                    border: 1px solid rgba(136, 114, 73, .15);
                }

                .pcg-dimension-summary span {
                    color: var(--pcg-black);
                    font-size: 15px;
                    font-weight: 850;
                }

                /* Style / Colour Cards */
                .pcg-colour-card {
                    position: relative;
                    width: 100%;
                    flex-direction: column;
                    align-items: center;
                    justify-content: flex-start;
                    gap: 10px;
                    padding: 12px;
                    border: 1px solid rgba(16, 16, 15, .10);
                    border-radius: 20px;
                    background: #ffffff;
                    transition: 220ms ease;
                    cursor: pointer;
                    overflow: hidden;
                    text-align: center;
                }

                .pcg-colour-card:hover,
                .pcg-colour-card.selected {
                    transform: translateY(-3px);
                    border-color: var(--pcg-burgundy);
                    box-shadow: 0 18px 40px rgba(16, 16, 15, .10);
                }

                .pcg-colour-thumb {
                    width: 100%;
                    aspect-ratio: 1 / .88;
                    border-radius: 15px;
                    overflow: hidden;
                    background: #f8f4ec;
                }

                .pcg-colour-thumb img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    display: block;
                }
                .pcg-colour-thumb-mount img {
                    width: 100%;
                    height: 30px;
                    border-radius: 20px;
                    margin-bottom: 7px;
                    object-fit: cover;
                    display: block;
                }
                .pcg-colour-name {
                    color: var(--pcg-black);
                    font-weight: 850;
                    font-size: 13px;
                    line-height: 1.25;
                }

                .pcg-colour-card small {
                    color: var(--pcg-muted);
                    font-size: 11px;
                    font-weight: 700;
                }

                .pcg-selected-badge {
                    position: absolute;
                    top: 3px;
                    right: 5px;
                    width: 28px;
                    height: 28px;
                    border-radius: 50%;
                    background: var(--pcg-burgundy);
                    color: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }

                .pcg-selected-badge .material-symbols-outlined {
                    font-size: 18px;
                    line-height: 1;
                }

                /* Summary / Preview */
                .pcg-preview-panel,
                .pcg-summary-card {
                    border-radius: 28px;
                    border: 1px solid rgba(136, 114, 73, .18);
                    background: #ffffff;
                    box-shadow: 0 18px 50px rgba(16, 16, 15, .08);
                    padding: clamp(18px, 2vw, 28px);
                }

                .sticky-preview-container {
                    position: sticky;
                    top: 105px;
                }

                .pcg-preview-head {
                    display: flex;
                    justify-content: space-between;
                    gap: 18px;
                    align-items: flex-start;
                    margin-bottom: 18px;
                }

                .pcg-preview-head h2,
                .pcg-summary-card h2 {
                    color: var(--pcg-black);
                    font-size: 28px;
                    font-weight: 900;
                    margin: 0;
                }

                .pcg-preview-stage {
                    min-height: 430px;
                    padding: 28px;
                    border-radius: 24px;
                    background:
                        radial-gradient(circle at 20% 20%, rgba(136, 114, 73, .13), transparent 280px),
                        linear-gradient(135deg, #f8f4ec, #fffdf8);
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    overflow: auto;
                }

                .pcg-preview-note {
                    color: var(--pcg-muted);
                    font-size: 13px;
                    line-height: 1.6;
                    margin: 16px 0 0;
                }

                .pcg-spec-list {
                    margin-top: 18px;
                    display: grid;
                    gap: 0;
                    border-top: 1px solid rgba(16, 16, 15, .08);
                }

                .pcg-spec-list>div {
                    display: flex;
                    justify-content: space-between;
                    gap: 18px;
                    padding: 13px 0;
                    border-bottom: 1px solid rgba(16, 16, 15, .08);
                }

                .pcg-spec-list span {
                    color: var(--pcg-muted);
                    font-size: 13px;
                    font-weight: 800;
                }

                .pcg-spec-list strong {
                    color: var(--pcg-black);
                    font-size: 13px;
                    font-weight: 900;
                    text-align: right;
                }

                /* Total */
                .pcg-summary-total {
                    margin-top: 20px;
                    padding: 18px;
                    border-radius: 20px;
                    background:
                        radial-gradient(circle at top left, rgba(217, 192, 140, .22), transparent 180px),
                        linear-gradient(135deg, var(--pcg-black), var(--pcg-burgundy));
                    color: #ffffff;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 14px;
                }

                .pcg-summary-total span {
                    color: rgba(255, 255, 255, .72);
                    font-size: 12px;
                    text-transform: uppercase;
                    letter-spacing: 1px;
                    font-weight: 850;
                }

                .pcg-summary-total strong {
                    color: #ffffff;
                    font-size: 26px;
                    font-weight: 950;
                }

                /* Quantity */
                .pcg-qty-control {
                    display: grid;
                    grid-template-columns: 46px 1fr 46px;
                    gap: 10px;
                    align-items: center;
                }

                .pcg-qty-control button,
                .pcg-qty-control input {
                    height: 46px;
                    border-radius: 14px;
                    border: 1px solid rgba(16, 16, 15, .13);
                    background: #fffdf8;
                    text-align: center;
                    font-weight: 900;
                    outline: none !important;
                    box-shadow: none !important;
                }

                .pcg-qty-control button {
                    background: var(--pcg-black);
                    color: #ffffff;
                    cursor: pointer;
                }

                .pcg-qty-control input {
                    color: var(--pcg-black);
                }

                /* Empty / Alerts */
                .pcg-empty-state {
                    padding: 22px;
                    border-radius: 18px;
                    background: #fff4f4;
                    color: #8a1f1f;
                    text-align: center;
                    border: 1px solid rgba(138, 31, 31, .12);
                }

                .pcg-empty-state a {
                    color: var(--pcg-burgundy);
                    font-weight: 850;
                }

                /* Buttons */
                .pcg-builder-actions {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 18px;
                }



                .pcg-add-cart-btn {
                    width: 100%;
                }

                /* Frame Preview Support */
            
                

                .frame-clip {
                    z-index: 999;
                    pointer-events: none;
                }

                /* Responsive */
                @media (max-width: 991px) {
                    .sticky-preview-container {
                        position: static;
                    }

                    .pcg-preview-stage {
                        min-height: 360px;
                    }
                }

                @media (max-width: 767px) {
                    .pcg-builder-card {
                        border-radius: 24px;
                        padding: 18px;
                    }

                    .pcg-steps-progress {
                        grid-template-columns: 1fr;
                    }

                    .pcg-unit-switch {
                        grid-template-columns: 1fr !important;
                    }

                    .pcg-preview-head {
                        flex-direction: column;
                    }

                    .pcg-preview-stage {
                        min-height: 300px;
                        padding: 18px;
                    }

                    .pcg-spec-list>div {
                        flex-direction: column;
                        gap: 4px;
                    }

                    .pcg-spec-list strong {
                        text-align: left;
                    }

                    .pcg-summary-total {
                        flex-direction: column;
                        align-items: flex-start;
                    }

                    .pcg-builder-actions {
                        flex-direction: column;
                    }

                    .pcg-builder-actions span,
                    .pcg-builder-actions button,
                    .pcg-builder-actions .primary__btn {
                        width: 100%;
                    }

                    .pcg-colour-card {
                        min-height: 155px;
                    }
                }
                
                /* FIX: stable layer order for preview + capture */
        #frame-preview {
            position: relative !important;
            isolation: isolate;
            overflow: hidden;
        }
        
        #frame-preview .frame-top,
        #frame-preview .frame-bottom,
        #frame-preview .frame-left,
        #frame-preview .frame-right {
            position: absolute !important;
            z-index: 10 !important;
            pointer-events: none;
        }
        
        #frame-preview .frame-top {
            top: 0 !important;
            left: 0 !important;
        }
        
        #frame-preview .frame-bottom {
            bottom: 0 !important;
            left: 0 !important;
        }
        
        #frame-preview .frame-left {
            top: 0 !important;
            left: 0 !important;
        }
        
        #frame-preview .frame-right {
            top: 0 !important;
            right: 0 !important;
        }
        
        #frame-preview .mount {
            z-index: 5 !important;
        }
        
        #frame-preview .mount-inside {
            position: relative;
            z-index: 6;
        }
        
        #frame-preview .frame-corner {
            z-index: 20 !important;
        }
        
        #frame-preview .art-area {
            z-index: 30 !important;
        }
        
        #frame-preview .frame-clip {
            z-index: 40 !important;
        }