/* ================================
   MODERN FONTS & TYPOGRAPHY - APPLE/GOOGLE STYLE
   ================================ */

:root {
    --primary-color: #c70f02;
    --secondary-color: #FFA652;
    --success-color: #25d366;
    --dark-color: #c70f02;
    --light-color: #FFCD90;
    --gradient-primary: linear-gradient(135deg, #c70f02 0%, #ff512f 100%);
    --gradient-bg: linear-gradient(135deg, #FFF8F0 0%, #FFD9B8 100%);

    /* Apple-style font stacks */
    --font-primary: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", Roboto, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overflow-y: auto;
}

body {
    width: 100%;
    max-width: 100%;
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.7;
    color: var(--dark-color);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 70px !important;
}



h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.125rem; font-weight: 600; }
h6 { font-size: 1rem; font-weight: 600; }

p, ul, ol{color: #6c757d;}

/* For mobile devices */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    * {
        max-width: 100%;
    }
    
    .container, .container-fluid, .row {
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ================================
   NAVIGATION STYLES
   ================================ */

.navbar {
    padding: 0.75rem 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 5px;
}

.navbar-nav .nav-link:hover {
    color: var(--dark-color) !important;
    background-color: rgba(199, 15, 2, 0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(111, 66, 193, 0.3);
}

/* Dropdown Styles */
.dropdown-menu {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 1rem;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    background: white;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateX(5px);
}

.dropdown-item:hover i {
    color: white !important;
}

/* Dropdown Icon Styling (moved from inline CSS) */
.dropdown-icon {
    font-size: 0.5rem;
    color: var(--primary-color);
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown-toggle[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

/* ================================
   HERO SECTION STYLES
   ================================ */

.min-h-auto {
  min-height: auto !important;
}

.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--gradient-bg);
    color: var(--dark-color);
    min-height: auto;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(111, 66, 193, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(253, 126, 20, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

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

.hero-description {
    font-size: 1.25rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.hero-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.hero-features {
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    color: var(--primary-color);
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* ===== HERO SLIDER STYLES ===== */
.hero-slider-container {
    position: relative;
/*    margin: 0 auto;*/
}

/* Mobile + tablets ≤768px */
@media (max-width: 768px) {
    .hero-slider {
        padding-top: 30px !important;
    }
}

.hero-carousel {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 123, 0, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid white;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.carousel-control-prev { left: 15px; }
.carousel-control-next { right: 15px; }

.carousel-indicators {
    bottom: 20px;
}

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

.carousel-indicators [data-bs-target]{
    border: 0;
}

@media (max-width: 768px) {
    .hero-image {
        height: 350px;
    }
}

.btn-primary {
    --bs-btn-hover-border-color: #c81001;
}

/* ================================
   SECTION STYLES
   ================================ */

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: none; /* Remove gradient for better readability */
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* ================================
   IMPROVED CATEGORY CARD ALIGNMENT
   ================================ */

.categories-section .row {
    justify-content: center;
    align-items: stretch;
}

.category-card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 280px; /* Consistent height */
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--gradient-primary);
    color: white;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card:hover .category-icon {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card:hover .category-icon i {
    color: var(--primary-color);
}

.category-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.category-card p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.category-card:hover h4,
.category-card:hover p {
    color: white;
}

/* ================================
   RESPONSIVE GRID IMPROVEMENTS
   ================================ */

@media (max-width: 1399px) {
    .categories-section .col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (max-width: 991px) {
    .categories-section .col-lg-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

@media (max-width: 767px) {
    .categories-section .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .category-card {
        padding: 2rem 1rem;
        min-height: 250px;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .categories-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ================================
   IMPROVED ABOUT SECTION STYLES
   ================================ */

.about-content .section-title {
    text-align: left !important;
}

.about-content .section-title::after {
    margin: 1rem 0 0 0; /* Left align the underline */
}

.about-feature-card {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: var(--gradient-primary);
    color: white;
}

.about-feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.about-feature-card:hover .about-feature-icon {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.about-feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.about-feature-card:hover .about-feature-icon i {
    color: var(--primary-color);
}

.about-feature-content h5 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.about-feature-card:hover .about-feature-content h5 {
    color: white;
}

/* Remove old feature-item styles conflict */
.about-content .feature-item {
    display: none; /* Hide old style if it exists */
}

/* ================================
   RESPONSIVE ABOUT SECTION
   ================================ */

@media (max-width: 991px) {
    .about-content {
        text-align: center;
        margin-top: 3rem;
    }
    
    .about-content .section-title {
        text-align: center !important;
    }
    
    .about-content .section-title::after {
        margin: 1rem auto 0; /* Center align on mobile */
    }
}

@media (max-width: 768px) {
    .about-feature-card {
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .about-feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .about-feature-icon i {
        font-size: 1.25rem;
    }
    
    .about-feature-content h5 {
        font-size: 1rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    color: var(--secondary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: Georgia, serif;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.author-location {
    color: #888;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Testimonials Stats */
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

/* Responsive Testimonials */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* ================================
   PRODUCT CARD STYLES
   ================================ */

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(111, 66, 193, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.product-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
}

h2.product-price {
    font-size: 2.5rem;
}

.product-title {
  color: var(--primary-color);
  font-size: 2rem;
  font-weight: 700;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.rating-count {
    font-size: 0.875rem;
    color: #6c757d;
    margin-left: 0.5rem;
}

.main-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 1rem;
  border: 3px solid var(--dark-color);
  cursor: zoom-in;
  display: block;
}
.magnifier-lens {
  display: none;
  position: absolute;
  width: 150px;
  height: 150px;
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  pointer-events: none;
  background-repeat: no-repeat;
  z-index: 20;
}

/* thumbnails */
.thumbnail-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #e0e0e0;
  border-radius: 0.5rem;
  display:block;
}
.thumbnail-item.active .thumbnail-img,
.thumbnail-item:hover .thumbnail-img {
  border-color: var(--secondary-color);
  transform: translateY(-4px);
}

/* ========= Price & badges ========= */
.product-price-original { text-decoration: line-through; color: #666; display:inline-block; }
.product-badge { background: var(--success-color); color: #fff; font-weight:600; border-radius: .5rem; }

/* tag badge */
.tag-badge { background: var(--primary-color); color: #fff; font-size: .9rem; border-radius: 6px; }

/* ========= Buy Button ========= */
.btn-buy {
  display: inline-block;
  align-items: center;
  gap: .6rem;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(199,15,2,0.14);
}

/* ========= Headings / description / details table ========= */
.section-heading { color: var(--primary-color); font-size: 1.25rem; font-weight:600; display:flex; align-items:center; gap:.5rem; margin-bottom:.75rem; }
.product-description p, .product-benefits p { color:#333; font-size:1.05rem; line-height:1.8; }
.product-details-table { font-size:1.05rem; }
.product-details-table td { padding: .75rem 0; }
.product-details-table .fw-bold { color: var(--dark-color); }
.product-details-table .text-muted { color: #666; }

/* ========= Responsive adjustments (optional) ========= */
@media (max-width: 991px) {
  .main-image { height: 340px; }
}
@media (max-width: 575px) {
  .main-image { height: 260px; }
  .thumbnail-img { width: 64px; height: 64px; }
}

/* ================================
   CATEGORY CARD STYLES
   ================================ */

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--gradient-primary);
    color: white;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: white;
    color: var(--primary-color);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-card:hover .category-icon i {
    color: var(--primary-color);
}

.category-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #6c757d;
    margin: 0;
}

.category-card:hover h4,
.category-card:hover p {
    color: white;
}

/* ================================
   BENEFIT CARD STYLES
   ================================ */

.benefit-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* ================================
   CTA SECTION STYLES
   ================================ */

.cta-section {
    background: var(--gradient-bg);
    padding: 5rem 0;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
}

/* ================================
   BUTTON STYLES
   ================================ */

.btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
}

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

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: var(--success-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .cta-title {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .category-card,
    .benefit-card {
        padding: 1.5rem;
    }
    
    .category-icon,
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon i,
    .benefit-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 60px !important;
    }
    
    .navbar {
        padding: 0.5rem 0 !important;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-price {
        font-size: 1.25rem;
    }
}

/* ================================
   UTILITY CLASSES
   ================================ */

.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: #ffc107 !important; }
.text-info { color: #0dcaf0 !important; }

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

.shadow-sm { box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important; }
.shadow { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important; }
.shadow-lg { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important; }

.rounded-3 { border-radius: 1rem !important; }

/* ================================
   ANIMATION UTILITIES
   ================================ */

[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.6s;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: none;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

/* ================================
   CONSULTATION FORM STYLES
   ================================ */

.consultation-form-card {
    background: #FFFBEA;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-header h3 {
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.75rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

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

.form-control,
.form-select {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.1);
    background: white;
}

.form-control:hover,
.form-select:hover {
    border-color: var(--primary-color);
    background: white;
}

/* Purpose Selection Grid */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.purpose-card {
    position: relative;
}

.purpose-checkbox {
    display: none;
}

.purpose-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: var(--dark-color);
}

.purpose-label:hover {
    border-color: var(--primary-color);
    background: rgba(111, 66, 193, 0.05);
    transform: translateY(-2px);
    color: var(--dark-color);
}

.purpose-checkbox:checked + .purpose-label {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.purpose-icon {
    width: 50px;
    height: 50px;
    background: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.purpose-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.purpose-checkbox:checked + .purpose-label .purpose-icon {
    background: rgba(255, 255, 255, 0.2);
}

.purpose-checkbox:checked + .purpose-label .purpose-icon i {
    color: white;
}

.purpose-label span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Form Check Styles */
.form-check {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: rgba(111, 66, 193, 0.05);
    border-color: var(--primary-color);
}

.form-check-input {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(111, 66, 193, 0.25);
}

.form-check-label {
    font-weight: 500;
    color: var(--dark-color);
    cursor: pointer;
}

/* Submit Button */
#submitBtn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 3rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.3);
}

#submitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(111, 66, 193, 0.4);
}

#submitBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* What You'll Receive Section */
.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--gradient-primary);
    color: white;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: white;
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 2rem;
    color: white;
}

.benefit-card:hover .benefit-icon i {
    color: var(--primary-color);
}

.benefit-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.benefit-card:hover h4 {
    color: white;
}

.benefit-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.benefit-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Success Modal */
.success-icon i {
    font-size: 4rem;
    color: #28a745;
}

.modal-content {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.2);
}

.modal-body h3 {
    color: var(--dark-color);
    font-weight: 700;
}

/* FAQ Category Cards (if using FAQ sections) */
.faq-category-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: var(--gradient-primary);
    color: white;
}

.faq-category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.faq-category-card:hover .faq-category-icon {
    background: white;
    transform: scale(1.1);
}

.faq-category-icon i {
    font-size: 1.5rem;
    color: white;
}

.faq-category-card:hover .faq-category-icon i {
    color: var(--primary-color);
}

.faq-category-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.faq-category-card:hover h5 {
    color: white;
}

.faq-category-card p {
    color: #6c757d;
    margin: 0;
    font-size: 0.9rem;
}

.faq-category-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

/* Accordion Styles */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: white;
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.05rem;
    border-radius: 1rem !important;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-primary);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

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

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

.accordion-body {
    padding: 1.5rem;
    background: #f8f9fa;
    color: var(--dark-color);
    line-height: 1.6;
}

.faq-section-title {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
}

/* About & FAQ Page Specific Styles */
.min-vh-75 {
    min-height: 75vh;
}

.content-section .section-title {
    text-align: left !important;
}

.content-section .section-title::after {
    margin: 1rem 0 0 0;
}

.mission-point {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--dark-color);
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.value-card p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.feature-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.feature-content p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 992px) {
    .consultation-form-card {
        padding: 2rem;
    }
    
    .purpose-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .purpose-label {
        padding: 1rem 0.75rem;
    }
    
    .purpose-icon {
        width: 40px;
        height: 40px;
    }
    
    .purpose-icon i {
        font-size: 1rem;
    }
    
    .feature-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .consultation-form-card {
        padding: 1.5rem;
    }
    
    .form-section-title {
        font-size: 1.125rem;
    }
    
    .purpose-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    
    .benefit-card,
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .benefit-icon,
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i,
    .value-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .purpose-grid {
        grid-template-columns: 1fr;
    }
    
    .purpose-label {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
    }
    
    .purpose-icon {
        margin-bottom: 0;
    }
    
    #submitBtn {
        width: 100%;
        padding: 1rem;
    }
}

/* ================================
   PURPOSE SELECTION FIXES
   ================================ */

/* Fix purpose cards selection and hover states */
.purpose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.purpose-card {
    position: relative;
}

.purpose-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.purpose-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: var(--dark-color);
    user-select: none;
}

.purpose-label:hover {
    border-color: var(--primary-color);
    background: rgba(111, 66, 193, 0.05);
    transform: translateY(-2px);
    color: var(--dark-color);
    text-decoration: none;
}

/* Selected state */
.purpose-checkbox:checked + .purpose-label {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.purpose-icon {
    width: 50px;
    height: 50px;
    background: rgba(111, 66, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
}

.purpose-icon i {
    font-size: 1.25rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.purpose-checkbox:checked + .purpose-label .purpose-icon {
    background: rgba(255, 255, 255, 0.2) !important;
}

.purpose-checkbox:checked + .purpose-label .purpose-icon i {
    color: white !important;
}

.purpose-label span {
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.purpose-checkbox:checked + .purpose-label span {
    color: white !important;
}

/* Form validation styles */
.purpose-grid.has-error {
    border: 2px solid #dc3545;
    border-radius: 1rem;
    padding: 1rem;
}

.purpose-error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* ================================
   FORM VALIDATION STYLES
   ================================ */

.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.1) !important;
}

.invalid-feedback {
    display: block !important;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
    font-weight: 500;
}

.form-error-message {
    margin-bottom: 2rem;
    border-radius: 0.75rem;
    border: none;
    background: #f8d7da;
    color: #721c24;
    font-weight: 500;
}

/* ================================
   DROPDOWN HOVER & ARROW FIXES
   ================================ */

/* DESKTOP: Enable hover dropdowns */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    
    .navbar-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        pointer-events: none;
        margin-top: 0;
    }
    
    .navbar-nav .dropdown:hover .dropdown-toggle::after {
        transform: rotate(180deg);
    }
}

/* Remove duplicate Bootstrap arrow - keep only custom arrow */
.navbar-nav .dropdown-toggle::after {
    display: none !important; /* Hide Bootstrap default arrow */
}

/* Custom dropdown arrow styling */
.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    margin-left: 0.5rem;
}

/* Arrow rotation on hover (desktop) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* Mobile dropdown behavior - keep click functionality */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        display: none;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
        margin: 0;
    }
    
    .navbar-nav .dropdown.show .dropdown-menu {
        display: block;
    }
    
    .navbar-nav .dropdown-item {
        padding: 0.75rem 1rem;
        background: rgba(111, 66, 193, 0.05);
        margin: 0.25rem 0.5rem;
        border-radius: 0.5rem;
        border-left: 3px solid var(--primary-color);
    }
    
    .navbar-nav .dropdown-item:hover {
        background: var(--primary-color);
        color: white;
        transform: translateX(5px);
    }
    
    /* Mobile arrow rotation */
    .navbar-nav .dropdown.show .dropdown-arrow {
        transform: rotate(180deg);
    }
}

/* ================================
   MOBILE SCROLLING FIX
   ================================ */

/* Fix mobile body scroll issue */
@media (max-width: 991.98px) {
    body.navbar-open {
        overflow: auto !important; /* Allow scrolling when menu is open */
        position: relative !important;
        height: auto !important;
    }
    
    .navbar-collapse {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: white;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    /* Ensure dropdown menus don't break layout */
    .navbar-nav .dropdown-menu {
        max-height: none;
        overflow: visible;
    }
}

/* Fix potential z-index issues */
.navbar {
    z-index: 1050 !important;
}

.navbar-collapse {
    z-index: 1049;
}

/* ================================
   IMPROVED DROPDOWN STYLING
   ================================ */

.navbar-nav .dropdown-menu {
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
}

.navbar-nav .dropdown-item {
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item i {
    transition: color 0.3s ease;
}

.navbar-nav .dropdown-item:hover i {
    color: white !important;
}

/* Desktop hover effects */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover {
        background: var(--gradient-primary);
        border-radius: 0.5rem;
    }
    
    .navbar-nav .dropdown:hover .nav-link {
        color: #fff !important;
    }
}

/* ===== PRODUCTS PAGE STYLES ===== */

.products-page-section {
    padding: 40px 0 60px 0;
    min-height: 100vh;
}

.products-layout-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    align-items: start;
    min-height: calc(100vh - 200px);
}

.filters-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 100px !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    z-index: 100 !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.filters-sidebar-sticky .card {
    border-radius: 15px;
}

/* Scrollbar */
.filters-sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar-sticky::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filters-sidebar-sticky::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.filters-sidebar-sticky::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* RIGHT: Products */
.products-main-content {
    min-width: 0;
    min-height: 100vh;
}

/* Mobile */
@media (max-width: 991px) {
    .products-layout-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }
    
    .filters-sidebar-sticky {
        position: relative !important;
        top: 0 !important;
        max-height: none !important;
        margin-bottom: 20px;
    }
    
    .products-main-content {
        min-height: auto;
    }
}
.sidebar-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group .form-label {
    color: var(--dark-color);
    font-size: .95rem;
    margin-bottom: .5rem;
    font-weight: 600;
}

.filter-group .form-select {
    border-radius: 12px;
    border: 2px solid #e9ecef;
    padding: .75rem 1rem;
    font-size: .9rem;
    transition: .3s;
    background: #fafbfc;
}

.filter-group .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 .2rem rgba(111,66,193,.25);
    background: #fff;
}

.filter-actions {
    border-top: 2px solid #f8f9fa;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

/* PURPOSE TAGS */
.purpose-tag {
    border-radius: 20px !important;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.purpose-tag.active {
    background: var(--gradient-primary) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* MOBILE FILTER OFFCANVAS */
.offcanvas {
    width: 320px !important;
}

.offcanvas-header {
    background: linear-gradient(135deg, var(--primary-color), #9b59b6);
    color: #fff;
    border-bottom: none;
}

.offcanvas-title {
    color: #fff;
}

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

.offcanvas-body {
    padding: 1.5rem;
}

.mobile-filter-group {
    margin-bottom: 1.5rem;
}

.mobile-filter-actions .btn {
    border-radius: 12px;
    padding: 0.75rem;
    font-weight: 600;
}

/* PRODUCT CARDS */
.product-card {
    transition: .4s;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    border: none;
    background: #fff;
    position: relative;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

.product-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,.15) !important;
}

.product-card img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: .4s;
}

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

.product-card .card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.product-card .card-title {
    color: var(--dark-color);
    margin-bottom: .5rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.price-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: .9rem;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 123, 0, .9), rgba(255, 166, 82, .9));
    opacity: 0;
    transition: .4s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details-btn {
    color: #fff;
    background: rgba(255,255,255,.2);
    border: 2px solid #fff;
    padding: .75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: .9rem;
    transition: .3s;
    backdrop-filter: blur(5px);
}

.view-details-btn:hover {
    background: #fff;
    color: var(--primary-color);
    transform: scale(1.05);
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: .6s;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

.filter-transition {
    transition: .3s;
}

.productsGrid.filtering {
    opacity: .7;
    pointer-events: none;
}

/* CUSTOM SCROLLBARS */
.filters-sidebar::-webkit-scrollbar,
.modal-scrollable-content::-webkit-scrollbar {
    width: 8px;
}

.filters-sidebar::-webkit-scrollbar-track,
.modal-scrollable-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb,
.modal-scrollable-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.filters-sidebar::-webkit-scrollbar-thumb:hover,
.modal-scrollable-content::-webkit-scrollbar-thumb:hover {
    background: #5a2d91;
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .modal-content {
        height: 95vh;
        max-height: none;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-header-section {
        padding: 1.5rem 1.5rem 0;
    }
    
    .modal-scrollable-content {
        padding: 1rem 1.5rem !important;
    }
    
    .modal-actions-section {
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .product-card img {
        height: 240px;
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .modal-image-section {
        height: 50vh;
    }
    
    .modal-details-section {
        height: 50vh;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .btn-close-custom {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.pure-css-ticker{background:var(--primary-color);color:#fff;padding:10px 0;overflow:hidden;white-space:nowrap}
.ticker-track{display:inline-flex;animation:pure-scroll 15s linear infinite;white-space:nowrap;width:max-content}
.ticker-item{display:inline-flex;align-items:center;padding:0 40px;font-weight:500;font-size:14px;white-space:nowrap}
.ticker-item i{margin-right:8px;color:#FFD700}
@keyframes pure-scroll{0%{transform:translateX(0)}100%{transform:translateX(-33.33%)}}
.pure-css-ticker:hover .ticker-track{animation-play-state:paused}
@media(max-width:768px){.ticker-item{padding:0 30px;font-size:13px}.ticker-track{animation-duration:15s}}
@media(max-width:576px){.ticker-item{padding:0 25px;font-size:12px}.ticker-track{animation-duration:12s}}


/* Amazon-Style Search Dropdown */
.search-box {
    position: relative;
}

#product-search {
    width: 100%;
    padding: 12px 45px 12px 15px;
    font-size: 16px;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    outline: none;
    transition: all 0.3s ease;
}

#product-search:focus {
    border-color: var(--dark-color);
    box-shadow: 0 4px 12px rgba(199, 15, 2, 0.2);
}

/* Amazon-Style Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.search-dropdown.active {
    display: block !important;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background 0.2s ease;
    gap: 12px;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid #eee;
}

.search-result-details {
    flex-grow: 1;
}

.search-result-name {
    font-weight: 500;
    font-size: 14px;
    color: #111;
    margin-bottom: 4px;
}

.search-highlight {
    background: #ffeaa7;
    font-weight: 600;
    padding: 0 2px;
}

.search-result-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
}

.search-result-original-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-left: 8px;
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: #666;
}

/* Scrollbar styling for dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--dark-color);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .search-dropdown {
        max-height: 400px;
        border-radius: 8px;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .search-result-img {
        width: 50px;
        height: 50px;
    }

    .search-result-name {
        font-size: 13px;
    }

    .search-result-price {
        font-size: 14px;
    }
}

/* ================================
   INFINITE SCROLL LOADING ANIMATION
   ================================ */

#infiniteScrollLoader {
    animation: fadeIn 0.3s ease-in;
}

#endOfProducts {
    animation: fadeIn 0.5s ease-in;
}

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

.spinner-border {
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg);
    }
}

/* ================================
   MOBILE FILTER STYLES
   ================================ */

.mobile-filter-bar {
    position: sticky;
    top: 70px;
    z-index: 99;
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Mobile Filter Modal */
.mobile-filter-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.mobile-filter-modal.active {
    display: block;
}

.mobile-filter-content {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.mobile-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-filter-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-filter-footer {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-filter-footer .btn {
    flex: 1;
}

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

.breadcrumb-item a {
    color: #c70f02;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: #FF7B00;
}

.breadcrumb-item.active {
    color: #666;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999;
}

.thumbnail-item:hover img,
.thumbnail-item.active img {
    border-color: #FF7B00 !important;
    transform: scale(1.05);
    transition: all 0.3s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.4);
    transition: all 0.3s;
}

#magnifierLens {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
}


@media (max-width: 768px) {
    .main-product-image img {
        height: 300px !important;
    }
}

.success-icon i, .failed-icon i {
    animation: scaleIn 0.5s ease;
}

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

.card {
    animation: fadeInUp 0.6s ease;
}

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


/* ================================
   PAYMENT MODAL STYLES
   ================================ */

/* PAYMENT MODAL STYLES - BRAND RED */
.payment-modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    animation: modalSlideUp 0.3s ease;
}

/* Modal Header */
.payment-modal-header {
    background: linear-gradient(135deg, #c70f02 0%, #ff512f 100%);
}

.payment-modal-icon {
    font-size: 2.5rem;
    color: white;
}

.payment-modal-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Form Labels */
.payment-form-label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
}

.payment-icon {
    color: #c70f02;
}

/* Form Inputs */
.payment-form-input {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
}

.payment-form-input:focus {
    border-color: #c70f02 !important;
    box-shadow: 0 0 0 0.2rem rgba(199, 15, 2, 0.15) !important;
}

/* Amount Box */
.payment-amount-box {
    background: #FFF8F0;
    border: 2px dashed #c70f02;
    border-radius: 12px;
}

.payment-amount-label {
    color: #666;
    font-weight: 600;
}

.payment-amount-value {
    color: #c70f02;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Submit Button */
.payment-submit-btn {
    background: linear-gradient(135deg, #c70f02 0%, #ff512f 100%);
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(199, 15, 2, 0.3);
    transition: all 0.3s ease;
}

.payment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 15, 2, 0.4);
    background: linear-gradient(135deg, #d81002 0%, #ff6040 100%);
}

/* Security Text */
.payment-security-text {
    font-size: 0.85rem;
}

.payment-security-icon {
    color: #28a745;
}

/* Modal Animation */
@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ================================
   PAYMENT SUCCESS/FAILED PAGE
   ================================ */

.payment-result-section {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFD9B8 100%);
    min-height: 80vh;
}

.payment-result-card {
    animation: fadeInUp 0.6s ease;
}

.payment-success-icon i {
    font-size: 5rem;
    color: #28a745;
    animation: scaleIn 0.5s ease;
}

.payment-failed-icon i {
    font-size: 5rem;
    color: #dc3545;
    animation: scaleIn 0.5s ease;
}

.payment-success-title {
    color: #28a745;
    font-weight: 700;
}

.payment-failed-title {
    color: #dc3545;
    font-weight: 700;
}

.order-details-title {
    color: #FF7B00;
}

.payment-btn-home {
    background: #FF7B00;
    border: none;
}

.payment-btn-home:hover {
    background: #FF8C1A;
}

.payment-btn-shop {
    border-color: #FF7B00;
    color: #FF7B00;
}

.payment-btn-shop:hover {
    background: #FF7B00;
    color: white;
}

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

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

/* ================================
   ADMIN DASHBOARD STYLES
   ================================ */

/* Body */
.dashboard-body {
    background: var(--gradient-bg);
    min-height: 100vh;
    font-family: var(--font-primary);
    padding: 0 !important;
}

/* Dashboard Filters Box */
.dashboard-filters-box {
    background: var(--gradient-bg);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
}

.dashboard-filters-box h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.dashboard-filters-box .form-label {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

/* Login */
.dashboard-login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dashboard-login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    animation: fadeInUp 0.5s ease;
}

.dashboard-login-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.dashboard-login-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.dashboard-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3);
}

/* Dashboard Container */
.dashboard-container {
    padding: 30px 15px;
    display: none;
}

/* Dashboard Header */
.dashboard-header {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dashboard-header h2 {
    color: var(--primary-color);
    font-family: var(--font-display);
    font-weight: 700;
}

/* Logout Button */
.dashboard-logout-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
}

.dashboard-logout-btn:hover {
    opacity: 0.9;
}

/* Stat Cards */
.dashboard-stat-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.dashboard-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.dashboard-stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.dashboard-stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: var(--font-display);
}

.dashboard-stat-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Stat Card Variants */
.dashboard-stat-total {
    border-left: 5px solid var(--primary-color);
}

.dashboard-stat-total .dashboard-stat-icon {
    color: var(--primary-color);
}

.dashboard-stat-success {
    border-left: 5px solid var(--success-color);
}

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

.dashboard-stat-failed {
    border-left: 5px solid var(--dark-color);
}

.dashboard-stat-failed .dashboard-stat-icon {
    color: var(--dark-color);
}

.dashboard-stat-pending {
    border-left: 5px solid #ffc107;
}

.dashboard-stat-pending .dashboard-stat-icon {
    color: #ffc107;
}

.dashboard-stat-revenue {
    border-left: 5px solid var(--secondary-color);
}

.dashboard-stat-revenue .dashboard-stat-icon {
    color: var(--secondary-color);
}

/* Dashboard Card */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dashboard-card h5 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Primary Button */
.dashboard-btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
}

.dashboard-btn-primary:hover {
    opacity: 0.9;
    color: white;
}

/* Table */
.dashboard-table thead {
    background: var(--gradient-bg);
}

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

.dashboard-table tbody tr {
    transition: background 0.2s ease;
}

.dashboard-table tbody tr:hover {
    background: #FFF8F0;
}

/* Badges */
.badge-success {
    background: var(--success-color);
    color: white;
}

.badge-danger {
    background: var(--dark-color);
    color: white;
}

.badge-warning {
    background: #ffc107;
    color: #000;
}

.badge-secondary {
    background: #6c757d;
    color: white;
}

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

/* Responsive */
@media (max-width: 768px) {
    .dashboard-header {
        padding: 15px;
    }
    
    .dashboard-header h2 {
        font-size: 1.5rem;
    }
    
    .dashboard-stat-number {
        font-size: 1.5rem;
    }
}

/* Hero Slider - Image Only */
.hero-slider {
    margin: 0;
    padding: 0;
}

.hero-slider .carousel-inner {
    max-height: 600px;
}

.hero-slider .carousel-item img {
    height: 600px;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

/* Force full image display on mobile */
@media (max-width: 768px) {
    /* Remove any height restrictions */
    .carousel,
    .carousel-inner,
    .carousel-item {
        height: auto !important;
        min-height: unset !important;
        max-height: none !important;
    }
    
    /* Make image fully visible */
    .carousel-item img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        display: block !important;
    }
    
    /* If using Bootstrap carousel */
    .hero-carousel .carousel-item,
    .home-carousel .carousel-item {
        aspect-ratio: unset !important;
    }
}


/* Top Products Section */
.product-name a {
    color: var(--primary-color);
    text-decoration: none;
}
.top-products-section {
    background: var(--gradient-bg);
}

.view-all-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 12px 40px;
    font-weight: 600;
    border-radius: 50px;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 123, 0, 0.3);
    color: white;
}

@media (max-width: 768px) {
    .hero-slider .carousel-inner {
        max-height: 400px;
    }
    
    .hero-slider .carousel-item img {
        height: 400px;
    }
}

.pagination .page-link {
    color: #FF7B00;
    border-color: #FFA652;
}

.pagination .page-item.active .page-link {
    background-color: #FF7B00;
    border-color: #FF7B00;
    color: white;
}

.pagination .page-link:hover {
    background-color: #FFCD90;
    border-color: #FFA652;
    color: #FF7B00;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
}

/* Success Modal - Override global modal height */
#successModal .modal-content {
    height: auto !important;
    max-height: none !important;
}

#successModal .modal-body {
    text-align: center;
    padding: 30px 20px 25px;
}

#successModal .success-icon {
    font-size: 60px;
    color: #25d366;
    margin-bottom: 15px;
    animation: scaleIn 0.5s ease;
}

#successModal h3 {
    color: #c70f02;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

#successModal p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

#successModal .btn {
    margin-top: 5px;
}

/* Mobile specific */
@media (max-width: 991px) {
    #successModal .modal-content {
        height: auto !important;
    }
    
    #successModal .modal-dialog {
        margin: 20px;
    }
    
    #successModal .modal-body {
        padding: 25px 20px;
    }
    
    #successModal .success-icon {
        font-size: 50px;
        margin-bottom: 12px;
    }
    
    #successModal h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    #successModal p {
        font-size: 13px;
        margin-bottom: 18px;
    }
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

/* Product card buttons - stack on mobile */
.product-card-buttons .btn {
    justify-content: center;
}
@media (max-width: 575px) {
    .product-card-buttons {
        flex-direction: column !important;
    }
    
    .product-card-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fix City/Pincode row on mobile - more specific */
#customerDetailsModal .row.mb-3 {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

@media (max-width: 767px) {
    #customerDetailsModal .row.mb-3 .col-md-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0;
    }
    
    #customerDetailsModal .row.mb-3 .col-md-6.mb-3.mb-md-0 {
        margin-bottom: 1rem !important;
    }
}

.track-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(255, 123, 0, 0.4);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
}

.track-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 123, 0, 0.6);
}

.track-btn i {
    font-size: 24px;
}

.track-tooltip {
    position: absolute;
    right: 70px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
}

.track-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: #333;
}

.track-btn:hover .track-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(255, 123, 0, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 123, 0, 0.7), 0 0 0 10px rgba(255, 123, 0, 0.1);
    }
}

@media (max-width: 768px) {
    #trackOrderFloat {
        bottom: 70px;
        right: 15px;
    }
    .track-btn {
        width: 55px;
        height: 55px;
    }
    .track-btn i {
        font-size: 20px;
    }
    .track-tooltip {
        display: none;
    }
}

/* Track Order Page Styles */
.track-order-section {
    background: var(--gradient-bg);
    min-height: 80vh;
    padding: 60px 0;
}

.track-order-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.track-order-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 1.5rem 1.5rem 0 0;
    margin: -2.5rem -2.5rem 2rem -2.5rem;
    text-align: center;
}

.track-order-input {
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.track-order-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(199, 15, 2, 0.1);
}

.track-order-btn {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.track-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(199, 15, 2, 0.3);
    color: white;
}

.order-accordion .accordion-item {
    border: 2px solid var(--primary-color);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.order-accordion .accordion-button {
    background: #FFF8F0;
    font-weight: 600;
    border-radius: 0.75rem;
}

.order-accordion .accordion-button:not(.collapsed) {
    background: var(--gradient-primary) !important;
    color: white !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.order-accordion .accordion-button:not(.collapsed) strong {
    color: white !important;
}

.order-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.order-info-box {
    background: #FFF8F0;
    padding: 1.25rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.shipping-box {
    background: #fff3e0;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
}

.courier-box {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 0.5rem;
    border-left: 4px solid #4caf50;
}

.tracking-code {
    background: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    color: #d84315;
    font-family: monospace;
}

.badge-pending { background: #ffa726; color: white; }
.badge-processing { background: #29b6f6; color: white; }
.badge-packed { background: #ab47bc; color: white; }
.badge-shipped { background: #66bb6a; color: white; }
.badge-delivered { background: #4caf50; color: white; }
.badge-cancelled { background: var(--primary-color); color: white; }

@media (max-width: 576px) {
    .track-order-section {
        padding: 30px 0;
        min-height: auto;
    }
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .track-order-card {
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .track-order-header {
        padding: 1rem;
        font-size: 1.1rem;
        border-radius: 1rem 1rem 0 0;
        margin: 0;
        margin-bottom: 2rem;
    }
    .track-order-input {
        font-size: 0.95rem;
        padding: 0.65rem 1.2rem;
    }
    .track-order-btn {
        padding: 0.65rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }
    .order-accordion .accordion-item {
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
    }
    .input-group {
        flex-direction: column !important;
        gap: 0.75rem;
        width: 100%;
        align-items: stretch !important;
      }
    .track-order-input,
    .track-order-btn {
        width: 100%;
        box-sizing: border-box;
    }
    .track-order-input {
        border-radius: 35px !important;
        margin-bottom: 0.5rem;
        width: 100% !important;
    }
    .track-order-btn {
        margin-top: 0 !important;
        border-radius: 35px !important;
    }

}
.input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100%;
}

.input-group .track-order-input,
.input-group .track-order-btn {
  width: auto;
  flex: 1 1 auto;
}
.input-group .track-order-btn {
  flex: 0 0 auto;
}

@media (max-width: 400px) {
    .track-order-card { padding: 0.5rem; }
    .track-order-header { padding: 0.75rem; }
}


/* Size Selector Styles */
.size-selector-section {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.size-btn {
    padding: 12px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 100px;
}

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

.size-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.size-diameter {
    font-weight: 600;
    font-size: 16px;
}

.size-price {
    font-size: 14px;
    font-weight: 500;
}

.size-btn.active .size-diameter,
.size-btn.active .size-price {
    color: white;
}

@media (max-width: 576px) {
    .size-btn {
        min-width: 85px;
        padding: 10px 12px;
    }
    
    .size-diameter {
        font-size: 14px;
    }
    
    .size-price {
        font-size: 12px;
    }
}