/*---------------------------------*\
  #CSS VARIABLES
\*---------------------------------*/

:root {
    /* Color Palette */
    --primary: #4a6fee;  /* Primary blue */
    --primary-dark: #3859d1;
    --primary-light: #eef2ff;
    
    --secondary: #27ae60;  /* Secondary green */
    --secondary-dark: #219653;
    
    --accent: #f85a3e;  /* Accent/CTA orange */
    --accent-dark: #e63e21;
    
    /* Neutral colors */
    --dark: #1a1a2e;
    --gray-dark: #4a4b53;
    --gray: #737380;
    --gray-light: #a0a0a8;
    --light-bg: #f7f7f9;
    --white: #ffffff;
    
    /* Status colors */
    --success: #27ae60;
    --warning: #f39c12;
    --error: #e74c3c;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-xxl: 3rem;     /* 48px */
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index levels */
    --z-nav: 1000;
    --z-dropdown: 1010;
    --z-modal: 1100;

    --medium-gray: #e1e1e8;
    
    /* Rating Colors */
    --star-color: #FFB800;
    
    /* Text Colors */
    --text-dark: #222;
    --text-body: #444;
    --text-muted: #555;
    --text-light: #666;
    --text-lighter: #777;
    --text-lightest: #888;
    
    /* Background Colors */
    --bg-light: #f9fafb;
    --bg-lighter: #fafafa;
    --bg-lightest: #f8f8f8;
    
    /* Border Colors */
    --border-light: #e5e7eb;
    --border-lighter: #eee;
    --border-lightest: #f0f0f0;
    
    /* Status Badge Colors */
    --status-sale-bg: #fee2e2;
    --status-sale-text: #b91c1c;
    --status-new-bg: #dcfce7;
    --status-new-text: #15803d;
    --status-bestseller-bg: #fef2d8;
    --status-bestseller-text: #a87c27;
    
    /* Stock Status Colors */
    --status-in-stock: #16a34a;
    --status-low-stock: #ca8a04;
    
    /* Social Colors */
    --google-blue: #4285F4;
    --facebook-blue: #1877F2;
  }
  
  
  /* Import fonts */
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');
  
  /* Reset */
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--light-bg);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
  }
  
  a:hover {
    color: var(--primary-dark);
  }
  
  ul, ol {
    list-style: none;
  }
  
  button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
  }
  
  button {
    cursor: pointer;
    border: none;
    background: none;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
  }
  
  h1 {
    font-size: 2.5rem; /* 40px at 16px base */
    font-weight: 700;
  }
  
  h2 {
    font-size: 2rem; /* 32px */
  }
  
  h3 {
    font-size: 1.5rem; /* 24px */
  }
  
  h4 {
    font-size: 1.25rem; /* 20px */
  }
  
  p {
    margin-bottom: var(--space-md);
  }
  
  .container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 var(--space-md);
  }
  
  section {
    padding: var(--space-xxl) 0;
  }
  
  .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
  }
  
  .section-header h2 {
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
  }
  
  .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 3px;
  }
  
  .section-header p {
    color: var(--gray);
    max-width: 700px;
    margin: var(--space-md) auto 0;
  }
  
  /* Button styles */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
  }
  
  .primary-btn {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(74, 111, 238, 0.3);
  }
  
  .primary-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(74, 111, 238, 0.4);
    color: var(--white);
  }
  
  .secondary-btn {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.25);
  }
  
  .secondary-btn:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
    color: var(--white);
  }
  
  .outline-btn {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
  }
  
  .outline-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
  }
  
  /*---------------------------------*\
    #HEADER STYLES
  \*---------------------------------*/
  
  #main-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-nav);
    padding: var(--space-sm) 0;
    transition: all var(--transition-normal);
  }
  
  #main-header.scrolled {
    box-shadow: var(--shadow-md);
    padding: var(--space-xs) 0;
  }
  
  #main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Logo */
  .logo {
    position: relative;
    z-index: var(--z-nav);
  }
  
  .logo img {
    height: 45px;
    width: auto;
    transition: height var(--transition-normal);
  }
  
  #main-header.scrolled .logo img {
    height: 38px;
  }
  
  /* Mobile menu toggle */
  #mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: var(--z-nav);
  }
  
  #mobile-menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: all var(--transition-fast);
  }
  
  /* Main Navigation */
  #main-nav {
    transition: all var(--transition-normal);
  }
  
  #main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  
  #main-nav a {
    color: var(--gray-dark);
    font-weight: 500;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
  }
  
  #main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-normal);
  }
  
  #main-nav a:hover {
    color: var(--primary);
  }
  
  #main-nav a:hover::after,
  #main-nav a.active::after {
    width: 100%;
  }
  
  #main-nav a.active {
    color: var(--primary);
  }
  
  /* User actions */
  .user-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
  }
  
  /* Search */
  .search-bar {
    position: relative;
  }
  
  .search-bar form {
    display: flex;
    align-items: center;
  }
  
  .search-bar input[type="text"] {
    width: 180px;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border: 1px solid #e1e1e8;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    transition: all var(--transition-fast);
  }
  
  .search-bar input[type="text"]:focus {
    width: 220px;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 111, 238, 0.15);
  }
  
  .search-btn {
    position: absolute;
    right: 8px;
    padding: 0;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .search-btn:hover {
    color: var(--primary);
  }
  
  /* Account & Cart */
  .account-link, .cart-link {
    position: relative;
  }
  
  .account-link a, .cart-link a {
    display: flex;
    align-items: center;
    color: var(--gray-dark);
    gap: var(--space-xs);
    transition: color var(--transition-fast);
  }
  
  .account-link a:hover, .cart-link a:hover {
    color: var(--primary);
  }
  
  .account-link svg, .cart-link svg {
    transition: transform var(--transition-fast);
  }
  
  .account-link a:hover svg, .cart-link a:hover svg {
    transform: scale(1.1);
  }
  
  .account-text, .cart-text {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(248, 90, 62, 0.3);
  }
  
  /*---------------------------------*\
    #HERO SECTION
  \*---------------------------------*/
  
  #hero {
    background-color: var(--primary-light);
    padding: var(--space-xxl) 0;
    position: relative;
    overflow: hidden;
  }
  
  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(74, 111, 238, 0.12), transparent 60%);
  }
  
  .hero-content {
    display: flex;
    align-items: center;
    gap: var(--space-xxl);
  }
  
  .hero-text {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
    line-height: 1.2;
  }
  
  .hero-text p {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--gray);
  }
  
  .hero-cta {
    display: flex;
    gap: var(--space-md);
  }
  
  .hero-image {
    flex: 1;
    position: relative;
  }
  
  .hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-slow);
  }
  
  .hero-image::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 70%);
    filter: blur(7px);
    z-index: -1;
  }
  
  .hero-image:hover img {
    transform: translateY(-8px);
  }
  
  /*---------------------------------*\
    #BENEFITS SECTION
  \*---------------------------------*/
  
  #benefits {
    padding: var(--space-xl) 0;
    background-color: var(--white);
  }
  
  .benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
  
  .benefit-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    background-color: var(--white);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.05);
  }
  
  .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
  }
  
  .benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .benefit-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
  }
  
  .benefit-text h3 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--dark);
  }
  
  .benefit-text p {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 0;
  }
  
  /*---------------------------------*\
    #FEATURED PRODUCTS SECTION
  \*---------------------------------*/
  
  #featured {
    background-color: var(--light-bg);
    padding: var(--space-xxl) 0;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
  }
  
  .product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
  }
  
  .product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    background-color: var(--accent);
    color: white;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    z-index: 1;
    box-shadow: 0 2px 10px rgba(248, 90, 62, 0.3);
  }
  
  .product-badge.bestseller {
    background-color: var(--secondary);
    box-shadow: 0 2px 10px rgba(39, 174, 96, 0.3);
  }
  
  .product-badge.sale {
    background-color: var(--warning);
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
  }
  
  .product-image {
    height: 200px;
    overflow: hidden;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }
  
  .product-card:hover .product-image img {
    transform: scale(1.08);
  }
  
  .product-details {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }
  
  .product-details h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
  }
  
  .product-card:hover .product-details h3 {
    color: var(--primary);
  }
  
  .product-rating {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-sm);
  }
  
  .stars {
    display: flex;
    gap: 2px;
    color: var(--warning);
  }
  
  .count {
    font-size: 0.8rem;
    color: var(--gray);
    margin-left: var(--space-xs);
  }
  
  .product-price {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .current-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--dark);
  }
  
  .original-price {
    font-size: 0.9rem;
    color: var(--gray-light);
    text-decoration: line-through;
  }
  
  .product-description {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    flex-grow: 1;
  }
  
  .product-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: auto;
  }
  
  .product-actions .btn {
    flex: 1;
    padding: 0.6rem;
    font-size: 0.875rem;
  }
  
  .view-btn {
    background-color: var(--white);
    border: 1px solid #e1e1e8;
    color: var(--gray-dark);
  }
  
  .view-btn:hover {
    background-color: var(--light-bg);
    border-color: var(--gray-light);
    color: var(--dark);
  }
  
  .add-cart-btn {
    background-color: var(--primary);
    color: var(--white);
  }
  
  .add-cart-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 111, 238, 0.25);
  }
  
  .view-all {
    text-align: center;
    margin-top: var(--space-xl);
  }
  
  /*---------------------------------*\
    #CATEGORIES SECTION
  \*---------------------------------*/
  
  #categories {
    padding: var(--space-xxl) 0;
  }
  
  .category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }
  
  .category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    height: 240px;
  }
  
  .category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
  }
  
  .category-image {
    height: 100%;
    width: 100%;
    position: relative;
  }
  
  .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
  }
  
  .category-card:hover .category-image img {
    transform: scale(1.08);
  }
  
  .category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
  }
  
  .category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--space-lg);
    color: var(--white);
    z-index: 1;
  }
  
  .category-content h3 {
    color: var(--white);
    margin-bottom: var(--space-xs);
    font-size: 1.3rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  }
  
  .category-content p {
    font-size: 0.875rem;
    margin-bottom: var(--space-sm);
    opacity: 0.9;
  }
  
  .category-link {
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
  }
  
  .category-link:hover {
    color: var(--white);
    transform: translateX(5px);
    opacity: 0.9;
  }
  
  /*---------------------------------*\
    #PROMO SECTION
  \*---------------------------------*/
  
  #promo {
    background-color: var(--primary-light);
    padding: var(--space-xxl) 0;
  }
  
  .promo-wrapper {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
  }
  
  .promo-content {
    flex: 1;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .promo-content h2 {
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
    color: var(--dark);
  }
  
  .promo-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--gray);
    max-width: 90%;
  }
  
  .promo-features {
    margin-bottom: var(--space-lg);
  }
  
  .promo-features li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-lg);
    position: relative;
    font-size: 1rem;
    color: var(--gray-dark);
  }
  
  .promo-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
  }
  
  .promo-price {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
  }
  
  .price-now {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
  }
  
  .price-original {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--gray-light);
  }
  
  .price-save {
    background-color: var(--accent);
    color: white;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(248, 90, 62, 0.25);
  }
  
  .promo-image {
    flex: 1;
    min-height: 400px;
  }
  
  .promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /*---------------------------------*\
    #TESTIMONIALS SECTION
  \*---------------------------------*/
  
  #testimonials {
    padding: var(--space-xxl) 0;
    background-color: var(--light-bg);
  }
  
  .testimonial-slider {
    display: flex;
    gap: var(--space-lg);
    margin: 0 -1rem;
    padding: 1rem;
    overflow-x: auto;
    /* Hide scrollbar but allow scrolling */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }
  
  .testimonial-card {
    flex: 0 0 calc(33.333% - var(--space-lg));
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    min-width: 260px;
  }
  
  .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
  }
  
  .testimonial-rating {
    color: var(--warning);
    margin-bottom: var(--space-md);
    display: flex;
    gap: 2px;
  }
  
  .testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-dark);
    margin-bottom: var(--space-lg);
    flex-grow: 1;
    font-style: italic;
  }
  
  .testimonial-text::before,
  .testimonial-text::after {
    content: '"';
    color: var(--primary);
    font-size: 1.2em;
    font-weight: 700;
  }
  
  .testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }
  
  .author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--primary-light);
  }
  
  .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .author-info h4 {
    margin-bottom: 0;
    font-size: 1rem;
    color: var(--dark);
  }
  
  .author-info p {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--gray);
  }
  
  /*---------------------------------*\
    #NEWSLETTER SECTION
  \*---------------------------------*/
  
  #newsletter {
    padding: var(--space-xl) 0;
  }
  
  .newsletter-wrapper {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    position: relative;
    overflow: hidden;
  }
  
  .newsletter-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.8;
  }
  
  .newsletter-content {
    flex: 1;
    color: var(--white);
    position: relative;
    z-index: 1;
  }
  
  .newsletter-content h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
    font-size: 2rem;
  }
  
  .newsletter-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 0;
  }
  
  .newsletter-form {
    flex: 1;
    position: relative;
    z-index: 1;
  }
  
  .form-group {
   /* display: flex;*/
    margin-bottom: var(--space-md);
  }
  
  .form-group input[type="email"] {
    flex: 1;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1rem;
    background-color: var(--white);
  }
/*   
  .form-group button {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background-color: var(--accent);
    color: white;
    padding: 0 1.5rem;
    font-weight: 600;
    transition: all var(--transition-fast);
  } */
  
  /* .form-group button:hover {
    background-color: var(--accent-dark);
  } */
  
  .form-policy {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .form-policy input[type="checkbox"] {
    margin-top: 3px;
  }
  
  .form-policy a {
    color: var(--white);
    text-decoration: underline;
  }
  
  .form-policy a:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /*---------------------------------*\
    #FOOTER STYLES
  \*---------------------------------*/
  
  #main-footer {
    background-color: #1a1a2e;
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-md);
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
  }
  
  .footer-column h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
  }
  
  .footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
  }
  
  .footer-column p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }
  
  .contact-info p {
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .contact-info svg {
    color: var(--primary);
  }
  
  .contact-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
  }
  
  .contact-info a:hover {
    color: var(--white);
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin-bottom: var(--space-sm);
  }
  
  .footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: inline-block;
  }
  
  .footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
  }
  
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
  }
  
  .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all var(--transition-fast);
  }
  
  .social-icon:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: var(--white);
  }
  
  .app-links h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
  }
  
  .app-buttons {
    display: flex;
    gap: var(--space-sm);
  }
  
  .app-btn img {
    height: 36px;
    transition: transform var(--transition-fast);
  }
  
  .app-btn:hover img {
    transform: translateY(-3px);
  }
  
  .footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
  }
  
  .payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .payment-methods img {
    height: 24px;
  }
  
  .copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
  }
  
  .legal-links {
    display: flex;
    gap: var(--space-md);
  }
  
  .legal-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: color var(--transition-fast);
  }
  
  .legal-links a:hover {
    color: var(--white);
  }
  
  /*---------------------------------*\
    #STAR STYLING
  \*---------------------------------*/
  
  .star-filled {
    color: #f39c12;
  }
  
  .star-outline {
    color: #f39c12;
  }

  .text-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: transform var(--transition-fast);
}

.text-logo:hover {
    transform: scale(1.05);
}

.logo-smart {
    color: var(--primary);
}

.logo-nest {
    color: var(--dark);
    margin-right: 5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    color: var(--primary);
    margin-left: 3px;
    transform: translateY(-1px);
}

.floating-cart-item {
    pointer-events: none;
  }
  
  .bounce {
    animation: bounce 0.8s ease;
  }
  
  .added {
    background-color: var(--success) !important;
  }

  #hero .hero-image video {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero .hero-image video:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
  }
  
  /* Mobile menu open state */
  body.menu-open {
    overflow: hidden;
  }
  
  /*---------------------------------*\
    #RESPONSIVE STYLES
  \*---------------------------------*/
  
  /* Large devices (desktops, less than 1200px) */
  @media (max-width: 1199.98px) {
    .container {
      max-width: 960px;
    }
  
    h1 {
      font-size: 2.2rem;
    }
  
    h2 {
      font-size: 1.8rem;
    }
  
    .hero-text h1 {
      font-size: 2.6rem;
    }
  
    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* Medium devices (tablets, less than 992px) */
  @media (max-width: 991.98px) {
    .container {
      max-width: 720px;
    }
  
    /* Header adjustments */
    .search-bar {
      display: none; /* Hide search on tablets */
    }
  
    .account-text, .cart-text {
      display: none; /* Hide text, keep icons */
    }
  
    /* Hero adjustments */
    .hero-content {
      flex-direction: column;
      text-align: center;
      gap: var(--space-xl);
    }
  
    .hero-text {
      max-width: 100%;
    }
  
    .hero-cta {
      justify-content: center;
    }
  
    /* Benefits adjustments */
    .benefits-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Product adjustments */
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Category adjustments */
    .category-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
    /* Promo adjustments */
    .promo-wrapper {
      flex-direction: column;
    }
  
    .promo-image {
      min-height: 300px;
      order: -1; /* Image on top */
    }
  
    /* Testimonial adjustments */
    .testimonial-card {
      flex: 0 0 calc(50% - var(--space-lg));
    }
  
    /* Newsletter adjustments */
    .newsletter-wrapper {
      flex-direction: column;
      text-align: center;
      gap: var(--space-lg);
    }
  
    .newsletter-content h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
  
    /* Footer adjustments */
    .footer-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  /* Small devices (landscape phones, less than 768px) */
  @media (max-width: 767.98px) {
    .container {
      max-width: 540px;
    }
  
    /* Mobile Navigation */
    #mobile-menu-toggle {
      display: flex;
    }
  
    #main-nav {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      height: 100vh;
      background-color: var(--white);
      padding: 80px var(--space-lg) var(--space-lg);
      box-shadow: var(--shadow-lg);
      transition: left var(--transition-normal);
      z-index: var(--z-dropdown);
    }
  
    #main-nav.active {
      left: 0;
    }
  
    #main-nav ul {
      flex-direction: column;
      align-items: flex-start;
    }
  
    #main-nav li {
      width: 100%;
      border-bottom: 1px solid rgba(0,0,0,0.05);
    }
  
    #main-nav a {
      display: block;
      padding: var(--space-md) 0;
    }
  
    /* Mobile menu toggle animation */
    #mobile-menu-toggle.active .bar:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }
  
    #mobile-menu-toggle.active .bar:nth-child(2) {
      opacity: 0;
    }
  
    #mobile-menu-toggle.active .bar:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }
  
    /* Hero adjustments */
    .hero-cta {
      flex-direction: column;
      width: 100%;
    }
  
    .hero-cta .btn {
      width: 100%;
    }
  
    /* Product grid adjustments */
    .product-grid {
      grid-template-columns: 1fr;
    }
  
    /* Category grid adjustments */
    .category-grid {
      grid-template-columns: 1fr;
    }
  
    /* Promo section */
    .promo-content {
      padding: var(--space-lg);
    }
  
    .promo-content h2 {
      font-size: 1.8rem;
    }
  
    /* Testimonial */
    .testimonial-card {
      flex: 0 0 85%;
    }
  
    /* Footer */
    .footer-grid {
      grid-template-columns: 1fr;
    }
  
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  
    .legal-links {
      justify-content: center;
    }
  }
  
  /* Extra small devices (phones, less than 576px) */
  @media (max-width: 575.98px) {
    body {
      font-size: 0.95rem;
    }
  
    h1 {
      font-size: 1.8rem;
    }
  
    h2 {
      font-size: 1.5rem;
    }
  
    h3 {
      font-size: 1.3rem;
    }
  
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }

    .text-logo {
        font-size: 1.4rem;
    }
  
    .section-header p {
      font-size: 0.95rem;
    }
  
    /* Benefits */
    .benefits-grid {
      grid-template-columns: 1fr;
    }
  
    /* Newsletter form */
    .form-group {
      flex-direction: column;
    }
  
    .form-group input[type="email"] {
      border-radius: var(--radius-md);
      margin-bottom: var(--space-sm);
    }
  
    .form-group button {
      border-radius: var(--radius-md);
      width: 100%;
      padding: 0.8rem;
    }
  
    /* Form policy */
    .form-policy {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .form-policy input[type="checkbox"] {
      margin-bottom: var(--space-xs);
    }
  }
