/* Cabinetro Product Detail
   CR-Precision 2026
   Production Clean
   CSS cleanup only — no intended visual changes
*/

:root {
    --pd-ink: #262626;
    --pd-red: #e10d12;
}
/* =========================================================
   Product Detail Shell / Breadcrumb / Heading
   CR-Precision 2026
   ========================================================= */

.pd-page.container {
    width: min(1158px, calc(100% - 32px));
    max-width: 1158px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    color: var(--pd-ink);
}

.pd-breadcrumb {
    min-height: 50px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #e8e8e5;
    color: #858585;
    font-size: 12px;
    line-height: 1.7;
}

.pd-breadcrumb a {
    color: #858585;
    text-decoration: none;
}

.pd-breadcrumb a:hover {
    color: var(--pd-red);
}

.pd-breadcrumb-separator {
    color: #b0b0ad;
    font-size: 15px;
    line-height: 1;
}

.pd-breadcrumb strong {
    color: #303030;
    font-weight: 750;
}

.pd-heading {
    min-height: 72px;
    padding: 16px 0 14px;
    border-bottom: 1px solid #e2e2df;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.pd-heading h1 {
    margin: 0;
    color: #262626;
    font-size: 26px;
    line-height: 1.55;
    font-weight: 850;
}

.pd-heading small {
    display: none;
    color: #999;
    font-size: 11px;
    white-space: nowrap;
}

@media (max-width: 820px) {
    .pd-page.container {
        width: calc(100% - 24px);
    }

    .pd-breadcrumb {
        min-height: 42px;
        gap: 6px;
        font-size: 10.5px;
        white-space: nowrap;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .pd-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .pd-heading {
        min-height: 66px;
        padding: 12px 0 11px;
        align-items: center;
    }

    .pd-heading h1 {
        font-size: 19px;
        line-height: 1.6;
    }

    .pd-heading small {
        display: block;
        font-size: 9.5px;
    }
}
/* =========================================================
   Product Detail Main Shell
   Desktop: configurator right / media left
   ========================================================= */

.pd-main.row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 548px;
    grid-template-areas: "media config";
    gap: 22px;
    align-items: start;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px 0 24px;
    direction: ltr;
}

.pd-main > .pd-media {
    grid-area: media;
    direction: rtl;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    min-width: 0;
    padding: 0 !important;
}

.pd-main > .pd-config {
    grid-area: config;
    direction: rtl;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    min-width: 0;
    padding: 0 !important;
}

@media (max-width: 1100px) and (min-width: 821px) {
    .pd-main.row {
        grid-template-columns: minmax(0, 1fr) 440px;
        gap: 18px;
    }
}

@media (max-width: 820px) {
    .pd-main.row {
        display: flex !important;
        flex-direction: column;
        gap: 16px;
        padding: 14px 0 20px;
    }

    .pd-main > .pd-media {
        order: 1;
        width: 100% !important;
    }

    .pd-main > .pd-config {
        order: 2;
        width: 100% !important;
    }
}
/* =========================================================
   CR-Precision 2026 — Product Gallery
   ========================================================= */

.pd-gallery-shell {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    min-height: clamp(520px, 45vw, 620px);
    direction: ltr;
}

.pd-thumb-rail {
    width: 64px;
    height: clamp(520px, 45vw, 620px);
    padding: 1px 3px 1px 1px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    overflow-y: auto;
    scrollbar-width: none;
}

.pd-thumb-rail::-webkit-scrollbar {
    display: none;
}

.pd-thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    padding: 3px;
    border: 1px solid #e9e9e6;
    border-radius: 4px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pd-thumb img {
    display: block;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
}

.pd-thumb.active,
.pd-thumb[aria-current="true"] {
    border-color: var(--pd-red);
    box-shadow: inset 0 0 0 1px var(--pd-red);
}

.pd-image-stage {
    position: relative;
    height: clamp(520px, 45vw, 620px);
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}

.pd-image-stage > img {
    display: block;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 88%;
    object-fit: contain;
}
@media (min-width:821px){
    .pd-image-stage > img{
        transform:translateY(-110px);
    }

    .pd-gallery-nav{
        top:calc(50% - 110px) !important;
    }

}
.pd-image-counter {
    display: none;
}

.pd-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(38,38,38,.20);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.07);
    color: #303030;
    transform: translateY(-50%);
    cursor: pointer;
}
.pd-gallery-prev {
    left: 14px;
}

.pd-gallery-next {
    right: 14px;
}

.pd-gallery-shell.is-single-image {
    grid-template-columns: minmax(0,1fr);
}

.pd-gallery-shell.is-single-image .pd-thumb-rail,
.pd-gallery-shell.is-single-image .pd-gallery-nav {
    display: none;
}

@media (max-width: 820px) {
    .pd-gallery-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .pd-image-stage {
        grid-row: 1;
        height: 390px;
    }

    .pd-thumb-rail {
        grid-row: 2;
        width: 100%;
        height: 64px;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

}

/* =========================================================
   CR-Precision 2026 — Product Zoom
   ========================================================= */

.pd-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.pd-zoom-modal[hidden] {
    display: none !important;
}

.pd-zoom-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18,18,18,.78);
    backdrop-filter: blur(4px);
}

.pd-zoom-window {
    position: absolute;
    inset: 32px;
    max-width: 1320px;
    margin: auto;
    background: #fff;
    border-radius: 6px;
    display: grid;
    grid-template-columns: 54px minmax(0,1fr) 54px;
    grid-template-rows: minmax(0,1fr) 52px;
    overflow: hidden;
}

.pd-zoom-canvas {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.pd-zoom-canvas.is-zoomed {
    overflow: auto;
    place-items: start;
}

.pd-zoom-canvas img {
    display: block;
    width: auto;
    height: auto;
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
    cursor: zoom-in;
}

.pd-zoom-canvas.is-zoomed img {
    max-width: none;
    max-height: none;
    cursor: zoom-out;
}

.pd-zoom-nav {
    grid-row: 1;
    align-self: center;
    width: 42px;
    height: 52px;
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #3c3c3c;
    font-size: 36px;
    font-weight: 300;
    cursor: pointer;
}

.pd-zoom-nav.prev {
    grid-column: 1;
}

.pd-zoom-nav.next {
    grid-column: 3;
}

.pd-zoom-close {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1ef;
    color: #333;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.pd-zoom-footer {
    grid-column: 1 / 4;
    grid-row: 2;
    padding: 0 16px;
    border-top: 1px solid #e3e3e0;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
}

.pd-zoom-footer > #pdZoomCounter {
    direction: ltr;
    font-size: 10.5px;
    font-weight: 750;
}

.pd-zoom-footer > small {
    margin-right: auto;
    color: #999;
    font-size: 9.5px;
}

.pd-zoom-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    direction: ltr;
}

.pd-zoom-controls button {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #dededb;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.pd-zoom-controls button:disabled {
    opacity: .35;
    cursor: default;
}

#pdZoomLevel {
    min-width: 46px;
    text-align: center;
    color: #666;
    font-size: 10px;
    font-weight: 700;
}

.pd-zoom-close:focus-visible,
.pd-zoom-nav:focus-visible,
.pd-zoom-controls button:focus-visible {
    outline: 2px solid rgba(225,13,18,.35);
    outline-offset: 2px;
}

body.pd-modal-open {
    overflow: hidden;
}

@media (max-width: 820px) {

    .pd-zoom-window {
        inset: 8px;
        grid-template-columns: 42px minmax(0,1fr) 42px;
        grid-template-rows: minmax(0,1fr) 58px;
    }

    .pd-zoom-nav {
        width: 36px;
        font-size: 31px;
    }

    .pd-zoom-footer {
        padding: 0 8px;
        gap: 7px;
    }

    .pd-zoom-footer > small {
        display: none;
    }

    .pd-zoom-controls {
        margin-right: auto;
    }
}
/* Product Detail — Cart Footer */

.cc74-footer{
    min-height:84px;
    display:grid;
    grid-template-columns:104px 92px minmax(0,1fr);
    column-gap:12px;
    align-items:center;
    padding-top:16px;
    border-top:1px solid #eeeeec;
    border-bottom:0;
}

.cc74-qty{
    grid-column:2;
    width:92px;
    height:44px;
    display:grid;
    grid-template-columns:30px 1fr 30px;
    align-items:center;
    border:1px solid #dededb;
    border-radius:6px;
    overflow:hidden;
    background:#fff;
}

.cc74-qty button{
    height:100%;
    border:0;
    background:#f8f8f6;
    color:#444;
    font-size:17px;
    cursor:pointer;
}
.cc74-qty button:disabled{
    color:#aaa;
    background:#f3f3f1;
    opacity:.55;
    cursor:not-allowed;
}
.cc74-qty span{
    text-align:center;
    font-size:12px;
    font-weight:730;
}

.cc74-add{
    grid-column:3;
    border-radius:6px;
    font-family:inherit;
    font-size:13.2px;
    font-weight:820;
    cursor:pointer;
}

@media (max-width:820px){
    .cc74-footer{
        grid-template-columns:88px minmax(0,1fr);
        min-height:78px;
        padding-top:14px;
    }

    .cc74-qty{
        grid-column:1;
        width:88px;
    }

    .cc74-add{
        grid-column:2;
    }
}
/* Product Detail — Add to cart compatibility override */

.cc74-footer .cc74-add{
    position:static !important;
    float:none !important;
    display:flex !important;
    width:100% !important;
    min-width:180px !important;
    max-width:none !important;
    height:48px !important;
    margin:0 !important;
    padding:0 18px !important;
    opacity:1 !important;
    visibility:visible !important;
    overflow:visible !important;
    background:#e10d12 !important;
    border:1px solid #e10d12 !important;
    color:#fff !important;
    align-items:center !important;
    justify-content:center !important;
    gap:8px !important;
}
/* CRP2026 — Purchase unavailable state */
.cc74-footer .cc74-add:disabled{
    background:#d8d8d5 !important;
    border-color:#d8d8d5 !important;
    color:#858783 !important;
    opacity:1 !important;
    cursor:not-allowed !important;
    box-shadow:none !important;
}

.pd-option-unavailable-message{
    margin-top:8px;
    padding:8px 10px;
    border:1px solid #ece5e5;
    border-radius:5px;
    background:#fcf9f9;
    color:#8b4a4a;
    font-size:10.8px;
    line-height:1.7;
    font-weight:560;
    text-align:right;
}
/* CRP2026 — Product Details */

.pd-details{
    --pd-details-measure:100%;
    margin-top:20px;
    border-top:1px solid #e4e4e1;
    border-bottom:1px solid #e4e4e1;
}

.pd-row{
    border-bottom:1px solid #e7e7e4;
}

.pd-row:last-child{
    border-bottom:0;
}

.pd-row-btn{
    width:100%;
    height:60px;
    padding:0;
    border:0;
    background:transparent;
    color:#30302e;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    direction:ltr;
    cursor:pointer;
    text-align:right;
}

.pd-row-btn:hover{
    background:#fbfbfa;
}

.pd-row-head-inner{
    width:min(100%,var(--pd-details-measure));
    height:60px;
    padding:0 4px;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0;
    direction:rtl;
}

.pd-row-title{
    position:relative;
    font-size:15px;
    line-height:1.5;
    font-weight:780;
    color:#30302e;
    white-space:nowrap;
}

.pd-row.open .pd-row-title:after{
    content:"";
    position:absolute;
    right:0;
    bottom:-18px;
}

.pd-row-icon{
    position:relative;
    display:block;
    color:#5e5e5b;
}

.pd-row-content{
    width:min(100%,var(--pd-details-measure));
    margin-right:0;
    margin-left:auto;
    box-sizing:border-box;
    padding:6px 4px 20px;
    color:#5f605d;
    font-size:13px;
    line-height:2.05;
    font-weight:400;
}

.pd-row-content[hidden]{
    display:none;
}

.pd-row-content>:first-child{
    margin-top:0;
}

.pd-row-content>:last-child{
    margin-bottom:0;
}

.pd-row-content p{
    margin:0;
}

.pd-row-content p+p{
    margin-top:8px;
}

.pd-row-content ul,
.pd-row-content ol{
    margin:0;
    padding-right:20px;
}

.pd-row-content a{
    color:#343432;
    text-decoration-thickness:1px;
    text-underline-offset:3px;
}

.pd-row-content a:hover{
    color:var(--pd-red);
}

.pd-row-btn:focus-visible{
    outline:2px solid var(--pd-red);
    outline-offset:-2px;
}

.pd-row-title,
.pd-row-icon{
    transition:color .14s ease,font-weight .14s ease;
}

.pd-row.open .pd-row-title,
.pd-row-btn[aria-expanded="true"] .pd-row-title{
    color:#20211f;
    font-weight:840;
}

.pd-row.open .pd-row-icon,
.pd-row-btn[aria-expanded="true"] .pd-row-icon{
    color:var(--pd-red);
}

.pd-row.open .pd-row-title:after,
.pd-row-btn[aria-expanded="true"] .pd-row-title:after{
    width:24px;
    height:2px;
    background:var(--pd-red);
    opacity:.92;
}

.pd-row-btn:hover .pd-row-title{
    color:#1f201e;
}

@media (max-width:820px){

    .pd-row-head-inner,
    .pd-row-content{
        padding-right:2px;
        padding-left:2px;
    }
}

@media (prefers-reduced-motion:reduce){
    .pd-row-title,
    .pd-row-icon{
        transition:none;
    }
}
/* Product Details — +/- icon */

.pd-details .pd-row-icon{
    width:32px !important;
    height:32px !important;
    flex:0 0 32px !important;
    transform:none !important;
    background:
        linear-gradient(currentColor,currentColor) center / 14px 1.5px no-repeat,
        linear-gradient(currentColor,currentColor) center / 1.5px 14px no-repeat !important;
}

.pd-details .pd-row.open .pd-row-icon,
.pd-details .pd-row-btn[aria-expanded="true"] .pd-row-icon{
    background:
        linear-gradient(currentColor,currentColor) center / 14px 1.5px no-repeat !important;
}

.pd-details .pd-row-icon::before,
.pd-details .pd-row-icon::after{
    content:none !important;
    display:none !important;
}
/* CRP2026 — Config Header */

.cc74-head{
    min-height:78px;
    padding:5px 1px 11px;
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
}

.cc74-title{
    padding-top:5px;
}

.cc74-title strong{
    font-size:14.2px;
    line-height:1.5;
    font-weight:820;
    color:#292a2b;
    white-space:nowrap;
}

.cc74-price{
    margin-right:auto;
    text-align:left;
    align-self:flex-start;
    white-space:nowrap;
}
.cc74-price strong{
    display:block;
    font-size:22px;
    line-height:1.16;
    font-weight:880;
    color:#252525;
}

.cc74-price strong small{
    font-size:10.8px;
    font-weight:500;
    color:#666;
}

/* CRP2026 — Product Detail Discount Price */

.cc152-price-discount{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    justify-content:center;
    gap:2px;
    min-height:62px;
}

.cc152-price-before{
    min-height:18px;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:7px;
    direction:rtl;
}

.cc152-price-before del{
    color:#9b9b9b;
    font-size:10.5px;
    line-height:1.3;
    font-weight:450;
    text-decoration-thickness:1px;
}

.cc152-price-before del small{
    font-size:8.8px;
    font-weight:400;
}

.cc152-discount-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:19px;
    padding:0 6px;
    border-radius:4px;
    background:#ef1118;
    color:#fff;
    font-size:9.2px;
    line-height:1;
    font-weight:700;
    white-space:nowrap;
}

.cc152-price-final{
    margin:0;
}

.cr248-saving{
    margin-top:4px;
    min-height:15px;
    color:#666863;
    font-size:10.2px;
    line-height:1.45;
    font-weight:520;
}

.cc152-price-discount[data-discount-active="false"] .cc152-price-before{
    display:none;
}
.cc74-sep{
    height:1px;
    background:#f0f0ee;
}
/* CRP2026 — Dynamic Generic Options */

#cc82Options{
    position:relative;
    width:100%;
    text-align:right;
}

#cc82Options .cc82-row{
    position:relative;
    display:grid;
    direction:ltr;
    padding:9px 0;
    background:transparent;
}
#cc82Options .cc82-label{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
}

#cc82Options .cc82-generic-current{
    min-width:0;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:2px;
    direction:rtl;
}

#cc82Options .cc82-generic-current strong{
    max-width:100%;
    font-size:11.7px;
    line-height:1.55;
    font-weight:620;
    color:#4d4d4d;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

#cc82Options .cc82-generic-current strong[data-option-label]::after{
    content:" (" attr(data-option-label) ")";
    margin-inline-start:3px;
    color:#858581;
    font-size:10px;
    font-weight:450;
}

#cc82Options .cc82-generic-current small{
    margin-top:1px;
    font-size:9.4px;
    line-height:1.45;
    font-weight:480;
    color:#929292;
}

#cc82Options .cc82-generic-current small.has-price{
    color:#7d6539;
    font-weight:540;
}
#cc82Options .cc82-secondary{
    border:1px solid #ddddda;
    border-radius:5px;
    background:#fff;
    color:#494949;
    font-family:inherit;
    font-size:11.1px;
    font-weight:650;
    cursor:pointer;
}
#cc82Options .cc82-secondary:hover{
    border-color:#c9c9c5;
    color:#c90e13;
    background:#fafaf9;
}

#cc82Options .cc82-select-panel{
    max-height:280px;
    overflow-y:auto;
}

#cc82Options .cc82-select-panel button{
    position:relative;
    width:100%;
    min-height:38px;
    padding:7px 9px;
    border:0;
    border-radius:4px;
    background:#fff;
    display:grid;
    grid-template-columns:1fr auto 18px;
    align-items:center;
    gap:8px;
    text-align:right;
    font-family:inherit;
    cursor:pointer;
}

#cc82Options .cc82-select-panel button + button{
    margin-top:1px;
}

#cc82Options .cc82-select-panel button:hover{
    background:#f7f7f5;
}

#cc82Options .cc82-select-panel button.active{
    background:#f7faf8;
}

#cc82Options .cc82-select-panel button .cc270-option-name{
    font-size:11.3px;
    font-weight:620;
    color:#464646;
}

#cc82Options .cc82-select-panel button .cc270-option-price{
    font-size:9.5px;
    color:#929292;
    white-space:nowrap;
}

#cc82Options .cc82-select-panel button i{
    display:none;
    width:14px;
    height:14px;
    border-radius:50%;
    place-items:center;
    background:#2f9b63;
    color:#fff;
    font-size:7px;
    font-style:normal;
}

#cc82Options .cc82-select-panel button.active i{
    display:grid;
}

#cc82Options .cc82-sep{
    display:block;
    width:100%;
    height:1px;
    min-height:1px;
    margin:0;
    border:0;
    background:#f0f0ee;
}

#cc82Options .cc277-many-options{
    max-height:286px;
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior:contain;
    scrollbar-width:thin;
}

#cc82Options .cc82-secondary:focus-visible,
#cc82Options .cc82-select-panel button:focus-visible{
    outline:2px solid #d71920;
    outline-offset:2px;
}

@media (max-width:820px){

    #cc82Options .cc82-row{
        padding:11px 0;
    }
}
/* CRP2026 — Dynamic Body/Door Color UI */
[data-color-row]{
    position:relative;
    display:grid;
    padding:9px 0;
    direction:ltr;
    border-bottom:1px solid #f0f0ee;
}
[data-color-row] .cc82-current{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    direction:rtl;
}

[data-color-row] .cc82-body-preview{
    width:87px;
    height:43px;
    flex:0 0 87px;
    background:#f1f1ef center/cover no-repeat;
}

[data-color-row] .cc82-door-preview{
    width:87px;
    height:109px;
    flex:0 0 87px;
    background:#f1f1ef center/cover no-repeat;
}

[data-color-row] .cc82-value-name{
    max-width:150px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10.5px;
    font-weight:430;
    color:#969696;
}

[data-color-row] .cc82-inline-label{
    color:#858783;
    font-size:10.7px;
    font-weight:470;
}

[data-color-row] .cc82-secondary{
    border:1px solid #ddddda;
    border-radius:5px;
    background:#fff;
    color:#494949;
    font-family:inherit;
    font-size:11.1px;
    font-weight:650;
    cursor:pointer;
}
[data-color-row] .cc82-secondary:hover{
    border-color:#c9c9c5;
    color:#c90e13;
    background:#fafaf9;
}

[data-color-row] .cc82-palette{
    direction:rtl;
}

[data-color-row] .cc82-swatch{
    position:relative;
    width:72px;
    height:106px;
    margin:0;
    padding:4px 1px;
    display:grid;
    grid-template-rows:56px 20px 18px;
    gap:2px;
    align-items:start;
    justify-items:center;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    font-family:inherit;
    cursor:pointer;
}

[data-color-row] .cc82-swatch:hover{
    background:#f8f8f6;
}

[data-color-row] .cc82-swatch > .cc82-color-image{
    width:52px;
    height:52px;
    object-fit:cover;
    border-radius:2px;
    border:1px solid rgba(0,0,0,.08);
}

[data-color-row] .cc270-option-name{
    width:100%;
    font-size:10.8px;
    font-weight:680;
    text-align:center;
    color:#343537;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

[data-color-row] .cc270-option-price{
    width:100%;
    font-size:8.8px;
    font-weight:500;
    text-align:center;
    color:#8a6c35;
    white-space:nowrap;
}

[data-color-row] .cc270-option-price.cc270-zero{
    visibility:hidden;
}

[data-color-row] .cc270-check{
    position:absolute;
    display:none;
    top:42px;
    right:13px;
    width:16px;
    height:16px;
    border-radius:50%;
    place-items:center;
    background:#1f9d55;
    color:#fff;
    font-size:8px;
    font-weight:800;
    font-style:normal;
    box-shadow:0 0 0 2px #fff;
}

[data-color-row] .cc82-swatch.active .cc270-check{
    display:grid;
}

[data-color-row] button:focus-visible{
    outline:2px solid #d71920;
    outline-offset:2px;
}
/* CRP2026 — Unavailable Color Option */
[data-color-row] .cc82-swatch.is-unavailable{
    opacity:.58;
    cursor:not-allowed;
}

[data-color-row] .cc82-swatch.is-unavailable:hover{
    background:transparent;
}

[data-color-row] .cc82-swatch.is-unavailable .cc82-color-image{
    filter:grayscale(.45);
    opacity:.72;
}

[data-color-row] .cc82-swatch.is-unavailable .cc270-option-name{
    color:#888985;
}

[data-color-row] .cc82-swatch.is-unavailable .cc270-option-price.cc270-unavailable{
    visibility:visible;
    color:#a15b5b;
    font-weight:650;
}

/* CRP2026 — Dynamic Hinge UI */
@media (max-width:820px){
    [data-color-row]{
        padding:11px 0;
    }
}
[data-hinge-row]{
    position:relative;
    display:grid;
    padding:9px 0;
    direction:ltr;
    border-bottom:1px solid #f0f0ee;
}

[data-hinge-row] .cc82-current{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    direction:rtl;
}

[data-hinge-row] .cc82-hinge-preview{
    width:87px;
    height:58px;
    flex:0 0 87px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#fbfbfa center/contain no-repeat;
    overflow:hidden;
}

[data-hinge-row] .cc82-value-name{
    max-width:170px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-size:10.5px;
    font-weight:430;
    color:#969696;
}

[data-hinge-row] .cc82-inline-label{
    color:#858783;
    font-size:10.7px;
    font-weight:470;
}

[data-hinge-row] .cc82-secondary{
    border:1px solid #ddddda;
    border-radius:5px;
    background:#fff;
    color:#494949;
    font-family:inherit;
    font-size:11.1px;
    font-weight:650;
    cursor:pointer;
}
[data-hinge-row] .cc82-secondary:hover{
    border-color:#c9c9c5;
    color:#c90e13;
    background:#fafaf9;
}

[data-hinge-row] .cc82-select-panel{
    direction:rtl;
}

[data-hinge-row] .cc270-option-card{
    position:relative;
    display:grid;
    align-items:start;
    justify-items:center;
    border:0;
    background:transparent;
    font-family:inherit;
    cursor:pointer;
}

[data-hinge-row] .cc270-option-card:hover{
    background:#f8f8f6;
}

[data-hinge-row] .cc270-option-visual{
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}


[data-hinge-row] .cc270-option-name{
    width:100%;
    font-size:10.8px;
    font-weight:680;
    text-align:center;
    color:#343537;
    white-space:nowrap;
}

[data-hinge-row] .cc270-option-price{
    width:100%;
    font-size:8.8px;
    font-weight:500;
    text-align:center;
    color:#8a6c35;
    white-space:nowrap;
}

[data-hinge-row] .cc270-option-price.cc270-zero{
    visibility:hidden;
}

[data-hinge-row] .cc270-check{
    position:absolute;
    display:none;
    width:16px;
    height:16px;
    border-radius:50%;
    place-items:center;
    background:#1f9d55;
    color:#fff;
    font-size:8px;
    font-weight:800;
    font-style:normal;
    box-shadow:0 0 0 2px #fff;
}

[data-hinge-row] .cc270-option-card.active .cc270-check{
    display:grid;
}

[data-hinge-row] button:focus-visible{
    outline:2px solid #d71920;
    outline-offset:2px;
}

@media (max-width:820px){

    [data-hinge-row]{
        padding:11px 0;
    }

}
/* CRP2026 — Unified Config Layout */

.pd-config > .row{
    margin-left:0 !important;
    margin-right:0 !important;
}

.pd-config-options,
.pd-config-purchase{
    padding-left:0 !important;
    padding-right:0 !important;
}

.pd-config-purchase .cc74-footer,
.pd-config-purchase .pd-buy-trust{
    width:100% !important;
}
/* CRP2026 — Purchase Decision Summary */

.cr290-decision-block{
    width:100%;
    box-sizing:border-box;
    margin:8px 0 0;
    border:1px solid #e5e5e1;
    border-radius:6px;
    overflow:hidden;
    background:#fbfbf9;
    direction:rtl;
    text-align:right;
}
.cr290-decision-block .cr248-selection-summary{
    width:100%;
    min-height:36px;
    box-sizing:border-box;
    margin:0;
    padding:7px 2px 6px;
    display:flex;
    align-items:center;
    gap:7px;
    border:0;
background:#fbfbf9;
}

.cr290-decision-block .cr248-selection-summary > span{
    flex:0 0 auto;
    padding:0;
    line-height:1.5;
    white-space:nowrap;
}

.cr290-decision-block .cr248-selection-summary > span::after{
    content:":";
}

.cr290-decision-block .cr248-selection-summary > strong{
    min-width:0;
    flex:1 1 auto;
    line-height:1.55;
    white-space:normal;
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
}
.cr290-decision-block .cr248-prep{
    width:100%;
    min-height:29px;
    box-sizing:border-box;
    padding:5px 10px 6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    border-top:1px solid #eeeeeb;
    background:#fff;
    color:#686965;
    font-size:10.5px;
    line-height:1.5;
    font-weight:540;
}

.cr291-prep-copy{
    min-width:0;
    display:inline-flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
}

.cr291-prep-copy svg{
    width:14px;
    height:14px;
    flex:0 0 14px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.6;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.cr291-cta-total{
    flex:0 0 auto;
    display:inline-flex;
    align-items:baseline;
    gap:5px;
    padding-right:12px;
    border-right:1px solid #e8e8e4;
    white-space:nowrap;
    color:#30312f;
}

.cr291-cta-total small{
    line-height:1.35;
}

.cr291-cta-total strong{
    line-height:1.35;
}

.cr290-decision-block + .cc74-footer{
    margin-top:7px !important;
    padding-top:8px !important;
    border-top:0 !important;
}

@media (max-width:820px){

    .cr290-decision-block .cr248-prep{
        gap:8px;
    }

    .cr291-prep-copy{
        font-size:10px;
    }

    .cr291-cta-total{
        padding-right:8px;
        gap:4px;
    }


}
/* CRP2026 — Purchase Row Alignment */

@media (min-width:821px){

    .pd-config-purchase .cc74-footer{
        grid-template-columns:92px minmax(0,1fr) !important;
        column-gap:12px !important;
    }

    .pd-config-purchase .cc74-qty{
        grid-column:1 !important;
    }

    .pd-config-purchase .cc74-add{
        grid-column:2 !important;
    }
}
/* CRP2026 — Purchase Trust */

.cr294-trust{
    margin-top:4px !important;
    min-height:21px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:7px !important;
    padding-right:104px !important;
    color:#6f716c !important;
    font-size:10.4px !important;
    line-height:1.45 !important;
    font-weight:540 !important;
    white-space:nowrap !important;
}

.cr294-trust i{
    width:3px !important;
    height:3px !important;
    flex:0 0 3px !important;
    border-radius:50% !important;
    background:#c8c8c4 !important;
}

@media (max-width:820px){
    .cr294-trust{
        padding-right:0 !important;
        justify-content:center !important;
        flex-wrap:wrap !important;
        white-space:normal !important;
    }
}
 /* CRP2026 — Purchase Typography */

.cr290-decision-block .cr248-selection-summary > span{
    color:#747671 !important;
    font-size:10.7px !important;
    font-weight:620 !important;
}

.cr290-decision-block .cr248-selection-summary > strong{
    color:#30322f !important;
    font-size:11.3px !important;
    font-weight:710 !important;
}

.cr291-prep-copy{
    color:#62645f !important;
    font-weight:560 !important;
}

.cr291-cta-total small{
    color:#777975 !important;
    font-size:9.7px !important;
    font-weight:540 !important;
}

.cr291-cta-total strong{
    color:#242624 !important;
    font-size:11.6px !important;
    font-weight:840 !important;
}
/* CRP2026 — Selector Controls */

[data-color-row] .cc82-secondary,
[data-hinge-row] .cc82-secondary,
#cc82Options .cc82-secondary{
    width:102px !important;
    min-width:102px !important;
    max-width:102px !important;

    height:36px !important;
    min-height:36px !important;
    max-height:36px !important;

    margin:0 !important;
    padding:0 10px 0 25px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;

    position:relative !important;
    box-sizing:border-box !important;

    line-height:1 !important;
}

[data-color-row] .cc82-secondary::after,
[data-hinge-row] .cc82-secondary::after,
#cc82Options .cc82-secondary::after{
    content:"" !important;
    position:absolute !important;
    left:10px !important;
    top:50% !important;

    width:6px !important;
    height:6px !important;

    border-left:1.5px solid #666 !important;
    border-bottom:1.5px solid #666 !important;

    transform:translateY(-65%) rotate(-45deg) !important;
    transition:transform .12s ease !important;
}

[data-color-row] .cc82-secondary[aria-expanded="true"]::after,
[data-hinge-row] .cc82-secondary[aria-expanded="true"]::after,
#cc82Options .cc82-secondary[aria-expanded="true"]::after{
    transform:translateY(-30%) rotate(135deg) !important;
}
/* CRP2026 — Selector Panel Geometry */

[data-color-row],
[data-hinge-row],
#cc82Options .cc82-row{
    grid-template-columns:102px minmax(0,1fr) !important;
    grid-template-rows:36px auto !important;
    column-gap:15px !important;
    row-gap:8px !important;
    align-items:start !important;
    min-height:0 !important;
}

/* Trigger — fixed first row */
[data-color-row] .cc82-secondary,
[data-hinge-row] .cc82-secondary,
#cc82Options .cc82-secondary{
    grid-column:1 !important;
    grid-row:1 !important;
    align-self:start !important;
    justify-self:start !important;
}

/* Preview stays independent from panel height */
[data-color-row] .cc82-current,
[data-hinge-row] .cc82-current{
    grid-column:2 !important;
    grid-row:1 / span 2 !important;
    align-self:start !important;
}

#cc82Options .cc82-generic-current{
    grid-column:2 !important;
    grid-row:1 !important;
    align-self:center !important;
}

/* Every panel starts exactly 8px below its button */
[data-color-row] .cc82-palette,
[data-hinge-row] .cc82-select-panel,
[data-generic-panel]{
    justify-self:start !important;

    width:246px !important;
    min-width:246px !important;
    max-width:246px !important;

    padding:9px !important;

    box-sizing:border-box !important;
    border:1px solid #dfdfdc !important;
    border-radius:5px !important;
    background:#fff !important;
    box-shadow:0 5px 14px rgba(0,0,0,.05) !important;
}

/* Color */
[data-color-row] .cc82-palette:not([hidden]){
    display:grid !important;
    grid-template-columns:repeat(3,72px) !important;
    grid-auto-rows:106px !important;
    gap:5px !important;
}

/* Hinge */
[data-hinge-row] .cc82-select-panel:not([hidden]){
    display:flex !important;
    flex-wrap:nowrap !important;
    align-items:flex-start !important;
    justify-content:center !important;
    gap:18px !important;
}

[data-hinge-row] .cc270-option-card{
    flex:0 0 82px !important;
    width:82px !important;
    min-width:82px !important;
    max-width:82px !important;

    height:106px !important;
    min-height:106px !important;
    max-height:106px !important;

    margin:0 !important;
    padding:4px 2px 6px !important;

    grid-template-rows:60px 22px 16px !important;
    gap:1px !important;
}

[data-hinge-row] .cc270-option-visual{
    width:62px !important;
    height:62px !important;
}

[data-hinge-row] .cc270-option-visual img{
    width:60px !important;
    height:60px !important;
    object-fit:contain !important;
}

[data-hinge-row] .cc270-check{
    top:47px !important;
    right:7px !important;
}

/* Generic */
[data-generic-panel]:not([hidden]){
    display:flex !important;
    flex-wrap:wrap !important;
    align-items:flex-start !important;
    justify-content:center !important;
    column-gap:6px !important;
    row-gap:7px !important;
}

[data-generic-panel] > button{
    position:relative !important;

    flex:0 0 66px !important;
    width:66px !important;
    min-width:66px !important;
    max-width:66px !important;

    height:62px !important;
    min-height:62px !important;
    max-height:62px !important;

    margin:0 !important;
    padding:7px 3px 5px !important;

    display:grid !important;
    grid-template-columns:1fr !important;
    grid-template-rows:26px 20px !important;
    gap:2px !important;

    align-items:center !important;
    justify-items:center !important;
}

[data-generic-panel].cc82-small-select > button{
    flex-basis:96px !important;
    width:96px !important;
    min-width:96px !important;
    max-width:96px !important;
}

[data-generic-panel].cc82-small-select > button:only-of-type{
    flex-basis:132px !important;
    width:132px !important;
    min-width:132px !important;
    max-width:132px !important;
}

[data-generic-panel] > button .cc270-option-name{
    grid-row:1 !important;
    width:100% !important;
    line-height:26px !important;
    text-align:center !important;
}

[data-generic-panel] > button .cc270-option-price{
    grid-row:2 !important;
    width:100% !important;
    line-height:20px !important;
    text-align:center !important;
}

[data-generic-panel] > button > i{
    position:absolute !important;
    top:5px !important;
    right:4px !important;
}
/* Many options — subtle row separators */
[data-generic-panel].cc277-many-options > button:nth-of-type(n+4)::before{
    content:"";
    position:absolute;
    top:-4px;
    left:-3px;
    right:-3px;
    height:1px;
    background:#eeeeeb;
    pointer-events:none;
}
/* Hidden must always win */
[data-color-row] .cc82-palette[hidden],
[data-hinge-row] .cc82-select-panel[hidden],
[data-generic-panel][hidden]{
    display:none !important;
}
/* CRP2026 — Selector Panel Overlay */

[data-color-row],
[data-hinge-row],
#cc82Options .cc82-row{
    overflow:visible !important;
}

[data-color-row] .cc82-palette,
[data-hinge-row] .cc82-select-panel,
[data-generic-panel]{
    position:absolute !important;

    grid-column:auto !important;
    grid-row:auto !important;

    left:0 !important;
    right:auto !important;

    top:47px !important;

    margin:0 !important;
    z-index:60 !important;
}

@media (max-width:820px){
    [data-color-row] .cc82-palette,
    [data-hinge-row] .cc82-select-panel,
    [data-generic-panel]{
        top:49px !important;
    }
}

/* =========================================================
   CRP2026 — Product Detail Cart Success
   ========================================================= */

.pd-cart-success{
    margin-top:9px;
    padding:12px;
    border:1px solid #dfe5df;
    border-radius:6px;
    background:#fbfdfb;
    box-sizing:border-box;
    direction:rtl;
}

.pd-cart-success[hidden]{
    display:none !important;
}

.pd-cart-success-head{
    display:flex;
    align-items:flex-start;
    gap:9px;
}

.pd-cart-success-icon{
    width:22px;
    height:22px;
    flex:0 0 22px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#eaf5ee;
    color:#23824d;
    font-size:12px;
    font-weight:900;
    line-height:1;
}

.pd-cart-success-copy{
    min-width:0;
}

.pd-cart-success-copy strong{
    display:block;
    color:#252725;
    font-size:12.2px;
    line-height:1.5;
    font-weight:820;
}

.pd-cart-success-copy small{
    display:block;
    margin-top:2px;
    color:#777975;
    font-size:9.9px;
    line-height:1.65;
    font-weight:480;
}

.pd-cart-success-actions{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:8px;
    margin-top:11px;
}

.pd-cart-success-actions a{
    min-height:42px;
    box-sizing:border-box;
    border-radius:6px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 12px;
    font-family:inherit;
    font-size:11.5px;
    line-height:1;
    font-weight:760;
    text-decoration:none;
    cursor:pointer;
}

.pd-continue-shopping{
    border:1px solid #e10d12;
    background:#e10d12;
    color:#fff !important;
}

.pd-continue-shopping:hover{
    background:#ca0d12;
    border-color:#ca0d12;
}

.pd-view-cart{
    border:1px solid #d9d9d5;
    background:#fff;
    color:#363735 !important;
}

.pd-view-cart:hover{
    border-color:#c3c3be;
    background:#f8f8f6;
}

.pd-cart-success-actions svg{
    width:15px;
    height:15px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.cc74-footer.is-added{
    display:none !important;
}

.pd-buy-trust.is-added{
    display:none !important;
}

@media (max-width:820px){
    .pd-cart-success-actions{
        grid-template-columns:1fr;
    }
}
