:root {
  --bs-body-bg: #0f0f0f;
  --bs-card-bg: #1a1a1a;
  --bs-primary: #ff8c00df;
  --bs-secondary: #ff8c00df;
  --bs-body-color: #fff8dc;
  --bs-text-muted: #bfbfbf;
  --bs-border-color: #2a2a2a;
  --border-gradient-onyx: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.005)
  );
  --bg-gradient-jet: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.95),
    rgba(30, 30, 30, 0.9)
  );
  --shadow-2: 0 12px 30px rgba(0, 0, 0, 0.6);
  /* Testimonial tuning vars - edit these to change styles globally */
  --testimonial-border-opacity: 0.06; /* lower = more transparent */
  --section-gap: 3rem; /* gap between stacked sections; edit to increase/decrease spacing */
  --testimonial-shadow-color: 0, 0, 0; /* RGB for shadow color */
  --testimonial-shadow-y: 12px; /* vertical offset */
  --testimonial-shadow-blur: 10px; /* blur radius */
  --testimonial-shadow-alpha: 0.2; /* shadow opacity */
  --testimonial-avatar-size: 100px; /* default avatar size */
}

/*** Spinner Start ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.8s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  --testimonial-border-opacity: 0.12; /* increase to make testimonial border more visible */
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}
/*** Spinner End ***/

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.border-secondary {
  transition: 0.5s;
}

.btn.border-secondary:hover {
  background: var(--bs-secondary) !important;
  color: var(--bs-dark) !important;
}

/*** Topbar Start ***/
.fixed-top {
  transition: 0.5s;
  background: var(--bs-white);
  border: 0;
}

.topbar {
  padding: 20px;
  border-radius: 230px 100px;
}

.topbar .top-info {
  font-size: 15px;
  line-height: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.topbar .top-link {
  font-size: 15px;
  line-height: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.topbar .top-link a {
  letter-spacing: 1px;
}

.topbar .top-link a small:hover {
  color: var(--bs-secondary) !important;
  transition: 0.5s;
}

.topbar .top-link a small:hover i {
  color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
  padding: 10px 15px;
  font-size: 16px;
  transition: 0.5s;
}

.navbar {
  height: 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  vertical-align: middle;
  margin-left: 8px;
}

@media (min-width: 1200px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    transition: 0.5s;
    opacity: 100;
  }
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-secondary);
  color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  border-radius: 10px !important;
  transition: 0.5s;
  opacity: 1;
}

#searchModal .modal-content {
  background: rgba(255, 255, 255, 0.8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
  background: linear-gradient(
      rgba(248, 223, 173, 0.1),
      rgba(248, 223, 173, 0.1)
    ),
    url(../img/hero-img.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.carousel-item {
  position: relative;
}

.carousel-item a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  border: 1px solid var(--bs-white);
  background: var(--bs-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-next {
  margin-right: 20px;
}

.carousel-control-prev {
  margin-left: 20px;
}

.page-header {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/cart-page-header-img.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 992px) {
  .hero-header,
  .page-header {
    margin-top: 152px !important;
  }
}

@media (max-width: 992px) {
  .hero-header,
  .page-header {
    margin-top: 97px !important;
  }
}
/*** Hero Header end ***/

/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
  position: relative;
  width: 120px;
  height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
  content: "";
  width: 35px;
  height: 35px;
  background: var(--bs-secondary);
  position: absolute;
  bottom: -10px;
  transform: translate(-50%);
  transform: rotate(45deg);
  background: var(--bs-secondary);
}
/*** featurs End ***/

/*** service Start ***/
.service .service-item .service-content {
  position: relative;
  width: 250px;
  height: 130px;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*** service End ***/

/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
  background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
  color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
  line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
  transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
  color: var(--bs-secondary);
}

.fruite .fruite-item {
  height: 100%;
  transition: 0.5s;
}
.fruite .fruite-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
  overflow: hidden;
  transition: 0.5s;
  border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
  transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
  transform: scale(1.3);
}
/*** Fruits End ***/

/*** vesitable Start ***/
.vesitable .vesitable-item {
  height: 100%;
  transition: 0.5s;
}

.vesitable .vesitable-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
  overflow: hidden;
  transition: 0.5s;
  border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
  transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
  transform: scale(1.2);
}

.vesitable .owl-stage {
  margin: 50px 0;
  position: relative;
}

.vesitable .owl-nav .owl-prev {
  position: absolute;
  top: -8px;
  right: 650px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
  align-items: center;
}

.vesitable .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
  position: absolute;
  top: -8px;
  right: 550px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}
/*** vesitable End ***/

/*** Banner Section Start ***/
.banner .banner-btn:hover {
  background: var(--bs-primary);
}
/*** Banner Section End ***/

/*** Facts Start ***/
.counter {
  height: 100%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
  font-size: 60px;
  margin-bottom: 25px;
}

.counter h4 {
  color: var(--bs-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.counter h1 {
  margin-bottom: 0;
}
/*** Facts End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  right: 0;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
  visibility: hidden;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 88px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
  visibility: hidden;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}
/*** testimonial End ***/

/* Testimonial container styling (adapted from .service-item pattern) */
.testimonial {
  margin-bottom: 35px;
}

.testimonial-header {
  margin-bottom: 20px;
}

.testimonial .testimonial-item {
  position: relative;
  background: #000; /* solid black background for testimonial cards */
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, var(--testimonial-border-opacity)); /* subtle semi-transparent border */
  z-index: 1;
}

.testimonial .testimonial-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  opacity: 0.9;
}

/* Ensure testimonial inner images keep shape with our product image rules */
.testimonial .testimonial-item img {
  width: var(--testimonial-avatar-size) !important;
  height: var(--testimonial-avatar-size) !important;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* Responsive avatar sizing: reduce on small screens */
@media (max-width: 576px) {
  :root {
    --testimonial-avatar-size: 64px;
  }
}

/*** Single Page Start ***/
.pagination {
  display: inline-block;
}

.pagination a {
  color: var(--bs-dark);
  padding: 10px 16px;
  text-decoration: none;
  transition: 0.5s;
  border: 1px solid var(--bs-secondary);
  margin: 0 4px;
}

.pagination a.active {
  background-color: var(--bs-primary);
  color: var(--bs-light);
  border: 1px solid var(--bs-secondary);
}

.pagination a:hover:not(.active) {
  background-color: var(--bs-primary);
}

.nav.nav-tabs .nav-link.active {
  border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/

/*** Footer Start ***/
.footer .footer-item .btn-link {
  line-height: 35px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
  color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
  line-height: 35px;
}
/*** Footer End ***/

/* Make Bootstrap grid column `.col-md-6` match `.service-item` styling */
.col-md-6 {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

/* Optional: ensure buttons also have a subtle shadow */
button,
.btn {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

/* Product image sizing: keep a uniform height and crop via object-fit
   Applies to product/thumbnail image containers used throughout templates. */
:root {
  --product-img-height: 220px;
}

.fruite .fruite-item .fruite-img,
.vesitable .vesitable-item .vesitable-img,
.vesitable-item .vesitable-img {
  height: var(--product-img-height);
  overflow: hidden;
}

.fruite .fruite-item .fruite-img img,
.vesitable .vesitable-item .vesitable-img img,
.vesitable-item .vesitable-img img,
.rounded.position-relative img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Small featured thumbnails inside fixed-size wrappers (e.g. sidebar)
   will also inherit the cover behavior when their container enforces size. */
.rounded[style] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ensure top-rounded full-width images also follow the fixed product height and cover behavior */
.img-fluid.w-100.rounded-top {
  width: 100%;
  height: var(--product-img-height);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Global spacing: add vertical gap between consecutive full-width sections */

/* Exempt footer-like full-width sections from the global section gap */
.container-fluid + .container-fluid.footer,
.container-fluid + .container-fluid.copyright {
  margin-top: 0;
}

/* Ensure footer blocks don't inherit the added spacing from utility classes */
.footer,
.copyright {
  margin-top: 0 !important;
}

/*** Project overrides: footer, borders, dark blocks, buttons ***/
/* Remove shadows and radius for footer area elements */
.footer * {
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove visible border thickness site-wide for common border utility classes
   while providing a minimal shadow so elements remain perceptible. Footer is
   excluded above so its visuals remain separate. */
.border,
.border-secondary,
.border-primary,
.border-dark,
.border-white,
.border-2,
.border-3 {
  border: 0 !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Ensure p-4 dark blocks use the project's dark root color and readable text */
.p-4.bg-dark {
  background-color: var(--bs-dark, #212529) !important;
  color: #ffffff !important;
}

/* Buttons get a subtle shadow so they remain visible when borders are removed */
.btn,
button {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* Make input-group buttons (quantity controls) clearly visible */
.input-group .btn,
.input-group-text,
.quantity .btn {
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  background: #121212 !important;
  color: #000000 !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08) !important;
}

.text-white2 {
  color: #fff8dc !important;
}

.bg-dark2 {
  box-shadow: 0 0 2px rgba(255, 140, 0, 0.87), 0 0 12px rgba(255, 140, 0, 0.87);
}

.rounded-pill2 {
  border-radius: 50rem !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.py-5-2 {
  padding-bottom: 0%;
}

.col-md-6-2 {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;

  z-index: 1;
}

.bg-dark3 {
  background-color: #ff8c00df;
}

/* Mobile: disable rounded-pill2 & bg-dark2 on small screens and ensure mobile menu is visible */
@media (max-width: 576px) {
  /* neutralize the two classes when they appear on navbar items */
  .navbar .navbar-nav.rounded-pill2,
  .navbar .navbar-nav.bg-dark2,
  .navbar .navbar-nav.rounded-pill2.bg-dark2,
  .navbar .rounded-pill2,
  .bg-dark2 {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* make the collapsed menu panel dark and opaque so links are readable */
  .navbar-collapse {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
    padding: 1rem !important;
  }

  /* ensure nav links and toggler are visible */
  .navbar .nav-link,
  .navbar .nav-item,
  .navbar .navbar-toggler,
  .navbar .btn-search {
    color: #e0e0e0 !important;
  }

  /* remove any extra spacing that hides the top on small screens */
  .container.px-0.rounded-pill {
    border-radius: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
