:root {
  --jj-bg: #103b2c;
  --jj-bg-soft: #17513d;
  --jj-gold: #d4b06a;
  --jj-gold-deep: #b68f4e;
  --jj-ivory: #f6f0e4;
  --jj-ink: #1f1f1f;
}

html, body {
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(circle at top right, #2d6d55 0%, var(--jj-bg) 45%, #0a261b 100%);
  color: #f2f2f2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .brand-name, .footer-title, .section-title {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  font-optical-sizing: auto;
}

.top-brand-title,
.site-nav .nav-link,
.btn,
button,
input,
textarea,
select {
  letter-spacing: normal;
}

p, li, span, a, label, input, textarea, select, button {
  font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

.top-header {
  background: rgba(9, 31, 22, 0.92);
  border-bottom: 1px solid rgba(212, 176, 106, 0.25);
}

.top-header .container {
  min-height: 108px;
}

.top-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 104px;
  padding: 0.45rem 0.55rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(212, 176, 106, 0.45);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  text-decoration: none;
}

.top-logo-link:hover,
.top-logo-link:focus-visible {
  border-color: rgba(212, 176, 106, 0.8);
}

.top-logo {
  width: clamp(92px, 10vw, 120px);
  height: auto;
  max-height: 94px;
  object-fit: contain;
  display: block;
}

.brand-strip {
  min-width: 0;
}

.top-brand-title {
  font-family: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--jj-gold);
  font-size: clamp(1.2rem, 2.3vw, 1.9rem);
  line-height: 1.05;
  font-weight: 800;
}

.top-header .small {
  color: rgba(246, 240, 228, 0.82);
}

.social-mini,
.social-pill {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--jj-ivory);
  border: 1px solid rgba(212, 176, 106, 0.55);
  transition: transform .2s ease, background .2s ease;
}

.social-mini:hover,
.social-pill:hover {
  transform: translateY(-2px);
  background: rgba(212, 176, 106, 0.2);
  color: #fff;
}

.site-nav {
  background: rgba(16, 59, 44, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 176, 106, 0.35);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 176, 106, 0.8);
}

.brand-name {
  color: var(--jj-gold);
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
}

.site-nav .nav-link {
  color: #e8dfca;
  font-weight: 600;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--jj-gold);
}

.btn-gold {
  background: linear-gradient(135deg, var(--jj-gold), #efd39f);
  color: #1e201e;
  border: 0;
  font-weight: 700;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #e0bf82, #f3ddb4);
}

.btn-outline-ivory {
  border: 1px solid rgba(246, 240, 228, 0.65);
  color: #f6f0e4;
  font-weight: 600;
}

.btn-outline-ivory:hover {
  background: rgba(246, 240, 228, 0.12);
  color: #fff;
}

.hero-slide {
  min-height: 78vh;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6,22,15,0.88) 0%, rgba(16,59,44,0.7) 55%, rgba(10,38,27,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0 4rem;
}

.hero-heading {
  font-size: clamp(1.8rem, 5vw, 4rem);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  font-weight: 700;
}

.hero-sub {
  max-width: 600px;
  color: rgba(246, 240, 228, 0.93);
  font-size: clamp(.95rem, 2vw, 1.1rem);
  line-height: 1.65;
}

.hero-tag {
  display: inline-block;
  background: var(--jj-gold);
  color: #1e201e;
  font-size: .72rem;
  font-weight: 800;
  border-radius: 20px;
  padding: .28rem .85rem;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.btn-hero {
  padding: .75rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
}

.content-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--jj-ink);
  border-radius: 24px;
  border: 1px solid rgba(212, 176, 106, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Force readable text inside white content cards (overrides inline styles) */
.content-card p,
.content-card li {
  color: #3d3d3d !important;
}

.content-card h5,
.content-card h6 {
  color: #1a5c42 !important;
}

.content-card .section-title {
  color: #1a5c42 !important;
}

.content-card [style*="rgba(246"] {
  color: #4a4a4a !important;
}

.content-card [style*="var(--jj-ivory)"] {
  color: #1f1f1f !important;
}

.content-card [style*="font-family"] {
  color: var(--jj-gold-deep) !important;
}

.content-card .btn-outline-ivory {
  border-color: var(--jj-bg) !important;
  color: var(--jj-bg) !important;
}

.content-card .btn-outline-ivory:hover {
  background: var(--jj-bg) !important;
  color: #fff !important;
}

/* Exception: dark-bg content cards keep light text */
.content-card--dark,
.content-card--dark p,
.content-card--dark li,
.content-card--dark h5,
.content-card--dark h6,
.content-card--dark .section-title,
.content-card--dark [style*="rgba(246"],
.content-card--dark [style*="var(--jj-ivory)"],
.content-card--dark [style*="font-family"] {
  color: unset !important;
}

.content-card--dark .btn-outline-ivory {
  border-color: rgba(246, 240, 228, 0.65) !important;
  color: #f6f0e4 !important;
}

.content-card--dark .btn-outline-ivory:hover {
  background: rgba(246, 240, 228, 0.12) !important;
  color: #fff !important;
}

.section-title {
  color: var(--jj-gold);
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.product-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(212, 176, 106, 0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.product-image {
  height: 240px;
  object-fit: contain;
  width: 100%;
  background: #f8f5ee;
  padding: 6px;
}

.site-footer {
  background: #0d2e22;
  border-top: 1px solid rgba(212, 176, 106, 0.28);
}

.footer-logo {
  width: 84px;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer-link {
  color: #ded3bd;
  text-decoration: none;
  margin-bottom: .2rem;
}

.footer-link:hover {
  color: #fff;
}

.copyright {
  background: #082116;
  color: #c7bca7;
}

.admin-shell {
  min-height: calc(100vh - 220px);
}

.admin-sidebar {
  width: 235px;
  min-width: 235px;
  background: #0c2f22;
  border-right: 1px solid rgba(212, 176, 106, 0.35);
  padding: 1rem;
}

.admin-link {
  display: block;
  color: #efe4cb;
  text-decoration: none;
  border: 1px solid rgba(212, 176, 106, 0.35);
  border-radius: 10px;
  padding: .5rem .7rem;
  margin-bottom: .55rem;
}

.admin-link:hover {
  background: rgba(212, 176, 106, 0.2);
  color: #fff;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  z-index: 999;
  font-size: 2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1db954;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

.map-embed iframe {
  width: 100%;
  border: 0;
  border-radius: 14px;
  min-height: 330px;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .45s ease, transform .45s ease;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 991.98px) {
  .brand-name {
    font-size: 1.4rem;
  }

  .hero-slide {
    min-height: 60vh;
  }

  .hero-content {
    padding: 3.5rem 0 2.5rem;
  }

  .admin-sidebar {
    position: fixed;
    top: 140px;
    left: 0;
    bottom: 0;
    height: auto;
    z-index: 1019;
    overflow-y: auto;
  }

  .cart-nav-link {
    display: inline-flex !important;
  }

  .site-nav .navbar-nav {
    padding: .75rem 0;
    gap: .15rem !important;
  }

  .site-nav .nav-link {
    padding: .6rem .75rem;
    border-radius: 8px;
  }

  .site-nav .nav-link:hover {
    background: rgba(212,176,106,0.1);
  }

  .btn-hero {
    padding: .65rem 1.4rem;
    font-size: .92rem;
  }
}

@media (max-width: 767.98px) {
  .top-header .container {
    min-height: 92px;
  }

  .hero-slide {
    min-height: 55vh;
    background-attachment: scroll;
  }

  .hero-heading {
    font-size: clamp(1.5rem, 6vw, 2.4rem);
  }

  .hero-sub {
    font-size: .9rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
  }

  .content-card {
    border-radius: 16px;
  }

  .product-image {
    height: 200px;
    object-fit: contain;
  }

  .top-logo {
    width: 90px;
    max-height: 72px;
  }

  .top-brand-title {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .top-header .container {
    min-height: auto;
    align-items: center !important;
  }

  .brand-strip {
    gap: .75rem !important;
  }

  .top-header .small {
    font-size: .7rem;
  }

  .brand-name {
    font-size: .95rem;
  }

  .top-logo {
    width: 82px;
    max-height: 64px;
  }

  .top-brand-title {
    font-size: .95rem;
  }

  .footer-logo {
    width: 74px;
  }

  .hero-content {
    padding: 2.5rem 0 2rem;
  }

  .hero-slide {
    min-height: 48vh;
  }

  .content-card {
    border-radius: 14px;
  }

  .product-image {
    height: 185px;
    object-fit: contain;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.65rem;
    right: 12px;
    bottom: 14px;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }
}

/* ===== ECOMMERCE PRODUCT CARDS ===== */

.ec-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  border: 1px solid rgba(212,176,106,0.18);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

.ec-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
  background: #f8f5ee;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform .4s ease;
}

.ec-card:hover .ec-img-wrap img {
  transform: scale(1.07);
}

.ec-badge-new {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--jj-gold);
  color: #1e201e;
  font-size: .65rem;
  font-weight: 800;
  padding: .22rem .65rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
}

.ec-badge-eco {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #22c55e;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  padding: .22rem .6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .4px;
  z-index: 2;
}

.ec-body {
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: .35rem;
}

.ec-rating {
  color: #f59e0b;
  font-size: .75rem;
}

.ec-rating span {
  color: #888;
  font-size: .72rem;
}

.ec-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
}

.ec-desc {
  font-size: .82rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
  flex-grow: 1;
}

.ec-price-row {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: .2rem;
}

.ec-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(135deg, #b68f4e 0%, #d4b06a 100%);
  padding: .2rem .75rem;
  border-radius: 8px;
  display: inline-block;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.ec-free-tag {
  background: #dcfce7;
  color: #166534;
  font-size: .68rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ec-enquire-tag {
  background: #fef3c7;
  color: #92400e;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 12px;
}

.ec-stock {
  font-size: .75rem;
  color: #16a34a;
  font-weight: 600;
}

.ec-actions {
  display: flex;
  gap: .6rem;
  margin-top: .5rem;
}

.btn-cart {
  flex: 1;
  background: linear-gradient(135deg, var(--jj-bg), var(--jj-bg-soft));
  color: var(--jj-gold);
  border: 2px solid var(--jj-gold);
  border-radius: 50px;
  padding: .6rem 1rem;
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.btn-cart:hover {
  background: var(--jj-gold);
  color: #1e201e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212,176,106,0.4);
}

.btn-whatsapp {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #22c55e;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  flex-shrink: 0;
  align-self: center;
  transition: transform .2s, box-shadow .2s;
}

.btn-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(34,197,94,0.4);
  color: #fff;
}

/* Products page banner */
.products-banner {
  background: linear-gradient(135deg, rgba(10,38,27,0.97), rgba(23,81,61,0.95));
  border-bottom: 2px solid rgba(212,176,106,0.3);
  padding: 2.5rem 0 2rem;
}

/* ===== CART BADGE ===== */
.cart-nav-link {
  padding: .45rem .65rem !important;
  font-size: 1.1rem;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--jj-gold);
  color: #1e201e;
  font-size: .62rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* ===== PROFESSIONAL PRODUCT CARDS ===== */
.product-card {
  position: relative;
}

.product-card .product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--jj-gold);
  color: #1e201e;
  font-size: .68rem;
  font-weight: 800;
  border-radius: 20px;
  padding: .2rem .65rem;
  text-transform: uppercase;
  letter-spacing: .4px;
  z-index: 2;
}

.product-card .product-image {
  transition: transform .35s ease;
}

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

/* ===== ADMIN DASHBOARD STATS ===== */
.dash-stat {
  background: rgba(255,255,255,0.97);
  border-radius: 14px;
  border: 1px solid rgba(212,176,106,0.2);
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.dash-stat-value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--jj-ink);
}

.dash-stat-label {
  font-size: .78rem;
  color: #777;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}

/* ===== TRUST BADGES ===== */
.trust-strip {
  background: rgba(255,255,255,0.06);
  border-top: 1px solid rgba(212,176,106,0.15);
  border-bottom: 1px solid rgba(212,176,106,0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: rgba(246,240,228,0.85);
  font-size: .88rem;
  font-weight: 600;
}

.trust-item i {
  color: var(--jj-gold);
  font-size: 1.1rem;
}

/* ===== ENHANCED BUTTONS ===== */
.btn-gold {
  letter-spacing: .3px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(212,176,106,0.35);
}

.btn-gold:active {
  transform: translateY(0);
}
