/*@media (min-width: 1280px) {*/
/*    .container {*/
/*        max-width: 1180px;*/
/*    }*/
/*}*/

@media (min-width: 992px) {
    .px-4 {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

/* General styling for button container */
.button-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.25rem;
    width: 50%;
}

/* Button styling */
.button {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #000;
}

.button-container-right {
    align-items: end;
}

.menu-slider .slick-active a {
    text-decoration: underline;
}

.button svg path {
    fill: #fff;
}

.fixed {
    position: fixed;
}

/* Medium screens: flex wrap and width 33% */
@media (min-width: 768px) {
    .button-container {
        flex-direction: row;
        flex-wrap: wrap;
        width: 33.33%;
    }
}

/* Large screens: width 25% */
@media (min-width: 1024px) {
    .button-container {
        width: 25%;
    }
}

/* Extra large screens: width 20% */
@media (min-width: 1280px) {
    .button-container {
        width: 20%;
    }
}

.fa-angle-left:before {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: auto; /* Enable pointer events */
    display: block;
}

.add-to-cart{
    width: 70%;
}
.slider-div {
    min-height: 392px !important;
}
@media (max-width: 640px) {
    .slider-div {
        min-height: 392px !important;
    }
    .add-to-cart{
        width: 100%;
    }
    .side-div{
        margin-bottom: 170px;
    }
}


@media (max-width: 768px) {
    .slick-dots li {
        display: none;
    }
    .slick-dots li:nth-child(-n+5) {
        display: inline-block; /* Show only first 5 dots */
    }
}

.discount{
    padding: 10px;
    margin: 12px;
}

.custom-button{
    width: 186px;
}

/* Color icon buttons - override custom-button for small icons */
ul.flex.flex-wrap.pt-2\.5.border-t.border-black li img,
ul.flex.flex-wrap.gap-1.pt-2\.5.border-t.border-black li img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

/* Brand Slider - Visual Normalization and Standardization */
.swiper.brandSlider {
    min-height: 120px !important;
    padding: 20px 0 !important;
}

.swiper.brandSlider .swiper-wrapper {
    align-items: center !important;
    min-height: 120px !important;
}

.swiper.brandSlider .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px !important;
    padding: 15px 20px !important;
    box-sizing: border-box !important;
}

.swiper.brandSlider .swiper-slide img {
    max-width: 100% !important;
    max-height: 90px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: grayscale(0%) !important;
    transition: all 0.3s ease !important;
    opacity: 0.8 !important;
}

.swiper.brandSlider .swiper-slide:hover img {
    opacity: 1 !important;
    transform: scale(1.05) !important;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .swiper.brandSlider {
        min-height: 100px !important;
    }
    
    .swiper.brandSlider .swiper-wrapper {
        min-height: 100px !important;
    }
    
    .swiper.brandSlider .swiper-slide {
        height: 100px !important;
        padding: 10px 15px !important;
    }
    
    .swiper.brandSlider .swiper-slide img {
        max-height: 70px !important;
    }
}

@media (min-width: 1024px) {
    .swiper.brandSlider {
        min-height: 140px !important;
    }
    
    .swiper.brandSlider .swiper-wrapper {
        min-height: 140px !important;
    }
    
    .swiper.brandSlider .swiper-slide {
        height: 140px !important;
        padding: 20px 25px !important;
    }
    
    .swiper.brandSlider .swiper-slide img {
        max-height: 100px !important;
    }
}

/* Back Button Styling */
.back-button,
.back-btn.back-button {
    font-size: 16px !important;
    line-height: 1.5 !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
}

.back-button:hover,
.back-btn.back-button:hover {
    opacity: 0.8 !important;
    transform: translateX(-2px) !important;
}

/* Ensure back button text doesn't affect circle positioning */
.back-button > span:nth-child(2),
.back-btn.back-button > span:nth-child(2) {
    margin-left: 0 !important;
    display: block !important;
}

/* Back button arrow in circle with brand color - border only */
/* Perfect centering like header button - independent from text */
.back-button span:first-child.styled-circle,
.back-btn.back-button span:first-child.styled-circle,
.back-button > span:first-of-type.styled-circle,
.back-btn.back-button > span:first-of-type.styled-circle,
.back-button span:first-of-type.styled-circle,
.back-btn.back-button span:first-of-type.styled-circle {
    font-weight: 400 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    background-color: transparent !important;
    border: 1px solid #e7a724 !important;
    color: #e7a724 !important;
    margin-right: 8px !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    position: relative !important;
    /* Ensure perfect centering - no text interference */
    vertical-align: middle !important;
}

/* Ensure SVG inside is perfectly centered */
.back-button span:first-child.styled-circle svg,
.back-btn.back-button span:first-child.styled-circle svg {
    display: block !important;
    margin: auto !important;
    width: 12px !important;
    height: 12px !important;
    flex-shrink: 0 !important;
}

.back-button:hover span:first-child.styled-circle,
.back-btn.back-button:hover span:first-child.styled-circle,
.back-button:hover > span:first-of-type.styled-circle,
.back-btn.back-button:hover > span:first-of-type.styled-circle,
.back-button:hover span:first-of-type.styled-circle,
.back-btn.back-button:hover span:first-of-type.styled-circle {
    border-color: #d6971f !important;
    color: #d6971f !important;
    transform: scale(1.05) !important;
}

/* Override old back-btn styles */
.back-btn.back-button {
    font-size: 16px !important;
    color: inherit !important;
}

.home-best-selling-title, .home-inspiration {
    font-weight: normal;
}

@media (min-width: 640px) {
    .home-best-selling-title, .home-inspiration {
        font-weight: bold;
    }
}

.oxy-modu{
    padding-top: 130px;
    padding-bottom: 130px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 30%;
    background-image: url('../images/oxy-mobile.png');
}

@media (min-width: 768px) {
    .oxy-modu {
        padding-top: 140px;
        padding-bottom: 140px;
        background-position: center;
        background-image: url('../images/oxy.jpg');
    }
}

/* Hide color selection for shoes - additional CSS fallback */
/* This will hide color icons if the product has sizes with subtitles (cm ranges) */
ul.flex.flex-wrap.gap-2.pb-7 li:has(+ ul li span.text-xs),
ul.flex.flex-wrap.gap-2.pb-2 li:has(+ ul li span.text-xs),
ul.flex.flex-wrap.gap-2.my-5 li:has(+ ul li span.text-xs) {
    /* This is a fallback - the main logic is in Blade */
}

/* Size Selection for Shoes - Display like size chart */
ul.flex.flex-wrap.gap-2.pb-7 li,
ul.flex.flex-wrap.gap-2.pb-2 li {
    min-width: 70px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

/* Selected size - brand color border */
ul.flex.flex-wrap.gap-2.pb-7 li.border,
ul.flex.flex-wrap.gap-2.pb-2 li.border {
    border: 2px solid #e7a724 !important;
    background-color: transparent !important;
}

/* Unselected size - no border */
ul.flex.flex-wrap.gap-2.pb-7 li.border-0,
ul.flex.flex-wrap.gap-2.pb-2 li.border-0 {
    border: 2px solid transparent !important;
    background-color: transparent !important;
}

/* Size number - bold and larger */
ul.flex.flex-wrap.gap-2.pb-7 li span:first-child,
ul.flex.flex-wrap.gap-2.pb-2 li span:first-child {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    line-height: 1.2 !important;
}

/* Size range (subtitle) - smaller and gray */
ul.flex.flex-wrap.gap-2.pb-7 li span.text-xs,
ul.flex.flex-wrap.gap-2.pb-2 li span.text-xs {
    font-size: 11px !important;
    color: #6b7280 !important;
    line-height: 1.2 !important;
    margin-top: 2px !important;
}

/* Footer padding-top fix */
footer.pt-\[50px\] {
    padding-top: 50px !important;
}
