/* ============================================================
           ROOT VARIABLES
           ============================================================ */
:root {
  --primary: #0a6e3e;
  --primary-light: #0d8a4e;
  --primary-dark: #07522e;
  --secondary: #f59e0b;
  --secondary-light: #fbbf24;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ============================================================
           RESET & BASE
           ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-touch-callout: none;
}

body {
  overflow-x: hidden;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--gray-50);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
           iOS SAFARI FIXES
           ============================================================ */
@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
  .navbar {
    padding-top: env(safe-area-inset-top);
  }
  .page-header {
    padding-top: calc(140px + env(safe-area-inset-top));
  }
  .back-to-top {
    bottom: calc(30px + env(safe-area-inset-bottom));
  }
  .hero-stats {
    -webkit-backdrop-filter: blur(10px);
  }
  input,
  textarea,
  button {
    font-size: 16px;
  }
}

/* ============================================================
           PAGE TRANSITION
           ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99999;
  transform: scaleY(1);
  transform-origin: top;
  pointer-events: none;
  transition: transform 1s cubic-bezier(0.77, 0, 0.18, 1);
}
.page-transition.loaded {
  transform: scaleY(0);
}

/* ============================================================
   NAVBAR
   ============================================================ */
   .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 0 20px;
    background: transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 70px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* ----- LOGO ----- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .brand {
    font-size: 20px;
    font-weight: 800;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.logo-text .brand-sub {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

/* ----- NAV MENU ----- */
.nav-menu {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.3rem 0;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #ffffff;
}

/* ----- QUOTE BUTTON ----- */
.nav-right .quote-btn {
    background: var(--secondary);
    border: none;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 15px rgba(245,158,11,0.35);
}

.nav-right .quote-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245,158,11,0.45);
    background: #d97706;
}

.nav-right .quote-btn:active {
    transform: scale(0.95);
}

/* ----- HAMBURGER ----- */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    padding: 4px;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
           PAGE HEADER
           ============================================================ */
.page-header {
  padding: 110px 16px 40px;
  padding-top: calc(110px + env(safe-area-inset-top, 0));
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(10, 110, 62, 0.1),
    transparent 70%
  );
}

.page-header .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 20px 0;
}

.page-header .badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 10px;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-header h1 {
  font-size: clamp(1.6rem, 4.5vw, 3.5rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.page-header h1 span {
  color: var(--secondary);
}

.page-header .sub-text {
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 580px;
  margin: 0 auto 30px;
  line-height: 1.6;
  padding: 0 10px;
}

/* ============================================================
           HERO STATS
           ============================================================ */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-stat {
  text-align: center;
  padding: 8px 4px;
}

.hero-stat .number {
  font-size: clamp(1.4rem, 2.5vw, 2.6rem);
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1.2;
}

.hero-stat .label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.3;
}

/* ============================================================
           FILTER TABS
           ============================================================ */
.filter-section {
  padding: 20px 12px 10px;
  background: var(--gray-50);
  position: sticky;
  top: 60px;
  z-index: 50;
  background: rgba(248, 250, 252, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.filter-tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  max-width: 800px;
  margin: 0 auto;
  overflow-x: auto;
  padding: 4px 0 25px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
  display: none;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10, 110, 62, 0.3);
}

.filter-tab i {
  margin-right: 5px;
  font-size: 11px;
}

/* ============================================================
           PRODUCTS GRID
           ============================================================ */
.products-section {
  padding: 30px 12px 50px;
  background: var(--gray-50);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  display: flex;
  flex-direction: column;
}

.product-card.hidden {
  display: none;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.product-card .card-image {
  width: 100%;
  height: 200px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .card-image img {
  transform: scale(1.05);
}

.product-card .card-image .category-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-card .card-body {
  padding: 18px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card .card-body .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.product-card .card-body .rating i {
  color: var(--secondary);
  font-size: 11px;
}

.product-card .card-body .rating span {
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 500;
}

.product-card .card-body .description-wrapper {
  flex: 1;
  margin-bottom: 12px;
}

.product-card .card-body .description {
  color: var(--gray-500);
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.4s ease;
}

.product-card .card-body .description.expanded {
  -webkit-line-clamp: unset;
  overflow: visible;
}

.product-card .card-body .read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: "Inter", sans-serif;
  padding: 4px 0;
  transition: all 0.3s ease;
  margin-top: 4px;
}

.product-card .card-body .read-more-btn:hover {
  color: var(--primary-light);
}

.product-card .card-body .read-more-btn i {
  font-size: 11px;
  transition: transform 0.3s ease;
}

.product-card .card-body .read-more-btn.active i {
  transform: rotate(180deg);
}

.product-card .card-body .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  padding-top: 12px;
  margin-top: auto;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card .card-body .price {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
}

.product-card .card-body .price span {
  font-size: 12px;
  font-weight: 400;
  color: var(--gray-400);
  text-decoration: line-through;
  margin-left: 6px;
}

.product-card .card-body .view-details {
  background: transparent;
  border: 2px solid var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card .card-body .view-details:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(10, 110, 62, 0.3);
}

.product-card .card-body .view-details:active {
  transform: scale(0.95);
}

/* ============================================================
           LOAD MORE
           ============================================================ */
.load-more-container {
  text-align: center;
  padding: 25px 0 5px;
}

.load-more-btn {
  padding: 12px 36px;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: "Inter", sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.load-more-btn:hover {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(10, 110, 62, 0.3);
  transform: translateY(-2px);
}

.load-more-btn:active {
  transform: scale(0.95);
}

.load-more-btn.hidden {
  display: none;
}

/* ============================================================
           EMPTY STATE
           ============================================================ */
.no-products {
  text-align: center;
  padding: 40px 20px;
  grid-column: 1/-1;
  display: none;
}

.no-products i {
  font-size: 40px;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.no-products h3 {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.no-products p {
  color: var(--gray-400);
  font-size: 14px;
}

/* ============================================================
           CTA
           ============================================================ */
.cta-section {
  padding: 60px 16px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(10, 110, 62, 0.08),
    transparent 70%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.cta-content h2 span {
  color: var(--secondary);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.6;
  padding: 0 10px;
}

.cta-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary);
  color: var(--dark);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 25px rgba(245, 158, 11, 0.35);
  text-decoration: none;
}

.cta-content .btn-primary:hover {
  background: #d97706;
  box-shadow: 0 8px 40px rgba(245, 158, 11, 0.5);
  transform: translateY(-3px);
}

.cta-content .btn-primary:active {
  transform: scale(0.95);
}

/* ============================================================
           FOOTER
           ============================================================ */
.footer {
  background: var(--dark);
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1.2fr;
  gap: 30px;
  padding: 0 16px 32px;
}

.footer-brand h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.footer-brand h2 span {
  color: var(--secondary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-col p i {
  color: var(--secondary);
  width: 18px;
  font-size: 13px;
}

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.footer-social a:hover {
  transform: translateY(-4px);
}

.footer-social a.whatsapp:hover {
  background: #25d366;
  color: #ffffff;
}
.footer-social a.instagram:hover {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  color: #ffffff;
}
.footer-social a.facebook:hover {
  background: #1877f2;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px 16px;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

/* ============================================================
           BACK TO TOP
           ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0));
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--dark);
  border: none;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.back-to-top:active {
  transform: scale(0.9);
}

/* ============================================================
           RESPONSIVE - TABLET
           ============================================================ */
@media (max-width: 992px) {
  .hero-stats {
    gap: 10px;
    padding: 16px 12px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* ============================================================
           RESPONSIVE - MOBILE (PHONE + iOS)
           ============================================================ */
@media (max-width: 768px) {
  .navbar {
    padding: 0 12px;
    min-height: 55px;
  }
  .nav-container {
    min-height: 55px;
  }
  .logo img {
    height: 30px;
  }
  .logo-text .brand {
    font-size: 14px;
  }
  .logo-text .brand-sub {
    font-size: 10px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateY(-120%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    padding: 2rem;
    margin: 0;
    padding-top: env(safe-area-inset-top, 20px);
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu li a {
    font-size: 18px;
    color: #ffffff;
  }

  .nav-right {
    display: none;
  }

  body.menu-open {
    overflow: hidden;
    height: 100vh;
    height: -webkit-fill-available;
    touch-action: none;
    position: fixed;
    width: 100%;
  }

  .page-header {
    padding: 90px 12px 30px;
    padding-top: calc(90px + env(safe-area-inset-top, 0));
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }

  .page-header .badge {
    font-size: 9px;
    padding: 3px 12px;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .page-header .sub-text {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 16px 12px;
  }

  .hero-stat .number {
    font-size: 1.4rem;
  }
  .hero-stat .label {
    font-size: 10px;
  }

  .filter-section {
    top: 55px;
    padding: 15px 8px 8px;
  }

  .filter-tab {
    padding: 6px 12px;
    font-size: 10px;
  }
  .filter-tab i {
    font-size: 9px;
    margin-right: 3px;
  }

  .products-section {
    padding: 20px 8px 40px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
  }

  .product-card .card-image {
    height: 150px;
  }

  .product-card .card-body {
    padding: 14px 12px 12px;
  }

  .product-card .card-body h3 {
    font-size: 14px;
  }

  .product-card .card-body .description {
    font-size: 12px;
  }

  .product-card .card-body .price {
    font-size: 15px;
  }
  .product-card .card-body .price span {
    font-size: 11px;
  }
  .product-card .card-body .view-details {
    font-size: 11px;
    padding: 5px 12px;
  }
  .product-card .card-body .read-more-btn {
    font-size: 11px;
  }

  .product-card .card-image .category-tag {
    font-size: 8px;
    padding: 2px 10px;
    top: 8px;
    right: 8px;
  }

  .load-more-btn {
    padding: 10px 28px;
    font-size: 13px;
  }

  .cta-section {
    padding: 40px 12px;
  }
  .cta-content h2 {
    font-size: 1.5rem;
  }
  .cta-content p {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  .cta-content .btn-primary {
    padding: 12px 28px;
    font-size: 13px;
  }

  /* ----- FOOTER MOBILE ----- */
  .footer {
    padding-top: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
    padding: 0 16px 30px;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-col a:hover {
    transform: translateX(0);
  }

  .footer-col p i {
    display: none;
  }

  .footer-brand h2 {
    font-size: 20px;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 13px;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 16px;
    bottom: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0));
  }
}

/* ============================================================
           RESPONSIVE - SMALL MOBILE (iPhone SE, etc)
           ============================================================ */
@media (max-width: 480px) {
  .logo img {
    height: 26px;
  }
  .logo-text .brand {
    font-size: 12px;
  }
  .logo-text .brand-sub {
    font-size: 9px;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  .products-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .product-card .card-image {
    height: 120px;
  }

  .product-card .card-body {
    padding: 10px 8px 10px;
  }

  .product-card .card-body h3 {
    font-size: 12px;
  }

  .product-card .card-body .description {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }

  .product-card .card-body .price {
    font-size: 13px;
  }
  .product-card .card-body .price span {
    font-size: 9px;
  }
  .product-card .card-body .view-details {
    font-size: 9px;
    padding: 4px 10px;
  }
  .product-card .card-body .read-more-btn {
    font-size: 10px;
  }
  .product-card .card-body .rating i {
    font-size: 9px;
  }
  .product-card .card-body .rating span {
    font-size: 9px;
  }
  .product-card .card-image .category-tag {
    font-size: 7px;
    padding: 2px 8px;
    top: 6px;
    right: 6px;
  }

  .filter-tab {
    padding: 5px 10px;
    font-size: 9px;
  }

  .hero-stat .number {
    font-size: 1.2rem;
  }
  .hero-stat .label {
    font-size: 9px;
  }

  .load-more-btn {
    padding: 8px 20px;
    font-size: 11px;
  }

  .cta-content h2 {
    font-size: 1.3rem;
  }
  .cta-content p {
    font-size: 0.8rem;
  }
  .cta-content .btn-primary {
    padding: 10px 22px;
    font-size: 12px;
  }

  .footer-top {
    gap: 16px;
    padding: 0 12px 20px;
  }

  .footer-brand h2 {
    font-size: 17px;
  }

  .footer-brand p {
    font-size: 12px;
  }

  .footer-col h4 {
    font-size: 13px;
  }

  .footer-col a,
  .footer-col p {
    font-size: 12px;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
}

/* ============================================================
           SCROLLBAR
           ============================================================ */
::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--gray-100);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

/* ============================================================
           REDUCE MOTION
           ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
           SELECTION COLOR
           ============================================================ */
::selection {
  background: var(--secondary);
  color: var(--dark);
}
::-moz-selection {
  background: var(--secondary);
  color: var(--dark);
}
