/* =========================================================
   Agro Point Header (screenshot layout)
   ========================================================= */
.ap-header {
  background: transparent;
}

/* ---------- Top bar ---------- */
.ap-header-top {
  background-color: #2b2b2b;
  border-bottom: 0;
  position: relative;
  overflow: visible;
  min-height: 42px;
}

.ap-header-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.04) 0, transparent 40%),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.03) 0, transparent 35%);
  pointer-events: none;
}

.ap-header-top .container {
  position: relative;
  z-index: 2;
}

.ap-header-top-inner {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  min-height: 42px;
}

.ap-header-top-green {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: calc(50% - 50vw);
  padding: 0 40px 0 110px;
  min-width: 320px;
  background-color: var(--ltn__secondary-color, #80B500);
  clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%);
  min-height: 42px;
}

.ap-header-social ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
}

.ap-header-social ul li {
  margin: 0 !important;
  list-style: none;
}

.ap-header-social ul li a {
  color: #fff;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  transition: opacity 0.2s ease;
}

.ap-header-social ul li a:hover {
  color: #fff;
  opacity: 0.85;
}

.ap-header-lang .ltn__drop-menu > ul > li > a,
.ap-header-lang > ul > li > a {
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.2 !important;
}

.ap-header-lang .active-currency {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.ap-header-lang .dropdown-toggle::after,
.ap-header-lang .ltn__language-menu .dropdown-toggle::before {
  color: #fff !important;
  border-top-color: #fff;
}

.ap-header-lang .ltn__language-menu .dropdown-toggle::before {
  content: none;
}

.ap-header-lang .dropdown-toggle::after {
  display: inline-block;
  margin-left: 6px;
  vertical-align: 2px;
  content: "";
  border-top: 0.3em solid #fff;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.ap-header-lang ul li ul {
  right: 0;
  left: auto;
  min-width: 90px;
  text-align: center;
}

/* ---------- Middle: logo / contact / search ---------- */
.ap-header .ap-header-middle {
  background: #fff;
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #ececec;
}

.ap-header-middle-row {
  align-items: center;
  justify-content: space-between;
}

.ap-header .site-logo {
  min-width: auto;
}

.ap-header .site-logo img {
  max-height: 70px;
  width: auto;
}

.ap-header-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.ap-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ap-contact-icon {
  color: var(--ltn__secondary-color, #80B500);
  font-size: 28px;
  line-height: 1;
  position: relative;
  padding-right: 14px;
}

.ap-contact-icon::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 34px;
  border-right: 1px dashed #c5c5c5;
}

.ap-contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.ap-contact-label {
  color: var(--ltn__secondary-color, #80B500);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}

.ap-contact-info a {
  color: #777;
  font-size: 14px;
  font-weight: 500;
}

.ap-contact-info a:hover {
  color: var(--ltn__secondary-color, #80B500);
}

.ap-header-search-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ap-header-search {
  min-width: 260px;
}

.ap-header-search.header-search-2 {
  min-width: 260px;
}

.ap-header-search form {
  position: relative;
  margin: 0;
}

.ap-header-search input {
  margin-bottom: 0;
  height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  box-shadow: none;
  padding: 0 44px 0 16px;
  font-size: 14px;
  color: #555;
  background: #fff;
}

.ap-header-search input::placeholder {
  color: #9a9a9a;
}

.ap-header-search input:focus {
  border-color: var(--ltn__secondary-color, #80B500);
  outline: none;
}

.ap-header-search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 44px;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8a8a8a;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-header-search button:hover {
  color: var(--ltn__secondary-color, #80B500);
}

.ap-header .mobile-menu-toggle {
  margin-right: 0;
}

.ap-header .mobile-menu-toggle > a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ap-header .mobile-menu-toggle svg {
  width: 52px;
  height: 48px;
}

.ap-header .mobile-menu-toggle svg path {
  stroke-width: 36px;
}

/* ---------- Desktop menu row ---------- */
.ap-header-menu {
  background: #fff;
  border-bottom: 1px solid #ececec;
}

.ap-header-menu .ltn__main-menu > ul {
  justify-content: center;
}

.ap-header-menu .ltn__main-menu > ul > li > a {
  padding: 14px 12px;
  font-size: 15px;
}

.ap-header-menu .special-link {
  margin-left: 10px;
}

.ap-header-menu .special-link a {
  padding: 10px 22px !important;
}

/* Sticky: hide top bar feel, keep middle */
.ap-header .ap-header-middle.sticky-active {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .ap-header-search {
    min-width: 200px;
  }

  .ap-header-contacts {
    gap: 22px;
  }
}

@media (max-width: 991px) {
  .ap-header-top-green {
    padding-right: 18px;
    padding-left: 70px;
    min-width: 240px;
    gap: 16px;
    clip-path: polygon(42px 0, 100% 0, 100% 100%, 0 100%);
  }

  .ap-header .ap-header-middle {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .ap-header .site-logo img {
    max-height: 52px;
  }

  .ap-header-search {
    min-width: 160px;
  }
}

@media (max-width: 767px) {
  .ap-header-top-green {
    margin-right: calc(50% - 50vw);
    width: auto;
    clip-path: polygon(28px 0, 100% 0, 100% 100%, 0 100%);
    padding-left: 48px;
    min-width: 0;
  }

  .ap-header-social ul {
    gap: 10px;
  }

  .ap-header-search {
    display: none;
  }

  .ap-header-middle-row {
    flex-wrap: nowrap;
  }
}

/* =========================================================
   Product cards + infinite 4-col slider
   ========================================================= */
.ap-mehsul-section {
  background: #f7f7f7;
}

.ap-mehsul-section .ltn__section-title-2 .section-title {
  margin-bottom: 12px;
}

.ap-mehsul-slider {
  margin-top: 30px;
}

.ap-mehsul-slider .slick-list {
  margin: 0 -12px;
  padding: 10px 0 20px;
}

.ap-mehsul-slide {
  padding: 0 12px;
}

.ap-mehsul-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 22px 18px 24px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ap-mehsul-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.ap-mehsul-tag {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
}

.ap-mehsul-tag i {
  font-size: 11px;
  margin-right: 2px;
  color: #b0b0b0;
}

.ap-mehsul-name {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ap-mehsul-name a {
  color: #1a1a1a;
}

.ap-mehsul-name a:hover {
  color: var(--ltn__secondary-color, #80B500);
}

.ap-mehsul-img {
  width: 100%;
  margin-bottom: 14px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-mehsul-img img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.ap-mehsul-brand {
  color: #8a8a8a;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ap-mehsul-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 28px;
  border: 1px solid var(--ltn__secondary-color, #80B500);
  border-radius: 4px;
  color: var(--ltn__secondary-color, #80B500) !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fff;
  transition: background 0.2s ease, color 0.2s ease;
}

.ap-mehsul-btn:hover {
  background: var(--ltn__secondary-color, #80B500);
  color: #fff !important;
}

.ap-mehsul-btn span {
  font-size: 16px;
  line-height: 1;
}

.ap-mehsul-slider .slick-dots {
  bottom: -10px;
}

.ap-mehsul-slider .slick-dots li button:before {
  font-size: 10px;
  color: #c5c5c5;
  opacity: 1;
}

.ap-mehsul-slider .slick-dots li.slick-active button:before {
  color: var(--ltn__secondary-color, #80B500);
}

.ap-mehsul-slider .slick-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  z-index: 2;
}

.ap-mehsul-slider .slick-arrow:hover {
  background: var(--ltn__secondary-color, #80B500);
  color: #fff;
}

@media (max-width: 767px) {
  .ap-mehsul-card {
    padding: 18px 14px 20px;
  }

  .ap-mehsul-img {
    min-height: 150px;
  }

  .ap-mehsul-img img {
    max-height: 160px;
  }
}

/* =========================================================
   Footer (screenshot layout)
   ========================================================= */
.ap-footer {
  margin-top: 0;
}

.ap-footer-main {
  background-color: #2a2a2a;
  background-image:
    radial-gradient(ellipse at 20% 40%, rgba(255, 255, 255, 0.03) 0, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(255, 255, 255, 0.025) 0, transparent 45%);
  padding: 50px 0 0;
}

.ap-footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.ap-footer-logo .site-logo {
  display: inline-flex;
  justify-content: center;
  min-width: auto;
  height: auto;
}

.ap-footer-logo .site-logo img {
  max-height: 80px;
  width: auto;
}

.ap-footer-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: rgba(0, 0, 0, 0.22);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ap-footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 20px;
  position: relative;
}

.ap-footer-contact-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.ap-footer-contact-item > i {
  color: var(--ltn__secondary-color, #80B500);
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.ap-footer-contact-text {
  font-size: 14px;
  line-height: 1.4;
  color: #bdbdbd;
}

.ap-footer-contact-text strong {
  color: #fff;
  font-weight: 700;
  margin-right: 4px;
}

.ap-footer-contact-text a,
.ap-footer-contact-text span {
  color: #bdbdbd;
}

.ap-footer-contact-text a:hover {
  color: var(--ltn__secondary-color, #80B500);
}

.ap-footer-bottom {
  background: #1a1a1a;
  padding: 18px 0;
}

.ap-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ap-footer-copy {
  color: #9a9a9a;
  font-size: 13px;
  margin: 0;
}

.ap-footer-copy span,
.ap-footer-copy a {
  color: var(--ltn__secondary-color, #80B500);
  font-weight: 600;
}

.ap-footer-social ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ap-footer-social ul li {
  margin: 0;
  list-style: none;
}

.ap-footer-social ul li a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #3a3a3a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 0.2s ease, color 0.2s ease;
}

.ap-footer-social ul li a:hover {
  background: var(--ltn__secondary-color, #80B500);
  color: #fff;
}

@media (max-width: 991px) {
  .ap-footer-contacts {
    grid-template-columns: 1fr;
  }

  .ap-footer-contact-item {
    justify-content: flex-start;
    padding: 16px 18px;
  }

  .ap-footer-contact-item:not(:last-child)::after {
    display: none;
  }

  .ap-footer-contact-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 575px) {
  .ap-footer-main {
    padding-top: 36px;
  }

  .ap-footer-logo {
    margin-bottom: 28px;
  }

  .ap-footer-logo .site-logo img {
    max-height: 64px;
  }

  .ap-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   Hero slider — upload size 1900×653
   ========================================================= */
.ltn__slider-area.ltn__slider-3 .ltn__slide-item,
.ltn__slider-area.ltn__slider-3 .ltn__slide-item-2,
.ltn__slider-area.ltn__slider-3 .ltn__slide-item-3 {
  height: auto !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  aspect-ratio: 1900 / 653;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ltn__slider-area.ltn__slider-3 .ltn__slide-item-inner {
  min-height: 0;
  padding: 0;
}

/* =========================================================
   Product card — category above rating
   ========================================================= */
.ap-product-category {
  margin-bottom: 6px;
}

.ap-product-category a,
.ap-product-category span {
  display: inline-block;
  color: var(--ltn__secondary-color, #80B500);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.ap-product-category a:hover {
  color: var(--ltn__secondary-color, #80B500);
  opacity: 0.85;
}
