/* Globalūs stiliai */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f1e9;
  color: #2a2e26;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #34402c;
  color: #eef0e6;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.12);
}

.header .container {
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  width: 28px;
  height: 28px;
  transform: rotate(45deg);
  background: #7a8c5a;
  border-radius: 5px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title {
  font-family: 'Marcellus', serif;
  font-size: 23px;
  letter-spacing: 0.3px;
}

.logo-subtitle {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #a9b596;
  margin-top: 5px;
}

.header-actions {
  flex: 1;
  min-width: 190px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* Mygtukai */
.btn {
  cursor: pointer;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14px;
  font-family: 'Karla', sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.2s;
}

.btn-primary {
  background: #7a8c5a;
  color: #fff;
}

.btn-primary:hover {
  background: #6a7a4a;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #eef0e6;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Kategorijų navigacija */
.category-nav {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
}

.categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
}

.category-btn {
  white-space: nowrap;
  cursor: pointer;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 13.5px;
  font-family: 'Karla', sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #cdd3bf;
  transition: all 0.2s;
}

.category-btn.active {
  border-color: #7a8c5a;
  background: #7a8c5a;
  color: #fff;
}

/* Hero sekcija */
.hero {
  background: #f4f1e9;
  padding: 46px 24px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: 'Marcellus', serif;
  font-size: clamp(34px, 5.2vw, 58px);
  font-weight: 400;
  margin-bottom: 14px;
  color: #34402c;
  line-height: 1.05;
}

.hero p {
  font-size: 17px;
  line-height: 1.65;
  color: #5a5e4f;
  max-width: 600px;
  margin-bottom: 22px;
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #34402c;
  text-decoration: none;
  font-weight: 600;
}

.contact-link span {
  color: #7a8c5a;
}

/* Augalų tinklelis */
.plants-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 84px;
}

.plants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(244px, 1fr));
  gap: 22px;
}

.plant-card {
  background: #fbfaf5;
  border: 1px solid #e7e2d3;
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(60, 60, 40, 0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}

.plant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(60, 60, 40, 0.1);
}

.plant-image {
  position: relative;
  width: 100%;
  height: 198px;
  background: #ece9dc;
  overflow: hidden;
}

.plant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.plant-card:hover .plant-image img {
  transform: scale(1.05);
}

.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(251, 250, 245, 0.94);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.18);
  color: #b5563f;
  transition: all 0.2s;
}

.fav-btn:hover {
  background: rgba(251, 250, 245, 1);
  transform: scale(1.1);
}

.plant-content {
  padding: 14px 15px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.plant-category {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #7a8c5a;
  margin-bottom: 6px;
}

.plant-name {
  font-family: 'Marcellus', serif;
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 2px;
  color: #2a2e26;
}

.plant-latin {
  font-style: italic;
  font-size: 13px;
  color: #9a9683;
  margin-bottom: 8px;
}

.plant-description {
  font-size: 13.5px;
  line-height: 1.5;
  color: #5a5e4f;
  margin-bottom: 14px;
  flex: 1;
}

.plant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.plant-price {
  font-size: 14px;
  font-weight: 700;
  color: #34402c;
}

.add-btn {
  cursor: pointer;
  border: none;
  border-radius: 7px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Karla', sans-serif;
  color: #fff;
  background: #34402c;
  transition: background 0.2s;
}

.add-btn:hover {
  background: #2a2e26;
}

.add-btn.in-cart {
  background: #7a8c5a;
}

/* No results */
.no-results {
  text-align: center;
  padding: 90px 20px;
}

.no-results p {
  color: #7a7d6c;
}

/* Krepšelio modalas */
.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 16, 0.45);
  z-index: 50;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 382px;
  max-width: 92vw;
  background: #f4f1e9;
  z-index: 51;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

.cart-header {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd8c8;
}

.cart-header h2 {
  font-family: 'Marcellus', serif;
  font-size: 23px;
  color: #34402c;
  margin: 0;
}

.close-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 20px;
  color: #5a5e4f;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 6px 20px;
}

.cart-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid #e3dece;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-family: 'Marcellus', serif;
  font-size: 16px;
  color: #2a2e26;
}

.cart-item-price {
  font-size: 12px;
  color: #9a9683;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  cursor: pointer;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  border: 1px solid #d7d1bf;
  background: #fff;
  font-size: 16px;
  color: #5a5e4f;
}

.qty-display {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
}

.remove-btn {
  cursor: pointer;
  border: none;
  background: transparent;
  font-size: 15px;
  color: #b08a7d;
}

.cart-footer {
  padding: 18px 22px;
  border-top: 1px solid #ddd8c8;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 13px;
  font-size: 14px;
  color: #5a5e4f;
}

.cart-total span:last-child {
  font-weight: 700;
  color: #34402c;
}

.cart-note {
  font-size: 12px;
  color: #9a9683;
  text-align: center;
  margin: 11px 0 0;
  line-height: 1.5;
}

/* Footer */
.footer {
  background: #34402c;
  color: #eef0e6;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
  justify-content: space-between;
}

.footer-content h3 {
  font-family: 'Marcellus', serif;
  font-size: 33px;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer-content p {
  line-height: 1.7;
  color: #cdd3bf;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 17px;
}

.footer-name {
  font-family: 'Marcellus', serif;
  font-size: 21px;
}

.footer-contact a {
  color: #eef0e6;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact a span {
  color: #7a8c5a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  font-size: 13px;
  color: #8e9a7c;
}

.footer-bottom p {
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .plants-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .cart-sidebar {
    width: 100%;
  }
}
.header-search{
    padding:20px 0;
}

/* Paieškos įvesties laukas */
.search-input{
    width:100%;
    max-width:500px;

    padding:14px 20px;
    border-radius:30px;

    border:none;

    background:#f5f5ef;

    font-size:16px;

    outline:none;

    transition:.25s;
}

.search-input:focus{
    background:white;

    box-shadow:0 0 0 4px rgba(155,170,90,.25);
}