/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #444;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #191919;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #cc00cc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #eee;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  border-bottom: 1px solid #ddd;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-phone {
  font-weight: 700;
  color: #191919;
}

.top-bar-phone:hover {
  color: #cc00cc;
}

/* ===== HEADER ===== */
.site-header {
  background: #191919;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  background: #cc00cc;
  color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background: #111;
  max-height: 500px;
}

.carousel-track {
  position: relative;
  width: 100%;
}

.carousel-slide {
  display: none;
  width: 100%;
}

.carousel-slide.active {
  display: block;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 40px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.carousel-btn:hover {
  background: rgba(204, 0, 204, 0.8);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

.carousel-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #cc00cc;
}

/* ===== ORDER BANNER ===== */
.order-banner {
  background: #191919;
  color: #fff;
  text-align: center;
  padding: 25px 0;
}

.order-banner h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.order-banner a {
  color: #cc00cc;
  font-weight: 800;
}

.order-banner a:hover {
  color: #e600e6;
}

.order-banner p {
  margin-top: 8px;
  font-size: 14px;
  color: #ccc;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 50px 0;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 35px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #cc00cc;
  margin: 12px auto 0;
}

/* ===== PRODUCT GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.product-image {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 15px;
  text-align: center;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-old-price {
  font-size: 13px;
  color: #999;
  margin-bottom: 4px;
}

.product-tiers {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #f8f8f8;
}

.tier-row:first-child {
  background: #191919;
  color: #fff;
}

.tier-row:first-child .tier-weight,
.tier-row:first-child .tier-price {
  color: #fff;
}

.tier-weight {
  font-weight: 500;
  color: #666;
  font-size: 12px;
}

.tier-price {
  font-weight: 700;
  color: #191919;
  font-size: 14px;
}

/* ===== CATEGORY PAGE ===== */
.category-header {
  background: #f8f8f8;
  padding: 30px 0;
  border-bottom: 1px solid #eee;
}

.category-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #191919;
  text-transform: uppercase;
}

.category-count {
  font-size: 14px;
  color: #888;
  margin-top: 5px;
}

.category-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.category-page {
  padding: 40px 0;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar h3 {
  font-size: 16px;
  font-weight: 700;
  color: #191919;
  margin-bottom: 15px;
  text-transform: uppercase;
  padding-bottom: 10px;
  border-bottom: 2px solid #191919;
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 2px;
}

.sidebar-links a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.sidebar-links a:hover,
.sidebar-links a.active {
  background: #191919;
  color: #fff;
}

/* Sort Bar */
.sort-bar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 25px;
}

.sort-bar select {
  font-family: 'Montserrat', sans-serif;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 13px;
  color: #555;
  background: #fff;
  cursor: pointer;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #191919;
  color: #ccc;
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #333;
}

.footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-col a {
  color: #cc00cc;
}

.footer-col a:hover {
  color: #e600e6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 14px;
  color: #ccc;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #cc00cc;
}

.footer-legal {
  padding: 25px 0;
  text-align: center;
}

.prop65, .fda-disclaimer {
  font-size: 11px;
  color: #888;
  margin-bottom: 10px;
  line-height: 1.5;
}

.copyright {
  font-size: 13px;
  color: #666;
  margin-top: 15px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .category-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
  }

  .sidebar h3 {
    width: 100%;
    margin-bottom: 5px;
    border-bottom: none;
    padding-bottom: 0;
  }

  .sidebar-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }

  .sidebar-links li {
    margin: 0;
  }

  .sidebar-links a {
    padding: 6px 12px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 20px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }

  .top-bar-text {
    font-size: 11px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #191919;
    flex-direction: column;
    padding: 15px;
    gap: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #333;
    border-radius: 0;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .logo img {
    height: 45px;
  }

  .hero-carousel {
    max-height: 250px;
  }

  .carousel-slide img {
    max-height: 250px;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 28px;
  }

  .order-banner h2 {
    font-size: 18px;
  }

  .section-title {
    font-size: 22px;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-name {
    font-size: 13px;
  }

  .tier-row {
    font-size: 11px;
    padding: 2px 6px;
  }

  .tier-price {
    font-size: 12px;
  }

  .tier-weight {
    font-size: 11px;
  }

  .category-header h1 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-info {
    padding: 10px;
  }

  .product-name {
    font-size: 12px;
  }

  .tier-row {
    font-size: 10px;
    padding: 2px 4px;
  }

  .tier-price {
    font-size: 11px;
  }
}
