/* DRY FRUITS DELIGHT Custom Styles */

:root {
  /* Enhanced modern color scheme */
  --primary-color: #2c3e50;
  --secondary-color: #c0392b;
  --secondary-color2: #e74c3c;
  --accent-color: #3498db;
  --yellow-color: #f39c12;
  --text-gray-color: #555555;
  --white-color: #ffffff;
  --ofwhite-color: #f8f9fa;
  --black-color: #000000;
  --light-color: #95a5a6;
  --light-color2: #bdc3c7;
  --dark-color: #2c3e50;
  --sky-color: #7f8c8d;
  --border-color: #dcdde1;
  --border-color2: #ecf0f1;
  --border-color3: #bdc3c7;
  --border-dark: #34495e;
  --bg-gray-color: #f5f6fa;
  --gray-color: #ecf0f1;
  --gray-color2: #f1f2f6;
  --josefin-sans: "Josefin Sans", sans-serif;
  --open-sans: "Open Sans", sans-serif;
  --body-font-size: 1rem;
  --body-font-weight: 400;
  --body-line-height: 1.6;
  --headings-weight: 700;
  --transition: all 0.3s ease 0s;
  --container-fluid-offset: 19rem;

  /* Enhanced modern colors */
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --danger-color: #e74c3c;
  --info-color: #3498db;
  --light-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --medium-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --deep-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  --transition: all 0.3s ease;
}

/* Accessibility - Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: var(--white-color);
  padding: 8px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: var(--medium-shadow);
  transition: var(--transition);
}

#backToTop:hover {
  transform: translateY(-5px);
  box-shadow: var(--deep-shadow);
}

/* Hero Section with Carousel Styles */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white-color);
  padding: 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  box-shadow: var(--deep-shadow);
  z-index: 1;
  margin-top: 0;
}

/* Adjust for fixed navbar */
body {
  padding-top: 120px; /* Adjust this value based on navbar height */
}

body.authenticated {
  padding-top: 1px;
}

@media (max-width: 991.98px) {
  body {
    padding-top: 3px; /* Adjust for taller navbar on mobile */
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 160px; /* Adjust for even taller navbar on small mobile */
  }
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFFFFF" fill-opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
}

/* Contact Page Specific Hero Enhancements */
.hero-section.contact {
  background-image: url("/images/contact-hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-section.contact::before {
  background: none;
}

/* Contact Page Specific Hero Enhancements */
.hero-image-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-color), var(--yellow-color));
  border-radius: 20px;
  z-index: -1;
  opacity: 0.3;
  filter: blur(20px);
}

.contact-hero-buttons .btn {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-hero-buttons .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--white-color);
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
  animation: fadeInUp 1s ease;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--white-color);
  opacity: 0.95;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  line-height: 1.7;
}

/* Hero Image Carousel Styles */
.hero-image-carousel {
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.hero-image-carousel .carousel-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
}

/* Ensure carousel controls are visible */
.hero-image-carousel .carousel-control-prev,
.hero-image-carousel .carousel-control-next {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-image-carousel:hover .carousel-control-prev,
.hero-image-carousel:hover .carousel-control-next {
  opacity: 1;
}

.hero-carousel-image {
  height: 200px;
  width: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--yellow-color);
  margin: 0 15px;
  transition: transform 0.3s ease;
}

.hero-carousel-image:hover {
  transform: scale(1.05);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(18, 26, 37, 0.7);
  border-radius: 50%;
  padding: 10px;
  width: 2.5rem;
  height: 2.5rem;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--white-color);
  height: 10px;
  border-radius: 50%;
  width: 10px;
}

.carousel-indicators .active {
  background-color: var(--yellow-color);
}

/* Animated Elements */
.hero-animations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-element {
  position: absolute;
  animation: float 6s ease-in-out infinite;
  opacity: 0.7;
}

.floating-element i {
  width: 24px;
  height: 24px;
  color: var(--white-color);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-delayed {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(5deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

@keyframes float-slow {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(3deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.floating-element:nth-child(2) {
  animation-delay: 2s;
  animation-name: float-delayed;
}

.floating-element:nth-child(3) {
  animation-delay: 4s;
  animation-name: float-slow;
}

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

/* Two-Row Navbar Styles */
.modern-header {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 0;
  margin: 0;
  border-radius: 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: var(--white-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  max-width: 100vw;
}


.navbar-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

.top-navbar-row {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 0;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* .contact-info {
  font-size: 0.9rem;
  color: var(--white-color);
}


.contact-info i {
  width: 16px;
  height: 16px;
} */

.contact-info i {
  width: 16px;
  height: 16px;
  display: inline-block;
}

.contact-info {
  display: flex;
  gap: 15px;
  align-items: center;
  color: white;
  flex-wrap: wrap;
}

.contact-info span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  white-space: nowrap;
}

.social-icons a {
  transition: all 0.3s ease;
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--yellow-color) !important;
  background: rgba(255, 255, 255, 0.2);
}

.social-icons i {
  width: 18px;
  height: 18px;
}

/* .bottom-navbar-row {
  background-color: var(--white-color);
  padding: 1rem 0;
  width: 100%;
  margin: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  min-height: 80px;  Ensure minimum height for proper logo display 
} */

.bottom-navbar-row {
  background: #f8f9fa;
  padding: 10px 15px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.navbar-brand {
  font-family: var(--josefin-sans);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  height: 100%;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.brand-text {
  font-family: var(--josefin-sans);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-color) !important;
  letter-spacing: -0.02em;
}

/* Navbar brand logo full height */
.navbar-brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
  max-height: 60px; /* Increased from 50px for better visibility on large screens */
}

.navbar-nav .nav-link {
  color: var(--dark-color) !important;
  font-weight: 600;
  margin: 0 1rem;
  padding: 0.85rem 0.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  font-size: 1.05rem;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color) !important;
  background-color: rgba(231, 76, 60, 0.1);
  transform: translateY(-3px);
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

.navbar-nav .nav-link i {
  font-size: 1.3rem;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover i {
  transform: scale(1.2);
}

/* Cart, Wishlist, Notification Icons */
.navbar-nav .nav-link.cart-wishlist {
  position: relative;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  margin: 0 0.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-nav .nav-link.cart-wishlist:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color) !important;
  transform: translateY(-3px);
}

.navbar-nav .nav-link.cart-wishlist .badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  font-size: 0.75rem;
  min-width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  color: var(--white-color);
  box-shadow: 0 3px 8px rgba(231, 76, 60, 0.4);
  animation: pulse 2s infinite;
}

/* ===== FIX FOR DROPDOWN LINKS BEING CLICKABLE WHEN CLOSED ===== */

/* Navbar Dropdown Fix */
.navbar-nav .dropdown-menu {
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.navbar-nav .dropdown-menu.show {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* Alternative: If you're not using Bootstrap's .show class */
.navbar-nav .dropdown:hover .dropdown-menu,
.navbar-nav .dropdown.active .dropdown-menu {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* Ensure dropdown links are not clickable when hidden */
.navbar-nav .dropdown-menu:not(.show) a,
.navbar-nav .dropdown-menu:not(.show) button {
    pointer-events: none !important;
    cursor: default !important;
}

/* Make sure dropdown links ARE clickable when shown */
.navbar-nav .dropdown-menu.show a,
.navbar-nav .dropdown-menu.show button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* ===== FIX FOR FILTER DROPDOWN (if you have similar issue) ===== */

/* Filter dropdown fix - adjust selector based on your HTML structure */
.filter-dropdown,
[data-filter-dropdown] {
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.filter-dropdown.show,
.filter-dropdown.active,
[data-filter-dropdown].show {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* Ensure any hidden dropdown content is not interactable */
[aria-expanded="false"] + .dropdown-menu,
[aria-expanded="false"] ~ .dropdown-menu {
    pointer-events: none !important;
}

[aria-expanded="true"] + .dropdown-menu,
[aria-expanded="true"] ~ .dropdown-menu {
    pointer-events: auto !important;
}

/* ===== GENERAL FIX FOR ALL HIDDEN ELEMENTS ===== */

/* Ensure any element with display:none cannot be clicked */
*[style*="display: none"],
*[style*="display:none"] {
    pointer-events: none !important;
}

/* Ensure hidden elements cannot be clicked */
.d-none,
.hidden,
[hidden] {
    pointer-events: none !important;
}

/* ===== FIX FOR FILTER DROPDOWN BEING CLICKABLE WHEN CLOSED ===== */

/* Target the filter dropdown specifically */
.filter-dropdown-menu,
[class*="filter"] .dropdown-menu,
button[class*="filter"] + .dropdown-menu,
button:has(> *:contains("Filter")) + .dropdown-menu {
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

/* When dropdown is shown */
.filter-dropdown-menu.show,
[class*="filter"] .dropdown-menu.show,
button[class*="filter"] + .dropdown-menu.show {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* General fix for ALL dropdowns (Filter, Sort, etc.) */
.dropdown-menu {
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.dropdown-menu.show {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* Ensure dropdown items cannot be clicked when dropdown is closed */
.dropdown-menu:not(.show) a,
.dropdown-menu:not(.show) button,
.dropdown-menu:not(.show) [role="menuitem"] {
    pointer-events: none !important;
    cursor: default !important;
}

/* Make dropdown items clickable when dropdown is open */
.dropdown-menu.show a,
.dropdown-menu.show button,
.dropdown-menu.show [role="menuitem"] {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Fix for navbar dropdowns (from previous issue) */
.navbar-nav .dropdown-menu {
    pointer-events: none !important;
    opacity: 0;
    visibility: hidden;
}

.navbar-nav .dropdown-menu.show {
    pointer-events: auto !important;
    opacity: 1;
    visibility: visible;
}

/* Prevent clicks on any hidden dropdown */
[aria-expanded="false"] + .dropdown-menu,
[aria-expanded="false"] ~ .dropdown-menu,
.dropdown-toggle[aria-expanded="false"] + .dropdown-menu {
    pointer-events: none !important;
}

[aria-expanded="true"] + .dropdown-menu,
[aria-expanded="true"] ~ .dropdown-menu,
.dropdown-toggle[aria-expanded="true"] + .dropdown-menu {
    pointer-events: auto !important;
}

/* Fix for Bootstrap dropdown system */
.dropdown-menu:not(.show) {
    pointer-events: none !important;
    display: block !important; /* Keep display but disable interaction */
    opacity: 0 !important;
    visibility: hidden !important;
}

.dropdown-menu.show {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
}


/* Search Form */
.search-form {
  position: relative;
  margin: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  max-width: 300px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.search-input {
  border-radius: 50px 0 0 50px;
  border: none;
  padding: 0.75rem 1.5rem;
  width: 100%;
  background: var(--ofwhite-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--border-color2);
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
  width: 100%;
  box-shadow: 0 0 0 0.3rem rgba(44, 62, 80, 0.25);
  outline: none;
  border-color: var(--primary-color);
  background: var(--white-color);
}

.search-btn {
  border-radius: 0 50px 50px 0;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  padding: 0.75rem 1.5rem;
  color: var(--white-color);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.search-btn:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color2),
    var(--primary-color)
  );
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.4);
}

/* Dropdown Styles - FIXED */
.dropdown-menu {
    border: none;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
    border-radius: 15px;
    padding: 0.75rem 0;
    background: var(--white-color);
    border: 1px solid var(--border-color2);
    margin-top: 0;  /* REMOVE the 0.75rem margin */
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: block !important;
    position: absolute;  /* ADD THIS - position absolutely */
    top: 100%;  /* ADD THIS - position below parent */
    left: 0;  /* ADD THIS */
    right: 0;  /* ADD THIS */
    z-index: 1050;  /* ADD THIS - ensure it's above navbar */
}

.dropdown-menu.show {
    transform: translateY(0);
    opacity: 1;
}

/* Mobile fixes */
@media (max-width: 991.98px) {
    .dropdown-menu {
        position: fixed !important;  /* CHANGE from static to fixed */
        width: 90%;  /* CHANGE from 100% to 90% */
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        margin-top: 0;  /* Keep this */
        left: 5% !important;  /* ADD THIS - center it */
        right: 5% !important;  /* ADD THIS - center it */
        top: auto !important;  /* ADD THIS - auto position */
        border-radius: 10px;  /* Reduce radius for mobile */
        max-height: calc(100vh - 200px);  /* ADD THIS - prevent overflow */
        overflow-y: auto;  /* ADD THIS - allow scroll if needed */
        z-index: 1050;  /* Ensure above navbar */
    }
}

@media (max-width: 576px) {
    .dropdown-menu {
        width: 95%;  /* CHANGE from 90% to 95% */
        left: 2.5% !important;  /* Center on small screens */
        right: 2.5% !important;
    }
}

/* ===== FIX FOR MOBILE NAVIGATION CLICK ISSUE ===== */
@media (max-width: 991.98px) {
    /* Ensure navbar links are clickable */
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
    }
    
    .navbar-nav {
        pointer-events: auto !important;
    }
    
    .nav-item {
        pointer-events: auto !important;
    }
}

@media (max-width: 767.98px) {
    /* Mobile navbar link fix */
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
        display: block;
        padding: 12px 15px !important;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
        overflow-y: visible !important;
    }
    
    .navbar-nav {
        width: 100%;
        pointer-events: auto !important;
    }
    
    .nav-item {
        width: 100%;
        pointer-events: auto !important;
    }
    
    .nav-link:hover {
        pointer-events: auto !important;
    }
    
    /* Ensure dropdown items are clickable */
    .dropdown-menu {
        pointer-events: auto !important;
        z-index: 1050 !important;
    }
    
    .dropdown-item {
        pointer-events: auto !important;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
        display: block;
        padding: 10px 12px !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
    }
    
    .navbar-nav {
        pointer-events: auto !important;
    }
    
    .nav-item {
        pointer-events: auto !important;
    }
}

/* ===== FIX FOR MOBILE PRODUCT CARD BUTTON CLICK ISSUE ===== */
@media (max-width: 767.98px) {
    .product-card {
        pointer-events: none;
    }
    
    .product-card a,
    .product-card button,
    .product-card .btn,
    .product-card .quick-view,
    .product-card .quick-view .btn,
    .product-card input,
    .product-card select,
    .product-card .wishlist-btn,
    .product-card .position-relative {
        pointer-events: auto !important;
    }
}

/* ===== FIX FOR MOBILE NAVIGATION CLICK ISSUE ===== */
@media (max-width: 991.98px) {
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
    }
    
    .navbar-nav {
        pointer-events: auto !important;
    }
    
    .nav-item {
        pointer-events: auto !important;
    }
}

@media (max-width: 767.98px) {
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
        display: block;
        padding: 12px 15px !important;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
        overflow-y: visible !important;
    }
    
    .navbar-nav {
        width: 100%;
        pointer-events: auto !important;
    }
    
    .nav-item {
        width: 100%;
        pointer-events: auto !important;
    }
    
    .dropdown-menu {
        pointer-events: auto !important;
        z-index: 1050 !important;
    }
    
    .dropdown-item {
        pointer-events: auto !important;
    }
}

@media (max-width: 576px) {
    .navbar-nav .nav-link {
        pointer-events: auto !important;
        z-index: 1031 !important;
        position: relative;
        display: block;
        padding: 10px 12px !important;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .navbar-collapse {
        z-index: 1020 !important;
        pointer-events: auto !important;
    }
    
    .navbar-nav {
        pointer-events: auto !important;
    }
    
    .nav-item {
        pointer-events: auto !important;
    }
}

/* ===== FIX FOR MOBILE DROPDOWN MENU COVERING NAV LINKS ===== */
@media (max-width: 991.98px) {
  /* Collapse Products dropdown by default on mobile */
  .navbar-nav .dropdown-menu {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color2) !important;
    display: none !important; /* Hide by default */
  }
  
  .navbar-nav .dropdown-menu.show {
    display: block !important; /* Show when clicked */
  }
  
  /* Ensure nav items don't overlap */
  .navbar-nav .nav-item {
    position: relative;
    z-index: auto;
  }
  
  /* Ensure dropdown button doesn't cause overlap */
  .navbar-nav .dropdown {
    position: relative;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav .dropdown-menu {
    position: static !important;
    width: 100% !important;
    margin: 8px 0 !important;
    padding: 8px !important;
  }
}

/* ===== FIX FOR MOBILE PRODUCT CARD BUTTON CLICK ISSUE ===== */
@media (max-width: 767.98px) {
    .product-card {
        pointer-events: none;
    }
    
    .product-card a,
    .product-card button,
    .product-card .btn,
    .product-card .quick-view,
    .product-card .quick-view .btn,
    .product-card input,
    .product-card select,
    .product-card .wishlist-btn,
    .product-card .position-relative {
        pointer-events: auto !important;
    }
}

@media (max-width: 576px) {
    .product-card {
        pointer-events: none;
    }
    
    .product-card a,
    .product-card button,
    .product-card .btn,
    .product-card .quick-view,
    .product-card .quick-view .btn,
    .product-card input,
    .product-card select,
    .product-card .wishlist-btn,
    .product-card .position-relative {
        pointer-events: auto !important;
    }
}

.wishlist-btn {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 50%;
}

.wishlist-btn:hover {
    background: rgba(255, 255, 255, 1) !important;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .product-card {
        pointer-events: none;
    }
    
    .product-card a,
    .product-card button,
    .product-card .btn,
    .product-card .quick-view,
    .product-card .quick-view .btn,
    .product-card input,
    .product-card select,
    .product-card .wishlist-btn,
    .product-card .position-relative {
        pointer-events: auto !important;
    }
}


.dropdown-item {
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-weight: 500;
  color: var(--text-gray-color);
  position: relative;
  margin: 0 0.5rem;
  border-radius: 8px;
}

.dropdown-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: all 0.3s ease;
  transform: translateY(-50%);
}

.dropdown-item:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover::before {
  width: 20px;
}

.dropdown-divider {
  margin: 0.75rem 0;
  border-top: 1px solid var(--border-color3);
}

/* Typography */
body {
  font-family: var(--josefin-sans);
  font-size: var(--body-font-size);
  font-weight: var(--body-font-weight);
  line-height: var(--body-line-height);
  color: var(--text-gray-color);
  background-color: var(--white-color);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 120px; /* Account for fixed navbar height */
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4 {
  font-family: var(--josefin-sans);
  font-weight: var(--headings-weight);
  color: var(--dark-color);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* Star Rating Styles */
.rating-stars {
  display: flex;
  gap: 5px;
  align-items: center;
}

.star-icon {
  cursor: pointer;
  transition: all 0.2s ease;
  width: 24px;
  height: 24px;
}

.star-icon.filled,
.star-icon.text-warning {
  color: var(--black-color);
  fill: var(--yellow-color);
}

.star-icon.text-muted {
  color: var(--light-color);
  fill: var(--light-color);
}

.testimonial-stars .filled {
  color: var(--yellow-color);
  fill: var(--yellow-color);
}

.testimonial-stars .star-icon {
  width: 16px;
  height: 16px;
}

/* Wishlist Button */
.wishlist-btn .heart-icon.filled {
  color: var(--danger-color);
}

/* Buttons */
.btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: var(--light-shadow);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--medium-shadow);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white-color);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color2) 0%,
    var(--primary-color) 100%
  );
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.1);
}

.btn-outline-primary:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  border-color: transparent;
}

.btn-outline-light {
  border: 2px solid rgba(24, 240, 4, 0.7);
  color: var(--success-color);
  background: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline-light:hover {
  background: var(--white-color);
  color: var(--primary-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: var(--white-color);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  border: none;
  color: white;
  box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
  background: linear-gradient(135deg, #c0392b, var(--danger-color));
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #219653 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.btn-success:hover {
  background: linear-gradient(135deg, #219653, var(--success-color) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-warning {
  background: linear-gradient(135deg, var(--yellow-color) 0%, #f1c40f 100%);
  color: var(--black-color);
  border: none;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-warning:hover {
  background: linear-gradient(135deg, #f1c40f, var(--yellow-color) 100%);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white-color);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 0 0 40px 40px;
  box-shadow: var(--deep-shadow);
  z-index: 1;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFFFFF" fill-opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  color: var(--white-color);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.03em;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--white-color);
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image {
  border: 5px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.5s ease;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image:hover {
  transform: scale(1.03);
}

/* Product Cards */
/* .product-card {
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  height: 100%;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
} */

/* .product-card:hover {
  transform: translateY(-15px) scale(1.02);
} */

/* Carousel */
.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-item {
  min-width: 100%;
  flex-shrink: 0;
}

/* Remove custom carousel controls that conflict with Bootstrap */

.carousel-indicators {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.carousel-indicators li {
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-indicators .active {
  background-color: var(--yellow-color);
}

/* Generated Carousel Images */
.generated-carousel-image {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.generated-image-1 {
  background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

.generated-image-2 {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
}

.generated-image-3 {
  background: linear-gradient(135deg, #f39c12 0%, #f1c40f 100%);
}

.generated-carousel-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23FFFFFF" fill-opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.15;
}

.generated-carousel-image h3 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 2;
  text-align: center;
  padding: 20px;
}

/* Critical fix: Ensure image container doesn't clip absolutely positioned children */
/* .product-card .position-relative {
  overflow: visible !important;
  position: relative;
  z-index: auto;
} */

.product-card img {
  z-index: 2;
}

.product-card img {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 20px 20px 0 0;
  position: relative;
  z-index: 1;
}

.product-card:hover img {
  transform: scale(1.1);
}

/* Fix for product image containers */
.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Allow height to adjust based on background image */
    min-height: 220px; /* Minimum height to ensure visibility */
    overflow: visible !important; /* Prevent cropping */
    background-image: url("../product_background.png");
    background-size: contain; /* Change from cover to contain */
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px; /* Add padding to prevent cropping */
    aspect-ratio: 1/1; /* Maintain square aspect ratio based on background */
}

.product-foreground-image {
  position: relative;
  width: 207px !important; /* Smaller, more proportional size */
  height: 207px !important; /* Maintain aspect ratio */
  border-radius: 50% !important;
  object-fit: contain !important; /* Change from cover to contain */
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--white-color);
  overflow: hidden;
  margin: 10px auto; /* Center the image */
}

.product-foreground-image.main-product-image {
  width: 300px !important; /* Reduced from 350px */
  height: 300px !important; /* Reduced from 350px */
  max-width: 100%; /* Ensure responsiveness */
}

.product-circular-image {
  width: 140px !important; /* Reduced from 160px */
  height: 140px !important; /* Reduced from 160px */
  border-radius: 50%;
  object-fit: contain !important; /* Change from cover to contain */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--white-color);
  margin: 20px auto;
}

.product-circular-image.main-product-image {
  width: 300px !important; /* Reduced from 350px */
  height: 300px !important; /* Reduced from 350px */
  margin: 20px auto;
  max-width: 100%;
}

.product-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: visible !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    position: relative;
     /* Ensure no high z-index */
    display: flex;
    flex-direction: column;
}


/* .product-card .position-relative {
  overflow: visible !important;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
} */

.product-card:hover .product-foreground-image {
  transform: scale(1.05); /* Reduced from 1.1 for better balance */
}

.product-card:hover .product-circular-image {
  transform: scale(1.05); /* Reduced from 1.1 for better balance */
}

.thumbnail-image-custom {
  width: 80px !important; /* Reduced from 90px */
  height: 80px !important; /* Reduced from 90px */
  object-fit: contain !important; /* Change from cover to contain */
  border: 2px solid transparent;
  margin: 0;
}

.star-icon-medium {
  width: 22px;
  height: 22px;
}

.input-group-max-width {
  max-width: 180px;
}

.icon-large {
  width: 32px;
  height: 32px;
}

.star-icon-small {
  width: 18px;
  height: 18px;
}

.star-icon-large {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.position-relative-visible {
  overflow: visible !important;
}

/* .wishlist-btn-transform {
  transform: translateX(-100%);
} */

.input-group-max-width-small {
  max-width: 120px;
}

.star-icon-xsmall {
  width: 16px;
  height: 16px;
}

.search-icon-large {
  width: 48px;
  height: 48px;
}

.product-image-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 220px;
  overflow: hidden;
  background-image: url("../product_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-image-container.main-product-container {
  height: 500px;
  background-image: url("../product_background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.product-background-circle {
  display: none;
}

/* .product-foreground-image {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50% !important;
  object-fit: cover;
  z-index: 2;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 3px solid var(--white-color);
  overflow: hidden;
} */

.product-foreground-image.main-product-image {
  width: 350px;
  height: 350px;
}



/* .product-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
} */

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.product-card:hover {
    transform: translateY(-10px);
    /* Removed scale(1.02) to eliminate blinking */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    /* Removed z-index: 1000 to prevent navbar coverage */
}

.discount-badge {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.featured-badge {
  background: linear-gradient(135deg, var(--warning-color), #f39c12);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

/* Fix for product image containers */
.product-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto; /* Allow height to adjust based on background image */
    min-height: 220px; /* Minimum height to ensure visibility */
    overflow: visible !important; /* Prevent cropping */
    background-image: url("../product_background.png");
    background-size: contain; /* Change from cover to contain */
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px; /* Add padding to prevent cropping */
    aspect-ratio: 1/1; /* Maintain square aspect ratio based on background */
}

/* Ensure product foreground images are properly sized */


/* Fix for main product images in detail pages */
.product-foreground-image.main-product-image {
    width: 300px !important; /* Reduced from 350px */
    height: 300px !important; /* Reduced from 350px */
    max-width: 100%; /* Ensure responsiveness */
}

/* Fix for circular product images */
.product-circular-image {
    width: 140px !important; /* Reduced from 160px */
    height: 140px !important; /* Reduced from 160px */
    border-radius: 50%;
    object-fit: contain !important; /* Change from cover to contain */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--white-color);
    margin: 20px auto;
}

.product-circular-image.main-product-image {
    width: 300px !important; /* Reduced from 350px */
    height: 300px !important; /* Reduced from 350px */
    margin: 20px auto;
    max-width: 100%;
}

/* Ensure product cards maintain proper proportions */
/* .product-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: visible !important; 
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
} */

/* Fix for position relative containers */
/* .product-card .position-relative {
    overflow: visible !important;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
} */

/* Ensure proper image scaling on hover */
.product-card:hover .product-foreground-image {
    transform: scale(1.05); /* Reduced from 1.1 for better balance */
}

.product-card:hover .product-circular-image {
    transform: scale(1.05); /* Reduced from 1.1 for better balance */
}

/* Fix for thumbnail images */
.thumbnail-image-custom {
    width: 80px !important; /* Reduced from 90px */
    height: 80px !important; /* Reduced from 90px */
    object-fit: contain !important; /* Change from cover to contain */
    border: 2px solid transparent;
    margin: 0;
}

/* Quick view button positioning fix */

/* Ensure grid layout doesn't crop anything */
.row.g-4 {
    overflow: visible !important;
}

.product-item {
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.col-lg-3.col-md-4.col-sm-6.col-12.product-item {
    overflow: visible !important;
    z-index: auto;
}

/* Fix for modal images */
.modal-body img.card-img-top {
    height: 200px;
    object-fit: contain !important; /* Change from cover to contain */
    width: 100%;
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .product-foreground-image {
        width: 120px !important;
        height: 120px !important;
    }
    .product-image-container.main-product-container {
    height: auto;
    background-image: url("../product_background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    }
    .product-circular-image {
        width: 120px !important;
        height: 120px !important;
    }
    
    .product-foreground-image.main-product-image,
    .product-circular-image.main-product-image {
        width: 250px !important;
        height: 250px !important;
    }
}


/* ===== FIX FOR MOBILE DROPDOWN MENU COVERING NAV LINKS ===== */
/* Changed from 991.98px to 1199.98px for wider compatibility */
@media (max-width: 1199.98px) {
  .navbar-nav .dropdown-menu {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    box-shadow: none !important;
    border: 1px solid var(--border-color2) !important;
    display: none !important;
  }
  
  .navbar-nav .dropdown-menu.show {
    display: block !important;
  }
  
  .navbar-nav .nav-item {
    position: relative;
    z-index: auto;
  }
  
  .navbar-nav .dropdown {
    position: relative;
  }
}

/* Extra refinement for very small screens */
@media (max-width: 575.98px) {
  .navbar-nav .dropdown-menu {
    padding: 8px !important;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
    .product-foreground-image {
        width: 250px !important;
        height: 250px !important;
    }
    
    .product-circular-image {
        width: 320px !important;
        height: 320px !important;
    }
    
    .product-foreground-image.main-product-image,
    .product-circular-image.main-product-image {
        width: 200px !important;
        height: 200px !important;
    }
    
    .thumbnail-image-custom {
        width: 60px !important;
        height: 60px !important;
    }
}

  .product-card .quick-view .btn {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  z-index: 10001;
  letter-spacing: 0.5px;
}

.product-card .quick-view .btn:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Quick view button responsive adjustments */
@media (max-width: 767.98px) {
  .product-card .quick-view .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .product-card .quick-view .btn {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Ensure proper grid layout for product cards */
.product-item {
  display: flex;
  flex-direction: column;
}

.col-lg-3.col-md-6.col-sm-6.product-item {
  overflow: visible;
  z-index: auto;
}

/* Ensure parent containers don't clip the quick view button */
.row.g-4 {
  overflow: visible;
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Product card flexbox improvements for consistent height */
/* .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
} */

.product-card .position-relative {
  flex-grow: 0;
  display: flex;
  flex-direction: column;
}

.product-card .position-relative .product-image-container {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .position-relative .product-image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Responsive adjustments for product card flexbox */
@media (max-width: 767.98px) {
  .product-card {
    min-height: 400px;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    min-height: 350px;
  }
}

.product-price {
  color: var(--secondary-color);
  font-size: 1.75rem;
  font-weight: 700;
  font-family: var(--josefin-sans);
  margin: 0.5rem 0;
}

.product-title {
  color: var(--dark-color);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-description {
  color: var(--text-gray-color);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 1rem;
}

/* Login and Register Pages */
.login-section,
.register-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(192, 57, 43, 0.03) 100%
  );
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.login-card,
.register-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.login-card::before,
.register-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.login-card:hover,
.register-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-icon,
.register-icon {
  width: 70px;
  height: 70px;
  color: var(--primary-color);
  stroke-width: 1.5;
}

.login-input-group,
.register-input-group {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.login-input-group:focus-within,
.register-input-group:focus-within {
  box-shadow: 0 0 0 0.3rem rgba(44, 62, 80, 0.25);
  transform: translateY(-2px);
}

.login-input-icon,
.register-input-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
  color: var(--white-color);
  border-radius: 12px 0 0 12px;
}

.login-input,
.register-input {
  border-radius: 0 12px 12px 0;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.login-input:focus,
.register-input:focus {
  border-color: var(--primary-color);
  box-shadow: none;
}

.login-btn,
.register-btn {
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.login-btn:hover,
.register-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(44, 62, 80, 0.4);
}

.google-login-btn {
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 12px;
}

.google-login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.forgot-password-link,
.register-link,
.login-link,
.back-to-login-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.forgot-password-link:hover,
.register-link:hover,
.login-link:hover,
.back-to-login-link:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.login-toggle-btn {
  border-radius: 0 12px 12px 0;
}

/* Password Reset Pages */
.password-reset-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
}

.password-reset-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.password-reset-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.password-reset-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.password-reset-icon {
  width: 70px;
  height: 70px;
  color: var(--accent-color);
  stroke-width: 1.5;
}

.password-reset-input-group {
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.password-reset-input-group:focus-within {
  box-shadow: 0 0 0 0.3rem rgba(52, 152, 219, 0.25);
  transform: translateY(-2px);
}

.password-reset-input-icon {
  background: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
  border: none;
  color: var(--white-color);
  border-radius: 12px 0 0 12px;
}

.password-reset-input {
  border-radius: 0 12px 12px 0;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.password-reset-input:focus {
  border-color: var(--accent-color);
  box-shadow: none;
}

.password-reset-btn,
.back-to-login-btn,
.login-btn,
.request-reset-btn {
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.password-reset-btn:hover,
.back-to-login-btn:hover,
.login-btn:hover,
.request-reset-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.password-reset-alert {
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Category Page */
.filter-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.filter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.filter-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-radius: 20px 20px 0 0 !important;
  border: none;
  padding: 1.25rem 1.5rem;
}

.filter-toggle-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white-color);
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.category-info-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-info-header {
  background: linear-gradient(135deg, var(--success-color), #219653);
  color: var(--white-color);
  border-radius: 20px 20px 0 0 !important;
  border: none;
  padding: 1.25rem 1.5rem;
}

.offer-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(135deg, var(--yellow-color), #f1c40f);
  color: var(--black-color);
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.offer-card .card-title {
  color: var(--black-color);
  font-weight: 800;
}

.offer-card .card-text {
  color: var(--black-color);
  opacity: 0.9;
}

.offer-btn {
  background: var(--black-color);
  color: var(--white-color);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.offer-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Shop Page */
.category-selector-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-selector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-btn {
  border-radius: 50px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--border-color2);
  background: var(--white-color);
  color: var(--dark-color);
}

.category-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.category-btn.active {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

/* Product Detail Page */
.product-review-card {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
  overflow: hidden;
}

.product-review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.product-review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.product-review-form-card {
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-review-form-card .card-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 20px 20px 0 0 !important;
  border: none;
}

.product-review-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.related-products-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
  padding: 2.5rem;
  border-radius: 20px;
  margin-top: 2rem;
}

.related-products-section h3 {
  position: relative;
  padding-bottom: 1rem;
}

.related-products-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

/* Wishlist Page */
.wishlist-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(231, 76, 60, 0.03) 100%
  );
}

.wishlist-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.wishlist-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.wishlist-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.continue-shopping-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

.continue-shopping-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.4);
}

.wishlist-summary-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.wishlist-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.wishlist-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.wishlist-icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(243, 156, 18, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-icon-container {
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.1),
    rgba(46, 204, 113, 0.1)
  );
}

.wishlist-icon {
  width: 35px;
  height: 35px;
  color: var(--accent-color);
  stroke-width: 1.5;
}

.value-icon {
  color: var(--success-color);
}

.wishlist-actions-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.wishlist-actions-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.wishlist-actions-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.wishlist-action-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wishlist-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.move-all-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-color: transparent;
}

.clear-btn:hover {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  color: var(--white-color);
  border-color: transparent;
}

.wishlist-product-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.wishlist-product-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.wishlist-product-image {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 20px 20px 0 0;
}

.wishlist-product-card:hover .wishlist-product-image {
  transform: scale(1.05);
}

.wishlist-discount-badge {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
}

.wishlist-product-title a {
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.wishlist-product-title a:hover {
  color: var(--secondary-color);
}

.wishlist-price {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.wishlist-original-price {
  font-size: 1rem;
}

.wishlist-cart-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 10px rgba(44, 62, 80, 0.2);
}

.wishlist-cart-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

.wishlist-remove-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wishlist-remove-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.wishlist-footer-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.wishlist-footer-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.wishlist-footer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.move-all-footer-btn:hover {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-color: transparent;
}

.clear-footer-btn:hover {
  background: linear-gradient(135deg, var(--danger-color), #c0392b);
  color: var(--white-color);
  border-color: transparent;
}

/* Cart Page */
.cart-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
}

.cart-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.cart-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.cart-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.cart-summary-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.cart-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.cart-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.cart-icon-container {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(243, 156, 18, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.subtotal-icon-container {
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.1),
    rgba(46, 204, 113, 0.1)
  );
}

.savings-icon-container {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(155, 89, 182, 0.1)
  );
}

.total-icon-container {
  background: linear-gradient(
    135deg,
    rgba(243, 156, 18, 0.1),
    rgba(241, 196, 15, 0.1)
  );
}

.cart-icon {
  width: 35px;
  height: 35px;
  color: var(--accent-color);
  stroke-width: 1.5;
}

.subtotal-icon {
  color: var(--success-color);
}

.savings-icon {
  color: var(--info-color);
}

.total-icon {
  color: var(--warning-color);
}

/* Checkout Page */
.checkout-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(46, 204, 113, 0.03) 100%
  );
  flex: 1 0 auto;
  padding-bottom: 2rem !important;
  padding-top: 2rem !important;
}

.checkout-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.checkout-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.checkout-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
  margin-bottom: 2rem;
  height: auto !important;  /* ← ADD THIS LINE */
}

.checkout-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.checkout-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.checkout-address-header,
.checkout-payment-header,
.checkout-summary-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.checkout-summary-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: sticky;  /* ← CHANGE FROM 'relative' TO 'sticky' */
  top: 20px;  /* ← ADD THIS LINE */
  height: auto !important;  /* ← ADD THIS LINE */
}


.checkout-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--success-color), #219653);
}

.checkout-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* ← ADD THESE NEW LINES BELOW */
.checkout-section .row {
  align-items: flex-start !important;
}

.checkout-card,
.checkout-summary-card {
  height: auto !important;
  min-height: unset !important;
}


/* Checkout Progress */
.checkout-progress {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.progress-step .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-color2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--white-color);
  transition: all 0.3s ease;
}

.progress-step.active .step-icon {
  background: var(--primary-color);
}

.progress-step span {
  font-size: 0.8rem;
  color: var(--text-gray-color);
}

.progress-step.active span {
  color: var(--primary-color);
  font-weight: 600;
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--light-color2);
  margin: 0 10px;
}

.progress-line.active {
  background: var(--primary-color);
}

/* Payment Options */
.payment-option {
  transition: all 0.3s ease;
  cursor: pointer;
}

.payment-option:hover {
  background-color: rgba(52, 152, 219, 0.05);
  border-color: var(--primary-color) !important;
}

.payment-option input:checked + label {
  background-color: rgba(52, 152, 219, 0.1);
  border-color: var(--primary-color) !important;
}

.payment-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-icons i {
  width: 24px;
  height: 24px;
}

/* Order Items */
.order-item {
  transition: all 0.3s ease;
}

.order-item:hover {
  background-color: rgba(44, 62, 80, 0.02);
  border-radius: 10px;
}

/* Secure Checkout Badge */
.secure-checkout {
  border-left: 3px solid var(--success-color);
}

/* We Accept Card */
.we-accept-card {
  margin-bottom: 2rem;
}

/* Dashboard Page */
.dashboard-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
}

.dashboard-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.dashboard-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.dashboard-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.dashboard-summary-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.dashboard-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.dashboard-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.dashboard-icon-container {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(243, 156, 18, 0.1)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.order-icon-container {
  background: linear-gradient(
    135deg,
    rgba(39, 174, 96, 0.1),
    rgba(46, 204, 113, 0.1)
  );
}

.wishlist-icon-container {
  background: linear-gradient(
    135deg,
    rgba(231, 76, 60, 0.1),
    rgba(192, 57, 43, 0.1)
  );
}

.viewed-icon-container {
  background: linear-gradient(
    135deg,
    rgba(155, 89, 182, 0.1),
    rgba(142, 68, 173, 0.1)
  );
}

.dashboard-icon {
  width: 40px;
  height: 40px;
  color: var(--accent-color);
  stroke-width: 1.5;
}

.order-icon {
  color: var(--success-color);
}

.wishlist-icon {
  color: var(--danger-color);
}

.viewed-icon {
  color: var(--info-color);
}

.dashboard-action-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dashboard-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Admin Panel */
.admin-dashboard-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.05) 0%,
    rgba(52, 152, 219, 0.05) 100%
  );
}

.admin-dashboard-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.admin-dashboard-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.admin-dashboard-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.admin-dashboard-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.admin-dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.admin-dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.admin-stat-icon {
  transition: all 0.3s ease;
}

.admin-dashboard-card:hover .admin-stat-icon {
  transform: scale(1.1);
}

/* Blog Page */
.blog-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(243, 156, 18, 0.03) 100%
  );
}

.blog-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.blog-featured-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-featured-image {
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-featured-card:hover .blog-featured-image {
  transform: scale(1.05);
}

.blog-featured-body {
  padding: 1.5rem;
}

.blog-category-badge {
  background: linear-gradient(135deg, var(--yellow-color), #f1c40f);
  color: var(--black-color);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-category-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-post-image {
  object-fit: cover;
  height: 100%;
}

.blog-post-body {
  padding: 1.5rem;
}

.blog-widget-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-widget-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-widget-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

/* Blog Post Detail Page */
.blog-detail-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
}

.blog-detail-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-detail-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.blog-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px !important;
}

.blog-detail-content {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-detail-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-related-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-related-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.blog-related-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.blog-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-related-image {
  height: 150px;
  object-fit: cover;
}

.blog-related-placeholder {
  height: 150px;
}

.blog-related-body {
  padding: 1.25rem;
}

.blog-related-title-link {
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.blog-related-title-link:hover {
  color: var(--secondary-color);
}

.blog-related-excerpt {
  font-size: 0.9rem;
}

.blog-comments-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-comments-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.blog-comment-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-comment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-comment-author {
  color: var(--dark-color);
}

.blog-comment-date {
  font-size: 0.85rem;
}

.blog-comment-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-comment-form-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-comment-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-comment-form-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

/* Blog Post Detail Page */
.blog-detail-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
}

.blog-detail-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-detail-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.blog-detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px !important;
}

.blog-detail-content {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blog-detail-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-related-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-related-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.blog-related-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.blog-related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-related-image {
  height: 150px;
  object-fit: cover;
}

.blog-related-placeholder {
  height: 150px;
}

.blog-related-body {
  padding: 1.25rem;
}

.blog-related-title-link {
  color: var(--dark-color);
  transition: all 0.3s ease;
}

.blog-related-title-link:hover {
  color: var(--secondary-color);
}

.blog-related-excerpt {
  font-size: 0.9rem;
}

.blog-comments-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.blog-comments-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.blog-comment-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-comment-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-comment-author {
  color: var(--dark-color);
}

.blog-comment-date {
  font-size: 0.85rem;
}

.blog-comment-content {
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-comment-form-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.blog-comment-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.blog-comment-form-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

/* Home Page - Featured Categories */
.featured-categories-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(231, 76, 60, 0.03) 100%
  );
}

.featured-categories-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.featured-categories-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.featured-category-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: block;
  height: 220px;
  position: relative;
  transform: perspective(1000px) rotateY(0deg);
}

.featured-category-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.featured-category-image {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.featured-category-card:hover .featured-category-image {
  transform: scale(1.05);
}

.featured-category-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
  color: var(--white-color);
  padding: 2.5rem 2rem 2rem;
  backdrop-filter: blur(5px);
}

.featured-category-title {
  color: var(--white-color);
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Careers Page */
.careers-hero-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.9) 0%,
    rgba(192, 57, 43, 0.9) 100%
  );
  color: var(--white-color);
  border-radius: 0 0 40px 40px;
  box-shadow: var(--deep-shadow);
}

.careers-hero-title {
  font-family: var(--playfair-display);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.careers-hero-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.careers-cta-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.careers-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.careers-main-section {
  background: linear-gradient(
    135deg,
    rgba(248, 249, 250, 0.7) 0%,
    rgba(233, 236, 239, 0.7) 100%
  );
}

.careers-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.careers-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.careers-section-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.careers-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.careers-culture-item {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 15px;
}

.careers-culture-item:hover {
  background: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

.careers-culture-icon {
  transition: all 0.3s ease;
}

.careers-culture-item:hover .careers-culture-icon {
  transform: scale(1.1);
}

.careers-testimonial-card {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.careers-testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.careers-testimonial-avatar {
  transition: all 0.3s ease;
}

.careers-testimonial-card:hover .careers-testimonial-avatar {
  transform: scale(1.1);
}

.careers-benefit-item {
  transition: all 0.3s ease;
}

.careers-benefit-item:hover {
  transform: translateY(-10px);
}

.careers-benefit-icon {
  transition: all 0.3s ease;
}

.careers-benefit-item:hover .careers-benefit-icon {
  transform: scale(1.1);
  background: rgba(52, 152, 219, 0.2) !important;
}

.careers-opening-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  border: none;
}

.careers-opening-item .accordion-button {
  font-weight: 600;
  background: var(--white-color);
  border-radius: 15px !important;
  transition: all 0.3s ease;
}

.careers-opening-item .accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-radius: 15px 15px 0 0 !important;
}

.careers-opening-item .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.careers-opening-body {
  background: var(--ofwhite-color);
  border-radius: 0 0 15px 15px !important;
}

.careers-cta-section {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.careers-cta-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.careers-apply-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
}

.careers-apply-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.careers-contact-info p {
  font-weight: 600;
  transition: all 0.3s ease;
}

.careers-contact-info p:hover {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .careers-hero-title {
    font-size: 2.5rem;
  }

  .careers-hero-subtitle {
    font-size: 1rem;
  }

  .careers-cta-btn {
    margin: 0.5rem;
  }

  .careers-section-title::after {
    width: 60px;
  }
}

/* Product Detail Page */
.main-product-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.thumbnail-images {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  overflow-x: auto;
  padding: 5px;
}

.thumbnail-item {
  flex: 0 0 auto;
}

.thumbnail-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.thumbnail-image:hover,
.thumbnail-image.active {
  border-color: var(--secondary-color);
  transform: scale(1.05);
}

.breadcrumb {
  background-color: transparent;
  padding: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-gray-color);
}

/* Category Cards */
.category-card {
  background: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  display: block;
  height: 220px;
  position: relative;
  transform: perspective(1000px) rotateY(0deg);
}

.category-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.category-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(44, 62, 80, 0.9));
  color: var(--white-color);
  padding: 2.5rem 2rem 2rem;
  backdrop-filter: blur(5px);
}

.category-card h5 {
  color: var(--white-color);
  margin-bottom: 0;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Testimonial Cards */
.testimonial-card {
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  height: 100%;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.testimonial-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--secondary-color);
  background-color: var(--gray-color2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-author-info {
  flex: 1;
  padding-left: 1rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.testimonial-stars {
  color: var(--yellow-color);
  font-size: 1rem;
}

.testimonial-stars i {
  width: 20px;
  height: 20px;
  margin-right: 3px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-gray-color);
  line-height: 1.7;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  font-size: 1.05rem;
}

.testimonial-quote-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  opacity: 0.1;
}

.testimonial-quote-icon i {
  width: 50px;
  height: 50px;
}

/* Dashboard Cards */
.dashboard-card {
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.dashboard-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.dashboard-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-card .card-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 1.75rem;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Admin Panel */
.admin-panel {
  background: var(--white-color);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.admin-panel h2 {
  color: var(--dark-color);
  font-family: var(--josefin-sans);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid var(--border-color2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  background-color: var(--white-color);
  color: var(--text-gray-color);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(18, 26, 37, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

/* Table Styles */
.table {
  background: var(--white-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.table th {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: 600;
  border: none;
}

.table-hover tbody tr:hover {
  background-color: rgba(18, 26, 37, 0.05);
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  border: none;
  padding: 1rem 1.25rem;
}

.alert-primary {
  background-color: rgba(18, 26, 37, 0.1);
  color: var(--primary-color);
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success-color);
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: var(--warning-color);
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.1);
  color: var(--info-color);
}

/* Full-width Alert Container */
#alert-container {
  width: 100%;
  position: relative;
  z-index: 1040;
}

#alert-container .alert {
  border-radius: 0;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#alert-container .container {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Notification Popup Container */
#notification-popup-container {
  z-index: 1050;
  position: fixed;
  bottom: 0;
  right: 0;
  padding: 1rem;
  pointer-events: none;
}

#notification-popup-container > * {
  pointer-events: auto;
}

/* Badge Styles */
.badge {
  font-weight: 600;
  padding: 0.5em 0.75em;
  border-radius: 50px;
}

/* Ensure main content has proper spacing */
main#main-content {
  min-height: calc(100vh - 300px); /* Adjust based on navbar and footer height */
  padding-bottom: 2rem; /* Add space before footer */
}

.main-content {
  flex: 1 0 auto;
  margin-bottom: 2rem;
}

/* Ensure body is a flex container to push footer to bottom */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Dashboard specific fixes */
.dashboard-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
  padding-bottom: 3rem; /* Add extra space at bottom of dashboard */
}

/* Ensure dashboard cards have proper spacing */
.dashboard-card {
  background: var(--white-color);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  height: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.5rem; /* Add space between cards */
}

.footer {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color2) 100%
  );
  color: var(--white-color);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.footer h5 {
  color: var(--yellow-color);
  font-family: var(--josefin-sans);
  margin-bottom: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: auto;
  height: 3px;
  background: var(--white-color);
  border-radius: 2px;
}

.footer a {
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 15px;
}

.footer a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: var(--yellow-color);
  transform: translateX(10px);
}

.footer a:hover::before {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

/* Privacy Page */
.privacy-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
}

.privacy-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.privacy-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.privacy-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.privacy-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.privacy-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid !important;
}

.privacy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.privacy-card-title {
  font-weight: 700;
}

.data-protection-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.data-protection-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.data-protection-item {
  transition: all 0.3s ease;
  padding: 1rem;
  border-radius: 15px;
}

.data-protection-item:hover {
  background: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

.data-protection-icon {
  transition: all 0.3s ease;
}

.data-protection-item:hover .data-protection-icon {
  transform: scale(1.2);
}

.privacy-contact-section {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.privacy-contact-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.privacy-contact-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.privacy-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .privacy-title::after {
    width: 80px;
  }

  .data-protection-title::after {
    width: 60px;
  }

  .privacy-contact-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  body {
    padding-top: 3px; /* Adjust for taller navbar on mobile */
  }

  .top-navbar-row {
        flex-direction: row;  /* CHANGE: Keep horizontal */
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 8px 10px !important;
        flex-wrap: wrap;
  }

  .contact-info {
        font-size: 11px;
        gap: 8px;
        order: 3;  /* Push to next line if needed */
        width: 100%;
  }

  .navbar-brand {
    font-size: 1rem;
  }

  .social-icons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
  }

  /* .bottom-navbar-row {
    padding: 1rem 1rem !important;
    flex-direction: column;
  } */

  .brand-section {
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    flex: 1;
  }

  .navigation-section {
    width: 100%;
  }

  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
  }

  .search-form {
    margin: 1.5rem auto;
    max-width: 90%;
  }

  .search-input {
    width: 100%;
    padding: 1rem 1.5rem;
  }

  .search-input:focus {
    width: 100%;
  }

  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    margin-top: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color2);
  }

  .navbar-nav {
    flex-direction: column;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .search-form {
    margin-left: 0;
  }

  .hero-section h1 {
    font-size: 2.75rem;
  }

  .hero-section p {
    font-size: 1.1rem;
  }

  /* .product-card {
    margin-bottom: 2rem;
  } */

  .testimonial-card {
    margin-bottom: 2rem;
  }

  .category-card {
    height: 180px;
    margin-bottom: 1.5rem;
  }

  /* Fix product grid layout on mobile */
  .col-lg-3.col-md-6.col-sm-6.product-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* Ensure hamburger menu is visible on mobile */
@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block !important;
        border: none;
        padding: 5px 10px;
        background: transparent !important;
    }
    
    .navbar-collapse {
        display: none;  /* Hidden by default */
    }
    
    .navbar-collapse.show {
        display: block;  /* Shown when toggled */
        position: fixed;
        left: 0;
        right: 0;
        top: 160px;  /* Below navbar */
        background: rgb(106, 101, 101);
        z-index: 1020;  /* Below navbar z-index: 1030 */
        max-height: calc(100vh - 160px);
        overflow-y: auto;
    }
}


@media (max-width: 767.98px) {
  body {
    padding-top: 160px; /* Adjust for even taller navbar on small mobile */
  }

  .navbar-brand {
    font-size: 1.75rem;
  }

  .brand-text {
    font-size: 1.4rem;
  }

  .search-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
  }

  .contact-info {
    font-size: 0.9rem;
  }

  .header-actions .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }

  .hero-section h1 {
    font-size: 2.25rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .product-card img {
    height: 180px;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }

  .footer h5 {
    font-size: 1.25rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .category-card {
    height: 150px;
  }

  .category-card h5 {
    font-size: 1.2rem;
  }

  /* Fix product grid layout on small mobile */
  .col-lg-3.col-md-6.col-sm-6.product-item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .search-form {
    display: none !important;
  }

  .contact-info {
    display: none;
  }

  .testimonial-card {
    padding: 1.75rem;
    margin: 0.75rem 0;
  }

  .testimonial-card::before {
    height: 4px;
  }

  .testimonial-avatar {
    width: 55px;
    height: 55px;
  }

  .testimonial-author {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-quote-icon {
    bottom: 1rem;
    right: 1rem;
  }

  .testimonial-quote-icon i {
    width: 35px;
    height: 35px;
  }

  .main-product-image {
    height: 220px;
  }

  .thumbnail-images {
    gap: 7px;
  }

  .thumbnail-image {
    width: 60px;
    height: 60px;
  }

  .hero-carousel-image {
    height: 100px;
    width: 100px;
  }

  .hero-section {
    padding: 5rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }

  .product-card img {
    height: 160px;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.5rem;
  }

  .category-card {
    height: 150px;
  }

  .category-card h5 {
    font-size: 1.2rem;
  }

  .footer {
    padding: 3rem 0 1.5rem;
  }

  .footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  /* .bottom-navbar-row {
    padding: 0.75rem 0.5rem !important;
  } */

  .navbar-nav .nav-link {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Navigation section */
.navigation-section {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-toggler {
  border: none;
  padding: 5px 10px;
  background: transparent !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280,0,0,.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

.navbar-nav {
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-item {
  margin: 0;
}

.nav-link {
  padding: 8px 12px !important;
  color: #2C3E50 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: #8B4545 !important;
}

/* .dropdown-menu {
  background: white;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 180px;
} */

.dropdown-item {
  color: #2C3E50;
  padding: 10px 15px;
  font-size: 14px;
}

.dropdown-item:hover {
  background: rgba(139, 69, 69, 0.1);
  color: #8B4545;
}

/* ===== MOBILE RESPONSIVE (max-width: 992px) ===== */
/* @media (max-width: 991px) {
  body {
    padding-top: 160px !important;
  }

  .top-navbar-row {
    padding: 8px 10px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-info {
    width: 100%;
    gap: 10px;
    font-size: 11px;
  }

  .contact-info span {
    font-size: 11px;
  }

  .social-icons {
    width: 100%;
    justify-content: flex-end;
    gap: 8px;
  }

  .social-icons a {
    width: 20px;
    height: 20px;
  }

  .social-icons i {
    width: 14px;
    height: 14px;
  }

  .bottom-navbar-row {
    padding: 8px 10px !important;
  }

  .brand-section {
    flex: 0 1 auto;
    order: 1;
  }

  .navbar-brand {
    font-size: 16px;
  }

  .navbar-brand img {
    height: 35px;
  }

  .navigation-section {
    flex: 1;
    order: 2;
    justify-content: flex-end;
  }

  .navbar-collapse {
    background: white;
    padding: 15px 10px;
    border-top: 1px solid #ddd;
    margin-top: 10px;
    width: 100%;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 5px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 10px 12px !important;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 8px;
    box-shadow: none;
  }
} */

/* ===== MOBILE RESPONSIVE (max-width: 576px) ===== */
@media (max-width: 576px) {
  body {
    padding-top: 180px !important;
  }

  .modern-header {
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  }

  .top-navbar-row {
    padding: 6px 8px !important;
    gap: 6px;
  }

  .contact-info {
    gap: 8px;
    font-size: 10px;
  }

  .contact-info span {
    font-size: 10px;
  }

  .contact-info i {
    width: 14px;
    height: 14px;
  }

  .social-icons {
    gap: 6px;
  }

  .social-icons a {
    width: 18px;
    height: 18px;
  }

  .social-icons i {
    width: 12px;
    height: 12px;
  }

  .bottom-navbar-row {
    padding: 6px 8px !important;
  }

  .navbar-brand {
    font-size: 14px;
    gap: 5px;
  }

  .navbar-brand img {
    height: 35px;
  }

  .brand-text {
    font-size: 13px;
    display: none;  /* Hide text, keep logo only */
  }

  .navbar-toggler {
    padding: 3px 6px;
  }

  .navbar-toggler-icon {
    width: 20px;
    height: 20px;
  }

  .navbar-collapse {
    padding: 12px 8px;
    margin-top: 6px;
  }

  .navbar-nav {
    gap: 3px;
  }

  .nav-link {
    padding: 8px 10px !important;
    font-size: 12px;
  }

  .dropdown-menu {
    margin-top: auto;
  }

  .dropdown-item {
    padding: 8px 10px;
    font-size: 12px;
  }

  .cart-count,
  .notification-count {
    font-size: 9px;
    padding: 1px 3px;
  }
}


/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.slide-up {
  animation: slideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* Staggered Animations */
.staggered-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.staggered-animation.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Scale In Animation */
.scale-in {
  animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulse Animation */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Bounce Animation */
.bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Rotate Animation */
.rotate {
  animation: rotate 4s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Animate.css classes */
.animate__animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.animate__fadeIn {
  animation-name: fadeIn;
}

.animate__fadeInDown {
  animation-name: fadeInDown;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.animate__fadeIn {
  animation-name: fadeIn;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-color2);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 5px;
  border: 2px solid var(--gray-color2);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Image loading improvements */
img {
  transition: opacity 0.3s ease;
}

img[data-src] {
  opacity: 0;
}

img.loaded {
  opacity: 1;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(44, 62, 80, 0.2);
}

/* Smooth Transitions for All Interactive Elements */
* {
  transition: background-color 0.3s ease, color 0.3s ease,
    border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Utility Classes */
.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.text-success {
  color: var(--success-color) !important;
}

.text-warning {
  color: var(--black-color) !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

.text-info {
  color: var(--black-color) !important;
}

.bg-primary {
  background-color: var(--border-color3) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.bg-success {
  background-color: var(--info-color) !important;
}

.bg-warning {
  background-color: var(--warning-color) !important;
}

.bg-danger {
  background-color: var(--danger-color) !important;
}

.bg-info {
  background-color: var(--info-color) !important;
}

.shadow-light {
  box-shadow: var(--light-shadow) !important;
}

.shadow-medium {
  box-shadow: var(--medium-shadow) !important;
}

.shadow-deep {
  box-shadow: var(--deep-shadow) !important;
}



/* Terms Page */
.terms-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(231, 76, 60, 0.03) 100%
  );
}

.terms-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.terms-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.terms-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.terms-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.terms-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid !important;
}

.terms-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.terms-card-title {
  font-weight: 700;
}

.terms-highlights-title,
.terms-categories-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.terms-highlights-title::after,
.terms-categories-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.terms-category-item {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.terms-category-item:hover {
  background: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

.terms-category-icon {
  transition: all 0.3s ease;
}

.terms-category-item:hover .terms-category-icon {
  transform: scale(1.2);
}

.terms-contact-section {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.terms-contact-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.terms-contact-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.terms-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .terms-title::after {
    width: 80px;
  }

  .terms-highlights-title::after,
  .terms-categories-title::after {
    width: 60px;
  }

  .terms-contact-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Returns Page */
.returns-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(46, 204, 113, 0.03) 100%
  );
}

.returns-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.returns-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.returns-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.returns-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.returns-step-icon {
  transition: all 0.3s ease;
}

.returns-step-icon:hover {
  transform: scale(1.1);
}

.returns-process-title,
.returns-form-title,
.returns-shipping-title,
.returns-faq-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.returns-process-title::after,
.returns-form-title::after,
.returns-shipping-title::after,
.returns-faq-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.returns-form-input,
.returns-form-select,
.returns-form-textarea {
  border-radius: 12px;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.returns-form-input:focus,
.returns-form-select:focus,
.returns-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.returns-form-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
}

.returns-form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.returns-shipping-guidelines li {
  margin-bottom: 0.5rem;
}

.returns-faq-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  border: none;
}

.returns-faq-item .accordion-button {
  font-weight: 600;
  background: var(--white-color);
  border-radius: 15px !important;
  transition: all 0.3s ease;
}

.returns-faq-item .accordion-button:not(.collapsed) {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white-color);
  border-radius: 15px 15px 0 0 !important;
}

.returns-faq-item .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.returns-faq-body {
  background: var(--ofwhite-color);
  border-radius: 0 0 15px 15px !important;
}

.returns-contact-section {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.returns-contact-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.returns-contact-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.returns-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .returns-title::after {
    width: 80px;
  }

  .returns-process-title::after,
  .returns-form-title::after,
  .returns-shipping-title::after,
  .returns-faq-title::after {
    width: 60px;
  }

  .returns-contact-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Shipping Page */
.shipping-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
}

.shipping-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.shipping-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.shipping-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shipping-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.shipping-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid !important;
}

.shipping-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.shipping-card-title {
  font-weight: 700;
}

.shipping-methods-title,
.delivery-timeline-title,
.packaging-info-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.shipping-methods-title::after,
.delivery-timeline-title::after,
.packaging-info-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
  border-radius: 2px;
}

.delivery-step {
  transition: all 0.3s ease;
  border-radius: 15px;
}

.delivery-step:hover {
  background: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

.delivery-step-icon {
  transition: all 0.3s ease;
}

.delivery-step:hover .delivery-step-icon {
  transform: scale(1.1);
}

.packaging-feature {
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 10px;
}

.packaging-feature:hover {
  background: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

.packaging-icon {
  transition: all 0.3s ease;
}

.packaging-feature:hover .packaging-icon {
  transform: scale(1.2);
}

.shipping-tracking-section,
.shipping-contact-section {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.shipping-tracking-section:hover,
.shipping-contact-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.shipping-tracking-btn,
.shipping-contact-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.shipping-tracking-btn:hover,
.shipping-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Contact Page Enhancements */
.contact-card {
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  position: relative;
  background: linear-gradient(
    to bottom right,
    var(--white-color),
    var(--ofwhite-color)
  );
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* .feature-icon {
  width: 80px;
  height: 80px;
  font-size: 2rem;
  transition: all 0.3s ease;
} */

/* Why Choose Section - Feature Cards */
.feature-card {
  transition: all 0.3s ease;
  background: var(--white-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

/* Feature Icon Styling */
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background-color: rgba(52, 152, 219, 0.1);
}

.feature-icon i {
  color: var(--primary-color);
  font-size: 40px !important;
  display: inline-block !important;
  line-height: 1 !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* Color variants for different feature cards */
.feature-icon-success {
  background-color: rgba(40, 167, 69, 0.1);
}

.feature-icon-success i {
  color: #28a745;
}

.feature-icon-warning {
  background-color: rgba(255, 193, 7, 0.1);
}

.feature-icon-warning i {
  color: #ffc107;
}

.feature-icon-info {
  background-color: rgba(23, 162, 184, 0.1);
}

.feature-icon-info i {
  color: #17a2b8;
}

.feature-icon-primary {
  background-color: rgba(52, 152, 219, 0.1);
}

.feature-icon-primary i {
  color: #3498db;
}

.feature-icon-danger {
  background-color: rgba(220, 53, 69, 0.1);
}

.feature-icon-danger i {
  color: #dc3545;
}

.feature-icon-secondary {
  background-color: rgba(108, 117, 125, 0.1);
}

.feature-icon-secondary i {
  color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .feature-icon {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon i {
    font-size: 32px !important;
  }
}

.contact-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.contact-icon {
  width: 40px;
  height: 40px;
}

.contact-link {
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: var(--primary-color) !important;
  transform: translateX(3px);
}

.underline-animation {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
  transition: width 0.5s ease;
}

.contact-title:hover .underline-animation {
  width: 100px;
}

.hover-lift {
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Contact Form Enhancements */
.contact-form-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: linear-gradient(
    to bottom right,
    var(--white-color),
    var(--ofwhite-color)
  );
}

.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.contact-form-input,
.contact-form-select,
.contact-form-textarea {
  border-radius: 12px;
  border: 2px solid var(--border-color2);
  transition: all 0.3s ease;
  padding: 0.85rem 1.25rem;
}

.contact-form-input:focus,
.contact-form-select:focus,
.contact-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.contact-form-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Map Section Enhancements */
.map-card {
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.social-btn {
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-input {
  border-radius: 12px 0 0 12px;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.newsletter-btn {
  border-radius: 0 12px 12px 0;
  font-weight: 600;
  padding: 0.85rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.newsletter-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .shipping-title::after {
    width: 80px;
  }

  .shipping-methods-title::after,
  .delivery-timeline-title::after,
  .packaging-info-title::after {
    width: 60px;
  }

  .shipping-tracking-btn,
  .shipping-contact-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Role Management Page */
.role-management-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
}

.role-management-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.role-management-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.role-management-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.role-management-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.role-management-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.role-management-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.role-management-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.role-management-table {
  border-radius: 15px;
  overflow: hidden;
}

.role-management-row:hover {
  background-color: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.role-edit-btn,
.role-permissions-btn {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.role-edit-btn:hover,
.role-permissions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.role-form-label {
  color: var(--dark-color);
  font-weight: 600;
}

.role-form-select,
.role-form-textarea {
  border-radius: 12px;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.role-form-select:focus,
.role-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.role-form-submit-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
}

.role-form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.role-management-icon {
  width: 48px;
  height: 48px;
}

.role-management-empty-title {
  color: var(--dark-color);
  font-weight: 600;
}

.role-management-empty-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .role-management-title::after {
    width: 80px;
  }

  .role-management-card-header {
    padding: 1rem;
  }

  .role-form-submit-btn {
    padding: 0.75rem 1.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Employee List Page */
.employee-list-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(46, 204, 113, 0.03) 100%
  );
}

.employee-list-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.employee-list-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.employee-list-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.employee-list-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.employee-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.employee-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.employee-list-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.employee-list-add-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.employee-list-add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.employee-list-table {
  border-radius: 15px;
  overflow: hidden;
}

.employee-list-row:hover {
  background-color: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.employee-view-btn,
.employee-edit-btn {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.employee-view-btn:hover,
.employee-edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.employee-list-icon {
  width: 48px;
  height: 48px;
}

.employee-list-empty-title {
  color: var(--dark-color);
  font-weight: 600;
}

.employee-list-empty-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .employee-list-title::after {
    width: 80px;
  }

  .employee-list-card-header {
    padding: 1rem;
  }

  .employee-list-add-btn {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Customer List Page */
.customer-list-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(231, 76, 60, 0.03) 100%
  );
}

.customer-list-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.customer-list-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.customer-list-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.customer-list-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.customer-list-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.customer-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.customer-list-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.customer-list-search {
  border-radius: 8px;
  border: 1px solid var(--border-color2);
  max-width: 200px;
}

.customer-list-filter-btn {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.customer-list-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-list-table {
  border-radius: 15px;
  overflow: hidden;
}

.customer-list-row:hover {
  background-color: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.customer-view-btn,
.customer-edit-btn {
  border-radius: 6px;
  transition: all 0.3s ease;
}

.customer-view-btn:hover,
.customer-edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.customer-list-icon {
  width: 48px;
  height: 48px;
}

.customer-list-empty-title {
  color: var(--dark-color);
  font-weight: 600;
}

.customer-list-empty-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .customer-list-title::after {
    width: 80px;
  }

  .customer-list-card-header {
    padding: 1rem;
  }

  .customer-list-search {
    max-width: 150px;
    margin: 0.25rem 0;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Activity Log Page */
.activity-log-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
}

.activity-log-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.activity-log-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.activity-log-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.activity-log-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.activity-log-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.activity-log-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.activity-log-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.activity-log-filter {
  border-radius: 8px;
  border: 1px solid var(--border-color2);
}

.activity-log-refresh-btn {
  border-radius: 8px;
  transition: all 0.3s ease;
}

.activity-log-refresh-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.activity-log-table {
  border-radius: 15px;
  overflow: hidden;
}

.activity-log-row:hover {
  background-color: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
  transition: all 0.3s ease;
}

.activity-log-icon {
  width: 48px;
  height: 48px;
}

.activity-log-empty-title {
  color: var(--dark-color);
  font-weight: 600;
}

.activity-log-empty-text {
  font-size: 1rem;
}

@media (max-width: 768px) {
  .activity-log-title::after {
    width: 80px;
  }

  .activity-log-card-header {
    padding: 1rem;
  }

  .activity-log-filter {
    margin: 0.25rem 0;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Order History Page */
.order-history-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(46, 204, 113, 0.03) 100%
  );
}

/* Order Detail Page Responsive Improvements */
.order-detail-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
  padding: 1rem !important;
}

.order-detail-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color2);
}

.order-detail-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
  font-size: 1.75rem;
}

.order-detail-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.order-detail-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
  margin-bottom: 1.5rem;
}

.order-detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.order-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.order-detail-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.order-detail-badge {
  font-weight: 600;
  padding: 0.5em 1em;
  border-radius: 20px;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 100px;
}

.order-detail-table-responsive {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.order-detail-product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.order-detail-product-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ofwhite-color);
  border: 1px solid var(--border-color2);
}

.order-detail-product-placeholder i {
  width: 24px;
  height: 24px;
}

.order-detail-summary-item {
  transition: all 0.3s ease;
}

.order-detail-summary-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-detail-form-control,
.order-detail-form-select {
  border-radius: 12px;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
  width: 100%;
}

.order-detail-form-control:focus,
.order-detail-form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.order-detail-form-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
  width: 100%;
  margin-bottom: 0.5rem;
}

.order-detail-form-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.order-detail-status-history-item {
  transition: all 0.3s ease;
  border-radius: 10px;
  padding: 0.75rem;
}

.order-detail-status-history-item:hover {
  background-color: rgba(44, 62, 80, 0.05);
  transform: translateX(5px);
}

/* Flexbox improvements for better card layouts */
.order-detail-flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.order-detail-flex-item {
  flex: 1;
  min-width: 250px;
}

.order-detail-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.order-detail-button-group .btn {
  flex: 1;
  min-width: 120px;
  margin-bottom: 0.5rem;
}

/* Additional responsive utility classes */
.order-detail-hidden-mobile {
  display: block;
}

.order-detail-visible-mobile {
  display: none;
}

.order-detail-text-center-mobile {
  text-align: left;
}

.order-detail-mt-mobile {
  margin-top: 0;
}

/* Enhanced mobile responsiveness */
@media (max-width: 992px) {
  .order-detail-flex-item {
    min-width: 100%;
  }
  
  .order-detail-button-group {
    justify-content: center;
  }
  
  .order-detail-container {
    padding: 0.75rem !important;
  }
}

@media (max-width: 768px) {
  .order-detail-title::after {
    width: 80px;
  }
  
  .order-detail-card-header {
    padding: 1rem;
  }
  
  .order-detail-product-image,
  .order-detail-product-placeholder {
    width: 50px;
    height: 50px;
  }
  
  .order-detail-form-btn {
    padding: 0.75rem 1.25rem;
  }
  
  .order-detail-badge {
    font-size: 0.75rem;
    padding: 0.4em 0.8em;
    min-width: 80px;
  }
  
  .order-detail-card {
    margin-bottom: 1rem;
  }
  
  .order-detail-button-group .btn {
    min-width: 100px;
  }
  
  .order-detail-title {
    font-size: 1.5rem;
  }
  
  /* Improved spacing for mobile */
  .gap-3 {
    gap: 1rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .order-detail-title::after {
    width: 60px;
  }
  
  .order-detail-container {
    padding: 0.5rem !important;
  }
  
  .order-detail-card-header {
    padding: 0.75rem;
  }
  
  .order-detail-product-image,
  .order-detail-product-placeholder {
    width: 40px;
    height: 40px;
  }
  
  .order-detail-form-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }
  
  .order-detail-badge {
    font-size: 0.7rem;
    padding: 0.3em 0.6em;
    min-width: 70px;
  }
  
  .order-detail-button-group {
    flex-direction: column;
  }
  
  .order-detail-button-group .btn {
    width: 100%;
    min-width: auto;
  }
  
  .order-detail-hidden-mobile {
    display: none;
  }
  
  .order-detail-visible-mobile {
    display: block;
  }
  
  .order-detail-text-center-mobile {
    text-align: center;
  }
  
  .order-detail-mt-mobile {
    margin-top: 1rem;
  }
  
  .order-detail-title {
    font-size: 1.3rem;
  }
  
  .order-detail-card-header h5 {
    font-size: 1.1rem;
  }
  
  /* Additional mobile improvements */
  .d-flex.flex-column.flex-md-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .gap-3 {
    gap: 0.75rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1rem !important;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .table td {
    padding: 0.5rem 0.25rem;
  }
  
  .display-5 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .p-3 {
    padding: 0.75rem !important;
  }
  
  .rounded {
    border-radius: 10px !important;
  }
}

.order-history-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.order-history-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.order-history-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.order-history-summary-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.order-history-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.order-history-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.order-history-icon-container {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
}

.order-history-summary-card:hover .order-history-icon-container {
  transform: scale(1.1);
}

.order-history-icon {
  width: 30px;
  height: 30px;
}

.order-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.order-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.order-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.5rem;
}

.order-card-title {
  color: var(--dark-color);
  font-weight: 700;
}

.order-card-date {
  font-size: 0.9rem;
}

.order-product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.order-product-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ofwhite-color);
  border: 1px solid var(--border-color2);
}

.order-product-placeholder i {
  width: 24px;
  height: 24px;
}

.order-total {
  color: var(--dark-color);
  font-weight: 700;
}

.order-history-continue-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
}

.order-history-continue-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .order-history-title::after {
    width: 80px;
  }

  .order-card-header {
    padding: 1rem;
  }

  .order-history-continue-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Profile Page */
.profile-container {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(155, 89, 182, 0.03) 100%
  );
}

.profile-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color2);
}

.profile-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 0.5rem;
}

.profile-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 120px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.profile-card {
  border-radius: 20px;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background: var(--white-color);
  position: relative;
}

.profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), var(--yellow-color));
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.profile-card-header {
  border-radius: 20px 20px 0 0 !important;
  padding: 1.25rem 1.5rem;
}

.profile-form-input,
.profile-form-textarea {
  border-radius: 12px;
  border: 2px solid var(--border-color2);
  padding: 0.85rem 1.25rem;
  transition: all 0.3s ease;
}

.profile-form-input:focus,
.profile-form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(44, 62, 80, 0.25);
}

.profile-save-btn {
  border-radius: 12px;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--light-shadow);
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border: none;
}

.profile-save-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.3);
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--primary-color)
  );
}

.profile-avatar {
  transition: all 0.3s ease;
}

.profile-card:hover .profile-avatar {
  transform: scale(1.05);
}

.profile-summary-item {
  transition: all 0.3s ease;
}

.profile-summary-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-activity-icon {
  transition: all 0.3s ease;
}

.profile-activity-item:hover .profile-activity-icon {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .profile-title::after {
    width: 80px;
  }

  .profile-save-btn {
    margin: 0.5rem;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}

/* Generic CMS Page */
.generic-page-section {
  background: linear-gradient(
    135deg,
    rgba(44, 62, 80, 0.03) 0%,
    rgba(52, 152, 219, 0.03) 100%
  );
}

.generic-page-title {
  color: var(--dark-color);
  position: relative;
  padding-bottom: 1rem;
}

.generic-page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 2px;
}

.generic-page-content-card {
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.generic-page-content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .generic-page-title::after {
    width: 60px;
  }

  .hero-section {
    padding: 4rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 0.95rem;
  }
}


/* Large Desktop (1200px+) - Add max-width for very large screens */
@media (min-width: 1200px) {
    .navbar-nav .nav-link {
        padding: 10px 18px !important;
        margin: 0 6px;
        font-size: 1rem;
    }
}

/* Medium Desktop/Laptop (992px - 1199px) */
@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        padding: 9px 14px !important;
        margin: 0 4px;
        font-size: 0.95rem;
    }
    
    .navbar-brand, .brand-text {
        font-size: 1.4rem !important;
    }
}

/* Tablet Landscape (768px - 991px) */
@media (max-width: 991px) {
    .navbar-nav .nav-link {
        padding: 8px 12px !important;
        margin: 0 3px;
        font-size: 0.9rem;
    }
    
    .navbar-brand, .brand-text {
        font-size: 1.3rem !important;
    }
    
    .navbar-nav .nav-link i {
        width: 16px;
        height: 16px;
        margin-right: 6px;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    .navbar-nav .nav-link {
        padding: 6px 10px !important;
        margin: 0 2px;
        font-size: 0.85rem;
    }
    
    .navbar-brand, .brand-text {
        font-size: 1.2rem !important;
    }
    
    /* Show icons only, hide text labels */
    .navbar-nav .nav-link span {
        display: none;
    }
    
    .navbar-nav .nav-link i {
        margin-right: 0;
        width: 18px;
        height: 18px;
    }
    
    /* Adjust dropdown positioning */
    .dropdown-menu {
        right: 0 !important;
        left: auto !important;
        min-width: 180px;
    }
}

/* Mobile (576px - 767px) */
@media (max-width: 767px) {
    .navbar {
        padding: 0.5rem 1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 5px 8px !important;
        margin: 0 1px;
    }
    
    #notificationBell .badge {
        padding: 3px 5px;
        font-size: 9px;
        top: -3px;
        right: -3px;
    }
}

/* Small Mobile (max 575px) */
@media (max-width: 575px) {
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .brand-text {
        font-size: 1rem !important;
    }
    
    .navbar-nav .nav-link {
        padding: 4px 6px !important;
    }
    
    .navbar-nav .nav-link i {
        width: 16px;
        height: 16px;
    }
}


/* Sticky Navbar with proper z-index */
.navbar.bg-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color2)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease;
}

/* Add shadow on scroll for better visibility */
.navbar.bg-dark.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}


/* Smooth dropdown animation */
.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color2);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 9999 !important;
    margin-top: 8px;
    min-width: 220px;
    
    /* Animation properties */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Dropdown item animations */
.dropdown-item {
    border-radius: 6px;
    margin: 2px 8px;
    padding: 8px 12px;
    transition: all 0.2s ease;
    color: var(--text-gray-color);
    position: relative;
    overflow: hidden;
}

.dropdown-item:hover {
    color: var(--primary-color);
    background-color: transparent;
    transform: none;
    padding-left: 12px;
}
.navbar-nav .nav-link {
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 0 5px;
    border-radius: 8px;
    padding: 10px 15px !important;
    color: var(--black-color) !important;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Add animated underline effect */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--yellow-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-nav .nav-link:hover {
    color: var(--yellow-color) !important;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Icon animation on hover */
.navbar-nav .nav-link i {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-nav .nav-link:hover i {
    transform: scale(1.15) rotate(-5deg);
}


/* Notification Bell Styling */
#notificationBell {
    position: relative;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#notificationBell:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

/* Badge positioning */
#notificationBell .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    padding: 4px 7px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white-color);
    border: 2px solid var(--white-color);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Pulse animation for badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Hamburger menu for mobile */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* ========== PRODUCT REVIEW STAR RATING STYLES ========== */

/* Star Rating Input Container */
.star-rating-input {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.star-rating-input:hover {
    border-color: var(--primary-color);
}

/* Stars Container */
.stars-container {
    gap: 4px;
}

/* Clickable Star Icons */
.clickable-star {
    display: inline-block;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 36px;
    height: 36px;
}

.clickable-star:hover {
    transform: scale(1.2);
}

.clickable-star:active {
    transform: scale(0.95);
}

/* SVG styling (Lucide renders these) */
.clickable-star svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: #cbd5e1;
    stroke-width: 2;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

/* Filled state */
.clickable-star.filled svg {
    fill: #fbbf24 !important;
    stroke: #f59e0b !important;
    color: #fbbf24 !important;
}

/* Hover effect */
.clickable-star:hover svg {
    fill: #fbbf24;
    stroke: #f59e0b;
    color: #fbbf24;
}

/* Rating text */
.rating-text {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6b7280;
    transition: all 0.3s ease;
    margin-left: 12px;
}

/* Display Stars (in reviews) */
.testimonial-stars .star-icon-small {
    width: 16px;
    height: 16px;
    margin-right: 2px;
}

.testimonial-stars .filled {
    color: #fbbf24;
    fill: #fbbf24;
    stroke: #f59e0b;
}

/* Review Card Styling */
.product-review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.product-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Review Form Card */
.product-review-form-card {
    border-radius: 16px;
    overflow: hidden;
}

.product-review-form-card .card-header {
    border-bottom: none;
}

/* Form Elements */
.product-review-form-card .form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.product-review-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(18, 26, 37, 0.1);
}

.product-review-form-card .btn-primary {
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.product-review-form-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 26, 37, 0.3);
}

/* Alert styling */
.review-alert {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .clickable-star,
    .clickable-star svg {
        width: 28px;
        height: 28px;
    }
    
    .stars-container {
        gap: 2px;
    }
    
    .star-rating-input {
        padding: 0.75rem;
    }
    
    .rating-text {
        font-size: 0.9rem;
        margin-left: 8px;
    }
    
    .review-alert {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        min-width: auto !important;
    }
}


/* Define navbar height as CSS variable */
:root {
    --navbar-height: 77px;  /* Desktop navbar height */
}

/* Apply padding to main content */
body {
    padding-top: var(--navbar-height);
}

/* OR target specific containers */
main, .main-content {
    padding-top: var(--navbar-height);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    /* Tablet */
    :root {
        --navbar-height: 100px;
    }
}

@media (max-width: 767px) {
    /* Mobile */
    :root {
        --navbar-height: 80px;
    }
}

@media (max-width: 575px) {
    /* Small mobile */
    :root {
        --navbar-height: 70px;
    }
}
