*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0d0d0d;
  color: #e8e8e8;
  min-height: 100vh;
  padding: 3rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Nav */
.nav { display: flex; gap: 1.2rem; flex-wrap: wrap; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid #1a1a1a; }
.nav a { font-size: 0.8rem; color: #555; text-decoration: none; transition: color 0.15s; }
.nav a:hover { color: #5b8dd9; text-decoration: none; }
.nav a.active { color: #e8e8e8; }

/* Hero */
.hero { text-align: center; padding: 2rem 0 1rem; }
.hero h1 { font-size: 2rem; font-weight: 700; margin-bottom: 0.75rem; line-height: 1.2; }
.hero-sub { color: #888; font-size: 0.95rem; }

/* Payment Terms Banner */
.payment-banner {
  background: #1a1a1a;
  border: 1px solid #333;
  border-left: 4px solid var(--amber, #d69e2e);
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #ccc;
}
.payment-banner strong { color: #e8e8e8; }

/* Filters */
.filters-section { padding: 0.5rem 0; }
#search-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  border: 1px solid #333;
  background: #141414;
  color: #e8e8e8;
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 1rem;
}
#search-input:focus { outline: none; border-color: #5b8dd9; }
#search-input::placeholder { color: #555; }

.filter-row { display: flex; flex-direction: column; gap: 1rem; }
.filter-group { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-label { font-size: 0.75rem; color: #555; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #333;
  background: #141414;
  color: #aaa;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.chip:hover:not(.coming-soon) { border-color: #5b8dd9; color: #e8e8e8; }
.chip.active { border-color: #5b8dd9; background: #1a2a3a; color: #5b8dd9; }
.chip.coming-soon { cursor: default; opacity: 0.4; }
.cs-tag { font-size: 0.65rem; color: #666; }
.chip.use-chip.active { border-color: #38a169; background: #1a2a1a; color: #38a169; }

/* Product Grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1rem 0; }

.product-card {
  border-radius: 12px;
  border: 1px solid #222;
  background: #141414;
  padding: 1rem;
  transition: border-color 0.15s;
}
.product-card:hover { border-color: #444; }

.product-label {
  width: 100%;
  margin-bottom: 0.75rem;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-label img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.product-info h3 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.2rem; color: #e8e8e8; }
.product-info .botanical { font-size: 0.8rem; color: #666; font-style: italic; margin-bottom: 0.5rem; }
.product-info .tagline { font-size: 0.82rem; color: #888; line-height: 1.5; margin-bottom: 0.5rem; }
.product-info .packaging-line { font-size: 0.78rem; color: #888; line-height: 1.5; margin-bottom: 0.4rem; }
.product-info .price { font-size: 0.85rem; color: #aaa; margin-bottom: 0.3rem; }
.product-info .stock-info { font-size: 0.75rem; color: #666; margin-bottom: 0.5rem; }

.add-to-cart-btn {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #5b8dd9;
  background: transparent;
  color: #5b8dd9;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.add-to-cart-btn:hover { background: #5b8dd9; color: #0d0d0d; }
.add-to-cart-btn.added { border-color: #38a169; color: #38a169; }

/* Cart */
.cart-section { padding: 1rem 0; }
.cart-section h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #222;
  gap: 1rem;
}
.cart-item-name { flex: 1; font-size: 0.9rem; color: #ccc; }
.cart-item-controls { display: flex; align-items: center; gap: 0.5rem; }
.cart-item-controls button {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  border: 1px solid #333;
  background: #141414;
  color: #aaa;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: inherit;
}
.cart-item-controls button:hover { border-color: #5b8dd9; color: #e8e8e8; }
.cart-item-qty { min-width: 20px; text-align: center; font-size: 0.9rem; color: #ccc; }
.cart-remove { font-size: 0.7rem; color: #e53e3e; }
.cart-item-total { font-size: 0.9rem; color: #aaa; min-width: 60px; text-align: right; }

.cart-empty { color: #555; font-size: 0.9rem; font-style: italic; }

.cart-total-line {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}
.cart-total-line span:last-child { color: #e8e8e8; font-weight: 600; }

.send-order-btn {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  background: #5b8dd9;
  color: #0d0d0d;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  font-family: inherit;
  transition: background 0.15s;
}
.send-order-btn:hover { background: #7aa8e8; }
.cart-note { font-size: 0.75rem; color: #666; margin-top: 0.5rem; text-align: center; }

/* Consult section */
.consult-section { text-align: center; padding: 2rem 0; }
.consult-section h2 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: #e8e8e8; }
.consult-section p { color: #888; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1.5rem; }
.consult-cta { display: inline-block; padding: 0.6rem 1.5rem; background: #5b8dd9; color: #0d0d0d; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.95rem; transition: background 0.15s; }
.consult-cta:hover { background: #7aa8e8; }
.consult-section ul { list-style: none; padding: 0; margin: 1.5rem 0; line-height: 2.2; font-size: 1.05rem; text-align: left; max-width: 400px; margin-left: auto; margin-right: auto; }
.consult-section ul li { color: #ccc; }
.consult-section ul li a { color: var(--amber, #d69e2e); text-decoration: none; }
.consult-section ul li a:hover { color: var(--amber-hover, #b7791f); }

/* Footer */
.footer-nav {
  display: flex; gap: 3rem; margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid #1a1a1a;
}
.footer-col { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-col h3 { font-size: 0.7rem; font-weight: 600; color: #555; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.3rem; }
.footer-col a { font-size: 0.8rem; color: #666; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: #5b8dd9; }

/* Breakdown */
.breakdown { display: flex; flex-direction: column; gap: 2rem; padding: 1rem 0; }
.breakdown-item h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; color: #e8e8e8; }
.breakdown-item p { color: #888; font-size: 0.95rem; line-height: 1.6; margin-bottom: 0.75rem; }
.breakdown-item ul { padding-left: 1.5rem; }
.breakdown-item li { color: #aaa; font-size: 0.9rem; line-height: 1.6; margin-bottom: 0.4rem; }

/* Image cards */
.image-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.img-card { border-radius: 12px; border: 1px solid #222; overflow: hidden; background: #141414; transition: border-color 0.15s; }
.img-card:hover { border-color: #444; }
.img-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.img-card-link { display: block; text-align: center; padding: 0.75rem; color: #5b8dd9; font-size: 0.85rem; font-weight: 500; text-decoration: none; transition: color 0.15s; }
.img-card-link:hover { color: #7aa8e8; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.6rem 1.5rem; border-radius: 8px;
  font-size: 0.9rem; font-weight: 500; text-decoration: none;
  transition: all 0.15s;
}
.btn-primary { background: #5b8dd9; color: #0d0d0d; }
.btn-primary:hover { background: #7aa8e8; }
.btn-outline {
  border: 1px solid #333; color: #ccc; background: none;
}
.btn-outline:hover { border-color: #5b8dd9; color: #fff; }

/* Product detail */
.detail-hero { text-align: center; padding: 1rem 0; }
.detail-name { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.detail-botanical { font-size: 1rem; color: #888; font-style: italic; margin-bottom: 0.5rem; }
.detail-front-label { font-size: 0.95rem; color: #aaa; font-style: italic; margin-bottom: 1.5rem; }
.detail-section { margin-bottom: 1.5rem; }
.detail-section h2 { font-size: 1rem; font-weight: 600; color: #5b8dd9; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.detail-section p { color: #ccc; line-height: 1.7; font-size: 0.95rem; }
.detail-sizes { font-weight: 600; color: #e8e8e8; }
.detail-price { font-size: 1.2rem; color: #e8e8e8; font-weight: 600; margin: 1.5rem 0; }
.detail-back { display: inline-block; margin-bottom: 1.5rem; color: #5b8dd9; text-decoration: none; font-size: 0.9rem; }
.detail-back:hover { color: #7aa8e8; }
.detail-add-btn {
  width: 100%;
  max-width: 400px;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #5b8dd9;
  background: transparent;
  color: #5b8dd9;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  display: block;
  margin: 0 auto;
}
.detail-add-btn:hover { background: #5b8dd9; color: #0d0d0d; }
.detail-add-btn.added { border-color: #38a169; color: #38a169; }

/* Responsive */
@media (max-width: 768px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .cart-item { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .cart-item-controls { width: 100%; justify-content: space-between; }
}

@media (max-width: 500px) {
  .product-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 1.5rem; }
  .carousel-slide img { height: 200px; }
  .image-cards { grid-template-columns: repeat(2, 1fr); }
  .img-card img { height: 120px; }
}
