/* General Reset - Removed Because Messed Up Navbar */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
} */
.radio-label.text-muted {
  cursor: not-allowed;
}

/* Google fonts */
.inter-custom {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
  }

#heading{
    margin-bottom: 65px;
}

/* Body Styling */
body {
    background-color: white !important; /*Fix bugged dark mode background*/
    color: #333;
    height: auto;
}

/* Container Styling */
/* ===== PRODUCT CONTAINER ADJUSTMENTS ===== */
#product-container {
    display: flex;
    max-width: 80%;  /* Reduced from auto to make container smaller */
    margin: 0 auto;  /* This centers the container horizontally */
    background-color: white;
    border-radius: 0px; /* Removed rounded corners for a sharper look */
    justify-content: center;
    padding-top: 100px;
    padding-left: 4rem;
    padding-right: 10rem;
}

/* Keep all your original CSS below this point exactly as it was */

/* Image Styling */
.card-image {
    width: auto;
    height: auto;
    object-fit: contain;
    margin: auto !important;
}


#product-details{
    width: 100%;
    display: block;
    height: auto;
    margin: 0%;
    border-radius: 10px;
    justify-content: center;
    padding: 20px 0;
    padding-left: 1rem;
   
}

#image-container {
    display: flex;
    flex-direction: column; /* Stack images vertically */
    align-items: center; /* Center everything */
    text-align: center;
    width: 180%;
    padding: 20px;
    border-radius: 10px;
    justify-content: center;
    margin-top: 0;
}

#main-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 40rem; /* Fixed height for consistency */
    background-color: #f5f5f5; /* Soft grey background */
    margin-bottom: 30px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Subtle shadow */
    margin-bottom: 300px;
}

#main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain; /* Ensures full image is visible */
    transition: transform 0.3s ease; /* Smooth hover effect */
}
#subImages {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    margin-top: -281px;
    box-shadow: none;
    height: 50%;
}
.subimage {
    width: 100%;
    height: auto;
    object-fit: cover;
    overflow: auto;
    margin: 0;
    padding: 0;
    border: none;
}

/* Ensure lightbox is on top */
/* Prevent scrolling while fullscreen is active */
.no-scroll {
    overflow: hidden;
    height: 100vh;
    width: 100vw;
}

/* Ensure the lightbox covers the screen but doesn't mess up the image */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Lightbox image styling */
#lightbox-img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.2s ease;
}



.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    transition: transform 0.2s ease-in-out;
    cursor: grab;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    z-index: 1002;
    
}

#prev { left: 10px; }
#next { right: 10px; }



/* Prevent clicks going through the lightbox */
.lightbox::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999; /* Ensures it blocks interactions below */
}



#perfumeName{
   
    font-family: "Monotype Baskerville", serif;
    font-style: normal;
    font-weight: 100;
    letter-spacing: .1em;
    text-align: left;
    margin-bottom: 0;
    text-transform: uppercase;
    margin-top: 2rem;
}

#perfumeType{
   
    list-style: none;
    box-sizing: inherit;
    display: block;
    font-style: normal;
    font-weight: 500;
    letter-spacing: .2em;
    line-height: 1.6rem;
    text-transform: uppercase;
    text-align: left;
    margin-top: -10px;
    font-size: .9rem;
    margin-bottom: -5px;
}

#price {
    font-size: 20px;
    color: black;
    margin: 15px 0;
    float: right; /* Moves price to the right */
    margin-top: -8px; /* Adjusts vertical position */
}

#add-to-cart-button {
    width: 100%;
  padding: 15px;
  /* Bring the button closer to the line seperator*/

  font-size: 14px; /* Added this line for 64px font size */
  letter-spacing: .1em; /* Distance between letters for design */
  line-height: 100%;
  text-transform: uppercase;

  background-color: #000000;
  color: #ffffff;
  border: 0.5px solid rgb(0, 0, 0);
  cursor: pointer;

  /* Animation */
  transition: background-color 0.1s linear;
}

 #add-to-cart-button:hover {
    background-color: rgb(250, 245, 245);
    color: rgb(0, 0, 0);
}

/* Hide the default radio button */
input[type="radio"] {
    display: none;
}

/* Style label to look like a button but colorless */
.radio-label {
    background-color: transparent;
    color: black;
    border: 0.7px solid #e0e0e0;
    padding: 5px 10px;
    cursor: pointer;
    transition: border-width 0.2s, transform 0.2s;
    display: flex;                /* Use flex to center content */
    align-items: center;          /* Vertical centering */
    justify-content: center;      /* Horizontal centering */
    margin: 0rem .5rem 0rem 0;
    width: 25%;
    height: 40px;                 /* Optional: force consistent height */
    text-align: center;
    font-weight: 400;
    font-size: 14px;
    font-family: "Monotype Baskerville", serif;
    position: relative;
}



.size-selection{
    display: flex;
    justify-content: left;
    align-items: left ;
margin-bottom:-20px;
    width: 100%;
}

#ul{
    display: flex;
    justify-content: center;
    align-items: center;
    list-style-type: none; /* Remove default list style */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    width: 100%;
}

/* Hover effect */
.radio-label:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Slightly visible on hover */
    border-color: black;
    transform: scale(1.035);
}

/* When the radio button is checked */
input[type="radio"]:checked + .radio-label {
    border-width: 1.9px; /* Thicker border when selected */
    
    border-color: #000000;
}

#notes{
    color: black;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    margin: 10px 0;
    margin-top: -47px;
}




.gender-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    box-shadow: none;
    width: 100%;
}

/* Style for gender icons */
.gender-icon {
    width: 20px; /* Adjust icon size */
    height: 20px;
    object-fit: contain; /* Keep aspect ratio */
}

/* Background track behind the slider */
.gender-slider::before {
    content: "";
    position: absolute;
    width: 200px;
    height: 6px;
    background: linear-gradient(to right, #FF69B4, #000, #1E90FF);
    border-radius: 5px;
}

/* Static Slider (Disabled) */
input[type="range"] {
    -webkit-appearance: none;
    width: 200px;
    height: 6px;
    background: transparent;
    border: none;
    outline: none;
    cursor: not-allowed;
    position: relative;
    z-index: 2;
    pointer-events: none; /* Completely disables interaction */
}

/* Remove shadow and move the slider slightly to the right */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid black;
    border-radius: 50%;
    position: relative;
    left: 10px; /* Moves the slider knob slightly to the right */
    box-shadow: none; /* Removes any shadow */
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid black;
    border-radius: 50%;
    position: relative;
    left: 10px; /* Moves the slider knob slightly to the right */
    box-shadow: none; /* Removes any shadow */
}

ul{
    list-style-type: none;
}

#description-title {
    color: black;
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
    margin: 10px 0;
    margin-top: -47px;
}

#description{
     font-weight: 400; 
    font-size: 17px;
    font-family: "Monotype Baskerville", serif;
    margin: 0.5rem 0;
}


#suggestions {
    margin: 4rem 0;
    padding: 0 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

#might-like-box {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

#might-like {
    display: inline-block;
    font-size: 2rem;
    color: black;
    padding: 0 2rem;
    background: white;
    position: relative;
    z-index: 1;
    /* font-family: "Monotype Baskerville", serif; */
    font-style: normal;
    font-weight: 400;
    letter-spacing: .1em;
    line-height: 3.6rem;
    text-transform: uppercase;
}

#might-like-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 0;
}


.suggestion-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    padding: 0 3rem;
}

#suggested-products-container {
    overflow: hidden;
    width: 100%;
}

#suggested-products {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.5rem 0;
}

.suggested-item {
    flex: 0 0 calc(25% - 1.5rem); /* 4 items per view (25% width minus gap) */
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 20px;
    padding-bottom: 1.5rem; /* Add more padding at bottom for button */
    min-height: 350px; /* Slightly increase min-height */
}

.suggested-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.suggested-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: black;
}

.suggested-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    transition: transform 0.4s ease;
}

.suggested-item:hover .suggested-image {
    transform: scale(1.1);
}

.suggested-name {
    font-family: "Monotype Baskerville", serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: .1em;
    line-height: 1.2;
    text-align: center;
    color: black;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.suggested-price {
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    color: #333;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 1rem;
    font-size: 15px;
    /* font-weight: bold; */
    color: #333;
}

.suggestion-arrow {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.suggestion-arrow:hover {
    background-color: #000000;
    color: white;
    transform: scale(1.1);
}

#prev-suggestion {
    left: 0;
}

#next-suggestion {
    right: 0;
}
.add-to-cart {
  /* POSITIONING */
  width: 80%;
  margin: auto;
  margin-top: 10px; /* Bring the button closer to the line seperator*/
  margin-bottom: 15px; /* Bring the button closer to the line seperator*/
  padding: 10px;

  /* DISPLAY */
  font-size: 14px; /* Added this line for 64px font size */
  font-weight: normal; /* Add this to make the font look think and clean */
  line-height: 100%;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .1em; /* Distance between letters for design */
  background-color: #fff;
  border: 0.5px solid black;

  /* ANIMATION */
  transition: background-color 0.1s linear;
  cursor: pointer;
} 
.add-to-cart:hover
{
  color: white;
  background-color: black;
}

#perks-container {
    display: flex;
    justify-content: center;
    /* align-items: center; */
    /* gap: 30px; */
    text-align: center;
    padding: 20px 0px;
    max-width: 800px;
    margin-top: -80px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.perk-item {
    display: block;
    align-items: center;
    gap: 15px;
    padding: 15px;
    flex: 1;
}

.perk-icon {
    width: 50px;
    height: 50px;
}

.perk-text h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 600;
}

.perk-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
}


/* ==================== MEDIA QUERIES ==================== */

/* Extra Large Screens (1600px and above) */
@media (min-width: 1600px) {
    #product-container {
        max-width: 1575px;
        padding-left: 3rem;
        padding-right: 6rem;
    }
}

/* Large Desktop Screens (1200px to 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    #product-container {
        max-width: 90%;
        padding-left: 3rem;
        padding-right: 5rem;
    }
}

/* Medium Desktop Screens (1024px to 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    #product-container {
        max-width: 90%;
        padding-left: 2.5rem;
        padding-right: 4rem;
    }
}

/* Large Tablets and Small Laptops (1024px and below) */
@media (max-width: 1024px) {
    #product-container {
        max-width: 95%;
        flex-direction: column;
        align-items: center;
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 80px;
    }

    #image-container {
        width: 100%;
        margin-top: 0;
    }

    #main-image-container {
        height: 380px; /* Between desktop (400px) and tablet (350px) */
        margin-bottom: 280px; /* Proportional space for sub-images */
        padding: 18px; /* Slightly reduced from desktop */
    }

    #product-details {
        width: 100%;
        padding: 0 20px;
    }

    .suggested-item {
        flex: 0 0 calc(33.333% - 1.5rem); /* 3 items per view */
    }

    .suggested-image{
        margin: 12px;
        text-align: center;
    }
}

/* Tablets (768px and below) */
    @media (max-width: 768px) {
        #product-container {
            padding-top: 60px;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
            max-width: 100%;
        }

        #main-image-container {
            height: 350px; /* Slightly smaller than desktop */
            margin-bottom: 157px;
            padding: 15px; /* Slightly less padding */
        }

        .card-image{
            margin-right: -6px;

        }

        #subImages {
            margin-top: -200px;
        }

        .perk-item {
            flex-direction: column;
            text-align: center;
        }

        .perk-icon {
            margin-left: 0;
            margin-bottom: 10px;
        }

        .suggested-item {
            flex: 0 0 calc(50% - 1.5rem); /* 2 items per view */
            min-height: 320px;
        }

        #might-like {
            font-size: 1.8rem;
        }

        .radio-label {
            width: 30%;
            padding: 8px 10px;
        }
        #price {
            float: none;
            display: block;
            clear: both;
            text-align: left;
            margin: 10px 0 20px 0;
            font-size: 22px;
            margin-right: 0;
            margin-top: 0;
        }

        .size-selection {
            margin-bottom: 10px;
        }
    }

/* Large Phones (576px and below) */
@media (max-width: 576px) {
    #product-container {
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        padding-left: 1rem;
        padding-right: 1rem;
        padding-top: 50px;
    }

    #image-container {
        width: 100%;
        margin-top: 0;
    }

    #main-image-container {
        margin-bottom: 20px;
        height: 350px;
        margin-bottom: 157px;
    }

    #main-image-container {
        height: 250px;
        padding: 15px;
    }

    #subImages {
        margin-top: -150px;
    }

    #perfumeName {
        font-size: 2rem;
        line-height: 2.8rem;
    }

    #perfumeType {
        font-size: 0.9rem;
    }

    #price {
        font-size: 20px;
    }
    #perks-container {
        flex-direction: column;
        gap: 15px;
        margin-top: -50px;
    }

    .perk-item {
        text-align: left;
        flex-direction: row;
    }

    .suggested-item {
        flex: 0 0 calc(100% - 1.5rem); /* 1 item per view */
        
        margin-left: 5px;

    }

    .suggestion-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .radio-label {
        width: 32%;
        font-size: 15px;
        padding: 6px 8px;
    }

    #description-title, #notes {
        font-size: 1.3rem;
    }
}

/* Small Phones (400px and below) */
@media (max-width: 400px) {
    #main-image-container {
        height: 300px;
        margin-bottom: 121px;
        padding: 15px;
    }

    #subImages {
        margin-top: -120px;
        
    }

    #perfumeName {
        font-size: 1.8rem;
        line-height: 2.4rem;
    }

    .radio-label {
        width: 100%;
        margin-bottom: 8px;
    }

    .size-selection {
        flex-direction: column;
    }

    #might-like {
        font-size: 1.5rem;
        padding: 0 1rem;
    }

    .suggested-name {
        font-size: 18px;
    }

    .suggested-image {
        margin: 25px;
        text-align: center;
        
    }

    .suggested-price {
        font-size: 14px;
    }

    .add-to-cart {
        font-size: 14px;
        padding: 8px;
    }
    #price {
        font-size: 18px;
        letter-spacing: normal;
    }
}

/* Very Small Phones (350px and below) */
@media (max-width: 350px) {
    #main-image-container {
        height: 250px;
        margin-bottom: 74px;
    }
    #perfumeName {
        font-size: 1.6rem;
    }

    #might-like {
        font-size: 1.3rem;
    }

    .suggestion-wrapper {
        padding: 0 2rem;
    }
    #price {
        font-size: 18px;
        letter-spacing: normal;
    }
    .card-image{
        margin-right: -10px;
    }
}

/* Landscape Orientation Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    #product-container {
        flex-direction: row;
    }

    #image-container {
        width: 50%;
    }

    #product-details {
        width: 50%;
    }

    #main-image-container {
        height: 180px;
        margin-bottom: 100px; /* Adjusted to maintain proportion */
    }

}

/* Collapsible Sections Styling */
.collapsible-section {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%;
}

.collapsible-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 0;
    user-select: none;
}

.collapsible-arrow {
    transition: transform 0.3s ease;
    color: #000;
    font-size: 18px;
}

.collapsible-arrow.active {
    transform: rotate(90deg);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.collapsible-content.active {
    max-height: 500px; /* Adjust based on your content */
    transition: max-height 0.5s ease-in;
}

#description-title, #notes {
    margin-top: 0;
    margin-bottom: 0;
}

/* Ensure the description doesn't have the negative margin anymore since we're using collapsible sections */
#description-title {
    margin-top: 0;
}

#notes {
    margin-top: 0;
}

.fa, .fas {
    scale: 0.75;
}

ul {
    padding-left: 0;
}

.note-subtitle {
    font-weight: 600;
    display: inline-block;
    margin: 0.3rem 0;
}

/* Modern Gender Slider Styling */
.gender-slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    gap: 10px;
}

.gender-slider-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.gender-text {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    color: #666;
}

.gender-icon-male, .gender-icon-female {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gender-icon-male {
    color: #000;
}

.gender-icon-female {
    color: #000;
}

.modern-gender-slider {
    position: relative;
    width: -webkit-fill-available;
    height: 30px;
    display: flex;
    align-items: center;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: #ddd;
    top: 50%;
    transform: translateY(-50%);
}

.slider-points {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
    z-index: 2;
}

.slider-point {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid #ccc;
    transition: all 0.2s ease;
}

.slider-point.active {
    background-color: #000;
}