:root {
  --bg: linear-gradient(180deg,#eefef2 0%, #ffffff 40%);
  --card: #ffffff;
  --muted: #476063;
  --text: #04210a;
  --primary: #2e8b57; /* medium green */
  --primary-600: #0f5f34; /* darker green */
  --primary-yellow: #adff2f;
  --primary-yellow-2: #9acd32;
  --accent: #8fd6ff; /* sky blue */
  --ring: #e6f0e8;
  --shadow: 0 12px 30px rgba(2, 20, 10, 0.06);
}

/* Theme: green-dark (default) already defined by :root */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Background image variables — replace paths with your images
   Examples to add to project:
   - assets/images/bg-header.jpg (header/footer blur)
   - assets/images/bg-hero.jpg (hero main)
   - assets/images/bg-section.jpg (other sections)
*/
:root {
  --bg-header: url("assets/images/bg-header.jpg");
  --bg-hero: url("assets/images/bg-hero.jpg");
  --bg-section: url("assets/images/bg-section.jpg");
}

/* Header blurred background via pseudo-element */
.site-header { position: sticky; top:0; overflow: hidden; }
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-header);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(6px) brightness(.75) saturate(.9);
  opacity: .95;
  z-index: 0;
  pointer-events: none;
  padding: 0px;
  height: 100% !important; 
  top: 0 !important;
  bottom: 0 !important;
  transform: none !important; /* remove the scaling causing extra space */
}
.site-header > .container { position: relative; z-index: 2; }

/* Footer uses same blurred image */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--bg-header);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(6px) brightness(.9) saturate(.9);
  opacity: .9;
  transform: scale(1.02);
  z-index: 0;
  pointer-events: none;
}
.site-footer .container, .site-footer * { position: relative; z-index: 2; }

/* Center align main content to give modern, balanced look */
main:not(.content-section), .hero-inner, .section-head, .section-actions, .yt-copy, .posts-section .section-head, .products-section .section-head {
  text-align: center;
}

/* Content sections should have left-aligned text for readability */
.content-section, .privacy-content, .posts-content {
  text-align: left;
}

.content-section h2, .privacy-content h2, .posts-content h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.content-section h3, .privacy-content h3, .posts-content h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.content-section h4, .privacy-content h4, .posts-content h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.content-section p, .privacy-content p, .posts-content p {
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 100%;
}

.content-section ul, .privacy-content ul, .posts-content ul {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.container {
  width: min(1280px, 95%);
  margin-inline: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--ring);
  padding: 3px 0 !important;
}

/* HEADER HEIGHT */

.site-header,
.header-inner,
.brand,
.logo-wrap {
    overflow: visible !important;
}

/* Maintain header height */
.header-inner {
    min-height: 50px !important;
}

/* Wrapper controls real size */
.logo-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Scaled visible logo */
.logo-wrap .logo-img {
  width: 60px !important;
  height: 60px !important;
  object-fit: contain;
  display: block;
  margin-top: -30px;       /* <-- This pushes logo down visually */
  transform: scale(2.9);  /* enlarge without increasing layout space */
  transform-origin: center top;
}
/* NO overflow hidden anywhere */
.brand img, .logo-img {
  overflow: visible !important;
}
.main-nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  opacity: .9;
  padding: 6px 10px;
  border-radius: 8px;
}

.main-nav a:hover {
  opacity: 1;
  background: rgba(0, 0, 0, .06);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: inline-block;
}

.nav-link {
  background: transparent;
  border: none;
  color: var(--text);
  text-decoration: none;
  margin-left: 18px;
  opacity: .9;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 1;
  background: rgba(0, 0, 0, .06);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 10px;
  list-style: none;
  margin: 8px 0 0 0;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  text-decoration: none;
  margin: 0;
  border-radius: 0;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(46, 139, 87, 0.1);
  margin: 0;
  padding: 10px 16px;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Show dropdown when active (mobile/JS) */
.dropdown.active .dropdown-menu,
.dropdown-menu.show {
  display: block;
}

.main-nav a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ring);
  color: var(--text);
  padding: 8px 2px;
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  border-radius: 2px;
}

.theme-switcher {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-left: 14px;
}

.theme-switcher button {
  background: transparent;
  border: 1px solid var(--ring);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  opacity: .9;
}

.theme-switcher button:hover {
  opacity: 1;
}

/* Breadcrumbs (mobile) */
/*.breadcrumbs{ display:none; border-bottom: 1px solid var(--ring); background: rgba(255,255,255,.02); }
.breadcrumbs .container{ padding: 8px 0; font-size: 14px; color: var(--muted); }
.breadcrumbs a{ color: var(--text); text-decoration:none; }*/

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--ring);
  color: var(--text);
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

html,
body,
.btn,
.main-nav a,
.brand-name,
.logo,
.product-card,
.contact-form {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: linear-gradient(90deg, var(--primary), var(--primary-600));
  border-color: transparent;
  color: white;
}

.btn.primary:hover {
  background: var(--primary-600);
}

.btn.ghost {
  background: var(--primary);
  color: white;
  border-color: transparent;
}

.btn.ghost:hover {
  background: var(--primary-600);
}

/* Hero */
.hero {
  padding: 56px 0 36px;
  /* hero uses layered gradient over optional hero image */
  background-image: linear-gradient(180deg, rgba(46,139,87,0.14) 0%, rgba(46,139,87,0.06) 20%, rgba(143,214,255,0.03) 60%, transparent 100%), var(--bg-hero);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-blend-mode: overlay;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  align-items: center;
}

/* Stats (homepage): keep numeric badges side-by-side */
.stats {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
  align-items: center;
  margin-top: 18px;
  padding-right: 12px;
}
.stat { text-align: center; min-width: 120px; }
.stat h3 { margin: 0; font-size: 1.6rem; }
.stat p { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 720px) {
  .stats { flex-direction: column; gap: 12px; }
}

.hero-copy h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.hero-copy p {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 260px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(39, 174, 96, .2), rgba(255, 255, 255, .04));
  border: 1px solid var(--ring);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual .sprout {
  position: absolute;
  bottom: -10px;
  width: 80px;
  height: 120px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, .08), transparent 60%);
  border-radius: 80px 80px 0 0;
  left: 10%;
  transform-origin: bottom center;
  animation: sway 4s ease-in-out infinite;
}

.hero-visual .sprout:after {
  content: "";
  position: absolute;
  bottom: 70px;
  left: 50%;
  width: 12px;
  height: 60px;
  background: var(--primary);
  border-radius: 12px;
  transform: translateX(-50%);
}

.hero-visual .leaf {
  position: absolute;
  bottom: 110px;
  width: 50px;
  height: 24px;
  background: var(--primary);
  border-radius: 50px 50px 50px 50px / 24px 24px 24px 24px;
  opacity: .9;
}

.hero-visual .leaf.l1 {
  left: calc(10% + 26px);
  transform: rotate(-18deg);
}

.hero-visual .leaf.l2 {
  left: calc(10% + 6px);
  transform: rotate(18deg);
}

.hero-visual .sprout.s2 {
  left: 40%;
  animation-duration: 5s;
}

.hero-visual .sprout.s3 {
  left: 72%;
  animation-duration: 6s;
}

.hero-visual:hover .sprout {
  animation-duration: 3s;
}

.hero-visual:hover .leaf {
  filter: brightness(1.05);
}

.hero-visual .bee {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 28px;
  height: 28px;
  background: radial-gradient(circle at 60% 40%, #ffd166 0 60%, transparent 62%), linear-gradient(90deg, #111 0 40%, #ffd166 40% 60%, #111 60% 100%);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .2);
  animation: buzz 4s linear infinite;
}

@keyframes sway {

  0%,
  100% {
    transform: rotate(-2deg);
  }

  50% {
    transform: rotate(2deg);
  }
}

@keyframes buzz {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-6px, 3px);
  }

  50% {
    transform: translate(3px, -4px);
  }

  75% {
    transform: translate(6px, 2px);
  }

  100% {
    transform: translate(0, 0);
  }
}

.subtle {
  color: var(--muted);
  font-size: 14px;
}

/* Sections */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0 16px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 30px);
}

.muted {
  color: var(--muted);
}

/* Products */
.products-section {
  padding: 60px 0;
  background: linear-gradient(180deg, rgba(46,139,87,0.04) 0%, transparent 100%);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.featured-product {
  display: none;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--ring);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

/* Slightly tint cards to reduce too much white */
.product-card, .post-card {
  background: linear-gradient(180deg, rgba(248,255,244,1), rgba(255,255,255,0.9));
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(39, 174, 96, 0.15);
  border-color: rgba(39, 174, 96, .6);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-media {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #0f141a 0%, #1a2530 100%);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

.product-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(46, 168, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-media::after {
  opacity: 1;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.post-card .product-media {
  aspect-ratio: 4 / 3;
}

.product-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-title {
  font-weight: 600;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.product-card:hover .product-title {
  color: var(--primary);
}

.product-price {
  color: var(--muted);
  font-weight: 500;
  padding: 4px 8px;
  background: rgba(46, 204, 113, 0.08);
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
  transition: background 0.3s ease, transform 0.3s ease;
}

.product-card:hover .product-price {
  background: rgba(46, 204, 113, 0.15);
  transform: translateX(3px);
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.empty-state {
  display: none;
}

/* Staggered animation for product cards */
.product-card:nth-child(1) {
  animation-delay: 0.05s;
}

.product-card:nth-child(2) {
  animation-delay: 0.1s;
}

.product-card:nth-child(3) {
  animation-delay: 0.15s;
}

.product-card:nth-child(4) {
  animation-delay: 0.2s;
}

.product-card:nth-child(5) {
  animation-delay: 0.25s;
}

.product-card:nth-child(6) {
  animation-delay: 0.3s;
}

.product-card:nth-child(n+7) {
  animation-delay: 0.35s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* YouTube */
.youtube-section {
  padding: 60px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(46,139,87,0.02) 100%);
  border-top: 1px solid var(--ring);
  border-bottom: 1px solid var(--ring);
}

.youtube-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.yt-frame {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* Contact */
.contact-section {
  padding: 40px 0 56px;
}

.contact-inner {
  max-width: 680px;
}

/* Full-width content container for Privacy, Posts, and other content pages */
.content-section,
.privacy-content,
.posts-content {
  padding: 40px 0;
}

.content-inner,
.privacy-content .container,
.posts-content .container {
  max-width: 900px;
  text-align: left;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  background: #d1fddf;
  border: 1px solid var(--ring);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}

input,
textarea,
select {
  background: #ffffff;
  color: #0b0f13;
  border: 1px solid var(--ring);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
  transition: box-shadow .2s ease, border-color .2s ease;
  width: 100%;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(46, 168, 255, .5);
  box-shadow: 0 0 0 3px rgba(46, 168, 255, .18), inset 0 1px 2px rgba(0, 0, 0, .08);
}

input::placeholder,
textarea::placeholder {
  color: #5f6b7a;
}

.form-status {
  margin: 6px 0 0;
  color: var(--muted);
  grid-column: 1 / -1;
  font-size: 13px;
}

/* Submit button styling */
.contact-form button[type="submit"] {
  grid-column: 1 / -1;
  width: fit-content;
  justify-self: center;
  min-width: 150px;
  padding: 12px 28px;
  margin-top: 8px;
}

/* Desktop/Landscape (wider screens) */
@media (min-width: 768px) {
  .contact-form {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .form-field {
    grid-column: span 2;
  }

  .form-field:nth-child(1),
  .form-field:nth-child(2) {
    grid-column: span 2;
  }

  .form-field.full {
    grid-column: 1 / -1;
  }

  .contact-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

/* Tablet/Medium screens */
@media (max-width: 767px) {
  .contact-form {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 16px;
  }

  .form-field {
    grid-column: span 1;
  }

  .form-field.full {
    grid-column: 1 / -1;
  }

  .contact-form button[type="submit"] {
    grid-column: 1 / -1;
  }
}

/* Mobile/Small screens */
@media (max-width: 480px) {
  .contact-form {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .form-field {
    grid-column: 1;
  }

  .contact-form button[type="submit"] {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--ring);
  padding: 18px 0;
}

.site-footer {
  background: #e8f8ec;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding: 18px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--ring);
}

/* When footer has .center class, center its content */
.footer-bottom.center { justify-content: center; text-align: center; }

.footer-col h4 {
  margin: 0 0 8px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--ring);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .02);
}

.footer-social a:hover {
  border-color: rgba(39, 174, 96, .5);
  box-shadow: var(--shadow);
}

.to-top {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: transform .15s ease, text-shadow .2s ease;
}

.to-top:hover {
  color: var(--text);
  transform: translateY(-2px);
  text-shadow: 0 0 8px rgba(255, 217, 0, 0.566);
}

/* Floating back-to-top button (appears after scroll) */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: white;
  box-shadow: 0 8px 22px rgba(3, 23, 10, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 9999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

/* Modal styles for product quick-view */
.pg-modal { position: fixed; inset: 0; display:grid; place-items:center; z-index:99999; }
.pg-modal-backdrop { position:absolute; inset:0; background: rgba(2,10,5,0.6); }
.pg-modal-panel { position:relative; width: min(980px, 94%); max-width:980px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,255,244,0.98)); border-radius:12px; box-shadow: 0 30px 80px rgba(2,20,10,0.45); overflow:hidden; }
.pg-modal-close { position:absolute; right:12px; top:12px; background:transparent; border:0; font-size:18px; cursor:pointer; }
.pg-modal-body { display:grid; grid-template-columns: 1fr 1fr; gap:18px; padding:20px; align-items:start; }
.pg-media img { width:100%; height:100%; object-fit:cover; border-radius:8px; }
.pg-info { padding:6px 4px; }
.pg-info .pg-title { margin:0 0 6px; }
.pg-price { color: var(--primary-600); font-weight:700; margin-bottom:8px; }
.pg-rating { color: var(--muted); margin-bottom:8px; }
.pg-comments-list { max-height:160px; overflow:auto; padding:6px 4px; border-radius:6px; background: rgba(255,255,255,0.6); }
.pg-comment { padding:8px 6px; border-bottom:1px solid rgba(0,0,0,0.04); }
.pg-actions { margin-top:12px; }

/* Star rating */
.star-picker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
}

.star-picker button {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 44px;
  line-height: 1;
  padding: 4px;
  color: #b3b3b3;
}

.star-picker button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.stars {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}
.stat h3 { margin: 0; font-size: 28px; line-height: 1; }
.stat p { margin: 0; color: var(--muted); }

/* Hidden ad slots (placeholders) */
.ad-slot {
  position: fixed;
  top: 100px;
  width: 160px;
  height: 600px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid var(--ring);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.ad-left {
  left: 12px;
}

.ad-right {
  right: 12px;
}

/* Post and Content Wrapper Styles */
.post-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 2rem;
}

.post-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--ring);
}

.post-header h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  color: var(--text);
}

.post-cover {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.prose {
  max-width: 100%;
  text-align: left;
  line-height: 1.8;
  color: var(--text);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.6rem;
  color: var(--text);
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--text);
}

.prose p {
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.prose ul, .prose ol {
  margin-bottom: 1.2rem;
  margin-left: 1.5rem;
  line-height: 1.8;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.prose a:hover {
  border-bottom: 1px solid var(--primary);
}

.prose blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  padding-right: 1rem;
  background: rgba(46, 139, 87, 0.05);
  font-style: italic;
  color: var(--muted);
}

.prose code {
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.prose pre {
  background: rgba(0, 0, 0, 0.05);
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin-bottom: 1.2rem;
}

@media (max-width: 1280px) {
  .ad-slot {
    display: none !important;
  }
}

/* ============================================ */
/* SMART RESPONSIVE DESIGN - ALL DEVICES */
/* ============================================ */

/* Desktop & Large Tablets (1200px+) - 4 columns */
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Tablets & Small Laptops (768px - 1199px) - 3 columns */
@media (min-width: 768px) and (max-width: 1199px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets & Below (max-width: 960px) */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .youtube-inner {
    grid-template-columns: 1fr;
  }

  .yt-frame {
    height: 260px;
  }

  .breadcrumbs {
    display: block;
  }

  .hero-visual .bee {
    display: none;
  }
}

/* Mobile & Small Tablets (max-width: 800px) */
@media (max-width: 800px) {
  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: fixed;
    top: 64px;
    right: 4%;
    left: 4%;
    background: #ffffff;
    border: 1px solid var(--ring);
    border-radius: 12px;
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 8px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    margin: 0;
    padding: 10px 8px;
    border-radius: 8px;
  }

  /* Mobile dropdown styles */
  .dropdown {
    display: block;
  }

  .nav-link {
    width: 100%;
    text-align: left;
    margin: 0;
    padding: 10px 8px;
  }

  .dropdown-menu {
    position: static;
    display: none;
    background: rgba(46, 139, 87, 0.08);
    border: none;
    border-radius: 8px;
    list-style: none;
    margin: 4px 0 0 0;
    padding: 6px 0;
    box-shadow: none;
    z-index: 100;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    margin: 0;
  }

  .dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--primary);
    font-weight: 500;
    font-size: 14px;
  }

  .dropdown-menu a:hover {
    background-color: rgba(46, 139, 87, 0.15);
  }

  .main-nav a:hover {
    background: rgba(0, 0, 0, .04);
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

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

/* Large Mobile & Small Tablets (520px - 767px) - 2 columns */
@media (min-width: 520px) and (max-width: 767px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-card {
    font-size: 14px;
  }

  .product-title {
    font-size: 14px;
  }

  .product-body {
    padding: 10px;
  }

  .btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Small Mobile (320px - 519px) - 2 columns ALWAYS */
@media (max-width: 519px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

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

  .product-title {
    font-size: 13px;
    line-height: 1.3;
  }

  .product-body {
    padding: 8px;
    gap: 6px;
  }

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

  .btn {
    padding: 8px 10px;
    font-size: 12px;
  }

  .product-media {
    aspect-ratio: 1 / 1;
    /* Square images on very small screens */
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Extra Small Mobile (below 360px) - Still 2 columns but ultra-compact */
@media (max-width: 359px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

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

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

  .btn {
    padding: 6px 8px;
    font-size: 11px;
  }
}

/* Tablet Portrait (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet Landscape (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Landscape Mobile (height < 500px) - Optimize vertical space */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    padding: 30px 0 20px;
  }

  .products-section {
    padding: 15px 0 30px;
  }
}

/* Ultra-wide screens (1920px+) - 5 columns */
  .card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 18px 38px rgba(2, 20, 10, .12); }
@media (min-width: 1920px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Super Ultra-wide screens (2560px+) - 6 columns */
@media (min-width: 2560px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    /* Better touch target for mobile */
  }

  .product-card:active {
    transform: scale(0.98);
  }
}

/* High DPI / Retina displays - Ensure crisp images */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .product-media img {
    image-rendering: -webkit-optimize-contrast;
  }
}

