:root, [data-theme="dark"] {
  --ink: #08100c;
  --canopy: #0f1b12;
  --moss: #8fb31d;
  --leaf: #c6e45b;
  --gold: #d8be7a;
  --mist: #edf4df;
  --muted: #a7b298;
  --glass: rgba(9, 18, 12, 0.78);
  --line: rgba(216, 190, 122, 0.22);
  --card-bg: linear-gradient(145deg, rgba(20, 31, 18, 0.94), rgba(7, 14, 10, 0.94));
  --nav-bg: rgba(6, 12, 8, 0.92);
  --input-bg: rgba(255, 255, 255, 0.05);
  --modal-bg: linear-gradient(160deg, rgba(16, 28, 19, 0.98), rgba(7, 14, 10, 0.98));
}

[data-theme="light"] {
  --ink: #f4f8f3;
  --canopy: #ffffff;
  --moss: #467311;
  --leaf: #497810;
  --gold: #8d6b1d;
  --mist: #152419;
  --muted: #56675a;
  --glass: rgba(255, 255, 255, 0.92);
  --line: rgba(70, 115, 17, 0.22);
  --card-bg: linear-gradient(145deg, #ffffff, #f0f6ed);
  --nav-bg: rgba(244, 248, 243, 0.94);
  --input-bg: rgba(0, 0, 0, 0.04);
  --modal-bg: linear-gradient(160deg, #ffffff, #f0f6ed);
}

* {
  letter-spacing: 0;
}

body {
  margin: 0;
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  color: var(--mist);
  background: var(--ink);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-nav {
  background: rgba(6, 12, 8, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  font-family: "Aileron Thin", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 100;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.nav-link {
  color: rgba(237, 244, 223, 0.78);
}

.nav-link:hover,
.nav-link.active {
  color: var(--leaf);
}

.btn-leaf {
  --bs-btn-color: #091009;
  --bs-btn-bg: var(--leaf);
  --bs-btn-border-color: var(--leaf);
  --bs-btn-hover-color: #091009;
  --bs-btn-hover-bg: #d8f36e;
  --bs-btn-hover-border-color: #d8f36e;
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
}

.btn-outline-leaf {
  --bs-btn-color: var(--leaf);
  --bs-btn-border-color: rgba(198, 228, 91, 0.55);
  --bs-btn-hover-color: #091009;
  --bs-btn-hover-bg: var(--leaf);
  --bs-btn-hover-border-color: var(--leaf);
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
}

.btn {
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
}

.has-whatsapp-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.has-whatsapp-icon::before,
.whatsapp-icon::before {
  content: "";
  flex: 0 0 auto;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19.05 4.91A9.82 9.82 0 0 0 12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38a9.9 9.9 0 0 0 4.74 1.21h.01c5.46 0 9.91-4.45 9.91-9.91a9.85 9.85 0 0 0-2.91-7.01ZM12.05 20.15h-.01a8.23 8.23 0 0 1-4.19-1.15l-.3-.18-3.12.82.83-3.04-.2-.31a8.2 8.2 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.25-8.24a8.18 8.18 0 0 1 5.83 2.42 8.18 8.18 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23Zm4.52-6.16c-.25-.12-1.47-.72-1.7-.8-.23-.08-.39-.12-.56.12-.16.25-.64.8-.78.97-.14.16-.29.18-.54.06-.25-.12-1.04-.38-1.98-1.22-.73-.65-1.22-1.45-1.37-1.7-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.12-.14.16-.25.25-.41.08-.16.04-.31-.02-.43-.06-.12-.56-1.35-.76-1.85-.2-.48-.4-.41-.56-.42h-.48c-.16 0-.43.06-.66.31-.23.25-.86.84-.86 2.05s.88 2.38 1 2.54c.12.16 1.73 2.64 4.19 3.7.59.25 1.04.4 1.4.52.59.19 1.12.16 1.54.1.47-.07 1.47-.6 1.68-1.18.21-.58.21-1.08.14-1.18-.06-.1-.22-.16-.47-.28Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero {
  min-height: 94vh;
  display: flex;
  align-items: end;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(5, 9, 6, 0.48), rgba(5, 9, 6, 0.78)),
    url("../images/studio-forest-display.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22vh;
  background: linear-gradient(0deg, var(--ink), rgba(8, 16, 12, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-block: 8rem 6rem;
}

.eyebrow {
  color: var(--leaf);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display-title {
  font-family: "Aileron Thin", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 100;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.section-pad {
  padding-block: 5rem;
}

.section-muted {
  background: #101812;
}

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

.feature-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(20, 32, 18, 0.7);
}

.studio-card,
.product-card,
.service-card,
.care-card {
  background: linear-gradient(145deg, rgba(20, 31, 18, 0.94), rgba(7, 14, 10, 0.94));
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 100%;
}

.image-panel {
  min-height: 500px;
  background: url("../images/scape-logo-art.png") center / cover no-repeat;
}

.product-img {
  height: 210px;
  border-radius: 8px 8px 0 0;
  background-size: cover;
  background-position: center;
}

.shop-page .product-img {
  height: auto;
  aspect-ratio: 1;
  margin: 0.75rem;
  border-radius: 6px;
  background-image: url("../images/generated-plant-catalog.png") !important;
  background-size: 400% 400%;
  background-color: rgba(255, 255, 255, 0.04);
}

.product-rating {
  color: #f0b43c;
  font-size: 0.76rem;
  line-height: 1;
}

.product-meta-line {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
}

.wishlist-btn {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--muted);
  background: transparent;
  border: 1px solid rgba(216, 190, 122, 0.22);
  border-radius: 50%;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.wishlist-btn:hover {
  color: var(--leaf);
  border-color: rgba(198, 228, 91, 0.5);
  transform: scale(1.1);
}

.wishlist-btn.active {
  color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.6);
  background: rgba(255, 107, 107, 0.15);
  box-shadow: 0 0 10px rgba(255, 107, 107, 0.35);
  transform: scale(1.12);
}

.plant-1 { background-image: linear-gradient(rgba(5, 9, 5, 0.12), rgba(5, 9, 5, 0.38)), url("../images/studio-forest-display.png"); }
.plant-2 { background-image: linear-gradient(rgba(5, 9, 5, 0.06), rgba(5, 9, 5, 0.42)), url("../images/scape-logo-art.png"); }
.plant-3 { background-image: radial-gradient(circle at 45% 35%, rgba(198, 228, 91, 0.28), transparent 34%), linear-gradient(135deg, #173820, #050a07 70%); }
.plant-4 { background-image: radial-gradient(circle at 40% 30%, rgba(216, 190, 122, 0.25), transparent 34%), linear-gradient(135deg, #243013, #06100a 75%); }
.plant-5 { background-image: radial-gradient(circle at 60% 38%, rgba(143, 179, 29, 0.32), transparent 34%), linear-gradient(135deg, #0a261c, #030807 76%); }
.plant-6 { background-image: radial-gradient(circle at 45% 38%, rgba(198, 228, 91, 0.24), transparent 34%), linear-gradient(135deg, #12351b, #050806 76%); }

.product-img.product-anubias-nana-petite {
  background-image: url("../images/anubias-nana-petite-realistic.png") !important;
  background-size: cover !important;
  background-position: center !important;
}

.product-img.product-monte-carlo-cup {
  background-image: url("../images/monte-carlo-cup-realistic.png") !important;
  background-size: cover !important;
  background-position: center !important;
}

.product-img.product-rotala-green-bunch {
  background-image: url("../images/rotala-green-bunch-realistic.png") !important;
  background-size: cover !important;
  background-position: center !important;
}

.price {
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 800;
}

.badge-soft {
  color: var(--leaf);
  background: rgba(198, 228, 91, 0.1);
  border: 1px solid rgba(198, 228, 91, 0.22);
}

.cart-bar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  max-width: 380px;
  background: rgba(6, 12, 8, 0.96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.shop-page-body:not(.cart-has-items) .cart-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px) scale(0.98);
}

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-panel-summary {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-toggle-btn {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 228, 91, 0.34);
  border-radius: 50%;
  background: rgba(198, 228, 91, 0.08);
}

.cart-toggle-btn span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--leaf);
  border-left: 2px solid var(--leaf);
  transform: translate(-50%, -28%) rotate(45deg);
  transition: transform 0.28s ease;
}

.cart-panel-body {
  max-height: 420px;
  opacity: 1;
  overflow: hidden;
  padding-top: 0.75rem;
  transition: max-height 0.36s ease, opacity 0.24s ease, padding-top 0.28s ease;
}

.cart-panel-body > .d-flex:last-child {
  margin-top: 0.25rem;
}

.cart-bar.cart-collapsed {
  max-width: 320px;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36);
}

.cart-bar.cart-collapsed .cart-panel-body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
}

.cart-bar.cart-collapsed .cart-toggle-btn span {
  transform: translate(-50%, -68%) rotate(225deg);
}

.cart-item-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed rgba(216, 190, 122, 0.12);
  color: var(--mist);
  font-size: 0.92rem;
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 400;
}

.cart-qty-ctrls {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 190, 122, 0.25);
  border-radius: 4px;
  padding: 1px;
  gap: 1px;
}

.cart-qty-btn {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--mist);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-qty-btn:hover {
  background: var(--leaf);
  color: #091009;
}

.cart-qty-input {
  width: 26px;
  height: 22px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--leaf);
  background: transparent;
  border: none;
  padding: 0;
  -moz-appearance: textfield;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-qty-input:focus {
  outline: 1px solid var(--leaf);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
}

.cart-item-price {
  font-size: 0.88rem;
  color: var(--gold);
  white-space: nowrap;
}

.cart-remove-btn {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(216, 190, 122, 0.22);
  border-radius: 50%;
  font-size: 1.05rem;
  line-height: 1;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cart-remove-btn:hover {
  color: #091009;
  background: var(--leaf);
  border-color: var(--leaf);
  transform: scale(1.06);
}

.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: end;
  background: linear-gradient(90deg, rgba(5, 9, 6, 0.42), rgba(5, 9, 6, 0.82)),
    url("../images/studio-forest-display.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.shop-header {
  padding-top: 67px;
  background: var(--ink);
}

.shop-category-bar {
  background: rgba(6, 12, 8, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 4px solid #2f6b4c;
}

.shop-tab {
  flex: 0 0 auto;
  min-height: 60px;
  padding: 0.75rem 1.8rem;
  color: var(--mist);
  background: rgba(237, 244, 223, 0.04);
  border: 0;
  border-right: 1px solid rgba(216, 190, 122, 0.16);
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  white-space: nowrap;
}

.shop-tab:hover,
.shop-tab.active {
  color: var(--mist);
  background: #2f6b4c;
}

.shop-tab.all-categories {
  min-width: 210px;
}

.shop-page {
  color: var(--mist);
  background:
    radial-gradient(circle at 78% 18%, rgba(198, 228, 91, 0.08), transparent 28%),
    linear-gradient(180deg, #101812, var(--ink));
}

.shop-sidebar {
  background: rgba(6, 12, 8, 0.82);
  border-right: 1px solid var(--line);
}

.filter-panel {
  position: sticky;
  top: 68px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  background: rgba(6, 12, 8, 0.88);
  backdrop-filter: blur(14px);
}

.filter-row {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0.7rem 1.2rem;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.02);
  border: 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  text-align: left;
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
}

.filter-row:hover,
.filter-row.active {
  color: var(--leaf);
  background: rgba(198, 228, 91, 0.08);
}

.filter-group {
  padding: 1.25rem 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.filter-title {
  margin-bottom: 0.75rem;
  color: var(--mist);
  font-size: 1rem;
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
  font-weight: 800;
  text-transform: uppercase;
}

.filter-group label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.filter-group input {
  margin-right: 0.5rem;
  accent-color: #2f6b4c;
}

.shop-content {
  padding: 3rem clamp(1rem, 3vw, 2.4rem) 6rem;
}

.shop-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 44%);
  gap: 2rem;
  align-items: center;
  min-height: 360px;
  margin-bottom: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 16, 12, 0.92), rgba(8, 16, 12, 0.74)),
    url("../images/studio-forest-display.png") center / cover no-repeat;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.shop-promo h1 {
  max-width: 520px;
  color: var(--mist);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.94;
  text-transform: uppercase;
}

.shop-promo img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.36));
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.plant-search-wrap {
  flex: 1 1 360px;
}

.plant-search-control {
  display: flex;
  gap: 0.65rem;
}

.plant-search-control .form-control {
  min-width: 220px;
}

.catalog-toolbar .form-select {
  width: auto;
  min-width: 138px;
  color: var(--mist);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--line);
}

.shop-order-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(198, 228, 91, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(12, 24, 15, 0.96), rgba(6, 12, 8, 0.9));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.shop-order-list {
  max-width: 620px;
  color: var(--muted);
}

.shop-order-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 12, 8, 0.58);
}

.catalog-pagination-bottom {
  margin: 1.5rem 0 0;
}

.pagination-summary {
  color: var(--muted);
  font-size: 0.92rem;
}

.pagination-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.page-btn {
  min-width: 38px;
  min-height: 36px;
  color: var(--mist);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: "Aileron Light", Aileron, "Segoe UI", Arial, sans-serif;
}

.page-btn:hover,
.page-btn.active {
  color: #091009;
  background: var(--leaf);
  border-color: var(--leaf);
}

.page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.shop-page .product-card {
  color: var(--mist);
  background: rgba(7, 14, 10, 0.82);
  box-shadow: 0 18px 42px rgba(7, 16, 11, 0.08);
}

.shop-page .product-card .p-4 {
  padding: 0.25rem 0.9rem 1rem !important;
}

.shop-page .product-card .h5 {
  min-height: 2.3rem;
  margin-bottom: 0.3rem;
  color: var(--mist);
  font-size: 0.88rem;
  line-height: 1.25;
}

.shop-page .product-card .small {
  display: none;
}

.shop-page .product-card .badge {
  display: none;
}

.shop-page .product-card .price {
  display: block;
  margin-top: 0.25rem;
  color: var(--mist);
  font-size: 0.86rem;
}

.shop-page .product-card .btn-leaf {
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
}

.shop-page .product-item:nth-child(1) .product-img { background-position: 0% 0%; }
.shop-page .product-item:nth-child(2) .product-img { background-position: 33.333% 0%; }
.shop-page .product-item:nth-child(3) .product-img { background-position: 66.666% 0%; }
.shop-page .product-item:nth-child(4) .product-img { background-position: 100% 0%; }
.shop-page .product-item:nth-child(5) .product-img { background-position: 0% 33.333%; }
.shop-page .product-item:nth-child(6) .product-img { background-position: 33.333% 33.333%; }
.shop-page .product-item:nth-child(7) .product-img { background-position: 66.666% 33.333%; }
.shop-page .product-item:nth-child(8) .product-img { background-position: 100% 33.333%; }
.shop-page .product-item:nth-child(9) .product-img { background-position: 0% 66.666%; }
.shop-page .product-item:nth-child(10) .product-img { background-position: 33.333% 66.666%; }
.shop-page .product-item:nth-child(11) .product-img { background-position: 66.666% 66.666%; }
.shop-page .product-item:nth-child(12) .product-img { background-position: 100% 66.666%; }
.shop-page .product-item:nth-child(13) .product-img { background-position: 0% 100%; }
.shop-page .product-item:nth-child(14) .product-img { background-position: 33.333% 100%; }
.shop-page .product-item:nth-child(15) .product-img { background-position: 66.666% 100%; }
.shop-page .product-item:nth-child(16) .product-img { background-position: 100% 100%; }
.shop-page .product-item:nth-child(17) .product-img { background-position: 0% 0%; }
.shop-page .product-item:nth-child(18) .product-img { background-position: 33.333% 33.333%; }
.shop-page .product-item:nth-child(19) .product-img { background-position: 66.666% 66.666%; }
.shop-page .product-item:nth-child(20) .product-img { background-position: 100% 100%; }
.shop-page .product-item:nth-child(21) .product-img { background-position: 0% 0%; }
.shop-page .product-item:nth-child(22) .product-img { background-position: 33.333% 0%; }
.shop-page .product-item:nth-child(23) .product-img { background-position: 66.666% 0%; }
.shop-page .product-item:nth-child(24) .product-img { background-position: 100% 0%; }
.shop-page .product-item:nth-child(25) .product-img { background-position: 0% 33.333%; }
.shop-page .product-item:nth-child(26) .product-img { background-position: 33.333% 33.333%; }
.shop-page .product-item:nth-child(27) .product-img { background-position: 66.666% 33.333%; }
.shop-page .product-item:nth-child(28) .product-img { background-position: 100% 33.333%; }
.shop-page .product-item:nth-child(29) .product-img { background-position: 0% 66.666%; }
.shop-page .product-item:nth-child(30) .product-img { background-position: 33.333% 66.666%; }
.shop-page .product-item:nth-child(31) .product-img { background-position: 66.666% 66.666%; }
.shop-page .product-item:nth-child(32) .product-img { background-position: 100% 66.666%; }
.shop-page .product-item:nth-child(33) .product-img { background-position: 0% 100%; }
.shop-page .product-item:nth-child(34) .product-img { background-position: 33.333% 100%; }
.shop-page .product-item:nth-child(35) .product-img { background-position: 66.666% 100%; }
.shop-page .product-item:nth-child(36) .product-img { background-position: 100% 100%; }
.shop-page .product-item:nth-child(37) .product-img { background-position: 33.333% 0%; }
.shop-page .product-item:nth-child(38) .product-img { background-position: 66.666% 33.333%; }
.shop-page .product-item:nth-child(39) .product-img { background-position: 100% 66.666%; }
.shop-page .product-item:nth-child(40) .product-img { background-position: 0% 100%; }
.shop-page .product-item:nth-child(41) .product-img { background-position: 0% 0%; }
.shop-page .product-item:nth-child(42) .product-img { background-position: 33.333% 0%; }
.shop-page .product-item:nth-child(43) .product-img { background-position: 66.666% 0%; }
.shop-page .product-item:nth-child(44) .product-img { background-position: 100% 0%; }
.shop-page .product-item:nth-child(45) .product-img { background-position: 0% 33.333%; }
.shop-page .product-item:nth-child(46) .product-img { background-position: 33.333% 33.333%; }
.shop-page .product-item:nth-child(47) .product-img { background-position: 66.666% 33.333%; }
.shop-page .product-item:nth-child(48) .product-img { background-position: 100% 33.333%; }
.shop-page .product-item:nth-child(49) .product-img { background-position: 0% 66.666%; }
.shop-page .product-item:nth-child(50) .product-img { background-position: 33.333% 66.666%; }
.shop-page .product-item:nth-child(16n+1) .product-img { background-position: 0% 0%; }
.shop-page .product-item:nth-child(16n+2) .product-img { background-position: 33.333% 0%; }
.shop-page .product-item:nth-child(16n+3) .product-img { background-position: 66.666% 0%; }
.shop-page .product-item:nth-child(16n+4) .product-img { background-position: 100% 0%; }
.shop-page .product-item:nth-child(16n+5) .product-img { background-position: 0% 33.333%; }
.shop-page .product-item:nth-child(16n+6) .product-img { background-position: 33.333% 33.333%; }
.shop-page .product-item:nth-child(16n+7) .product-img { background-position: 66.666% 33.333%; }
.shop-page .product-item:nth-child(16n+8) .product-img { background-position: 100% 33.333%; }
.shop-page .product-item:nth-child(16n+9) .product-img { background-position: 0% 66.666%; }
.shop-page .product-item:nth-child(16n+10) .product-img { background-position: 33.333% 66.666%; }
.shop-page .product-item:nth-child(16n+11) .product-img { background-position: 66.666% 66.666%; }
.shop-page .product-item:nth-child(16n+12) .product-img { background-position: 100% 66.666%; }
.shop-page .product-item:nth-child(16n+13) .product-img { background-position: 0% 100%; }
.shop-page .product-item:nth-child(16n+14) .product-img { background-position: 33.333% 100%; }
.shop-page .product-item:nth-child(16n+15) .product-img { background-position: 66.666% 100%; }
.shop-page .product-item:nth-child(16n) .product-img { background-position: 100% 100%; }

.product-item.is-hidden {
  display: none;
}

.empty-catalog {
  color: var(--mist);
}

.contact-box {
  background: rgba(198, 228, 91, 0.08);
  border: 1px solid rgba(198, 228, 91, 0.22);
  border-radius: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #060c08;
}

.nature-effects {
  position: fixed;
  inset: 0;
  z-index: 1030;
  pointer-events: none;
  overflow: hidden;
}

.co2-bubble {
  position: absolute;
  width: var(--bubble-size, 8px);
  height: var(--bubble-size, 8px);
  border: 1px solid rgba(218, 247, 255, 0.72);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.12) 28%, rgba(157, 226, 238, 0.06) 70%);
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.46), 0 0 10px rgba(168, 235, 245, 0.22);
  animation: bubble-rise 1.35s ease-out forwards;
}

.tiny-leaf {
  position: absolute;
  top: -18px;
  width: var(--leaf-w, 6px);
  height: var(--leaf-h, 3px);
  border-radius: 90% 0 90% 0;
  background: linear-gradient(135deg, rgba(205, 235, 93, 0.95), rgba(82, 132, 23, 0.85));
  opacity: 0.72;
  transform: rotate(var(--leaf-rotate, 20deg));
  animation: leaf-fall var(--leaf-duration, 9s) linear forwards;
}

@keyframes bubble-rise {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.55);
  }
  15% {
    opacity: 0.92;
  }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--bubble-drift, 18px)), -90px) scale(1.25);
  }
}

@keyframes leaf-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -10px, 0) rotate(var(--leaf-rotate, 20deg));
  }
  8% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--leaf-drift, 42px), 108vh, 0) rotate(var(--leaf-spin, 220deg));
  }
}

.form-control,
.form-select {
  color: var(--mist);
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(216, 190, 122, 0.24);
}

.form-control:focus,
.form-select:focus {
  color: var(--mist);
  background-color: rgba(255, 255, 255, 0.06);
  border-color: var(--leaf);
  box-shadow: 0 0 0 0.2rem rgba(198, 228, 91, 0.14);
}

.form-select option {
  color: var(--mist);
  background-color: #101812;
}

.form-select option:checked {
  color: #091009;
  background-color: var(--leaf);
}

@media (max-width: 767px) {
  .hero {
    min-height: 88vh;
    background-position: 58% center;
  }

  .hero-content {
    padding-block: 7rem 4rem;
  }

  .section-pad {
    padding-block: 3.5rem;
  }

  .image-panel {
    min-height: 360px;
  }

  .cart-bar {
    left: 0.75rem;
    right: 0.75rem;
    max-width: none;
  }

  .shop-tab {
    min-height: 52px;
    padding-inline: 1rem;
  }

  .filter-panel {
    position: static;
    max-height: none;
  }

  .shop-content {
    padding: 2rem 1rem 8rem;
  }

  .shop-promo {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .plant-search-control {
    flex-direction: column;
  }

  .shop-order-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-order-actions {
    flex-direction: column;
  }

  .catalog-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .pagination-actions {
    justify-content: flex-start;
  }
}

/* Stock Badges & Out of Stock Card Styling */
.badge-out-of-stock {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.35);
  font-size: 0.72rem;
  padding: 0.22em 0.55em;
  border-radius: 4px;
}

.badge-in-stock {
  color: var(--leaf);
  background: rgba(198, 228, 91, 0.12);
  border: 1px solid rgba(198, 228, 91, 0.3);
  font-size: 0.72rem;
  padding: 0.22em 0.55em;
  border-radius: 4px;
}

.product-card.is-out-of-stock {
  opacity: 0.85;
}

.product-card.is-out-of-stock .product-img {
  filter: grayscale(40%);
}

.btn-out-of-stock {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--muted) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  cursor: not-allowed !important;
  font-size: 0.85rem;
  pointer-events: none;
}

.stock-toggle-btn {
  background: transparent;
  border: 1px dashed rgba(216, 190, 122, 0.35);
  color: var(--muted);
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.stock-toggle-btn:hover {
  border-color: var(--leaf);
  color: var(--leaf);
  background: rgba(198, 228, 91, 0.08);
}

.stock-toggle-btn.is-out {
  border-color: rgba(255, 107, 107, 0.4);
  color: #ff8888;
}

.stock-toggle-btn.is-out:hover {
  background: rgba(255, 107, 107, 0.12);
}

.custom-delete-btn {
  background: transparent;
  border: none;
  color: rgba(255, 107, 107, 0.7);
  font-size: 0.9rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.custom-delete-btn:hover {
  color: #ff4d4d;
  background: rgba(255, 77, 77, 0.15);
}

.scape-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1070;
  background: rgba(4, 9, 6, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.scape-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.scape-modal-content {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(160deg, rgba(16, 28, 19, 0.98), rgba(7, 14, 10, 0.98));
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  padding: 1.75rem;
  color: var(--mist);
  transform: translateY(20px);
  transition: transform 0.28s ease;
}

.scape-modal-backdrop.active .scape-modal-content {
  transform: translateY(0);
}

.scape-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.scape-modal-close {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scape-modal-close:hover {
  color: #fff;
  border-color: var(--leaf);
  background: rgba(198, 228, 91, 0.15);
}

.scape-form-group {
  margin-bottom: 1rem;
}

.scape-form-label {
  display: block;
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 500;
}

.scape-form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(216, 190, 122, 0.25);
  border-radius: 6px;
  padding: 0.45rem 0.75rem;
  color: var(--mist);
  font-size: 0.92rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.scape-form-control:focus {
  outline: none;
  border-color: var(--leaf);
  background: rgba(255, 255, 255, 0.08);
}

.scape-form-control option {
  background: #0d1710;
  color: var(--mist);
}

.scape-img-preview {
  width: 100%;
  height: 140px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--line);
  margin-top: 0.5rem;
}

/* --- LIGHT THEME COMPONENT OVERRIDES --- */
[data-theme="light"] body {
  background: var(--ink);
  color: var(--mist);
}

[data-theme="light"] .site-nav {
  background: var(--nav-bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-link {
  color: #1e3324;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--leaf);
}

[data-theme="light"] .studio-card,
[data-theme="light"] .product-card,
[data-theme="light"] .service-card,
[data-theme="light"] .care-card,
[data-theme="light"] .profile-card,
[data-theme="light"] .kpi-card,
[data-theme="light"] .chart-panel,
[data-theme="light"] .auth-card,
[data-theme="light"] .admin-auth-card,
[data-theme="light"] .wa-card {
  background: var(--card-bg);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .text-white,
[data-theme="light"] .h1, [data-theme="light"] .h2, [data-theme="light"] .h3, [data-theme="light"] .h4, [data-theme="light"] .h5, [data-theme="light"] .h6,
[data-theme="light"] h1, [data-theme="light"] h2, [data-theme="light"] h3, [data-theme="light"] h4, [data-theme="light"] h5, [data-theme="light"] h6 {
  color: #122116 !important;
}

[data-theme="light"] .btn-leaf {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #497810;
  --bs-btn-border-color: #497810;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #3d650d;
  --bs-btn-hover-border-color: #3d650d;
}

[data-theme="light"] .cart-bar,
[data-theme="light"] .scape-modal-content {
  background: var(--modal-bg);
  border-color: var(--line);
  color: var(--mist);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .scape-form-control,
[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(70, 115, 17, 0.3);
  color: #122116;
}

[data-theme="light"] .scape-form-control option,
[data-theme="light"] .form-select option {
  background: #ffffff;
  color: #122116;
}

[data-theme="light"] .table-dark {
  --bs-table-bg: #ffffff;
  --bs-table-color: #122116;
  --bs-table-border-color: rgba(70, 115, 17, 0.15);
  --bs-table-hover-bg: rgba(70, 115, 17, 0.05);
}

[data-theme="light"] .section-muted {
  background: #eaf1e8;
}

[data-theme="light"] .shop-sidebar {
  background: #edf4eb;
  border-right-color: var(--line);
}

[data-theme="light"] .filter-row {
  color: #1a2c1e;
  border-bottom-color: rgba(70, 115, 17, 0.12);
}

[data-theme="light"] .filter-row:hover,
[data-theme="light"] .filter-row.active {
  background: rgba(70, 115, 17, 0.08);
  color: var(--leaf);
}

[data-theme="light"] .shop-tab {
  background: #e2ede0;
  color: #1f3324;
  border-color: rgba(70, 115, 17, 0.2);
}

[data-theme="light"] .shop-tab.active {
  background: var(--leaf);
  color: #ffffff;
}

.theme-toggle-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--mist);
  font-size: 0.82rem;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
  border-color: var(--leaf);
  color: var(--leaf);
  background: rgba(198, 228, 91, 0.1);
}
