/* here you can put your own css to customize and override the theme */

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
li,
label,
input,
select,
textarea,
button {
  font-family: Arial, sans-serif !important;
}

/* Ensure Indian Rupee glyph renders correctly in all price labels. */
.pi-price,
.price,
.top-cart-info-value,
.checkout-price strong,
.checkout-total strong,
.shopping-total .price,
.checkout-total-block .price,
.goods-page-price strong,
.goods-page-total strong {
  font-family: "Segoe UI", "Noto Sans", "DejaVu Sans", Arial, sans-serif !important;
}

/* Global header alignment fixes (all pages) */
@media (min-width: 992px) {
  .pre-header .container .row {
    display: flex;
    align-items: center;
  }

  .pre-header .additional-shop-info,
  .pre-header .additional-nav {
    float: none;
    width: auto;
  }

  .pre-header .additional-shop-info ul,
  .pre-header .additional-nav ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin-bottom: 0;
  }

  .pre-header .additional-nav {
    margin-left: auto;
  }

  .header .container {
    display: flex !important;
    align-items: center;
    flex-wrap: nowrap;
  }

  .header .container::before,
  .header .container::after {
    display: none !important;
  }

  .header .site-logo {
    flex: 0 0 auto;
    margin-right: 24px;
  }

  .header .header-navigation {
    float: none !important;
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 18px;
    overflow: hidden;
  }

  .header .header-navigation > ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    overflow: hidden;
    margin-bottom: 0;
  }

  .header .header-navigation > ul > li {
    float: none !important;
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    margin-left: 0;
    flex: 0 0 auto;
  }

  .header .header-navigation > ul > li > a {
    padding-left: 6px;
    padding-right: 6px;
  }

  .header .header-navigation > ul > li.menu-search {
    display: none !important;
  }

  .header .shop-guest-buttons,
  .header .shop-user-menu,
  .header .shop-orders-link,
  .header .top-cart-block {
    float: none !important;
    flex: 0 0 auto;
    white-space: nowrap;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-self: center;
    vertical-align: middle;
  }

  .header .mobi-toggler {
    display: none !important;
  }

  .header .shop-guest-buttons {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
  }

  .header .shop-guest-buttons .btn {
    height: 38px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
  }

  .header .shop-user-menu {
    margin-left: 10px;
  }

  .header .shop-user-menu:hover .dropdown-menu {
    display: block;
  }

  .header .shop-orders-link {
    margin-left: 10px;
    height: 38px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
  }

  .header .shop-user-menu .btn {
    height: 38px;
    line-height: 24px;
    display: inline-flex;
    align-items: center;
  }

  .header .top-cart-block {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
  }

  .header .top-cart-info {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
  }

  .header .shop-guest-buttons + .top-cart-block,
  .header .shop-user-menu + .top-cart-block,
  .header .top-cart-block + .shop-user-menu,
  .header .shop-orders-link + .top-cart-block,
  .header .shop-guest-buttons + .shop-user-menu,
  .header .shop-guest-buttons + .shop-orders-link {
    margin-left: 10px;
  }
}

@media (max-width: 991px) {
  .pre-header .additional-shop-info ul,
  .pre-header .additional-nav ul {
    white-space: normal;
  }
}

.floating-whatsapp-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  z-index: 1200;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-btn:focus {
  color: #fff;
  background: #128c7e;
  text-decoration: none;
}

/* Logo-matched UI palette refresh */
:root {
  --brand-olive: #556b2f;
  --brand-olive-dark: #3f5123;
  --brand-charcoal: #171b1f;
  --brand-ink: #222a31;
  --brand-silver: #d7dde4;
  --brand-surface: #f4f7f2;
  --brand-white: #ffffff;
}

body.ecommerce {
  background: linear-gradient(180deg, #ffffff 0%, #edf2e9 100%);
  color: var(--brand-ink);
}

.ecommerce .header {
  background: var(--brand-white);
  border-bottom: 1px solid #d9e0d4;
}

.ecommerce .header-navigation > ul > li > a {
  color: #33414d;
  font-weight: 700;
}

.ecommerce .header-navigation ul > li > a:hover,
.ecommerce .header-navigation ul > li.active > a {
  color: var(--brand-olive);
}

.shop-user-menu .btn,
.shop-orders-link,
.btn.btn-default {
  border-color: #ccd6c2;
  color: #2e3a45;
  background: var(--brand-white);
}

.shop-user-menu .btn:hover,
.shop-orders-link:hover,
.btn.btn-default:hover {
  border-color: var(--brand-olive);
  color: var(--brand-olive);
  background: #f7faf4;
}

.btn.btn-primary,
.main .product-item .btn.add2cart,
.main .product-item .btn.js-add-to-cart,
.carousel-btn {
  background: var(--brand-olive);
  border-color: var(--brand-olive);
  color: var(--brand-white);
}

.btn.btn-primary:hover,
.main .product-item .btn.add2cart:hover,
.main .product-item .btn.js-add-to-cart:hover,
.carousel-btn:hover {
  background: var(--brand-olive-dark);
  border-color: var(--brand-olive-dark);
}

.top-cart-block .fa-shopping-cart {
  background: var(--brand-olive);
}

.top-cart-badge {
  background: var(--brand-charcoal);
  color: var(--brand-white);
}

.top-cart-info {
  background: #f4f8f1;
  border-color: #d2dcc8;
}

.main .product-item,
.items-info-wrap,
.sidebar-products,
.content-page,
.panel,
.shop-catalog-body {
  background: var(--brand-white);
  border: 1px solid #e1e8da;
  border-radius: 10px;
}

.main .product-item:hover {
  box-shadow: 0 16px 34px rgba(32, 45, 26, 0.14);
}

a,
.price,
.pi-price,
.product-item h3 a:hover {
  color: var(--brand-olive);
}

.pre-footer {
  background: var(--brand-charcoal);
  color: #d4dde7;
}

.pre-footer h2,
.pre-footer a {
  color: #eef3ea;
}

.footer {
  background: #111519;
  color: #c8d0d8;
}

/* Product card alignment + clickable image behavior */
.sale-product .product-list {
  display: flex;
  flex-wrap: wrap;
}

.sale-product .product-list > [class*="col-"] {
  display: flex;
  margin-bottom: 22px;
}

.sale-product .product-list .product-item {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.sale-product .product-list .product-item .pi-img-wrapper .product-image-link {
  display: block;
}

.sale-product .product-list .product-item .product-meta {
  min-height: 52px;
}

/* Product page quantity stepper refresh */
.product-page .product-page-cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-page .product-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4ddca;
  border-radius: 12px;
  overflow: hidden;
  background: #f4f8f1;
}

.product-page .product-quantity .qty-btn {
  border: 0;
  background: transparent;
  color: #2d3a24;
  width: 38px;
  height: 42px;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}

.product-page .product-quantity .qty-btn:hover {
  background: #e8efdf;
}

.product-page .product-quantity .qty-input {
  border: 0;
  border-left: 1px solid #d4ddca;
  border-right: 1px solid #d4ddca;
  border-radius: 0;
  width: 70px;
  height: 42px;
  text-align: center;
  font-weight: 700;
  color: #22301d;
  background: #fff;
  padding: 0 6px;
}

/* Account page refinement */
.account-page-wrap .content-page {
  padding: 20px;
}

.account-welcome-panel {
  margin-bottom: 18px;
}

.account-welcome-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-welcome-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.account-order-card {
  margin-bottom: 18px;
  overflow: hidden;
}

.account-order-head {
  background: #f8fbf6;
}

.account-order-head-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.account-order-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.order-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  border: 1px solid transparent;
}

.order-status-pill.is-pending {
  background: #f6f8dc;
  color: #6e6a14;
  border-color: #e3dd96;
}

.order-status-pill.is-processing {
  background: #e6f3ff;
  color: #155a94;
  border-color: #b5d5f3;
}

.order-status-pill.is-shipped {
  background: #e8f8f2;
  color: #1e6f55;
  border-color: #b8e4d4;
}

.order-status-pill.is-delivered {
  background: #e8f6ea;
  color: #2e6f32;
  border-color: #bfe2c3;
}

.order-status-pill.is-cancelled {
  background: #fdeeee;
  color: #9a2d2d;
  border-color: #efbcbc;
}

.account-order-total {
  font-size: 22px;
  line-height: 1.1;
  color: #1f2d1f;
}

.account-order-invoice .btn {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.account-order-table th,
.account-order-table td {
  vertical-align: middle !important;
}

@media (max-width: 767px) {
  .account-page-wrap .content-page {
    padding: 12px;
  }

  .account-welcome-row,
  .account-order-head-row {
    display: block;
  }

  .account-welcome-actions {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .account-order-meta {
    align-items: flex-start;
    margin-top: 10px;
  }

  .account-order-table-wrap {
    border-top: 1px solid #e3e9de;
  }

  .account-order-total {
    font-size: 19px;
  }
}

/* Amazon-style Image Zoom on Product Detail Page */
.product-main-image {
  position: relative;
  overflow: visible !important; /* Allow lens to render properly and zoom box to show */
  cursor: crosshair;
}

.zoom-lens {
  position: absolute;
  border: 1px solid rgba(85, 107, 47, 0.4);
  background: rgba(85, 107, 47, 0.15);
  pointer-events: none;
  z-index: 10;
  width: 140px;
  height: 140px;
  display: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.1) inset;
}

.product-zoom-container {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 20px;
  width: 460px;
  height: 460px;
  border: 1px solid #d4ddca;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  overflow: hidden;
  z-index: 1000;
  display: none;
  border-radius: 8px;
}

.product-zoom-container img.zoomImg {
  position: absolute;
  border: none;
  max-width: none;
  will-change: left, top;
}

@media (max-width: 991px) {
  .product-zoom-container {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 767px) {
  .product-zoom-container {
    display: none !important;
  }
  .zoom-lens {
    display: none !important;
  }
  .product-main-image {
    cursor: default;
  }
}

/* Ensure product card images fill the allocated container space fully */
.product-item .pi-img-wrapper {
  height: 280px !important;
  display: block !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

.product-item .pi-img-wrapper .product-image-link,
.product-item .pi-img-wrapper > a {
  display: block !important;
  height: 100% !important;
  width: 100% !important;
}

.product-item .pi-img-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 767px) {
  .product-item .pi-img-wrapper {
    height: 200px !important;
  }
}

