/*
Theme Name: AAParaPharm 
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: AAParaPharm  is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** VARIABLES
--------------------------------------------------------------*/
body {
  --heading-font: "Inter", sans-serif;
  --bs-link-color: #333;
  --bs-link-hover-color: #333;

  --bs-link-color-rgb: 40, 40, 40;
  --bs-link-hover-color-rgb: 0, 0, 0;

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Inter", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #6bb252;
  --bs-primary-rgb: 107, 178, 82;

  --bs-secondary: #364127;
  --bs-secondary-rgb: 54, 65, 39;

  --bs-danger: #f95f09;
  --bs-danger-rgb: 249, 95, 9;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;

  --bs-primary-bg-subtle: #fff9eb;
  --bs-success-bg-subtle: #eef5e5;

  --bs-border-color: #f7f7f7;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--bs-primary);
  --bs-btn-active-border-color: transparent;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #d3d7dd;
  --bs-btn-disabled-border-color: transparent;
}
.btn-outline-primary {
  --bs-btn-color: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13, 110, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff3cd;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #fff3cd;
  --bs-gradient: none;
}
.btn-outline-light {
  --bs-btn-color: #747474;
  --bs-btn-border-color: #efefef;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: #efefef;
  --bs-btn-hover-border-color: #efefef;
  --bs-btn-focus-shadow-rgb: 248, 249, 250;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #efefef;
  --bs-btn-active-border-color: #efefef;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #efefef;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #efefef;
  --bs-gradient: none;
}
.btn-warning {
  --bs-btn-color: #747474;
  --bs-btn-bg: #fcf7eb;
  --bs-btn-border-color: #fcf7eb;
  --bs-btn-hover-color: #747474;
  --bs-btn-hover-bg: #ffecbe;
  --bs-btn-hover-border-color: #ffecbe;
  --bs-btn-focus-shadow-rgb: 217, 164, 6;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #ffecbe;
  --bs-btn-active-border-color: #ffecbe;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #000;
  --bs-btn-disabled-bg: #fcf7eb;
  --bs-btn-disabled-border-color: #fcf7eb;
}
.btn-success {
  --bs-btn-color: #222;
  --bs-btn-bg: #eef5e4;
  --bs-btn-border-color: #eef5e4;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #9de3c2;
  --bs-btn-hover-border-color: #9de3c2;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #9de3c2;
  --bs-btn-active-border-color: #9de3c2;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #eef5e4;
  --bs-btn-disabled-border-color: #eef5e4;
}
.btn-danger {
  --bs-btn-color: #222;
  --bs-btn-bg: #ffeada;
  --bs-btn-border-color: #ffeada;
  --bs-btn-hover-color: #222;
  --bs-btn-hover-bg: #ecc9af;
  --bs-btn-hover-border-color: #ecc9af;
  --bs-btn-focus-shadow-rgb: 60, 153, 110;
  --bs-btn-active-color: #222;
  --bs-btn-active-bg: #ecc9af;
  --bs-btn-active-border-color: #ecc9af;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #222;
  --bs-btn-disabled-bg: #ffeada;
  --bs-btn-disabled-border-color: #ffeada;
}
body {
  letter-spacing: 0.03em;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  color: var(--bs-dark);
  font-weight: 700;
}
.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}
.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}
.pagination {
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
}
/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
}

.preloader-wrapper .preloader {
  margin: 20% auto 0;
  transform: translateZ(0);
}

.preloader:before,
.preloader:after {
  content: "";
  position: absolute;
  top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.preloader {
  animation-delay: -0.16s;
}

.preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.preloader:after {
  left: 3.5em;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em var(--bs-primary);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--bs-primary);
  }
}

/* *** Start editing below this line *** */
/* .container-fluid {
  max-width: 1600px;
}
*/
@media (min-width: 1400px) {
  .container-lg {
    max-width: 1600px;
  }
}

.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 2rem;
}
.block-1 {
  grid-area: 1 / 1 / 3 / 8;
}
.block-2 {
  grid-area: 1 / 8 / 2 / 13;
}
.block-3 {
  grid-area: 2 / 8 / 3 / 13;
}

@media screen and (max-width: 1140px) {
  .banner-blocks {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
  .block-1 {
    grid-area: 1 / 1 / 3 / 2;
  }
  .block-2 {
    grid-area: 3 / 1 / 4 / 2;
  }
  .block-3 {
    grid-area: 4 / 1 / 5 / 2;
  }
}


/* Category carousel specific styles */
.category-carousel.swiper {
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.category-carousel .swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
}

.category-carousel .swiper-slide {
  flex-shrink: 0;
  width: auto;
  max-width: 200px;
  margin-right: 20px;
  text-align: center;
  padding: 10px;
}

.category-carousel .swiper-slide img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.category-carousel .category-title {
  margin-top: 15px;
  font-size: 1rem;
  color: #333;
  text-align: center;
}

.category-carousel .swiper-slide.active img {
  border: 3px solid var(--bs-primary);
}

.category-carousel .swiper-slide:hover {
  cursor: pointer;
}

.category-carousel .swiper-slide:hover img {
  transform: scale(1.05);
}

/* Brand Section Container */
.brand-carousel.swiper {
    padding: 20px 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Brand Slide Wrapper */
.brand-carousel .swiper-wrapper {
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

/* Individual Brand Slide */
.brand-carousel .swiper-slide {
    flex-shrink: 0;
    width: auto;  /* Allow natural width */
    max-width: 200px;  /* Maximum width per slide */
    margin-right: 20px;  /* Space between slides */
    position: relative;
}

/* Brand Image Styling */
.brand-carousel .swiper-slide img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

/* Brand Title */
.brand-carousel .brand-title {
    margin-top: 15px;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

/* Active Brand State */
.brand-carousel .swiper-slide.active img {
    border: 3px solid #007bff;
}

/* Hover Effects */
.brand-carousel .swiper-slide:hover {
    cursor: pointer;
}

.brand-carousel .swiper-slide:hover img {
    transform: scale(1.05);
}



/* Empty State */
.brand-carousel .swiper-wrapper p {
    width: 100%;
    padding: 20px;
    text-align: center;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-carousel .swiper-slide img {
    width: 100px;
    height: 100px;
  }
  
  .category-carousel .category-title {
    font-size: 0.875rem;
  }
  
  .brand-carousel .swiper-slide img {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .category-carousel .swiper-slide img {
    width: 80px;
    height: 80px;
  }
  
  .category-carousel .swiper-slide {
    padding: 0.25rem;
  }
  
  .brand-carousel .swiper-slide img {
    width: 60px;
    height: 60px;
  }
}



/*Annoucement bar */
.announcement-bar {
  overflow: hidden;
  position: relative;
  height: 45px;
  font-family: 'Inter', sans-serif;
}

.announcements {
  display: flex;
  flex-direction: column;
  position: absolute;
  width: 100%;
  animation: scroll 9s infinite;
}

.announcement-item {
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
  text-align: center;
  padding: 0 1rem;
  letter-spacing: -0.01em;
}

@keyframes scroll {
  0%, 32% { transform: translateY(0); }
  33%, 65% { transform: translateY(-45px); }
  66%, 100% { transform: translateY(-90px); }
}

@media (max-width: 768px) {
  .announcement-item {
    font-size: 1rem;
  }
}



/* product tabs */
.product-tabs .nav-tabs {
  justify-content: flex-end;
  border: none;

  --bs-nav-link-hover-color: #111;
  --bs-nav-link-color: #555;
  --bs-nav-tabs-link-border-color: #fff;
  --bs-nav-tabs-link-hover-border-color: transparent;
  --bs-nav-tabs-link-active-border-color: #fff;
}
.product-tabs .nav-tabs .nav-link.active,
.product-tabs .nav-tabs .nav-item.show .nav-link {
  /* border: none; */
  border-bottom: 3px solid var(--bs-primary);
}

/* products-carousel */
.products-carousel .swiper,
.products-carousel .swiper-container {
  overflow: visible;
}

/*product grid*/
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* This ensures equal width */
  gap: 10px;
  padding: 10px;
}
/* Product item container */
.product-item {
  position: relative;
  padding: 12px; /* Reduced padding for mobile */
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease-out;
}

/* Product image container */
.product-item figure {
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Product image */
.product-item figure img {
  max-height: 150px; /* Reduced height for mobile */
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Product title */
.product-item h3 {
  font-size: 0.875rem; /* 14px */
  margin: 8px 0;
  line-height: 1.2;
}

/* Rating section */
.rating {
  display: flex;
  justify-content: center;
  gap: 2px;
}

.rating svg {
  width: 14px; /* Smaller stars for mobile */
  height: 14px;
}

/* Price section */
.product-action-overlay {
  position: relative;
  padding-top: 8px;
}

/* Quantity input */
.quantity-wrapper input {
  width: 60px;
  height: 32px;
  padding: 4px;
  font-size: 0.875rem;
}

/* Add to cart button */
.add-to-cart-btn {
  padding: 6px 12px;
  font-size: 0.875rem;
  white-space: nowrap;
}


/* Product Pagination */
.pagination {
  --bs-pagination-color: #2d6a4f;             /* Darker pastel green for text */
  --bs-pagination-bg: #ffffff;                 /* Keeping white background */
  --bs-pagination-border-color: #b7e4c7;       /* Light pastel green border */
  --bs-pagination-hover-color: #fff;           /* White text on hover */
  --bs-pagination-hover-bg: #74c69d;           /* Medium pastel green for hove*/
  --bs-pagination-hover-border-color: #74c69d; /* Same as hover background */
  --bs-pagination-active-color: #fff;          /* White text for active state */
  --bs-pagination-active-bg: #40916c;          /* Slightly greenfor active */
  --bs-pagination-active-border-color: #40916c; /* Same as active background */
  --bs-pagination-disabled-color: #95d5b2;      /* Light pastel green for disabled text */
  --bs-pagination-disabled-bg: #f8f9fa;         /* Light gray background for disabled */
  --bs-pagination-disabled-border-color: #d8f3dc; /* Very light pastel green disabled border */
}
.page-link {
  padding: 0.5rem 1rem;
  transition: all 0.2s ease-in-out;
  border-radius: 0.25rem;
  margin: 0 2px;
}

.page-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.page-item.active .page-link {
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 575.98px) {
  .page-link {
      padding: 0.4rem 0.8rem;
  }
}

/* Responsive breakpoints */
@media (min-width: 576px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .product-item {
    padding: 16px;
  }

  .product-item figure img {
    max-height: 180px;
  }
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1400px) {
  .product-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Viewport optimization for mobile */
@media screen and (max-width: 575px) {
  .product-item {
    font-size: 0.875rem;
  }
  
  .product-action-overlay .action-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .quantity-wrapper {
    width: 100%;
  }
  
  .add-to-cart-btn {
    width: 100%;
  }
}
/* cart */
.cart .product-qty {
  min-width: 130px;
}

/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}
@media screen and (max-width: 991px) {
  .image-float {
    margin: 0;
  }
}
/* post item */
.post-item .post-meta {
  font-size: 0.8rem;
  line-height: 1;
}
.post-item .post-meta svg {
  margin-right: 5px;
}

@media screen and (max-width: 991px) {
  /* offcanvas menu */
  .offcanvas-body .nav-item {
    font-weight: 700;
    border-bottom: 1px solid #d1d1d1;
  }
  .offcanvas-body .filter-categories {
    width: 100%;
    margin-bottom: 20px !important;
    border: 1px solid #d1d1d1 !important;
    padding: 14px;
    border-radius: 8px;
  }
  /* dropdown-menu */
  .dropdown-menu {
    padding: 0;
    border: none;
    line-height: 1.4;
    font-size: 0.9em;
  }
  .dropdown-menu a {
    padding-left: 0;
  }
  .dropdown-toggle::after {
    position: absolute;
    right: 0;
    top: 21px;
  }
}

/* single product */
/* product-thumbnail-slider */
.product-thumbnail-slider {
  height: 740px;
}
@media screen and (max-width: 992px) {
  .product-thumbnail-slider {
    margin-top: 20px;
    height: auto;
  }
}
@media screen and (min-width: 992px) {
  .product-thumbnail-slider {
    height: 420px;
  }
}
@media screen and (min-width: 1200px) {
  .product-thumbnail-slider {
    height: 540px;
  }
}
@media screen and (min-width: 1400px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

/* bootstrap extended */
.border-dashed {
  border-bottom: 1px dashed #d1d1d1;
}
.ls-1 {
  letter-spacing: -0.04em;
}
.button-area .btn-cart {
  text-wrap: nowrap;
  height: 3.3em;
  line-height: 2em;
  width: 100%;
}
.fs-7 {
  font-size: 0.8rem !important;
}

/* button */
.btn-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  text-decoration: none;
}

a.btn-link,
a.btn-link:after {
  transition: all 0.5s;
}

a.btn-link {
  position: relative;
}

a.btn-link:before,
a.btn-link:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--bs-dark);
  height: 2px;
}

[data-bs-theme="dark"] a.btn-link:after {
  background-color: var(--bs-light);
}

a.btn-link:before {
  background-color: rgba(var(--bs-light-rgb), 0.2);
  width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
  width: 100%;
}

a.btn-link.text-white:after {
  background-color: var(--bs-light);
}

a.btn-link.text-light:after {
  background-color: var(--bs-light);
}

.navbar .megamenu {
  padding: 1rem;
}
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
  .navbar .has-megamenu {
    position: static !important;
  }
  .navbar .megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
  }
}

/*temp css to test shadow overlay on hover product*/
.product-item {
  background: white;
  transition: all 0.3s ease;
}

.product-container {
  position: relative;
  padding-bottom: 90px; /* Make space for the overlay */
}

.product-action-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  transition: all 0.3s ease;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Optional hover effect */
.product-container:hover .product-action-overlay {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

/* Ensure the price and product info stay visible */
.product-container .d-flex.flex-column {
  padding-bottom: 0.5rem;
}

/* Adjust quantity input and button alignment */
.action-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.quantity-wrapper {
  flex-shrink: 0;
}

.action-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-wrapper {
  width: 80px; /* Adjust this value as needed */
}

.quantity-input {
  text-align: center;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  height: 38px; /* Match the height of the button */
}

.add-to-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* Optional: Add a subtle shadow effect on hover */
.product-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn {
  transition: all 0.3s ease;
}

.btn-outline-danger:hover svg {
  transform: scale(1.1);
}

/* Main Styles */
:root {
  --primary-color: #7dc855;
  --secondary-color: #2c3e50;
  --border-color: #e1e1e1;
  --bg-light: #f8f9fa;
  --text-dark: #2d3436;
  --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* Navigation Styles */
.navigation {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.notification {
  background-color: var(--bg-light);
  padding: 1rem;
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem 0;
  border-radius: 8px;
}

/* Product Details */
.details {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.details__item {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.item__image img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.item__details {
  flex: 1;
}

.item__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.item__price {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.item__quantity {
  color: #666;
  margin: 0.5rem 0;
}

/* Product Information accordion */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.accordion {
  max-width: 600px;
  margin: 2rem auto;
  font-family: Arial, sans-serif;
}

.accordion-item {
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f1f1f1;
}

.accordion-title {
  font-weight: 600;
  color: #333;
}

.accordion-icon {
  transition: transform 0.3s ease;
  width: 20px;
  height: 20px;
  stroke: #666;
}

.accordion-content {
  display: none;
  padding: 15px;
  background-color: white;
  color: #555;
  line-height: 1.6;
}

.accordion-checkbox {
  display: none;
}

.accordion-checkbox:checked + .accordion-header .accordion-icon {
  transform: rotate(180deg);
}

.accordion-checkbox:checked ~ .accordion-content {
  display: block;
}

@media (max-width: 768px) {
  .accordion {
    max-width: 100%;
    margin: 1rem;
  }

  .accordion-header {
    padding: 10px;
  }

  .accordion-title {
    font-size: 16px;
  }

  .accordion-icon {
    width: 16px;
    height: 16px;
  }

  .accordion-content {
    padding: 10px;
  }
}
/* Delivery Options */
.delivery__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.delivery__option {
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.delivery__option.active {
  border-color: var(--primary-color);
  background-color: rgba(125, 200, 85, 0.1);
}

.delivery__option:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* Shipping Information */
.shipping__info {
  margin: 2rem 0;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Payment Section */
.payment {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.payment__title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* Action Buttons */
.actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 2rem;
}

.btn.action__submit {
  background-color: var(--primary-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn.action__submit:hover {
  background-color: #6cb548;
}

.backBtn {
  color: var(--secondary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.backBtn:hover {
  color: var(--primary-color);
}

/* Footer Modifications */
.footer-menu {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links .btn {
  padding: 0.5rem;
  border-radius: 50%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .details__item {
    flex-direction: column;
    text-align: center;
  }

  .actions {
    flex-direction: column-reverse;
    gap: 1rem;
  }

  .btn.action__submit {
    width: 100%;
  }

  .backBtn {
    justify-content: center;
  }
}

/* Product Display Section Styles */
.product-summary {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.checkout-header {
  text-align: center;
  margin-bottom: 2rem;
}

.checkout-header h2 {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.checkout-subtitle {
  color: #7dc855;
  font-size: 1.1rem;
  font-weight: 500;
}

.product-card {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 1rem 0;
}

.product-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-right: 2rem;
}

.product-info {
  flex: 1;
}

.product-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.product-price {
  color: #7dc855;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: #6c757d;
  margin-bottom: 1rem;
}

.quantity-badge {
  background: #e9ecef;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  display: flex;
  align-items: center;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.product-features li:before {
  content: "•";
  color: #7dc855;
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Categories Carousel */
.category-carousel .swiper-slide {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 0.5rem;
}
.rounded-circle {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .rounded-circle {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .rounded-circle {
        width: 20px;
        height: 20px;
    }
}
.category-carousel .swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-carousel .swiper-slide img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-carousel .swiper-slide:hover img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-carousel .swiper-slide img {
    width: 120px;
    height: 120px;
  }
  
  .category-title {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .category-carousel .swiper-slide img {
    width: 100px;
    height: 100px;
  }
  
  .category-carousel .swiper-slide {
    padding: 0.25rem;
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .product-card {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .product-image {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .product-meta {
    justify-content: center;
  }

  .product-features li {
    justify-content: center;
  }
}

/* Custom CSS for Checkout Form design By CLAUDE*/
:root {
  --primary-color: #3b5d50;
  --border-color: #e5e7eb;
  --background-soft: #f8f9fa;
}

body {
  background-color: var(--background-soft);
  color: #333;
  line-height: 1.6;
}

.checkout-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.checkout-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
}

.product-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.form-control,
.form-select {
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.delivery-option {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  display: flex;
  align-items: center;
}

.delivery-option:hover {
  background-color: var(--background-soft);
  border-color: var(--primary-color);
}

.delivery-option.selected {
  border-color: var(--primary-color);
  background-color: var(--background-soft);
}

.form-check-input[type="radio"] {
  margin-top: 0;
  margin-right: 0.5rem;
}

.provider-name {
  font-weight: 500;
}

.provider-cost {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Extra styling for responsive, compact layout */
@media (max-width: 767.98px) {
  .delivery-option {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover {
  background-color: #2f4b40;
}

.cart-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
  border-bottom: none;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.total-line {
  font-weight: 600;
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-color);
  margin-top: 1rem;
}

/* Optional styling */
.badge.bg-primary {
  font-size: 0.85em;
  margin: 2px;
}

.list-group-item .badge.bg-success {
  font-size: 0.9em;
}

/* CSS For Order DataTable */
.card {
  border-radius: 0.75rem;
}

#orderTable {
  border-collapse: separate;
  border-spacing: 0 8px;
  margin-top: -8px;
}

#orderTable thead th {
  border: none;
  color: #6c757d;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#orderTable tbody tr {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
  border-radius: 8px;
  transition: transform 0.2s ease;
}

#orderTable tbody tr:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#orderTable tbody td {
  border: none;
  padding: 1rem 0.75rem;
  vertical-align: middle;
}

#orderTable tbody td:first-child {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

#orderTable tbody td:last-child {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
  line-height: 32px;
  text-align: center;
  border: none;
  margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #0d6efd;
  color: white !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #e9ecef;
  border: none;
}

.dataTables_wrapper .dataTables_length select {
  border-radius: 0.375rem;
  padding: 0.25rem 2rem 0.25rem 0.75rem;
}

.dataTables_wrapper .dataTables_filter input {
  border-radius: 0.375rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid #dee2e6;
}
/* message display design */
.messages-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease-out;
}

.message-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.message-text {
  font-size: 14px;
  line-height: 1.5;
}

.message-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font-size: 20px;
  opacity: 0.7;
  padding: 0;
  transition: opacity 0.2s;
}

.message-close:hover {
  opacity: 1;
}

/* Message types */
.message-success {
  background-color: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.message-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.message-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.message-info {
  background-color: #e0f2fe;
  color: #075985;
  border: 1px solid #7dd3fc;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
/* Card Design for Delivery Choices */

#stop-desk-card,
#at-home-card {
  border: none;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
}

#stop-desk-card:hover,
#at-home-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

#stop-desk-card .form-check-input:checked + .form-check-label,
#at-home-card .form-check-input:checked + .form-check-label {
  font-weight: bold;
}

#stop-desk-card .form-check-input:checked ~ i,
#at-home-card .form-check-input:checked ~ i {
  color: #007bff;
}
/* Free Shipping Message Design */
/* Main alert container */
.free-shipping-message {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin: 8px 0;
  border-radius: 6px;
  background-color: #f0f9f4;
  border: 1px solid #c3e6d3;
  color: #276749;
  font-size: 0.875rem;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

/* Icon styles */
.free-shipping-message::before {
  content: "✓";
  font-weight: bold;
  font-size: 1rem;
}

/* Fade in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional hover effect */
.free-shipping-message:hover {
  background-color: #e6f5ed;
  transition: background-color 0.2s ease;
}
/*LOGO Design*/
.logo-header,
.logo-footer {
  width: 100%;
  height: auto;
  border-radius: 50%; /* Ensures the image is circular */
  object-fit: cover; /* Ensures the image fits well in the circular container */
  background-color: #ffffff; /* Optional: Matches the background for better integration */
  padding: 5px; /* Adds padding for elegance */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for elegance */
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px; /* Adjust based on your layout */
  height: 60px;
  border-radius: 50%; /* Circular container */
  background-color: #f5f5f5; /* Matches background or a complementary color */
  overflow: hidden; /* Ensures the image does not overflow */
  margin: 0 auto; /* Centers the container */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds elegance */
}

/*Discount animation*/
.product-item .badge {
  z-index: 2;
}

.text-decoration-line-through {
  text-decoration: line-through;
}

/*ICONs Hover effects*/
.wishlist-icon-wrapper:hover {
  transform: scale(1.05); /* Slightly enlarges the icon */
}

.profile-icon-wrapper:hover {
  transform: scale(1.05);
}

/* Client Points Design*/
.points-container {
  position: relative;
}

.points-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.points-icon-wrapper:hover {
  transform: scale(1.05);
}

.points-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff6b6b;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.points-dropdown {
  min-width: 250px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  margin-top: 10px;
}

.points-header {
  font-size: 0.9rem;
  color: #6c757d;
  font-weight: 500;
}

.points-amount {
  font-size: 2rem;
  font-weight: 600;
  color: #2c3e50;
  display: flex;
  align-items: baseline;
}

.points-label {
  font-size: 1rem;
  color: #6c757d;
  margin-left: 5px;
  font-weight: normal;
}

.points-info {
  font-size: 0.8rem;
}

/* Animation for Offcanvas Navbar Links*/
.offcanvas-body ul li a {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offcanvas-body ul li a:hover {
  transform: scale(1.05); /* Slightly enlarges the element */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Adds a soft shadow */
}

/* Optional: Add animation for dropdown */
.dropdown-menu.show {
  animation: fadeIn 0.2s ease-in;
}

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


/* Display Product Details */

.product-details-image {
  max-height: 400px;
  object-fit: cover;
}
.thumbnail {
  width: 80px;
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  margin: 0 10px 10px 10px; /* Equal margin on all sides */
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.thumbnail:hover, .thumbnail.active {
  opacity: 1;
}

/* Discount Points Slider */
.points-slider {
  padding-top: 10px;
  border-top: 1px solid #ddd; /* Subtle separation */
}
.form-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  outline: none;
  transition: background-color 0.2s;
}
.form-range:hover {
  background: #adb5bd; /* Slightly darker on hover */
}
.form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  background: #007bff;
  border: 1px solid #0069d9;
  border-radius: 50%;
  cursor: pointer;
}
.form-range::-moz-range-thumb {
  width: 15px;
  height: 15px;
  background: #007bff;
  border: 1px solid #0069d9;
  border-radius: 50%;
  cursor: pointer;
}
/* Cart Badge Design */
.cart-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.cart-link:hover {
  color: #007bff; /* Bootstrap primary color */
}

.cart-icon {
  fill: currentColor; /* Makes the icon inherit the color */
  transition: transform 0.3s ease;
}

.cart-link:hover .cart-icon {
  transform: scale(1.1); /* Slight zoom effect on hover */
}

.cart-badge {
  font-size: 0.75rem; /* Adjust badge text size */
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}
 /*Sticky Icons*/
 .icon-container {
  z-index:1;
	position:fixed;
	right:20%;
	display:flex;
	flex-direction:column;
}

/* Language Icons Design */

.language-btn {
  background: none;
  border: none;
  padding: 5px;
  margin: 0 5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 24px; /* Adjust flag icon size */
}

.language-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.language-btn .flag-icon {
  transition: transform 0.2s;
}

.language-btn:not(:disabled) .flag-icon:hover {
  transform: scale(1.1);
}


@media (min-width: 992px) {
  .product-action-overlay {
    opacity: 0;         /* Hide by default on desktop */
    visibility: hidden;  /* Hide by default on desktop */
    transform: translateY(20px); /* Move down by default on desktop */
  }

  .product-item:hover .product-action-overlay {
    opacity: 1;         /* Show on hover on desktop */
    visibility: visible;  /* Show on hover on desktop */
    transform: translateY(0); /* Move to original position on hover */
  }
    /* Optional: Add a subtle shadow effect on hover */
  .product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}



/* ============ desktop view .end// ============ */

/* ============ mobile view ============ */
@media (max-width: 991px) {
  .navbar.fixed-top .navbar-collapse,
  .navbar.sticky-top .navbar-collapse {
    overflow-y: auto;
    max-height: 90vh;
    margin-top: 10px;
  }
  
}

.mobile-nav {
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1030;
}

.mobile-nav .nav-link {
  color: #333;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav .nav-link:active {
  color: #4CAF50;
}

.search-expand {
  position: fixed;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 1029;
  transition: all 0.3s ease;
}

.points-badge {
  font-size: 0.75rem;
  position: absolute;
  top: -5px;
  right: -5px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
}

/* Adjust main content to prevent overlap with fixed bottom nav */


@media (max-width: 991.98px) {
  body {
    padding-bottom: 60px;
  }
  
  
  .header-search {
    display: none;
  }
  .icons-div {
    display: none;
  }
}



/* THIS IS A CHANGE JUST TO FIX ISSUE WITH ICONS DISPLAY and logo display  THIS IS DIFFERENT FROM LOCAL VERSION CODE AND IS LIMITED ONLY TO PRODUCTION */

@media (max-width: 991.98px) { /* Example breakpoint */
  .logo-container {
    width: 45px; /* Smaller size for mobile */
    height: 45px; /* Smaller size for mobile */
  }
}
@media (max-width: 575.98px) { /* Example for even smaller screens */
   .logo-container {
     width: 45px;
     height: 45px;
   }
 }



/*Add to cart button mobile friendly display */

@media (max-width: 768px) { /* Adjust 768px to your desired breakpoint */
  .add-to-cart-btn {
      padding: 8px; /* Adjust padding for a nice icon-only button */
      width: auto;  /*Let the width be determined by the icon*/
      display: flex; /* Use flexbox to center the icon */
      align-items: center; /* Vertically center */
      justify-content: center; /* Horizontally center */
      -webkit-tap-highlight-color: transparent; /* Remove tap highlight on iOS */
  }

  .add-to-cart-btn span {
      display: none; /* Hide the text "Add to Cart" */
  }
   .add-to-cart-btn svg {
        width: 12px; /* Adjust size of your cart icon */
        height: 12px;
   }
}



/* ============ mobile view .end// ============ */
