* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}
/* Force the page to be scrollable */



body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    font-family: Georgia, 'Times New Roman', Times, serif;
    background: rgb(255, 255, 255);
}

/* NAVBAR */
.page1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
   -webkit-backdrop-filter: blur(18px); /* Match your screenshot background */
    z-index: 1000; /* High number ensures it stays ABOVE the slider */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.page1.hide {
    transform: translateY(-100%);
}

#navbar-page {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px; /* Prevents text from hitting the screen edges */
}

.navbar-logo {
    font-family: monospace;
    font-size: clamp(30px, 3vw, 10px);
    font-weight: bold;
    white-space: nowrap;
}

.nav-bar {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-bar ul {
    display: flex;
    gap: clamp(15px, 3vw, 50px);
    padding: 0;
    margin: 0;
    font-family: monospace;
    list-style: none;
}

.nav-bar ul li {
    font-size: clamp(14px, 2vw, 30px);
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.nav-bar ul li:hover {
   color: rgb(92, 92, 92);
    transform: scale(1.05);
}
.nav-bar ul .active{
   color: rgb(92, 92, 92);
    transform: scale(1.05);
}

.nav-bar li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #00000080;
    transition: width 0.4s ease;
}

.nav-bar li:hover::after {
    width: 100%;
}

.nav-search {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 20px;
}

.nav-search i {
    color: #484848;
    font-size: clamp(16px, 2vw, 30px);
    position: absolute;
    left: 15px;
    z-index: 10;
    pointer-events: none;
}

.nav-search-search {
    padding-left: 60px;
    height: 60px;
    width: clamp(150px, 25vw, 400px);
    border: none;
    outline: none;
    caret-color: rgb(115, 115, 115);
    border-radius: 8px;
    background-color: #e8e8e8;
    transition: all 0.3s ease;
}

.nav-search-search:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.nav-search-search::placeholder {
    color: #666;
    font-size: 20px;
}

.navbar-icons {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar-icons i {
    height: clamp(24px, 3vw, 50px);
    width: clamp(24px, 3vw, 50px);
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 40px;
    color: #474747;
    margin-left: 40px;
}
.navbar-icons-div{
  display: flex;
  justify-content: center;
  align-items: end;
 
}
.navbar-icons-p{
    font-family: monospace;
    color: #ffffff;
    text-align: center;
    font-size: 20px;
     z-index: 10;
    position: absolute;
    background-color: #826e57;
    border-radius: 50%;
    height:30px ;
    width: 30px;
    margin-bottom: 28px;
    margin-left: 50px;
  
}
.navbar-icons-div i{
    margin-left: 20px;
    margin-top: 10px;
       height: clamp(24px, 3vw, 50px);
    width: clamp(24px, 3vw, 50px);
    cursor: pointer;
    transition: transform 0.3s ease;
    font-size: 40px;
    color: #474747;
  
}
.navbar-icons i,
.navbar-icons-div i :hover{
transform: scale(1.05);

}
/* ===== LAPTOP STYLES (Between 993px and 1200px) ===== */
@media (min-width: 993px) and (max-width: 1200px) {
    .page1 {
        height: 6rem;
    }
    
    .navbar-logo {
        font-size: clamp(25px, 3vw, 10px);
    }
    
    .nav-bar ul {
        gap: clamp(10px, 2vw, 30px);
    }
    
    .nav-bar ul li {
        font-size: clamp(10px, 1.5vw, 20px);
    }
    
    .nav-search-search {
        width: clamp(100px, 20vw, 200px);
        height: 40px;
        padding-left: 45px;
    }
    
    .nav-search i {
        font-size: clamp(10px, 1.8vw, 20px);
        left: 10px;
    }
    
    .navbar-icons i,
    .navbar-icons-div i {
        font-size: 32px;
        margin-left: 25px;
    }
    
    .navbar-icons-p {
        height: 25px;
        width: 25px;
        font-size: 16px;
        margin-bottom: 25px;
        margin-left: 40px;
    }
}

/* ===== TABLET STYLES (Between 768px and 992px) ===== */
@media (max-width: 992px) {
    .page1 {
        height: 5.5rem;
        padding: 0 15px;
    }
    
    #navbar-page {
        padding: 0 10px;
        flex-wrap: wrap;
    }
    
    /* Navigation becomes scrollable horizontally if needed */
    .nav-bar {
        order: 4;
        width: 100%;
        margin-top: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-bar ul {
        justify-content: center;
        gap: 20px;
        padding: 10px 0;
    }
    
    .nav-bar ul li {
        font-size: 18px;
        white-space: nowrap;
    }
    
    .navbar-logo {
        font-size: clamp(20px, 3vw, 8px);
    }
    
    .nav-search-search {
        width: 150px;
        height: 35px;
        padding-left: 40px;
        font-size: 16px;
        margin-left: 25px;
    }
    .nav-search-search::placeholder {
    color: #666;
    font-size: 15px;
    }
    .nav-search i {
        font-size: 18px;
        left: 30px;
    }
    
    .navbar-icons i,
    .navbar-icons-div i {
        font-size: 28px;
        margin-left: 25px;
    }
    
    .navbar-icons-p {
        height: 22px;
        width: 22px;
        font-size: 14px;
        margin-bottom: 22px;
        margin-left: 30px;
    }
}

/* ===== MOBILE STYLES (Up to 600px) ===== */
@media (max-width: 600px) {
    .page1 {
        height: auto;
        min-height: 4.5rem;
        padding: 10px;
    }
    
    #navbar-page {
        flex-direction: column;
        gap: 10px;
    }
    
    .navbar-logo {
        font-size: clamp(30px, 2vw, 10px);
        order: 1;
    }
    
    .nav-right-section {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    
    .nav-bar {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }
    
    .nav-bar ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .nav-bar ul li {
        font-size: 16px;
    }
    
    /* Collapsed search for mobile */
    .nav-search-search {
        width: 40px;
        height: 40px;
        padding: 0;
        margin-left: 20px;
        background: transparent;
        cursor: pointer;
        border-radius: 50%;
        transition: all 0.3s ease;
    }
    
    .nav-search i {
        left: 12px;
        font-size: 18px;
        pointer-events: none;
    }
    
    /* Expand search on focus/click */
    .nav-search-search:focus {
        width: 180px;
        height: 40px;
        padding-left: 40px;
        background: #e8e8e8;
        border-radius: 20px;
    }
    .nav-search-search::placeholder {
    color: #666;
    font-size: 10px;
    }
    
    .navbar-icons-div {
        gap: 5px;
    }
    
    .navbar-icons i,
    .navbar-icons-div i {
        font-size: 24px;
        margin-left: 5px;
    }
    
    .navbar-icons-p {
        height: 18px;
        width: 18px;
        font-size: 11px;
        margin-bottom: 18px;
        margin-left: 20px;
    }
}

/* ===== EXTRA SMALL MOBILE (Up to 380px) ===== */
@media (max-width: 380px) {
    .navbar-logo {
        font-size: 20px;
    }
    
    .nav-bar ul {
        gap: 10px;
    }
    
    .nav-bar ul li {
        font-size: 14px;
    }
    
    .navbar-icons i,
    .navbar-icons-div i {
        font-size: 20px;
    }
    
    .navbar-icons-p {
        height: 16px;
        width: 16px;
        font-size: 10px;
        margin-bottom: 16px;
        margin-left: 18px;
    }
    
    .nav-search-search:focus {
        width: 140px;
    }
}

/* Remove all hamburger menu related styles */
.menu-toggle {
    display: none !important;
}





/* SLIDER - Responsive */
/* Container remains the same */
.slider-container {
    width: 100%;
    height: 65rem; 
    overflow: hidden; 
    position: relative;
    top: 0px;
    z-index: 1;
}

.image-slides {
    display: flex;
    width: 100%;
    height: 100%;
    /* This handles the smooth sliding animation */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%; /* Forces each image to be exactly the width of the container */
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide {
    flex: 0 0 100%; /* FIX: Prevents shrinking. Each slide is exactly 100% wide */
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative; /* Changed from absolute so they stay in a row */
    opacity: 1; /* Ensure they are visible for the slide effect */
}

/* --- Your Button Styles (Kept exactly as you provided) --- */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}
.image-slides img{
    width: 100%;
    height: 100%;
}

.prev-button, .next-button {
    transition: all 0.35s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: white;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 10px 15px;
    cursor: pointer;
    font-size: clamp(14px, 1.5vw, 25px);
}

.prev-button:hover, .next-button:hover {
    color: black;
    transform: translateY(-4px) scale(1.05);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.9); /* Makes text readable on hover */
}
/* Image Buttons Container */
.img_btn {
    position: absolute;
    bottom: clamp(50px, 8vh, 70px);
    left: clamp(20px, 4vw, 60px);
    z-index: 1;
    display: flex;
    gap: clamp(10px, 2vw, 20px);
    flex-wrap: wrap;
}

.img_btn button {
    font-size: clamp(16px, 2vw, 30px);
    width: clamp(200px, 15vw, 40rem);
    height: 80px;
    font-weight: 600;
    padding: 12px 20px;
    transition: all 0.35s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
   -webkit-backdrop-filter: blur(18px);
    color: white;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    
}


/* Light Shine Effect */
.img_btn button::before{
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.05),
    transparent
  );
  transform: rotate(25deg);
  transition: all 0.6s ease;
}


.img_btn button:hover {
     color: black;
    border: 1px solid black;
     transform: translateY(-4px) scale(1.02);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
    scale: 1.05;
}
.img_btn button:hover::before{
  left: 120%;
}



/* Image Text */
.img-text {
    position: absolute;
    font-size: 15px;
    top: 50%;
    transform: translateY(-50%);
    left: clamp(20px, 4vw, 62px);
    z-index: 1;
    padding-right: 20px;
    width: 90%;
    max-width: 700px;
    color: #000;
}

.img-text p {
    font-size: clamp(20px, 3vw, 25px);
    color: rgb(244, 244, 244);
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}
/* ===== SLIDER - Fully Responsive ===== */

/* Desktop Large (1200px and above) */
@media (min-width: 1200px) {
    .slider-container {
        height: 55rem;
        width: 100%;
        margin-top: 7rem;
    }
    
    .img-text p {
        font-size: 4rem;
        max-width: 800px;
    }
    
    .img_btn button {
        width: 22rem;
        height: 5rem;
        font-size: 1.5rem;
    }
}

/* Desktop Medium (993px to 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .slider-container {
        height: 40rem;
        margin-top: 7rem;
    }
    
    .img-text p {
        font-size: 4.5rem;
        max-width: 700px;
    }
    
    .img_btn button {
        width: 15rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }
}

/* Laptop (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .slider-container {
        height: 45rem;
        margin-top: 5.5rem;
    }
    
    .img-text {
        left: 3rem;
        max-width: 500px;
    }
    
    .img-text p {
        font-size: 3.8rem;
    }
    
    .img_btn {
        bottom: 4rem;
        left: 3rem;
        gap: 1.5rem;
    }
    
    .img_btn button {
        width: 12rem;
        height: 3.5rem;
        font-size: 1.5rem;
    }
    
    .slider-controls {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .prev-button, .next-button {
        padding: 0.8rem 1.2rem;
        font-size: 1.8rem;
    }
}

/* Tablet (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .slider-container {
        height: 38rem;
        margin-top: 5rem;
    }
    
    .img-text {
        left: 2.5rem;
        max-width: 400px;
    }
    
    .img-text p {
        font-size: 3.2rem;
    }
    
    .img_btn {
        bottom: 3rem;
        left: 2.5rem;
        gap: 1rem;
    }
    
    .img_btn button {
        width: 8rem;
        height: 3rem;
        font-size: 1rem;
        border-radius: 1.5rem;
    }
    
    .slider-controls {
        bottom: 1.2rem;
        right: 1.2rem;
        gap: 0.8rem;
    }
    
    .prev-button, .next-button {
        padding: 0.7rem 1rem;
        font-size: 1.6rem;
        border-radius: 1.2rem;
    }
}

/* Mobile Large (426px to 576px) */
@media (min-width: 426px) and (max-width: 576px) {
    .slider-container {
        height: 32rem;
        margin-top: 4.5rem;
    }
    
    .img-text {
        left: 2rem;
        max-width: 350px;
        width: 90%;
    }
    
    .img-text p {
        font-size: 2.5rem;
    }
    
    .img_btn {
        bottom: 2.5rem;
        left: 2rem;
        gap: 1rem;
        flex-direction: column;
    }
    
    .img_btn button {
        width: 20rem;
        height: 5rem;
        font-size: 1.8rem;
        padding: 0.6rem 1.2rem;
        border-radius: 1.2rem;
    }
    
    .slider-controls {
        bottom: 1rem;
        right: 1rem;
        gap: 0.6rem;
    }
    
    .prev-button, .next-button {
        padding: 0.6rem 0.9rem;
        font-size: 1.4rem;
        border-radius: 1rem;
    }
}

/* Mobile Medium (376px to 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    .slider-container {
        height: 28rem;
        margin-top: 4.5rem;
    }
    
    .img-text {
        left: 1.5rem;
        max-width: 280px;
        width: 90%;
        top: 45%;
    }
    
    .img-text p {
        font-size: 2.2rem;
        line-height: 1.3;
    }
    
    .img_btn {
        bottom: 2rem;
        left: 1.5rem;
        gap: 0.8rem;
        flex-direction: column;
    }
    
    .img_btn button {
        width: 18rem;
        height: 4.5rem;
        font-size: 1.6rem;
        padding: 0.5rem 1rem;
        border-radius: 1rem;
    }
    
    .slider-controls {
        bottom: 0.8rem;
        right: 0.8rem;
        gap: 0.5rem;
    }
    
    .prev-button, .next-button {
        padding: 0.5rem 0.8rem;
        font-size: 1.2rem;
        border-radius: 0.8rem;
    }
}

/* Mobile Small (up to 375px) */
@media (max-width: 375px) {
    .slider-container {
        height: 24rem;
        margin-top: 4.5rem;
    }
    
    .img-text {
        left: 1.2rem;
        max-width: 220px;
        width: 90%;
        top: 40%;
    }
    
    .img-text p {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .img_btn {
        bottom: 1.5rem;
        left: 1.2rem;
        gap: 0.6rem;
        flex-direction: column;
    }
    
    .img_btn button {
        width: 15rem;
        height: 4rem;
        font-size: 1.4rem;
        padding: 0.4rem 0.8rem;
        border-radius: 0.8rem;
    }
    
    .slider-controls {
        bottom: 0.6rem;
        right: 0.6rem;
        gap: 0.4rem;
    }
    
    .prev-button, .next-button {
        padding: 0.4rem 0.6rem;
        font-size: 1rem;
        border-radius: 0.6rem;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .slider-container {
        height: 20rem;
    }
    
    .img-text p {
        font-size: 1.5rem;
    }
    
    .img_btn button {
        width: 13rem;
        height: 3.5rem;
        font-size: 1.2rem;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .slider-container {
        height: 80vh;
    }
    
    .img-text {
        top: 40%;
    }
    
    .img-text p {
        font-size: 2rem;
    }
    
    .img_btn {
        bottom: 1.5rem;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .img_btn button {
        width: 15rem;
        height: 4rem;
        font-size: 1.5rem;
    }
}

/* Ensure images cover properly on all devices */
.image-slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center; /* Centers the image focus point */
}

/* Fix for very tall images on mobile */
@media (max-aspect-ratio: 1/1) {
    .image-slides img {
        object-position: center 30%; /* Adjusts focal point for portrait orientation */
    }
}

/* High-DPI/Retina screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .img-text p {
        text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6);
    }
    
    .img_btn button {
        border-width: 0.5px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .prev-button:hover, 
    .next-button:hover,
    .img_btn button:hover {
        transform: none; /* Disable hover effects on touch devices */
    }
    
    .img_btn button:active {
        transform: scale(0.98);
    }
    
    .prev-button:active,
    .next-button:active {
        background: rgba(255, 255, 255, 0.9);
        color: black;
    }
}

/* Ensure slider doesn't overflow on any device */
.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Smooth transitions for all responsive changes */
.slider-container,
.img-text,
.img_btn button,
.prev-button,
.next-button {
    transition: all 0.3s ease;
}






/* --- PAGE 2 GLOBAL --- */
#page2 {
    width: 100%;
    height: 100vh;
    scroll-behavior: smooth;
    overflow: hidden;
    background-color: #e8e8e8;
}

/* --- BRANDS SECTION --- */
.brands {
    width: 100%;
    height: 10rem;
    padding: 60px 5%;
    
}

.brand-text {
    text-align: center;
    margin-bottom: 40px;
}

.brand-text p {
    font-size: clamp(24px, 4vw, 50px); /* Fluid typography */
    font-weight: 600;
    
}

.brand-imgs .brandImgonly {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

#brand-img {
    position: relative;
    flex: 1;
    min-width: 460px; /* Prevents images from getting too skinny */
    max-width: 550px;
    height: 650px; /* Uniform height */
    border-radius: 10px;
    overflow: hidden;
}

.brandImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

#brand-img:hover .brandImg {
    transform: scale(1.05);
}

/*  BRAND BUTTONS  */
#brand-img .brandsBtn {
    position: absolute;
    bottom: 60px; 
    left: 10%;
    transform: translateX(-10%); 
    z-index: 10;
    height: 60px;
    width: 200px;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
     transition: all 0.35s ease;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
   -webkit-backdrop-filter: blur(18px);
    color: white;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;

}

#brand-img .brandsBtn:hover {
    color: black;
    border: 1px solid rgb(255, 255, 255);
     transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
    scale: 1.05;

}

#brand-img .brandsBtn span {
    margin-right: 8px;
    transition: 0.3s ease;
}

#brand-img .brandsBtn:hover span {
    transform: translateX(8px);
}

/* ===== PAGE 2 - RESPONSIVE FIXES (Preserves your exact design) ===== */

/* Desktop Large (1200px and above) */
@media (min-width: 1200px) {
    #page2 {
        height: 100vh;
        min-height: 850px;
    }
    
    .brands {
        height: auto;
        min-height: 10rem;
        padding: 60px 5%;
    }
    
    .brand-text p {
        font-size: 50px;
        margin-bottom: 40px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 30px;
    }
    
    #brand-img {
        min-width: 460px;
        max-width: 550px;
        height: 650px;
    }
    
    #brand-img .brandsBtn {
        height: 60px;
        width: 200px;
        font-size: 20px;
        bottom: 60px;
        left: 10%;
        transform: translateX(-10%);
    }
}

/* Desktop Medium (993px to 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    #page2 {
        height: auto;
        min-height: 100vh;
        padding: 0 0 40px 0;
    }
    
    .brands {
        height: auto;
        padding: 50px 4%;
    }
    
    .brand-text p {
        font-size: 42px;
        margin-bottom: 35px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 25px;
    }
    
    #brand-img {
        min-width: 300px;
        max-width: 450px;
        height: 450px;
    }
    
    #brand-img .brandsBtn {
        height: 58px;
        width: 190px;
        font-size: 19px;
        bottom: 55px;
        left: 10%;
        transform: translateX(-10%);
    }
}

/* Laptop (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    #page2 {
        height: auto;
        min-height: 100vh;
        padding: 0 0 50px 0;
    }
    
    .brands {
        height: auto;
        padding: 40px 3%;
    }
    
    .brand-text p {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 20px;
        justify-content: center;
    }
    
    #brand-img {
        min-width: 320px;
        max-width: 400px;
        height: 500px;
    }
    
    #brand-img .brandsBtn {
        height: 55px;
        width: 170px;
        font-size: 18px;
        bottom: 45px;
        left: 10%;
        transform: translateX(-10%);
        border-radius: 12px;
    }
}

/* Tablet (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    #page2 {
        height: auto;
        min-height: auto;
        padding: 30px 0 60px 0;
    }
    
    .brands {
        height: auto;
        padding: 30px 3%;
    }
    
    .brand-text p {
        font-size: 32px;
        margin-bottom: 25px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 30px;
        flex-direction: column;
        align-items: center;
    }
    
    #brand-img {
        min-width: 90%;
        max-width: 500px;
        height: 450px;
        margin: 0 auto;
    }
    
    #brand-img .brandsBtn {
        height: 50px;
        width: 160px;
        font-size: 17px;
        bottom: 40px;
        /* Center on tablet */
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Ensure last brand has spacing */
    #brand-img:last-child {
        margin-bottom: 0;
    }
}

/* Mobile Large (426px to 576px) */
@media (min-width: 426px) and (max-width: 576px) {
    #page2 {
        height: auto;
        padding: 20px 0 50px 0;
    }
    
    .brands {
        height: auto;
        padding: 20px 3%;
    }
    
    .brand-text p {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 25px;
        flex-direction: column;
        align-items: center;
    }
    
    #brand-img {
        min-width: 95%;
        max-width: 400px;
        height: 380px;
        margin: 0 auto;
    }
    
    #brand-img .brandsBtn {
        height: 48px;
        width: 150px;
        font-size: 16px;
        bottom: 35px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 10px;
    }
    
    #brand-img .brandsBtn span {
        margin-right: 6px;
    }
}

/* Mobile Medium (376px to 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    #page2 {
        height: auto;
        padding: 15px 0 45px 0;
    }
    
    .brands {
        height: auto;
        padding: 15px 2%;
    }
    
    .brand-text p {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    #brand-img {
        min-width: 96%;
        max-width: 350px;
        height: 320px;
        margin: 0 auto;
    }
    
    #brand-img .brandsBtn {
        height: 45px;
        width: 140px;
        font-size: 15px;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 8px;
    }
    
    #brand-img .brandsBtn span {
        margin-right: 5px;
    }
}

/* Mobile Small (up to 375px) */
@media (max-width: 375px) {
    #page2 {
        height: auto;
        padding: 10px 0 40px 0;
    }
    
    .brands {
        height: auto;
        padding: 10px 2%;
    }
    
    .brand-text p {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .brand-imgs .brandImgonly {
        gap: 18px;
        flex-direction: column;
        align-items: center;
    }
    
    #brand-img {
        min-width: 98%;
        max-width: 300px;
        height: 280px;
        margin: 0 auto;
    }
    
    #brand-img .brandsBtn {
        height: 40px;
        width: 130px;
        font-size: 14px;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 8px;
    }
    
    #brand-img .brandsBtn span {
        margin-right: 4px;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    #page2 {
        padding: 5px 0 35px 0;
    }
    
    .brand-text p {
        font-size: 20px;
    }
    
    #brand-img {
        height: 240px;
    }
    
    #brand-img .brandsBtn {
        height: 36px;
        width: 120px;
        font-size: 13px;
        bottom: 20px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    #page2 {
        height: auto;
        min-height: 100vh;
        padding: 20px 0 40px 0;
    }
    
    .brand-imgs .brandImgonly {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    #brand-img {
        min-width: 45%;
        max-width: 45%;
        height: 280px;
    }
    
    #brand-img .brandsBtn {
        height: 40px;
        width: 130px;
        font-size: 14px;
        bottom: 25px;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    #page2 {
        height: 100vh;
        min-height: 700px;
    }
    
    #brand-img {
        min-width: 380px;
        height: 520px;
    }
}

/* Fix for very small heights */
@media (max-height: 700px) and (min-width: 769px) {
    #page2 {
        height: auto;
        min-height: 100vh;
    }
    
    .brands {
        padding: 40px 5%;
    }
}

/* Ensure proper spacing between brand images */
.brand-imgs .brandImgonly {
    align-items: center;
}

/* Fix for tablets in portrait where 3 items might stack awkwardly */
@media (min-width: 768px) and (max-width: 900px) and (orientation: portrait) {
    .brand-imgs .brandImgonly {
        justify-content: center;
    }
    
    #brand-img {
        min-width: 300px;
        max-width: 350px;
        height: 450px;
    }
}

/* Prevent any overflow issues */
#page2 {
    overflow-x: hidden;
    position: relative;
}

.brand-imgs {
    width: 100%;
    overflow: visible;
}

/* Ensure brand containers don't overflow on small screens */
#brand-img {
    box-sizing: border-box;
}

/* Keep hover effects but disable on touch devices */
@media (hover: hover) {
    #brand-img:hover .brandImg {
        transform: scale(1.05);
    }
    
    #brand-img .brandsBtn:hover {
        color: black;
        border: 1px solid rgb(255, 255, 255);
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 8px 30px rgba(255, 255, 255, 0.12);
    }
    
    #brand-img .brandsBtn:hover span {
        transform: translateX(8px);
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    #brand-img:hover .brandImg {
        transform: none;
    }
    
    #brand-img .brandsBtn:hover {
        transform: none;
        scale: 1;
    }
    
    #brand-img .brandsBtn:active {
        transform: scale(0.98);
    }
}

/* Add smooth transitions */
#brand-img,
.brandImg,
.brandsBtn,
.brandsBtn span {
    transition: all 0.3s ease;
}

/* Ensure brand buttons are always visible and properly positioned */
#brand-img .brandsBtn {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for iOS */
@supports (-webkit-touch-callout: none) {
    #brand-img .brandsBtn {
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
}






/* --- REVIEW SECTION --- */
.review-section {
    width: 100%;
    min-height: 500px; /* Changed from fixed height to min-height */
    height: auto; /* Allow height to expand */
    font-family: Georgia, serif;
    background-color: #e9e7e1;
    overflow: visible; /* Ensure content doesn't get hidden */
}

.review-star {
    top: 0px;
    width: 100%;
    height: auto; /* Allow height to adjust */
    min-height: 55px; /* Minimum height */
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background-color: #000;
    color: #fff;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.review-star i {
    color: #c5a37d;
    font-size: 20px;
}

.review-star p {
    font-size: 25px;
    color: rgb(230, 230, 230);
    margin: 0; /* Remove default margin */
}

.review-text {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
}

#review-text-id {
    flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
    min-width: 280px; /* Minimum width before stacking */
    width: auto; /* Override fixed width */
    height: auto; /* Allow height to adjust */
    min-height: 400px; /* Minimum height */
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0.5px solid rgba(0,0,0,0.1);
    text-align: center;
    box-sizing: border-box; /* Include padding in height calculation */
}

#review-text-id h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%; /* Ensure full width */
}

#review-text-id p {
    color: #484848;
    line-height: 1.6;
    font-size: 20px;
    margin-bottom: 20px;
    max-width: 400px; /* Limit width for better readability */
    width: 100%;
}

#review-text-id i {
    font-size: 50px;
    color: #000;
    margin-bottom: 10px;
}

/* Fix for last child border */
#review-text-id:last-child {
    border-right: 0.5px solid rgba(0,0,0,0.1);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop Medium (993px to 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .review-section {
        min-height: 500px;
    }
    
    .review-star {
        padding: 12px 0;
        gap: 12px;
    }
    
    .review-star i {
        font-size: 18px;
    }
    
    .review-star p {
        font-size: 22px;
    }
    
    #review-text-id {
        min-height: 380px;
        padding: 35px 25px;
    }
    
    #review-text-id h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    #review-text-id p {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 18px;
        max-width: 350px;
    }
    
    #review-text-id i {
        font-size: 45px;
    }
}

/* Laptop (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .review-section {
        min-height: 450px;
    }
    
    .review-star {
        padding: 10px 0;
        gap: 10px;
    }
    
    .review-star i {
        font-size: 16px;
    }
    
    .review-star p {
        font-size: 20px;
    }
    
    .review-text {
        gap: 0; /* Remove gap to prevent overflow */
    }
    
    #review-text-id {
        flex: 1 1 250px;
        min-width: 240px;
        min-height: 350px;
        padding: 30px 20px;
    }
    
    #review-text-id h2 {
        font-size: 24px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }
    
    #review-text-id p {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 300px;
    }
    
    #review-text-id i {
        font-size: 40px;
    }
}

/* Tablet (577px to 768px) - Fix stacking */
@media (min-width: 577px) and (max-width: 768px) {
    .review-section {
        min-height: auto;
    }
    
    .review-star {
        padding: 8px 0;
        gap: 8px;
    }
    
    .review-star i {
        font-size: 15px;
    }
    
    .review-star p {
        font-size: 18px;
    }
    
    .review-text {
        flex-direction: column;
    }
    
    #review-text-id {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        min-height: 280px;
        padding: 30px 20px;
        border-right: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    /* Remove bottom border from last item */
    #review-text-id:last-child {
        border-bottom: none;
    }
    
    #review-text-id h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    
    #review-text-id p {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 18px;
        max-width: 500px;
    }
    
    #review-text-id i {
        font-size: 45px;
    }
}

/* Mobile Large (426px to 576px) */
@media (min-width: 426px) and (max-width: 576px) {
    .review-section {
        min-height: auto;
    }
    
    .review-star {
        padding: 12px 15px;
        gap: 8px;
        flex-direction: column;
        text-align: center;
        height: auto;
    }
    
    .review-star i {
        font-size: 16px;
    }
    
    .review-star p {
        font-size: 18px;
    }
    
    .review-text {
        flex-direction: column;
    }
    
    #review-text-id {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        min-height: 260px;
        padding: 25px 15px;
        border-right: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    #review-text-id:last-child {
        border-bottom: none;
    }
    
    #review-text-id h2 {
        font-size: 24px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }
    
    #review-text-id p {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 15px;
        max-width: 400px;
    }
    
    #review-text-id i {
        font-size: 40px;
        margin-bottom: 10px;
    }
}

/* Mobile Medium (376px to 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    .review-section {
        min-height: auto;
    }
    
    .review-star {
        padding: 10px 12px;
        gap: 6px;
        flex-direction: column;
        height: auto;
    }
    
    .review-star i {
        font-size: 14px;
    }
    
    .review-star p {
        font-size: 16px;
    }
    
    .review-text {
        flex-direction: column;
    }
    
    #review-text-id {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        min-height: 240px;
        padding: 20px 12px;
        border-right: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    #review-text-id:last-child {
        border-bottom: none;
    }
    
    #review-text-id h2 {
        font-size: 22px;
        margin-bottom: 8px;
    }
    
    #review-text-id p {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 12px;
        max-width: 320px;
    }
    
    #review-text-id i {
        font-size: 35px;
        margin-bottom: 8px;
    }
}

/* Mobile Small (up to 375px) */
@media (max-width: 375px) {
    .review-section {
        min-height: auto;
    }
    
    .review-star {
        padding: 8px 10px;
        gap: 5px;
        flex-direction: column;
        height: auto;
    }
    
    .review-star i {
        font-size: 13px;
    }
    
    .review-star p {
        font-size: 15px;
    }
    
    .review-text {
        flex-direction: column;
    }
    
    #review-text-id {
        flex: 1 1 100%;
        min-width: 100%;
        width: 100%;
        min-height: 220px;
        padding: 18px 10px;
        border-right: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    #review-text-id:last-child {
        border-bottom: none;
    }
    
    #review-text-id h2 {
        font-size: 20px;
        margin-bottom: 6px;
        letter-spacing: 0.3px;
    }
    
    #review-text-id p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 10px;
        max-width: 280px;
    }
    
    #review-text-id i {
        font-size: 32px;
        margin-bottom: 6px;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    .review-star i {
        font-size: 12px;
    }
    
    .review-star p {
        font-size: 14px;
    }
    
    #review-text-id {
        min-height: 200px;
        padding: 15px 8px;
    }
    
    #review-text-id h2 {
        font-size: 18px;
    }
    
    #review-text-id p {
        font-size: 14px;
        max-width: 250px;
    }
    
    #review-text-id i {
        font-size: 28px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .review-section {
        min-height: auto;
    }
    
    .review-star {
        padding: 5px 0;
        height: auto;
    }
    
    .review-text {
        flex-direction: row; /* Back to row in landscape */
    }
    
    #review-text-id {
        min-height: 200px;
        padding: 15px 20px;
        flex: 1 1 33.333%;
    }
    
    #review-text-id h2 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    #review-text-id p {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    #review-text-id i {
        font-size: 30px;
        margin-bottom: 5px;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    #review-text-id {
        min-height: 380px;
        padding: 35px 25px;
    }
    
    #review-text-id h2 {
        font-size: 26px;
    }
    
    #review-text-id p {
        font-size: 18px;
        max-width: 350px;
    }
}

/* Border fixes for all devices */
@media (max-width: 768px) {
    #review-text-id {
        border-right: 0.5px solid rgba(0,0,0,0.1);
        border-bottom: 0.5px solid rgba(0,0,0,0.1);
    }
    
    #review-text-id:last-child {
        border-bottom: none;
    }
    
    /* Ensure first item has top border */
    #review-text-id:first-child {
        border-top: 0.5px solid rgba(0,0,0,0.1);
    }
}

/* Smooth transitions */
.review-section,
.review-star,
#review-text-id,
#review-text-id h2,
#review-text-id p,
#review-text-id i {
    transition: all 0.3s ease;
}

/* Add clear fix to prevent float issues */
.review-text::after {
    content: "";
    display: table;
    clear: both;
}

/* MEN PRODUCTS CONTAINER - Fully Responsive */
.men-products {
    width: 100%;
    height: auto; /* Changed from fixed height to auto */
    min-height: 90rem; /* Keep minimum height for desktop */
    padding: 20px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.men-products-p {
    font-size: clamp(28px, 5vw, 50px); /* Responsive font size */
    font-weight: 600;
    margin: 30px 0;
    padding-left: 5%;
    font-family: Arial, Helvetica, sans-serif;
    text-align: left;
}

/* SECTION LAYOUT */
.men-section1, 
.men-section2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    margin-bottom: 50px;
}

.men-section2 {
    margin-top: 10px;
}

#men-product {
    flex: 1 1 300px; /* Flexible basis */
    max-width: 400px;
    width: 100%;
    min-width: 280px; /* Prevents getting too small */
}

/* IMAGE CONTAINERS */
.img-box {
    position: relative;
    width: 100%;
    height: 500px; /* Base height for desktop */
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid black;
}

.img-box img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-box img:hover {
    cursor: pointer;
    transform: scale(1.05);
}

/* PLUS ICON & INFO ROW */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    width: 100%;
    gap: 10px; /* Add gap for small screens */
}

.info-row .title {
    font-size: clamp(20px, 2.5vw, 28px); /* Responsive */
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Handle long names */
}

.price {
    font-size: clamp(22px, 2.5vw, 29px); /* Responsive */
    color: rgb(5, 5, 166);
    font-weight: 700;
    white-space: nowrap;
}

.plus-icon {
    font-size: 18px;
    height: 50px;
    width: 50px;
    min-width: 50px; /* Prevent shrinking */
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transition: all 0.35s ease;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: rgb(255, 255, 255);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* HOVER TRIGGERS */
#men-product:hover .plus-icon {
    opacity: 1;
    transform: scale(1);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 2px solid rgba(0, 0, 0, 0.5);
    scale: 1.05;
    background: rgba(0, 0, 0, 0.923);
}

/* TOP LABEL */
.img-box .label {
    position: absolute;
    top: 15px;
    left: 0;
    padding: 4px 12px;
    z-index: 10;
    font-size: 12px;
    color: white;
    background-color: rgb(152, 36, 36);
    border-radius: 0 5px 5px 0;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop Large (1200px and above) */
@media (min-width: 1200px) {
    .men-products {
        min-height: 90rem;
        padding: 20px 40px;
    }
    
    #men-product {
        max-width: 400px;
    }
    
    .img-box {
        height: 500px;
    }
}

/* Desktop Medium (993px to 1199px) */
@media (min-width: 993px) and (max-width: 1199px) {
    .men-products {
        min-height: 80rem;
        padding: 20px 30px;
    }
    
    .men-products-p {
        font-size: 42px;
        margin: 25px 0;
    }
    
    #men-product {
        max-width: 350px;
    }
    
    .img-box {
        height: 450px;
    }
    
    .info-row .title {
        font-size: 24px;
    }
    
    .price {
        font-size: 25px;
    }
}

/* Laptop (769px to 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .men-products {
        min-height: auto;
        padding: 20px;
    }
    
    .men-products-p {
        font-size: 36px;
        margin: 20px 0;
    }
    
    .men-section1, 
    .men-section2 {
        gap: 20px;
    }
    
    #men-product {
        flex: 1 1 280px;
        max-width: 320px;
    }
    
    .img-box {
        height: 400px;
    }
    
    .info-row .title {
        font-size: 22px;
    }
    
    .price {
        font-size: 23px;
    }
    
    .plus-icon {
        height: 45px;
        width: 45px;
        min-width: 45px;
        font-size: 16px;
    }
}

/* Tablet (577px to 768px) */
@media (min-width: 577px) and (max-width: 768px) {
    .men-products {
        min-height: auto;
        padding: 15px;
    }
    
    .men-products-p {
        font-size: 32px;
        margin: 15px 0;
        padding-left: 3%;
    }
    
    .men-section1, 
    .men-section2 {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    #men-product {
        flex: 1 1 240px;
        max-width: 280px;
        min-width: 220px;
    }
    
    .img-box {
        height: 320px;
    }
    
    .info-row {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .info-row .title {
        font-size: 20px;
        width: 100%;
        white-space: normal;
    }
    
    .price {
        font-size: 22px;
    }
    
    .plus-icon {
        height: 40px;
        width: 40px;
        min-width: 40px;
        font-size: 15px;
        opacity: 1; /* Always visible on tablet for better UX */
        background: rgba(0, 0, 0, 0.7);
    }
    
    /* Disable hover effect on tablet (use active instead) */
    #men-product:hover .plus-icon {
        transform: none;
    }
    
    #men-product:active .plus-icon {
        transform: scale(0.95);
    }
}

/* Mobile Large (426px to 576px) */
@media (min-width: 426px) and (max-width: 576px) {
    .men-products {
        min-height: auto;
        padding: 10px;
    }
    
    .men-products-p {
        font-size: 28px;
        margin: 12px 0;
        padding-left: 2%;
        text-align: center; /* Center on mobile */
    }
    
    .men-section1, 
    .men-section2 {
        gap: 20px;
        margin-bottom: 25px;
    }
    
    #men-product {
        flex: 1 1 100%;
        max-width: 350px;
        min-width: 260px;
    }
    
    .img-box {
        height: 350px;
    }
    
    .info-row {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .info-row .title {
        font-size: 22px;
        width: 100%;
        white-space: normal;
        text-align: center;
    }
    
    .price {
        font-size: 24px;
        margin-left: auto;
    }
    
    .plus-icon {
        height: 45px;
        width: 45px;
        min-width: 45px;
        font-size: 16px;
        opacity: 1; /* Always visible on mobile */
        background: rgba(0, 0, 0, 0.8);
        margin-left: auto;
    }
    
    .img-box .label {
        top: 10px;
        padding: 3px 10px;
        font-size: 11px;
    }
}

/* Mobile Medium (376px to 425px) */
@media (min-width: 376px) and (max-width: 425px) {
    .men-products {
        min-height: auto;
        padding: 8px;
    }
    
    .men-products-p {
        font-size: 26px;
        margin: 10px 0;
        padding-left: 0;
        text-align: center;
    }
    
    .men-section1, 
    .men-section2 {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    #men-product {
        flex: 1 1 100%;
        max-width: 320px;
    }
    
    .img-box {
        height: 300px;
    }
    
    .info-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .info-row .title {
        font-size: 20px;
        width: 100%;
        text-align: center;
    }
    
    .price {
        font-size: 22px;
    }
    
    .plus-icon {
        height: 42px;
        width: 42px;
        min-width: 42px;
        font-size: 15px;
    }
}

/* Mobile Small (up to 375px) */
@media (max-width: 375px) {
    .men-products {
        min-height: auto;
        padding: 5px;
    }
    
    .men-products-p {
        font-size: 24px;
        margin: 8px 0;
        padding-left: 0;
        text-align: center;
    }
    
    .men-section1, 
    .men-section2 {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    #men-product {
        flex: 1 1 100%;
        max-width: 280px;
    }
    
    .img-box {
        height: 260px;
    }
    
    .info-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .info-row .title {
        font-size: 18px;
        width: 100%;
        text-align: center;
    }
    
    .price {
        font-size: 20px;
    }
    
    .plus-icon {
        height: 38px;
        width: 38px;
        min-width: 38px;
        font-size: 14px;
    }
    
    .img-box .label {
        top: 8px;
        padding: 2px 8px;
        font-size: 10px;
    }
}

/* Extra Small Mobile (up to 320px) */
@media (max-width: 320px) {
    #men-product {
        max-width: 250px;
    }
    
    .img-box {
        height: 220px;
    }
    
    .info-row .title {
        font-size: 16px;
    }
    
    .price {
        font-size: 18px;
    }
    
    .plus-icon {
        height: 35px;
        width: 35px;
        min-width: 35px;
        font-size: 13px;
    }
}

/* Landscape Mode for Mobile */
@media (max-height: 600px) and (orientation: landscape) {
    .men-products {
        min-height: auto;
    }
    
    .men-section1,
    .men-section2 {
        gap: 15px;
    }
    
    #men-product {
        max-width: 300px;
    }
    
    .img-box {
        height: 250px;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    #men-product {
        max-width: 350px;
    }
    
    .img-box {
        height: 420px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .plus-icon {
        opacity: 1; /* Always visible on touch devices */
        background: rgba(0, 0, 0, 0.7);
    }
    
    #men-product:hover .plus-icon {
        transform: none; /* Disable hover on touch */
    }
    
    #men-product:active .plus-icon {
        transform: scale(0.95);
    }
    
    .img-box img:hover {
        transform: none; /* Disable image zoom on touch */
    }
}

/* High-DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .img-box {
        border-width: 0.5px;
    }
}

/* Ensure proper spacing */
.men-section2 {
    margin-top: 10px;
}

/* Center products on small screens */
@media (max-width: 576px) {
    .men-section1,
    .men-section2 {
        justify-content: center;
    }
    
    #men-product {
        margin: 0 auto;
    }
}


/* MAIN CONTAINER - FULLY RESPONSIVE */
.preview-products {
    height: 80%;
    width: 80%; /* Reduced from 90% for better centering */
    max-width: 1200px;
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 15%; /* Adjusted to center with 70% width */
    top: 10%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

#preview-products1 {
  display: none;
  transform: scale(0.8);
  transition: all 0.3s ease;
} 

#preview-products1.show {
  display: flex;
  transform: scale(1);
}



/* CLOSE ICON */
.preview-products i {
   font-size: 25px;
   padding: 15px;
   cursor: pointer;
   align-self: flex-start; /* Keeps icon in top left */
}

/* IMAGE SECTION */
.preview-products-imgs {
  position: relative;
  width: 55%; /* adjust as needed */
  height: 100%;
  margin: auto;
  margin-left: 25px;
}

.preview-products-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  border: none;
  font-size: 45px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 20%;
  z-index: 10;
  transition: all 0.35s ease;
 background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
   -webkit-backdrop-filter: blur(18px);
    color: white;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

    

/* DETAILS SECTION */
.preview-products-detals {
   width: 100%;
   display: flex;
   flex-direction: column;
   padding: 15px 20px; /* Using padding instead of margin-left */
 
}

.preview-products-detals h1 {
   color: #000;
   font-size: 30px;
   margin-top: 30px;

}

.preview-products-detals p {
   font-size: 20px;
   color: #1f1f1f;
}
.preview-products-detals h1 span{
    font-size: 25px;
    color: #000000;
    
}
.preview-products-detals-size p{
    font-size: 30px;
}
.preview-products-detals-size{
    margin-top: 30px;
}
.preview-products-detals-size button{
    height: 50px;
    width: 100px;
    margin-top: 15px;
    border-radius: 30px;
    border-top-left-radius: 0px;
    margin-left: 15px;
    background: rgba(211, 211, 211, 0.8);
   backdrop-filter: blur(10px);
   transition: 0.3s;
}
.preview-products-detals-size button:hover {
   background: #111;
  color: white;
  border: 1px solid #111;

  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.preview-products-detals-size button.selected {
    background: #ffffff;
   color: rgb(0, 0, 0);
    border: 1px solid #333;
}

/* BUTTONS */
.preview-products-btn {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center; /* Perfectly centers the buttons */
   gap: 15px;
   margin-top: auto; /* Pushes buttons to the bottom */
   margin-bottom: 30px;
}
.preview-products-btn-with-counter {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
  
}


.quantity-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 5px 12px;
  border-radius: 15px;
   height: 70px;
   width: 230px;
   font-size: 25px;
   border: 1px solid black;
}

.quantity-counter button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 30px;
  cursor: pointer;
  background: white;
  transition: 0.3s;
  background: rgba(211, 211, 211, 0.8);
 backdrop-filter: blur(10px);
}

.quantity-counter button:hover {
 background: #111;
  color: white;
  border: 1px solid #111;

  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.quantity-counter span {
  font-size: 25px;
  font-weight: bold;
  width: 30px;
  text-align: center;
  color: black;
}

.preview-products-btn-active{
    height: 70px;
   width: 450px;
   font-size: 25px;
   font-weight: 600;
   border-radius: 5px;
   cursor: pointer;
   transition: 0.3s;
  font-weight: 600;
  cursor: pointer;

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.preview-products-btn-unactive {
   height: 80px;
   width: 600px;
   margin-bottom: 20px;
   border-bottom: 50px;
   font-size: 25px;
   font-weight: 600;
   border-radius: 5px;
   cursor: pointer;
   transition: 0.3s;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.preview-products-btn-active {
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.292);
  border-radius: 15px;

   background: #2c2c2c;
  border: 1px solid #d0d0d0;

  color: #ffffff;
  transition: 0.3s ease;
}

.preview-products-btn-unactive {
   box-shadow: 0 6px 18px rgba(0, 0, 0, 0.292);
  border-radius: 15px;

  background: #f2f2f2;
  border: 1px solid #d0d0d0;

  color: #111;
  transition: 0.3s ease;
}

.preview-products-btn-unactive:hover {
   background: #2c2c2c;
  color: white;
  border: 1px solid #111;

  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* Large Desktop Screens */
@media screen and (min-width: 1400px) {
    .preview-products {
        width: 80%;
        left: 16%;
        top: 15%;
        max-width: 1300px;
    }
}

/* Desktop Normal */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .preview-products {
        width: 80%;
        left: 10%;
        top: 15%;
    }
}

/* Small Desktop / Laptop */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .preview-products {
        width: 80%;
        left: 20%;
        top: 15%;
    }
}

/* Tablet Landscape */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products {
        width: 85%;
        left: 20%;
        top: 10%;
        height: 85%;
        flex-direction: column;
    }
}

/* Mobile */
@media screen and (max-width: 767px) {
    .preview-products {
        width: 95%;
        left: 2.5%;
        top: 2.5%;
        height: 95%;
        flex-direction: column;
        border-radius: 15px;
    }
}

#preview-products1 {
    display: none;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

#preview-products1.show {
    display: flex;
    transform: scale(1);
}

/* CLOSE ICON */
.preview-products i {
    font-size: 28px;
    padding: 12px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.preview-products i:hover {
    background: #111;
    color: white;
    transform: rotate(90deg);
}

/* Mobile Close Icon */
@media screen and (max-width: 767px) {
    .preview-products i {
        font-size: 24px;
        width: 45px;
        height: 45px;
        top: 10px;
        right: 15px;
    }
}

/* IMAGE SECTION */
.preview-products-imgs {
    position: relative;
    width: 50%; /* Changed from 55% for better balance */
    height: 100%;
    margin: 0;
    overflow: hidden;
}

/* Tablet Image Section */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-imgs {
        width: 100%;
        height: 45%;
        min-height: 300px;
    }
}

/* Mobile Image Section */
@media screen and (max-width: 767px) {
    .preview-products-imgs {
        width: 100%;
        height: 40%;
        min-height: 250px;
    }
}

.preview-products-imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    font-size: 35px;
    padding: 12px 18px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.35s ease;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev-btn { 
    left: 15px; 
}

.next-btn { 
    right: 15px; 
}

.prev-btn:hover,
.next-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

/* Mobile Navigation */
@media screen and (max-width: 767px) {
    .prev-btn,
    .next-btn {
        font-size: 28px;
        padding: 10px 15px;
    }
}

/* DETAILS SECTION */
.preview-products-detals {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 30px 35px;
    overflow-y: auto;
}

/* Tablet Details */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-detals {
        width: 100%;
        height: 55%;
        padding: 25px 30px;
    }
}

/* Mobile Details */
@media screen and (max-width: 767px) {
    .preview-products-detals {
        width: 100%;
        height: 60%;
        padding: 20px;
        overflow-y: auto;
    }
}

.preview-products-detals h1 {
    color: #000;
    font-size: 32px;
    margin: 10px 0 15px 0;
    line-height: 1.2;
}

/* Tablet Title */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-detals h1 {
        font-size: 28px;
        margin-top: 5px;
    }
}

/* Mobile Title */
@media screen and (max-width: 767px) {
    .preview-products-detals h1 {
        font-size: 24px;
        margin-top: 0;
    }
}

.preview-products-detals p {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

/* Tablet Description */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-detals p {
        font-size: 16px;
        margin-bottom: 12px;
    }
}

/* Mobile Description */
@media screen and (max-width: 767px) {
    .preview-products-detals p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 10px;
    }
}

.preview-products-detals h1 span {
    font-size: 24px;
    color: #333;
    display: block;
    margin-top: 5px;
}

/* SIZE SELECTOR */
.preview-products-detals-size {
    margin: 25px 0 20px 0;
}

.preview-products-detals-size p {
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

/* Tablet Size Text */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-detals-size p {
        font-size: 22px;
    }
}

/* Mobile Size Text */
@media screen and (max-width: 767px) {
    .preview-products-detals-size p {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

.preview-products-detals-size button {
    height: 55px;
    width: 110px;
    margin: 8px 10px 8px 0;
    border-radius: 30px;
    border-top-left-radius: 5px;
    background: rgba(211, 211, 211, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
}

/* Tablet Size Buttons */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-detals-size button {
        height: 50px;
        width: 100px;
        font-size: 16px;
    }
}

/* Mobile Size Buttons */
@media screen and (max-width: 767px) {
    .preview-products-detals-size button {
        height: 45px;
        width: 85px;
        font-size: 15px;
        margin: 5px 8px 5px 0;
    }
}

.preview-products-detals-size button:hover {
    background: #111;
    color: white;
    border: 1px solid #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.preview-products-detals-size button.selected {
    background: #ffffff;
    color: rgb(0, 0, 0);
    border: 2px solid #333;
    font-weight: 600;
}

/* BUTTONS SECTION */
.preview-products-btn {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: auto;
    margin-bottom: 20px;
    width: 100%;
}

.preview-products-btn-with-counter {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Mobile Button Layout */
@media screen and (max-width: 767px) {
    .preview-products-btn-with-counter {
        flex-direction: column;
        gap: 15px;
    }
}

/* QUANTITY COUNTER */
.quantity-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #f5f5f5;
    padding: 8px 15px;
    border-radius: 15px;
    height: 70px;
    width: 240px;
    border: 1px solid #ddd;
}

/* Tablet Quantity Counter */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .quantity-counter {
        height: 65px;
        width: 220px;
        padding: 5px 12px;
    }
}

/* Mobile Quantity Counter */
@media screen and (max-width: 767px) {
    .quantity-counter {
        width: 100%;
        height: 60px;
        justify-content: space-around;
        padding: 5px 10px;
    }
}

.quantity-counter button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    background: white;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tablet Counter Buttons */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .quantity-counter button {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Mobile Counter Buttons */
@media screen and (max-width: 767px) {
    .quantity-counter button {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

.quantity-counter button:hover {
    background: #111;
    color: white;
    border: 1px solid #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.quantity-counter span {
    font-size: 26px;
    font-weight: bold;
    min-width: 40px;
    text-align: center;
    color: black;
}

/* Tablet Counter Span */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .quantity-counter span {
        font-size: 24px;
        min-width: 35px;
    }
}

/* Mobile Counter Span */
@media screen and (max-width: 767px) {
    .quantity-counter span {
        font-size: 22px;
        min-width: 30px;
    }
}

/* ACTION BUTTONS - FIXED SIZES FOR NORMAL SCREEN */
.preview-products-btn-active {
    height: 70px;
    width: 240px; /* Reduced from 450px for better proportion */
    font-size: 20px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    background: #2c2c2c;
    border: 1px solid #2c2c2c;
    color: #ffffff;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.preview-products-btn-unactive {
    height: 70px;
    width: 600px; /* Fixed width to match active button */
    font-size: 20px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    background: #f2f2f2;
    border: 1px solid #d0d0d0;
    color: #111;
    transition: all 0.35s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    margin-bottom: 0; /* Removed margin-bottom */
}

/* Desktop Button Sizes */
@media screen and (min-width: 1200px) {
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        width: 300px;
        height: 75px;
        font-size: 22px;
    }
    .preview-products-btn-unactive {
        width: 400px;
        height: 75px;
        font-size: 22px;
    }
}

/* Small Desktop Button Sizes */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        width: 250px;
        height: 65px;
        font-size: 18px;
    }
}

/* Tablet Button Sizes */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        width: 230px;
        height: 60px;
        font-size: 17px;
    }
}

/* Mobile Button Sizes */
@media screen and (max-width: 767px) {
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        width: 100%;
        height: 55px;
        font-size: 16px;
    }
}

.preview-products-btn-active:hover,
.preview-products-btn-unactive:hover {
    background: #2c2c2c;
    color: white;
    border: 1px solid #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.preview-products-btn-active:hover {
    background: #111;
}

/* Scrollbar Styling */
.preview-products-detals::-webkit-scrollbar {
    width: 6px;
}

.preview-products-detals::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.preview-products-detals::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.preview-products-detals::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Landscape Mode */
@media screen and (max-width: 992px) and (orientation: landscape) {
    .preview-products {
        flex-direction: row;
    }
    
    .preview-products-imgs {
        width: 40%;
        height: 100%;
    }
    
    .preview-products-detals {
        width: 60%;
        height: 100%;
        padding: 15px 20px;
    }
    
    .preview-products-btn-with-counter {
        flex-direction: row;
    }
    
    .quantity-counter {
        width: 200px;
    }
    
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        width: 200px;
    }
}

/* Very Small Devices */
@media screen and (max-width: 350px) {
    .preview-products-detals {
        padding: 15px;
    }
    
    .preview-products-detals h1 {
        font-size: 20px;
    }
    
    .preview-products-detals p {
        font-size: 14px;
    }
    
    .preview-products-detals-size button {
        height: 40px;
        width: 75px;
        font-size: 13px;
    }
    
    .quantity-counter button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .preview-products-btn-active,
    .preview-products-btn-unactive {
        height: 50px;
        font-size: 15px;
    }
}

/* Button Active States */
.preview-products-detals-size button:active,
.quantity-counter button:active,
.preview-products-btn-active:active,
.preview-products-btn-unactive:active {
    transform: scale(0.97);
}









/* --- WINTER SECTION --- */
.winter-section {
  width: 100%;
  height: 70rem; /* Changed height to min-height for content growth */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6f6f6;
  margin-top: 70px;
  padding: 40px 0; /* Added padding for mobile breathing room */
}

.winter-collection {
  width: 90%;
  height: 98%;
  display: flex;
  flex-wrap: wrap; /* Allows stacking on small screens */
  justify-content: center;
}

.winter-img {
  height: 59rem;
  width: 52%;
  min-width: 300px; /* Prevents image from getting too tiny */
}

.winter-img img {
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensures image doesn't stretch */
}

.winter-text {
  height: 62rem; /* Matched to image height */
  width: 48%;
  min-width: 300px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
}

.winter-text h1 {
  font-size: clamp(30px, 5vw, 70px); /* Responsive font size */
  width: 600px;
  margin-left: 60px; /* Percentage margin for better scaling */
  color: black;
  line-height: 1.2;
}

.winter-text p {
  font-size: 30px;
  max-width: 500px;
  margin-top: 10px;
  margin-left: 10%;
  color: rgb(113, 113, 113);
}

.winter-text button {
  font-size: 20px;
  width: 300px;
  height: 60px;
  margin-top: 20px;
  margin-left: 10%;
  cursor: pointer;
   transition: all 0.35s ease;
     background: #1f1f1f;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.winter-text button:hover {
       background: #353535;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* Large Desktop (1400px and above) */
@media screen and (min-width: 1400px) {
    .winter-section {
        min-height: 75rem;
    }
}

/* Desktop (1200px - 1399px) */
@media screen and (min-width: 1200px) and (max-width: 1399px) {
    .winter-section {
        min-height: 65rem;
    }
}

/* Small Desktop / Laptop (992px - 1199px) */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .winter-section {
        min-height: 55rem;
        padding: 30px 20px;
    }
}

/* Tablet (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-section {
        min-height: auto;
        padding: 40px 20px;
        margin-top: 50px;
    }
}

/* Mobile (below 768px) */
@media screen and (max-width: 767px) {
    .winter-section {
        min-height: auto;
        padding: 30px 15px;
        margin-top: 40px;
    }
}

.winter-collection {
    width: 95%;
    height: 60rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch; /* Makes both columns same height */
    gap: 0; /* No gap between columns */
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Tablet Collection */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-collection {
        width: 95%;
        border-radius: 15px;
    }
}

/* Mobile Collection */
@media screen and (max-width: 767px) {
    .winter-collection {
        width: 100%;
        border-radius: 12px;
    }
}

.winter-img {
    height: auto;
    width: 52%;
    min-width: 300px;
    overflow: hidden;
}

/* Tablet Image */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-img {
        width: 50%;
        min-width: 250px;
    }
}

/* Mobile Image */
@media screen and (max-width: 767px) {
    .winter-img {
        width: 100%;
        height: 350px;
        min-width: 100%;
    }
}

/* Small Mobile Image */
@media screen and (max-width: 480px) {
    .winter-img {
        height: 280px;
    }
}

.winter-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.winter-img:hover img {
    transform: scale(1.05);
}

.winter-text {
    height: auto;
    width: 48%;
    min-width: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
}

/* Tablet Text */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-text {
        width: 50%;
        min-width: 250px;
        padding: 40px 25px;
    }
}

/* Mobile Text */
@media screen and (max-width: 767px) {
    .winter-text {
        width: 100%;
        min-width: 100%;
        padding: 40px 25px;
        align-items: center; /* Center content on mobile */
        text-align: center; /* Center text on mobile */
    }
}

/* Small Mobile Text */
@media screen and (max-width: 480px) {
    .winter-text {
        padding: 30px 20px;
    }
}

.winter-text h1 {
    font-size: clamp(30px, 5vw, 70px);
    width: 100%;
    max-width: 600px;
    margin: 0 0 20px 0; /* Removed left margin, using padding instead */
    color: black;
    line-height: 1.2;
    font-weight: 700;
}

/* Desktop H1 */
@media screen and (min-width: 1200px) {
    .winter-text h1 {
        font-size: 60px;
        margin-bottom: 25px;
    }
}

/* Small Desktop H1 */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .winter-text h1 {
        font-size: 45px;
        margin-bottom: 20px;
    }
}

/* Tablet H1 */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-text h1 {
        font-size: 36px;
        margin-bottom: 15px;
        line-height: 1.3;
    }
}

/* Mobile H1 */
@media screen and (max-width: 767px) {
    .winter-text h1 {
        font-size: 32px;
        margin-bottom: 15px;
        text-align: center;
    }
}

/* Small Mobile H1 */
@media screen and (max-width: 480px) {
    .winter-text h1 {
        font-size: 28px;
    }
}

.winter-text p {
    font-size: clamp(18px, 3vw, 30px);
    width: 100%;
    max-width: 500px;
    margin: 0 0 25px 0; /* Removed left margin */
    color: rgb(113, 113, 113);
    line-height: 1.5;
}

/* Desktop P */
@media screen and (min-width: 1200px) {
    .winter-text p {
        font-size: 26px;
        margin-bottom: 30px;
    }
}

/* Small Desktop P */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .winter-text p {
        font-size: 20px;
        margin-bottom: 25px;
    }
}

/* Tablet P */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-text p {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

/* Mobile P */
@media screen and (max-width: 767px) {
    .winter-text p {
        font-size: 16px;
        margin-bottom: 20px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
}

.winter-text button {
    font-size: clamp(16px, 2.5vw, 20px);
    width: 100%;
    max-width: 280px;
    height: 55px;
    margin: 10px 0 0 0; /* Removed left margin */
    cursor: pointer;
    transition: all 0.35s ease;
    background: #1f1f1f;
    color: white;
    border: 1px solid #111;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Desktop Button */
@media screen and (min-width: 1200px) {
    .winter-text button {
        max-width: 300px;
        height: 60px;
        font-size: 20px;
    }
}

/* Small Desktop Button */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .winter-text button {
        max-width: 250px;
        height: 50px;
        font-size: 18px;
    }
}

/* Tablet Button */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .winter-text button {
        max-width: 220px;
        height: 48px;
        font-size: 16px;
    }
}

/* Mobile Button */
@media screen and (max-width: 767px) {
    .winter-text button {
        max-width: 250px;
        height: 50px;
        font-size: 16px;
        margin: 10px auto 0; /* Center button on mobile */
    }
}

/* Small Mobile Button */
@media screen and (max-width: 480px) {
    .winter-text button {
        max-width: 220px;
        height: 48px;
        font-size: 15px;
    }
}

.winter-text button:hover {
    background: #353535;
    color: white;
    border: 1px solid #111;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Mobile Button Hover (use active instead) */
@media screen and (max-width: 767px) {
    .winter-text button:active {
        background: #353535;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    }
}

/* Landscape Mode for Mobile */
@media screen and (max-width: 992px) and (orientation: landscape) {
    .winter-section {
        min-height: auto;
        padding: 30px 20px;
    }
    
    .winter-collection {
        flex-direction: row;
    }
    
    .winter-img {
        width: 45%;
        height: 400px;
    }
    
    .winter-text {
        width: 55%;
        padding: 30px 25px;
    }
    
    .winter-text h1 {
        font-size: 30px;
        margin-bottom: 10px;
    }
    
    .winter-text p {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .winter-text button {
        max-width: 200px;
        height: 45px;
    }
}

/* Very Small Devices (under 350px) */
@media screen and (max-width: 350px) {
    .winter-text {
        padding: 25px 15px;
    }
    
    .winter-text h1 {
        font-size: 24px;
    }
    
    .winter-text p {
        font-size: 14px;
    }
    
    .winter-text button {
        max-width: 180px;
        height: 42px;
        font-size: 14px;
    }
    
    .winter-img {
        height: 220px;
    }
}

/* High-resolution screens */
@media screen and (min-width: 1600px) {
    .winter-section {
        min-height: 80rem;
    }
    
    .winter-text h1 {
        font-size: 70px;
        max-width: 700px;
    }
    
    .winter-text p {
        font-size: 30px;
        max-width: 600px;
    }
    
    .winter-text button {
        max-width: 320px;
        height: 65px;
        font-size: 22px;
    }
}

/* Animation for button */
@keyframes buttonPulse {
    0% {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }
    100% {
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }
}

.winter-text button:hover {
    animation: buttonPulse 2s infinite;
}















/* --- SIGNIN SECTION --- */
.signin-section {
  min-height: 35rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px; /* Prevents edge-touching on mobile */
  text-align: center;
}

.signin-section p {
  font-size: clamp(24px, 4vw, 50px);
  margin-bottom: 40px;
}

.signin-section input, 
.signin-section button {
  width: 100%; /* Take full width of container */
  max-width: 870px; /* But don't exceed your original 700px */
  height: 65px;
  font-size: 30px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: none;
}

.signin-section input {
  background-color: #ffffff;
  padding: 0 18px;
  border: 1px solid #ddd;
  border-radius: 15px; /* Subtle border for visibility */
}

.signin-section button {
   transition: all 0.35s ease;
     background: #1f1f1f;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  cursor: pointer;
}

.signin-section button:hover {
  background: #353535;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
/* Tablet Styles (768px and below) */
@media screen and (max-width: 768px) {
  .signin-section {
    min-height: 30rem;
  }
  
  .signin-section p {
    font-size: clamp(28px, 5vw, 42px);
  }
  
  .signin-section button:hover {
    transform: translateY(-2px);
  }
}

/* Mobile Styles (480px and below) */
@media screen and (max-width: 480px) {
  .signin-section {
    min-height: 25rem;
    justify-content: flex-start;
    padding-top: clamp(30px, 10vh, 80px);
  }
  
  .signin-section p {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }
  
  .signin-section input, 
  .signin-section button {
    height: 55px;
    font-size: 20px;
  }
  
  .signin-section button:hover {
    transform: none; /* Remove hover effect on mobile */
  }
  
  .signin-section button:active {
    transform: scale(0.98);
    background: #353535;
  }
}

/* Small Mobile Styles (360px and below) */
@media screen and (max-width: 360px) {
  .signin-section p {
    font-size: 22px;
  }
  
  .signin-section input, 
  .signin-section button {
    height: 50px;
    font-size: 18px;
  }
}

/* Landscape Mode for Mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .signin-section {
    min-height: 100vh;
    justify-content: center;
    padding: 20px;
  }
  
  .signin-section p {
    font-size: 24px;
    margin-bottom: 20px;
  }
  
  .signin-section input, 
  .signin-section button {
    height: 45px;
    font-size: 18px;
  }
}

/* High-resolution screens (4K and above) */
@media screen and (min-width: 1440px) {
  .signin-section p {
    font-size: 60px;
  }
  
  .signin-section input, 
  .signin-section button {
    max-width: 1000px;
    height: 75px;
    font-size: 35px;
  }
}

/* Ensure touch targets are large enough for mobile */
@media (pointer: coarse) {
  .signin-section button,
  .signin-section input {
    min-height: 48px; /* Minimum touch target size */
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .signin-section input {
    background-color: #ffffff; /* Keep inputs white for contrast */
    color: #1f1f1f;
  }
}

/* Remove default focus outlines but keep accessibility */
.signin-section input:focus-visible,
.signin-section button:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 2px;
}

/* Loading state for button (optional) */
.signin-section button.loading {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

/* Error state for input (optional) */
.signin-section input.error {
  border-color: #ff4444;
  box-shadow: 0 0 0 2px rgba(255,68,68,0.2);
}




.instragram-section{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 300px;
    width: 100%;
    background-color: #e8d9ca;
}
.ins-img{
      display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    position: relative;
    z-index: 1;
}
.ins-img img{
    height: 100%;
    width: 320px;
}
.ins-btn{
    position:absolute;
    z-index: 1;
    margin-top: 230px;
}
.ins-btn button{
    height: 50px;
    width: 350px;
    font-size: 20px;
    font-weight: 600;
    transition: all 0.35s ease;
     background: #1f1f1f;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  cursor: pointer;
    cursor: pointer;

}
.ins-btn button:hover{
     background: #353535;
  color: white;
  border: 1px solid #111;
  border-radius: 15px;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}


/* Tablet Styles */
@media screen and (max-width: 768px) {
  .instagram-section {
    min-height: 250px;
  }
  
  .ins-img {
    min-height: 40vh;
  }
  
  .ins-img img {
    width: min(280px, 70vw);
  }
  
  .ins-btn {
    margin-top: 30px;
  }
  
  .ins-btn button {
    width: min(300px, 85vw);
  }
  
  .ins-btn button:hover {
    transform: translateY(-2px);
  }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
  .instagram-section {
    min-height: 200px;
    padding: 30px 15px;
  }
  
  .ins-img {
    min-height: 30vh;
  }
  
  .ins-img img {
    width: min(240px, 85vw);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  .ins-btn {
    margin-top: 25px;
  }
  
  .ins-btn button {
    height: 48px;
    font-size: 18px;
    border-radius: 12px;
  }
  
  .ins-btn button:hover {
    transform: none; /* Remove hover on mobile */
  }
  
  .ins-btn button:active {
    transform: scale(0.98);
    background: #353535;
  }
}

/* Small Mobile Styles */
@media screen and (max-width: 360px) {
  .ins-img img {
    width: min(200px, 90vw);
  }
  
  .ins-btn button {
    height: 44px;
    font-size: 16px;
    width: min(280px, 95vw);
  }
  
  .ins-btn {
    margin-top: 20px;
  }
}

/* Landscape Mode */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .instagram-section {
    min-height: 100vh;
    padding: 20px;
  }
  
  .ins-img {
    min-height: 70vh;
  }
  
  .ins-img img {
    width: min(240px, 40vw);
  }
  
  .ins-btn {
    margin-top: 15px;
  }
  
  .ins-btn button {
    height: 40px;
    font-size: 16px;
  }
}

/* Tablet Landscape / Small Laptop */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .ins-img img {
    width: 300px;
  }
  
  .ins-btn button {
    width: 330px;
  }
}

/* High-resolution screens */
@media screen and (min-width: 1440px) {
  .instagram-section {
    min-height: 400px;
  }
  
  .ins-img img {
    width: 380px;
    max-width: 380px;
  }
  
  .ins-btn button {
    width: 400px;
    height: 60px;
    font-size: 22px;
  }
  
  .ins-btn {
    margin-top: 60px;
  }
}

/* Touch device optimizations */
@media (pointer: coarse) {
  .ins-btn button {
    min-height: 48px;
  }
}

/* Dark mode support (optional - maintains original colors) */
@media (prefers-color-scheme: dark) {
  .instagram-section {
    background-color: #e8d9ca; /* Keep original beige color */
  }
}

/* Focus states for accessibility */
.ins-btn button:focus-visible {
  outline: 2px solid #1f1f1f;
  outline-offset: 3px;
}

/* Optional loading state */
.ins-btn button.loading {
  opacity: 0.8;
  cursor: wait;
  transform: none;
}

/* Optional image hover effect */
.ins-img img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ins-img img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 35px rgba(0,0,0,0.2);
}

/* Mobile image hover removal */
@media (max-width: 768px) {
  .ins-img img:hover {
    transform: none;
  }
}

/* Container query for better responsiveness */
@container (max-width: 500px) {
  .ins-img img {
    width: 90vw;
  }
  
  .ins-btn button {
    width: 95vw;
  }
}





/* --- ABOUT/FOOTER SECTION --- */
.about-section {
  min-height: 45rem;
  height: auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
  background: #ffffff;
  padding: clamp(20px, 5vw, 40px);
  box-sizing: border-box;
  width: 100%;
}

.main-div {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 40px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* About Kicks Column */
.about-kicks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 93px;
}

.about-kicks-heading {
  font-size: clamp(32px, 4vw, 60px);
  color: black;
  margin-right: 0;
  margin-bottom: 20px;
  line-height: 1.1;
}

.about-kicks-p {
  font-size: clamp(18px, 2vw, 30px);
  color: #484848;
  width: 100%;
  max-width: 280px;
  line-height: 1.4;
  margin: 0 0 20px 0;
}

.about-kicks-links {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.about-kicks-links i {
  font-size: clamp(30px, 3vw, 40px);
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-kicks-links-red {
  color: #333;
}

.about-kicks-links-blue {
  color: #333;
}

.about-kicks-links-red:hover {
  color: #c91909;
  transform: translateY(-3px);
}

.about-kicks-links-blue:hover {
  color: rgb(7, 83, 215);
  transform: translateY(-3px);
}

/* Quick Links Column */
.quick-links {
  display: flex;
  flex-direction: column;
  margin-top: clamp(80px, 8vw, 120px);
}

.quick-links h1 {
  font-size: clamp(28px, 3.5vw, 45px);
  color: black;
  margin-bottom: 20px;
  line-height: 1.2;
}

.quick-links a {
  font-size: clamp(18px, 2vw, 30px);
  color: black;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  display: inline-block;
}

.quick-links a:hover {
  color: black;
  transform: translateX(5px);
}

/* Help & Info Column */
.help-info {
  display: flex;
  flex-direction: column;
  margin-top: clamp(80px, 8vw, 115px);
}

.help-info h1 {
  font-size: clamp(28px, 3.5vw, 45px);
  color: black;
  margin-bottom: 20px;
  line-height: 1.2;
}

.help-info a {
  font-size: clamp(18px, 2vw, 30px);
  color: black;
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  display: inline-block;
}

.help-info a:hover {
  color: black;
  transform: translateX(5px);
}

/* Contact Info Column */
.Contact-info {
  display: flex;
  flex-direction: column;
  margin-top: clamp(80px, 8vw, 115px);
}

.Contact-info h1 {
  font-size: clamp(28px, 3.5vw, 45px);
  color: black;
  margin-bottom: 20px;
  line-height: 1.2;
}

.Contact-info p {
  font-size: clamp(16px, 2vw, 30px);
  color: #484848;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.Contact-info a {
  font-size: clamp(16px, 1.8vw, 20px);
  color: black;
  text-decoration: none;
  margin-top: 10px;
  transition: all 0.3s ease;
  display: inline-block;
}

.Contact-info a:hover {
  color: black;
  transform: translateX(5px);
}

/* Copyright Section */
.copyright {
  width: 100%;
  margin-top: clamp(40px, 6vw, 60px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #484848;
  text-align: center;
  padding: 20px 0;
}

.copyright p {
  font-size: clamp(16px, 2vw, 30px);
  margin: 0;
}

/* Tablet Styles */
@media screen and (max-width: 1024px) {
  .main-div {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .about-kicks {
    margin-top: 60px;
    align-items: center;
    text-align: center;
  }
  
  .about-kips-heading {
    margin-right: 0;
  }
  
  .about-kicks-p {
    max-width: 100%;
    text-align: center;
  }
  
  .quick-links,
  .help-info,
  .Contact-info {
    margin-top: 60px;
    align-items: center;
    text-align: center;
  }
  
  .quick-links a,
  .help-info a,
  .Contact-info a,
  .Contact-info p {
    text-align: center;
  }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
  .about-section {
    min-height: auto;
    padding: 40px 20px;
  }
  
  .main-div {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-kicks {
    margin-top: 0;
  }
  
  .quick-links,
  .help-info,
  .Contact-info {
    margin-top: 40px;
  }
  
  .about-kicks-heading {
    font-size: 42px;
  }
  
  .about-kicks-p {
    font-size: 22px;
  }
  
  .quick-links h1,
  .help-info h1,
  .Contact-info h1 {
    font-size: 36px;
  }
  
  .quick-links a,
  .help-info a {
    font-size: 24px;
  }
  
  .Contact-info p {
    font-size: 22px;
  }
  
  .Contact-info a {
    font-size: 18px;
  }
  
  .copyright p {
    font-size: 20px;
  }
  
  .about-kicks-links {
    justify-content: center;
  }
  
  .quick-links a:hover,
  .help-info a:hover,
  .Contact-info a:hover {
    transform: translateX(0) scale(1.05);
  }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
  .about-section {
    padding: 30px 15px;
  }
  
  .about-kicks-heading {
    font-size: 36px;
  }
  
  .about-kicks-p {
    font-size: 20px;
  }
  
  .quick-links h1,
  .help-info h1,
  .Contact-info h1 {
    font-size: 32px;
  }
  
  .quick-links a,
  .help-info a {
    font-size: 20px;
  }
  
  .Contact-info p {
    font-size: 20px;
  }
  
  .Contact-info a {
    font-size: 16px;
  }
  
  .about-kicks-links i {
    font-size: 35px;
  }
  
  .copyright p {
    font-size: 18px;
  }
}

/* Extra Small Mobile */
@media screen and (max-width: 360px) {
  .about-kicks-heading {
    font-size: 32px;
  }
  
  .about-kicks-p {
    font-size: 18px;
  }
  
  .quick-links h1,
  .help-info h1,
  .Contact-info h1 {
    font-size: 28px;
  }
  
  .quick-links a,
  .help-info a {
    font-size: 18px;
  }
  
  .Contact-info p {
    font-size: 18px;
  }
  
  .about-kicks-links i {
    font-size: 30px;
  }
}

/* Large Desktop Styles */
@media screen and (min-width: 1440px) {
  .main-div {
    max-width: 1600px;
  }
  
  .about-kicks-heading {
    font-size: 70px;
  }
  
  .about-kicks-p {
    font-size: 32px;
    max-width: 350px;
  }
  
  .quick-links h1,
  .help-info h1,
  .Contact-info h1 {
    font-size: 50px;
  }
  
  .quick-links a,
  .help-info a {
    font-size: 32px;
  }
  
  .Contact-info p {
    font-size: 32px;
  }
  
  .Contact-info a {
    font-size: 22px;
  }
}

/* Landscape Mode */
@media screen and (max-height: 600px) and (orientation: landscape) {
  .about-section {
    min-height: auto;
    padding: 30px;
  }
  
  .main-div {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .about-kicks,
  .quick-links,
  .help-info,
  .Contact-info {
    margin-top: 30px;
  }
}

/* Fix for hover effects on touch devices */
@media (pointer: coarse) {
  .quick-links a:hover,
  .help-info a:hover,
  .Contact-info a:hover,
  .about-kicks-links i:hover {
    transform: none;
  }
  
  .quick-links a:active,
  .help-info a:active,
  .Contact-info a:active {
    transform: scale(0.98);
  }
}

/* Accessibility */
.quick-links a:focus-visible,
.help-info a:focus-visible,
.Contact-info a:focus-visible,
.about-kicks-links i:focus-visible {
  outline: 2px solid #333;
  outline-offset: 4px;
}

/* Container queries for better responsiveness */
@container (max-width: 500px) {
  .main-div {
    grid-template-columns: 1fr;
  }
}

/* Print styles */
@media print {
  .about-section {
    background: white;
  }
  
  .quick-links a,
  .help-info a,
  .Contact-info a {
    text-decoration: underline;
  }
}






/* Cart Modal Styles */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 45rem;
    max-width: 100%;
    height: 100vh;
    background: rgb(240, 239, 237);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
}
       
        
        .cart-header {
            height: 100px;
            color: rgb(81, 81, 81);
            background: rgb(240, 239, 237);
            display: flex;
            font-size: 35px;
            justify-content: space-evenly;
            align-items: center;
        }
         .cart-header h2{
            font-size: 30px;
            font-weight: 600;
            font-family: monospace;
        }
        
        .close-cart {
            background: none;
            border: none;
            color: rgb(92, 92, 92);
            font-size: 40px;
            cursor: pointer;
            margin-left: 300px;
        }
        .cart-modal-p{
            height: 1px;
            width: 100%;
            border: 0.1px solid rgb(111, 111, 111);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .cart-items {
            padding: 20px;

        }
        
        .cart-item {
            border-bottom: 0.01px solid black;
            display: flex;
            align-items: center;
            padding: 15px 0;
        }
        
        .cart-item-image {
            width: 250px;
            height: 250px;
            background-color: #f5f5f5;
            border-radius: 8px;
            margin-right: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cart-item-details {
            flex: 1;
        }
        
        .cart-item-title {
            margin-bottom: 5px;
            font-size: 30px;
            color: rgb(81, 81, 81);
        }
        
        .cart-item-price {
            color: rgb(5, 5, 166);
            font-weight: 600;
            font-size: 25px;
        }
        
        .quantity-controls {
            display: flex;
            align-items: center;
            font-size: 30px;
            margin-top: 80px;
        }
        
        .quantity-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            border: 1px solid rgb(245, 233, 209);
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 30px;
            transition: 0.5s ease;
        }
        .quantity-btn:hover {
             background: rgb(92, 92, 92);
            color: white;
            border: 1px solid #111;
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .quantity {
            margin: 0 10px;
            font-weight: bold;
            min-width: 20px;
            color: #000000;
            text-align: center;
        }
        
        .remove-item {
            background: none;
            border: none;
            color: #e74c3c;
            cursor: pointer;
            margin-left: 170px;
            font-size: 25px;
        }
        .remove-item:hover {
             color: rgb(126, 45, 45);
             transform: translateY(-3px);
        }
        .cart-footer {
            border-top: 1.5px solid #898989;
            position: fixed;
            bottom: 0;
            width: 730px;
            height: 160px;
            background: rgb(240, 239, 237);
            
        }
        
        .cart-total {
            display: flex;
            justify-content: space-between;
            font-size: 25px;
            font-weight: bold;
            margin-top: 10px;
             color: rgb(57, 57, 57);
        }
        .cart-total span{
            margin-left: 20px;
            font-size: 30px;
        }
        #cartTotal{
            color: rgb(5, 5, 166);
            font-weight: 600;
            font-size: 30px;
            margin-right: 20px;
        }
        .checkout-btn {
            width: 80%;
            height: 55px;
            padding: 10px;
            border: 1px solid black;
             color: rgb(92, 92, 92);
            border-radius: 8px;
            font-size: 22px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s;
             
             border-radius: 15px;
            background: #ffffff;
            border: 1px solid rgb(92, 92, 92);
            color: #111;
            transition: 0.3s ease;
            margin-left: 50px;
            margin-top: 10px;
        }
        
        .checkout-btn:hover {
           background: rgb(92, 92, 92);
           color: rgb(255, 255, 255);
         transform: translateY(-3px);
         box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        .cart-footer i{
            color:rgb(92, 92, 92);
            font-size: 30px;
        }
        
        .empty-cart {
            text-align: center;
            padding: 50px 20px;
            color: #7f8c8d;
        }
        
        .cart-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999; }

/* responsive for cart model */

/* Laptop Styles (1024px - 1440px) */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-modal {
        width: 40rem;
    }
    
    .cart-footer {
        width: 40rem;
    }
}

/* Tablet Styles (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-modal {
        width: 35rem;
    }
    
    .cart-footer {
        width: 35rem;
    }
}

/* Mobile Landscape Styles (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
    .cart-modal {
        width: 100%;
    }
    
    .cart-footer {
        width: 100%;
    }
}

/* Mobile Portrait Styles (up to 479px) */
@media screen and (max-width: 479px) {
    .cart-modal {
        width: 100%;
    }
    
    .cart-footer {
        width: 100%;
    }
}

.cart-header {
    height: 100px;
    color: rgb(81, 81, 81);
    background: rgb(240, 239, 237);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(111, 111, 111, 0.2);
}

/* Laptop Header */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-header {
        height: 90px;
        padding: 0 25px;
    }
}

/* Tablet Header */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-header {
        height: 80px;
        padding: 0 20px;
    }
}

/* Mobile Header */
@media screen and (max-width: 767px) {
    .cart-header {
        height: 70px;
        padding: 0 15px;
    }
}

.cart-header h2 {
    font-size: 30px;
    font-weight: 600;
    font-family: monospace;
    margin: 0;
}

/* Laptop Heading */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-header h2 {
        font-size: 28px;
    }
}

/* Tablet Heading */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-header h2 {
        font-size: 24px;
    }
}

/* Mobile Heading */
@media screen and (max-width: 767px) {
    .cart-header h2 {
        font-size: 20px;
    }
}

.close-cart {
    background: none;
    border: none;
    color: rgb(92, 92, 92);
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
    line-height: 1;
}

/* Laptop Close Button */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .close-cart {
        font-size: 36px;
    }
}

/* Tablet Close Button */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .close-cart {
        font-size: 32px;
    }
}

/* Mobile Close Button */
@media screen and (max-width: 767px) {
    .close-cart {
        font-size: 28px;
    }
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-modal-p {
    height: 1px;
    width: 100%;
    background: rgb(111, 111, 111);
    opacity: 0.2;
    margin: 0;
}

.cart-items {
    padding: 20px;
    padding-bottom: 180px;
}

/* Laptop Items Padding */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-items {
        padding: 18px;
        padding-bottom: 170px;
    }
}

/* Tablet Items Padding */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-items {
        padding: 15px;
        padding-bottom: 160px;
    }
}

/* Mobile Items Padding */
@media screen and (max-width: 767px) {
    .cart-items {
        padding: 12px;
        padding-bottom: 150px;
    }
}

.cart-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    padding: 20px 0;
    gap: 15px;
}

/* Tablet Cart Item */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-item {
        padding: 15px 0;
        gap: 12px;
    }
}

/* Mobile Cart Item */
@media screen and (max-width: 767px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        gap: 10px;
    }
}

.cart-item-image {
    width: 250px;
    height: 250px;
    min-width: 120px;
    min-height: 120px;
    background-color: #f5f5f5;
    border-radius: 12px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Laptop Image */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-item-image {
        width: 220px;
        height: 220px;
        min-width: 100px;
        min-height: 100px;
    }
}

/* Tablet Image */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-item-image {
        width: 180px;
        height: 180px;
        min-width: 90px;
        min-height: 90px;
        margin-right: 12px;
    }
}

/* Mobile Image */
@media screen and (max-width: 767px) {
    .cart-item-image {
        width: 100%;
        height: 200px;
        margin-right: 0;
        min-width: auto;
    }
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cart-item-image:hover img {
    transform: scale(1.05);
}

.cart-item-details {
    flex: 1;
    width: 100%;
}

.cart-item-title {
    margin-bottom: 8px;
    font-size: 30px;
    color: rgb(81, 81, 81);
    font-weight: 500;
    line-height: 1.2;
}

/* Laptop Title */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-item-title {
        font-size: 26px;
        margin-bottom: 6px;
    }
}

/* Tablet Title */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-item-title {
        font-size: 22px;
        margin-bottom: 5px;
    }
}

/* Mobile Title */
@media screen and (max-width: 767px) {
    .cart-item-title {
        font-size: 20px;
        margin-bottom: 5px;
    }
}

.cart-item-price {
    color: rgb(5, 5, 166);
    font-weight: 600;
    font-size: 25px;
}

/* Laptop Price */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-item-price {
        font-size: 22px;
    }
}

/* Tablet Price */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-item-price {
        font-size: 20px;
    }
}

/* Mobile Price */
@media screen and (max-width: 767px) {
    .cart-item-price {
        font-size: 18px;
    }
}

.quantity-controls {
    display: flex;
    align-items: center;
    font-size: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* Laptop Quantity Controls */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .quantity-controls {
        margin-top: 18px;
        font-size: 26px;
    }
}

/* Tablet Quantity Controls */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .quantity-controls {
        margin-top: 15px;
        font-size: 22px;
    }
}

/* Mobile Quantity Controls */
@media screen and (max-width: 767px) {
    .quantity-controls {
        margin-top: 12px;
        font-size: 20px;
        justify-content: flex-start;
    }
}

.quantity-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgb(245, 233, 209);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Laptop Quantity Button */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .quantity-btn {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
}

/* Tablet Quantity Button */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .quantity-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
}

/* Mobile Quantity Button */
@media screen and (max-width: 767px) {
    .quantity-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

.quantity-btn:hover {
    background: rgb(92, 92, 92);
    color: white;
    border: 1px solid #111;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Mobile Touch Optimization */
@media screen and (max-width: 767px) {
    .quantity-btn:active {
        transform: scale(0.95);
        background: rgb(92, 92, 92);
        color: white;
    }
}

.quantity {
    margin: 0 15px;
    font-weight: bold;
    min-width: 30px;
    color: #000000;
    text-align: center;
    font-size: 24px;
}

/* Laptop Quantity */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .quantity {
        margin: 0 12px;
        min-width: 25px;
        font-size: 22px;
    }
}

/* Tablet Quantity */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .quantity {
        margin: 0 10px;
        min-width: 22px;
        font-size: 20px;
    }
}

/* Mobile Quantity */
@media screen and (max-width: 767px) {
    .quantity {
        margin: 0 8px;
        min-width: 20px;
        font-size: 18px;
    }
}

.remove-item {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    margin-left: auto;
    font-size: 25px;
    transition: all 0.3s ease;
    padding: 10px;
}

/* Laptop Remove Button */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .remove-item {
        font-size: 22px;
        padding: 8px;
    }
}

/* Tablet Remove Button */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .remove-item {
        font-size: 20px;
        padding: 6px;
    }
}

/* Mobile Remove Button */
@media screen and (max-width: 767px) {
    .remove-item {
        margin-left: 0;
        align-self: flex-end;
        font-size: 18px;
        padding: 5px;
    }
}

.remove-item:hover {
    color: rgb(126, 45, 45);
    transform: translateY(-3px) scale(1.1);
}

.cart-footer {
    border-top: 1.5px solid #898989;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 45rem;
    max-width: 100%;
    height: auto;
    min-height: 140px;
    background: rgb(240, 239, 237);
    padding: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    z-index: 11;
}

/* Laptop Footer */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-footer {
        width: 40rem;
        min-height: 130px;
        padding: 18px;
    }
}

/* Tablet Footer */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-footer {
        width: 35rem;
        min-height: 120px;
        padding: 15px;
    }
}

/* Mobile Footer */
@media screen and (max-width: 767px) {
    .cart-footer {
        width: 100%;
        min-height: 110px;
        padding: 12px;
    }
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 15px;
    color: rgb(57, 57, 57);
    flex-wrap: wrap;
    gap: 10px;
}

/* Laptop Total */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-total {
        font-size: 22px;
        margin-bottom: 12px;
    }
}

/* Tablet Total */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-total {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

/* Mobile Total */
@media screen and (max-width: 767px) {
    .cart-total {
        font-size: 18px;
        margin-bottom: 8px;
    }
}

.cart-total span {
    margin-left: 10px;
    font-size: 30px;
}

/* Laptop Total Span */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-total span {
        font-size: 26px;
        margin-left: 8px;
    }
}

/* Tablet Total Span */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-total span {
        font-size: 22px;
        margin-left: 6px;
    }
}

/* Mobile Total Span */
@media screen and (max-width: 767px) {
    .cart-total span {
        font-size: 20px;
        margin-left: 5px;
    }
}

#cartTotal {
    color: rgb(5, 5, 166);
    font-weight: 600;
    font-size: 30px;
    margin-right: 10px;
}

/* Laptop Cart Total Value */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    #cartTotal {
        font-size: 26px;
        margin-right: 8px;
    }
}

/* Tablet Cart Total Value */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    #cartTotal {
        font-size: 22px;
        margin-right: 6px;
    }
}

/* Mobile Cart Total Value */
@media screen and (max-width: 767px) {
    #cartTotal {
        font-size: 20px;
        margin-right: 5px;
    }
}

.checkout-btn {
    width: 100%;
    max-width: 400px;
    height: 55px;
    padding: 0 20px;
    border: 1px solid black;
    color: rgb(92, 92, 92);
    border-radius: 15px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgb(92, 92, 92);
    transition: all 0.3s ease;
    display: block;
    margin: 10px auto 0;
}

/* Laptop Checkout Button */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .checkout-btn {
        max-width: 350px;
        height: 50px;
        font-size: 20px;
    }
}

/* Tablet Checkout Button */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .checkout-btn {
        max-width: 300px;
        height: 45px;
        font-size: 18px;
        border-radius: 12px;
    }
}

/* Mobile Checkout Button */
@media screen and (max-width: 767px) {
    .checkout-btn {
        max-width: 100%;
        height: 40px;
        font-size: 16px;
        border-radius: 10px;
    }
}

.checkout-btn:hover {
    background: rgb(92, 92, 92);
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Mobile Checkout Button Hover/Active */
@media screen and (max-width: 767px) {
    .checkout-btn:active {
        background: rgb(92, 92, 92);
        color: rgb(255, 255, 255);
        transform: translateY(-1px);
    }
}

.cart-footer i {
    color: rgb(92, 92, 92);
    font-size: 30px;
}

/* Laptop Footer Icon */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .cart-footer i {
        font-size: 26px;
    }
}

/* Tablet Footer Icon */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .cart-footer i {
        font-size: 22px;
    }
}

/* Mobile Footer Icon */
@media screen and (max-width: 767px) {
    .cart-footer i {
        font-size: 20px;
    }
}

.empty-cart {
    text-align: center;
    padding: 50px 20px;
    color: #7f8c8d;
    font-size: 18px;
}

/* Laptop Empty Cart */
@media screen and (min-width: 1024px) and (max-width: 1440px) {
    .empty-cart {
        padding: 45px 18px;
        font-size: 16px;
    }
}

/* Tablet Empty Cart */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .empty-cart {
        padding: 40px 15px;
        font-size: 15px;
    }
}

/* Mobile Empty Cart */
@media screen and (max-width: 767px) {
    .empty-cart {
        padding: 30px 12px;
        font-size: 14px;
    }
}

.cart-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(3px);
}

/* Animation for cart opening */
.cart-modal.active {
    display: block;
    animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Improve scrollbar for all devices */
.cart-modal::-webkit-scrollbar {
    width: 8px;
}

.cart-modal::-webkit-scrollbar-track {
    background: rgb(240, 239, 237);
}

.cart-modal::-webkit-scrollbar-thumb {
    background: rgb(92, 92, 92);
    border-radius: 4px;
}

.cart-modal::-webkit-scrollbar-thumb:hover {
    background: rgb(57, 57, 57);
}




/* for animation */

.product-card{
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform, opacity;
}



/* order payment css*/


.order-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  margin-top: 60px;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 25px 12px;
}

.order-content {
  background: rgb(240, 239, 237);
  margin: auto;
  width: 95%;
  max-width: 950px;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0px 20px 70px rgba(0, 0, 0, 0.45);
  position: relative;
  animation: popUp 0.35s ease;
}

@keyframes popUp {
  from {
    transform: scale(0.93) translateY(20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0px);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  transition: 0.2s ease;
}

.close-btn:hover {
  color: red;
  transform: scale(1.1);
}

.order-content h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 20px;
   color: rgb(0, 0, 0);
}

/* ===========================
   LAYOUT LEFT / RIGHT
=========================== */

.order-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: start;
}

.order-left,
.order-right {
  background: rgba(255, 255, 255, 0.85);
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
}

.order-left h3,
.order-right h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #111;
}

/* ===========================
   FORM DESIGN
=========================== */

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: rgb(81, 81, 81);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  outline: none;
  background: rgba(255, 255, 255, 0.9);
  transition: 0.25s ease;
}

.form-group textarea {
  min-height: 90px;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border: 1px solid #1a73e8;
  box-shadow: 0px 0px 12px rgba(26, 115, 232, 0.35);
  transform: scale(1.01);
}

/* ===========================
   PRODUCT INFO RIGHT SIDE
=========================== */

.order-products-preview {
  margin-top: 10px;
}

.selected-product-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.12);
}

.product-img-box {
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

.selected-product-info:hover img {
  transform: scale(1.06);
}

.product-details {
  padding: 14px 16px;
}

.product-details h4 {
  font-size: 17px;
  font-weight: 800;
  color: rgb(0, 0, 0);
  margin-bottom: 10px;
}

.product-details p {
  font-size: 14px;
  color: #444;
  margin: 5px 0;
}

.product-details p span {
  font-weight: 700;
 color: rgb(81, 81, 81);
}


   /* TOTAL PRICE BOX */

.total-box {
  margin-top: 15px;
  padding: 14px;
  text-align: center;
  border-radius: 16px;
  background: rgba(26, 115, 232, 0.1);
  border: 1px solid rgba(26, 115, 232, 0.2);
}

.total-box p {
  font-size: 14px;
  font-weight: 600;
  color: rgb(81, 81, 81);
  margin-bottom: 6px;
}

.total-box h4 {
  font-size: 22px;
  font-weight: 900;
  color: rgb(5, 5, 166);
}


   


.submit-order {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  background: #fdfdfd;
 border: 1px solid rgb(92, 92, 92);
   color: #111;
  box-shadow: 0px 14px 30px rgba(92, 92, 92);
  transition: 0.25s ease;
}

.submit-order:hover {
  transform: translateY(-2px);
  background: rgb(92, 92, 92);
 color: rgb(255, 255, 255);
  box-shadow: 0px 18px 40px rgba(92, 92, 92);
}

.submit-order:active {
  transform: scale(0.97);
}

/* ===========================
   VALIDATION UI
=========================== */

.input-error {
  border: 2px solid #ff4d4d !important;
  box-shadow: 0px 0px 10px rgba(255, 77, 77, 0.35);
}

.input-success {
  border: 2px solid #22c55e !important;
  box-shadow: 0px 0px 10px rgba(34, 197, 94, 0.25);
}

.error-text {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #ff4d4d;
  font-weight: 600;
}

/* Shake */
.shake {
  animation: shake 0.25s ease-in-out;
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}

/*RESPONSIVE MOBILE*/

@media (max-width: 800px) {
  .order-layout {
    grid-template-columns: 1fr;
  }

  .product-img-box {
    height: 200px;
  }
}
