:root {
  --green-950: #082518;
  --green-900: #0d3321;
  --green-800: #174c32;
  --green-700: #1f6a43;
  --green-600: #2e8b57;
  --green-500: #48a868;
  --green-100: #e9f7ee;
  --green-50: #f5fbf7;
  --gold: #c6a15b;
  --text: #183026;
  --muted: #65756d;
  --line: #dce9e1;
  --bg: #ffffff;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(17, 70, 44, .11);
  --shadow-soft: 0 10px 28px rgba(17, 70, 44, .08);
  --radius: 26px;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--green-50) 100%);
  line-height: 1.55
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto
}

.section {
  padding: 72px 0
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-700);
  font-weight: 700;
  font-size: 14px
}

.h1,
.h2 {
  font-family: Georgia, serif;
  line-height: 1.05;
  color: var(--green-950);
  margin: 0
}

.h1 {
  font-size: clamp(42px, 7vw, 50px);
  letter-spacing: -2px
}

.h2 {
  font-size: clamp(32px, 4vw, 54px)
}

.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  max-width: 760px
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  background: var(--green-700);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31, 106, 67, .22);
  transition: .2s
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--green-800)
}

.btn.secondary {
  background: #fff;
  color: var(--green-800);
  border: 1px solid var(--line);
  box-shadow: none
}

.btn.ghost {
  background: var(--green-100);
  color: var(--green-800);
  box-shadow: none
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, .86);
  border-bottom: 1px solid rgba(220, 233, 225, .8)
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--green-950)
}

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  box-shadow: var(--shadow-soft);
  overflow: hidden
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 600
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap
}

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #31473d;
  font-weight: 700;
  font-size: 14px
}

.nav a:hover,
.nav a.active {
  background: var(--green-100);
  color: var(--green-800)
}

.cart-pill {
  background: var(--green-800) !important;
  color: #fff !important
}

.menu-toggle {
  display: none
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 56px
}

.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 10%, rgba(72, 168, 104, .16), transparent 28%), radial-gradient(circle at 90% 5%, rgba(198, 161, 91, .18), transparent 26%);
  pointer-events: none
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center
}

.hero-card {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 28px;
  box-shadow: var(--shadow)
}

.hero-visual {
  min-height: 480px;
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(13, 51, 33, .92), rgba(46, 139, 87, .76)), url('images/menu5.jpg') center/cover;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden
}

.hero-visual:after {
  content: "Свежие растения собственного производства";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .88);
  font-family: Georgia, serif;
  font-size: 30px;
  color: var(--green-950)
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px
}

.stat {
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft)
}

.stat b {
  font-size: 28px;
  color: var(--green-800)
}

.cards-grid,
.category-grid,
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.feature,
.category-card,
.product-card,
.info-card,
.cart-card,
.filter-panel,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft)
}

.feature,
.info-card,
.contact-card {
  padding: 26px
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px
}

.category-card {
  overflow: hidden;
  cursor: pointer;
  transition: .2s
}

.category-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow)
}

.category-image,
.product-image {
  height: 220px;
  background: linear-gradient(135deg, var(--green-100), #fff);
  display: grid;
  place-items: center;
  overflow: hidden
}

.category-image img,
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px
}

.category-body,
.product-body {
  padding: 20px
}

.category-body h3,
.product-body h3 {
  margin: 0 0 8px;
  color: var(--green-950)
}

.price {
  font-size: 22px;
  font-weight: 900;
  color: var(--green-800)
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800
}

.catalog-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start
}

.filter-panel {
  position: sticky;
  top: 96px;
  padding: 20px
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px
}

.field label {
  font-weight: 800;
  font-size: 14px
}

.field input,
.field select,
.checkout input,
.checkout textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font: inherit
}

.range-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap
}

.product-card {
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1
}

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

.product-actions .btn {
  padding: 11px 14px;
  flex: 1
}

.empty {
  padding: 34px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted)
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start
}

.cart-card {
  padding: 18px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden
}

.qty button {
  border: 0;
  background: #fff;
  padding: 9px 13px;
  cursor: pointer;
  font-size: 18px
}

.qty span {
  padding: 0 12px;
  font-weight: 900
}

.summary {
  position: sticky;
  top: 96px
}

.map-section {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px
}

.map-frame {
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff
}

.map-frame iframe {
  width: 100%;
  height: 520px;
  border: 0;
  display: block
}

.footer {
  margin-top: 72px;
  background: var(--green-950);
  color: #dce9e1
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 46px 0
}

.footer a {
  color: #fff
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  color: #abc4b7
}

.callback-toggle {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30
}

.callback-form {
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: min(360px, calc(100% - 36px));
  z-index: 31;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 20px
}

.page-hero {
  padding: 58px 0 30px
}

.content-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  padding: 34px;
  margin-top: 20px
}

.content-card p {
  color: var(--muted)
}

@media (max-width:980px) {

  .hero-grid,
  .catalog-layout,
  .cart-layout,
  .map-section {
    grid-template-columns: 1fr
  }

  .filter-panel,
  .summary {
    position: static
  }

  .hero-visual {
    min-height: 360px
  }

  .cards-grid,
  .category-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .topbar {
    align-items: flex-start
  }

  .menu-toggle {
    display: inline-flex
  }

  .nav {
    display: none;
    width: 100%
  }

  .nav.open {
    display: flex
  }

  .topbar {
    flex-wrap: wrap
  }

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

@media (max-width:640px) {
  .container {
    width: min(100% - 20px, 1180px)
  }

  .cards-grid,
  .category-grid,
  .products-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr
  }

  .hero {
    padding-top: 42px
  }

  .hero-card {
    padding: 20px;
    border-radius: 26px
  }

  .hero-visual:after {
    font-size: 22px
  }

  .cart-card {
    grid-template-columns: 72px 1fr
  }

  .cart-card .cart-line-total {
    grid-column: 1/-1
  }

  .nav a {
    width: 100%
  }

  .section {
    padding: 46px 0
  }

  .map-frame iframe {
    height: 380px
  }
}


/* Premium content pages */
.premium-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 38px
}

.premium-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 12%, rgba(72, 168, 104, .18), transparent 30%), radial-gradient(circle at 84% 18%, rgba(198, 161, 91, .16), transparent 28%);
  pointer-events: none
}

.premium-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: stretch
}

.premium-panel {
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: 36px;
  padding: 32px;
  box-shadow: var(--shadow)
}

.premium-visual {
  min-height: 380px;
  border-radius: 36px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  background: linear-gradient(145deg, rgba(13, 51, 33, .92), rgba(46, 139, 87, .72)), var(--hero-img, url('logoes/1.png')) center/cover
}

.premium-visual:after {
  content: attr(data-caption);
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.15;
  color: var(--green-950)
}

.content-flow {
  display: grid;
  gap: 22px
}

.story-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow-soft)
}

.story-card h2,
.story-card h3 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-family: Georgia, serif
}

.story-card p,
.story-card li {
  color: var(--muted)
}

.story-card ul,
.story-card ol {
  padding-left: 22px;
  margin: 0
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px
}

.image-tile {
  min-height: 180px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green-100), #fff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--green-700);
  font-size: 44px
}

.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.service-grid,
.news-grid,
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.service-card,
.news-card,
.advantage-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
  transition: .22s
}

.service-card:hover,
.news-card:hover,
.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow)
}

.service-num {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--green-100);
  display: grid;
  place-items: center;
  color: var(--green-800);
  font-weight: 900;
  margin-bottom: 14px
}

.news-card {
  overflow: hidden;
  padding: 0
}

.news-media {
  height: 260px;
  background: linear-gradient(145deg, var(--green-100), #fff);
  display: grid;
  place-items: center;
  color: var(--green-700);
  font-size: 48px
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.news-body {
  padding: 24px
}

.news-date {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 800;
  font-size: 13px
}

.quote-band {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: 34px;
  padding: 30px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center
}

.quote-band p {
  color: #e9f7ee;
  margin: 0
}

.plant-carousel {
  position: relative
}

.carousel-shell {
  overflow: hidden;
  border-radius: 34px;
  padding: 4px
}

.carousel-track {
  display: flex;
  gap: 22px;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform
}

.carousel-track .product-card {
  min-width: calc((100% - 44px)/3)
}

.carousel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 20px
}

.carousel-arrows {
  display: flex;
  gap: 10px
}

.carousel-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 22px;
  color: var(--green-800);
  transition: .2s
}

.carousel-btn:hover {
  transform: translateY(-2px);
  background: var(--green-100)
}

.carousel-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex: 1
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: #c9dbd0;
  cursor: pointer
}

.carousel-dot.active {
  width: 28px;
  background: var(--green-700)
}

.fade-up {
  animation: fadeUp .65s ease both
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@media (max-width:980px) {
  .premium-hero-grid {
    grid-template-columns: 1fr
  }

  .service-grid,
  .news-grid,
  .advantage-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .carousel-track .product-card {
    min-width: calc((100% - 22px)/2)
  }

  .premium-visual {
    min-height: 300px
  }

  .quote-band {
    grid-template-columns: 1fr
  }

  .image-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media (max-width:640px) {
  .premium-panel {
    padding: 22px;
    border-radius: 28px
  }

  .premium-visual:after {
    font-size: 21px
  }

  .service-grid,
  .news-grid,
  .advantage-grid,
  .image-grid {
    grid-template-columns: 1fr
  }

  .carousel-track .product-card {
    min-width: 100%
  }

  .carousel-actions {
    flex-wrap: wrap
  }

  .carousel-dots {
    order: 2;
    width: 100%
  }

  .carousel-arrows {
    margin-left: auto
  }

  .premium-hero {
    padding-top: 44px
  }
}


/* Shop refinements: stable product cards, hidden public prices and price-list tabs */
.product-card {
  height: 100%;
  min-height: 470px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.product-image {
  height: 230px;
  min-height: 230px;
  flex: 0 0 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--green-100), #fff);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  padding: 14px;
  margin: 0;
  transform: none;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.product-body h3 {
  font-size: 20px;
  line-height: 1.2;
}

.product-description {
  margin: 0;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card .price {
  display: none !important;
}

.product-actions {
  margin-top: auto;
}

.shop-tabs {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 8px auto 24px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
  width: max-content;
  max-width: calc(100% - 32px);
}

.shop-tab {
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  background: transparent;
  color: var(--green-800);
  font-weight: 900;
  cursor: pointer;
  transition: .22s;
}

.shop-tab:hover {
  background: var(--green-100);
  transform: translateY(-1px);
}

.shop-tab.active {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: #fff;
  box-shadow: 0 12px 28px rgba(31, 106, 67, .22);
}

.shop-panel[hidden] {
  display: none !important;
}

.price-panel {
  margin-top: 6px;
}

.price-toolbar {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 380px);
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.price-search {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.price-table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.price-table-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, #fff, var(--green-50));
}

.price-table-head .h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 12px;
}

.price-table-wrap {
  overflow: auto;
  max-width: 100%;
}

.price-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}

.price-table th,
.price-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--green-950);
  color: #fff;
  font-size: 14px;
  line-height: 1.25;
}

.price-table tbody tr {
  transition: .18s;
}

.price-table tbody tr:hover {
  background: var(--green-50);
}

.price-table td:first-child,
.price-table th:first-child {
  width: 70px;
  text-align: center;
  font-weight: 900;
}

@media (max-width:980px) {
  .price-toolbar {
    grid-template-columns: 1fr
  }

  .product-card {
    min-height: 450px
  }

  .product-image {
    height: 210px;
    min-height: 210px;
    flex-basis: 210px
  }
}

@media (max-width:640px) {
  .shop-tabs {
    width: calc(100% - 20px);
    border-radius: 24px
  }

  .shop-tab {
    flex: 1;
    padding: 12px 14px
  }

  .product-card {
    min-height: auto
  }

  .product-image {
    height: 210px;
    min-height: 210px;
    flex-basis: 210px
  }

  .product-body h3 {
    font-size: 19px
  }

  .price-table {
    min-width: 0;
    border-spacing: 0
  }

  .price-table thead {
    display: none
  }

  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%
  }

  .price-table tr {
    padding: 14px;
    border-bottom: 1px solid var(--line)
  }

  .price-table td {
    border: 0;
    padding: 7px 4px 7px 44%;
    position: relative;
    min-height: 34px
  }

  .price-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 4px;
    top: 7px;
    width: 38%;
    font-weight: 900;
    color: var(--green-800);
    font-size: 12px;
    line-height: 1.25
  }

  .price-table td:first-child {
    text-align: left
  }

  .price-table-head {
    display: grid
  }

  .price-table-head .h2 {
    font-size: 26px
  }
}

.cart-total-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(38, 109, 74, .1);
  color: var(--green-800, #174d35);
  font-weight: 800;
  font-size: 18px;
}

.cart-card .cart-line-total {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}