/* Base Typography */
body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Adjust master header to account for fixed banner */
.master-header {
    position: relative;
    z-index: 100;
    background: white; /* Ensure header has a solid background */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* ============================================================
   FOOTER STYLES
   ============================================================ */

.main-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 50px 20px 20px;
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  margin-top: 60px;
  border-top: 1px solid #333;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px 30px;
  border-bottom: 1px solid #333;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Information section with left-aligned content */
.footer-section.links-section {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
}

.footer-section.links-section h3 {
    padding-left: 0;
    margin-left: 0;
}

.footer-section.links-section ul {
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    list-style-position: outside;
}

/* Newsletter section with left-aligned heading and form */
.footer-section.newsletter-section {
  align-items: flex-start;
  text-align: left;
  width: 100%;
  max-width: 400px;
}


.newsletter-form {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-top: 10px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 0; /* Allows the input to shrink below its minimum content size */
  padding: 10px 12px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
  height: 42px; /* Match button height */
}

.newsletter-form button {
  padding: 0 20px;
  white-space: nowrap;
  height: 42px;
  flex-shrink: 0; /* Prevents the button from shrinking */
}

/* Center align the about section */
.footer-section.about-section {
  text-align: left;
}

.footer-section h3 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

.footer-section p {
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;

}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 12px 15px;
  border: 1px solid #333;
  background-color: #1a1a1a;
  color: #ffffff;
  border-radius: 4px;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: #666;
}

.newsletter-form button {
  padding: 12px 20px;
  background-color: #ffffff;
  color: #000000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.newsletter-form button:hover {
  background-color: #e6e6e6;
}

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #333;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: #555;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Specific icon colors on hover */
.social-links a[aria-label="Facebook"]:hover {
  background-color: #3b5998;
}

.social-links a[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-links a[aria-label="WhatsApp"]:hover {
  background-color: #25D366;
}

.copyright {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.copyright a {
  color: #b3b3b3;
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright .creator a {
  color: #25D366 !important;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 2px 0;
}

.copyright .creator a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #25D366;
  transition: width 0.3s ease;
}

.copyright .creator a:hover {
  color: #128C7E !important;
  text-decoration: none;
}

.copyright .creator a:hover::after {
  width: 100%;
}

.creator {
  font-size: 0.8rem;
  color: #736f6f;
}

.creator a {
  color: #25D366; /* WhatsApp green */
  text-decoration: none;
  transition: color 0.2s ease;
}

.creator a:hover {
  color: #00ffb3; /* Slightly darker green on hover */
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 767px) {
  .footer-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px;
  }
  
  .footer-section {
    width: 100%;
    margin-bottom: 30px;
    padding: 0;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
  
  .footer-section h3 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* ============================================================
   MASTER HEADER & QUICK VIEW FIX (2025)
   ============================================================ */

/* 1. Master Wrapper: The key to grouping on Desktop */
.master-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 4000; /* Stays above the Product Modal (3000) */
    background-color: black;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* 2. Logo Bar Styling */
#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    background-color: black;
    padding: 0 20px;
    position: relative; /* Takes it out of its own fixed layer */
}

/* 3. Navigation Links (Desktop Grouping) */
.navlinks {
    display: flex;
    justify-content: center;
    background-color: black;
    padding-bottom: 15px;
    position: relative;
    width: 100%;
    font-size: 0.78rem;
}

/* 4. Product Modal (Quick View Page) Adjustment */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 3000; /* Stays below the master-header */
    overflow-y: auto;
    
    /* Space for Header (80px) + Nav (approx 60px) = 140px */
    padding-top: 140px; 
}

/* 5. Mobile & Phone Specific Logic */
@media (max-width: 667px) {
    /* Hide horizontal nav row from header on phones */
    .master-header .navlinks {
        display: none; 
    }

    /* Your Side-Drawer remains separate and works independently */
    .navlinks.active {
        display: flex !important; /* Forces side-drawer visible when clicked */
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        background-color: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        z-index: 5000; /* Higher than even the header */
    }

    /* Adjust Quick View padding for phone (No Nav bar visible) */
    .product-modal {
        padding-top: 80px;
    }
}

.lefticons{
    display: flex;
    margin-left: 10px;
    gap: 30px;
}
.lefticons .hidden{
    color: white;
    padding: 0px;
    width: 24px;
    height: 24px;
    visibility: hidden;

}
.lefticons button{
    background-color: black;
    border: none;

}


#header .lefticons .menu img, #header .righticons img{
    width: 24px;
    height: 24px;
    padding: 8px;
    cursor: pointer;
    filter: invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#header .lefticons .menu img:hover, #header .righticons img:hover{
    transform: scale(1.1);
    opacity: 0.8;
}
.logo{
    margin-left: 0px;
    
}

#header .logo img{
    height: 45px;

}
.righticons{
    display: flex;
    margin-right: 10px;
    gap: 10px;
    align-items: center;
}

/* Cart Icon with Badge */
.cart {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    border: 2px solid black;
    transform: translate(25%, -25%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-badge.show {
    opacity: 1;
    visibility: visible;
}

.navlinks a{
    color: white;
    text-decoration: none;
    margin: 0px 40px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Dropdown Styles - Base */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    color: white;
    text-decoration: none;
    margin: 0px 40px;
    padding: 5px 0;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.dropdown-arrow {
    font-size: 0.7em;
    transition: transform 0.3s ease;
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    margin-top: 10px;
    padding: 8px 0;
}

.dropdown-menu a {
    display: block;
    color: #333;
    padding: 12px 20px;
    margin: 0;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #000;
    border-left-color: #000;
    padding-left: 23px;
}

/* Purchase Notification Popup */
.purchase-notification {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 100%;
    max-width: 260px; /* Reduced from 300px */
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-family: 'Poppins', sans-serif;
}

.purchase-notification.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 18px 20px;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.close-notification {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-notification:hover {
    background: #f5f5f5;
    color: #666;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #333;
    letter-spacing: 0.3px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    z-index: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 100, 100, 0.5);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(100, 100, 100, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 100, 100, 0);
    }
}

.notification-body {
    display: flex;
    align-items: center;
}

.notification-product-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    border: 1px solid #f0f0f0;
}

.notification-details {
    flex: 1;
}

.notification-time {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #666;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    margin: 6px 0 0 0;
    letter-spacing: 0.3px;
}

.purchase-time {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #777;
    font-size: 11px;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.purchase-time svg {
    width: 12px;
    height: 12px;
    fill: #888;
    stroke: #888;
    margin-right: 4px;
}

.purchase-time svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.notification-content {
    position: relative;
    padding: 14px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
    max-width: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.notification-product-name {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
    color: #333;
    font-family: 'Poppins', sans-serif;
    line-height: 1.3;
}

.purchase-time {
    margin: 0;
    font-size: 12px;
    color: #888;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.whatsapp-float img {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(100, 100, 100, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(100, 100, 100, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(100, 100, 100, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float img {
        width: 32px;
        height: 32px;
    }
}

/* Mobile drawer menu styles */
@media(max-width:667px){
    
    .navlinks{
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 0 20px 0;
        z-index: 1000;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        overflow-x: hidden;
    }
    #header {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr !important;
        align-items: center;
        padding: 0 15px !important; /* Fixed spacing from screen edges */
        height: 70px;
        width: 100%;
        box-sizing: border-box;
    }

    /* 2. Left Column: Contains your Hamburger Menu */
    .lefticons {
        grid-column: 1;
        display: flex !important;
        justify-content: flex-start !important;
        margin-left: 0;
        padding-left: 0px;
    }

    /* 3. Center Column: Your Logo */
    .logo {
        grid-column: 2;
        display: flex !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    
    .logo img {
        height: 35px; /* Shrink logo slightly for mobile */
        width: auto;
    }

    /* 4. Right Column: Contains Search and Cart icons */
    .righticons {
        grid-column: 3;
        display: flex !important;
        justify-content: flex-end !important; /* Pushes them to the right edge */
        gap: 0px; /* Space between search and cart */
        margin: 0 !important;
    }


    /* Hide that 'h' filler div you have in HTML on mobile */
    .lefticons .hidden {
        display: none;
    }
    .navlinks.active{
        left: 0;
    }
    
    .navlinks a,
    .navlinks .nav-dropdown {
        color: white;
        text-decoration: none;
        margin: 0;
        padding: 15px 20px;
        font-size: 1em;
        font-weight: 500;
        letter-spacing: 0.5px;
        opacity: 0;
        transform: translateX(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .navlinks.active a,
    .navlinks.active .nav-dropdown {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Mobile Dropdown Styles */
    .navlinks .nav-dropdown {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .navlinks .dropdown-toggle {
        width: 100%;
        padding: 15px 20px;
        margin: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
        text-align: left;
    }
    
    .navlinks .dropdown-menu {
        position: static;
        transform: none;
        background-color: rgba(255, 255, 255, 0.05);
        box-shadow: none;
        margin-top: 0;
        margin-left: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        visibility: visible;
        border-radius: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .navlinks .nav-dropdown.active .dropdown-menu {
        max-height: 60vh; /* Use viewport height for mobile */
        opacity: 1;
        padding: 8px 0;
        overflow-y: auto; /* Ensure scrolling works on mobile */
    }
    
    .navlinks .dropdown-menu a {
        color: rgba(255, 255, 255, 0.8);
        padding: 12px 20px 12px 40px;
        font-size: 0.9em;
        border-left: none;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .navlinks .dropdown-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
        padding-left: 45px;
    }
    
    /* Staggered animation for navlinks */
    .navlinks.active a:nth-child(1),
    .navlinks.active .nav-dropdown:nth-child(2){
        transition-delay: 0.1s;
    }
    .navlinks.active .nav-dropdown:nth-child(3){
        transition-delay: 0.15s;
    }
    .navlinks.active a:nth-child(4){
        transition-delay: 0.2s;
    }
    .navlinks.active a:nth-child(5){
        transition-delay: 0.25s;
    }
    .navlinks.active a:nth-child(6){
        transition-delay: 0.3s;
    }
    
    /* Overlay backdrop */
    .overlay{
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s ease;
        z-index: 999;
    }
    
    .overlay.active{
        opacity: 1;
        pointer-events: all;
    }
}

@media(min-width:668px){
.menu{visibility: hidden;}
.overlay{
    display: none;
}
.navlinks{
    display: flex;
    position: sticky;
    top: 80px;
    width: auto;
    height: auto;
    background-color: black;
    flex-direction: row;
    padding-top: 20px;
    padding-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
 .navlinks a{
        font-size: 0.8em;
    }
/* Desktop Navigation Links */
.navlinks > a {
    color: white;
    text-decoration: none;
    margin: 0px 30px;
    padding: 5px 0;
    position: relative;
    opacity: 1;
    transform: none;
    border-bottom: none;
    transition: color 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.5;
}

/* Animated underline on hover for desktop nav links */
.navlinks > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.navlinks > a:hover {
    color: #f0f0f0;
}

.navlinks > a:hover::after {
    width: 100%;
}

/* Active nav link styling */
.navlinks > a.active::after,
.navlinks .dropdown-toggle.active::after {
    width: 100% !important;
}

.navlinks > a.active,
.navlinks .dropdown-toggle.active {
    color: #f0f0f0;
}

/* Desktop Dropdown Styles */
.navlinks .nav-dropdown {
    display: inline-block;
    margin: 0px 30px;
    padding: 0;
    opacity: 1;
    transform: none;
    border-bottom: none;
    vertical-align: baseline;
    line-height: 1.5;
}

.navlinks .dropdown-toggle {
    margin: 0;
    padding: 5px 0;
    position: relative;
    display: inline-block;
    vertical-align: baseline;
    line-height: 1.5;
    color: white;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Animated underline on hover for dropdown toggle */
.navlinks .dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.navlinks .nav-dropdown:hover .dropdown-toggle {
    color: #f0f0f0;
}

.navlinks .nav-dropdown:hover .dropdown-toggle::after {
    width: 100%;
}

.navlinks .nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.navlinks .dropdown-menu {
    margin-top: 10px;
    max-height: 400px; /* Set a max height for the dropdown */
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #888 #f1f1f1; /* For Firefox */
}

/* For Webkit browsers (Chrome, Safari) */
.navlinks .dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.navlinks .dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.navlinks .dropdown-menu::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.navlinks .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.navlinks .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

}

/* Tablet responsiveness */
/* TABLET RANGE FIX (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    #header {
        height: 60px; /* Reduced from 80px */
        margin-bottom: 0;
        padding: 0 15px; /* Add some padding for better spacing */
        display: flex;
        justify-content: space-between;
    }
    
    /* Reduce logo size */
    .logo img {
        height: 30px; /* Adjust as needed */
        width: auto;
    }
    
    /* Reduce icon sizes */
    .righticons img {
        width: 20px;
        height: 20px;
    }
    
    /* Adjust cart badge */
    .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        line-height: 16px;
    }
    
    /* Reduce navlink font size */
    .navlinks a {
        font-size: 0.8em;
        padding: 0;
        margin-bottom: 0px;
    }
    
    /* Adjust dropdown menu font size */
    .dropdown-menu a {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
    
    .navlinks {
        display: flex;
        position: sticky;
        top: 80px; /* MUST match #header height above to close the gap */
        margin-top: 0;
        padding-top: 10px; 
        padding-bottom: 15px;
        background-color: black; /* Ensure background matches to hide gaps */   
    }
    #header .logo img{
        height: 45px;
    }
    /* Keep search bar aligned to the new header height */
    .search-dropdown {
        top: 80px; 
    }
}


/* Large desktop responsiveness */
@media(min-width: 1440px){
    .navlinks a{
        margin: 0px 50px;
        font-size: 0.8em;
    }
    
    #header .logo img{
        height: 50px;
    }
}
@media(max-width: 320px){
    .righticons{
        display: block;
    }
    .lefticons{
        display: block;
    }
    
    #header{
        height: 70px;
    }
    
    #header .logo img{
        height: 35px;
    }
    
    #header .lefticons .menu img, #header .righticons img{
        width: 20px;
        height: 20px;
        padding: 6px;
    }
}
/* --- FIX FOR ULTRA-TINY SCREENS (BELOW 320PX) --- */
@media (max-width: 320px) {
    #header {
        /* Reduce side padding to gain more horizontal space */
        padding: 0 8px !important; 
    }

    /* Shrink the logo slightly so it doesn't crowd the icons */
    .logo img {
        height: 28px !important; 
    }

    /* Tighten the gap between Search and Cart so they don't get cut */
    .righticons {
        gap: 12px !important; 
    }

    /* Ensure the search/cart icons themselves shrink if necessary */
    .righticons img {
        width: 20px !important;
        height: auto !important;
    }

    /* Ensure the menu icon also stays small and doesn't push the logo */
    .lefticons img {
        width: 22px !important;
    }
}
/* Hero Slider Styles */
#shopNowBtn4 {
    margin-top: 300px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-attachment: fixed;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 115px 20px 100px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(10%);
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

/* Slider Navigation - Arrows Removed */
.slider-arrow {
    display: none;
}

/* Slider Dots - Even Smaller */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0 2px;
    border-radius: 50%;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: white;
}

/* Responsive Styles */




/* Mobile Styles (up to 767px) */
@media (max-width: 767px) {
    .hero-slider {
        min-height: 100vh;
        margin-bottom: 0;
    }
    
    /* Mobile-specific image for 4th slide */
    .hero-slide:nth-child(4) {
        background-image: url('../assets/images/Hero\ section\ 4\ phone.png') !important;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    
    .hero-content {
        padding-top: 130px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }
    
    .hero-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .hero-content {
        padding: 50px 15px 60px;
        transform: translateY(0);
        position: relative;
        top: 30px;
    }
    
    .slider-dots {
        bottom: 70px;
        gap: 4px;
        padding: 2px 4px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin: 0 0 25px 0;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.4s both;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.5s forwards;
}

.btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: #000;
    color: white;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #ffffff;
    color: #000;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.6), 
                0 0 20px rgba(255, 255, 255, 0.3),
                0 0 40px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Hero Section */


@media(max-width: 480px) {
    .hero-slider {
        min-height: 100vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 20px;
        padding: 0 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 35px;
        padding: 0 15px;
    }
    .slider-dots {
        bottom: 70px;
        gap: 4px;
        padding: 2px 4px;
    }
    
    .slider-dot {
        width: 8px;
        height: 8px;
    }
    .btn-primary {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
        width: 180px;
    }

}

/* Products Section Styles */
.products-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 10px 0;
    font-family: 'Lato', sans-serif;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 50px 0;
    font-family: 'Lato', sans-serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.1);
}

/* --- STEP 1: RESPONSIVE SQUARE IMAGE FRAME --- */
.product-image {
    position: relative;
    width: 100%;
    
    /* 1. This is the magic line. It forces the box height to ALWAYS 
       match the width. No more "drastic jumps" at 1200px or 768px. */
    aspect-ratio: 1 / 1; 
    
    /* 2. Keeps the zoom effect contained inside the card */
    overflow: hidden; 
    
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* Fallback background */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.main-product-img {
    /* 3. 'cover' ensures the image fills 100% of the square.
       NO white background will be visible on the sides. */
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* 4. Ensure no padding is pushing the image away from the edges */
    padding: 0 !important; 
    
    transition: transform 0.5s ease;
}

.product-card:hover .main-product-img {
    /* Subtle high-end zoom */
    transform: scale(1.05); 
}


.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #000;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background-color: #e74c3c;
}


.product-info {
    padding: 15px 20px; 
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    font-family: 'Lato', sans-serif;
    text-align: center;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-price .current-price {
    font-size: 0.95rem;
    font-weight: 500;
    color: #000;
    font-family: 'Lato', sans-serif;
}

.product-category {
    font-size: 0.85rem;
    color: #999;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Lato', sans-serif;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 12px 0;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.85rem;
    color: #666;
    font-family: 'Lato', sans-serif;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 0 15px 0;
}

.current-price {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    letter-spacing: -0.3px;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    font-family: 'Lato', sans-serif;
}

/* Action Buttons */
.modal-actions {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.add-to-cart-btn-large, 
.buy-now-btn,
.cart-checkout-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn-large {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.add-to-cart-btn-large:hover {
    background-color: #e8e8e8;
}

.buy-now-btn,
.cart-checkout-btn {
    background-color: #000;
    color: white;
}

.buy-now-btn:hover,
.cart-checkout-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.buy-now-btn:active,
.cart-checkout-btn:active {
    transform: translateY(0);
}

/* Disabled state */
.add-to-cart-btn-large:disabled,
.buy-now-btn:disabled,
.cart-checkout-btn:disabled,
.add-to-cart-btn-large.out-of-stock,
.buy-now-btn.out-of-stock {
    background-color: #f5f5f5;
    color: #bdbdbd;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

/* Diagonal lines for out-of-stock buttons (X shape) */
.add-to-cart-btn-large.out-of-stock::before,
.add-to-cart-btn-large.out-of-stock::after,
.buy-now-btn.out-of-stock::before,
.buy-now-btn.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #bdbdbd;
    transform-origin: center;
    z-index: 1;
}

/* First diagonal line */
.add-to-cart-btn-large.out-of-stock::before,
.buy-now-btn.out-of-stock::before {
    transform: rotate(-5deg);
}

/* Second diagonal line (creates X shape) */
.add-to-cart-btn-large.out-of-stock::after,
.buy-now-btn.out-of-stock::after {
    transform: rotate(5deg);
}

/* Disabled state for original disabled buttons */
.add-to-cart-btn-large:disabled:not(.out-of-stock),
.buy-now-btn:disabled:not(.out-of-stock),
.cart-checkout-btn:disabled:not(.out-of-stock) {
    background-color: #e0e0e0;
    color: #9e9e9e;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Cart Checkout Button */
.cart-checkout-btn {
    width: 100%;
    margin-top: 15px;
    padding: 16px 20px;
    font-size: 1rem;
}

/* Color Selector Styles */
.color-selector {
    margin: 0 0 15px 0;
    text-align: center;
}

.color-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    display: block;
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.color-circle-wrapper {
    position: relative;
    cursor: pointer;
}

.color-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.color-circle:hover:not(.out-of-stock) {
    transform: scale(1.2);
    border-color: #999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-circle.selected {
    border-color: #333;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.color-circle.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    position: relative;
    filter: grayscale(0.3);
}

.color-circle.out-of-stock::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 2.5px;
    background-color: #999;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 1;
    border-radius: 2px;
}

.diagonal-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 2.5px;
    background-color: #999;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 2;
    border-radius: 2px;
}

.color-circle.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 130%;
    height: 2.5px;
    background-color: #999;
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
    border-radius: 2px;
}

.quick-view-btn {
    width: 100%;
    background-color: #000;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 0px;
    margin-top: 0px;
}

.quick-view-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.quick-view-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.quick-view-btn:disabled {
    background: linear-gradient(135deg, #ccc 0%, #bbb 100%);
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.quick-view-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Products Section */
@media (max-width: 1200px) and (min-width: 480px) {
    /* Tablet-specific styles */
    .hero-slider{
        min-height: 100vh;
    }
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        margin: 0 auto 25px;
        line-height: 1.5;
        max-width: 80%;
    }
    
    .hero-content {
        padding: 70px 30px 90px;
    }
    
    .hero-buttons {
        margin-bottom: 20px;
    }
    
    .master-header {
        padding: 10px 0;
    }
    
    .navlinks {
        padding: 8px 0;
    }
    
    .navlinks a {
        font-size: 0.8em;

    }
    
    .logo img {
        max-height: 38px;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .product-image {
    position: relative;
    width: 100%;
    /* Increase height slightly so the luggage looks bigger and more premium */
    
    /* Ensure a pure white background */
    background-color: #ffffff;
    
    /* This centers the image if it's still loading */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* VERY IMPORTANT: This cuts off any image parts that "overflow" the box */
    overflow: hidden; 
    
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
}

@media(max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .products-section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 1.9rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    
    .product-card {
        border-radius: 12px;
    }
    .color-label{
        padding-top: 0px;
        margin-top: 0px;
        line-height: 1;
    }
}


@media(max-width: 480px) {
    
    .products-section {
        padding: 30px 5px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    
    .product-info {
        padding: 7px;
    }
    
    .product-name {
        font-size: 1rem; /* Increased from 0.8rem for better readability */
        margin-bottom: 5px;
        margin-top: 5px;
    }
    
    .product-price {
        font-size: 0.7rem; /* Further reduced from 0.75rem */
        color: #888; /* Made even lighter for less prominence */
        padding-bottom: 0px;
        margin-bottom: 2px;
        line-height: 1.;
        padding-top: 0px;
    }
    .product-price .current-price{
        font-size: 0.75rem;
    }
    .color-label{
        padding-top: 10px;
        margin-top: 0px;
        line-height: 1;
    }
    .color-circle {    
        width: 17px;
        height: 17px;
    }
    
    .quick-view-btn {
        padding: 8px 0px ;
        font-size: 0.65rem;
    }
}

/* UPDATED: Fixed Search Dropdown Logic */
.search-dropdown {
    position: fixed;
    top: 80px; /* Ensure this matches your header height */
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    
    /* Minute Detail: box-sizing ensures width: 100% includes the padding */
    box-sizing: border-box; 
    
    /* Fix for Cross Button: Added 35px padding-right so it clears the scrollbar */
    padding: 15px 35px 15px 15px; 
    
    z-index: 2000;
    display: none; /* Changed to flex by JS when active */
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-dropdown.active {
    display: flex;
}

/* This class is toggled by your script.js */
.search-dropdown.active {
    display: flex; 
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.righticons {
    position: relative;
}

#searchInput {
    flex-grow: 1; /* This forces the bar to stretch and cover the background */
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
}

#searchInput:focus {
    border-color: #000;
}

.search-close-btn {
    background-color: #000;
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 6px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;
    flex-shrink: 0;
}

.search-close-btn:hover {
    background-color: #333;
    transform: scale(1.05);
}

@media(max-width: 768px) {
    .search-dropdown {
        top: 80px; /* Adjust if your header is smaller on mobile */
        padding-right: 30px; /* Still keeps cross clear of scrollbar on mobile */
    }

    #searchInput {
        font-size: 0.9rem;
        padding: 8px 12px;
    }
    
    .search-close-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
/* --- MODAL WRAPPER --- */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 3000;
    display: none; /* Toggle to 'block' or 'flex' in JS */
    
    /* FIX: Enable full-page scrolling behavior */
    overflow-y: auto; 
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}



/* --- LAYOUT CONTAINER --- */
.modal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.modal-body {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 60px; /* Replaced 250px gap with a more standard spacing */
    margin-top: 20px;
}

/* --- LEFT COLUMN: IMAGES --- */
.modal-images {
    flex: 0 1 450px; /* Allows the image area to grow/shrink reasonably */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-display {
    position: relative;
    width: 100%;
    max-width: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalMainImg {
    width: 100%;
    max-width: 450px; /* Increased from 350px for better visibility */
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

/* Image Navigation Buttons */
.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    user-select: none;
}

.image-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.image-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

#imagePrevBtn {
    left: 10px;
}

#imageNextBtn {
    right: 10px;
}

.image-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.image-thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.image-thumbnails img:hover {
    border-color: #000;
    opacity: 1;
    transform: scale(1.05);
}

.image-thumbnails img.active {
    border-color: #000;
    border-width: 3px;
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* --- RIGHT COLUMN: INFO --- */
.modal-info {
    flex: 0 1 500px;
    display: flex;
    flex-direction: column;
}

.modal-info h2 {
    margin: 0 0 5px 0;
    font-size: 2rem;
}

.modal-category {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 20px 0;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: 0.3px;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.modal-category::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #000;
}

.modal-price {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #333;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h4 {
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
#modalDescription{
    margin-bottom: 1500px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}
/* --- INTERACTIVE ELEMENTS --- */
.size-btn {
    padding: 10px 20px;
    border: 1px solid #ccc;
    background: white;
    margin-right: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.size-btn:hover {
    border-color: #000;
}

.size-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* --- BUTTONS --- */
.modal-actions {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.add-to-cart-btn-large, .buy-now-btn {
    flex: 1;
    padding: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    border: none;
    transition: opacity 0.2s;
}

.add-to-cart-btn-large {
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #000;
}

.buy-now-btn {
    background-color: #000;
    color: #fff;
}

.add-to-cart-btn-large:hover, .buy-now-btn:hover {
    opacity: 0.8;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 900px) {
    .modal-body {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .modal-info {
        width: 100%;
        padding-bottom: 50px;
    }
    
    .image-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    #imagePrevBtn {
        left: 5px;
    }
    
    #imageNextBtn {
        right: 5px;
    }
    
    .image-thumbnails img {
        width: 60px;
        height: 60px;
    }
}
@media (max-width: 480px) {
    .modal-actions {
        flex-direction: column; /* Stacks buttons on very small phones so they don't squash */
        gap: 10px;
    }
    
    .add-to-cart-btn-large, .buy-now-btn {
        width: 100%; /* Full width rectangles */
        border-radius: 4px; /* Explicitly reset radius to ensure no circles */
    }
    
    .main-display {
        max-width: 100%;
    }

    #modalMainImg {
        max-width: 100%;
    }
    
    .image-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .image-thumbnails img {
        width: 50px;
        height: 50px;
    }
    
    .image-thumbnails {
        gap: 8px;
    }
}


.modal-actions{
    display: flex;
    gap: 30px;
    margin-top: 35px;
}
/* --- BACK TO STORE BUTTON: Oval Black & White Style --- */
.back-to-store {
    margin-left: 80px;
    background-color: #000000 !important; /* Pure black background */
    color: #ffffff !important;           /* Pure white text */
    border: none !important;              /* Remove default browser border */
    
    padding: 14px 20px !important;       /* Space inside the button */
    border-radius: 50px !important;      /* Creates the OVAL/PILL shape */
    
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    
    /* Position it below the header row */
    margin-bottom: 35px !important;
    transition: all 0.3s ease !important;
}

.back-to-store:hover {
    background-color: #333333 !important; /* Dark grey on hover */
    transform: translateX(-5px) !important; /* Move left to show 'Back' action */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2) !important;
}
/* --- ADD TO CART BUTTON (Large, Oval, Black & White) --- */
.add-to-cart-btn-large {
    display: block !important;
    width: 100% !important;

    /* Styling: Black Background, White Text, Oval Shape */
    background-color: #000000 !important; 
    color: #ffffff !important;           
    border: none !important;             
    border-radius: 50px !important;      
    padding: 14px 20px !important;       
    
    /* Font and Layout */
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    
    /* Interaction */
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.add-to-cart-btn-large:hover {
    background-color: #333333 !important; /* Dark grey on hover */
    transform: translateY(-2px) !important; /* Lift effect */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}
/* --- BUY NOW BUTTON (Large, Oval, Black & White) --- */
/* --- FROSTED ROYAL SILVER (BRIGHT & CLEAN) --- */
.buy-now-btn {
    display: block !important;
    width: 100% !important;

    /* 1. Background: Bright Frosted Silver (95% White) */
    background: linear-gradient(135deg, #ffffff 0%, #f1f1f1 50%, #eaeaea 100%) !important; 
    
    /* 2. Text: Deep Steel Blue-Grey (Very royal, not black) */
    color: #555555 !important; 
    
    /* 3. Border: The "Jewelry" Edge - Very thin and bright silver */
    border: 1px solid #c0c0c0 !important;
    border-radius: 50px !important;      
    padding: 16px 24px !important;       
    
    /* 4. Typography: Ultra-Premium Spacing */
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    text-align: center !important;
    
    /* 5. Shadow: Ambient "Cloud" Glow */
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03), 
                0 0 15px rgba(255, 255, 255, 0.9) !important;
    
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1) !important;
}

.buy-now-btn:hover {
    /* 6. Hover: Polished Chrome Shift */
    /* It becomes slightly more "Silver" but stays bright */
    background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%) !important; 
    color: #222222 !important; 
    
    /* 7. Interaction: Elevation */
    transform: translateY(-4px) !important;
    border-color: #cccccc !important;
    
    /* 8. The Glow: Pure White Aura */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.06), 
                0 0 20px rgba(255, 255, 255, 1) !important;
}

/* --- ROYAL BLACK & WHITE QUANTITY SELECTOR --- */
/* --- MINIMALIST QUANTITY SELECTOR --- */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #000000; /* Single black border around whole element */
    border-radius: 4px;        /* Subtle rounded corners */
    width: fit-content;
    background: #ffffff;
    margin-bottom: 20px;
}

.qty-btn {
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #000000;
}

#qtyInput {
    width: 45px;
    height: 35px;
    text-align: center;
    border: none;
    border-left: 1px solid #000000;  /* Dividers only */
    border-right: 1px solid #000000; /* Dividers only */
    font-weight: 700;
    color: #000000;
}

/* Hide default browser arrows */
#qtyInput::-webkit-inner-spin-button { display: none; }

/* --- CART DRAWER STYLES --- */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 4500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background-color: #ffffff;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #ffffff;
}

.cart-drawer-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    font-family: 'Lato', sans-serif;
}

.cart-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    padding: 0;
}

.cart-close-btn:hover {
    background-color: #f0f0f0;
    color: #000;
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 20px 0;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.cart-empty p {
    margin: 0;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.cart-empty-subtitle {
    margin-top: 10px !important;
    font-size: 0.9rem !important;
    color: #999 !important;
}

.cart-items {
    display: none;
    padding: 0 25px;
}

.cart-items.has-items {
    display: block;
}

.cart-item {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background-color: #f8f8f8;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    margin: 0;
    line-height: 1.4;
}

.cart-item-details {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: fit-content;
}

.cart-qty-btn {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.cart-qty-btn:hover {
    background-color: #f0f0f0;
}

.cart-qty-input {
    width: 40px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    font-weight: 600;
    color: #000;
    font-size: 0.9rem;
}

.cart-qty-input::-webkit-inner-spin-button {
    display: none;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 5px 10px;
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #c0392b;
}

.cart-drawer-footer {
    border-top: 1px solid #e0e0e0;
    padding: 25px;
    background-color: #ffffff;
    display: none;
}

.cart-drawer-footer.has-items {
    display: block;
}

.cart-total {
    margin-bottom: 20px;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #666;
}

.cart-total-row.cart-total-final {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #e0e0e0;
    margin-bottom: 0;
}

.cart-checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    font-family: 'Lato', sans-serif;
}

.cart-checkout-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 768px) {
   .cart-drawer {
       width: 380px;
       max-width: 90vw;
       height: 100vh;
       display: flex;
       flex-direction: column;
   }
   
   .cart-drawer-content {
       flex: 1;
       overflow-y: auto;
       -webkit-overflow-scrolling: touch;
   }
   
   .cart-drawer-footer {
       flex-shrink: 0;
       padding: 20px;
       position: sticky;
       bottom: 0;
       background: #fff;
       box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
   }
   
   .cart-item-image {
       width: 80px;
       height: 80px;
   }
   
   .cart-item-name {
       font-size: 0.95rem;
   }
   .cart-drawer-footer{
       margin-bottom: 25px;
   }
    
    .cart-item-name {
        font-size: 0.95rem;
    }
    .cart-drawer-footer{
        margin-bottom: 25px;
    }
}

/* Mobile/Phone Responsive */
@media (max-width: 667px) {
    .cart-drawer {
        width: 300px;
        
    }
    .cart-drawer-footer{
        margin-bottom: 30px;
    }
    .cart-drawer-header {
        padding: 15px 20px;
    }
    
    .cart-drawer-header h2 {
        font-size: 1.3rem;
    }
    
    .cart-drawer-content {
        padding: 15px 0;
    }
    
    .cart-items {
        padding: 0 20px;
    }
    
    .cart-item {
        padding: 15px 0;
        gap: 12px;
    }
    
    .cart-item-image {
        width: 70px;
        height: 70px;
    }
    
    .cart-item-name {
        font-size: 0.9rem;
    }
    
    .cart-item-details {
        font-size: 0.8rem;
    }
    
    .cart-item-price {
        font-size: 0.95rem;
    }
    
    .cart-drawer-footer {
        padding: 20px;
    }
    
    .cart-total-row {
        font-size: 0.95rem;
    }
    
    .cart-total-row.cart-total-final {
        font-size: 1.1rem;
    }
    
    .cart-checkout-btn {
        padding: 14px;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .cart-badge {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }
}

/* Small Phone Responsive */
@media (max-width: 480px) {
    .cart-drawer {
        width: 300px;}

    .cart-drawer-footer{
        margin-bottom: 25px;
    }
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
    
    .cart-item-name {
        font-size: 0.85rem;
    }
    
    .cart-item-details {
        font-size: 0.75rem;
    }
    
    .cart-item-price {
        font-size: 0.9rem;
    }
    
    .cart-item-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .cart-qty-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .cart-qty-input {
        width: 35px;
        height: 28px;
        font-size: 0.85rem;
    }
}

/*--- Location Page Styles ---*/
.location-section {
    padding-top: 180px;
    min-height: 100vh;
    background-color: #f8f8f8;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.location-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 10px 0;
    font-family: 'Lato', sans-serif;
}

.location-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin: 0 0 60px 0;
    font-family: 'Lato', sans-serif;
}

.location-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.store-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1000px;
}

.info-card {
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.info-card h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    font-family: 'Lato', sans-serif;
}

.hours-list,
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Notification Styles */
.purchase-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ffffff;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    border: 1px solid #f0f0f0;
    z-index: 9999;
    max-width: 300px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    transform: translateX(120%) scale(0.95);
    opacity: 0;
    overflow: hidden;
}

.notification-body {
    display: flex;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.notification-product-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 14px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.notification-details {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.notification-product-name {
    margin: 0 0 8px 0;
    font-weight: 500;
    font-size: 15px;
    color: #000;
    line-height: 1.4;
    text-align: left;
    padding-right: 10px;
}

.purchase-time {
    margin: 0;
    font-size: 13px;
    color: #666;
    text-align: left;
}

.purchase-notification.show {
    transform: translateX(0) scale(1);
    opacity: 1;
}

/* Mobile Responsive Styles for Notification */
@media (max-width: 480px) {
    .purchase-notification {
        max-width: 300px;
        width: auto;
        left: 10px;
        right: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }
    
    .purchase-notification .notification-content {
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 12px 15px;
    }
    
    .notification-product-image {
        width: 50px !important;
        height: 50px !important;
        margin-right: 10px !important;
    }
    
    .notification-product-name {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    
    .purchase-time {
        font-size: 11px !important;
    }
    
    .notification-header {
        font-size: 12px !important;
        margin-bottom: 8px !important;
    }
    
    .close-notification {
        width: 18px !important;
        height: 18px !important;
        background: rgba(0, 0, 0, 0.05) !important;
    }
}

.notification-content {
    position: relative;
    padding: 14px 16px;
    background: #fff;
}

.notification-body {
    display: flex;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.notification-product-image {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 14px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.notification-details {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.notification-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #333333;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 rgba(51, 51, 51, 0.4);
}

.notification-header span:last-child {
    font-weight: 500;
    color: #333;
    text-transform: capitalize;
}

.product-name-popup {
    margin: 0 0 8px 0 !important;
    font-weight: 500 !important;
    font-size: 25px !important;
    color: #000 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    justify-content: left;
}
#notificationProductName{
    text-align: left;
}
.purchase-time {
    margin: 0 !important;
    font-size: 13px !important;
    color: #666 !important;
    text-align: left !important;
}

.close-notification {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: all 0.2s ease;
}

.close-notification:hover {
    background: rgba(0,0,0,0.1) !important;
}

@keyframes pulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.3);
    }
    70% {
        transform: scale(1.3);
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

.hours-item,
.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hours-item:last-child,
.contact-item:last-child {
    border-bottom: none;
}

.day,
.contact-label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
}

.time,
.contact-value {
    color: #666;
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    text-align: right;
}

.map-container {
    width: 100%;
    max-width: 1000px;
    background-color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.map-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    font-family: 'Lato', sans-serif;
}

.map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 768px) {
    .location-section {
        padding-top: 160px;
    }
    
    .location-title {
        font-size: 2.5rem;
    }
    
    .location-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }
    
    .store-info {
        gap: 25px;
    }
    
    .info-card {
        padding: 30px;
    }
    
    .info-card h2,
    .map-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .map-container {
        padding: 30px;
    }
}

/* Mobile Responsive */
@media (max-width: 767px) {
    /* Footer alignment fixes */
    .footer-section {
        align-items: flex-start;
        text-align: left;
        padding-left: 0;
        margin-left: 0;
    }
    
    /* Add bottom padding to newsletter section */
    .footer-section.newsletter-section {
        padding-bottom: 40px;
    }
    
    .footer-section.links-section,
    .footer-section.newsletter-section,
    .footer-section.about-section {
        padding-left: 0;
        margin-left: 0;
        width: 100%;
    }
    
    .footer-section h3 {
        width: 100%;
        text-align: left;
        padding-left: 0;
    }
    
    .footer-section h3::after {
        left: 0;
    }
    
    .footer-section ul {
        padding-left: 0;
        margin-left: 0;
        width: 100%;
    }
    
    .footer-section.links-section ul {
        padding-left: 0;
    }
    
    .location-section {
        padding-top: 140px;
    }
    
    .location-container {
        padding: 30px 15px;
    }
    
    .location-title {
        font-size: 2rem;
    }
    
    .location-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .location-content {
        gap: 30px;
    }
    
    .store-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .info-card h2,
    .map-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .hours-item,
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0;
    }
    
    .time,
    .contact-value {
        text-align: left;
        width: 100%;
    }
    
    .map-container {
        padding: 25px 15px;
    }
    
    .map-wrapper {
        padding-bottom: 75%; /* Taller aspect ratio for mobile */
    }
}

/* Small Phone Responsive */
@media (max-width: 480px) {
    .location-section {
        padding-top: 120px;
    }
    
    .location-container {
        padding: 20px 10px;
    }
    
    .location-title {
        font-size: 1.7rem;
    }
    
    .location-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .location-content {
        gap: 20px;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .info-card h2,
    .map-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .day,
    .contact-label {
        font-size: 0.9rem;
    }
    
    .time,
    .contact-value {
        font-size: 0.85rem;
    }
    
    .hours-list,
    .contact-list {
        gap: 15px;
    }
    
    .map-container {
        padding: 20px 10px;
    }
    
    .map-wrapper {
        padding-bottom: 80%; /* Even taller for very small screens */
    }
}
/* WhatsApp Link Styles */
.whatsapp-link {
    color: #25D366 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding: 5px 0;
}

.whatsapp-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #25D366;
    transition: width 0.3s ease;
}

.whatsapp-link:hover {
    color: #128C7E !important;
}

.whatsapp-link:hover::after {
    width: 100%;
}

/* Base styles (usually desktop) are already in your file or handled by your scripts */

