:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --background-color: #fafafa;
    --surface-color: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-surface: linear-gradient(135deg, #d1e7dd 0%, #d1e7dd 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Quicksand', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    padding-top: 70px;
    scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -0.025em;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-secondary);
}


.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-size: 1.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    color: var(--primary-dark) !important;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-brand:hover::after {
    width: 100%;
}

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

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(99, 102, 241, 0.1);
}


.btn {
    font-weight: 500;
    border-radius: 0.75rem;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

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

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}


.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 2rem 2rem;
    margin-bottom: 2rem;
}

.carousel {
    border-radius: 0 0 2rem 2rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.carousel-item {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
}

.carousel-caption h1,
.carousel-caption h2 {
    color: black !important;
    margin-bottom: 1rem;
}

.carousel-caption p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.carousel-indicators {
    display: none;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(99, 102, 241, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

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

.carousel-control-prev,
.carousel-control-next {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    margin: auto 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}


.card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    overflow: hidden;
    background: var(--surface-color);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}


.categories-section {
    padding: 2rem 0;
}

.categories-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.featured-products {
    
    padding: 2rem 0;
    background: var(--gradient-surface);
}

.featured-products h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-card {
    position: relative;
    overflow: hidden;
}

.product-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .btn {
    width: 100%;
    margin-top: 1rem;
}


.newsletter-section {
    background: var(--gradient-primary);
    color: white;
    padding: 3rem 0;
    border-radius: 2rem;
    margin: 2rem 0;
}

.newsletter-section h2 {
    color: white;
    font-weight: 700;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.newsletter-section .form-control {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.newsletter-section .form-control:focus {
    box-shadow: var(--shadow-lg);
    outline: none;
}

.newsletter-section .btn {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 1rem;
    padding: 1rem 2rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.newsletter-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}


.trust-section {
    padding: 2rem 0;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--surface-color);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.trust-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.trust-item i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.trust-item h3 {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}


footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

footer h5 {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

footer a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-brand h5 {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    width: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}



.footer-newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 0.5rem 0 0 0.5rem;
}

.footer-newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: none;
    color: white;
}

.footer-newsletter .btn {
    border-radius: 0 0.5rem 0.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-newsletter .btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.payment-methods {
    color: rgba(255, 255, 255, 0.8);
}

.payment-methods i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: var(--secondary-color);
}


.input-group {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.input-group .form-control {
    border: none;
    padding: 0.75rem 1rem;
}

.input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.input-group .btn {
    border-radius: 0 1rem 1rem 0;
    padding: 0.75rem 1rem;
}


.snipcart-checkout {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.snipcart-checkout:hover {
    color: var(--primary-color);
    background-color: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.snipcart-items-count {
    position: absolute;
    top: -1px;
    right: -1px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid white;
}

.cart-count {
    display: none;
}

.cart-count:not(:empty) {
    display: flex;
}


.breadcrumb {
    background: transparent;
    padding: 0.5rem 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
}


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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}


@media (max-width: 768px) {
    .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        margin: 0 1rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 500px;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.75rem;
    }
    
    .categories-section h2,
    .featured-products h2 {
        font-size: 2rem;
    }
    
    .trust-section .col-md-3 {
        margin-bottom: 2rem;
    }
    
    .newsletter-section {
        margin: 2rem 1rem;
        border-radius: 1rem;
    }
}


.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.badge {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

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

.badge.bg-success {
    background: var(--gradient-accent) !important;
}

.badge.bg-warning {
    background: var(--gradient-secondary) !important;
}


.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}


@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #111827;
        --surface-color: #164286;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --border-color: #374151;
    }
    
    .navbar {
        background: rgba(31, 41, 55, 0.95) !important;
    }
    
    .card {
        background: var(--surface-color);
    }
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-xl);
    animation: slideInUp 0.5s ease-out;
}

.cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.cookie-description {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.5;
}

.cookie-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.cookie-link:hover {
    color: white;
    opacity: 0.8;
}

.cookie-actions {
    flex-shrink: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.cookie-actions .btn {
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cookie-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-text {
        min-width: auto;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

.text-dark {
    color:rgb(46 117 188) !important;
}
