/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
.block.deo_slideshow.DeoSlideshow .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block.banner.banner-style-two.effect-zoom.DeoImage .image_description {
    position: absolute;
    bottom: 0;
    margin: 0;
    text-transform: uppercase;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: end;
    font-weight: 600;
    padding: 0 15px 35px;
    border-right: 4px;
    background: linear-gradient(to top, #0000003d 20%, #ffffff00);
}

.block.banner.banner-style-two.effect-zoom.DeoImage .image_description > * {
    font-size: 20px;
    color: #ffffff;
}

html[lang="lt-LT"] .bootstrap-filestyle .buttonText {
    display: none;
}

html[lang="lt-LT"] .bootstrap-filestyle .icon-span-filestyle::after {
    content: 'Pasirinkti failą';
    visibility: visible;
    display: block;
    top: 10px;
}

.input-group .input-group-btn > .btn {
    padding: 9px 16px;
}

.re-contact-form-stores .icon, .sc-icon {
    display: inline-flex;
}

.item-gray-rounded, .sc-icon.gray, .deo-nav-mobile .mobile i.current.lang, .deo-nav-mobile .mobile i:not(.sc-icon) {
    padding: 8px 16px;
    border-radius: 40px;
    border: 0.2px solid #D5D5D5;
}

.sc-icon.gray, .item-gray-rounded {
    border: unset;
}

.sc-icon.gray:hover, .item-gray-rounded:hover {
    background-color: #F5F5F5;
}

.deo-nav-mobile .mobile i:not(.sc-icon), .deo-nav-mobile .mobile i.sc-icon.current.lang {
    padding: 18px;
}

.sc-icon.lang {
    margin-right: 4px;
}

.sc-icon.lt {
    content: url('../img/lt.svg');
}

.sc-icon.en {
    content: url('../img/en.svg');
}

.sc-icon.gray {
    padding: 8px;
    border-radius: 50%;
}

.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.topnav, .bottomnav {
    border: unset !important;
}

.popup-over:not(.search-widget) {
    padding: 7px 0 !important;
}

.box-middle-header .logo {
    padding: 10px;
}

#contact-link {
    gap: 4px;
}

.deo-count-feature {
    margin: 0 8px;
}

.header-top {
    background: #ffffff !important;
}

.home-section-custom {
    position: relative;
    margin-top: 80px;
    margin-bottom: 80px;
}

.home-section-custom.has-bg {
    padding: 80px 0;
    margin-top: 0;
    margin-bottom: 0;
}

.home-section-custom.has-bg.block-newsletter {
    padding: 70px 0 80px;
}

.home-section-custom.block-gallery {
    margin-top: 90px;
    margin-bottom: 90px;
}

.home-section-contact-form {
    padding: 84px 0;
}

.home-section-custom.block-products h1, .page-home .title_block, .footer-container .block_newsletter .title_block,
#reinstagram h3 {
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.page-home .sub-title-widget, .block-newsletter .description.sub-title-widget {
    text-align: center;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 0.96px;
    margin-bottom: 68px;
}

.home-section-custom.block-gallery .title_block, .home-section-custom.block-contact-form .title_block, .footer-container .block_newsletter .title_block,
#reinstagram h3 {
    font-size: 30px;
}

.home-section-custom.block-contact-form .title_block, .footer-container .block_newsletter .title_block {
    letter-spacing: 1.36px;
}

.home-section-custom.block-blog .sub-title-widget, .block-newsletter .description.sub-title-widget {
    font-size: 16px;
}

@media (max-width: 991px) {
    .block-products .py-3, .block-products .pb-3 {
        padding-bottom: 0 !important;
        padding-top: 0 !important;
    }

    .home-section-custom.block-products h1, .page-home .title_block, .footer-container .block_newsletter .title_block, .about-us.about-us-three h3 {
        font-size: 24px;
    }

    .home-section-custom.block-gallery .title_block, .home-section-custom.block-contact-form .title_block, .footer-container .block_newsletter .title_block {
        font-size: 24px;
    }

    .home-section-custom, .home-section-custom.block-gallery {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .home-section-custom.has-bg {
        padding: 24px 0;
    }

    .home-section-custom.has-bg.block-newsletter {
        padding: 32px 0;
    }

    .page-home .sub-title-widget, .block-newsletter .description.sub-title-widget {
        margin-bottom: 24px;
    }
}

.product-list-custom .product {
    background-color: #ffffff;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.10), 0 0 16px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    margin: 0 2px 24px;
    width: 100%;
    border-radius: 4px;
}

.product-list-custom .product .thumbnail-container {
    margin-bottom: 16px;
}

.product-list-custom .product .thumbnail-container .product-title {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 300;
}

.product-list-custom .product .thumbnail-container .product-image > a {
    width: 149px;
    padding: 15px 0;
    margin: auto;
    height: 150px;
}

.product-list-custom .product .thumbnail-container .product-image > a img {
    height: 100%;
    margin: auto;
}

.product-list-custom .product a {
    font-weight: 300;
    font-size: 14px;
}

.product-list-custom .product .product-price-and-shipping {
    font-weight: 500;
}

.galleries {
    margin: 24px -8px;
}

@media (max-width: 768px) {
    li.product-flag.out_of_stock {
        display: none;
    }

    ul.nav.navbar-nav.megamenu.horizontal {
        flex-direction: column;
    }

    .about-us.about-us-three {
        margin-right: 0;
        background: transparent;
        padding: 10px 0;
        text-align: center;
    }

    .galleries {
        margin-top: 24px;
        margin-bottom: 8px;
    }
}

.home-section-custom.block-contact-form input, .home-section-custom.block-contact-form textarea,
.home-section-custom.block-contact-form .form-control:disabled {
    border: none;
    border-bottom: 0.5px solid #B8B8B8;
    padding: 12px 0;
    background-color: transparent;
    position: relative;
}

.home-section-custom.block-contact-form .form-control:disabled {
    border-bottom: unset;
    padding: 14px 0;
}

.home-section-custom.block-contact-form .group-span-filestyle.input-group-btn > .btn {
    font-size: 14px;
    color: #000;
    background: transparent;
    border-radius: 34px;
    border: 1px solid #343935;
    padding: 12px 24px;
    transition: all 0.5s ease;
}

.home-section-custom.block-contact-form .group-span-filestyle.input-group-btn > .btn:hover {
    color: #ffffff;
    background-color: #343935;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    width: 100%;
    height: 20px;
    border-width: thin;
    background: url("../img/calendar_today.svg") no-repeat;
    position: absolute;
    left: 0;
    bottom: 8px;
}

input::-webkit-datetime-edit-fields-wrapper {
    position: relative;
    left: 25px;
}

input::-webkit-datetime-edit {
    position: relative;
    left: 0;
}

.home-section-contact-form label {
    margin: 0;
    text-align: left;
}

#examples-link {
    color: #2A4877;
    text-decoration-line: underline;
    transition: all 0.5s ease;
}

#examples-link:hover {
    padding-right: 10px;
}

.home-section-custom.block-contact-form #contact-loader {
    border: 5px solid #535353;
    border-bottom-color: #fbfbfb;
}

.slick-arrows {
    width: auto;
    position: static;
}

.slick-arrows .slick-arrow {
    position: absolute;
    top: 50%;
    border: none;
    width: 60px;
    height: 60px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

@media (min-width: 992px) {
    .slick-arrows .slick-arrow {
        height: 60px;
        line-height: 60px;
        visibility: hidden;
        opacity: 0;
        filter: alpha(opacity=0);
    }
}

.slick-arrows .slick-arrow:before {
    line-height: 1;
    color: #FFFFFF;
    -webkit-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
}

.slick-arrows .slick-arrow.slick-prev {
    left: 15px;
}

.slick-arrows .slick-arrow.slick-prev:before {
    content: url("../img/arrow_back.svg");
}

.slick-arrows .slick-arrow.slick-next {
    right: 15px;
}

.slick-arrows .slick-arrow.slick-next:before {
    content: url("../img/arrow_forward.svg");
}

@media (min-width: 992px) {
    .slick-arrows .slick-arrow:hover {
        background: #343935;
        visibility: visible;
        opacity: 1;
        filter: alpha(opacity=100);
    }
}

.home-section-custom.block-blog {
    margin-bottom: 0;
}

.home-section-custom.block-blog .slick-arrows .slick-arrow {
    top: 37%;
}

.home-section-custom.block-blog .slick-arrows .slick-prev,
.home-section-custom.block-blog .slick-arrows .slick-next,
#reinstagram .slick-arrows .slick-prev, #reinstagram .slick-arrows .slick-next,
#retestimonials .slick-arrows .slick-prev, #retestimonials .slick-arrows .slick-next {
    z-index: 1;
    visibility: visible;
    opacity: 1;
    border: 1px solid #EFEFEF;
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
}

.home-section-custom.block-blog .slick-arrows .slick-arrow.slick-prev:before,
#reinstagram .slick-arrows .slick-prev::before,
#retestimonials .slick-arrows .slick-prev::before {
    content: url("../img/arrow_back_black.svg");
}

.home-section-custom.block-blog .slick-arrows .slick-arrow.slick-next:before,
#reinstagram .slick-arrows .slick-next::before,
#retestimonials .slick-arrows .slick-next::before {
    content: url("../img/arrow_forward_black.svg");
}

.home-section-custom.block-blog .slick-arrows .slick-prev:hover,
.home-section-custom.block-blog .slick-arrows .slick-next:hover,
#reinstagram .slick-arrows .slick-prev:hover, #reinstagram .slick-arrows .slick-next:hover,
#retestimonials .slick-arrows .slick-prev:hover, #retestimonials .slick-arrows .slick-next:hover {
    background-color: #343935;
}

.home-section-custom.block-blog .slick-arrows .slick-prev:hover::before,
#reinstagram .slick-arrows .slick-prev:hover::before,
#retestimonials .slick-arrows .slick-prev:hover::before {
    content: url("../img/arrow_back.svg");
}

.home-section-custom.block-blog .slick-arrows .slick-next:hover::before,
#reinstagram .slick-arrows .slick-next:hover::before,
#retestimonials .slick-arrows .slick-next:hover::before {
    content: url("../img/arrow_forward.svg");
}

.home-section-custom.block-blog .slick-arrows .slick-prev, #reinstagram .slick-arrows .slick-prev,
#retestimonials .slick-arrows .slick-prev {
    left: -80px;
}

.home-section-custom.block-blog .slick-arrows .slick-next, #reinstagram .slick-arrows .slick-next,
#retestimonials .slick-arrows .slick-next {
    right: -80px;
}

@media (max-width: 1250px) {
    .home-section-custom.block-blog .slick-arrows .slick-prev, #reinstagram .slick-arrows .slick-prev,
    #retestimonials .slick-arrows .slick-prev {
        background-color: #ffffffd1;
        left: 0;
    }

    .home-section-custom.block-blog .slick-arrows .slick-next, #reinstagram .slick-arrows .slick-next,
    #retestimonials .slick-arrows .slick-next {
        background-color: #ffffffd1;
        right: 0;
    }
}

@media (max-width: 768px) {
    .slick-arrows .slick-arrow.slick-next, .slick-arrows .slick-arrow.slick-prev {
        display: none !important;
    }

    .slick-row {
        margin-left: -8px;
        margin-right: -8px;
    }

    .slick-slide {
        padding-right: 8px;
        padding-left: 8px;
    }
}

.home-section-custom.block-blog .slick-dots, #reinstagram .slick-dots, #retestimonials .slick-dots {
    margin-top: 24px;
}

.home-section-custom.block-blog .slick-dots li button,
#reinstagram .slick-dots li button, #retestimonials .slick-dots li button,
#product .slick-dots li button {
    border-color: #000000;
}

.home-section-custom.block-blog .slick-dots li.slick-active button,
#reinstagram .slick-dots li.slick-active button, #retestimonials .slick-dots li.slick-active button,
#product .slick-dots li.slick-active button {
    background-color: #000000;;
}

.home-section-custom.block-blog .slick-slide .item {
    display: flex;
    height: 100%;
}

.block_newsletter .icon-mail {
    position: absolute;
    top: 13px;
    left: 16px;
}

.block_newsletter form .form-group.block-newsletter-input-wrapper, #reinstagram h3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.block_newsletter form .form-group.block-newsletter-input-wrapper .input-wrapper {
    position: relative;
    max-width: 100%;
}

.block-contact .list-block {
    width: fit-content;
}

.block-contact ul li {
    display: flex;
    padding: 8px 16px;
    align-items: center;
    gap: 10px;
    border: 1px solid #CFCBCB;
    margin-bottom: 8px;
}

.box-bottom-footer .copyright, .box-bottom-footer .made-by {
    display: flex;
    justify-content: space-between;
}

.es-logo {
    color: #91817d;
    font-size: 11px;
    padding: 0;
    line-height: 1.2857em;
    display: flex;
    gap: 10px;
    vertical-align: middle;
    margin: 24px 15px 0 0;
}

.es-logo .text {
    width: 120px;
    min-width: 120px;
    max-width: 100%;
}

.footer-container .wrapper {
    position: relative;
}

.home-section-custom.block-newsletter .DeoColumn {
    float: none;
}

.text-right {
    text-align: right !important;
}

@media (max-width: 767px) {
    .home-section-custom.block-newsletter::after {
        display: none;
    }
}

.box-bottom-footer {
    padding: 24px 0;
    border-top: 0.5px solid #D4D4D4;
}

.block.deo_slideshow.DeoSlideshow .slide-image > .img-fluid {
    height: 575px !important;
    object-fit: cover;
}

.block.deo_slideshow.DeoSlideshow .lazyload-wrapper {
    height: 575px !important;
    padding: 0 !important;
}

.DeoSlideshow .block-slide-container .slide-text {
    /*background-color: #0000005c;*/
    padding: 25px 80px;
}

.DeoSlideshow .first-text {
    font-size: 3rem;
    line-height: 4rem;
}

@media (max-width: 991px) {
    .DeoSlideshow .first-text {
        font-size: 32px;
        line-height: 38px;
    }

    .block.deo_slideshow.DeoSlideshow .slide-image > .img-fluid, .block.deo_slideshow.DeoSlideshow .lazyload-wrapper {
        height: 575px !important;
    }
}

.block.deo_slideshow.DeoSlideshow .slide-image > span.lazyload-wrapper + .img-fluid {
    height: 0 !important;
}

.block.banner.banner-style-two.effect-zoom.DeoImage .lazyload-wrapper, .block.banner.banner-style-two.effect-zoom.DeoImage {
    height: 377px;
}

.block.banner.banner-style-two.effect-zoom.DeoImage img {
    width: 100%;
    height: 377px;
    object-fit: cover;
    border-radius: 4px;
}

@media (max-width: 768px) {
    #reinstagram h3 {
        font-size: 24px;
        margin-bottom: 24px !important;
    }

    .block.banner.banner-style-two.effect-zoom.DeoImage .lazyload-wrapper, .block.banner.banner-style-two.effect-zoom.DeoImage,
    .block.banner.banner-style-two.effect-zoom.DeoImage img {
        height: 230px;
    }

    .block.banner.banner-style-two.effect-zoom.DeoImage {
        margin-bottom: 16px;
    }

    .home-categories-block {
        margin-bottom: 24px !important;
        margin-left: -8px;
        margin-right: -8px;
    }

    .home-categories-block .col-sp-6 {
        padding-left: 8px;
        padding-right: 8px;
    }

    .box-service {
        padding-bottom: 0 !important;
    }
}

.required:after {
    content: " *";
    color: #BF0000;
}

#re-contact-form .file-upload {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 24px;
}

#re-contact-form .file-upload span, #cart-block .header, .button-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.button-wrapper {
    gap: 16px;
}

@media (min-width: 991px) {
    .button-wrapper {
        flex-wrap: unset;
    }
}

#submit-re-contact-form {
    background: #343935;
    color: #FFF;
}

#submit-re-contact-form:hover {
    background-color: #535353;
}

.gallery-item {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

.service.service-center img {
    height: 90px;
    object-fit: contain;
}

.DeoProductList li {
    display: flex;
}

@media (max-width: 768px) {
    .product-list-custom .product {
        margin-bottom: 12px;
    }

    .product_list.product-list-custom {
        margin-right: -6px;
        margin-left: -6px;
    }

    .DeoProductList li {
        padding-left: 6px;
        padding-right: 6px;
    }
}

.re-contact-form {
    padding: 32px;
    background-color: #ffffff;
    border-radius: 4px;
}

.DeoBlogs .blog-meta > span > time {
    color: #000000;
}

#reinstagram a {
    display: flex;
    height: 100%;
}

#reinstagram a img {
    height: 274px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 991px) {
    .box-about-us img {
        padding-right: 56px;
    }
}

.justify-content-center {
    justify-content: center;
}

#index #wrapper {
    padding-bottom: 0;
}

@media (max-width: 767px) {
    #index #content-wrapper .page-home .box-service {
        float: left;
        width: 100%;
    }
    .re-contact-form {
        padding: 24px 24px 8px;
    }

    .re-contact-form label {
        margin-bottom: 0;
    }

    .re-contact-form .bootstrap-filestyle.input-group {
        display: flex;
        flex-direction: column;
    }

    .home-section-custom.block-contact-form .group-span-filestyle.input-group-btn > .btn,
    .re-contact-form .group-span-filestyle.input-group-btn {
        width: 100%;
    }

    #contact-link .sc-icon svg {
        width: 18px;
        height: 18px;
    }

    .sc-icon svg {
        width: 32px;
        height: 32px;
    }

    #footer .sc-icon svg {
        width: 24px;
        height: 24px;
    }

    .item-gray-rounded, .sc-icon.gray, .deo-nav-mobile .mobile i.current.lang, .deo-nav-mobile .mobile i:not(.sc-icon) {
        padding: 3px !important;
    }

    .language-selector-wrapper.popup-over .popup-title {
        padding: 0;
    }

    .btn {
        font-size: 14px;
    }

    .footer-container .block_newsletter .title_block {
        margin-bottom: 8px;
    }

    .block_newsletter form input[type=email] {
        width: 100%;
        padding: 12px 16px 12px 47px;
    }

    .block_newsletter form .form-group.block-newsletter-input-wrapper {
        flex-direction: row;
    }

    .box-middle-footer {
        justify-content: flex-start;
    }

    .box-middle-footer > div {
        margin-bottom: 24px;
    }

    .box-bottom-footer .copyright, .box-bottom-footer .made-by {
        font-size: 13px;
    }

    .DeoAlert .alert {
        padding: 7px 0;
    }

    .about-us.about-us-three p {
        font-size: 14px;
    }

    .service h3 {
        font-size: 16px;
        margin-bottom: 10px;
        -webkit-line-clamp: 3;
        min-height: 72px;
    }

    .service p {
        font-size: 11px;
    }

    .block-contact-form h3 {
        margin: 0;
    }

    .block-contact-form .sub-title-widget {
        font-size: 16px;
    }

    #re-contact-form svg {
        width: 20px;
        height: 20px;
    }

    #reinstagram svg {
        width: 21px;
        height: 21px;
    }

    #reinstagram a img {
        height: 180px;
    }

    .DeoBlogs .blog-title a {
        font-size: 12px;
    }
}

@media (max-width: 500px) {
    .block_newsletter form .form-group.block-newsletter-input-wrapper .input-wrapper {
        flex: auto;
    }

    .box-bottom-footer .copyright, .box-bottom-footer .made-by {
        flex-direction: column;
    }
}

#cms .page-content ul {
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
}

body .deo-megamenu-mobile .dropdown-menu .cate-items .cate-name {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20) !important;
}

body .deo-megamenu-mobile .dropdown-menu .level1.cate-items .cate-name {
    border-bottom: unset !important;

}

/*body .deo-megamenu-mobile .dropdown-menu .widget-links .nav-links li:first-child {*/
/*    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);*/
/*    text-transform: uppercase;*/
/*}*/

.dropdown-menu .level0.cate-items .cate-name {
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 14px;
    line-height: normal;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);
    letter-spacing: 0.96px;
    margin-bottom: 6px !important;
    padding: 6px 0;
}

/*body .dropdown-menu .widget-links .nav-links li:first-child {*/
/*    padding: 6px 0;*/
/*    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);*/
/*    margin-bottom: 6px;*/
/*}*/


.megamenu-content .dropdown-menu:before {
    content: '';
    position: absolute;
    top: 0;
    background: #E8E8E8;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    overflow: hidden;
}

.megamenu .dropdown-menu {
    box-shadow: unset;
}

.deo-megamenu-mobile .megamenu .dropdown-mega-menu .nav-item:before, #deo-megamenu-tab-mobile .megamenu .dropdown-mega-menu .nav-item:before {
    content: unset;
}

.deo-megamenu-mobile .megamenu .dropdown-mega-menu .dropdown-menu-inner, #deo-megamenu-tab-mobile .megamenu .dropdown-mega-menu .dropdown-menu-inner {
    padding-left: 0;
}

/*.deo-megamenu-mobile .name-heading {*/
/*    text-transform: uppercase;*/
/*    font-size: 14px;*/
/*    font-style: normal;*/
/*    font-weight: 600;*/
/*    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);*/

/*    color: black;*/
/*}*/

.deo-megamenu-mobile .menu-title .name-heading, .deo-megamenu-mobile .dropdown-widget .menu-title {
    display: block !important;
    font-size: 14px;
    text-transform: uppercase;
    padding-right: 20px;
}
.deo-megamenu-mobile .dropdown-menu-inner .row{
    margin-left: 0px !important;
}

/*.dropdown-menu .menu-title .name-heading, .megamenu .dropdown-widget .menu-title {*/
/*    display: none !important;*/
/*}*/
.megamenu .dropdown-widget .menu-title, .megamenu .widget-links .menu-title{
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.96px;
    padding: 0;
}
.header-top .megamenu .dropdown-widget .title,
.deo-megamenu-mobile .dropdown-widget .deo-widget:not(.single-title) .menu-title:not(:last-child),
.header-top .megamenu .single-title .widget-links,
.deo-megamenu-mobile .single-title .widget-links
{
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20);
}
.deo-megamenu-mobile .dropdown-widget .menu-title {
    padding: 14px 0;
}
.dropdown-menu .level1.cate-items .box-cate {
    border: unset;
    padding: 0;
}

body .deo-megamenu-mobile .dropdown-menu .cate-items .cate-name {
    padding: 6px 0;
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.20) !important;
    margin-bottom: 6px !important;
}

body .deo-megamenu-mobile .dropdown-menu .level1.cate-items .cate-name {
    border-bottom: unset;
}

body .deo-megamenu-mobile .dropdown-menu .level1.cate-items .cate-name, body .deo-megamenu-mobile .dropdown-menu .widget-links .nav-links li a {
    font-weight: 300;
    font-size: 14px;
    padding: 8px 0;
}

/*body .deo-megamenu-mobile .dropdown-menu .widget-links .nav-links li:first-child a {*/
/*    font-weight: 600 !important;*/
/*}*/

body .dropdown-menu .level1.cate-items .cate-name {
    padding: 8px 0;
    font-weight: 300 !important;
    text-transform: unset;
    border-bottom: unset;
    letter-spacing: unset;
    margin-bottom: unset !important;
}

.deo-megamenu-mobile li.nav-item {
    text-align: left;
}

body .dropdown-menu .widget-links .nav-links li {
    padding: 8px 0;
}

.deo-horizontal-menu .megamenu > .nav-item > .dropdown-menu, #product #wrapper {
    background: #E8E8E8;
}

#product #wrapper {
    padding: 16px 0 60px;
}

.product-variants > .product-variants-item {
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    #product #wrapper {
        padding: 16px 0 4px;
    }
    #product #description iframe {
        width: 100%;
    }
    #product #description img {
        width: 100%;
        height: auto;
    }
    .product-variants > .product-variants-item {
        margin-bottom: 16px;
    }
}

.product-variants > .product-variants-item .control-label {
    justify-content: space-between;
    background-color: #B2B0AB;
    padding: 8px;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.product-variants > .product-variants-item .output {
    margin-bottom: 12px;
    font-size: 12px;
}

.product-variants .qty, .product-variants > .product-variants-item input.output {
    margin: 0;
}

.product-variants .product-quantity-custom {
    margin: 0 8px;
}

.form-control.output {
    width: 65px;
    padding: 8px;
}

#product select.form-control:not([size]):not([multiple]), .form-control.output {
    height: 37px;
    color: #000000;
}

#product select {
    background: url('../img/down.svg') no-repeat right #ffffff;
}

.custom-color-list {
    padding: 12px;
    background-color: #F1F1F1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.custom-color-list ul {
    width: 100%;
    height: 106px;
    overflow-y: scroll;
}

.custom-color-list ul::-webkit-scrollbar {
    width: 4px;
}

.custom-color-list ul::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 30px;
}

.custom-color-list ul::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 30px;
}

.custom-color-list ul li {
    margin-bottom: 2px;
    border-radius: 2px;
    padding: 0 4px;
}

.custom-color-list ul li:hover, .custom-color-list ul li.selected {
    cursor: pointer;
    background: #B2B0AB;
}

.custom-color-list .show-color {
    width: 100px;
    height: 94px;
}

.attachment {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    margin: 32px 0;
}

.attachment svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .attachment {
        margin: 8px 0 32px;
    }
}

#page.product-thumbs-bottom .images-container .product-images .slick-arrows .slick-arrow {
    opacity: 1;
    visibility: visible;
    border: 1px solid #EFEFEF;
    background: #FFF;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
}

#page.product-thumbs-bottom .images-container .product-images .slick-arrows .slick-arrow:before {
    content: url('../img/arrow_back_black.svg');
    color: #333;
    margin-top: 0;
}

#page.product-thumbs-bottom .images-container .product-images .slick-arrows .slick-next:before {
    transform: rotate(180deg);
}

@media (min-width: 1200px) {
    #product .slick-slider .slick-arrows .slick-arrow {
        opacity: 1;
        visibility: visible;
        border: 1px solid #EFEFEF;
        background: #FFF;
        box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
    }

    #product .button-middle.button-hover #category-products.slick-slider .slick-arrows .slick-arrow.slick-prev {
        left: -80px;
    }

    #product .button-middle.button-hover #category-products.slick-slider .slick-arrows .slick-arrow.slick-next {
        right: -80px;
    }

    #product .slick-arrows .slick-arrow.slick-prev:before, #product .slick-arrows .slick-arrow.slick-next:before {
        content: url('../img/arrow_back_black.svg');
    }

    #product .slick-arrows .slick-arrow.slick-next:before {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    #product #wrapper .breadcrumb {
        margin-bottom: 0;
    }
}

.product-list-five .product-miniature .thumbnail-container .product-meta {
    /*background-color: #F1F1F1;*/
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thumbnail-container .product-price-and-shipping > span.price {
    font-size: 16px;
    font-weight: 600;
}

a.float-sp-right {
    padding-bottom: 8px;
}

.product-list-five .product-miniature {
    border-radius: 4px;
    background: #FFF;
    display: flex;
    max-width: 100%;
}

.product-list-five .item, .product-list-five .item .product {
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    max-width: 100%;
}

.product_list .ajax_block_product, .product_list .ajax_block_product .product {
    display: flex;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .product_list .ajax_block_product {
        width: 50%;
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 16px;
        box-sizing: border-box;
    }

    .product_list .ajax_block_product .product {
        width: 100%;
    }

    .product_list.grid {
        margin-left: -8px;
        margin-right: -8px;
    }

    /* Add spacing between product image and title on mobile */
    .product_list .ajax_block_product .product-meta,
    .product_list .ajax_block_product .thumbnail-container .product-meta,
    .product-miniature .product-meta {
        margin-top: 12px;
        padding-top: 8px;
    }

    .product_list .ajax_block_product .product-title,
    .product-miniature .product-title {
        margin-top: 8px;
    }
}

@media (min-width: 768px) {
    #page .images-container {
        margin-right: 28px;
    }
}

.slick-initialized .slick-slide .item,
.DeoSlideshow .block-slide-container,
.block-slide-container .slide-image {
    width: 100%;
    height: 100%
}

#product .product-add-to-cart.js-product-add-to-cart .button-actions {
    display: flex;
    align-items: center;
    /*gap: 15px;*/
}

.product-accessories-carousel .box-title {
    margin-bottom: 24px;
}

.product-accessories-carousel .title_block {
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    padding-right: 85px;
    line-height: 1.1;
}

#product .product-accessories-carousel .slick-slider .slick-arrows .slick-arrow {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 36px;
    height: 36px;
    top: -42px;
    right: 10px;
    border: 1px solid #EFEFEF;
    background: #FFF;
    box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
}

#product .product-accessories-carousel .slick-slider .slick-arrows .slick-arrow:before {
    margin: 5px;
    content: url("../img/arrow_back_black.svg");
}

#product .product-accessories-carousel .slick-arrows .slick-arrow.slick-next:before {
    transform: scaleX(-100%);
}

#product .product-accessories-carousel .slick-slider .slick-arrows .slick-arrow.slick-prev {
    left: unset;
    right: 51px;
}

#product-accessories button.btn.btn-product.add-to-cart.has-init-tooltip {
    width: 100%;
    margin-right: 0px;
}

#product .product-accessories-carousel .product-list-five .product-miniature {
    margin-bottom: 0;
}

.product-list-five .thumbnail-container .product-meta .box-button.box-action-buttons {
    margin-top: 6px;
}

.product-list-five .thumbnail-container .product-meta .box-button.box-action-buttons .button-container {
    width: 100%;
}

.product-list-five .thumbnail-container .product-meta .box-button.box-action-buttons .button-container .btn {
    /*width: calc(100% - 20px);*/
    width: 100%;
    /*margin-right: 20px;*/
}

#product .product-accessories-carousel .thumbnail-container .product-thumbnail {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#product .product-accessories-carousel .product-meta {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 12px;
}

.slick-list {
    height: 100% !important;
}

.flex-column {
    flex-direction: column !important;
}

.product-variants .flex-column label {
    flex-grow: 1;
}

.alert-info {
    border-radius: 6px;
    background: #F6F3E8;
    border-color: #F6F3E8;
    color: #000000;
    font-size: 12px;
    font-weight: 500;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.alert-info i.circle {
    display: inline-flex;
    padding: 4px;
    align-items: center;
    border-radius: 50%;
    background: #EFE4C1;
    margin-right: 4px;
}

.block_content.clearfix.advanced-search-content {
    display: flex;
    flex-direction: row-reverse;
    border: 1px solid #D3D3D3;
    background: #FFF;
}

.mobile-search-button {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.search-mobile {
    display: none;
}

.search-mobile form.deo-search-advanced-top-box.popup-content {
    width: 100%;
    padding-bottom: 16px;
}

.box-header-mobile {
    border-bottom: unset;
}

.add-to-cart, .deo-btn-cart {
    border-radius: unset !important;
}

.deo-btn-cart {
    background-color: #CCC !important;
}

.button-container .deo-btn-cart span.name-btn-product {
    color: #292929;
    font-weight: 600;
}

.sc-icon.gray, .btn, .block_newsletter form input[type="email"],
.item-gray-rounded,
.home-section-custom.block-contact-form .group-span-filestyle.input-group-btn > .btn,
.block-contact ul li, .home-section-custom.block-contact-form .group-span-filestyle.input-group-btn > .btn {
    border-radius: unset;
    -webkit-border-radius: unset;
    -moz-border-radius: unset;
    -ms-border-radius: unset;
    -o-border-radius: unset;
}

#header a,
.deo-search-advanced .block_content .deo-advanced-search-input .advanced_search_query,
.DeoAlert p,
.popup-over .popup-title {
    color: #000000 !important;
}

#blog_desc_container .blog-desc-info-block iframe {
    width: 100% !important;
}

.deo-content-cart {
    overflow: scroll;
}

.two-image-row {
    display: flex;
}

.two-image-row .DeoColumn {
    flex: 1;
    display: flex;
}

.two-image-row .block.DeoImage, .two-image-row .media {
    flex: 1;
    display: flex;
}

.two-image-row img.img-fluid.lazyloaded.ls-is-cached {
    object-fit: cover;
}

#blog_desc_container .blog-desc-info-block iframe {
    width: 100% !important;
}

.deo-megamenu-mobile {
    flex-direction: column;
}

.flex-center {
    display: flex;
    justify-content: center;
}


.sc-icon.gray {
    display: flex;
}

.userinfo-selector svg {
    margin-bottom: -2px;
}

.thumbnail-container .box-button .btn-product {
    border-radius: unset;
}

.thumbnail-container .product-image .box-button {
    background: none;
}

.thumbnail-container .box-button .btn-product .content-btn-product .icon-btn-product {
    display: none;
}

.owl-carousel .owl-nav button.owl-next, .owl-carousel .owl-nav button.owl-prev, .owl-carousel button.owl-dot {
    background: #d4d1cbb8;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.hi-blog-sidebar-carousel .owl-nav .owl-prev span, .hi-blog-sidebar-carousel .owl-nav .owl-next span, .hi-blog-block-carousel .owl-nav .owl-prev span, .hi-blog-block-carousel .owl-nav .owl-next span, .hi-blog__related_products__products .owl-nav .owl-prev span, .hi-blog__related_products__products .owl-nav .owl-next span {
    font-size: 55px;
    color: #7a7a7a;
    line-height: 0.75;
}

.hi-blog-sidebar-carousel .owl-nav, .hi-blog-block-carousel .owl-nav, .hi-blog__related_products__products .owl-nav {
    top: 50%;
    width: unset;
    position: absolute;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 10;
    left: 14px;
}

@media (max-width: 768px) {
    .DeoSlideshow .block-slide-container .slide-text {
        font-size: 22px;
        width: 100%;
        padding: 0 25px;

    }
}

.slick-dots li.slick-active button {
    background: black;
    border-color: black;
}

.slick-dots li button {
    border: 1px solid rgb(0 0 0 / 60%);
}

span.menu-title {
    letter-spacing: 0.96px;
}

.product-add-to-cart .qty .no-more-stock {
    display: none;
    float: left;
    color: red;
}

.product-add-to-cart .qty .no-more-stock.show {
    display: block !important;
}

#cms.cms-id-4 #content div:first-of-type {
    column-count: 2;
    column-gap: 2rem;
    column-fill: balance;
}

#cms.cms-id-4 #content div:first-of-type .span-all {
    column-span: all;
    margin: 0 0 1rem;
}
#cms.cms-id-4 #content iframe {
    width: 100%;
    min-height: 600px;
}
#cms.cms-id-4 #content div:first-of-type img {
    /*max-height: 400px;*/
    width: 100%;
    height: auto;
}

#cms.cms-id-4 #content div:first-of-type p:has(> img) {
    text-align: center;
}
:root {
    --gap: 8px;
    --tile-bg: #f1f1f1;
    --tile-border: #e2e2e2;
    --logo-size: 64px;
}

#cms {
    .press-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--gap);
        margin: 0 auto;
    }

    .press-item {
        background: var(--tile-bg);
        border: 1px solid var(--tile-border);
        padding: 14px;
        display: grid;
        grid-template-columns: var(--logo-size) 1fr;
        align-items: center;
        gap: 14px;
        min-height: 90px;
    }


    .press-logo {
        width: var(--logo-size);
        height: var(--logo-size);
        background: #d5d5d5;
        display: grid;
        place-items: center;
        font: 600 18px/1 system-ui, sans-serif;
        color: #777;
        text-transform: uppercase;
        letter-spacing: .5px;
    }

    .press-link a {
        display: inline-block;
        max-width: 100%;
        color: #2b2b2b;
        text-decoration: none;
        border-bottom: 1px solid #bbb;
        padding-bottom: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .press-logo img {
        -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
        filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
    }

    /* Optional row separators inside columns (visual wireframe) */
    .press-item + .press-item {
        /* handled by grid gap */
    }
}

.product-page-description {
    column-count: 2;
    column-gap: 2rem;
    column-fill: balance;
}
.product-page-description iframe {
    width: 100%;
}
.product-page-description img{
    width: 100%;
    height: auto;
}
a.choose-combination, .btn-outline.active {
    background-color: #CCC !important;
    border-radius: unset !important;
}
a.choose-combination span, .btn-outline.active {
    color: #292929;
    font-weight: 600;
}

@media (max-width: 700px) {
    .product-page-description {
        column-count: 1;
    }
    #cms .press-grid {
        grid-template-columns: 1fr;
    }

    #cms.cms-id-4 #content div:first-of-type {
        column-count: 1;
    }
    #cms.cms-id-4 #content img {
        width: 100%;
        height: auto;
    }
    #cms.cms-id-4 #content iframe {
        min-height: 250px;
    }
}
#product #faq {
    margin-top: 46px;
    margin-bottom: 48px;
}

.form-control-comment {
    font-size: 10px;
    padding-top: 5px;
    margin-bottom: 5px;
}
.form-group {
    margin-bottom: 8px;
}

.checkout-step .form-fields .col-md-6 .form-group{
    min-height: 70px;
}
.form-control-comment .optional {
    padding-bottom:unset;
}
.checkout-step .address1 .form-control-comment {
    padding-left:unset;
    margin-bottom:unset;
}
/* CL-218: Address field with wkgoogleaddress locate button — use absolute positioning
   so the input stays full-width and aligned with other fields */
.checkout-step .address1 .form-input {
    position: relative;
}
.checkout-step .address1 .form-input > .form-control-comment {
    position: absolute;
    right: 12px; /* offset for col-md-12 padding */
    top: 0;
    bottom: 0;
    z-index: 2;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}
.checkout-step .address1 .form-input > .form-control-comment::after {
    display: none;
}
.checkout-step .address1 .form-input .btn-self-locate {
    height: 100%;
    width: 39px;
    font-size: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 4px 4px 0;
}
.checkout-step .address1 .form-input .form-control {
    padding-right: 42px;
}
/* Hide "Use Google Maps" text link inside address field to keep layout clean */
.checkout-step .address1 #idBtnLocate {
    display: none;
}

/* CL-199: Fix address form field alignment on customer address page */
.page-address .address1 .form-input {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}
.page-address .address1 .form-input .btn-self-locate {
    height: 39px;
    width: 39px;
    font-size: 17px;
    flex-shrink: 0;
}
.page-address .address1 .form-input .form-control {
    flex: 1;
    min-width: 0; /* Prevent input from overflowing */
}
/* Remove margin/padding from form-control-comment inside form inputs on address page */
.page-address .form-input > .form-control-comment {
    margin-bottom: 0;
    padding-top: 0;
}
/* Consistent input and select heights on address page */
.page-address .form-control,
.page-address select.form-control:not([size]):not([multiple]) {
    height: 39px;
}

/* Fix: Show lazyloaded images that still have wrapper (event didn't fire or cached) */
.lazyload-wrapper + img.lazyloaded {
    height: auto !important;
}

/* Hide lazyload-wrapper when sibling image is loaded */
.lazyload-wrapper:has(+ img.lazyloaded),
picture .lazyload-wrapper:has(~ img.lazyloaded) {
    display: none;
}

/* ==========================================================================
   Product Card Fixes - Mobile Add to Cart & Sale Price Display
   ========================================================================== */

/* Fix: Move Add to Cart button below image on mobile devices */
@media (max-width: 991px) {
    .thumbnail-container .product-image .box-button {
        position: static;
        transform: none;
        margin-top: 10px;
        background: transparent;
        box-shadow: none;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
    }

    .thumbnail-container .product-image .box-button .btn-product {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Fix: Ensure regular (old) price is displayed for products on sale */
.thumbnail-container .product-price-and-shipping.has_discount {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}

.thumbnail-container .product-price-and-shipping.has_discount .regular-price {
    display: inline-block !important;
    color: #999999;
    text-decoration: line-through;
    font-size: 14px;
    order: 1;
}

.thumbnail-container .product-price-and-shipping.has_discount .price {
    order: 2;
    color: #e74c3c;
    font-weight: 600;
}

.thumbnail-container .product-price-and-shipping.has_discount .discount-percentage,
.thumbnail-container .product-price-and-shipping.has_discount .discount-amount {
    order: 3;
    color: #e74c3c;
    font-size: 12px;
}

/* Mobile: Stack price elements vertically */
@media (max-width: 575px) {
    .thumbnail-container .product-price-and-shipping.has_discount {
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .thumbnail-container .product-price-and-shipping.has_discount .regular-price {
        font-size: 13px;
    }

    .thumbnail-container .product-price-and-shipping.has_discount .price {
        font-size: 16px;
    }
}

/* Pack product price styling - show "Instead of" price prominently */
.product-pack-price {
    margin: 10px 0;
    padding: 8px 12px;
    background-color: #f8f9fa;
    border-left: 3px solid #e74c3c;
    border-radius: 0 4px 4px 0;
}

.product-pack-price span {
    color: #666;
    font-size: 14px;
}

.product-pack-price span .price-old {
    text-decoration: line-through;
    color: #999;
}

/* Pack product label in category listing */
.product-flag.pack {
    background-color: #3498db;
    color: #fff;
}

/* Pack savings badge in miniature */
.pack-savings {
    display: block;
    margin-top: 5px;
    padding: 4px 8px;
    background-color: #e8f5e9;
    border-radius: 4px;
    font-size: 12px;
    color: #2e7d32;
    font-weight: 500;
}

/* Pack products with savings - show prices in single line: old price first, then new price */
.product-price-and-shipping.has_pack_discount,
.thumbnail-container .product-price-and-shipping.has_pack_discount,
.product-miniature .product-price-and-shipping.has_pack_discount,
.product-meta .product-price-and-shipping.has_pack_discount {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

.product-price-and-shipping.has_pack_discount .pack-regular-price,
.thumbnail-container .product-price-and-shipping.has_pack_discount .pack-regular-price {
    order: 1;
    display: inline-block !important;
    color: #999 !important;
    text-decoration: line-through !important;
    font-size: 14px;
    margin: 0 !important;
}

.product-price-and-shipping.has_pack_discount .price,
.thumbnail-container .product-price-and-shipping.has_pack_discount .price {
    order: 2;
    color: #e74c3c !important;
    font-weight: 600 !important;
}

/* ==========================================================================
   Footer Mobile UX/UI Enhancement
   Matches site design: Poppins font, #343935 primary, #535353 hover
   ========================================================================== */

/* Hidden checkbox for CSS-only accordion */
.footer-block-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Footer block base styling */
.footer-block-accordion {
    font-family: "Poppins", sans-serif;
}

.footer-block-accordion .title_block {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 16px;
    margin-bottom: 0;
}

.footer-block-accordion .block_content {
    font-size: 14px;
    line-height: 1.6;
    color: #414141;
}

.footer-block-accordion .block_content a {
    color: #414141;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-block-accordion .block_content a:hover {
    color: #535353;
    text-decoration: none;
}

.footer-block-accordion .block_content ul {
    margin: 0;
    padding: 0;
}

.footer-block-accordion .block_content ul li {
    padding: 6px 0;
}

/* Store sections */
.footer-store {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E8E8E8;
}

.footer-store:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ==========================================================================
   Mobile Footer Styles (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
    /* Accordion section borders */
    .footer-block-accordion {
        border-bottom: 1px solid #E8E8E8;
        margin-bottom: 0;
    }

    .box-middle-footer > div:last-child .footer-block-accordion {
        border-bottom: none;
    }

    /* Clickable header with chevron */
    .footer-block-accordion .title_block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 18px 0;
        margin: 0;
        font-size: 14px;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    /* Chevron icon */
    .footer-block-accordion .title_block::after {
        content: '';
        width: 10px;
        height: 10px;
        border-right: 2px solid #414141;
        border-bottom: 2px solid #414141;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }

    /* Chevron rotation when open */
    .footer-block-toggle:checked + .title_block::after {
        transform: rotate(-135deg);
    }

    /* Content hidden by default */
    .footer-block-accordion .block_content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    /* Content expanded when checked */
    .footer-block-toggle:checked ~ .block_content {
        max-height: 700px;
    }

    /* Touch-friendly link targets (44px minimum) */
    .footer-block-accordion .block_content ul li {
        padding: 0;
    }

    .footer-block-accordion .block_content ul li a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 12px 0;
        border-bottom: 1px solid #F5F5F5;
    }

    .footer-block-accordion .block_content ul li:last-child a {
        border-bottom: none;
    }

    /* Store card styling for mobile */
    .footer-store {
        background: #F6F6F6;
        padding: 16px;
        margin-bottom: 12px;
        border-bottom: none;
    }

    .footer-store:last-child {
        margin-bottom: 16px;
    }

    /* Call button styling - matches site btn style */
    .footer-store .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #343935;
        color: #ffffff;
        font-weight: 600;
        font-size: 14px;
        padding: 12px 20px;
        margin-top: 8px;
        border: none;
        transition: background 0.2s ease;
    }

    .footer-store .btn:hover {
        background: #535353;
        color: #ffffff;
    }

    /* Contact info padding */
    .footer-block-accordion .block_content p {
        margin-bottom: 4px;
    }

    .footer-block-accordion .block_content p a {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
        line-height: 28px;
    }

    /* ES Logo adjustments */
    .footer-block-accordion .es-logo {
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #E8E8E8;
    }
}

/* ==========================================================================
   Desktop Footer Styles (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
    /* No accordion behavior */
    .footer-block-accordion .title_block {
        cursor: default;
        pointer-events: none;
    }

    .footer-block-accordion .title_block::after {
        display: none;
    }

    .footer-block-accordion .block_content {
        max-height: none !important;
        overflow: visible;
    }

    /* Standard link styling */
    .footer-block-accordion .block_content ul li a {
        min-height: auto;
        padding: 4px 0;
        border-bottom: none;
    }

    /* Store section - no card style */
    .footer-store {
        background: transparent;
        padding: 0;
        margin-bottom: 16px;
    }

    .footer-store .btn {
        display: none;
    }

    /* Column spacing */
    .box-middle-footer > div {
        margin-bottom: 24px;
    }
}

/* ==========================================================================
   CL-183: Registration Page Spacing Fixes
   ========================================================================== */

/* Task 1: [Mobile] Reduce spacing between labels and inputs */
@media (max-width: 479px) {
    .page-registration .form-group .col-xs-12 .row {
        margin-bottom: 2px;
    }

    .page-registration .form-group .form-control-label {
        margin-bottom: 2px;
        padding-bottom: 0;
    }

    .page-registration .form-group {
        margin-bottom: 10px;
    }

    /* Tighter spacing on mobile for checkboxes */
    .page-registration .col-xs-12 > .form-group {
        margin-bottom: 8px;
    }
}


/* Task 2: Fix "Optional" label spacing - single line with label */
.page-registration .form-group .col-xs-12 > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.page-registration .form-group .col-xs-12 > .row .form-control-label {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    margin-bottom: 0;
    line-height: 1.2;
}

.page-registration .form-group .col-xs-12 > .row .form-control-comment {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    text-align: right;
    line-height: 1.2;
}

/* ===== Account Pages - Consistent Styling ===== */

/* Remove special bordered box from identity and address pages
   so they match the other 8 account pages (no box) */
.page-identity .deo-my-account .deo-content,
.page-address .deo-my-account .deo-content {
    border: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

/* Uniform page title for all account pages */
.deo-my-account .page-title {
    font-size: 25px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 3px double #eaeaea;
    text-align: left;
}

/* B2B/B2C customer type badge */
.customer-type-badge {
    margin-bottom: 15px;
}

.customer-type-badge .badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 3px;
}

.customer-type-badge .badge-b2b {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.customer-type-badge .badge-b2c {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

/* ===== End Account Pages ===== */

/* Checkout address form - label and optional text on same line */
.checkout-step .form-group .col-xs-12 > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.checkout-step .form-group .col-xs-12 > .row .form-control-label {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    margin-bottom: 0;
    line-height: 1.2;
}

.checkout-step .form-group .col-xs-12 > .row .form-control-comment {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    text-align: right;
    line-height: 1.2;
}

/* Checkout step title - single line with edit option */
.checkout-step .step-title {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.checkout-step .step-title .step-number {
    flex-shrink: 0;
}

.checkout-step .step-title .step-edit {
    margin-left: auto;
    flex-shrink: 0;
}

/* Delivery options - consistent single row layout */
.delivery-options .delivery-option {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.delivery-options .delivery-option:last-of-type {
    border-bottom: none;
}

.delivery-options .delivery-option-2 > .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}

.delivery-options .carrier {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.delivery-options .carrier-logo {
    flex: 0 0 auto;
    width: auto;
    max-width: 60px;
    padding-right: 10px;
}

.delivery-options .carrier-logo img {
    max-width: 50px;
    max-height: 40px;
    object-fit: contain;
}

.delivery-options .carriere-name-container {
    flex: 1;
    width: auto;
}

.delivery-options .carrier-name {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.delivery-options .carrier-delay {
    font-size: 13px;
    color: #666;
}

.delivery-options .carrier-price {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* Carrier extra content - align with delivery option content */
.delivery-options .carrier-extra-content {
    padding:0 12px; /* left padding matches col-md-2 */
}

.delivery-options .carrier-extra-content:empty {
    display: none;
    padding: 0;
}

/* Responsive delivery options - mobile */
@media (max-width: 767px) {
    .delivery-options .delivery-option {
        flex-wrap: nowrap;
        align-items: flex-start;
        padding: 12px 0;
    }

    /* Radio button column - compact */
    .delivery-options .delivery-option > .col-xs-2 {
        flex: 0 0 30px;
        width: 30px;
        max-width: 30px;
        padding-right: 5px;
        padding-top: 3px;
    }

    /* Label column - take remaining space */
    .delivery-options .delivery-option > label.delivery-option-2 {
        flex: 1;
        width: auto;
        max-width: calc(100% - 35px);
    }

    .delivery-options .delivery-option-2 > .row {
        flex-wrap: wrap;
    }

    /* Carrier info row - logo + name */
    .delivery-options .delivery-option-2 > .row > .col-sm-5 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 6px;
    }

    .delivery-options .carrier {
        flex-wrap: nowrap;
        align-items: center;
    }

    .delivery-options .carrier-logo {
        flex: 0 0 45px;
        max-width: 45px;
        padding-right: 10px;
    }

    .delivery-options .carrier-logo img {
        max-width: 40px;
        max-height: 35px;
    }

    .delivery-options .carriere-name-container {
        flex: 1;
    }

    .delivery-options .carrier-name {
        font-size: 13px;
        line-height: 1.3;
    }

    /* Delay and price - inline on same row */
    .delivery-options .delivery-option-2 > .row > .col-sm-4,
    .delivery-options .delivery-option-2 > .row > .col-sm-3 {
        flex: 0 0 auto;
        width: auto;
        max-width: none;
        padding: 0;
    }

    .delivery-options .delivery-option-2 > .row > .col-sm-4 {
        padding-right: 15px;
    }

    .delivery-options .carrier-delay {
        font-size: 12px;
    }

    .delivery-options .carrier-price {
        font-size: 13px;
    }

    /* Carrier extra content - align with content on mobile */
    .delivery-options .carrier-extra-content {
        padding: 8px 15px 8px 35px;
    }
}

/* ===== Payment Options - Checkout Step ===== */
#checkout-payment-step .payment-options {
    margin-bottom: 20px;
}

body#checkout section.checkout-step .payment-options .payment-option,
#checkout-payment-step .payment-option,
.opc-checkout-element .payment-options .payment-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#checkout-payment-step .payment-option:hover {
    border-color: #ccc;
}

#checkout-payment-step .payment-option:has(input:checked) {
    border-color: #f5a623;
    box-shadow: 0 0 0 1px #f5a623;
}

#checkout-payment-step .payment-option .custom-radio {
    flex-shrink: 0;
    margin-right: 12px;
}

body#checkout section.checkout-step .payment-options label,
#checkout-payment-step .payment-option label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1;
    margin: 0;
    cursor: pointer;
    text-align: left;
}

#checkout-payment-step .payment-option label span {
    font-size: 14px;
    font-weight: 500;
}

#checkout-payment-step .payment-option label img {
    max-height: 30px;
    margin-left: auto;
    object-fit: contain;
}

/* Paysera Payment Methods - Grid Layout */
.paysera-payment-choice-extension {
    padding: 15px 0;
}

.paysera-payment-choice-extension .paysera-country-selector {
    margin-bottom: 15px;
}

.paysera-payment-choice-extension .payment-country-select {
    width: 100%;
    max-width: 250px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
}

.paysera-payment-choice-extension .payment-group-title {
    grid-column: 1 / -1;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 10px 0 8px;
    border-bottom: 1px solid #eee;
}

.paysera-payment-choice-extension .payment-group-title:first-child {
    padding-top: 0;
}

/* Paysera payment methods - 2 columns with internal borders */
.paysera-payment-choice-extension .paysera-payments .payment-group {
    margin-bottom: 15px;
}

.paysera-payment-choice-extension .paysera-payments .payment-group:last-child {
    margin-bottom: 0;
}

.paysera-payment-choice-extension .paysera-payments .payment-group-items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

.paysera-payment-choice-extension .paysera-payments .payment-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background: #fff;
    transition: background-color 0.2s;
    cursor: pointer;
    margin: 0 !important;
}

/* Right border for left column (odd items) */
.paysera-payment-choice-extension .payment-item {
    border: 1px solid #e5e5e5;
}

/* Selected state - use :has() for checked radio */
.paysera-payment-choice-extension .payment-item:has(input:checked) {
    background: #fffbf5;
    border-color: #f5a623;
    box-shadow: inset 0 0 0 1px #f5a623;
}

/* Fallback for browsers without :has() - uses JS class */
.paysera-payment-choice-extension .payment-item.activePayseraPayment {
    background: #fffbf5;
    border-color: #f5a623;
    box-shadow: inset 0 0 0 1px #f5a623;
}

.paysera-payment-choice-extension .payment-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.paysera-payment-choice-extension .payment-item input[type="radio"] {
    display: none;
}

.paysera-payment-choice-extension .payment-item-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.paysera-payment-choice-extension .payment-item-content img {
    max-width: 90px;
    max-height: 50px;
    object-fit: contain;
}

.paysera-consent {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.paysera-consent a {
    color: #333;
    text-decoration: underline;
}

/* Payment conditions checkbox */
#conditions-to-approve {
    margin: 20px 0;
}

#conditions-to-approve ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#conditions-to-approve li {
    margin-bottom: 10px;
}

/* Payment confirmation button */
#payment-confirmation {
    margin-top: 20px;
}

#payment-confirmation button[type="submit"] {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
}

/* Mobile payment options */
@media (max-width: 767px) {
    #checkout-payment-step .payment-option {
        padding: 10px 12px;
    }

    body#checkout section.checkout-step .payment-options label,
    #checkout-payment-step .payment-option label {
        justify-content: center;
    }

    #checkout-payment-step .payment-option label span {
        font-size: 13px;
    }

    #checkout-payment-step .payment-option label img {
        max-height: 24px;
        max-width: 80px;
    }

    .paysera-payment-choice-extension .paysera-payments .payment-group-items {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .paysera-payment-choice-extension .payment-item {
        padding: 12px 8px;
        min-height: 55px;
    }

    .paysera-payment-choice-extension .payment-item-content img {
        max-width: 80px;
        max-height: 45px;
    }

    .paysera-payment-choice-extension .payment-group-title {
        font-size: 12px;
        padding: 8px 0 6px;
    }

    #payment-confirmation button[type="submit"] {
        padding: 12px 20px;
        font-size: 15px;
    }

    /* Fix checkbox label width on mobile */
    .custom-checkbox.label-inherit {
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .custom-checkbox.label-inherit input[type="checkbox"] + span {
        flex-shrink: 0;
    }

    .custom-checkbox.label-inherit input[type="checkbox"] + span + span {
        flex: 1;
        min-width: 0;
        word-wrap: break-word;
    }
}

/* Underline links in checkbox labels */
.custom-checkbox a {
    text-decoration: underline;
    font-weight: 600;
}

/* Task 3: Reduce spacing after password field (before checkboxes) */
.page-registration .field-password-policy {
    margin-bottom: 0;
}

.page-registration .field-password-policy .form-group {
    margin-bottom: 5px;
}

/* Reduce spacing between form sections */
.page-registration #content .form-footer {
    margin-top: 10px;
}

/* Checkbox section - consistent spacing */
.page-registration .col-xs-12 > .form-group:has(.custom-checkbox) {
    margin-bottom: 6px;
}

/* Fallback for browsers without :has() support */
.page-registration .custom-checkbox {
    margin-top: 3px;
    margin-bottom: 3px;
}

/* Last checkbox before submit button */
.page-registration .col-xs-12:last-of-type .form-group {
    margin-bottom: 10px;
}

/* Task 4: Fix required asterisk position on checkbox labels */
.custom-checkbox.required {
    flex-wrap: nowrap;
    align-items: flex-start;
}

/* Override default .required:after for checkboxes */
.custom-checkbox.required:after {
    content: " *";
    color: #BF0000;
    flex-shrink: 0;
    align-self: flex-start;
    margin-left: 2px;
    margin-top: 1px;
    line-height: 1.2;
    font-size: inherit;
}

/* ==========================================================================
   CL-196: Contact Page - General Contacts Section Redesign
   ========================================================================== */

/* Three-column grid layout */
.store-content .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Column styling */
.store-content .contact-column {
    display: flex;
    flex-direction: column;
}

.store-content .contact-column-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #EAEAEA;
}

/* Contact items */
.store-content .contact-item {
    margin-bottom: 24px;
}

.store-content .contact-item:last-child {
    margin-bottom: 0;
}

/* Item header with icon */
.store-content .contact-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.store-content .contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #F8F8F8;
    border-radius: 50%;
    flex-shrink: 0;
}

.store-content .contact-item-icon svg {
    color: #000;
}

.store-content .contact-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

/* Item content */
.store-content .contact-item-address {
    font-size: 13px;
    color: #535353;
    margin: 0 0 4px 0;
    padding-left: 42px;
    line-height: 1.4;
}

.store-content .contact-item-hours {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #535353;
    margin: 0 0 4px 0;
    padding-left: 42px;
}

.store-content .contact-item-hours svg {
    flex-shrink: 0;
    color: #535353;
}

.store-content .contact-item-phone,
.store-content .contact-item-email {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    margin-bottom: 4px;
    padding-left: 42px;
    transition: color 0.2s ease;
}

.store-content .contact-item-phone:last-child,
.store-content .contact-item-email:last-child {
    margin-bottom: 0;
}

.store-content .contact-item-phone:hover,
.store-content .contact-item-email:hover {
    color: #535353;
}

.store-content .contact-item-phone svg,
.store-content .contact-item-email svg {
    flex-shrink: 0;
    color: #535353;
}

/* Website link styling */
.store-content .contact-item-website {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #000;
    text-decoration: none;
    margin-top: 6px;
}

.store-content .contact-item-website:hover {
    color: #535353;
}

.store-content .contact-item-website svg {
    flex-shrink: 0;
    color: #535353;
}

/* Fax styling */
.store-content .contact-item-fax {
    font-size: 13px;
    color: #535353;
    margin: 6px 0 0 0;
}

/* Company details styling */
.store-content .contact-company-details {
    margin-bottom: 20px;
}

.store-content .contact-company-name {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 6px 0;
}

.store-content .contact-company-address {
    font-size: 13px;
    color: #535353;
    margin: 0;
    line-height: 1.5;
}

/* Bank items */
.store-content .contact-bank-item {
    background: #F8F8F8;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.store-content .contact-bank-item:last-child {
    margin-bottom: 0;
}

.store-content .contact-bank-label {
    font-size: 13px;
    font-weight: 600;
    color: #000;
    margin: 0 0 4px 0;
}

.store-content .contact-bank-account {
    font-family: monospace;
    font-size: 12px;
    color: #535353;
    margin: 0 0 2px 0;
    letter-spacing: 0.3px;
}

.store-content .contact-bank-swift {
    font-size: 11px;
    color: #777;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .store-content .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .store-content .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .store-content .contact-column-title {
        font-size: 13px;
    }
}

/* ==========================================================================
   Cart Savings Display - Checkout Page
   ========================================================================== */

/* Discount subtotal row - make it a flex container that wraps */
#cart-subtotal-discount {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

#cart-subtotal-discount > .label {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
}

#cart-subtotal-discount > .value {
    flex: 0 0 auto;
    font-weight: 600;
}

/* Voucher list inside discount row */
#cart-subtotal-discount .promo-name.card-block {
    width: 100%;
    margin: 12px 0 0 0;
    padding: 0;
    list-style: circle;
    background: transparent;
}

#cart-subtotal-discount .promo-name.card-block .cart-summary-line {
    margin: 0 0 0 12px;
    font-size: 13px;
}

#cart-subtotal-discount .promo-name.card-block .cart-summary-line + .cart-summary-line {
    border-top: none;
}

#cart-subtotal-discount .promo-name.card-block .cart-summary-line .label {
    flex: 1;
    color: #ff9a52;
    font-weight: 600;
    text-transform: none;
    padding: 0;
}

#cart-subtotal-discount .promo-name.card-block .float-sp-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    margin-left: auto;
}

#cart-subtotal-discount .promo-name.card-block .float-sp-right span {
    font-weight: 600;
    color: #414141;
}

#cart-subtotal-discount .promo-name.card-block .float-sp-right a {
    color: #acaaa6;
    transition: color 0.2s;
}

#cart-subtotal-discount .promo-name.card-block .float-sp-right a:hover {
    color: #535353;
}

#cart-subtotal-discount .promo-name.card-block .delete:before {
    content: '\ea54';
    font-family: "deo-custom-icons";
}

/* You saved row */
.cart-summary-line.cart-savings {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary-line.cart-savings .label {
    flex: 1;
}

.cart-summary-line.cart-savings .value {
    color: #228B22;
    float: none;
    margin-left: auto;
}

/* CL-247: Match font-weight of .value to .label (600) in checkout cart summary */
#deoonepagecheckout-cart-summary .cart-summary-line .value {
    font-weight: 600;
}

/* ==========================================================================
   CL-218 Issue A: Mobile checkout address form layout fix
   Fix inconsistent padding and cramped B2B company fields on mobile
   ========================================================================== */

/* B2B toggle wrapper - consistent spacing */
.checkout-step .b2b-toggle-wrapper {
    margin-top: 8px;
    margin-bottom: 4px;
}

@media (max-width: 767px) {
    /* Ensure form-fields flex container has consistent gap on mobile */
    .checkout-step .form-fields {
        gap: 0;
    }

    /* All form fields get consistent sizing and padding on mobile
       (col-xs-12 only applies at ≥480px, so we force full width here) */
    .checkout-step .form-fields > .col-md-6,
    .checkout-step .form-fields > .col-xs-12,
    .checkout-step .form-fields > .col-md-12 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 4px;
    }

    /* B2B toggle wrapper spacing on mobile */
    .checkout-step .b2b-toggle-wrapper {
        margin-top: 12px;
        margin-bottom: 8px;
        padding-top: 12px;
        border-top: 1px solid #eee;
    }

    /* Company fields section - add slight visual separation */
    .checkout-step .form-group.b2b-field {
        margin-bottom: 10px;
    }

    /* Ensure form-group minimum height consistency on mobile */
    .checkout-step .form-fields .col-md-6 .form-group {
        min-height: auto;
        margin-bottom: 10px;
    }

    /* Fix label + optional text alignment in checkout on mobile */
    .checkout-step .form-group .form-control-comment {
        font-size: 10px;
    }
}

/* ==========================================================================
   CL-218 Issue B: Continue button consistent positioning across checkout steps
   Ensure the continue button is consistently styled and positioned
   ========================================================================== */

/* Base styling for all continue buttons across checkout steps */
body#checkout section.checkout-step .continue {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 20px 0 0 auto;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Reset float-based positioning that causes inconsistency */
body#checkout section.checkout-step .continue.float-sp-right,
body#checkout section.checkout-step .continue.float-xs-right {
    float: none;
}

/* Container for continue button - consistent clearfix behavior */
body#checkout section.checkout-step .clearfix:has(.continue) {
    display: flex;
    justify-content: flex-end;
}

/* CL-250: Fix oversized continue button in checkout shipping step.
   The #js-delivery form has class .clearfix and contains .continue,
   so the flex rule above makes the form-fields and button side-by-side,
   stretching the button to full carrier-list height. Reset to block. */
body#checkout section.checkout-step #js-delivery {
    display: block;
}

/* Address form footer - flex row with buttons right-aligned */
body#checkout section.checkout-step .form-footer.clearfix {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

/* Address form footer buttons - consistent sizing */
body#checkout section.checkout-step .form-footer .continue,
body#checkout section.checkout-step .form-footer .cancel-address {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}

/* Payment confirmation button - match continue button styling */
body#checkout #payment-confirmation button[type="submit"] {
    max-width: 320px;
    margin-left: auto;
    display: block;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Mobile: full width continue buttons */
@media (max-width: 767px) {
    body#checkout section.checkout-step .continue,
    body#checkout section.checkout-step .form-footer .continue,
    body#checkout #payment-confirmation button[type="submit"] {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Full width clearfix container on mobile */
    body#checkout section.checkout-step .clearfix:has(.continue) {
        display: block;
    }
}

/* ===== Simple Dropdown Menu (not mega menu) ===== */
@media (min-width: 992px) {
    .megamenu > .nav-item.simple-drop-down {
        position: relative;
    }

    .megamenu > .nav-item.simple-drop-down > .dropdown-menu {
        min-width: 0;
        width: max-content;
        max-width: 400px;
        left: 0;
        right: auto;
        padding: 10px 0;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    .megamenu > .nav-item.simple-drop-down > .dropdown-menu:before {
        display: none !important;
    }

    .megamenu > .nav-item.simple-drop-down .dropdown-menu-inner {
        padding: 0;
    }

    .megamenu > .nav-item.simple-drop-down .dropdown-menu-inner > .row {
        display: block;
        margin: 0;
    }

    .megamenu > .nav-item.simple-drop-down .mega-col {
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
        padding: 0;
    }

    .megamenu > .nav-item.simple-drop-down .mega-col .inner > ul {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item {
        width: 100% !important;
        max-width: 100% !important;
        flex: none;
        float: none !important;
        padding: 0;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item > .nav-link {
        display: block;
        padding: 10px 20px;
        white-space: normal;
        background: none;
        text-align: left;
        transition: background-color 0.2s ease;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item > .nav-link:hover {
        background-color: #f5f5f5;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item + .nav-item > .nav-link {
        border-top: 1px solid #f0f0f0;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item > .nav-link:before {
        display: none !important;
    }

    .megamenu > .nav-item.simple-drop-down .nav-item:hover > .nav-link {
        padding-left: 20px;
    }
}

/* Simple Dropdown Menu — mobile */
.deo-megamenu-mobile .nav-item.simple-drop-down .nav-link,
.deo-megamenu-mobile .nav-item.simple-drop-down .dropdown-menu .nav-item > .nav-link {
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

/* CL-217: Prevent iOS Safari auto-zoom on input focus and horizontal scroll */
/* iOS Safari zooms into inputs with font-size < 16px; setting 16px prevents this */
@media screen and (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="date"],
    select,
    textarea,
    .form-control {
        font-size: 16px !important;
    }
}

/* Prevent horizontal overflow/scroll on cart and checkout pages (mobile) */
@media screen and (max-width: 767px) {
    body#cart,
    body#checkout {
        overflow-x: hidden;
    }

    body#cart .container,
    body#checkout .container {
        overflow-x: hidden;
    }
}

/* =====================================================================
   PRODUCT COMMENTS / REVIEWS — Mr. Clay premium design override
   ===================================================================== */

/* ----- Global: override jquery.rating.plugin image-based stars ----- */
.grade-stars .star-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2px;
    margin: 0;
}

.grade-stars .star-content .star,
.grade-stars .star-content .star-on,
.grade-stars .star-content .star-hover {
    display: block;
    width: auto;
    height: auto;
    flex: 0 0 auto;
    background: none !important;
    background-image: none !important;
    margin: 0;
    cursor: pointer;
    color: #d4d0cb;
    line-height: 1;
}

.grade-stars .star-content .star::before,
.grade-stars .star-content .star-on::before,
.grade-stars .star-content .star-hover::before {
    font-family: "deo-custom-icons";
    display: block;
}

/* Empty star */
.grade-stars .star-content .star::before {
    content: "\ea51";
}

/* Filled star */
.grade-stars .star-content .star-on,
.grade-stars .star-content .star-on::before {
    color: #ffbc42;
}
.grade-stars .star-content .star-on::before {
    content: "\ea50";
}

/* Hover state */
.grade-stars .star-content .star-hover,
.grade-stars .star-content .star-hover::before {
    color: #ffbc42;
}
.grade-stars .star-content .star-hover::before {
    content: "\ea50";
}

/* ----- 1. Product listing stars ----- */
.product-list-reviews {
    position: static !important;
    visibility: visible !important;
    min-height: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    padding: 2px 0;
    background: none;
    justify-content: flex-start;
    width: auto;
}

.product-list-reviews .grade-stars {
    display: inline-block;
    vertical-align: middle;
}

.product-list-reviews .grade-stars .star-content .star::before,
.product-list-reviews .grade-stars .star-content .star-on::before {
    font-size: 12px;
}

.product-list-reviews .grade-stars .star-content .star,
.product-list-reviews .grade-stars .star-content .star-on {
    cursor: default;
}

.product-list-reviews .comments-nb {
    font-size: 11px;
    font-weight: 400;
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    color: #8a8580;
    letter-spacing: 0.3px;
}

/* ----- 2. Product additional info (product page header area) ----- */
.product-comments-additional-info.pc-product-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.pc-product-info .comments-note.pc-stars-display {
    display: inline-flex;
    align-items: center;
}

.pc-product-info .grade-stars .star-content .star,
.pc-product-info .grade-stars .star-content .star-on {
    cursor: default;
}

.pc-product-info .grade-stars .star-content .star::before,
.pc-product-info .grade-stars .star-content .star-on::before {
    font-size: 14px;
}

.pc-additional-links {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pc-link {
    color: #8a8580;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: #d4d0cb;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    cursor: pointer;
    letter-spacing: 0.3px;
}

.pc-link:hover {
    color: #1a1a1a;
    text-decoration-color: #1a1a1a;
}

.pc-link-sep {
    color: #d4d0cb;
    font-size: 12px;
}

/* ----- 3. Precise fractional stars (overlay technique) ----- */
.pc-precise-stars {
    position: relative;
    display: inline-block;
    line-height: 1;
}

.pc-stars-empty,
.pc-stars-filled {
    display: flex;
    white-space: nowrap;
}

.pc-stars-empty .pc-star::before {
    font-family: "deo-custom-icons";
    content: "\ea51";
    font-size: 18px;
    color: #d4d0cb;
    margin-right: 2px;
}

.pc-stars-filled {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.pc-stars-filled .pc-star::before {
    font-family: "deo-custom-icons";
    content: "\ea50";
    font-size: 18px;
    color: #ffbc42;
    margin-right: 2px;
}

/* Smaller precise stars for product info area */
.pc-product-info .pc-stars-empty .pc-star::before,
.pc-product-info .pc-stars-filled .pc-star::before {
    font-size: 14px;
}

.comments-note.pc-stars-display {
    display: inline-flex;
    align-items: center;
}

/* ----- 4. Review section container ----- */
.pc-section-wrapper {
    background: #f1f1f1;
    padding: 30px;
    margin-top: 30px;
}

#product-comments-list-header.pc-header {
    padding: 0;
}

.pc-section-title {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8e5e0;
}

.pc-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pc-summary-score {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.pc-average-number {
    font-size: 48px;
    font-weight: 300;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -1px;
}

.pc-average-max {
    font-size: 16px;
    font-weight: 400;
    color: #8a8580;
}

.pc-summary-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Summary stars use the precise fractional display */

.pc-review-count {
    font-size: 12px;
    color: #8a8580;
    letter-spacing: 0.3px;
}

/* Write-a-review button (outlined style) */
.btn.btn-comment-outline,
.btn.btn-comment-outline:focus {
    display: inline-block;
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    line-height: 1.4;
}

.btn.btn-comment-outline:hover {
    background: #1a1a1a;
    color: #fff;
}

.pc-write-btn {
    margin-left: auto;
}

/* ----- 5. Review cards ----- */

/* Override module defaults */
.product-comment-list-item {
    background-color: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.product-comment-list-item .comment-infos {
    height: auto;
    min-height: auto;
}

/* ----- Masonry (Pinterest) layout ----- */
#product-comments-list {
    background: transparent;
    column-count: 2;
    column-gap: 20px;
}

@media (max-width: 767px) {
    #product-comments-list {
        column-count: 1;
    }
}

@media (min-width: 1200px) {
    #product-comments-list {
        column-count: 3;
        column-gap: 24px;
    }
}

/* Individual review card — masonry item */
.pc-review-card {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    padding: 20px !important;
    margin-bottom: 20px !important;
    background: #fff;
    border: 1px solid #e8e5e0;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

.pc-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.pc-review-header .grade-stars .star-content .star::before,
.pc-review-header .grade-stars .star-content .star-on::before {
    font-size: 13px;
}

.pc-review-header .grade-stars .star-content .star,
.pc-review-header .grade-stars .star-content .star-on {
    cursor: default;
}

.pc-review-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

.pc-review-meta {
    font-size: 12px;
    color: #8a8580;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.pc-review-sep {
    margin: 0 6px;
    color: #d4d0cb;
}

.pc-review-body {
    margin-bottom: 14px;
}

.pc-review-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #4a4540;
    margin: 0;
}

/* Review action buttons */
.pc-review-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid #f0edea;
}

.pc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8a8580;
    font-size: 11px;
    cursor: pointer;
    transition: color 0.2s ease;
    text-decoration: none;
    border: none;
    background: none;
    padding: 0;
}

.pc-action-btn:hover {
    color: #1a1a1a;
}

.pc-action-btn svg {
    flex-shrink: 0;
}

.useful-review-value,
.not-useful-review-value {
    font-size: 11px;
    letter-spacing: 0.3px;
}

/* ----- 6. Empty state ----- */
.pc-empty-state {
    text-align: center;
    padding: 48px 0;
}

.pc-empty-text {
    font-size: 13px;
    color: #8a8580;
    margin-bottom: 20px;
    letter-spacing: 0.3px;
}

/* ----- 7. Pagination ----- */
#product-comments-list-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

#product-comments-list-pagination li {
    display: flex;
}

#product-comments-list-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    font-size: 13px;
    color: #1a1a1a;
    cursor: pointer;
    transition: background-color 0.2s ease;
    letter-spacing: 0.3px;
}

#product-comments-list-pagination li span:hover {
    background: #f0edea;
}

#product-comments-list-pagination li.active span {
    background: #1a1a1a;
    color: #fff;
}

#product-comments-list-pagination li span.prev,
#product-comments-list-pagination li span.next {
    font-size: 16px;
    color: #8a8580;
}

/* ----- 8. Footer ----- */
#product-comments-list-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 32px;
}

#product-comments-list-footer .pc-write-btn {
    margin-left: 0;
}

/* ----- 9. Post comment modal ----- */
.product-comment-modal .modal-dialog {
    max-width: 560px;
}

.product-comment-modal .modal-content {
    border-radius: 0;
    border: none;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    font-family: Poppins, sans-serif;
}

.product-comment-modal .modal-header {
    border-bottom: 1px solid #f0edea;
    padding: 24px 28px;
}

.product-comment-modal .modal-header .h2 {
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.product-comment-modal .modal-header .close {
    font-size: 24px;
    color: #8a8580;
    opacity: 1;
    text-shadow: none;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.product-comment-modal .modal-header .close:hover {
    color: #1a1a1a;
}

.product-comment-modal .modal-body {
    padding: 28px;
}

/* Product identity in modal */
.comment-modal-product {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0edea;
}

.comment-modal-product-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-modal-product-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: 0.3px;
}

/* Criteria list in modal */
#criterions_list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

#criterions_list li {
    margin-bottom: 12px;
}

.criterion-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.criterion-rating label {
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    min-width: 80px;
    letter-spacing: 0.3px;
}

.criterion-rating .grade-stars .star-content .star::before,
.criterion-rating .grade-stars .star-content .star-on::before,
.criterion-rating .grade-stars .star-content .star-hover::before {
    font-size: 20px;
}

/* Form fields in modal */
.comment-modal-fields {
    margin-bottom: 20px;
}

.comment-modal-row {
    display: flex;
    gap: 16px;
}

.comment-modal-field--title {
    flex: 2;
}

.comment-modal-field--name {
    flex: 1;
}

.product-comment-modal .form-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 6px;
    margin-top: 16px;
}

.product-comment-modal .form-label .required {
    color: #c45e4c;
    margin-left: 2px;
}

.product-comment-modal input[type="text"],
.product-comment-modal textarea {
    width: 100%;
    border: 1px solid #d4d0cb;
    border-radius: 0;
    padding: 10px 14px;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.product-comment-modal input[type="text"]:focus,
.product-comment-modal textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.product-comment-modal textarea {
    resize: vertical;
    min-height: 100px;
}

/* Modal footer */
.comment-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f0edea;
    margin-top: 8px;
}

.comment-modal-footer .required {
    font-size: 11px;
    color: #8a8580;
    margin: 0;
}

.comment-modal-footer .required sup {
    color: #c45e4c;
}

.post-comment-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Submit button: black fill */
.product-comment-modal .btn.btn-comment,
.product-comment-modal .btn.btn-comment:focus {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-comment-modal .btn.btn-comment:hover {
    background: #333;
    border-color: #333;
}

/* Cancel button: outlined */
.product-comment-modal .btn.btn-comment-inverse,
.product-comment-modal .btn.btn-comment-inverse:focus {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #d4d0cb;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.product-comment-modal .btn.btn-comment-inverse:hover {
    border-color: #1a1a1a;
}

/* Alert & confirm modal overrides */
.product-comment-modal .modal-header .material-icons {
    display: none;
}

.product-comment-modal .btn.btn-comment-huge {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    padding: 10px 24px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
}

.product-comment-modal .btn.btn-comment-huge:hover {
    background: #333;
    border-color: #333;
}

.product-comment-modal .btn.btn-comment-inverse.btn-comment-huge {
    background: transparent;
    color: #1a1a1a;
    border: 1px solid #d4d0cb;
}

.product-comment-modal .btn.btn-comment-inverse.btn-comment-huge:hover {
    border-color: #1a1a1a;
}

/* ----- 10. Responsive ----- */
@media (max-width: 767px) {
    .pc-section-wrapper {
        padding: 20px 15px;
    }

    #product-comments-list-header.pc-header {
        flex-direction: column;
    }

    .pc-section-title {
        font-size: 14px;
        width: 100%;
        margin-bottom: 16px;
    }

    .pc-summary {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
        width: 100%;
    }

    .pc-summary-score {
        gap: 6px;
    }

    .pc-average-number {
        font-size: 36px;
    }

    .pc-write-btn {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }

    /* Review card: stack stars above title on mobile */
    .pc-review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .pc-review-title {
        font-size: 14px;
        line-height: 1.4;
    }

    .comment-modal-row {
        flex-direction: column;
        gap: 0;
    }

    .comment-modal-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .post-comment-buttons {
        width: 100%;
        justify-content: flex-end;
    }

    .product-comment-modal .modal-dialog {
        margin: 16px;
    }

    .pc-average-number {
        font-size: 36px;
    }
}

/* ==========================================================================
   CL-242: Fix mobile address form field layout
   Ensure all address form fields are consistently full-width on mobile
   for customer account address pages and OPC address forms.
   ========================================================================== */

/* --- Customer account address page: label + optional on same line --- */
.page-address .form-group .col-xs-12 > .row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.page-address .form-group .col-xs-12 > .row .form-control-label {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
    margin-bottom: 0;
    line-height: 1.2;
}

.page-address .form-group .col-xs-12 > .row .form-control-comment {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    text-align: right;
    line-height: 1.2;
}

/* --- Customer account address page: consistent form-group min-height on desktop --- */
.page-address .form-fields .col-md-6 .form-group {
    min-height: 70px;
}

@media (max-width: 767px) {
    /* Force all address form fields to full width on mobile —
       applies to customer account address add/edit page */
    .page-address .form-fields > .col-md-6,
    .page-address .form-fields > .col-xs-12,
    .page-address .form-fields > .col-md-12 {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        float: none;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 4px;
    }

    /* Reset min-height on mobile for customer address page */
    .page-address .form-fields .col-md-6 .form-group {
        min-height: auto;
        margin-bottom: 10px;
    }

    /* Fix label + optional text alignment on address page mobile */
    .page-address .form-group .form-control-comment {
        font-size: 10px;
    }

    /* OPC address form: force full-width fields on mobile */
    .opc-address .form-fields > [class*="col-sp-"],
    .opc-address .form-fields > .form-group[class*="col-sp-"] {
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        float: none;
    }

    /* Ensure address1 field with locate button stays properly sized on mobile */
    .page-address .address1 .form-input {
        position: relative;
    }

    .page-address .address1 .form-input .form-control {
        padding-right: 42px;
    }

    .page-address .address1 .form-input > .form-control-comment {
        position: absolute;
        right: 12px;
        top: 0;
        bottom: 0;
        z-index: 2;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
    }
}

/* Product page thumbnail grid - multi-line layout */
.images-for-detail .product-thumbnail-carousel .slick-row {
    margin: 0;
    padding: 0;
    overflow: visible;
}

.images-for-detail .product-thumbnail-carousel .slick-row .slick-arrow {
    display: none !important;
}

.images-for-detail .thumb-images-flex {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    overflow: visible;
}

.images-for-detail .thumb-images-flex .thumb-container {
    width: calc(16.666% - 7px);
    cursor: pointer;
    box-sizing: border-box;
    float: none !important;
    display: block !important;
}

.images-for-detail .thumb-images-flex .thumb-container .thumbnail-image.selected {
    border: 2px solid #333;
}

.images-for-detail .thumb-images-flex .thumb-container .thumbnail-image {
    display: block;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.images-for-detail .thumb-images-flex .thumb-container img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 575px) {
    .images-for-detail .thumb-images-flex .thumb-container {
        width: calc(25% - 6px);
    }
}
