
/* Base theme */
 :root {
    --primary-color: #2a5298;     
    --accent-color: #e1306c;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
  }
  
  * {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f6f9fc, #e9f0f8), url('https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png');
    background-size: cover;
    padding-bottom: 7px;
    padding-top: 70px;
  
  }
  
  /* Header Styles */
  header {
    background: white;
    color: black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* More pronounced shadow from additional CSS */
    transition: all 0.3s ease;
  }
  
  .scrolled-header {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 5px 0;
  }
  
  header h1, header .profile-name { color: black; }
  
  /* Remove outline on focus for header buttons */
  header .btn:focus {
    outline: none !important;
    box-shadow: none !important;
  }
  /* Button Styles */
  .btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color); 
  }
  .btn-primary:hover {
    background-color: #1a3a6b; /* Darker shade from additional CSS */
    border-color: #1a3a6b;
  }
  
  .btn-secondary {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
  }
  
  .btn-danger { 
    background-color: var(--danger-color); 
    border-color: var(--danger-color); 
  }
  
  .btn-info { 
    background-color: var(--info-color); 
    border-color: var(--info-color); 
  }
  
  .btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--dark-color);
  }
  
  .bg-light { background-color: var(--light-color) !important; }
  
  /* Animation Styles */
  .fade-in { 
    animation: fadeIn 0.5s ease-in-out; 
  }
  
  @keyframes fadeIn { 
    from { opacity: 0; } 
    to { opacity: 1; } 
  }
  
  .slide-up {
    animation: slideUp 0.5s ease-out;
  }
  
  @keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }
  
  /* General Styling */
  .hero { 
    padding: 20px 0; 
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .hero h2 { 
    font-size: 1.75rem; 
    margin-bottom: 0.5rem; 
    color: var(--primary-color);
  }
  
  .product-highlight img, .category-item img { 
    border-radius: 5px; 
    transition: transform 0.3s ease;
  }
  
  .product-highlight img:hover, .category-item img:hover {
    transform: scale(1.02);
  }
  
  header h1 { 
    font-size: 1.125rem; 
    font-weight: 600; 
  }
  
  header .profile-name { 
    font-size: 1rem; 
    margin-left: 10px; 
  }
  
  /* Header Navigation */
  nav a, nav button { 
    font-size: 0.9rem; 
    padding: 5px 1px; 
    color: black; 
    text-decoration: none; 
    background: none; 
    border: none; 
  }
  
  nav a:hover, nav button:hover { 
    color: #333; 
  }
  
  nav .btn i { 
    font-size: 1.75rem; 
    transition: color 0.3s ease; 
  }
  
  nav .btn i:hover { 
    color: var(--secondary-color); 
  }
  
  .header-nav { 
    display: flex; 
    gap: 0.5rem; 
    align-items: center; 
  }
/* Improved Icon Appearance */
button[data-bs-target="#menuCanvas"] i {
font-size: 2rem;
color: var(--primary-color);
}

.btn {
border-width: 1px;
transition: all 0.3s ease;
}

nav .btn i {
font-size: 1.75rem;
color: var(--primary-color);
}

nav .btn i:hover {
color: var(--secondary-color);
}

/* Updated Category Section Styling */
.categories {
padding: 50px 0;
background-color: var(--light-color);
}

.category-item {
position: relative;
cursor: pointer;
overflow: hidden;
border-radius: 10px;
transition: transform 0.3s ease;
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.category-item:hover {
transform: scale(1.02);
}

.category-item img {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 10px;
}

.category-label {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
padding: 0 10px;
color: #ffffff;
font-size: 1rem;
font-weight: 700;
text-align: center;
letter-spacing: 0.16em;
text-transform: uppercase;
}

/* Section Visibility */
.section { 
display: none; 
min-height: calc(100vh - 120px);
background: var(--light-color); /* From additional CSS */
padding: 20px; /* From additional CSS */
border-radius: 10px; /* From additional CSS */
margin-bottom: 20px; /* From additional CSS */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Subtle shadow from additional CSS */
}

.active-section { 
display: block; 
animation: fadeIn 0.5s ease-in-out;
}

/* Offcanvas Menu */
.offcanvas { 
background: var(--light-color); 
border-right: 4px solid var(--primary-color); 
width: 300px !important;
}

.offcanvas-header { 
background: var(--primary-color); 
color: #fff; 
}

.offcanvas-header .btn-close { 
filter: invert(1); 
}

.custom-menu-item { 
padding: 12px 15px; 
font-size: 1rem; 
border-bottom: 1px solid #ddd; 
transition: all 0.3s ease;
display: flex;
align-items: center;
}

.custom-menu-item:hover { 
background: #e9f0fa; 
padding-left: 20px;
}

.custom-menu-item i {
margin-right: 10px;
width: 20px;
text-align: center;
}

#menuAccountDetails { 
padding: 15px; 
background: #fff; 
border-bottom: 2px solid var(--primary-color); 
border-radius: 5px; 
text-align: center; 
margin-bottom: 10px; 
}

/* Popup Modal */
.popup-modal-content { 
border: 3px solid var(--primary-color); 
border-radius: 12px; 
background: linear-gradient(135deg, #fff, #f0f8ff); 
box-shadow: 0 0 15px rgba(0, 0, 0, 0.15); 
}

.popup-modal-header, .popup-modal-footer { 
border: none; 
}

.popup-modal-body { 
text-align: center; 
font-size: 1.3rem; 
font-weight: 600; 
padding: 20px; 
}

/* Toast Container */
#toastContainer { 
position: fixed; 
top: 1rem; 
right: 1rem; 
z-index: 1100; 
}

/* Product Detail Styling */
.product-detail-img { 
  width: 100%;
  max-height: 70vh; 
  object-fit: contain; 
  margin-bottom: 20px; 
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-detail-img:hover {
  transform: scale(1.03);
}
.product-detail-img.zoomed {
  transform: scale(1.3);
  cursor: zoom-out;
}

.product-detail-title {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Updated Footer Styles */
.footer-nav {
background: white; /* From additional CSS */
border-top: 2px solid #e9ecef;
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 1200;
padding: 5px 0;
box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Top shadow from additional CSS */
height: 70px;
}

.footer-nav .nav-list {
display: flex;
justify-content: space-around;
align-items: center;
width: 100%;
margin: 0;
padding: 0;
list-style: none;
height: 100%;
}

.footer-nav .nav-item {
flex: 1;
text-align: center;
position: relative;
transition: transform 0.2s ease;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.footer-nav .nav-link {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-decoration: none;
padding: 5px;
height: 100%;
width: 100%;
transition: all 0.3s ease;
position: relative;
}

.footer-nav .nav-link i {
font-size: 1.8rem;
color: var(--primary-color);
transition: all 0.3s ease;
margin-bottom: 3px;
}

.footer-nav .nav-text {
font-size: 0.75rem;
color: var(--dark-color);
transition: color 0.2s ease;
text-transform: uppercase;
font-weight: 500;
}

.footer-nav .nav-link:hover i,
.footer-nav .nav-link.active i {
color: var(--secondary-color);
transform: scale(1.1);
}

.footer-nav .nav-link:hover .nav-text,
.footer-nav .nav-link.active .nav-text {
color: var(--secondary-color); /* Hover color from additional CSS */
}

.footer-nav .nav-link.active::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 50%;
height: 3px;
background-color: var(--secondary-color);
border-radius: 3px 3px 0 0;
}

.footer-nav .nav-link.active {
color: var(--primary-color); /* Active state from additional CSS */
font-weight: bold; /* From additional CSS */
}

.footer-nav .badge {
position: absolute;
top: 5px;
right: 25%;
background-color: var(--secondary-color);
color: black;
font-size: 0.7rem;
padding: 2px 5px;
border-radius: 50%;
font-weight: bold;
transform: translateX(50%);
}

@media (max-width: 768px) {
.footer-nav {
  height: 65px;
}
.footer-nav .nav-link i {
  font-size: 1.6rem;
}
.footer-nav .nav-text {
  font-size: 0.7rem;
}
.footer-nav .badge {
  top: 3px;
  right: 35%;
  font-size: 0.6rem;
  padding: 1px 4px;
}
.category-item img {
  height: 150px; /* Decreased height for smaller screens */
}
.category-label {
  font-size: 1.2rem;
  padding: 8px 15px;
}
}

/* Enhanced Button Hover Effects */
.btn:hover { 
transform: translateY(-2px) scale(1.05); 
box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Enhanced Cancel Icon in Popup */
.card {
background: rgba(255,255,255,0.8);
backdrop-filter: blur(8px);
border-radius: 15px;
border: none;
transition: all 0.3s ease;
}
.card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Track Bar Styling */
.track-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin: 20px 0;
}

.track-step {
text-align: center;
position: relative;
flex: 1;
}

.track-step:not(:last-child):after {
content: '';
position: absolute;
top: 15px;
left: 50%;
width: 100%;
height: 2px;
background-color: #ccc;
z-index: -1;
}

.track-bar.received .track-step:not(:last-child):after { background-color: var(--success-color); }
.track-bar.cancelled .track-step:not(:last-child):after { background-color: var(--danger-color); }

.track-step span {
display: block;
width: 30px;
height: 30px;
line-height: 30px;
border-radius: 50%;
background-color: #ccc; /* Inactive step color from additional CSS */
color: #fff;
margin: 0 auto 5px;
}

.track-step.active span { 
background-color: var(--success-color); /* Active step color from additional CSS */
}
.track-step.cancelled span { 
background-color: var(--danger-color); 
}

:read-only:focus {
outline: none;
border-color: #ced4da;
}

.color-thumbnail { 
display: inline-block; 
margin: 5px; 
border: 2px solid transparent; 
cursor: pointer; 
border-radius: 50%;
overflow: hidden;
width: 40px;
height: 40px;
transition: all 0.3s ease;
}

.color-thumbnail img {
width: 100%;
height: 100%;
object-fit: cover;
}

.color-thumbnail.selected { 
border-color: #000; 
transform: scale(1.1);
}

/* Product details colors (match screenshot: title + image thumbs) */
.colors-title {
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin: 10px 0 12px;
}

.colors-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.color-thumb {
  border: 2px solid transparent;
  background: transparent;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  width: 76px;
  height: 76px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.10);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.color-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.14);
}

.color-thumb.selected {
  border-color: #000;
  transform: translateY(-2px) scale(1.02);
}

.selected-meta {
  color: rgba(0,0,0,0.65);
  font-size: 0.95rem;
}

@media (max-width: 576px) {
  .color-thumb {
    width: 64px;
    height: 64px;
  }
}

/* Product Images Modal Styling */
#productImagesModal .modal-body { 
overflow: auto; 
max-height: 80vh; 
text-align: center; 
padding: 0;
}

#productCarousel img { 
max-height: 80vh; 
object-fit: contain; 
}

#productCarousel .carousel-item img.zoomed {
transform: scale(1.5);
cursor: zoom-out;
}

.carousel-control-prev, .carousel-control-next {
background-color: rgba(0,0,0,0.2);
width: 40px;
height: 40px;
border-radius: 50%;
top: 50%;
transform: translateY(-50%);
opacity: 0.8;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
background-color: rgba(0,0,0,0.4);
}

.carousel-control-prev {
left: 15px;
}

.carousel-control-next {
right: 15px;
}

/* Product Card Styling - grid like reference */
.product-card {
border: none;
background: transparent;
cursor: pointer;
}

.product-card-media {
position: relative;
overflow: hidden;
background-color: #f7f7f7;
aspect-ratio: 3 / 4;
}

.product-card-media img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s ease;
}

.product-card:hover .product-card-media img {
transform: scale(1.05);
}

.product-card-wishlist {
position: absolute;
top: 10px;
right: 10px;
width: 34px;
height: 34px;
border-radius: 50%;
border: none;
background-color: rgba(255, 255, 255, 0.95);
display: flex;
align-items: center;
justify-content: center;
padding: 0;
cursor: pointer;
}

.product-card-wishlist i {
font-size: 1.1rem;
color: #111;
}

.product-card-badge {
position: absolute;
bottom: 10px;
left: 10px;
font-size: 0.7rem;
border-radius: 0;
padding: 4px 8px;
}

.product-card-badge-right {
left: auto;
right: 10px;
}

.product-card-title {
font-size: 0.9rem;
font-weight: 500;
margin: 0;
}

.product-card-price {
margin-top: 2px;
font-size: 0.9rem;
}

.product-card-price .current-price {
font-weight: 600;
margin-right: 6px;
}

.product-card-price .old-price {
text-decoration: line-through;
color: #999;
font-size: 0.8rem;
}

/* Carousels */
.carousel-item img {
border-radius: 15px;
}
.carousel-caption {
background: rgba(0,0,0,0.6);
border-radius: 12px;
padding: 15px;
}  
/* Recommendations Section */
.recommendations-section {
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid #eee;
}

.recommendations-title {
font-size: 1.5rem;
margin-bottom: 20px;
text-align: center;
color: #2a5298;
}

.recommendation-card {
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 20px;
}

.recommendation-card:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transform: translateY(-5px);
}

.recommendation-media {
position: relative;
overflow: hidden;
aspect-ratio: 3 / 4;
background-color: #f7f7f7;
border-radius: 10px;
}

.recommendation-img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
transition: transform 0.4s ease;
}

.recommendation-card:hover .recommendation-img {
transform: scale(1.05);
}

.recommendation-badge {
position: absolute;
top: 10px;
right: 10px;
background-color: #ffdd57;
color: #000;
padding: 5px 10px;
border-radius: 20px;
font-size: 0.8rem;
}

/* Enhanced Search Section */
.search-container {
position: relative;
max-width: 800px;
margin: 0 auto;
padding: 0;
background: transparent;
border-radius: 0;
box-shadow: none;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

.search-leading-icon {
  font-size: 1.15rem;
  color: rgba(0,0,0,0.55);
}

.search-leading-btn {
  border: none;
  background: transparent;
  padding: 6px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.15s ease;
}

.search-leading-btn:hover {
  background: rgba(0,0,0,0.05);
}

.search-leading-btn:active {
  transform: scale(0.97);
}

.search-input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.search-input::placeholder {
  color: rgba(0,0,0,0.45);
}

.search-voice-btn {
  border-radius: 12px;
}

.search-results-container {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.search-results-container #searchResultsCount {
  margin: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.search-results-container .product-card .card-img-top {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Product cards: keep images screen-fit */
.product-card .card-img-top,
.card.product-card img.card-img-top {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* Footer nav: align MENU button with icons */
.footer-nav .nav-item > button.btn {
  width: 100%;
  height: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0 !important;
}

.footer-nav .nav-item > button.btn span {
  display: block;
  line-height: 1;
}

.search-results-container .product-card .card-title {
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.search-results-container .product-card .card-body {
  padding: 10px 12px;
}

.search-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  overflow: hidden;
}

.search-container input {
border: none;
outline: none;
flex-grow: 1;
padding: 5px;
font-size: 0.9rem;
}

.search-container input:focus {
box-shadow: 0 0 0 2px var(--primary-color); /* Focus ring from additional CSS */
}

/* Voice Search Button Active State */
.search-container .btn-outline-secondary.active {
background-color: var(--danger-color);
color: white;
border-color: var(--danger-color);
}

.search-suggestions {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: white;
border: 1px solid #ddd;
border-top: none;
border-radius: 0 0 15px 15px;
z-index: 1000;
max-height: 300px;
overflow-y: auto;
display: none;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.search-suggestion-item {
padding: 12px 15px;
cursor: pointer;
border-bottom: 1px solid #eee;
transition: background-color 0.2s;
display: flex;
align-items: center;
}

.search-suggestion-item:hover {
background-color: #f8f9fa;
}

.search-suggestion-item img {
width: 40px;
height: 40px;
object-fit: cover;
margin-right: 10px;
border-radius: 5px;
}

.search-history {
margin-top: 15px;
padding: 10px;
}

.search-history-item {
display: inline-block;
margin-right: 8px;
margin-bottom: 8px;
padding: 5px 10px;
background: #f1f1f1;
border-radius: 20px;
cursor: pointer;
font-size: 0.9rem;
transition: all 0.2s;
}

.search-history-item:hover {
background: #e9ecef;
}

/* Draggable Filter Button */
.draggable-filter {
position: fixed;
bottom: 140px;
right: 20px;
width: 50px;
height: 50px;
cursor: move;
z-index: 1001;
background-color: var(--primary-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}

.draggable-filter:hover {
background-color: #1a3a6b;
}

/* Enhanced Orders Section */
.order-card {
transition: all 0.3s ease;
margin-bottom: 20px;
cursor: pointer;
}

.order-card:hover {
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
transform: translateY(-3px);
}

.order-status-badge {
font-size: 0.8rem;
padding: 5px 10px;
border-radius: 20px;
}

.order-status-confirmed {
background-color: var(--info-color); /* From additional CSS */
color: white; /* From additional CSS */
}

.order-status-shipped {
background-color: var(--primary-color); /* From additional CSS */
color: white; /* From additional CSS */
}

.order-status-delivered {
background-color: var(--success-color); /* From additional CSS */
color: white; /* From additional CSS */
}

.order-status-cancelled {
background-color: var(--danger-color); /* From additional CSS */
color: white; /* From additional CSS */
}

.order-actions {
margin-top: 15px;
}

.order-detail-section {
background: #f8f9fa;
padding: 15px;
border-radius: 5px;
margin-bottom: 15px;
}

.order-timeline {
position: relative;
padding-left: 30px;
margin-top: 20px;
}

.order-timeline::before {
content: '';
position: absolute;
left: 10px;
top: 0;
bottom: 0;
width: 2px;
background: #dee2e6;
}

.timeline-item {
position: relative;
padding-bottom: 20px;
}

.timeline-item:last-child {
padding-bottom: 0;
}

.timeline-item::before {
content: '';
position: absolute;
left: -30px;
top: 0;
width: 20px;
height: 20px;
border-radius: 50%;
background: #6c757d;
border: 3px solid #fff;
}

.timeline-item.active::before {
background: var(--success-color);
}

.timeline-date {
font-size: 0.8rem;
color: #6c757d;
}

/* Rating Stars */
.rating-stars {
unicode-bidi: bidi-override;
direction: rtl;
font-size: 1.5rem;
}

.rating-stars > span {
display: inline-block;
position: relative;
width: 1.1em;
cursor: pointer;
transition: all 0.2s;
}

.rating-stars > span:hover:before,
.rating-stars > span:hover ~ span:before {
content: "★";
position: absolute;
color: gold; /* Interactive gold stars from additional CSS */
}

/* Filter Chips */
.filter-chip {
display: inline-block;
padding: 5px 10px; /* From additional CSS */
margin-right: 8px;
margin-bottom: 8px;
background: var(--primary-color); /* Primary color badge from additional CSS */
border-radius: 20px; /* From additional CSS */
font-size: 0.8rem; /* From additional CSS */
color: white; /* From additional CSS */
}

.filter-chip .remove-filter {
margin-left: 5px;
cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
.order-card .card-body > div {
  margin-bottom: 15px;
}
}

.order-card-image {
height: 100px;
width: 100px;
object-fit: cover;
border-radius: 5px;
margin-right: 15px;
}

.delete-order-btn {
position: absolute;
top: 10px;
right: 10px;
color: var(--danger-color);
cursor: pointer;
transition: transform 0.2s;
background: rgba(255,255,255,0.8);
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
}

.delete-order-btn:hover {
transform: scale(1.2);
background: rgba(255,255,255,1);
}

.cancelled-order {
opacity: 0.8;
background-color: #ffe6e6;
border-left: 4px solid var(--danger-color);
}

/* Size Selection Buttons */
.size-btn {
margin: 3px;
min-width: 40px;
transition: all 0.2s;
}

.size-btn.active {
background-color: var(--primary-color);
color: white;
border-color: var(--primary-color);
}

/* Color Selection */
.color-selection {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 10px 0;
}

/* Quantity Selector */
.quantity-selector {
display: flex;
align-items: center;
margin: 15px 0;
}

.quantity-btn {
width: 30px;
height: 30px;
border: 1px solid #ddd;
background: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
user-select: none;
}

.quantity-input {
width: 50px;
text-align: center;
height: 30px;
border: 1px solid #ddd;
border-left: none;
border-right: none;
}

/* Loading Spinner */
.loading-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 3px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top-color: white;
animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
body * {
  visibility: hidden;
}
.print-selected, .print-selected * {
  visibility: visible;
  position: static; /* From additional CSS */
  width: auto; /* From additional CSS */
  height: auto; /* From additional CSS */
  margin: 0; /* From additional CSS */
  box-shadow: none; /* Clean print output from additional CSS */
}
.print-selected {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
}

.print-mode .order-card {
box-shadow: none;
border: none;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
position: fixed;
bottom: 140px;
right: 20px;
width: 50px;
height: 50px;
background-color: var(--dark-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Mobile Menu Toggle Animation */
.navbar-toggler {
transition: all 0.3s ease;
}

.navbar-toggler:focus {
box-shadow: none;
}

.navbar-toggler.collapsed .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, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Product Badges */
.product-badge {
position: absolute;
top: 10px;
left: 10px;
padding: 5px 10px;
border-radius: 3px;
font-size: 0.8rem;
font-weight: bold;
color: white;
}

.badge-new {
background-color: var(--success-color);
}

.badge-sale {
background-color: var(--danger-color);
}

.badge-featured {
background-color: var(--accent-color);
}

/* Mobile Optimization */
@media (max-width: 768px) {
body {
  padding-bottom: 60px;
}
.hero h2 {
  font-size: 1.5rem;
}
header h1 {
  font-size: 1rem;
  max-width: 120px;
}
}

/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
}

::-webkit-scrollbar-track {
background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
background: var(--primary-color);
border-radius: 3px;
}

/* Enhanced Toast Styling */
#toastContainer {
position: fixed;
top: 1rem;
right: 1rem;
z-index: 1100;
min-width: 300px;
max-width: 400px;
}

.toast {
margin-bottom: 0.5rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
opacity: 0;
transform: translateY(-20px);
transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
opacity: 1;
transform: translateY(0);
}

.toast-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem 1rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.toast-header .toast-title {
margin: 0;
font-size: 1rem;
font-weight: 600;
}

.toast-body {
padding: 1rem;
font-size: 0.95rem;
}

.toast .notification-icon {
margin-right: 0.5rem;
font-size: 1.2rem;
}

/* Type-specific colors */
.bg-success { background-color: var(--success-color) !important; }
.bg-danger { background-color: var(--danger-color) !important; }
.bg-warning { background-color: var(--warning-color) !important; }
.bg-info { background-color: var(--info-color) !important; }

/* Custom styles for Shop Now button in carousel */
.carousel-caption {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 20px;
background: rgba(0, 0, 0, 0.5);
color: white;
text-align: center;
}

.carousel-caption .btn {
position: absolute;
bottom: 10px;
left: 50%;
transform: translateX(-50%);
width: 150px;
}

/* Enhanced Search Bar Styling for Shop Section */
.search-bar {
position: relative;
}
.search-bar input {
padding-left: 50px;
border-radius: 50px;
border: 1px solid #ccc;
background-color: #f8f9fa;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.search-bar .search-icon {
position: absolute;
left: 15px;
top: 50%;
transform: translateY(-50%);
color: #666;
font-size: 1.2rem;
}
.search-bar input:focus {
border-color: var(--primary-color);
box-shadow: 0 0 0 0.2rem rgba(42, 82, 152, 0.25);
}

/* Website Branding in Order Cards */
.website-branding {
display: flex;
align-items: center;
}

.website-branding img {
width: 30px;
height: 30px;
margin-right: 10px;
}

.website-branding span {
font-weight: bold;
font-size: 1.2rem;
color: var(--primary-color);
}

/* Make carousel items clickable */
.carousel-item {
cursor: pointer;
}

/* Full-screen carousel styles */
.full-screen-wrapper {
  position: relative;
  /* Account for fixed header + bottom nav so hero fits screen */
  height: calc(100vh - 140px);
  width: 100%;
}

.full-screen-carousel {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.full-screen-carousel .carousel-inner,
.full-screen-carousel .carousel-item {
height: 100%;
}

.full-screen-carousel .carousel-item img {
width: 100%;
height: 100%;
object-fit: cover;
}

/* Home highlight nav buttons (scoped) */
.full-screen-carousel .carousel-control-prev,
.full-screen-carousel .carousel-control-next {
  width: 10px;
  height: 12px;
  border-radius: 999px;
  background-color: rgba(0,0,0,0.28);
  opacity: 0.9;
  top: 30%;
  transform: translateY(-50%);
  z-index: 3;
}

.full-screen-carousel .carousel-control-prev {
  left: 14px;
}

.full-screen-carousel .carousel-control-next {
  right: 14px;
}

/* Product details carousel nav buttons (scoped, correct placement) */
#productDetailSection #productCarousel {
  position: relative;
}

#productDetailSection #productCarousel .carousel-control-prev,
#productDetailSection #productCarousel .carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: rgba(0,0,0,0.22);
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
  pointer-events: auto;
}

#productDetailSection #productCarousel .carousel-control-prev-icon,
#productDetailSection #productCarousel .carousel-control-next-icon {
  filter: invert(1);
}

/* Keep the zoomed image behind the prev/next controls */
#productDetailSection #productCarousel .carousel-item img {
  position: relative;
  z-index: 1;
}

#productDetailSection #productCarousel .carousel-control-prev {
  left: 6px;
}

#productDetailSection #productCarousel .carousel-control-next {
  right: 6px;
}

/* Ensure carousel controls stay clickable above zoomed images */
#productDetailSection #productCarousel .carousel-control-prev,
#productDetailSection #productCarousel .carousel-control-next {
  position: absolute;
}

/* Home hero overlay navigation (logo + menu) */
.home-hero-nav {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: 1100px;
padding: 0 24px;
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
z-index: 2;
color: #000;
}

.home-hero-logo img {
height: 100px;
width: auto;
display: block;
}

.home-hero-menu {
display: flex;
gap: 24px;
justify-content: center;
font-size: 0.85rem;
letter-spacing: 0.25em;
text-transform: uppercase;
}

.hero-menu-link {
background: transparent;
border: none;
padding: 4px 0;
color: #000;
font-weight: 500;
cursor: pointer;
transition: color 0.2s ease, border-color 0.2s ease;
border-bottom: 2px solid transparent;
}

.hero-menu-link:hover,
.hero-menu-link:focus {
color: var(--primary-color);
border-bottom-color: var(--primary-color);
outline: none;
}

@media (max-width: 768px) {
  .home-hero-nav {
    top: 16px;
    padding: 0 12px;
  }

  .home-hero-logo img {
    height: 92px;
  }

  .home-hero-menu {
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }
}

.footer-main {
background-color: #f8f9fa;
padding: 30px 0 0;
border-top: 1px solid #e9ecef;
}

/* Fix the main footer only when home section is active */
/* 🔻 Footer */
.footer-main {
background: var(--gradient-main);
color: rgb(0, 0, 0);
padding-top: 40px;
}
.footer-links a { color: #ddd; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom {
background: #0f1f3d;
color: #ccc;
padding: 10px;
}

/* Footer Nav */
.footer-nav {
background: #fff;
border-top: 3px solid var(--secondary-color);
}
.footer-nav .nav-link i {
color: var(--primary-color);
}
.footer-nav .nav-link.active i,
.footer-nav .nav-link:hover i {
color: var(--secondary-color);
}

.social-icons {
margin-top: 1rem;
}

.social-icons a {
display: inline-block;
width: 36px;
height: 36px;
line-height: 36px;
text-align: center;
background-color: #e9ecef;
color: #495057;
border-radius: 50%;
margin-right: 10px;
transition: all 0.3s;
}

.social-icons a:hover {
background-color: var(--primary-color);
color: white;
transform: translateY(-3px);
}

.footer-bottom {
background-color: #e9ecef;
padding: 15px 0;
margin-top: 30px;
}

.footer-bottom p {
margin-bottom: 0;
color: #6c757d;
font-size: 0.9rem;
}

.footer-bottom a {
color: var(--primary-color);
text-decoration: none;
}

.footer-bottom a:hover {
text-decoration: underline;
}

/* Adjust the fixed footer navigation to account for the new footer */
.footer-nav {
bottom: 0;
}

@media (max-width: 768px) {
.footer-links {
  margin-bottom: 20px;
}
}
body.home-section-active {
  padding-top: 0;       /* kill the 70px gap */
}

#homeSection {
  padding: 0;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-height: 100vh;
}

#homeSection .product-highlight {
  margin: 0;
  padding: 0;
}

#homeSection .full-screen-wrapper {
  height: calc(100vh - 140px);
}

/* Hide main footer when non-home section is active */
.section.active-section:not(#homeSection) ~ .footer-main {
  display: none;
}

/* Footer colours */
.footer-main {
  background-color: #90949d;
  padding: 30px 0 0;
  border-top: 1px solid #e9ecef;
  margin-top: auto;
}
/* Section wrapper */
.home-categories {
  background: linear-gradient(160deg, #f0f4ff 0%, #fafbff 100%);
  padding: 48px 0 56px;
}

/* Section heading */
.home-categories .section-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 28px;
}

/* Card shell */
.home-categories .category-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  /* square card */
  aspect-ratio: 1 / 1;
  background: #e8ecf0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transition: transform 0.32s cubic-bezier(.25,.8,.25,1),
              box-shadow 0.32s cubic-bezier(.25,.8,.25,1);
  /* reset old height override */
  height: auto;
}

.home-categories .category-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 32px rgba(42, 82, 152, 0.20);
}

/* Image fills the card */
.home-categories .category-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 0;
}

.home-categories .category-item:hover img {
  transform: scale(1.08);
}

/* Dark gradient overlay — stronger at bottom */
.home-categories .category-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.04) 0%,
    rgba(0,0,0,0.55) 100%
  );
  border-radius: inherit;
  transition: opacity 0.3s ease;
}

.home-categories .category-item:hover::after {
  opacity: 0.85;
}

/* Label sits above the overlay (::after) */
.home-categories .category-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;           /* above ::after */
  padding: 10px 8px 12px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  /* subtle frosted pill on hover */
  background: none;
  transform: translateY(0);
  transition: transform 0.3s ease, letter-spacing 0.3s ease;
}

.home-categories .category-item:hover .category-label {
  letter-spacing: 0.24em;
  transform: translateY(-4px);
}
/* =====================================================
   NXew - Professional Enhancements & Animations
   ===================================================== */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* === CSS VARIABLES OVERRIDE === */
:root {
  --primary-color: #1a1a2e;
  --accent-color: #e94560;
  --gold: #c9a84c;
  --surface: #ffffff;
  --surface-2: #f8f7f5;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --border: rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playfair Display', serif;
  --font-body: 'DM Sans', sans-serif;
}

/* === BASE === */
body {
  font-family: var(--font-body) !important;
  background: var(--surface-2) !important;
  color: var(--text-primary) !important;
  -webkit-font-smoothing: antialiased;
}

/* =====================================================
   RIPPLE EFFECT - Applied to ALL buttons
   ===================================================== */
.btn, button, .custom-menu-item, .nav-link, .category-item {
  position: relative !important;
  overflow: hidden !important;
}

.ripple-wave {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  background-color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  z-index: 10;
}

@keyframes ripple-anim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* =====================================================
   ENHANCED BUTTONS
   ===================================================== */
.btn {
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  border-radius: 50px !important;
  padding: 0.55rem 1.4rem !important;
  transition: var(--transition) !important;
  border: none !important;
}

.btn:active {
  transform: scale(0.96) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(26,26,46,0.3) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #16213e, #0f3460) !important;
  box-shadow: 0 8px 25px rgba(26,26,46,0.4) !important;
  transform: translateY(-2px) !important;
}

.btn-success {
  background: linear-gradient(135deg, #11998e, #38ef7d) !important;
  border: none !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(17,153,142,0.3) !important;
}

.btn-success:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(17,153,142,0.4) !important;
}

.btn-danger {
  background: linear-gradient(135deg, #e94560, #c62a47) !important;
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(233,69,96,0.3) !important;
}

.btn-danger:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(233,69,96,0.4) !important;
}

.btn-secondary {
  background: #f1f0ee !important;
  color: var(--text-primary) !important;
  box-shadow: var(--shadow-sm) !important;
}

.btn-secondary:hover {
  background: #e4e3e0 !important;
  transform: translateY(-1px) !important;
}

.btn-outline-secondary {
  border: 1.5px solid var(--border) !important;
  background: transparent !important;
  color: var(--text-primary) !important;
  border-radius: 8px !important;
  transition: var(--transition) !important;
}

.btn-outline-secondary:hover, .btn-outline-secondary.active {
  background: var(--text-primary) !important;
  color: #fff !important;
  border-color: var(--text-primary) !important;
}

/* Size buttons */
.size-btn {
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 8px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.size-btn.active {
  background: var(--text-primary) !important;
  color: #fff !important;
  border-color: var(--text-primary) !important;
  transform: scale(1.05) !important;
}

/* =====================================================
   FLY-TO-CART ANIMATION
   ===================================================== */
.fly-to-cart {
  position: fixed;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  transition: none;
}

.fly-to-cart img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.fly-to-cart-icon {
  color: white;
  font-size: 1.2rem;
}

@keyframes fly-bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  100% { transform: scale(0.3); opacity: 0; }
}

/* Cart badge pulse animation */
@keyframes badge-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.7); }
  60% { transform: scale(0.85); }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.badge-pop {
  animation: badge-pop 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards !important;
}

#footerBagBadge {
  transition: var(--transition) !important;
}

/* =====================================================
   ADD TO CART BUTTON STATE
   ===================================================== */
.btn-add-cart {
  position: relative;
  overflow: hidden;
}

.btn-add-cart.adding {
  background: linear-gradient(135deg, #11998e, #38ef7d) !important;
  pointer-events: none;
}

.btn-add-cart.adding::after {
  content: '✓ Added!';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: inherit;
  font-weight: 600;
  animation: slide-in-up 0.3s ease;
}

@keyframes slide-in-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.product-card, .card.border-0 {
  border-radius: var(--radius) !important;
  overflow: hidden !important;
  background: var(--surface) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
  border: 1px solid var(--border) !important;
  cursor: pointer;
}

.product-card:hover, .card.border-0:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(0,0,0,0.12) !important;
}

.product-card img, .card.border-0 img {
  transition: transform 0.5s ease !important;
}

.product-card:hover img, .card.border-0:hover img {
  transform: scale(1.06) !important;
}

.card-title {
  font-weight: 500 !important;
  color: var(--text-primary) !important;
}

/* =====================================================
   FOOTER NAV - Premium styling
   ===================================================== */
.footer-nav {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.08) !important;
}

.footer-nav .nav-link {
  transition: var(--transition) !important;
  color: #9ca3af !important;
}

.footer-nav .nav-link.active,
.footer-nav .nav-link:hover {
  color: var(--text-primary) !important;
}

.footer-nav .nav-link i {
  font-size: 1.4rem !important;
  transition: var(--transition) !important;
}

.footer-nav .nav-item:active .nav-link i {
  transform: scale(0.85) !important;
}

/* Menu button */
.footer-nav .btn.text-dark {
  font-family: var(--font-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
  background: none !important;
  border: none !important;
  padding: 8px 12px !important;
  border-radius: 50px !important;
  transition: var(--transition) !important;
}

.footer-nav .btn.text-dark:hover {
  background: var(--surface-2) !important;
}

/* =====================================================
   HEADER
   ===================================================== */
header {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05) !important;
}

/* =====================================================
   OFFCANVAS MENU
   ===================================================== */
.offcanvas {
  font-family: var(--font-body) !important;
  width: 280px !important;
  border-right: none !important;
  box-shadow: 10px 0 40px rgba(0,0,0,0.12) !important;
}

.offcanvas-header {
  background: var(--text-primary) !important;
  padding: 1.2rem 1.5rem !important;
}

.offcanvas-title {
  font-family: var(--font-display) !important;
  font-size: 1.25rem !important;
  color: #fff !important;
  letter-spacing: 0.05em !important;
}

.custom-menu-item {
  padding: 14px 20px !important;
  font-size: 0.95rem !important;
  font-weight: 400 !important;
  border-bottom: 1px solid rgba(0,0,0,0.04) !important;
  color: var(--text-primary) !important;
  transition: var(--transition) !important;
  cursor: pointer;
}

.custom-menu-item:hover {
  background: var(--surface-2) !important;
  padding-left: 28px !important;
  color: var(--text-primary) !important;
}

.custom-menu-item i {
  color: var(--accent-color) !important;
  width: 22px !important;
  font-size: 1rem !important;
}

/* =====================================================
   TOAST NOTIFICATIONS
   ===================================================== */
#toastContainer {
  top: auto !important;
  bottom: 80px !important;
  right: 1rem !important;
  z-index: 99999 !important;
}

.toast {
  border-radius: var(--radius) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  animation: toast-slide-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  min-width: 300px !important;
  max-width: 360px !important;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
}

@keyframes toast-slide-in {
  from { transform: translateX(120%) scale(0.8); opacity: 0; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

.toast.hide {
  animation: toast-slide-out 0.3s ease forwards !important;
}

@keyframes toast-slide-out {
  to { transform: translateX(120%); opacity: 0; }
}

/* =====================================================
   SECTION TRANSITIONS
   ===================================================== */
.section {
  background: var(--surface-2) !important;
  padding: 16px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: calc(100vh - 140px) !important;
}

.active-section {
  animation: section-enter 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@keyframes section-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   HERO CAROUSEL
   ===================================================== */
.carousel-caption {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%) !important;
  padding: 40px 20px 20px !important;
}

.carousel-caption h5 {
  font-family: var(--font-display) !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5) !important;
}

.carousel-indicators [data-bs-target] {
  width: 30px !important;
  height: 3px !important;
  border-radius: 3px !important;
  background-color: rgba(255,255,255,0.6) !important;
  transition: var(--transition) !important;
}

.carousel-indicators .active {
  background-color: #fff !important;
  width: 50px !important;
}

/* =====================================================
   CATEGORY ITEMS - stagger entrance
   ===================================================== */
.home-categories .row .col-4 {
  animation: category-pop 0.5s ease backwards;
}

.home-categories .row .col-4:nth-child(1) { animation-delay: 0.05s; }
.home-categories .row .col-4:nth-child(2) { animation-delay: 0.12s; }
.home-categories .row .col-4:nth-child(3) { animation-delay: 0.19s; }
.home-categories .row .col-4:nth-child(4) { animation-delay: 0.26s; }
.home-categories .row .col-4:nth-child(5) { animation-delay: 0.33s; }
.home-categories .row .col-4:nth-child(6) { animation-delay: 0.40s; }

@keyframes category-pop {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
#productDetailSection .container {
  animation: section-enter 0.4s ease;
}

.product-detail-img {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-md) !important;
}

.actions .btn {
  font-size: 0.95rem !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
}

/* Color thumbnails */
.color-thumb {
  transition: var(--transition) !important;
}

.color-thumb:hover {
  transform: scale(1.08) !important;
}

.color-thumb.selected {
  box-shadow: 0 0 0 2.5px var(--text-primary) !important;
  transform: scale(1.05) !important;
}

/* =====================================================
   SECTION TITLE
   ===================================================== */
.section-title {
  font-family: var(--font-display) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  position: relative;
}

/* =====================================================
   DARK MODE
   ===================================================== */
.dark-mode-toggle {
  background: var(--text-primary) !important;
  color: #fff !important;
  box-shadow: var(--shadow-sm) !important;
  transition: var(--transition) !important;
}

.dark-mode-toggle:hover {
  transform: scale(1.1) rotate(15deg) !important;
  box-shadow: var(--shadow-md) !important;
}

/* =====================================================
   DARK MODE FULL
   ===================================================== */
body.dark-mode {
  background: #0d0d0d !important;
  color: #f0f0f0 !important;
}

body.dark-mode .product-card,
body.dark-mode .card.border-0,
body.dark-mode .card {
  background: #1a1a1a !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: #f0f0f0 !important;
}

body.dark-mode .footer-nav,
body.dark-mode header {
  background: rgba(20,20,20,0.97) !important;
  border-color: rgba(255,255,255,0.06) !important;
}

body.dark-mode .footer-nav .nav-link {
  color: #6b7280 !important;
}

body.dark-mode .footer-nav .nav-link.active,
body.dark-mode .footer-nav .nav-link:hover {
  color: #f0f0f0 !important;
}

body.dark-mode .section {
  background: #0d0d0d !important;
}

body.dark-mode .offcanvas {
  background: #1a1a1a !important;
}

body.dark-mode .custom-menu-item {
  color: #e0e0e0 !important;
  border-color: rgba(255,255,255,0.05) !important;
}

body.dark-mode .custom-menu-item:hover {
  background: #2a2a2a !important;
}

body.dark-mode .card-title {
  color: #f0f0f0 !important;
}

/* =====================================================
   SCROLL INDICATOR
   ===================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), var(--gold));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 3px 3px 0;
}

/* =====================================================
   QUICK ADD TO CART BUTTON ON PRODUCT CARDS
   ===================================================== */
.product-card-wrapper {
  position: relative;
}

.quick-add-btn {
  position: absolute !important;
  bottom: 50px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(10px) !important;
  opacity: 0 !important;
  white-space: nowrap !important;
  font-size: 0.75rem !important;
  padding: 0.4rem 1rem !important;
  border-radius: 50px !important;
  background: var(--text-primary) !important;
  color: #fff !important;
  z-index: 5 !important;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  cursor: pointer !important;
  border: none !important;
}

.product-card-wrapper:hover .quick-add-btn {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
}

/* =====================================================
   BADGE STYLES
   ===================================================== */
.badge {
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

#footerBagBadge {
  background: var(--accent-color) !important;
  color: #fff !important;
  border-radius: 50% !important;
  min-width: 18px !important;
  height: 18px !important;
  font-size: 0.65rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(233,69,96,0.4) !important;
  font-weight: 700 !important;
}

/* =====================================================
   MODALS
   ===================================================== */
.modal-content {
  border-radius: var(--radius) !important;
  border: none !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden !important;
  animation: modal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

@keyframes modal-pop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  background: var(--text-primary) !important;
  color: #fff !important;
  border-bottom: none !important;
  padding: 1.2rem 1.5rem !important;
}

.modal-title {
  font-family: var(--font-display) !important;
  font-size: 1.2rem !important;
  color: #fff !important;
}

.modal-header .btn-close {
  filter: invert(1) !important;
}

/* =====================================================
   SEARCH BAR
   ===================================================== */
.search-bar input {
  border-radius: 50px !important;
  border: 1.5px solid var(--border) !important;
  background: var(--surface) !important;
  padding-left: 45px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  transition: var(--transition) !important;
  box-shadow: var(--shadow-sm) !important;
}

.search-bar input:focus {
  border-color: var(--text-primary) !important;
  box-shadow: 0 0 0 3px rgba(26,26,46,0.1) !important;
  background: #fff !important;
}

/* =====================================================
   FORM CONTROLS
   ===================================================== */
.form-control, .form-select {
  border-radius: var(--radius-sm) !important;
  border: 1.5px solid var(--border) !important;
  font-family: var(--font-body) !important;
  transition: var(--transition) !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--text-primary) !important;
  box-shadow: 0 0 0 3px rgba(26,26,46,0.08) !important;
}

/* =====================================================
   CART ITEMS
   ===================================================== */
#cartContent .card {
  border-radius: var(--radius) !important;
  border: 1px solid var(--border) !important;
  transition: var(--transition) !important;
  animation: section-enter 0.3s ease !important;
}

#cartContent .card:hover {
  box-shadow: var(--shadow-md) !important;
  transform: translateY(-2px) !important;
}

/* =====================================================
   PRODUCT STAGGER ANIMATION
   ===================================================== */
.product-stagger {
  animation: product-reveal 0.4s ease backwards;
}

@keyframes product-reveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   WISHLIST HEART ANIMATION
   ===================================================== */
@keyframes heart-pop {
  0% { transform: scale(1); }
  30% { transform: scale(1.5); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}

.heart-pop {
  animation: heart-pop 0.4s ease !important;
}

/* =====================================================
   BUY NOW BUTTON - Special pulse
   ===================================================== */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 15px rgba(17,153,142,0.3); }
  50% { box-shadow: 0 8px 30px rgba(17,153,142,0.6); }
}

/* =====================================================
   SMOOTH PAGE BODY PADDING (mobile)
   ===================================================== */
@media (max-width: 768px) {
  .section {
    padding: 12px !important;
  }

  .btn {
    padding: 0.5rem 1.2rem !important;
  }

  .modal-content {
    border-radius: 20px 20px 0 0 !important;
  }
}

/* =====================================================
   LOADING SKELETON
   ===================================================== */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
  border-radius: var(--radius-sm);
}

/* =====================================================
   CART SHAKE ANIMATION  
   ===================================================== */
@keyframes cart-shake {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(8deg); }
}

.cart-shake {
  animation: cart-shake 0.5s ease !important;
}

/* =====================================================
   QUICK ADD BUTTON ON PRODUCT CARD HOVER
   ===================================================== */
.nxew-quick-add {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: var(--text-primary);
  color: #fff;
  z-index: 5;
  border: none;
  cursor: pointer;
  transition: bottom 0.3s cubic-bezier(0.34,1.56,0.64,1), opacity 0.25s ease, background 0.3s ease;
  opacity: 0;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.nxew-product-card:hover .nxew-quick-add {
  bottom: 12px;
  opacity: 1;
}

.nxew-quick-add:hover {
  background: var(--accent-color) !important;
  transform: translateX(-50%) scale(1.04) !important;
}

/* =====================================================
   PRODUCT CARD IMAGE ZOOM
   ===================================================== */
.nxew-card-img {
  transition: transform 0.5s ease !important;
}

/* =====================================================
   Cart Empty State (NXew)
   ===================================================== */
.nxew-cart-empty {
  background: linear-gradient(135deg, rgba(233,69,96,0.10), rgba(17,153,142,0.10)) !important;
  border: 1px dashed rgba(233,69,96,0.25) !important;
}

.nxew-cart-empty-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,26,46,0.06);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 30px rgba(26,26,46,0.08);
}

.nxew-cart-empty-icon i {
  font-size: 2rem;
  color: var(--accent-color);
}

/* =====================================================
   NXew Admin Dashboard Styling
   ===================================================== */
.admin-hero {
  background: linear-gradient(135deg, rgba(233,69,96,0.14), rgba(17,153,142,0.14)) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
}

.admin-hero-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-hero-brand i {
  color: var(--accent-color);
  font-size: 1.7rem;
}

.admin-hero-brand span {
  font-size: 1.2rem;
}

.admin-metric-card {
  background: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
}

.admin-metric-label {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.55);
  font-weight: 700;
  margin-bottom: 8px;
}

.admin-metric-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--text-primary);
}

.admin-metric-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.55);
}

.admin-panel-card {
  background: rgba(255,255,255,0.78) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
}

.admin-panel-card-header {
  background: linear-gradient(135deg, rgba(26,26,46,0.08), rgba(233,69,96,0.08)) !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-list {
  min-height: 80px;
}

.admin-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
}

.admin-bar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.admin-bar {
  width: 100%;
  border-radius: 12px 12px 6px 6px;
  background: linear-gradient(135deg, var(--accent-color), #38ef7d);
  box-shadow: 0 10px 24px rgba(233,69,96,0.20);
}

.admin-bar-label {
  font-size: 0.78rem;
  color: rgba(0,0,0,0.55);
  font-weight: 700;
}
/* 1. Force the home section to fill the viewport without any internal spacing */
#homeSection {
  padding: 1px!important;
   margin-top: -70px !important;
  
}

