:root {
  --site-accent: var(--dark-color, #105927);
  --site-accent-strong: var(--light-color, #10702e);
  --site-text: #263238;
  --site-muted: #68757d;
  --site-border: #e4e9ec;
  --site-surface: #ffffff;
  --site-page: #f7f9f8;
  --site-radius: 12px;
  --site-shadow: 0 8px 28px rgba(24, 39, 32, 0.08);
  --site-font: "Lato", "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--site-text);
  background: var(--site-page);
  font-family: var(--site-font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--site-font);
}

a {
  color: var(--site-accent);
  transition: color 0.18s ease, background-color 0.18s ease;
}

a:hover {
  color: var(--site-accent-strong);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #202a30;
  font-family: var(--site-font);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

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

h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p,
li,
label,
small {
  line-height: 1.65;
}

#main > section {
  padding: clamp(36px, 5vw, 68px) 0;
}

#main > section:first-child {
  padding-top: 0;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(100% - 32px, 1200px);
}

.section-header {
  padding-bottom: clamp(22px, 3vw, 36px);
}

.section-header p {
  color: var(--site-text);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.section-header h2 {
  color: var(--site-accent);
}

/* Header */
.above_header {
  min-height: 38px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.header {
  box-shadow: 0 4px 20px rgba(15, 35, 24, 0.1);
}

.header.fixed-top {
  top: 0;
}

.header.fixed-top.has-announcement {
  top: 38px;
}

.header.fixed-top.header-scrolled {
  top: 0;
}

.search-products {
  align-items: center;
  margin: 0 auto;
  padding: 14px 24px 10px;
  width: min(100%, 1320px);
}

.header .logo img {
  display: block;
  max-height: 58px;
  max-width: 190px;
  object-fit: contain;
}

.search-products .input-group {
  flex-wrap: nowrap;
  width: 100%;
}

.search-products .form-outline {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
}

.search_product_btn,
.search-products .menu-btn {
  flex: 0 0 auto;
}

#search_product {
  min-height: 44px;
  border: 1px solid var(--site-border);
  border-radius: 8px 0 0 8px;
  font-size: 15px;
}

#search_product:focus,
.form-control:focus,
.form-select:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--site-accent) 18%, transparent);
}

.search_product_btn,
.menu-btn {
  min-height: 44px;
  border-radius: 0 8px 8px 0;
}

.menu-btn {
  display: none !important;
}

.header-menu-bar {
  position: relative;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
}

.header-menu-bar .wrapper {
  min-height: 54px;
  height: 54px;
  padding: 0 24px;
}

.wrapper .nav-links {
  height: 100%;
  align-items: stretch;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 11px;
}

.nav-links > li > a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-links .drop-menu {
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}

.nav-links > li:hover .drop-menu,
.nav-links > li:hover .mega-box,
.nav-links > li:focus-within .drop-menu,
.nav-links > li:focus-within .mega-box {
  top: 100%;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.nav-links .drop-menu {
  padding: 8px;
  background: var(--dark-color);
  box-shadow: 0 12px 28px rgba(15, 25, 36, 0.22);
}

.nav-links .drop-menu li a {
  padding: 9px 12px;
  border-radius: 6px;
  color: #f3f5f7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-links .drop-menu li a:hover,
.nav-links .drop-menu li a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav-links .mega-box {
  top: 100%;
  padding: 0 24px;
  transition: opacity 0.16s ease, visibility 0.16s ease;
}

.nav-links .mega-box .content {
  gap: 20px;
  padding: 22px 24px;
  border-radius: 0 0 12px 12px;
  background: var(--dark-color);
  box-shadow: 0 12px 28px rgba(15, 25, 36, 0.22);
}

.nav-links .mega-box .content .row_menu {
  flex: 0 1 240px;
  width: auto;
  margin: 0;
  line-height: 1.5;
}

.nav-links .mega-box .content .row_menu > a > header {
  margin: 0 0 8px;
  padding: 0 10px 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1.4;
}

.nav-links .mega-box .content .mega-links li a {
  padding: 7px 10px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.nav-links .mega-box .content .mega-links li a:hover,
.nav-links .mega-box .content .mega-links li a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.cart_number {
  min-width: 22px;
  text-align: center;
}

.alert[style*="position:fixed"] {
  top: 100px;
  right: 18px !important;
  max-width: min(440px, calc(100vw - 36px));
  border: 0;
  border-radius: 10px;
  box-shadow: var(--site-shadow);
}

/* Content surfaces and controls */
.portfolio-info,
.post-box,
.testimonial-item,
.contact_us_grid,
.login_elements,
.profile-card,
.product_details_left,
.product_details_right {
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: var(--site-shadow);
}

.portfolio-info {
  padding: clamp(18px, 3vw, 30px);
}

.cart-items {
  padding: clamp(16px, 2.5vw, 30px);
}

.cart-item {
  display: grid;
  grid-template-columns: 88px minmax(150px, 1fr) minmax(115px, 150px) minmax(220px, 0.9fr);
  align-items: center;
  column-gap: clamp(14px, 2vw, 24px);
  row-gap: 8px;
  margin: 0;
  padding: 22px 0;
  border-bottom: 1px solid #e4e9ec;
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}

.cart-item > [class*="col-"] {
  width: auto;
  max-width: none;
  padding: 0;
  min-width: 0;
  transform: none;
}

.cart-item-image {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.cart-item-image img {
  display: block;
  width: 88px;
  height: 88px;
  margin: 0;
  border: 1px solid #edf0f1;
  border-radius: 10px;
  background: #f7f9f8;
  object-fit: contain;
}

.cart-item-name {
  grid-column: 2;
  grid-row: 1;
}

.cart-item-name h4 {
  margin: 0;
  color: #263238;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
}

.cart-item-name a:hover,
.cart-item-name a:focus-visible {
  color: var(--site-accent);
}

.cart-item-price {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: center;
  line-height: 1.4;
  white-space: nowrap;
}

.cart-item-price .strike_price {
  margin-right: 4px;
  color: #7a858b;
}

.cart-item-controls-column {
  grid-column: 4;
  grid-row: 1 / span 2;
}

.cart-item-controls {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.cart-quantity-control {
  flex: 0 0 82px;
  width: 82px;
}

.cart-quantity-control .form-control {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 6px 8px;
  border-color: #dce3e6;
  border-radius: 8px;
  text-align: center;
}

.cart-quantity-control .form-control:focus {
  border-color: var(--site-accent);
  box-shadow: 0 0 0 3px rgba(16, 89, 39, 0.14);
}

.cart-remove-item {
  display: inline-flex;
  width: 36px;
  min-width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #f2d9dc;
  border-radius: 8px;
  background: #fff7f7;
  color: #c53b48;
  cursor: pointer;
}

.cart-remove-item:hover,
.cart-remove-item:focus-visible {
  border-color: #e9b8be;
  background: #fff0f1;
  color: #a82c38;
}

.cart-item-total {
  min-width: 0;
  margin-left: auto;
  color: #35434a;
  font-weight: 600;
  white-space: nowrap;
}

.pricing .box {
  height: 100%;
  padding: 0;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  box-shadow: 0 5px 20px rgba(24, 39, 32, 0.06);
}

.pricing .box:hover {
  transform: translateY(-4px);
  box-shadow: var(--site-shadow);
}

.product_item {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 8px;
}

.product_item .products {
  width: 100%;
  overflow: hidden;
}

.product_item .products img {
  display: block;
  width: 100%;
  min-width: 0;
  height: 210px;
  object-fit: contain;
  background: #fff;
}

.product-image-placeholder {
  display: flex;
  height: 210px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f3f6f4;
  color: var(--site-muted);
  text-align: center;
}

#main > section.banners {
  padding: 0;
}

.banners .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.banners .clients-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 523;
  overflow: hidden;
}

.banners .clients-slider .swiper-slide {
  flex: 0 0 100%;
  height: 100%;
  width: 100%;
  margin-right: 0 !important;
}

.banners .clients-slider .swiper-slide > a {
  display: block;
  height: 100%;
}

.banners .clients-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 0;
  margin: 0;
  object-fit: cover;
}

.banners .clients-slider .swiper-pagination {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 12px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 6px 12px;
}

.banners .clients-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: rgba(20, 30, 38, 0.5);
  opacity: 1;
}

.banners .clients-slider .swiper-pagination-bullet-active {
  background: #fff;
  transform: scale(1.15);
}

#clients2 {
  padding: clamp(36px, 5vw, 60px) 0;
}

#clients2 .section-header {
  padding-bottom: 24px;
}

.clients-slider2 {
  width: 100%;
  overflow: hidden;
  padding: 8px 4px 34px;
}

.clients-slider2 .swiper-slide {
  display: flex;
  min-height: 172px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--site-border);
  border-radius: var(--site-radius);
  background: var(--site-surface);
  box-shadow: 0 5px 20px rgba(24, 39, 32, 0.06);
  color: var(--site-text);
  font-size: 1rem;
  font-weight: 650;
  text-align: center;
}

.clients-slider2 .swiper-slide img {
  display: block;
  width: min(100%, 180px);
  height: 96px;
  margin: 0 auto;
  object-fit: contain;
}

.clients-slider2 .brand-name {
  max-width: 100%;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.clients-slider2.is-static {
  padding-bottom: 8px;
}

.clients-slider2.is-static .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 260px));
  justify-content: center;
  gap: 20px;
  transform: none !important;
}

.clients-slider2.is-static .swiper-slide {
  width: auto !important;
  height: auto;
}

.clients-slider2.is-static .swiper-pagination {
  display: none;
}

.product_item_detail {
  padding: 16px !important;
}

.product_item_detail > a p {
  min-height: 48px;
  margin: 0 0 8px;
  color: var(--site-text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.price_tag {
  color: var(--site-accent);
  font-size: 17px;
  font-weight: 700;
}

.btn,
.btn-class,
.btn-warning,
.btn-success,
.btn-primary {
  min-height: 42px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.btn:hover,
.btn-class:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(24, 39, 32, 0.16);
}

.btn-class {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--site-accent);
  color: #fff;
}

.btn-class:hover,
.btn-class:focus {
  background: var(--site-accent-strong);
  color: #fff;
}

.form-control,
.form-select {
  min-height: 42px;
  border-color: #d8e0e3;
  border-radius: 8px;
  font-size: 15px;
}

.custom_table {
  overflow: hidden;
  border: 1px solid var(--site-border);
  border-collapse: separate;
  border-radius: 10px;
  background: #fff;
}

.custom_table thead tr th {
  padding: 14px 16px;
  background: var(--site-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.custom_table tbody tr td {
  padding: 12px 16px;
}

.custom_table tbody tr:nth-child(odd) {
  background: #f6f8f7;
}

.breadcrumb-container {
  background-color: #f0f4f2;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--site-border);
}

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a {
  color: var(--site-muted);
  font-size: 14px;
}

.post-box {
  height: 100%;
  padding: 16px;
}

.post-box .post-img img {
  width: 100%;
  max-height: 260px;
  border-radius: 8px;
  object-fit: cover;
}

.post-title {
  margin: 14px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.post-date,
.sale-entry-help {
  color: var(--site-muted);
  font-size: 14px;
}

.article-content {
  color: var(--site-text);
  font-size: 17px;
  line-height: 1.8;
}

.alert {
  border-radius: 8px;
}

.razorpay-processing[hidden] {
  display: none !important;
}

.razorpay-processing {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(18, 27, 32, 0.58);
}

.razorpay-processing__dialog {
  display: flex;
  width: min(100%, 360px);
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(10, 20, 18, 0.24);
  color: var(--site-text);
  text-align: center;
}

.razorpay-processing__dialog strong {
  font-size: 18px;
}

.razorpay-processing__dialog > span:last-child {
  color: var(--site-muted);
  font-size: 14px;
}

.razorpay-processing__spinner {
  width: 38px;
  height: 38px;
  border: 4px solid var(--site-border);
  border-top-color: var(--site-accent);
  border-radius: 50%;
  animation: razorpay-processing-spin 0.8s linear infinite;
}

@keyframes razorpay-processing-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Footer */
.footer {
  margin-top: clamp(28px, 5vw, 64px);
  background: #202724;
  color: #eaf0ed;
  font-size: 15px;
}

.footer .footer-newsletter {
  padding: 38px 0;
  background: color-mix(in srgb, var(--site-accent) 10%, #f4f7f5);
  border-top: 1px solid var(--site-border);
}

.footer .footer-newsletter .section-header {
  padding-bottom: 12px;
}

.footer .footer-newsletter .section-header p {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.footer .footer-newsletter form {
  display: flex;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--site-border);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(24, 39, 32, 0.06);
}

.footer .footer-newsletter form input[type="email"] {
  flex: 1;
  width: auto;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 7px;
}

.footer .footer-newsletter form input[type="submit"] {
  position: static;
  min-height: 42px;
  margin: 0;
  padding: 0 20px;
  border-radius: 7px;
  background: var(--site-accent);
}

.footer .footer-top {
  padding: 52px 0 24px;
  background: #202724;
}

.footer .footer-top .footer-info p,
.footer .footer-top .footer-contact p {
  max-width: 46ch;
  color: #d4ddd8;
  font-size: 15px;
  line-height: 1.8;
}

.footer .footer-top .footer-info .logo span {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.footer .footer-top h4 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.footer .footer-top .footer-links ul li {
  padding: 7px 0;
}

.footer .footer-top .footer-links ul a {
  color: #d4ddd8;
  line-height: 1.5;
}

.footer .footer-top .footer-links ul a:hover,
.footer .footer-top .social-links a:hover {
  color: #fff;
}

.footer .footer-top .footer-contact p {
  overflow-wrap: anywhere;
}

.footer .copyright {
  padding: 20px 12px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4ddd8;
  font-size: 13px;
}

@media (max-width: 970px) {
  .header.fixed-top.has-announcement {
    top: 38px;
  }

  .header-menu-bar .wrapper {
    height: auto;
    min-height: 46px;
    padding: 0 16px;
  }

  .header-menu-bar {
    background: transparent;
  }

  .menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
  }

  .nav-links > li > a {
    font-size: 16px;
  }

  .wrapper .nav-links {
    height: 100vh;
    align-items: initial;
  }

  .nav-links > li {
    display: block;
  }

  .nav-links .mobile-item {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .product_item {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .container {
    width: min(100% - 24px, 1200px);
  }

  .product_item {
    flex-basis: 100%;
    max-width: 100%;
  }

  .banners .clients-slider .swiper-slide img {
    max-height: none;
  }

  .search-products {
    gap: 10px;
    padding: 10px 12px;
  }

  .search-products > div {
    width: auto;
    flex: 1 1 auto;
  }

  .search-products > div:first-child {
    flex: 0 0 84px;
  }

  .header .logo img {
    max-width: 82px;
    max-height: 48px;
  }

  .footer .footer-top {
    padding: 38px 0 16px;
  }

  .footer .footer-top h4 {
    margin-bottom: 10px;
  }

  .custom_table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .cart-items {
    padding: 8px 18px;
  }

  .cart-item {
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-areas:
      "image name"
      "image price"
      "controls controls";
    column-gap: 14px;
    row-gap: 5px;
    padding: 18px 0;
  }

  .cart-item:last-child {
    padding-bottom: 10px;
  }

  .cart-item-image {
    grid-area: image;
    align-self: start;
  }

  .cart-item-image img {
    width: 68px;
    height: 76px;
    border-radius: 9px;
  }

  .cart-item-name {
    grid-area: name;
    align-self: end;
  }

  .cart-item-name h4 {
    font-size: 1rem;
    line-height: 1.35;
  }

  .cart-item-price {
    grid-area: price;
    align-self: start;
    font-size: 0.92rem;
  }

  .cart-item-controls-column {
    grid-area: controls;
    margin-top: 8px;
  }

  .cart-item-controls {
    justify-content: flex-start;
    padding-top: 12px;
    border-top: 1px solid #eef1f2;
  }

  .cart-item-total {
    margin-left: auto;
    font-size: 0.95rem;
  }

  .product_details_right {
    margin-top: 16px;
  }

  .clients-slider2 .swiper-slide {
    min-height: 150px;
    gap: 8px;
    padding: 14px 10px;
    font-size: 0.92rem;
  }

  .clients-slider2 .swiper-slide img {
    width: min(100%, 140px);
    height: 82px;
  }

  .clients-slider2.is-static .swiper-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .cart-item {
    grid-template-columns: 76px minmax(120px, 1fr) 105px minmax(190px, 0.9fr);
    column-gap: 12px;
  }

  .cart-item-image img {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
