/* Base Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #10b981;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-inner {
    text-align: center;
}

.preloader-icon {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.preloader-icon span {
    position: absolute;
    top: 33px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--primary-color);
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.preloader-icon span:nth-child(1) {
    left: 8px;
    animation: preloader1 0.6s infinite;
}

.preloader-icon span:nth-child(2) {
    left: 8px;
    animation: preloader2 0.6s infinite;
}

.preloader-icon span:nth-child(3) {
    left: 32px;
    animation: preloader2 0.6s infinite;
}

.preloader-icon span:nth-child(4) {
    left: 56px;
    animation: preloader3 0.6s infinite;
}

@keyframes preloader1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes preloader3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes preloader2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.navbar ul {
    display: flex;
}

.navbar ul li {
    margin-left: 25px;
}

.navbar ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.navbar ul li a:hover::after,
.navbar ul li a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
}

.search-btn,
.cart-btn {
    font-size: 18px;
    margin-left: 20px;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.cart-btn span {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    margin-left: 20px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    max-width: 500px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-text {
    font-size: 16px;
    color: var(--gray-color);
    margin-bottom: 30px;
}

.hero-btns .btn {
    margin-right: 15px;
}

.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Featured Brands */
.featured-brands {
    padding: 60px 0;
    background-color: #f8fafc;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.brand-item {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.brand-item:hover {
    transform: translateY(-5px);
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    z-index: 1;
}

.product-badge.hot {
    background-color: var(--danger-color);
}

.product-badge.new {
    background-color: var(--success-color);
}

.product-thumb {
    padding: 20px;
    text-align: center;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.product-thumb img {
    max-height: 200px;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-details {
    padding: 20px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-title a:hover {
    color: var(--primary-color);
}

.product-price {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price {
    font-size: 14px;
    color: var(--gray-color);
    text-decoration: line-through;
    margin-left: 10px;
}

.product-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-links {
    display: flex;
}

.product-links a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    transition: var(--transition);
}

.product-links a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Features Section */
.features-section {
    padding: 60px 0;
    background-color: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 14px;
    color: var(--gray-color);
}

/* Newsletter */
.newsletter {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #fff;
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-content {
    max-width: 500px;
}

.newsletter-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
}

.newsletter-text {
    margin-bottom: 0;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--dark-color);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #0f172a;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    padding-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col {
    margin-bottom: 30px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-about {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #94a3b8;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #94a3b8;
}

.payment-methods {
    display: flex;
}

.payment-methods img {
    margin-left: 10px;
    height: 36px;
    background: #f8fafc;
    border-radius: 6px;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    width: 320px;
    height: 100%;
    background-color: #fff;
    padding: 30px;
    transform: translateX(-100%);
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-menu.active .mobile-menu-inner {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-links li {
    margin-bottom: 15px;
}

.mobile-menu-links a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.mobile-menu-links a.active {
    color: var(--primary-color);
}

.mobile-menu-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.mobile-menu-social {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.mobile-menu-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    transition: var(--transition);
}

.mobile-menu-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Search Popup */
.search-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-popup.active {
    opacity: 1;
    visibility: visible;
}

.search-popup-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    top: 50%;
    transform: translateY(-50%) scale(0.9);
    opacity: 0;
    transition: var(--transition);
}

.search-popup.active .search-popup-inner {
    transform: translateY(-50%) scale(1);
    opacity: 1;
}

.search-popup-header {
    margin-bottom: 30px;
    position: relative;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 16px;
    outline: none;
}

.search-form button {
    padding: 0 25px;
    border: none;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background-color: var(--primary-dark);
}

.search-popup-close {
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

/* Search Results */
.search-results {
    padding: 20px 0;
    max-height: 60vh;
    overflow-y: auto;
}

.search-results-grid {
    display: grid;
    gap: 15px;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-result-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
    background-color: #fff;
    border-radius: 4px;
}

.search-result-info {
    flex: 1;
}

.search-result-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
}

.search-result-info p {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.search-result-category {
    display: inline-block;
    font-size: 12px;
    background-color: rgba(37, 99, 235, 0.2);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
}

.search-results>p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: 20px 0;
}

/* Barba.js Transitions */
.barba-container {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.barba-container--leaving {
    opacity: 0;
}

.barba-container--entering {
    opacity: 1;
}

/* Product Detail Page */
.product-detail {
    padding: 150px 0 80px;
}

.product-detail-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.product-images {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 20px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    padding: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.product-thumbnail:hover,
.product-thumbnail.active {
    border-color: var(--primary-color);
}

.product-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.product-price-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.current-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.old-price-detail {
    font-size: 18px;
    color: var(--gray-color);
    text-decoration: line-through;
    margin-left: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-stars {
    color: var(--warning-color);
    margin-right: 10px;
}

.rating-count {
    color: var(--gray-color);
    font-size: 14px;
}

.product-description {
    margin-bottom: 30px;
    color: var(--gray-color);
    line-height: 1.8;
}

.product-actions {
    display: flex;
    margin-bottom: 30px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background-color: #f1f5f9;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #f1f5f9;
    font-size: 16px;
}

.add-to-cart-btn {
    padding: 0 30px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart-btn:hover {
    background-color: var(--primary-dark);
}

.product-meta {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 500;
    min-width: 120px;
    color: var(--gray-color);
}

.meta-value {
    color: var(--dark-color);
}

/* Product Tabs */
.product-tabs {
    margin-top: 50px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
    flex-wrap: wrap;

}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-color);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--dark-color);
}

.tab-btn.active:after {
    width: 100%;
}

.tab-btn:hover:not(.active) {
    color: var(--primary-color);
}

.tabs-content {
    padding: 20px 0;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-panel.active {
    display: block;
}

.tab-panel h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.tab-panel p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--gray-color);
}

.tab-panel ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.tab-panel li {
    margin-bottom: 10px;
    color: var(--gray-color);
    line-height: 1.8;
}

.tab-panel li strong {
    color: var(--dark-color);
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.cart-modal.active {
    right: 0;
}

.cart-modal-content {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-right: 15px;
    background: #f8fafc;
    border-radius: 5px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.cart-item-quantity {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid #f1f5f9;
    font-size: 16px;
}

.remove-item {
    margin-left: auto;
    color: var(--danger-color);
    width: 40px;
    height: 40px;
    background-color: #ffcece;
    border: none;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.remove-item:hover {
    background-color: #f3abab;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 18px;
    font-weight: 600;
    border-top: 1px solid #eee;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-checkout {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.checkout-form .form-group {
    margin-bottom: 15px;
}

.checkout-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.checkout-form .form-row {
    display: flex;
    gap: 15px;
}

.checkout-form .form-row .form-group {
    flex: 1;
}

/* Cart Icon Badge */
.cart-btn span {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1002;
}

.notification.show {
    opacity: 1;
}

/* Reviews */
.review {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.review:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: var(--dark-color);
}

.review-rating {
    color: var(--warning-color);
}

.review-content p {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background-color: #f8fafc;
}

/* Products Page */
.products-page {
    padding: 150px 0 80px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.products-sorting {
    display: flex;
    align-items: center;
}

.products-sorting label {
    margin-right: 10px;
    font-weight: 500;
}

.products-sorting select {
    padding: 8px 15px;
    border-radius: var(--border-radius);
    border: 1px solid #e2e8f0;
    outline: none;
    cursor: pointer;
}

/* About and Contact Pages start here */
/* Page Hero */
.page-hero {
    padding: 120px 0 80px;
    background-color: #f1f5f9;
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 18px;
    color: var(--gray-color);
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600') no-repeat center center/cover;
    color: #fff;
}

.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x600') no-repeat center center/cover;
    color: #fff;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--gray-color);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 0;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Mission Section */
.mission-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.mission-content h2 {
    margin-bottom: 20px;
}

.mission-list {
    margin-top: 20px;
}

.mission-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.mission-list i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
    margin-top: 3px;
}

.mission-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Team Section */
.team-section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-color);
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 3px solid var(--primary-color);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.position {
    color: var(--gray-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.member-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    margin-bottom: 20px;
}

.rating {
    color: var(--warning-color);
    margin-bottom: 15px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--gray-color);
    line-height: 1.8;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    font-size: 18px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-content p {
    margin-bottom: 0;
    font-size: 14px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Map Section */
.map-section {
    padding-bottom: 80px;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8fafc;
}



.faq-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 18px;
    margin-bottom: 0;
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.8;
}

/* additional css */
/* Enhanced animations */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos="fade-down"] {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate(0);
}

/* Product card hover animation */
.product-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.product-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.08);
}

/* Button hover animation */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}
@keyframes slideIn {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.notification {
    animation: slideIn 0.3s ease-out forwards;
}


/* Responsive Styles */
@media (max-width: 992px) {

    .about-grid,
    .mission-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image,
    .mission-image {
        order: -1;
    }

    .contact-info {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 100px 0 60px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .about-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        width: calc(50% - 15px);
    }
}

@media (max-width: 576px) {
    .page-hero h1 {
        font-size: 28px;
    }

    .stat-item {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* About and Contact Pages End here */

/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }

    .hero-image {
        margin-top: 30px;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-content {
        margin-bottom: 30px;
    }

    .newsletter-form {
        max-width: 100%;
    }

    .product-detail-inner {
        grid-template-columns: 1fr;
    }

    .newsletter-form input {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 24px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .payment-methods {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-btns .btn {
        margin-right: 0;
        margin-bottom: 15px;
        display: block;
        width: 100%;
    }

    .hero-btns .btn:last-child {
        margin-bottom: 0;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-actions {
        flex-direction: column;
    }

    .quantity-selector {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .add-to-cart-btn {
        width: 100%;
    }
}