
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --primary: #059669;
    --primary-dark: #064E3B;
    --primary-light: #ECFDF5;
    --accent: #EA580C;
    --accent-light: #FFF7ED;
    --text: #064E3B;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --gold: #F59E0B;
    --card-shadow: 0 4px 24px rgba(6, 78, 59, 0.08);
    --card-shadow-hover: 0 16px 48px rgba(6, 78, 59, 0.18);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Nunito Sans', sans-serif;
    background: var(--primary-light);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
  }

  h1, h2, h3, h4, h5 {
    font-family: 'Rubik', sans-serif;
    line-height: 1.2;
  }

  img { display: block; width: 100%; }

  a { text-decoration: none; color: inherit; }

  /* ─── HEADER ─── */
  
  header {
    justify-content: space-between;
  }
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
  }
  .logo-img {
    height: 58px;
    width: auto;
    display: block;
  }
  header.scrolled .logo-img {
    height: 46px;
  }
  @media (max-width: 767px) {
    .logo-img { height: 48px; }
    header.scrolled .logo-img { height: 40px; }
    .header-left-search { margin-right: 0.5rem; }
    .header-right { margin-left: auto; }
    nav { display: none; }
  }
  @media (min-width: 768px) {
    nav { display: flex; }
    .hamburger { display: none; }
  }

  .header-left-search {
    margin-right: 1rem;
  }

  #main-header nav {
    margin-left: 0;
    margin-right: auto;
  }

  header.scrolled {
    background: rgba(236, 253, 245, 0.92);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(5, 150, 105, 0.15);
    box-shadow: 0 4px 24px rgba(6, 78, 59, 0.08);
  }

  .logo {
    font-family: 'Rubik', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 800;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
  }

  nav {
    display: none;
    gap: 2rem;
    align-items: center;
  }

  nav a {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--text);
    position: relative;
    padding: 4px 0;
    transition: color 0.2s;
  }

  nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
  }

  nav a:hover { color: var(--primary); }
  nav a:hover::after { width: 100%; }

  
  .logo-img {
    height: 52px;
    width: auto;
    display: block;
  }


  header .header-left-search, .header-left-search {
    display: flex;
    align-items: center;
    margin-right: 1rem;
  }

  .search-btn {
    background: none;
    border: none;
    color: #064E3B;
    cursor: pointer;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
  }
  .search-btn:hover { opacity: 0.7; }



  .mini-card-img {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: flex !important;
    align-items: flex-end;
    padding: 0 !important;
    min-height: 140px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  }

  .mini-card-img:hover {
    transform: scale(1.05);
  }

  .mini-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
  }

  .mini-card-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    color: white;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    width: 100%;
  }

  .mini-card-content strong {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .mini-card-content p {
    font-size: 0.8rem;
    opacity: 0.9;
  }

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .cart-btn {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    color: var(--text);
  }

  .cart-btn:hover { background: rgba(5, 150, 105, 0.1); }

  .cart-btn svg { width: 24px; height: 24px; }

  .cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rubik', sans-serif;
    transition: transform 0.2s;
  }

  .cart-badge.bump { transform: scale(1.4); }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
  }

  .hamburger:hover { background: rgba(5, 150, 105, 0.1); }

  .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
  }

  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(236, 253, 245, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
    box-shadow: 0 8px 32px rgba(6, 78, 59, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
  }

  .mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-nav a {
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    font-size: 1rem;
  }

  .mobile-nav a:hover { background: rgba(5, 150, 105, 0.1); color: var(--primary); }

  @media (min-width: 768px) {
    nav { display: flex; }
    .hamburger { display: none; }
  }

  /* ─── BUTTONS ─── */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
  }

  .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.3);
  }

  .btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4);
  }

  .btn-accent {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(234, 88, 12, 0.3);
  }

  .btn-accent:hover {
    background: #C2410C;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4);
  }

  .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
  }

  .btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
  }

  .btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }

  /* ─── FADE-IN ANIMATION ─── */
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .fade-in-delay-1 { transition-delay: 0.1s; }
  .fade-in-delay-2 { transition-delay: 0.2s; }
  .fade-in-delay-3 { transition-delay: 0.3s; }
  .fade-in-delay-4 { transition-delay: 0.4s; }

  /* ─── SECTIONS ─── */
  section { padding: 4rem 1.5rem; }

  .container {
    max-width: 1200px;
    margin: 0 auto;
  }

  .section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: rgba(5, 150, 105, 0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
  }

  .section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 2.5rem;
  }

  .text-center { text-align: center; }

  /* ─── HERO ─── */
  .hero {
    min-height: 100vh;
    background: url('hero-bg.jpg');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    padding: 6rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.08;
  }

  .blob-1 {
    width: 500px;
    height: 500px;
    background: #34D399;
    top: -100px;
    right: -100px;
  }

  .blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    left: 10%;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    gap: 3rem;
    align-items: center;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 0;
  }

  .hero-text { max-width: 600px; }

  .hero-text > *:not(.hero-ctas):not(.hero-stats):not(.hero-badge) {
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }

  .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .hero-badge span { color: #6EE7B7; }

  .hero h1 {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1.25rem;
    line-height: 1.1;
  }

  .hero h1 em {
    font-style: normal;
    color: #6EE7B7;
  }

  .hero p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 480px;
  }

  .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

    .hero-outline {
    background: #2563EB;
    color: white;
    border: 2px solid #2563EB;
  }

  .hero-outline:hover {
    background: #1D4ED8;
    border-color: #1D4ED8;
    transform: translateY(-2px);
  }

  .hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
  }

  .hero-stat {
    color: white;
  }

  .hero-stat strong {
    display: block;
    font-family: 'Rubik', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #6EE7B7;
  }

  .hero-stat span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-visual {
    display: none;
    position: relative;
  }

  .hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    color: white;
  }

  .hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .mini-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
  }

  .mini-card .icon { display: none; }
  .mini-card p { font-size: 0.8rem; opacity: 0.8; }
  .mini-card strong { display: block; font-family: 'Rubik', sans-serif; font-size: 0.95rem; }

  @media (min-width: 1024px) {
    .hero-content { grid-template-columns: 1fr 1fr; }
    .hero-visual { display: block; }
  }

  /* ─── CATEGORY CARDS ─── */
  .categories {
    background: white;
    padding: 4rem 1.5rem;
  }

  .category-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  @media (min-width: 640px) {
    .category-grid { grid-template-columns: 1fr 1fr; }
  }

  .category-card {
    position: relative;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 24px;
    padding: 2.5rem;
    color: white;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.3s;
  }

  .category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(6, 78, 59, 0.3);
  }

  .category-card:hover::before { opacity: 1; }

  .category-card.pet-card {
    background: linear-gradient(135deg, #065F46, #059669);
  }

  .cat-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .category-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .category-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
  }

  .cat-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9rem;
    color: #6EE7B7;
    transition: gap 0.2s;
  }

  .category-card:hover .cat-arrow { gap: 0.75rem; }

  .cat-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.08;
    line-height: 1;
  }

  /* ─── PRODUCTS ─── */
  .products-section {
    padding: 4rem 1.5rem;
  }

  .products-section:nth-child(even) {
    background: white;
  }

  .products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  @media (min-width: 640px) {
    .products-grid { gap: 1.25rem; }
  }

  @media (min-width: 1024px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  }

  .product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
  }

  .product-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
  }

  .product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .product-card:hover .product-img-wrap img {
    transform: scale(1.06);
  }

  .product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-family: 'Rubik', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .product-badge.green {
    background: var(--primary);
  }

  .product-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .product-wishlist:hover { transform: scale(1.1); }

  .product-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .product-title {
    font-family: 'Rubik', sans-serif;
    font-weight: 600;
    font-size: clamp(0.82rem, 2vw, 0.95rem);
    color: var(--text);
    margin-bottom: 0.4rem;
    line-height: 1.3;
  }

  .stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0.5rem;
  }

  .star { color: var(--gold); font-size: 0.8rem; }
  .star.empty { color: #E5E7EB; }

  .rating-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: 4px;
  }

  .product-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
  }

  .product-price {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary-dark);
  }

  .product-price-old {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
  }

  .add-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .add-cart-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1) rotate(90deg);
  }

  /* ─── BUNDLES ─── */
  .bundles-section {
    padding: 4rem 1.5rem;
    background: var(--accent-light);
  }

  .bundles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  @media (min-width: 640px) {
    .bundles-grid { grid-template-columns: 1fr 1fr; }
  }

  .bundle-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: relative;
  }

  .bundle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
  }

  .bundle-img {
    height: 220px;
    position: relative;
    overflow: hidden;
  }

  .bundle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .bundle-card:hover .bundle-img img { transform: scale(1.05); }

  .bundle-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(6, 78, 59, 0.8));
  }

  .bundle-save {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    background: var(--accent);
    color: white;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  }

  .bundle-body {
    padding: 1.5rem;
  }

  .bundle-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }

  .bundle-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
  }

  .bundle-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .bundle-tag {
    background: rgba(5, 150, 105, 0.1);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
  }

  .bundle-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .bundle-price {
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent);
  }

  .bundle-price-old {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: line-through;
    display: block;
  }

  /* ─── TRUST BADGES ─── */
  .trust-section {
    background: white;
    padding: 3.5rem 1.5rem;
  }

  .trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  @media (min-width: 768px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
  }

  .trust-card {
    text-align: center;
    padding: 1.75rem 1rem;
    border-radius: var(--radius);
    background: var(--primary-light);
    transition: var(--transition);
  }

  .trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow);
  }

  .trust-icon {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
  }

  .trust-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary-dark);
  }

  .trust-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
  }

  /* ─── NEWSLETTER ─── */
  .newsletter-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
  }

  .newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E");
  }

  .newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }

  .newsletter-content h2 {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: white;
    margin-bottom: 0.75rem;
  }

  .newsletter-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
  }

  .newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    flex-direction: column;
  }

  @media (min-width: 480px) {
    .newsletter-form { flex-direction: row; }
  }

  .newsletter-input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: white;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
    outline: none;
    transition: border-color 0.2s;
  }

  .newsletter-input::placeholder { color: rgba(255, 255, 255, 0.6); }
  .newsletter-input:focus { border-color: rgba(255, 255, 255, 0.5); }

  /* ─── FOOTER ─── */
  footer {
    background: var(--primary-dark);
    padding: 4rem 1.5rem 2rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  @media (min-width: 640px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  }

  
  @media (max-width: 767px) {
    .hero { min-height: 90vh; background-position: center 20%; }
  }
  @media (max-width: 480px) {
    .hero { min-height: 85vh; padding: 5rem 1rem 3rem; background-position: center 10%; }
  }
.footer-brand .logo { color: white; margin-bottom: 1rem; }

  .footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 260px;
  }

  .social-links {
    display: flex;
    gap: 0.75rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
  }

  .social-link:hover {
    background: var(--primary);
    transform: translateY(-2px);
  }

  .footer-col h4 {
    font-family: 'Rubik', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .footer-links a {
    font-size: 0.88rem;
    transition: color 0.2s;
  }

  .footer-links a:hover { color: #6EE7B7; }

  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
  }

  .footer-bottom-links {
    display: flex;
    gap: 1.5rem;
  }

  .footer-bottom-links a { transition: color 0.2s; }
  .footer-bottom-links a:hover { color: #6EE7B7; }

  /* ─── TOAST ─── */
  .toast {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    background: var(--primary-dark);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 320px;
  }

  .toast.show {
    transform: translateY(0);
    opacity: 1;
  }

  .toast-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .toast-close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
  }

  .toast-close:hover { color: white; }

  /* ─── POPUP ─── */
  .popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .popup-overlay.show {
    opacity: 1;
    pointer-events: all;
  }

  .popup {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .popup-overlay.show .popup {
    transform: scale(1) translateY(0);
  }

  .popup-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 2.5rem 2rem 2rem;
    text-align: center;
    position: relative;
  }

  .popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

  .popup-close:hover { background: rgba(255, 255, 255, 0.25); }

  .popup-emoji {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
  }

  .popup-header h2 {
    color: white;
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .popup-header p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
  }

  .popup-discount {
    display: inline-block;
    background: var(--accent);
    color: white;
    font-family: 'Rubik', sans-serif;
    font-weight: 800;
    font-size: 2.5rem;
    padding: 0.25rem 1.25rem;
    border-radius: 12px;
    margin: 0.75rem 0;
  }

  .popup-body {
    padding: 2rem;
  }

  .popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .popup-input {
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #E5E7EB;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
  }

  .popup-input:focus { border-color: var(--primary); }

  .popup-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.25rem;
  }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--primary-light); }
  ::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }


/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-section {
  padding: 100px 0 60px;
  min-height: 60vh;
}

.back-link {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--primary-dark); }

.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail-layout { grid-template-columns: 1fr; gap: 2rem; }
}

.product-gallery {
  position: sticky;
  top: 100px;
}
@media (max-width: 768px) {
  .product-gallery { position: static; }
}

.product-main-img {
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: var(--card-shadow);
  margin-bottom: 1rem;
}
.product-main-img img {
  width: 100%;
  height: auto;
  display: block;
}

.product-thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}
.thumb {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
}
.thumb:hover { opacity: 0.9; }
.thumb.active { opacity: 1; border-color: var(--primary); }

.product-info { padding-top: 0; }
.product-detail-title {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--text);
  margin: 0.75rem 0 0.5rem;
}
.product-detail-price { font-size: 1.6rem; margin: 1rem 0; }
.product-detail-price .price-current { color: var(--accent); }
.product-detail-price .price-old {
  font-size: 1.1rem;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 0.75rem;
}
.product-detail-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 1rem;
  margin: 1.5rem 0;
}

.variant-selector { margin: 1.5rem 0; }
.variant-label {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: block;
}
.variant-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.variant-option {
  display: block;
  padding: 0.75rem 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 0.9rem;
}
.variant-option:hover { border-color: var(--primary); }
.variant-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.variant-option input { display: none; }
.variant-option small { font-weight: 400; color: var(--text-muted); display: block; font-size: 0.8rem; }

.product-detail-actions { margin: 2rem 0; }
.btn-large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 16px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-accent { background: var(--accent); color: white; }
.btn-accent:hover { background: #d4520a; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234,88,12,0.3); }
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  font-weight: 600;
}

.product-trust {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.loading-spinner, .error-message {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}
.error-message h2 { color: var(--text); margin-bottom: 1rem; }
.error-message p { margin-bottom: 1.5rem; }

.product-card {
  position: relative;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--primary-light);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: var(--accent);
  color: white;
  display: inline-block;
}
.product-badge.green { background: var(--primary); }

.product-body {
  padding: 0.85rem 1rem 0.5rem;
}
.product-title {
  font-family: 'Rubik', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.stars { font-size: 0.75rem; margin-bottom: 0.3rem; }
.star { color: #f59e0b; }
.rating-count { color: var(--text-muted); font-size: 0.75rem; }
.stars.large { font-size: 1rem; margin: 0.5rem 0; }

.price-current {
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}
.price-old {
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: line-through;
  font-size: 0.85rem;
  margin-right: 0.5rem;
}

.product-actions {
  padding: 0 1rem 0.85rem;
}
.quick-add-btn {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid var(--primary);
  background: var(--primary);
  color: white;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.quick-add-btn:hover {
  background: white;
  color: var(--primary);
}

.products-header {
  margin-bottom: 2rem;
  background: var(--primary-dark);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 20px;
}
.products-header .section-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.products-header .section-title {
  color: white;
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  margin: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-family: 'Rubik', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.5rem;
}

.collection-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 2rem;
}

.collection-chip {
  border: 1px solid rgba(4, 120, 87, 0.2);
  border-radius: 999px;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.6rem 1rem;
  text-decoration: none;
  transition: var(--transition);
}

.collection-chip.active,
.collection-chip:hover {
  background: var(--primary);
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

  @media (max-width: 767px) {
    header {
      justify-content: space-between;
    }
    .logo-img { height: 46px; }
    header.scrolled .logo-img { height: 40px; }
    .header-left-search { margin-right: 0.5rem; }
    .header-right { margin-left: auto; }
  }

  .popup-discount-second {
    font-size: 1.6rem;
    margin-top: 0.25rem;
  }
  

  @media (min-width: 769px) {
    .popup { max-width: 380px; }
    .popup-header { padding: 1.75rem 1.5rem 1.25rem; }
    .popup-body { padding: 1.5rem; }
    .popup-emoji { font-size: 2.5rem; margin-bottom: 0.5rem; }
    .popup-header h2 { font-size: 1.3rem; }
    .popup-header p { font-size: 0.85rem; }
    .popup-discount { font-size: 2rem; }
    .popup-input { padding: 0.65rem 1rem; font-size: 0.85rem; }
    .popup-form .btn-accent { padding: 0.65rem 1rem; font-size: 0.85rem; }
  }

  .bundle-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }
  .bundle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
  }
  .bundle-card .bundle-body {
    cursor: default;
  }

  .popup-discount strong { font-weight: 800; }
  .popup-order-text { 
    font-size: 0.8rem; 
    color: rgba(255,255,255,0.7); 
    margin-top: -0.35rem; 
    margin-bottom: 0.5rem; 
    font-weight: 600; 
    letter-spacing: 0.05em; 
  }
