/* Kitchen PDP Component Styles */

.cmp-kitchen-pdp *{
    box-sizing: border-box;
    font-family: 'Archivo';
    
}

.cmp-kitchen-pdp {
    max-width: 1440px;
    margin: 0 auto;
    font-family: 'Archivo', Arial, sans-serif;
    background-color: #ffffff;
}

.cmp-kitchen-pdp__container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 120px;
}

/* Gallery Section */
.cmp-kitchen-pdp__gallery {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 55%;
    flex: 0 0 55%;
}

/* Gallery variants */
.cmp-kitchen-pdp__gallery-desktop {
    display: block;
}

.cmp-kitchen-pdp__gallery-mobile {
    display: none;
}

.cmp-kitchen-pdp__hero-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 12px;
    background: #f5f5f5;
    height:470px;
}

.cmp-kitchen-pdp__hero-img {
    width: 100%;
    height: auto;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 4/3;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.cmp-kitchen-pdp__hero-wrapper:hover .cmp-kitchen-pdp__hero-img {
    -webkit-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
}

/* Thumbnail Grid - 2 columns */
.cmp-kitchen-pdp__thumbnails {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.cmp-kitchen-pdp__thumb-item {
    overflow: hidden;
    cursor: pointer;
}

.cmp-kitchen-pdp__thumb-item--active {
    border-color: #333;
}

.cmp-kitchen-pdp__thumb-item:hover {
    border-color: #999;
}

.cmp-kitchen-pdp__thumb-img {
    width: 100%;
    height: auto;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 4/3;
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.cmp-kitchen-pdp__thumb-item:hover .cmp-kitchen-pdp__thumb-img {
    -webkit-transform: scale(1.01);
    -ms-transform: scale(1.01);
    transform: scale(1.01);
}

/* Info Section */
.cmp-kitchen-pdp__info {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 40%;
    flex: 1 1 40%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-top:13px ;
}

.cmp-kitchen-pdp__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.3;
    color: #202129;
    margin: 0 0 20px;
}

.cmp-kitchen-pdp__price {
    font-size: 20px;
    font-weight: 400;
    color: #202129;
    margin-bottom: 40px;
}

.cmp-kitchen-pdp__price-value {
    font-size: 20px;
    font-weight: 600;
    color: #202129;
}

.cmp-kitchen-pdp__price-tax {
    font-size: 10px;
    color: #74798A;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0;
}

/* Shutter Finish */
.cmp-kitchen-pdp__finish {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    margin-bottom: 40px;
}

.cmp-kitchen-pdp__finish-label {
    font-size: 16px;
    letter-spacing: 0;
    color: #74798A;
    font-weight: 300;
}

.cmp-kitchen-pdp__finish-value {
    font-size: 16px;
    font-weight: 400;
    color: #202129;
    line-height: 126%;
    letter-spacing: 0;
}

/* Colours Section */
.cmp-kitchen-pdp__colors-section {
    margin-bottom: 40px;
}

.cmp-kitchen-pdp__colors-label {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 40px;
}

.cmp-kitchen-pdp__colors-text {
    font-size: 16px;
    letter-spacing: 0;
    color: #74798A;
    font-weight: 300;
}

.cmp-kitchen-pdp__colors-name {
    font-size: 16px;
    font-weight: 400;
    color: #202129;
}

/* Color Swatches */
.cmp-kitchen-pdp__swatches {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.cmp-kitchen-pdp__swatch {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid #F7EBDB;
    -webkit-transition: border-color 0.2s ease;
    -o-transition: border-color 0.2s ease;
    transition: border-color 0.2s ease;
}

.cmp-kitchen-pdp__swatch--active {
    border-color: #333;
}

.cmp-kitchen-pdp__swatch-circle {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* CTA Section */
.cmp-kitchen-pdp__cta-section {
    margin-bottom: 15px;
}

.cmp-kitchen-pdp__buy-label {
    font-size: 20px;
    font-weight: 600;
    color: #202129;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: start;
}

.cmp-kitchen-pdp__cta-find-store {
       width: 100%;
    padding: 18px 0;
    background-color: #202129;
    color: #ffffff;
    text-decoration: none;
    border: none;
    font-family: inherit;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 500;
    width: 360px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap:18px;
}

.cmp-kitchen-pdp__cta-find-store img{
    width: 20px;
    height: 20px;
}


.cmp-kitchen-pdp__cta-icon {
    width: 16px;
    height: 16px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* Action Buttons (Wishlist + Share) */

    .cmp-kitchen-pdp__trending-badge{
        font-family: 'Archivo';
        font-weight: 400;
        font-size: 12px;
        line-height: 140%;
        letter-spacing: 0%;
        display: block;
        border: 1px solid #CACBCC;
        border-radius: 4px;
        padding: 4px 10px;

    }

.cmp-kitchen-pdp__actions-container{
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}
.cmp-kitchen-pdp__actions {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-top: 4px;
}

.cmp-kitchen-pdp__action-container{
    display: flex;
    gap: 10px;
}

.cmp-kitchen-pdp__action-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transition: opacity 0.2s ease;
    -o-transition: opacity 0.2s ease;
    transition: opacity 0.2s ease;
}


.cmp-kitchen-pdp__action-btn--wishlist {
    gap: 6px;
}

.cmp-kitchen-pdp__wishlist-icon {
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: -webkit-transform 0.2s ease;
    transition: -webkit-transform 0.2s ease;
    -o-transition: transform 0.2s ease;
    transition: transform 0.2s ease;
    transition: transform 0.2s ease, -webkit-transform 0.2s ease;
}

.cmp-kitchen-pdp__accordion {
    border-bottom: 1px solid #eee;
}

.cmp-kitchen-pdp__accordion-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 23px 0;
    cursor: pointer;
    font-family: 'Archivo', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    font-variant-numeric: lining-nums tabular-nums;
    color: #000000;
}

.cmp-kitchen-pdp__accordion-title {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
}


.cmp-kitchen-pdp__accordion-icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.cmp-kitchen-pdp__accordion--open .cmp-kitchen-pdp__accordion-icon {
    transform: rotate(180deg);
}


.cmp-kitchen-pdp__accordion-content {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
    -o-transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
    transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
    padding: 0 16px 0 0;
}

.cmp-kitchen-pdp__accordion--open .cmp-kitchen-pdp__accordion-content {
    max-height: 500px;
}

/* Material Details Table */
.cmp-kitchen-pdp__material-table {
    width: 100%;
    border-collapse: collapse;
}


.cmp-kitchen-pdp__material-row:last-child {
    border-bottom: none;
}

.cmp-kitchen-pdp__material-key {
    padding: 10px 12px 10px 0;
    font-size: 13px;
    color: #74798A;
    width: max-content;
    vertical-align: top;
}

.cmp-kitchen-pdp__material-value {
    padding: 10px 0;
    font-size: 13px;
    color: #3B3D40;
    font-weight: 500;
    text-align: left;
}

/* Rich Text */
.cmp-kitchen-pdp__rich-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.cmp-kitchen-pdp__rich-text p {
    margin: 0 0 12px;
}

.cmp-kitchen-pdp__rich-text ul {
    padding-left: 20px;
    margin: 0 0 12px;
}

.cmp-kitchen-pdp__rich-text li {
    margin-bottom: 6px;
}

.cmp-kitchen-pdp__rich-text strong {
    color: #333;
}

/* Mobile Sticky Bar */
.cmp-kitchen-pdp__sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
    -webkit-box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 100;
    gap: 10px;
}

.cmp-kitchen-pdp__sticky-btn {
    font-family: Archivo;
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: 0%;

}

.cmp-kitchen-pdp__sticky-btn img{
     width: 20px;
     height: 20px;
}

.cmp-kitchen-pdp__sticky-btn--buy {
    color: #202129;
    border: none;
    text-align: start;
    background-color: #fff;

}

.cmp-kitchen-pdp__sticky-btn--find {
    background: #202129;
    color: #fff;
    border: 1px solid #202129;
    flex: 1;
    padding: 12px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 6px;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .cmp-kitchen-pdp {
        padding: 20px 30px;
    }

    .cmp-kitchen-pdp__container {
        gap: 24px;
    }

    .cmp-kitchen-pdp__gallery {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .cmp-kitchen-pdp__info {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 45%;
        flex: 1 1 45%;
        max-width: 45%;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .cmp-kitchen-pdp {
        padding: 0;
    }

        /* Mobile Sticky Bar */
    .cmp-kitchen-pdp__sticky-bar {
        display: block;
    }

    .bottom_navigation__icons_wrapper{
        display: none;
    }

    .cmp-kitchen-pdp__container {
        display: block;
        margin-bottom: 50px;
    }

    .cmp-kitchen-pdp__gallery {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        position: static;
    }

    /* Hide desktop gallery; show mobile carousel */
    .cmp-kitchen-pdp__gallery-desktop {
        display: none;
    }

    .cmp-kitchen-pdp__gallery-mobile.cmp-kitchen-pdp__slider {
        display: block;
        margin: 0;
        max-width: 100vw;
        width: 100vw;
        box-sizing: border-box;
    }

    /* Carousel slides – one image per slide at 100vw height */
    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set {
        margin: 0;
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-list,
    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-track {
        height: 100vw;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-slide {
        height: 100vw;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-slide .cmp-kitchen-pdp__image-item {
        width: 100%;
        height: 100vw;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .cmp-kitchen-pdp__image {
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -webkit-transition: -webkit-transform 0.3s ease;
        transition: -webkit-transform 0.3s ease;
        -o-transition: transform 0.3s ease;
        transition: transform 0.3s ease;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .cmp-kitchen-pdp__image-item:hover .cmp-kitchen-pdp__image {
        -webkit-transform: scale(1.01);
        -ms-transform: scale(1.01);
        transform: scale(1.01);
    }

    /* Slick dots – pill style */
    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-dots {
        position: static;
        padding-bottom: 8px;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-dots li {
        position: relative;
        display: inline-block;
        height: 2px;
        border-radius: 50px;
        padding: 0;
        background-color: #00000026;
        margin: 0 2.5px;
        width: 35px;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-dots li.slick-active {
        background-color: #000000;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-dots li button:before {
        display: none;
        color: #202129;
    }

    .cmp-kitchen-pdp__slider .cmp-kitchen-pdp__image-set .slick-dots li button {
        display: none;
    }

    .cmp-kitchen-pdp__info {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding: 16px;
    }

    .cmp-kitchen-pdp__title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .cmp-kitchen-pdp__price {
      margin-bottom: 24px;   
    }

    .cmp-kitchen-pdp__price-value {
        font-size: 14px;
    }

    .cmp-kitchen-pdp__cta-section {
        display: none;
    }

    .cmp-kitchen-pdp__actions {
        display: none;
    }

    .cmp-kitchen-pdp__sticky-bar {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    /* Prevent content from being hidden behind sticky bar */
    .cmp-kitchen-pdp__container {
       margin-bottom: 0px;
    }

    .cmp-kitchen-pdp__material-key,
    .cmp-kitchen-pdp__material-value {
        font-size: 14px;
        padding: 12.5px 8px 12.5px 0;
    }

    .cmp-kitchen-pdp__accordion-title {
        font-size: 13px;
    }

    .cmp-kitchen-pdp__colors-section,.cmp-kitchen-pdp__finish{
        margin-bottom: 24px;
    }



    .cmp-kitchen-pdp__colors-label{
        margin-bottom: 10px;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {

    .cmp-kitchen-pdp__title {
        font-size: 16px;
    }

    .cmp-kitchen-pdp__swatch {
        width: 40px;
        height: 40px;
    }
}

/* Kitchen PDP Share dialog (from product_details share dialog) */
.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 40, 43, 0.5);
    z-index: 1000;
}


@media (max-width: 991.98px) {
    .cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__container {
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        top: 50%;
        right: unset;
        bottom: unset;
        left: 50%;
        min-width: 95%;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
    }
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__body {
    text-align: center;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__cta {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__cta a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-decoration: none;
    color: #000;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__cta a:hover {
    opacity: 0.8;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__cta a img {
    width: 56px;
    height: 56px;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__cta a span {
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-left: 4px;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .dialog__header-cta .btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cmp-kitchen-pdp .dialog-share-item.cmp-kitchen-pdp__share-dialog .btn__text {
    display: inline-block;
    color:#202129;
}
