/* ============================================
   CATEGORY CAROUSEL - SIMPLE BIDIRECTIONAL SCROLL
   Uses simple transform animation for reliable back-and-forth movement
   ============================================ */

/* Disable CSS animation from featured.css */
.featured-section .featured-list.category-carousel:not(.css-infinite-scroll),
.featured-section .category-carousel:not(.css-infinite-scroll),
.category-carousel:not(.css-infinite-scroll) {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  -o-animation: none !important;
  width: 100% !important;
  display: block !important;
  overflow: hidden !important;
  position: relative !important;
}

/* CSS Infinite Scroll Carousel Container - FORCE HORIZONTAL */
.featured-section .featured-list.category-carousel.css-infinite-scroll,
.featured-section .category-carousel.css-infinite-scroll,
.category-carousel.css-infinite-scroll {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  white-space: nowrap !important;
  will-change: transform;
  transition: transform 0.6s ease-in-out;
  /* Override any featured.css flex properties */
  width: max-content !important;
}

/* Individual category items - FORCE HORIZONTAL LAYOUT */
.category-carousel.css-infinite-scroll .single-featured {
  flex: 0 0 auto !important;
  display: inline-block !important;
  vertical-align: top !important;
  padding: 8px 15px !important;
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: center !important;
  white-space: normal !important;
  min-width: 120px !important;
  width: auto !important;
  max-width: none !important;
}

/* Image box styling */
.category-carousel.css-infinite-scroll .single-featured .image-box,
.category-carousel.css-infinite-scroll .single-featured figure.image-box {
  margin: 0 auto 13px auto !important;
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  background: #E2EFEA !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

.category-carousel.css-infinite-scroll .single-featured .image-box img,
.category-carousel.css-infinite-scroll .single-featured figure.image-box img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Combo item badges layout (mobile-friendly) */
.combo-items {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 6px !important;
}
.combo-items .combo-item-badge {
  display: inline-block !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  color: #333 !important;
  background: #f2f3f5 !important;
  border-radius: 14px !important;
  line-height: 1.2 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
@media (max-width: 575px) {
  .combo-items .combo-item-badge {
    font-size: 11px !important;
    padding: 5px 8px !important;
    max-width: calc(50% - 6px) !important; /* two chips per line */
  }
}

/* Text styles */
.category-carousel.css-infinite-scroll .single-featured h4 {
  font-size: 20px !important;
  line-height: 28px !important;
  margin: 0 !important;
}

.category-carousel.css-infinite-scroll .single-featured span {
  font-size: 14px !important;
  line-height: 26px !important;
}

/* Single featured item - override ALL featured.css styles (but NOT for css-infinite-scroll) */
.featured-section .category-carousel:not(.css-infinite-scroll) .owl-item .single-featured,
.category-carousel:not(.css-infinite-scroll) .owl-item .single-featured,
.category-carousel:not(.css-infinite-scroll) .single-featured {
  position: relative !important;
  padding: 8px 15px !important; /* Increased horizontal padding for more space */
  margin: 0 !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

/* Image box - override featured.css absolute positioning */
.featured-section .category-carousel .single-featured .image-box,
.category-carousel .single-featured .image-box,
.featured-section .single-featured .image-box,
.featured-section .single-featured figure.image-box {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  margin: 0 auto 13px auto !important;
  width: 70px !important;
  height: 70px !important;
  min-width: 70px !important;
  min-height: 70px !important;
  max-width: 70px !important;
  max-height: 70px !important;
  background: #E2EFEA !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  padding: 0 !important;
}

/* Make category images circular/rounded with uniform dimensions - ALL SELECTORS */
.featured-section .single-featured .image-box img,
.featured-section .single-featured figure.image-box img,
.featured-section .single-featured .image-box figure img,
.category-carousel .single-featured .image-box img,
.category-carousel .single-featured figure.image-box img,
.featured-section .featured-list .single-featured .image-box img,
.featured-section .featured-list .single-featured figure.image-box img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
}

/* Text styles */
.category-carousel .single-featured h4 {
  font-size: 20px !important;
  line-height: 28px !important;
  margin: 0 !important;
}

.category-carousel .single-featured span {
  position: relative !important;
  display: block !important;
  font-size: 14px !important;
  line-height: 26px !important;
}

/* Navigation buttons - override featured.css */
.featured-section .category-carousel .owl-nav,
.category-carousel .owl-nav {
  position: absolute !important;
  left: 0 !important;
  top: 22% !important;
  width: 100% !important;
  margin: 0 !important;
  pointer-events: none !important;
}

.featured-section .category-carousel .owl-nav button,
.category-carousel .owl-nav button {
  position: absolute !important;
  display: inline-block !important;
  font-size: 14px !important;
  color: var(--title-color) !important;
  transition: all 500ms ease !important;
  pointer-events: all !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.featured-section .category-carousel .owl-nav button.owl-prev,
.category-carousel .owl-nav button.owl-prev {
  left: -50px !important;
  right: auto !important;
}

.featured-section .category-carousel .owl-nav button.owl-next,
.category-carousel .owl-nav button.owl-next {
  right: -50px !important;
  left: auto !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .featured-section .category-carousel .owl-nav button.owl-prev,
  .category-carousel .owl-nav button.owl-prev {
    left: 10px !important;
  }
  
  .featured-section .category-carousel .owl-nav button.owl-next,
  .category-carousel .owl-nav button.owl-next {
    right: 10px !important;
  }
}

/* Stripe Payment Elements Styles */
.stripe-payment-element {
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  margin-bottom: 20px;
}

.stripe-payment-container {
  margin-top: 20px;
}

#payment-form {
  width: 100%;
}

#payment-form .theme-btn {
  margin-top: 20px;
}

/* Stripe Elements default styling is good, but we can enhance it */
.StripeElement {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: white;
}

.StripeElement--focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.1);
}

.StripeElement--invalid {
  border-color: #f44336;
}

.StripeElement--complete {
  border-color: #4CAF50;
}

/* User dropdown styles - moved to below */

/* User name display in header */
.main-header .menu-right-content .info-list li .user-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: var(--title-color) !important;
  cursor: pointer !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  transition: background-color 0.2s !important;
  gap: 8px !important;
}

.main-header .menu-right-content .info-list li .user-link i {
  margin-right: 0 !important;
  font-size: 18px !important;
}

.main-header .menu-right-content .info-list li .user-link:hover {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

.main-header .menu-right-content .info-list li .user-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  max-width: 150px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: var(--title-color) !important;
  line-height: 1.2 !important;
}

/* User dropdown container */
.user-box {
  position: relative;
  display: inline-block;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 9999;
  overflow: hidden;
  pointer-events: none;
}

.user-box:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Create an invisible bridge to prevent gap issues */
.user-box::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
  z-index: 9998;
  pointer-events: none;
}

.user-box:hover::after {
  pointer-events: auto;
}

/* User dropdown header */
.user-dropdown-header {
  padding: 12px 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #e0e0e0;
}

.user-dropdown-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 4px;
}

.user-dropdown-email {
  font-size: 12px;
  color: #666;
}

/* User dropdown divider */
.user-dropdown-divider {
  height: 1px;
  background: #e0e0e0;
  margin: 4px 0;
}

/* User dropdown items */
.user-dropdown-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  color: var(--title-color);
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  gap: 10px;
}

.user-dropdown-item i {
  width: 18px;
  font-size: 16px;
  color: #666;
}

.user-dropdown-item:hover {
  background-color: #f8f9fa;
}

.user-dropdown-logout {
  color: #dc3545;
}

.user-dropdown-logout:hover {
  background-color: #fff5f5;
  color: #c82333;
}

.user-dropdown-logout i {
  color: #dc3545;
}

.user-dropdown-form {
  margin: 0;
  padding: 0;
}


.user-dropdown .user-email {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  margin-bottom: 4px;
  line-height: 1.4;
}

.user-dropdown .user-full-name {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.user-dropdown .user-menu {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}

.user-dropdown .user-menu li {
  margin: 0;
}

.user-dropdown .user-menu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  transition: background-color 0.2s;
  width: 100%;
  box-sizing: border-box;
}

.user-dropdown .user-menu li a:hover {
  background-color: #f5f5f5;
  color: #000;
}

.user-dropdown .user-menu li.divider {
  height: 1px;
  background: #e0e0e0;
  margin: 8px 0;
  padding: 0;
}

.user-dropdown .user-menu li a i,
.user-dropdown .user-menu li a i.icon-17,
.user-dropdown .user-menu li a i.icon-25,
.user-dropdown .user-menu li a i.icon-26,
.user-dropdown .user-menu li a i.icon-9 {
  width: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  text-align: center;
  font-size: 14px !important;
  line-height: 1.4 !important;
  display: inline-block;
  vertical-align: middle;
}

/* Fix scrolling issue - override boxed_wrapper overflow */
/* This must come after template CSS to override !important rules */
html.boxed_wrapper,
body.boxed_wrapper {
  overflow: visible !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
}

html {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  height: auto !important;
  max-height: none !important;
}

/* Additional override for body specifically */
body {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

/* Toast notification styles */
@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast-notification {
  animation: toastSlideIn 0.3s ease;
}

/* Ensure header info-list items are positioned correctly */
.info-list {
  position: relative;
  z-index: 1;
}

.info-list > li {
  position: relative;
}

/* Ensure user-box maintains same spacing as other info-list items */
.info-list > li.user-box {
  margin: 0;
  padding: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .user-name {
    display: none;
  }
  
  .user-dropdown {
    right: -10px;
    min-width: 240px;
  }
  
  .user-link {
    padding: 6px 10px;
  }
  
  .user-link i.fa-chevron-down {
    display: none;
  }
}

/* Terms and Conditions Page Styles */
.terms-section {
  background: #ffffff;
}

.terms-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 8px;
}

.terms-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e0e0e0;
}

.terms-section-content {
  margin-bottom: 35px;
}

.terms-section-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--title-color);
  margin-bottom: 15px;
  margin-top: 30px;
}

.terms-section-content h3:first-of-type {
  margin-top: 0;
}

.terms-section-content h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--title-color);
  margin-top: 20px;
  margin-bottom: 12px;
}

.terms-section-content p {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-color);
  margin-bottom: 15px;
}

.terms-section-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 15px;
}

.terms-section-content ul li {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-color);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.terms-section-content ul li:before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--theme-color);
  font-weight: bold;
  font-size: 20px;
}

.terms-section-content a {
  color: var(--theme-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-section-content a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.terms-section-content strong {
  font-weight: 600;
  color: var(--title-color);
}

/* Responsive styles for terms page */
@media (max-width: 991px) {
  .terms-content {
    padding: 30px 20px;
  }
  
  .terms-content h2 {
    font-size: 28px;
  }
  
  .terms-section-content h3 {
    font-size: 22px;
  }
  
  .terms-section-content h4 {
    font-size: 17px;
  }
}

@media (max-width: 767px) {
  .terms-content {
    padding: 20px 15px;
  }
  
  .terms-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .terms-section-content h3 {
    font-size: 20px;
  }
  
  .terms-section-content h4 {
    font-size: 16px;
  }
  
  .terms-section-content p,
  .terms-section-content ul li {
    font-size: 15px;
    line-height: 26px;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 130px; /* Moved up significantly to avoid interfering with scroll-to-top button */
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  animation: whatsappSlideIn 0.5s ease-out;
}

@keyframes whatsappSlideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.whatsapp-button {
  display: flex;
  align-items: center;
  background: rgb(76, 175, 80);
  color: #ffffff;
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  gap: 10px;
}

.whatsapp-button:hover {
  background: #20BA5A;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
  transform: scale(1.05);
}

.whatsapp-button.expanded {
  padding: 12px 24px;
}

.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.whatsapp-icon svg {
  width: 100%;
  height: 100%;
  color: #ffffff;
}

.whatsapp-text {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  animation: whatsappTextFadeIn 0.3s ease-out;
}

@keyframes whatsappTextFadeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive styles for WhatsApp button */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 120px; /* Moved up significantly on mobile to avoid scroll-to-top button */
    right: 15px;
  }
  
  .whatsapp-button {
    padding: 10px 16px;
  }
  
  .whatsapp-button.expanded {
    padding: 10px 20px;
  }
  
  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
  
  .whatsapp-text {
    font-size: 13px;
  }
}

/* Hide dropdown icons for Home and Shop menu items */
.main-menu .navigation > li.dropdown.no-dropdown-icon > a::before {
  display: none !important;
  content: none !important;
}

/* Product price styling - strikethrough for old price */
.price-box {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.price-box .price {
  font-size: 1.5em !important;
  font-weight: bold !important;
  color: #4CAF50 !important;
}

.price-box .old-price {
  font-size: 1.2em !important;
  color: #999 !important;
  text-decoration: line-through !important;
  text-decoration-color: #999 !important;
  text-decoration-thickness: 2px !important;
  opacity: 0.7 !important;
}

/* Logo box - balanced size for header */
.header-upper .logo-box {
  display: flex !important;
  align-items: center !important;
}

.header-upper .logo-box img {
  max-height: 120px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

/* Mobile: center the logo in header */
@media (max-width: 767px) {
  .main-header .header-upper .logo-box {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .main-header .header-upper .logo-box a {
    display: inline-flex !important;
    justify-content: center !important;
  }
}

/* Hide all images in category dropdown */
.main-header .category-box .category-list .list-inner img,
.main-header .category-box .category-list .list-inner .image,
.main-header .category-box .category-list .list-inner figure,
.main-header .category-box .category-list .list-inner .shop-block {
  display: none !important;
}

/* Adjust list-inner width since we removed the shop-block */
.main-header .category-box .category-list .list-inner {
  width: auto !important;
  max-width: 600px !important;
}

/* Center quantity selector on homepage (shop-style-two section) with right padding */
.shop-style-two .shop-block-one .inner-box .lower-content {
  text-align: center !important;
  position: relative !important;
}

.shop-style-two .shop-block-one .inner-box .item-quantity-selector {
  position: relative !important;
  right: auto !important;
  left: auto !important;
  margin: 0 auto !important;
  margin-right: 25px !important;
  float: none !important;
  display: inline-block !important;
  width: fit-content !important;
}

/* Center quantity selector in product-card component as well */
.shop-block-one .inner-box .lower-content {
  text-align: center !important;
  position: relative !important;
}

.shop-block-one .inner-box .lower-content .item-quantity-selector {
  position: relative !important;
  right: auto !important;
  left: auto !important;
  margin-left: auto !important;
  margin-right: 25px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  float: none !important;
  display: inline-block !important;
  width: fit-content !important;
}

/* Match spacing in second Highest Sold Products section to first section */
.shop-style-two .shop-carousel .shop-block-one {
  margin-left: 15px !important;
  margin-right: 15px !important;
}

/* Product detail page quantity selector - match homepage structure */
.shop-details .content-box {
  text-align: center !important;
}

.shop-details .item-quantity-selector {
  position: relative !important;
  right: auto !important;
  left: auto !important;
  margin: 0 auto !important;
  margin-right: 25px !important;
  margin-top: 20px !important;
  float: none !important;
  display: inline-block !important;
  width: 180px !important;
  max-width: none !important;
}

/* Ensure TouchSpin buttons are visible on product detail page */
.shop-details .item-quantity-selector .bootstrap-touchspin {
  position: relative !important;
  width: 100% !important; /* match module-css shop-details */
  height: 50px !important; /* match module-css shop-details */
  border: 1px solid #E5E5E5 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
}

/* Unified width for product and combo quantity selector */
.shop-details .item-quantity-selector {
  width: 180px !important;
}

/* Use default module CSS for button layout; global width set below */

/* Flex-based horizontal layout to keep + and - inside pill and avoid double borders */
.shop-details .item-quantity-selector .bootstrap-touchspin .input-group-btn,
.shop-details .item-quantity-selector .bootstrap-touchspin .input-group-btn-vertical {
  display: block !important;
  width: 40px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.shop-details .item-quantity-selector .bootstrap-touchspin .input-group-btn .bootstrap-touchspin-down,
.shop-details .item-quantity-selector .bootstrap-touchspin .input-group-btn .bootstrap-touchspin-up {
  position: static !important;
  width: 40px !important;
  height: 50px !important;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  margin: 0 !important;
  visibility: visible !important;
}

.shop-details .item-quantity-selector .bootstrap-touchspin .quantity-spinner {
  flex: 1 1 auto !important;
  min-width: 60px !important;
}

/* Remove vertical overrides here; rely on module CSS */

.shop-details .item-quantity-selector .bootstrap-touchspin .quantity-spinner {
  position: static !important;
  transform: none !important;
  width: 1% !important;
  min-width: 60px !important;
  height: 50px !important;
  line-height: 50px !important;
  text-align: center !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  pointer-events: auto !important;
}

.shop-details .item-quantity-selector .bootstrap-touchspin .glyphicon-chevron-up:before,
.shop-details .item-quantity-selector .bootstrap-touchspin .glyphicon-chevron-down:before {
  content: "" !important;
  font-family: 'Font Awesome 5 Pro' !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  color: var(--title-color) !important;
}

.shop-details .item-quantity-selector .bootstrap-touchspin .glyphicon-chevron-up:before {
  content: "\f067" !important; /* Plus icon */
}

.shop-details .item-quantity-selector .bootstrap-touchspin .glyphicon-chevron-down:before {
  content: "\f068" !important; /* Minus icon */
}

.shop-details .decore {
  position: absolute;
  right: 30px;
  bottom: 25px;
  z-index: 1;
}

/* Product images gallery */
.product-images-gallery .gallery-item {
  margin-bottom: 20px;
}

.product-images-gallery .gallery-item figure {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #E5E5E5;
}

.product-images-gallery .gallery-item figure img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.product-images-gallery .gallery-item figure:hover img {
  transform: scale(1.05);
}

/* Uniform product card heights - ensure all product cards have the same height */
.shop-block-one {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.shop-block-one .inner-box {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Uniform product image dimensions - ensure all product images fill their containers consistently */
.shop-block-one .inner-box .image-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
  flex-shrink: 0;
}

.shop-block-one .inner-box .image-box .image {
  width: 100%;
  height: 100%;
  min-height: 280px !important;
  max-height: 280px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.shop-block-one .inner-box .image-box .image img,
.shop-block-one .inner-box .image-box figure.image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 280px !important;
  max-height: 280px !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  padding: 10px !important;
  box-sizing: border-box !important;
}

/* Ensure lower content area takes remaining space */
.shop-block-one .inner-box .lower-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* For carousel product images */
.shop-style-two .shop-block-one .inner-box .image-box {
  height: 280px !important;
  min-height: 280px !important;
  max-height: 280px !important;
}

.shop-style-two .shop-block-one .inner-box .image-box .image {
  min-height: 280px !important;
  max-height: 280px !important;
}

.shop-style-two .shop-block-one .inner-box .image-box .image img,
.shop-carousel .shop-block-one .inner-box .image-box .image img {
  min-height: 280px !important;
  max-height: 280px !important;
}

/* Highlights section - Make 3 blocks fill width evenly */
.highlights-section .inner-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
}

.highlights-section .highlights-block-one {
  flex: 1 1 calc(33.333% - 20px) !important;
  min-width: 0 !important;
  margin: 0 10px !important;
  max-width: none !important;
}

@media (max-width: 768px) {
  .highlights-section .highlights-block-one {
    flex: 1 1 100% !important;
    margin: 10px 0 !important;
  }
}

/* ==========================================================================
   Visual refresh: reduce heavy green areas
   - Keep green as an accent (buttons/highlights)
   - Use white/soft neutrals for large header backgrounds
   ========================================================================== */

/* Header top strip (if enabled) */
.header-top {
  background: #ffffff !important;
  border-bottom: 1px solid #eef2f6 !important;
}

.header-top .info-list li,
.header-top .info-list li a,
.header-top .text p {
  color: #1f2937 !important;
}

.header-top .info-list li i {
  color: var(--theme-color) !important;
}

/* Main header bar */
.header-upper {
  background: #ffffff !important;
  padding: 18px 0px !important;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08) !important;
}

/* Header lower bar: make it brand green (menu strip) */
.main-header .header-lower {
  background-color: #207d3b !important;
  background-image: linear-gradient(135deg, #1f7d3b 0%, #207d3b 60%, #2ea050 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Header lower: ensure items are readable on green */
.main-header .header-lower .main-menu .navigation > li > a,
.main-header .header-lower .outer-box .category-box .text,
.main-header .header-lower .outer-box .category-box .text i,
.main-header .header-lower .menu-right-content .currency-box,
.main-header .header-lower .menu-right-content .currency-box .nice-select,
.main-header .header-lower .menu-right-content .currency-box .nice-select .current,
.main-header .header-lower .menu-right-content .currency-box .nice-select::before,
.main-header .header-lower .menu-right-content .currency-box .nice-select:after,
.main-header .header-lower .menu-right-content .info-list li a,
.main-header .header-lower .menu-right-content .info-list li button {
  color: #ffffff !important;
}

/* Keep dropdown lists readable */
.main-header .header-lower .nice-select .list li {
  color: #111827 !important;
}

/* Give the “All Categories” pill a subtle contrast */
.main-header .header-lower .outer-box .category-box {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
}

/* Make header icons/text readable on white */
.main-header .support-box .icon-box {
  color: var(--theme-color) !important;
}

.main-header .support-box a {
  color: #111827 !important;
}

.main-header .support-box p {
  color: #6b7280 !important;
}

.main-header .option-list li a,
.main-header .option-list li button {
  color: #111827 !important;
}

/* Search area: more modern “card” look */
.main-header .search-area {
  border: 1px solid #e5e7eb !important; /* slightly stronger on white bg */
  box-shadow:
    0 10px 24px rgba(16, 24, 40, 0.10),
    0 1px 0 rgba(16, 24, 40, 0.04) !important;
  background: #ffffff !important;
}

/* Pro feel: subtle focus ring (no size changes) */
.main-header .search-area:focus-within {
  border-color: rgba(32, 125, 59, 0.40) !important;
  box-shadow:
    0 10px 24px rgba(16, 24, 40, 0.10),
    0 0 0 4px rgba(32, 125, 59, 0.14) !important;
}

/* Clean divider between category + input */
.main-header .search-area .category-inner .nice-select {
  border-right: 1px solid #eef2f6 !important;
}

/* Make the yellow search button look “premium” without resizing */
.main-header .search-area .search-box .form-group button[type='submit'] {
  box-shadow: 0 8px 18px rgba(255, 172, 0, 0.25) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   Featured categories (home top row) - make it more flashy
   ========================================================================== */

/* Featured categories: smooth horizontal rail (JS provides infinite loop) */
.featured-section .featured-list {
  animation: none !important;
  -webkit-animation: none !important;
  -moz-animation: none !important;
  width: max-content !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 34px !important;
  align-items: flex-start !important;
}

.featured-section .inner-container {
  overflow-x: auto !important; /* user can scroll left/right */
  overflow-y: visible !important;
  scroll-snap-type: none !important; /* no snapping (prevents “jumps”) */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}
.featured-section .inner-container.is-dragging {
  cursor: grabbing;
}
.featured-section .inner-container:active {
  cursor: grabbing;
}
.featured-section .inner-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Keep the original slim layout, but add “flash” via glow + ring + underline */
.featured-section .featured-list:not(.category-carousel) .single-featured {
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  /* Ensure consistent vertical stacking + centering */
  padding: 8px 15px !important; /* override featured.css left padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Make every item the same width for perfect alignment */
  flex: 0 0 170px;
  max-width: 170px;
  z-index: 0;
  transition: transform 180ms ease;
}

/* Glow should “fit” the category icon: attach it to the icon itself */
.featured-section .featured-list:not(.category-carousel) .single-featured .image-box {
  position: relative !important;
}

.featured-section .featured-list:not(.category-carousel) .single-featured .image-box::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%,
    rgba(255, 172, 0, 0.38) 0%,
    rgba(32, 125, 59, 0.22) 45%,
    rgba(255, 255, 255, 0) 74%);
  filter: blur(2px);
  opacity: 0.9;
  z-index: -1;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.featured-section .featured-list:not(.category-carousel) .single-featured:hover {
  transform: translateY(-1px);
}

.featured-section .featured-list:not(.category-carousel) .single-featured:hover .image-box::before {
  transform: scale(1.06);
  opacity: 1;
}

/* Premium ring around the icon (no size changes) */
.featured-section .featured-list:not(.category-carousel) .single-featured .image-box {
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 1),
    0 0 0 5px rgba(255, 172, 0, 0.25),
    0 10px 18px rgba(16, 24, 40, 0.14) !important;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.featured-section .featured-list:not(.category-carousel) .single-featured:hover .image-box {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, 1),
    0 0 0 6px rgba(32, 125, 59, 0.28),
    0 12px 22px rgba(16, 24, 40, 0.18) !important;
}

/* Title: bold + animated underline gradient on hover */
.featured-section .featured-list:not(.category-carousel) .single-featured h4 {
  font-weight: 900;
  letter-spacing: -0.02em;
  display: inline-block; /* stays tight to text, but stacking is handled by flex column */
  padding-bottom: 2px;
  background-image: linear-gradient(90deg, #ffac00 0%, #207d3b 100%);
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 0% 3px;
  transition: color 180ms ease, background-size 260ms ease;
}

.featured-section .featured-list:not(.category-carousel) .single-featured:hover h4 {
  color: #14532d;
  background-size: 100% 3px;
}

/* Items count: smaller, brighter badge */
.featured-section .featured-list:not(.category-carousel) .single-featured span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 172, 0, 0.12);
  border: 1px solid rgba(32, 125, 59, 0.18);
  color: #14532d;
}

/* Keyboard focus */
.featured-section .featured-list:not(.category-carousel) .single-featured:focus-visible {
  outline: none;
  border-radius: 10px;
  box-shadow: 0 0 0 4px rgba(32, 125, 59, 0.18);
}

/* Mobile: tighten spacing + tile width (must be AFTER base rules) */
@media (max-width: 767px) {
  .featured-section .featured-list {
    gap: 14px !important;
  }

  .featured-section .featured-list:not(.category-carousel) .single-featured {
    flex: 0 0 150px !important;
    max-width: 150px !important;
    padding: 8px 10px !important;
  }
}

/* Keep search CTA button vibrant but not overpowering */
.main-header .search-area .search-box .form-group button[type='submit'] {
  background: #ffac00;
}

/* Page title / breadcrumb bar: use brand green (per request) */
section.page-title,
.page-title,
.page-title.centred {
  background-color: #207d3b !important;
  background-image: linear-gradient(135deg, #1f7d3b 0%, #207d3b 60%, #2ea050 100%) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

/* Ensure inner wrappers don't paint white over the green */
.page-title .large-container,
.page-title .auto-container,
.page-title .inner-container {
  background: transparent !important;
}

.page-title .bread-crumb li,
.page-title .bread-crumb li a {
  color: #ffffff !important;
}

.page-title .bread-crumb li:before {
  background: rgba(255, 255, 255, 0.7) !important;
}

.page-title .bread-crumb li a:hover {
  color: #ffecb3 !important;
}


/* Combo item badges used on combo cards */
.combo-item-badge {
  display: inline-block;
  background: #f8f9fa;
  color: #333;
  padding: 6px 10px;
  border-radius: 20px;
  margin: 0 6px 6px 0;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,0.04);
}

.combo-items[title] {
  cursor: help;
}

