:root {
  --olive: #73805a;
  --olive-dark: #5f6a48;
  --green: #6e9e40;
  --gold: #ffd55f;
  --coral: #ed624f;
  --text: #1e2a2f;
  --muted: #707070;
  --light: #fafafa;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(30, 42, 47, 0.08);
  --radius: 8px;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Oswald", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3, h4, .display-font {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Top header */
.top-header {
  background: var(--gold);
  font-size: 0.92rem;
}

.top-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
  padding: 0.4rem 0;
}

.top-contacts,
.top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-contacts a,
.top-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--olive);
  font-weight: 600;
}

.top-contacts img,
.top-actions img { width: 16px; height: 16px; }

.top-actions .sep { color: var(--olive); opacity: 0.5; }

/* Main header */
.main-header {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .navbar { padding: 0.65rem 0; }
.main-header .navbar-brand img { height: 58px; width: auto; }

.main-header .nav-link {
  color: var(--text) !important;
  font-weight: 600;
  padding: 0.55rem 0.85rem !important;
  text-transform: capitalize;
}

.main-header .nav-link:hover,
.main-header .nav-link:focus { color: var(--coral) !important; }

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.5rem;
}

.nav-icon-btn {
  border: 0;
  background: transparent;
  position: relative;
  padding: 0.35rem;
  display: inline-flex;
}

.nav-icon-btn img { width: 22px; height: 22px; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background: var(--coral);
  color: #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  min-width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.category-mega {
  width: min(720px, 92vw);
  padding: 1rem;
  border: 0;
  box-shadow: var(--shadow);
}

.category-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.category-mega-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.category-mega-item:hover { background: var(--light); }
.category-mega-item img { width: 42px; height: 42px; object-fit: contain; }
.category-mega-item strong { display: block; font-size: 0.95rem; }
.category-mega-item small { color: var(--green); font-weight: 700; display: block; }
.category-mega-item span { color: var(--muted); font-size: 0.8rem; }

.mega-view-all {
  display: block;
  margin-top: 0.85rem;
  text-align: center;
  color: var(--coral);
  font-weight: 700;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 42, 47, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  z-index: 2000;
}

.search-overlay.open { display: flex; }

.search-panel {
  background: #fff;
  width: min(640px, 92vw);
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  animation: fadeUp 0.35s ease;
}

.search-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--muted);
}

.search-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0;
}

.search-form input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.8rem 1rem;
}

.search-form button {
  background: var(--olive);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.quick-search { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Buttons */
.btn-theme,
.btn-coral,
.btn-outline-coral {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: 0.25s ease;
}

.btn-theme { background: var(--gold); color: var(--text); }
.btn-theme:hover { background: #f0c44a; color: var(--text); }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: #da5240; color: #fff; }

.btn-outline-coral {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

.btn-outline-coral:hover {
  background: var(--coral);
  color: #fff;
}

/* Hero */
.hero-banner {
  min-height: min(78vh, 680px);
  background:
    linear-gradient(90deg, rgba(30, 42, 47, 0.72) 0%, rgba(30, 42, 47, 0.28) 55%, rgba(30, 42, 47, 0.1) 100%),
    url("/images/bg-img1.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.08));
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  padding: 4rem 0;
  animation: fadeUp 0.7s ease;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-muted { background: var(--light); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head .eyebrow {
  color: var(--coral);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.section-head p { color: var(--muted); margin: 0; }

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Diversified */
.diversified-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.mosaic figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  min-height: 180px;
}

.mosaic figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
  transition: transform 0.45s ease;
}

.mosaic figure:hover img { transform: scale(1.05); }

.mosaic figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
  color: #fff;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.diversified-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.diversified-copy p { color: var(--muted); margin-bottom: 1.25rem; }

.business-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1rem;
}

.business-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.business-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* Categories */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.6s ease both;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(30, 42, 47, 0.12);
}

.category-card .icon-wrap {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #f3f6ec;
  display: grid;
  place-items: center;
}

.category-card .icon-wrap img { width: 48px; height: 48px; object-fit: contain; }
.category-card h3 { font-size: 1.25rem; margin: 0 0 0.35rem; text-transform: uppercase; }
.category-card .count { color: var(--green); font-weight: 700; margin-bottom: 0.35rem; }
.category-card .desc { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
  animation: fadeUp 0.55s ease both;
}

.product-card:hover { transform: translateY(-5px); }

.product-media {
  position: relative;
  aspect-ratio: 1;
  background: #f3f3f3;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-media img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--coral);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
  text-transform: uppercase;
}

.add-cart-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
}

.product-card:hover .add-cart-btn {
  opacity: 1;
  transform: translateY(0);
}

.add-cart-btn img { width: 18px; height: 18px; }

.product-body { padding: 1rem 1rem 1.2rem; }
.product-title { font-size: 1.05rem; margin: 0 0 0.55rem; min-height: 2.6em; }
.product-title a:hover { color: var(--coral); }

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.price-now { color: var(--green); font-weight: 800; font-size: 1.1rem; }
.price-old { color: var(--muted); text-decoration: line-through; font-size: 0.92rem; }
.price-note, .product-note { color: var(--muted); font-size: 0.85rem; margin: 0.35rem 0 0; }

/* Features */
.feature-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--gold);
  display: grid;
  place-items: center;
  color: var(--olive-dark);
  font-size: 1.6rem;
}

.feature-item h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.feature-item p { color: var(--muted); margin: 0; font-size: 0.92rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(115, 128, 90, 0.0);
  transition: 0.3s ease;
}

.gallery-item:hover::after { background: rgba(115, 128, 90, 0.25); }

/* Testimonials */
.testimonial-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.testimonial-card img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.testimonial-card p {
  font-size: 1.05rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card h4 {
  margin: 0;
  text-transform: uppercase;
  color: var(--olive);
}

.testimonial-card span { color: var(--coral); font-size: 0.9rem; font-weight: 600; }

/* Blog */
.blog-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.5rem;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 920px;
  margin: 0 auto;
}

.blog-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.blog-card-body { padding: 1.75rem 1.75rem 1.75rem 0; align-self: center; }

.blog-date {
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--coral);
  color: #fff;
  border-radius: 8px;
  font-family: var(--font-display);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.blog-date strong { font-size: 1.35rem; }
.blog-date span { font-size: 0.75rem; text-transform: uppercase; }

.blog-meta {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: 1.55rem;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.blog-card p { color: var(--muted); }

/* FAQ */
.faq-banner {
  background:
    linear-gradient(90deg, rgba(115, 128, 90, 0.92), rgba(110, 158, 64, 0.85)),
    url("/images/img25.png") center/cover no-repeat;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
}

.faq-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 8px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 700;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
}

.accordion-button::after { filter: invert(1); }
.accordion-body { color: rgba(255, 255, 255, 0.9); }

/* Newsletter / Footer */
.newsletter-band {
  background: var(--olive);
  color: #fff;
  padding: 2.5rem 0;
}

.newsletter-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter-inner h2 {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-size: 1.8rem;
}

.newsletter-inner p {
  margin: 0;
  max-width: 36rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  min-width: min(100%, 360px);
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1rem;
}

.newsletter-form button {
  background: var(--coral);
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 0.85rem 1.1rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.site-footer {
  background: #2f3526;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.05);
}

.site-footer h4 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: var(--gold); }

.footer-contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  text-align: center;
  font-size: 0.92rem;
}

/* Inner pages */
.page-hero {
  background:
    linear-gradient(rgba(47, 53, 38, 0.78), rgba(47, 53, 38, 0.78)),
    url("/images/bg-img1.png") center/cover no-repeat;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.breadcrumb-nav {
  display: inline-flex;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.breadcrumb-nav a:hover { color: var(--gold); }

.content-wrap { padding: 3.5rem 0; }

.form-card,
.content-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.form-card .form-control,
.form-card .form-label { font-size: 0.95rem; }
.form-card .form-control:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 0.2rem rgba(110, 158, 64, 0.15);
}

.alert-success-custom {
  background: #eef7e6;
  border: 1px solid #c8e3ad;
  color: #3d6b1d;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
}

.service-grid,
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card,
.blog-list-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 180px 1fr;
}

.service-card img,
.blog-list-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 180px;
}

.service-card .body,
.blog-list-card .body { padding: 1.25rem; }

.cart-table {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.cart-table th,
.cart-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  vertical-align: middle;
}

.cart-table th {
  background: var(--olive);
  color: #fff;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.auth-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.product-detail-media {
  border-radius: 14px;
  overflow: hidden;
  background: #f3f3f3;
  box-shadow: var(--shadow);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-price {
  font-size: 1.6rem;
  color: var(--green);
  font-weight: 800;
  margin: 1rem 0;
}

.detail-price .old {
  font-size: 1.1rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 500;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeUp 0.6s ease both;
}

/* Responsive */
@media (max-width: 991px) {
  .diversified-grid,
  .blog-card,
  .product-detail,
  .service-card,
  .blog-list-card { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid,
  .feature-row,
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-mega-grid { grid-template-columns: 1fr; }
  .blog-card-body { padding: 1.25rem; }
  .main-header .navbar-brand img { height: 48px; }
}

@media (max-width: 575px) {
  .product-grid,
  .category-grid,
  .feature-row,
  .gallery-grid,
  .footer-grid,
  .service-grid,
  .blog-list-grid,
  .business-list { grid-template-columns: 1fr; }

  .hero-banner { min-height: 560px; }
  .newsletter-form { flex-direction: column; }
  .top-header-inner { justify-content: center; text-align: center; }
}
