/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --primary: #FF6B35;
    --primary-dark: #E85A2B;
    --primary-light: #FF8555;
    --secondary: #FFB627;
    --accent: #6C5CE7;
    --dark: #1A1A2E;
    --dark-light: #2D2D44;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-lighter: #F3F4F6;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: 'Segoe UI', system-ui, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Navbar Height */
    --nav-height: 82px;
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

/* Offset anchored scroll for fixed navbar */
.section,
.page-header,
section[id] {
    scroll-margin-top: var(--nav-height);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-2xl) 0;
}

.bg-light {
    background: var(--gray-lighter);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .section {
        padding: var(--spacing-xl) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-xs);
}

.section-title {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--dark);
}

.section-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.125rem);
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: var(--spacing-lg);
    }

    .section-title {
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        padding: 0 1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: clamp(0.6rem, 2vw, 0.875rem) clamp(1.2rem, 4vw, 2rem);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

@media (max-width: 480px) {
    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 2px solid var(--gray-light);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-light {
    background: var(--white);
    color: var(--dark);
}

.btn-light:hover {
    background: var(--gray-lighter);
}

.btn-full {
    width: 100%;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-in forwards;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
}

.delay-3 {
    animation-delay: 0.6s;
    opacity: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-transparent {
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
}

.navbar-transparent .nav-link,
.navbar-transparent .brand-text,
.navbar-transparent .cart-icon,
.navbar-transparent .mobile-toggle .bar {
    color: var(--white) !important;
}

.navbar-transparent .mobile-toggle .bar {
    background-color: var(--white);
}

.navbar-transparent.scrolled {
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-transparent.scrolled .nav-link,
.navbar-transparent.scrolled .brand-text,
.navbar-transparent.scrolled .cart-icon,
.navbar-transparent.scrolled .mobile-toggle .bar {
    color: var(--white) !important;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem var(--spacing-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.spark:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
}

.spark:nth-child(2) {
    bottom: 0;
    left: 20%;
    background: var(--secondary);
}

.spark:nth-child(3) {
    bottom: 0;
    right: 20%;
    background: var(--accent);
}

.brand-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--dark);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary);
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    width: 200px;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    width: 250px;
}

@media (max-width: 1024px) {
    .search-input {
        width: 150px;
    }

    .search-input:focus {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .search-input {
        display: none;
    }
}

.search-icon {
    position: absolute;
    right: 1rem;
    pointer-events: none;
}

.cart-btn {
    position: relative;
    padding: 0.5rem;
}

.cart-icon {
    font-size: 1.5rem;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
}

.bar {
    width: 24px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    text-align: center;
    width: 100%;
    padding: 2rem;
}

.mobile-search {
    margin-bottom: 2rem;
}

.mobile-search .search-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.mobile-link:hover {
    color: var(--primary);
    transform: translateX(10px);
}

/* ========================================
   HERO SECTION
   ======================================== */
/* ========================================
   HERO CAROUSEL SECTION
   ======================================== */
.hero-carousel-section {
    position: relative;
    /* Use dynamic viewport height and make section fill full screen */
    min-height: 100dvh;
    height: auto;
    margin-top: 0;
    overflow: hidden;
}

#heroCarousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
    min-height: inherit;
    transition: transform 0.6s ease-in-out !important;
    /* Force the slide animation */
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    will-change: background-image;
}

.hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
    /* Base overlay for readability */
}

.hero-container-centered {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    /* Higher than carousel */
    pointer-events: none;
    /* Allow clicks to pass through to carousel if needed, or set buttons to auto */
}

.hero-content-centered {
    pointer-events: auto;
    /* Enable interaction for buttons */
}

/* On tablet/desktop, center content in the viewport below fixed navbar */
@media (min-width: 768px) {
    .hero-carousel-section {
        /* Keep full-bleed background while giving content exact centering area */
        min-height: 100dvh;
    }

    .hero-container-centered {
        position: absolute;
        top: var(--nav-height);
        right: 0;
        bottom: 0;
        left: 0;
    }
}

.hero-content-centered {
    text-align: center;
    max-width: 850px;
    z-index: 2;
    padding: 1.5rem;
    color: var(--white) !important;
    /* Fixed White Color */
    transition: none;
    /* Remove smooth color transitions */
}

.hero-content-centered .hero-title {
    font-size: clamp(1.5rem, 8vw, 4.5rem);
    /* Adjusted for mobile - smaller minimum */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content-centered .hero-subtitle {
    font-size: clamp(0.875rem, 3.5vw, 1.25rem);
    /* Adjusted for mobile - smaller minimum */
    margin-bottom: 1.5rem;
    opacity: 0.95;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Removed Contrast Helper Classes */

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10;
    /* Higher than content */
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    opacity: 0;
    transition: var(--transition);
}

.hero-carousel-section:hover .carousel-control-prev,
.hero-carousel-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-carousel-section {
        min-height: 100vh;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-carousel-section {
        height: 100dvh;
        min-height: 100dvh;
    }

    .hero-content-centered {
        padding: 1rem 0.75rem;
    }

    .hero-content-centered .hero-title {
        margin-bottom: 0.5rem;
    }

    .hero-content-centered .hero-subtitle {
        margin-bottom: 1rem;
    }

    .hero-cta {
        gap: 0.75rem;
    }

    .hero-cta .btn {
        max-width: 100%;
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
}

/* ========================================
   FEATURES
   ======================================== */
.features {
    margin-top: 0;
    position: relative;
    z-index: 10;
    padding: var(--spacing-lg) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.feature-card {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .features {
        margin-top: -30px;
        padding: var(--spacing-md) 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .feature-card {
        padding: var(--spacing-md);
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .feature-card p {
        font-size: 0.9rem;
    }
}

.feature-card p {
    color: var(--gray);
}

/* ========================================
   CATEGORIES
   ======================================== */
/* Disabled - now using Bootstrap grid
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}
*/

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    /* height: 350px; */
    /* Removed - controlled by inline styles */
    cursor: pointer;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    position: relative;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.4);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: rgba(26, 26, 46, 0.6);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-lg);
    color: var(--white);
    z-index: 1;
}

.category-content h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.category-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.category-card:hover .category-link {
    gap: 1rem;
}

/* ========================================
   WHY CHOOSE US
   ======================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* Ensure section tags and titles don't overflow */
.section-tag {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
}

.section-title {
    max-width: 100%;
    word-break: break-word;
    hyphens: auto;
}

.why-text {
    font-size: clamp(0.95rem, 2.5vw, 1.125rem);
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.why-list {
    margin-bottom: var(--spacing-lg);
}

.why-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    font-size: clamp(0.95rem, 2.5vw, 1.125rem);
    word-break: break-word;
}

.check-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.stats-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

.stat {
    text-align: center;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--gray-lighter);
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--gray);
    font-weight: 500;
}

@media (max-width: 768px) {
    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding: var(--spacing-lg);
    }

    .stat h3 {
        font-size: 1.75rem;
    }
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-card {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    padding: var(--spacing-xl);
    /* Reduced from 2xl for mobile */
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

@media (max-width: 992px) {
    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: var(--spacing-lg);
    }
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    color: var(--white);
    z-index: 1;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-content p {
    opacity: 0.9;
    font-size: 1.125rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   PAGE HEADER
   ======================================== */
/* Sidebar Search */
.search-box-sidebar {
    position: relative;
    width: 100%;
}

.search-box-sidebar .search-input {
    width: 100%;
    padding: 0.75rem 2.8rem 0.75rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.search-box-sidebar .search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.search-box-sidebar button {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    transition: color 0.3s ease;
    padding: 0;
    cursor: pointer;
}

.search-box-sidebar .search-input:focus+button {
    color: var(--primary);
}

.page-header {
    padding: 3rem 0 1.5rem;
    margin-top: var(--nav-height);
    text-align: center;
    background: linear-gradient(135deg, #FFF5F0 0%, #F0F9FF 100%);
    color: var(--dark);
}

.page-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 0.25rem;
}

.page-subtitle {
    font-size: clamp(0.9rem, 3vw, 1rem);
    margin-bottom: 0;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1rem;
        margin-top: 70px;
    }

    .page-title {
        margin-bottom: 0.15rem;
    }
}

/* ========================================
   SHOP PAGE
   ======================================== */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .shop-layout {
        grid-template-columns: 240px 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .shop-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

/* Sidebar */
.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

@media (max-width: 768px) {
    .shop-sidebar {
        position: static;
        top: auto;
    }
}

.filter-group {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.filter-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.filter-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition);
}

.filter-item label:hover {
    color: var(--primary);
}

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.price-range {
    padding: var(--spacing-sm) 0;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-light);
    outline: none;
    margin-bottom: var(--spacing-sm);
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray);
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Products Header */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.products-count {
    font-weight: 500;
    color: var(--gray);
}

.view-toggle {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.view-btn:hover,
.view-btn.active {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
}

/* Products Grid */
/* Products Grid Responsive System */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default: 2 cols for mobile (< 600px) */
    gap: 0.75rem;
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 cols for tablet */
        gap: 1rem;
    }
}

@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        /* 4 cols for laptop */
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
        /* 5 cols for large screens */
    }
}

/* Custom Shop Container */
.shop-container {
    max-width: 95%;
    /* Use more screen width */
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Filters Bar (Non-Sticky) */
.sticky-filters {
    position: relative;
    /* specific request to remove sticky */
    z-index: 99;
    background: var(--white);
    padding: 0.5rem 0;
    /* Minimal padding */
    margin-bottom: 1rem;
    /* Reduced bottom margin */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
}

/* Filter Container Layout */
.filter-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.5rem;
    flex-wrap: nowrap;
    /* Force single line */
}

.search-wrapper {
    flex-grow: 1;
}

.search-box-sidebar .search-input {
    padding: 0.5rem 0.75rem;
    /* Smaller padding */
    height: 36px;
    font-size: 0.9rem;
}

/* Category Toggle & Dropdown */
.btn-category-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--dark);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    height: 40px;
    /* Consistent height */
}

.btn-category-toggle:hover {
    background: var(--primary);
}

.category-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    display: none;
    /* Hidden by default */
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

.category-dropdown-menu.show {
    display: block;
}

/* Unified Filter Toggle & Dropdown */
.btn-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gray-lighter);
    color: var(--dark);
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    height: 40px;
    /* Consistent height */
    white-space: nowrap;
}

.btn-filter-toggle:hover {
    background: var(--gray-light);
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    width: max-content;
    max-width: calc(100vw - 40px);
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
    margin-top: 0.5rem;
}

.filter-dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    width: 100%;
    border: none;
    background: none;
    white-space: nowrap;
    font-size: 0.95rem;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--gray-lighter);
    color: var(--primary);
    padding-left: 1.75rem;
}

/* Mobile responsive dropdown */
@media (max-width: 768px) {
    .filter-dropdown-menu {
        right: 0;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .btn-category-toggle span {
        display: none;
        /* Hide text on very small screens if needed, or keep */
    }

    .btn-category-toggle,
    .btn-filter-toggle {
        padding: 0 0.75rem;
    }
}

@media (min-width: 768px) {
    .filter-container {
        gap: 1rem;
        padding: 0 1rem;
    }

    .search-box-sidebar .search-input {
        padding: 0.75rem 1.25rem;
        height: auto;
        font-size: 1rem;
    }

    .btn-category-toggle {
        height: auto;
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /* .sort-wrapper {
        display: block;
    } */

    /* .mobile-filter-btn {
        display: none;
    } */
}

.category-scroll {
    scrollbar-width: none;
    /* Firefox */
}

.category-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.category-pill {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gray-lighter);
    color: var(--dark);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-pill:hover {
    background: #e2e8f0;
    color: var(--primary);
}

.category-pill.active {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.search-box-sidebar .search-input {
    background: var(--gray-lighter);
    /* Contrast against white bar */
    border: 1px solid transparent;
}

.search-box-sidebar .search-input:focus {
    background: var(--white);
    border-color: var(--primary);
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Mobile Typography & Layout Refinements */
@media (max-width: 600px) {
    .product-info {
        padding: 0.25rem !important;
    }

    .product-name {
        font-size: 0.95rem !important;
        line-height: 1.1;
        margin-bottom: 0;
        height: auto;
        /* Remove fixed height constraint for tighter packing if text is short */
        max-height: 2.2em;
        /* Keep max height safety */
        overflow: hidden;
    }

    .product-price {
        margin-top: 0.1rem;
        margin-bottom: 0.1rem;
        flex-wrap: wrap;
        gap: 0.15rem;
    }

    .current-price {
        font-size: 0.85rem !important;
    }

    .original-price {
        font-size: 0.75rem !important;
    }

    .btn-add-cart {
        padding: 0.25rem;
        /* Minimal padding */
        font-size: 0.75rem;
    }

    /* Ensure cards don't overflow */
    .product-card {
        width: 100%;
        min-width: 0;
    }
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 107, 53, 0.2);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    /* Force square aspect ratio */
    height: auto;
    background: var(--gray-lighter);
    overflow: hidden;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-thumb {
    transform: scale(1.05);
}

.product-info {
    padding: 0.75rem;
    /* Reduced padding */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0;
    line-height: 1.1;
    padding-bottom: 0;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
}

.current-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    /* Tight line height */
}

.original-price {
    font-size: 0.85rem;
    color: var(--gray);
    text-decoration: line-through;
}

.btn-add-cart {
    width: 100%;
    padding: 0.4rem;
    /* Reduced padding */
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #FFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    color: #FFF;
}

.btn-add-cart {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.btn-add-cart:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-add-cart:disabled,
.btn-add-cart[disabled] {
    background: #dc3545 !important;
    cursor: not-allowed !important;
    transform: none !important;
    min-height: 48px;
}

.placeholder-icon {
    font-size: 4rem;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 26, 46, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    color: var(--dark);
    border-radius: var(--radius-full);
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .quick-view-btn {
    transform: translateY(0);
}

.quick-view-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.product-info {
    padding: var(--spacing-lg);
}

.product-name {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-sm);
}

.stars {
    color: var(--secondary);
    font-size: 1rem;
}

.rating-count {
    font-size: 0.875rem;
    color: var(--gray);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 1.125rem;
    color: var(--gray);
    text-decoration: line-through;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0.875rem;
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    border: 2px solid var(--gray-light);
    font-weight: 600;
    transition: var(--transition);
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   ABOUT PAGE
   ======================================== */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

.story-text {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #E5E7EB 0%, #F3F4F6 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.mission-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.mission-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Timeline */
.timeline {
    position: relative;
    padding: var(--spacing-lg) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-light);
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 20px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-year {
    text-align: right;
    padding-right: var(--spacing-xl);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-content {
    padding-left: var(--spacing-xl);
}

.timeline-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--gray);
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
}

.value-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-light);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.value-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: var(--spacing-sm);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.value-card p {
    color: var(--gray);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.team-image {
    width: 100%;
    height: 280px;
}

.team-image .image-placeholder {
    height: 100%;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-lighter) 100%);
    border-radius: 0;
}

.team-info {
    padding: var(--spacing-lg);
    text-align: center;
}

.team-info h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.team-info p {
    color: var(--gray);
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-2xl);
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    align-self: start;
}

.form-header {
    margin-bottom: var(--spacing-xl);
}

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label {
    top: -10px;
    left: 12px;
    font-size: 0.75rem;
    background: var(--white);
    padding: 0 0.5rem;
    color: var(--primary);
}

.form-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;
    transition: var(--transition);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-textarea+.form-label {
    top: 1.5rem;
    transform: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-info {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
}

.form-info p {
    font-size: 0.875rem;
    color: var(--success);
    margin: 0;
}

/* Contact Info */
.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-card>p {
    color: var(--gray);
    margin-bottom: var(--spacing-lg);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.info-item {
    display: flex;
    gap: var(--spacing-md);
}

.info-icon-wrapper {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

.social-connect {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--gray-light);
}

.social-connect h4 {
    margin-bottom: var(--spacing-md);
}

/* Map Placeholder */
.map-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-lighter) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    text-align: center;
    z-index: 1;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Bulk Order Section */
.bulk-order-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.bulk-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.bulk-order-card h2 {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.bulk-order-card p {
    color: var(--gray);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bulk-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

@media (max-width: 1024px) {
    .bulk-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bulk-features {
        grid-template-columns: 1fr;
        padding: var(--spacing-md) 0;
    }
}

.bulk-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--gray-lighter);
    border-radius: var(--radius-md);
}

.bulk-contact {
    font-size: 1.125rem;
    color: var(--dark);
}

.bulk-contact strong {
    color: var(--primary);
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: var(--spacing-md);
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .footer-title {
        font-size: 1.1rem;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--spacing-md);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-info li {
    display: flex;
    gap: var(--spacing-sm);
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    font-size: 1.25rem;
}

.newsletter h5 {
    font-size: 1.125rem;
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transition: var(--transition);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary-dark);
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }



    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bulk-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Navigation */
    .nav-links {
        display: none;
    }

    .nav-actions .search-box {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Categories - now using Bootstrap grid
    .categories-grid {
        grid-template-columns: 1fr;
    }
    */

    /* Why Choose */
    .why-grid {
        grid-template-columns: 1fr;
    }

    /* Mission */
    .mission-grid {
        grid-template-columns: 1fr;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Timeline */
    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-year {
        text-align: left;
        padding-right: 0;
        padding-left: var(--spacing-xl);
    }

    .timeline::before {
        left: 0;
        transform: none;
    }

    .timeline-item::before {
        left: 0;
        transform: none;
    }

    /* Shop */
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: static;
    }



    /* Story */
    .story-grid {
        grid-template-columns: 1fr;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bulk-features {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    /* CTA */
    .cta-card {
        flex-direction: column;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
}

/* ========================================
   FORCE BOOTSTRAP GRID FOR HOMEPAGE
   ======================================== */
.row.row-cols-2>.col,
.row.row-cols-sm-3>.col,
.row.row-cols-md-4>.col,
.row.row-cols-lg-5>.col {
    flex: 0 0 auto !important;
}

.row.row-cols-2>.col {
    width: 50% !important;
}

@media (min-width: 576px) {
    .row.row-cols-sm-3>.col {
        width: 33.333333% !important;
    }
}

@media (min-width: 768px) {
    .row.row-cols-md-4>.col {
        width: 25% !important;
    }
}

@media (min-width: 992px) {
    .row.row-cols-lg-5>.col {
        width: 20% !important;
    }
}

/* Ensure category and product cards don't override */
.category-card,
.product-card {
    width: 100% !important;
    max-width: 100% !important;
}

/* Compact spacing for homepage product cards */
section .product-card .product-info {
    padding: 0.75rem !important;
}

section .product-card .product-name {
    margin-bottom: 0.25rem !important;
    font-size: 0.95rem !important;
}

section .product-card .product-price {
    margin-bottom: 0.5rem !important;
    margin-top: 0 !important;
}

section .product-card form {
    margin-top: 0.5rem !important;
}

section .product-card .btn-add-cart {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.85rem !important;
}

/* Category product count overlay */
.category-count-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.category-card:hover .category-count-overlay {
    opacity: 1;
}

.product-count {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* Show product count on category hover */
.category-card:hover .category-count {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Equal height feature cards */
.features .feature-card {
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Footer contact alignment */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact li i {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Content wrapper for policy pages */
.content-wrapper h2 {
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ========================================
   NAVBAR SOCIAL
   ======================================== */
.nav-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-nav-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.1rem;
    transition: var(--transition);
    border-radius: 50%;
}

.social-nav-link:hover {
    color: var(--primary);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.whatsapp-nav-text {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition);
}

.whatsapp-nav-text:hover {
    color: var(--primary);
}
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       A J A X   C A R T   A N I M A T I O N S 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 . c a r t - b t n   { 
         p o s i t i o n :   r e l a t i v e ; 
 } 
 
 . c a r t - c o u n t . b o u n c e   { 
         a n i m a t i o n :   c a r t B o u n c e   0 . 5 s   c u b i c - b e z i e r ( 0 . 1 7 5 ,   0 . 8 8 5 ,   0 . 3 2 ,   1 . 2 7 5 ) ; 
 } 
 
 @ k e y f r a m e s   c a r t B o u n c e   { 
         0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
         5 0 %   {   t r a n s f o r m :   s c a l e ( 1 . 4 ) ;   } 
         1 0 0 %   {   t r a n s f o r m :   s c a l e ( 1 ) ;   } 
 } 
 
 . f l o a t i n g - p l u s   { 
         p o s i t i o n :   a b s o l u t e ; 
         t o p :   - 1 0 p x ; 
         l e f t :   5 0 % ; 
         t r a n s f o r m :   t r a n s l a t e X ( - 5 0 % ) ; 
         c o l o r :   v a r ( - - p r i m a r y ) ; 
         f o n t - w e i g h t :   8 0 0 ; 
         f o n t - s i z e :   1 . 2 r e m ; 
         p o i n t e r - e v e n t s :   n o n e ; 
         a n i m a t i o n :   f l o a t U p F a d e   1 s   e a s e - o u t   f o r w a r d s ; 
         z - i n d e x :   1 0 0 1 ; 
 } 
 
 @ k e y f r a m e s   f l o a t U p F a d e   { 
         0 %   { 
                 o p a c i t y :   0 ; 
                 t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   0 ) ; 
         } 
         2 0 %   { 
                 o p a c i t y :   1 ; 
                 t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 1 0 p x ) ; 
         } 
         1 0 0 %   { 
                 o p a c i t y :   0 ; 
                 t r a n s f o r m :   t r a n s l a t e ( - 5 0 % ,   - 4 0 p x ) ; 
         } 
 }  
 