:root {
    --primary-color: #4a148c;
    --primary-hover-color: #38006b; 
    --accent-color: #ffab00;
    --accent-hover-color: #ff8f00;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40; 
    --text-color: #333;
    --light-text-color: #adb5bd;
    --white-color: #ffffff;
    --testimonial-bg: #ede7f6; 
}


body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: var(--primary-hover-color);
}

.section-padding {
    padding: 80px 0;
}

.section-heading {
     text-align: center;
     margin-bottom: 50px;
     font-weight: 700;
     position: relative;
     padding-bottom: 15px;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color); 
    border-radius: 2px;
}


.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white-color); 
    padding: 10px 25px;
    font-weight: 500;
    border-radius: 50px; 
    transition: all 0.3s ease;
}

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

 .btn-secondary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 8px 20px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.3s ease;
    color: var(--text-color); 
}

.btn-secondary:hover {
    background-color: var(--accent-hover-color);
    border-color: var(--accent-hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}



.navbar {
  position: relative;
  transition: background-color 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  padding: 10px 0;
  z-index: 100;
  overflow: visible;
  min-height: 70px;
}

.navbar-logo {

  object-fit: contain;
  position: absolute;

  left: 10px;
   height: 140px;      
  top: -40px; 
  pointer-events: none;
  z-index: 0;
}


.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important; 
}

.navbar-brand i {
    margin-right: 5px;
}

.navbar-nav .nav-link {
    color: #555;
    font-weight: 500;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color); 
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    padding: 5px 0;
}
.nav-search-input {
  padding: 6px 30px 6px 10px;
  border-radius: 20px;
  border: 1px solid #ccc;
  width: 150px;
  font-size: 14px;
}

 

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: var(--accent-color);
  color: black;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
}


#hero {
    background: url('assets/TT\ theme.png') no-repeat center center;
    background-size: cover;
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
    position: relative;
    contain: layout style;
    overflow: hidden;
}

#hero::before { 
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
}

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

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    width: 100%;
    text-align: center;
    position: relative;
    contain: layout;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

#products, #new-arrivals {
    background-color: var(--light-bg);
}
#categories {
     background-color: var(--white-color);
}

.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(74, 20, 140, 0.12); 
}

.product-card img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    max-height: 250px;
    width: 90%;
}

.product-card .card-body {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card .card-title {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.product-card .card-text {
    color: #6c757d; 
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color); 
    margin-bottom: 20px;
}

.category-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(74, 20, 140, 0.1); 
    border-color: var(--primary-color);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary-color); 
    margin-bottom: 20px;
    display: block;
}

.category-card h5 {
    font-weight: 600;
    margin-bottom: 0;
    color: var(--text-color);
}

.category-card a {
    color: inherit;
    text-decoration: none;
}
.category-card a:hover h5 {
    color: var(--primary-hover-color); 
}

#about {
     background-color: var(--white-color); 
    }
#about img {
    border-radius: 15px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#testimonials {
    background-color: var(--testimonial-bg); 
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    border-radius: 15px;
    background-color: var(--white-color);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-height: 280px;
    display: flex;
    align-items: center;
}
 .slider-content {
    width: 100%;
 }

.testimonial-slide {
    display: none;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

.testimonial-slide.active {
    display: block;
}

.testimonial-slide img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 3px solid #eee;
}

.testimonial-slide blockquote {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.testimonial-slide .author {
    font-weight: 600;
    color: var(--text-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    left: 0;
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 5;
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text-color);
    padding-top: 60px;
    padding-bottom: 30px;
}

footer h5 {
    color: var(--white-color);
    margin-bottom: 20px;
    font-weight: 600;
}

footer p, footer ul {
    font-size: 0.9rem;
}

footer ul {
    list-style: none;
    padding-left: 0;
}

footer ul li a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
    display: inline-block;
    margin-bottom: 8px;
}

footer ul li a:hover {
    color: var(--white-color);
}

footer .social-icons a {
    color: var(--light-text-color);
    font-size: 1.3rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: var(--accent-color);
}

footer .footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.85rem;
}


html {
    scroll-behavior: smooth;
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  font-size: 28px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  line-height: 60px; 
  transition: transform 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  text-decoration: none;
  color: white;
}
.map-responsive {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  0% {
    opacity: 0;
    transform: translateY(-60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

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


#hero .container {
  animation: fadeInUp 1s ease-in-out;
}

.navbar {
  animation: slideInDown 0.8s ease-in-out;
}


.category-card:hover {
  animation: bounceHover 0.4s ease-in-out;
}


.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

 
button {
 position: relative;
 display: inline-block;
 cursor: pointer;
 outline: none;
 border: 0;
 vertical-align: middle;
 text-decoration: none;
 font-family: inherit;
 font-size: 15px;
}

button.learn-more {
 font-weight: 600;
 color: #382b22;
 text-transform: uppercase;
 padding: 1.25em 2em;
 background: #fff0f0;
 border: 2px solid #b18597;
 border-radius: 0.75em;
 -webkit-transform-style: preserve-3d;
 transform-style: preserve-3d;
 -webkit-transition: background 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1);
 transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), background 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1);
}

button.learn-more::before {
 position: absolute;
 content: '';
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: #f9c4d2;
 border-radius: inherit;
 -webkit-box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
 box-shadow: 0 0 0 2px #b18597, 0 0.625em 0 0 #ffe3e2;
 -webkit-transform: translate3d(0, 0.75em, -1em);
 transform: translate3d(0, 0.75em, -1em);
 transition: transform 150ms cubic-bezier(0, 0, 0.58, 1), box-shadow 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-transform 150ms cubic-bezier(0, 0, 0.58, 1), -webkit-box-shadow 150ms cubic-bezier(0, 0, 0.58, 1);
}

button.learn-more:hover {
 background: #ffe9e9;
 -webkit-transform: translate(0, 0.25em);
 transform: translate(0, 0.25em);
}

button.learn-more:hover::before {
 -webkit-box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
 box-shadow: 0 0 0 2px #b18597, 0 0.5em 0 0 #ffe3e2;
 -webkit-transform: translate3d(0, 0.5em, -1em);
 transform: translate3d(0, 0.5em, -1em);
}

button.learn-more:active {
 background: #ffe9e9;
 -webkit-transform: translate(0em, 0.75em);
 transform: translate(0em, 0.75em);
}

button.learn-more:active::before {
 -webkit-box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
 box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
 -webkit-transform: translate3d(0, 0, -1em);
 transform: translate3d(0, 0, -1em);
}

#cart-icon {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease;
}

#cart-icon:hover {
  transform: scale(1.1);
}

#cart-icon span {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--accent-color);
  color: #000;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 7px;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}
#cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 340px;
  height: 100%;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
  padding: 25px 20px;
  transition: right 0.35s ease-in-out;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}

#cart-sidebar.open {
  right: 0;
}

#cart-sidebar h5 {
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.25rem;
}

#cart-items {
  flex-grow: 1;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}

#cart-items li {
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-remove {
  color: #dc3545;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  margin-left: 10px;
}

#cart-total {
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 15px;
}

#cart-sidebar .btn {
  margin-top: 15px;
  width: 100%;
  border-radius: 25px;
  font-weight: 500;
}

#nav-cart {
  position: relative;
  font-size: 20px;
  color: var(--primary-color);
}

#nav-cart:hover {
  color: var(--primary-hover-color);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background-color: var(--accent-color);
  color: #000;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

#nav-cart:hover {
  color: #ffc107;
  transition: 0.3s;
}


/* m */


.cart-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border-radius: 8px;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  z-index: 1000;
}

.cart-dropdown-menu.show {
  display: block;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: -8px;
  background-color: var(--accent-color);
  color: #000;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

.cart-dropdown-menu ul li {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.cart-remove {
  color: red;
  margin-left: 10px;
  cursor: pointer;
}








.cart-badge {
  font-size: 0.75rem;
  background-color: #ff5252;
  border-radius: 10px;
  padding: 2px 6px;
  color: white;
  position: absolute;
  top: 4px;
  right: -6px;
  animation: pop 0.3s ease;
}

@keyframes pop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

#preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid var(--primary-color);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}





.product-card img:hover {
  transform: scale(1.05);
  transition: 0.3s ease;
}
.product-card .badge-sale {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #ff1744;
  color: white;
  padding: 5px 10px;
  font-size: 0.7rem;
  border-radius: 5px;
}
/* 

#typed-headline {
  min-height: 60px; 
  display: inline-block;
} */


#typed-headline {
  min-height: 60px;
  display: block;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#typed-headline span#typed-text {
  color: #c3b1e1;
  display: inline-block;
  min-width: 300px;
  text-align: center;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-start infinite;
  color: #ffffff;
  width: 2px;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Mobile fixes for typing animation */
@media (max-width: 768px) {
  #typed-headline {
    min-height: 50px;
    font-size: 1.8rem !important;
  }
  
  #typed-headline span#typed-text {
    min-width: 250px;
    font-size: inherit;
  }
  
  .cursor {
    width: 1px;
  }
}

@media (max-width: 576px) {
  #typed-headline {
    min-height: 45px;
    font-size: 1.5rem !important;
  }
  
  #typed-headline span#typed-text {
    min-width: 200px;
    font-size: inherit;
  }
}



#cart-items button {
  padding: 2px 8px;
  font-size: 0.85rem;
}
#cart-items .cart-remove {
  cursor: pointer;
}
.cart-item-card {
  background-color: #fff;
  border: 1px solid #eee;
  transition: box-shadow 0.2s ease;
}
.cart-item-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.qty-btn {
  background-color: #f1f3f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  font-weight: bold;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.2s ease;
}
.qty-btn:hover {
  background-color: #e0e0e0;
}

.remove-btn {
  background: transparent;
  border: none;
  color: #dc3545;
  font-size: 18px;
  font-weight: bold;
  padding: 0 6px;
  cursor: pointer;
}
.remove-btn:hover {
  color: #a71d2a;
}


.navbar input[type="search"] {
  transition: all 0.3s ease;
}

.navbar input[type="search"]:focus {
  box-shadow: 0 0 5px rgba(74, 20, 140, 0.4);
  border-color: var(--primary-color);
}

 

.suggestion-box li {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.9rem;
}

.suggestion-box li:hover {
  background-color: #f1f1f1;
}
.highlight-product {
  animation: flashBorder 1s ease-in-out 0s 2;
}

@keyframes flashBorder {
  0%, 100% {
    box-shadow: 0 0 0 rgba(255, 193, 7, 0.6);
  }
  50% {
    box-shadow: 0 0 15px 5px rgba(255, 193, 7, 0.9);
  }
}
.nav-search-input {
  width: 160px;
  padding: 6px 28px 6px 12px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #f8f9fa;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  color: #333;
}

.nav-search-input:hover {
  background: #f3f6fb;
}

.nav-search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #f3f6fb;
  box-shadow: 0 0 5px rgba(74, 20, 140, 0.2);
  color: #333;
}

.nav-search-input::placeholder {
  color: #666;
  opacity: 1;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #777;
  pointer-events: none;
}


.suggestion-box {
  position: absolute;
  top: 120%;
  left: 0;
  background: white;
  width: 100%;
  list-style: none;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px 0;
  max-height: 200px;
  overflow-y: auto;
  display: none;
  z-index: 1001;
}

.suggestion-box li {
  padding: 8px 15px;
  cursor: pointer;
  font-size: 0.85rem;
}

.suggestion-box li:hover {
  background-color: #f1f1f1;
}


.cart-dropdown-menu {
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: none;
}

#cart-items li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

#cart-items h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

#cart-items p {
  font-size: 0.85rem;
  margin: 0;
  color: #6c757d;
}

.qty-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 3px 8px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.qty-btn:hover {
  background-color: var(--primary-hover-color);
}

.remove-btn {
  background-color: transparent;
  border: none;
  color: red;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 5px;
}

#cart-total {
  font-size: 1.1rem;
  border-top: 1px solid #ccc;
  padding-top: 10px;
}

#checkout-whatsapp {
  background-color: #25d366;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#checkout-whatsapp:hover {
  background-color: #1ebe5d;
}

.btn-email {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  width: 100%;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-email:hover {
  background-color: var(--primary-color);
}

.btn-email i {
  font-size: 0.95rem;
}

/* Ensure text color never changes on hover/focus/active */
.btn-email,
.btn-email:hover,
.btn-email:focus,
.btn-email:active {
  color: #fff !important;
  text-decoration: none;
}



.custom-cod-modal {
  max-width: 400px;
  margin: auto;
}

.modern-cod-content {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.modern-cod-content .modal-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
}

.modern-cod-content .form-control {
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.modern-cod-content .form-floating > label {
  color: #888;
}

.modern-cod-content .btn-primary {
  border-radius: 12px;
  font-weight: 600;
  background-color: var(--primary-color);
  border: none;
  padding: 10px;
  transition: all 0.3s ease;
}

.modern-cod-content .btn-primary:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .navbar-logo {
    height: 60px !important;
    top: -10px !important;
  }

  .navbar-brand {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .nav-search-input {
    width: 120px;
    font-size: 13px;
  }

  #cartDropdownToggleMobile {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 991px) {
  .navbar .d-lg-none {
    position: relative;
    z-index: 2001;
  }
}

 

.cart-dropdown {
  display: none;
  position: fixed;
  top: 100%;
  right: 0;
  background: white;
  width: 320px;
  max-width: calc(100vw - 32px);
  max-height: 400px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 20px;
  z-index: 9999;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.cart-dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Make cart items list scrollable inside the dropdown */
#cartDropdown #cart-items {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-right: 4px;
}

/* Admin Panel Styles */
#adminPanelToggle {
  position: relative;
  transition: all 0.3s ease;
}

#adminPanelToggle:hover {
  color: var(--primary-color) !important;
  transform: rotate(90deg);
}

#adminPanelToggle i {
  font-size: 1.1rem;
}

/* Admin Login Screen Styles */
.admin-password-prompt {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 20px;
}

.password-prompt-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 280px;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.password-prompt-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
  border-radius: 12px;
  z-index: -1;
  opacity: 0.2;
}

.password-prompt-header {
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.prompt-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.prompt-icon i {
  font-size: 1.2rem;
  color: white;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.password-prompt-header h4 {
  color: #2d3748;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.password-prompt-header p {
  color: #718096;
  font-size: 0.8rem;
  margin: 0;
  font-weight: 500;
}

.password-prompt-form {
  position: relative;
  z-index: 2;
}

.password-prompt-form .input-group {
  position: relative;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
  overflow: hidden;
  margin-bottom: 15px;
}

.password-prompt-form .input-group:focus-within {
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.password-prompt-form .input-icon {
  padding: 10px 12px;
  color: #667eea;
  font-size: 0.9rem;
  font-weight: 600;
}

.prompt-password-input {
  background: transparent !important;
  border: none !important;
  color: #2d3748 !important;
  padding: 10px 12px 10px 0 !important;
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  outline: none;
}

.prompt-password-input::placeholder {
  color: #a0aec0;
  font-weight: 400;
}

.prompt-password-input:focus {
  box-shadow: none !important;
}

.prompt-login-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  color: white;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.prompt-login-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: left 0.4s ease;
}

.prompt-login-btn:hover::before {
  left: 100%;
}

.prompt-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
}

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

.prompt-login-btn .btn-text {
  position: relative;
  z-index: 1;
}

.prompt-login-btn .btn-icon {
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

.prompt-login-btn:hover .btn-icon {
  transform: translateX(3px);
}

.prompt-error-message {
  margin-top: 12px;
  background: linear-gradient(135deg, #fed7d7, #feb2b2);
  border-radius: 8px;
  padding: 8px 12px;
  border: 1px solid #fc8181;
  animation: slideInDown 0.3s ease;
  box-shadow: 0 3px 8px rgba(252, 129, 129, 0.15);
  display: flex;
  align-items: center;
  gap: 6px;
  color: #c53030;
  font-size: 0.75rem;
  font-weight: 600;
}

.prompt-error-message i {
  font-size: 0.8rem;
  color: #e53e3e;
}

/* Full Admin Dashboard Styles */
.admin-dashboard-full {
  min-height: 500px;
  padding: 20px;
}

.admin-dashboard-full .nav-tabs {
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 25px;
}

.admin-dashboard-full .nav-link {
  border: none;
  color: #718096;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
}

.admin-dashboard-full .nav-link:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.admin-dashboard-full .nav-link.active {
  color: #667eea;
  background: white;
  border-bottom: 2px solid #667eea;
}

.admin-dashboard-full .tab-content {
  background: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Dashboard Stats Cards */
.stat-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-content h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.stat-content p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.9rem;
}

/* Quick Actions */
.quick-actions-card, .recent-activity-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.quick-actions-card h5, .recent-activity-card h5 {
  margin-bottom: 15px;
  color: #2d3748;
  font-weight: 600;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.quick-action-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: #4a5568;
}

.quick-action-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.quick-action-btn i {
  font-size: 1.2rem;
}

.quick-action-btn span {
  font-size: 0.8rem;
  font-weight: 500;
}

/* Recent Activity */
.activity-list {
  max-height: 300px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
}

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

.activity-icon {
  width: 35px;
  height: 35px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.activity-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #2d3748;
  font-weight: 500;
}

.activity-content small {
  color: #718096;
  font-size: 0.8rem;
}

/* Enhanced Product Table */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table th {
  background: #2d3748;
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px 15px;
}

.table td {
  padding: 12px 15px;
  vertical-align: middle;
}

.product-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-active {
  background: #c6f6d5;
  color: #22543d;
}

.status-inactive {
  background: #fed7d7;
  color: #742a2a;
}

/* Enhanced Form Controls */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-range::-webkit-slider-thumb {
  background: #667eea;
}

.form-range::-moz-range-thumb {
  background: #667eea;
}

/* Bulk Operations */
.bulk-actions {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: none;
}

.bulk-actions.show {
  display: block;
}

/* Search and Filter */
.search-filter-row {
  background: #f8fafc;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

/* Enhanced Buttons */
.btn-group .btn {
  border-radius: 6px;
  margin-right: 5px;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .quick-actions-grid {
    grid-template-columns: 1fr;
  }
  
  .media-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
  
  .stat-card {
    flex-direction: column;
    text-align: center;
  }
  
  .media-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-filter-row .row > div {
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .admin-dashboard-full {
    padding: 15px;
  }
  
  .admin-dashboard-full .tab-content {
    padding: 15px;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-content h3 {
    font-size: 1.5rem;
  }
  
  .quick-action-btn {
    padding: 10px;
  }
  
  .media-upload-area {
    padding: 30px 20px;
  }
}

/* Mobile responsive for password prompt */
@media (max-width: 768px) {
  .admin-password-prompt {
    min-height: 180px;
    padding: 15px;
  }
  
  .password-prompt-card {
    padding: 20px;
    max-width: 100%;
  }
  
  .prompt-icon {
    width: 40px;
    height: 40px;
  }
  
  .prompt-icon i {
    font-size: 1.1rem;
  }
  
  .password-prompt-header h4 {
    font-size: 1rem;
  }
  
  .password-prompt-header p {
    font-size: 0.75rem;
  }
  
  .password-prompt-form .input-group {
    border-radius: 6px;
  }
  
  .password-prompt-form .input-icon {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
  
  .prompt-password-input {
    padding: 8px 10px 8px 0 !important;
    font-size: 0.85rem;
  }
  
  .prompt-login-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .admin-password-prompt {
    min-height: 160px;
    padding: 12px;
  }
  
  .password-prompt-card {
    padding: 18px 15px;
  }
  
  .prompt-icon {
    width: 35px;
    height: 35px;
    margin-bottom: 10px;
  }
  
  .prompt-icon i {
    font-size: 1rem;
  }
  
  .password-prompt-header h4 {
    font-size: 0.95rem;
    margin-bottom: 3px;
  }
  
  .password-prompt-header p {
    font-size: 0.7rem;
  }
  
  .password-prompt-form .input-group {
    margin-bottom: 12px;
  }
  
  .password-prompt-form .input-icon {
    padding: 7px 9px;
    font-size: 0.8rem;
  }
  
  .prompt-password-input {
    padding: 7px 9px 7px 0 !important;
    font-size: 0.8rem;
  }
  
  .prompt-login-btn {
    padding: 7px 12px;
    font-size: 0.75rem;
    gap: 4px;
  }
  
  .prompt-login-btn .btn-icon {
    font-size: 0.75rem;
  }
  
  .prompt-error-message {
    padding: 6px 10px;
    font-size: 0.7rem;
    gap: 4px;
  }
  
  .prompt-error-message i {
    font-size: 0.75rem;
  }
}

/* Admin Dashboard Styles */
.admin-product-row {
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.admin-product-row:hover {
  background-color: #f8f9fa;
}

.admin-edit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.admin-edit-btn:hover {
  background-color: var(--primary-hover-color);
}

#adminPasswordScreen {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#adminDashboard {
  min-height: 400px;
  transition: all 0.3s ease;
}

.admin-table-container {
  max-height: 500px;
  overflow-y: auto;
}

.admin-success-message {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background-color: #28a745;
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Loading state for button */
.prompt-login-btn.loading {
  pointer-events: none;
}

.prompt-login-btn.loading .btn-text {
  opacity: 0;
}

.prompt-login-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

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

/* Content Section Cards */
.content-section-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
}

.section-header {
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.section-header h5 {
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 5px;
}

.section-header p {
  color: #718096;
  margin: 0;
  font-size: 0.9rem;
}

.preview-card {
  background: #f8fafc;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e2e8f0;
  height: 100%;
}

.preview-card h6 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.hero-preview {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.hero-preview h4 {
  color: #2d3748;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.hero-preview p {
  color: #718096;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.about-preview {
  padding: 15px;
  background: white;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.about-preview h5 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1rem;
}

.about-preview p {
  color: #718096;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.feature-tag {
  background: #667eea;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

.section-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Enhanced Form Controls */
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-range::-webkit-slider-thumb {
  background: #667eea;
}

.form-range::-moz-range-thumb {
  background: #667eea;
}

/* Input Groups */
.input-group-text {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #667eea;
  font-weight: 600;
}

.input-group:focus-within .input-group-text {
  border-color: #667eea;
  background: white;
}

/* Form Text */
.form-text {
  color: #718096;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* Enhanced Buttons */
.btn-group .btn {
  border-radius: 6px;
  margin-right: 5px;
}

.btn-group .btn:last-child {
  margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-section-card {
    padding: 20px;
  }
  
  .preview-card {
    margin-top: 20px;
  }
  
  .section-actions {
    flex-direction: column;
  }
  
  .section-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .content-section-card {
    padding: 15px;
  }
  
  .hero-preview, .about-preview {
    padding: 15px;
  }
  
  .hero-preview h4 {
    font-size: 1.1rem;
  }
  
  .about-preview h5 {
    font-size: 0.95rem;
  }
}

/* Edit Product Modal Styles */
.current-image-preview, .new-image-preview {
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px;
  background: #f8fafc;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.current-image-preview:hover, .new-image-preview:hover {
  border-color: #667eea;
  background: white;
}

.current-image-preview img, .new-image-preview img {
  max-width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 4px;
}

.new-image-preview {
  position: relative;
}

.new-image-preview img {
  display: block;
}

#noImageSelected {
  color: #718096;
  font-size: 0.9rem;
}

#noImageSelected i {
  color: #cbd5e0;
}

/* Ensure select dropdown displays properly */
#editProductImage {
  display: block !important;
  width: 100% !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #212529 !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  background-size: 16px 12px !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.375rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

#editProductImage:focus {
  border-color: #667eea !important;
  outline: 0 !important;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
}

#editProductImage option {
  padding: 8px 12px !important;
  background-color: white !important;
  color: #212529 !important;
}

/* Modal Enhancements */
.modal-lg {
  max-width: 800px;
}

.modal-body {
  padding: 25px;
}

.modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom: none;
}

.modal-header .btn-close {
  filter: invert(1);
}

.modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 20px 25px;
}

/* Form Enhancements */
.form-label {
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 8px;
}

.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-lg {
    max-width: 95%;
    margin: 10px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .current-image-preview, .new-image-preview {
    min-height: 120px;
  }
  
  .current-image-preview img, .new-image-preview img {
    max-height: 110px;
  }
}

@media (max-width: 480px) {
  .modal-body {
    padding: 15px;
  }
  
  .modal-footer {
    padding: 15px 20px;
  }
  
  .current-image-preview, .new-image-preview {
    min-height: 100px;
  }
  
  .current-image-preview img, .new-image-preview img {
    max-height: 90px;
  }
}
/* Highlight blinking animation */
@keyframes blinkHighlight {
  0%, 100% { box-shadow: 0 0 0px rgba(255, 200, 0, 0); }
  50% { box-shadow: 0 0 20px rgba(255, 200, 0, 0.9); }
}

.highlight-blink {
  animation: blinkHighlight 0.9s ease-in-out 6; /* blink 3 times */
  border-radius: 10px;
}
.search-error {
  color: red;
  font-size: 13px;
  margin-top: 4px;
  display: none; /* Hidden by default */
}

.search-error {
  color: red;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Image Upload Styles */
.image-upload-options {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  background: #f8f9fa;
}

.image-upload-options .nav-pills .nav-link {
  border-radius: 6px;
  font-size: 0.9rem;
  padding: 8px 16px;
}

.image-upload-options .nav-pills .nav-link.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.upload-drop-zone {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upload-drop-zone:hover {
  border-color: var(--primary-color);
  background: #f0f8ff;
}

.upload-drop-zone.dragover {
  border-color: var(--primary-color);
  background: #e6f3ff;
  transform: scale(1.02);
}

.upload-icon {
  color: #6c757d;
}

.upload-drop-zone:hover .upload-icon {
  color: var(--primary-color);
}

.upload-progress {
  display: none;
}

.upload-progress.show {
  display: block;
}

.progress {
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  background: #e9ecef;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transition: width 0.3s ease;
}

/* Logo Upload Styles */
.logo-upload-section {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
  margin-bottom: 20px;
}

.current-logo-preview {
  max-width: 200px;
  max-height: 100px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.current-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.new-logo-preview {
  max-width: 200px;
  max-height: 100px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.new-logo-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .upload-drop-zone {
    padding: 20px 15px;
  }
  
  .upload-icon i {
    font-size: 2rem !important;
  }
  
  .upload-icon h5 {
    font-size: 1rem;
  }
  
  .current-logo-preview,
  .new-logo-preview {
    max-width: 150px;
    max-height: 75px;
  }
  
  /* Mobile navigation - simplified layout */
  .d-lg-none {
    gap: 10px;
  }
  
  .nav-search-input {
    width: 150px;
    font-size: 0.9rem;
  }
  
  /* Admin panel modal improvements */
  .modal-xl {
    max-width: 95% !important;
    margin: 10px auto !important;
  }
  
  .admin-dashboard-full .nav-tabs {
    font-size: 0.8rem;
  }
  
  .admin-dashboard-full .nav-link {
    padding: 8px 12px;
  }
  
  .content-section-card {
    padding: 15px !important;
    margin-bottom: 15px !important;
  }
  
  .section-actions {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .section-actions .btn {
    width: 100% !important;
  }
  
  /* Table responsive improvements */
  .table-responsive {
    font-size: 0.8rem;
  }
  
  .admin-edit-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
  }
  
  /* Form improvements */
  .form-control, .form-select {
    font-size: 1rem;
  }
  
  .image-upload-options .nav-pills {
    flex-direction: column;
  }
  
  .image-upload-options .nav-pills .nav-link {
    text-align: center;
    margin-bottom: 5px;
  }
}

@media (max-width: 576px) {
  /* Extra small screens */
  .navbar-logo {
    height: 55px !important;
    top: -8px !important;
  }
  
  .d-lg-none {
    gap: 8px;
  }
  
  .nav-search-input {
    width: 130px;
    font-size: 0.85rem;
  }
  
  .modal-xl {
    max-width: 98% !important;
    margin: 5px auto !important;
  }
  
  .admin-dashboard-full .nav-tabs {
    flex-wrap: wrap;
  }
  
  .admin-dashboard-full .nav-link {
    font-size: 0.75rem;
    padding: 6px 8px;
  }
  
  .upload-drop-zone {
    padding: 15px 10px;
  }
  
  .upload-icon h5,
  .upload-icon h6 {
    font-size: 0.9rem;
  }
  
  .current-logo-preview,
  .new-logo-preview {
    max-width: 120px;
    max-height: 60px;
  }
  
  .section-header h5 {
    font-size: 1.1rem;
  }
  
  .section-header p {
    font-size: 0.9rem;
  }
}
.footer-logo {
  max-height: 120px;
  width: auto;
  display: block;
  margin: 0 auto;     /* center horizontally */
  object-fit: contain; 
  background-color: transparent; /* ensures no background shows */
}
