/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
}
/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* =========================================================
  THEME VARIABLES (Expert Level)
========================================================= */
:root {
  /* ===== Colors ===== */
  --color-primary: #b71c1c;
  --color-primary-light: #ff6b6b;
  --color-primary-dark: #b71c1c;

  --color-secondary: #a3be4c;
  --color-secondary-light: #c9e075;
  --color-secondary-dark: #6c8f23;

  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-danger: #dc3545;
  --color-info: #17a2b8;

  --color-dark: #222222;
  --color-dark-light: #727272;
  --color-grey: #dbdbdb;
  --color-grey-dark: #212529;
  --color-grey-light: #f5f5f5;
  --color-white: #ffffff;

  /* ===== Gradients ===== */
  --gradient-primary: linear-gradient(90deg, #e63946, #ff6b6b);
  --gradient-secondary: linear-gradient(90deg, #a3be4c, #c9e075);

  /* ===== Background Colors ===== */
  --bg-body: #ffffff; /* Default page background */
  --bg-light: #f8f9fa; /* Light sections */
  --bg-dark: #111111; /* Dark mode or footer */
  --bg-muted: #f5f5f5; /* Subtle background blocks */

  --bg-primary: var(--color-primary); /* Main brand background */
  --bg-primary-light: var(--color-primary-light);
  --bg-primary-dark: var(--color-primary-dark);

  --bg-secondary: var(--color-secondary);
  --bg-secondary-light: var(--color-secondary-light);
  --bg-secondary-dark: var(--color-secondary-dark);

  --bg-success: var(--color-success);
  --bg-warning: var(--color-warning);
  --bg-danger: var(--color-danger);
  --bg-info: var(--color-info);
  --bg-grey-dark: var(--color-grey-dark);

  /* ===== Background Gradients ===== */
  --bg-gradient-primary: var(--gradient-primary);
  --bg-gradient-secondary: var(--gradient-secondary);

  /* ===== Transparent Overlays ===== */
  --bg-overlay-light: rgba(255, 255, 255, 0.6);
  --bg-overlay-dark: rgba(0, 0, 0, 0.6);
  --bg-overlay-primary: rgba(230, 57, 70, 0.6);

  /* ===== Text Colors ===== */
  --text-body: var(--color-dark-light); /* Default body text */
  --text-heading: var(--color-dark); /* Headings */
  --text-muted: #9a9a9a; /* Muted/secondary text */
  --text-light: #f8f9fa; /* On dark backgrounds */
  --text-inverse: var(--color-white); /* Opposite of body */

  --text-primary: var(--color-primary);
  --text-secondary: var(--color-secondary);
  --text-success: var(--color-success);
  --text-warning: var(--color-warning);
  --text-danger: var(--color-danger);
  --text-info: var(--color-info);
  --text-dark: var(--color-dark);
  --text-grey: var(--color-grey);

  /* ===== Fonts ===== */
  --font-body: "Open Sans", sans-serif;
  --font-heading: "Nunito", sans-serif;
  --font-accent: "Garamond", serif;

  /* Font sizes (scalable system) */
  --fs-xs: 0.75rem; /* 12px */
  --fs-sm: 0.875rem; /* 14px */
  --fs-base: 1rem; /* 16px */
  --fs-lg: 1.125rem; /* 18px */
  --fs-xl: 1.25rem; /* 20px */
  --fs-2xl: 1.5rem; /* 24px */
  --fs-3xl: 2rem; /* 32px */
  --fs-4xl: 3rem; /* 48px */

  /* Line heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-loose: 1.8;

  /* ===== Spacing ===== */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-9: 3rem;
  --space-10: 4rem;
  --space-11: 5rem;
  --space-12: 6rem;

  /* ===== Borders & Radius ===== */

  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 30px;
  --border-radius-pill: 50%;

  --border: 1px solid var(--color-grey);

  /* ===== Shadows ===== */
  --shadow-sm: 0px 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0px 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0px 8px 24px rgba(0, 0, 0, 0.15);

  /* ===== Transitions ===== */
  --transition-fast: 0.2s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* =========================================================
  ELEMENT STYLES USING VARIABLES
========================================================= */
/* Body & Typography */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-dark-light);
  background-color: var(--bg-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-dark);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  font-weight: 600;
}
h1 {
  font-size: var(--fs-4xl);
}
h2 {
  font-size: var(--fs-3xl);
}
h3 {
  font-size: var(--fs-2xl);
}
h4 {
  font-size: var(--fs-xl);
}
h5 {
  font-size: var(--fs-lg);
}
h6 {
  font-size: var(--fs-base);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-3) var(--space-5);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 30px !important;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-primary-outline {
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 30px !important;
}
.btn-primary-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 30px !important;
}
.btn-dark:hover {
  background: var(--color-primary);
  color: var(--color-dark);
  box-shadow: var(--shadow-md);
}

.btn-dark-outline {
  background: transparent;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
  border-radius: 30px !important;
}
.btn-dark-outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.btn .badge {
  position: relative !important;
  top: -10px !important;
  left: -5px;
  width: 20px;
  height: 20px;
}

.border {
  border: var(--border) important;
}

.form-control {
  padding: var(--space-4);
  border: var(--border);
  border-radius: var(--border-radius-md);
  font-size: var(--fs-sm);
  transition: border var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  box-shadow: none !important;
}

.form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-grey);
  font-size: var(--fs-sm);
}

/* o

/* Utility Classes */
.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

/* Background utilities */
.bg-body {
  background: var(--bg-body) !important;
}
.bg-light {
  background: var(--bg-light) !important;
}
.bg-dark {
  background: var(--bg-dark) !important;
  color: var(--color-white) !important;
}
.bg-muted {
  background: var(--bg-muted) !important;
}

.bg-grey-dark {
  background-color: var(--bg-grey-dark);
  color: var(--color-white) !important;
}

.bg-primary {
  background: var(--bg-primary) !important;
  color: var(--color-white) !important;
}
.bg-secondary {
  background: var(--bg-secondary) !important;
  color: var(--color-dark) !important;
}
.bg-success {
  background: var(--bg-success) !important;
  color: var(--color-white) !important;
}
.bg-warning {
  background: var(--bg-warning) !important;
  color: var(--color-dark) !important;
}
.bg-danger {
  background: var(--bg-danger) !important;
  color: var(--color-white) !important;
}
.bg-info {
  background: var(--bg-info) !important;
  color: var(--color-white) !important;
}

.bg-gradient-primary {
  background: var(--bg-gradient-primary) !important;
  color: var(--color-white) !important;
}
.bg-gradient-secondary {
  background: var(--bg-gradient-secondary) !important;
  color: var(--color-dark) !important;
}

.bg-overlay-light {
  background: var(--bg-overlay-light) !important;
}
.bg-overlay-dark {
  background: var(--bg-overlay-dark) !important;
}
.bg-overlay-primary {
  background: var(--bg-overlay-primary) !important;
}

/* Text utilities */
.text-body {
  color: var(--text-body) !important;
}
.text-heading {
  color: var(--text-heading) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.text-light {
  color: var(--text-light) !important;
}
.text-inverse {
  color: var(--text-inverse) !important;
}

.text-primary {
  color: var(--text-primary) !important;
}
.text-secondary {
  color: var(--text-secondary) !important;
}
.text-success {
  color: var(--text-success) !important;
}
.text-warning {
  color: var(--text-warning) !important;
}
.text-danger {
  color: var(--text-danger) !important;
}
.text-info {
  color: var(--text-info) !important;
}
.text-dark {
  color: var(--text-dark) !important;
}
.text-grey {
  color: var(--text-grey) !important;
}

a {
  text-decoration: none !important;
}
.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;
}

.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(--color-primary);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--color-primary);
  }
}

/* *** Start editing below this line *** */
.container-fluid {
  max-width: 1600px;
}

.site-header {
  border-bottom: 0 solid var(--color-primary);
}

.site-header .header-right .btn {
  border: none !important;
  padding: 0;
  display: flex;
  align-items: center;
}

.site-header .header-right .auth-btn-group {
  margin-left: 10px;
}

.site-header .header-right .auth-btn {
  background-color: var(--bg-primary);
  color: var(--text-light);
  padding: 5px 15px;
  border-radius: 16px !important;
  gap: 2px;
}

.site-header .header-right .auth-btn i {
  color: var(--text-light) !important;
  font-size: var(--fs-lg) !important;
}

.site-header .header-right .btn:hover i {
  color: var(--text-primary);
}

.site-header .header-right .btn i {
  font-size: 26px;
  color: var(--text-light);
}

nav.header-menu .nav-link {
  font-weight: 500;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  color: var(--text-light) !important;
}

nav.header-menu .nav-link:hover {
  color: var(--color-primary) !important;
  transition: var(--transition-base);
}

.navbar-expand-lg .navbar-nav {
  flex-direction: row;
  gap: 20px;
}

.hero-section video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.all-category .nav-link {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 45px !important;
  border-radius: 8px !important;
  font-weight: 500;
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: 15px;
}

.all-category .dropdown-menu {
  top: 100% !important;
  left: 0 !important;
  right: auto !important;
  width: 250px;
  border-radius: 0 !important;
  padding: 10px;
}

.all-category .dropdown-menu .dropdown-item {
  padding: 5px 10px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

/* --------------------- Mega menu start --------------------- */
.navbar-nav .dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/* Mega menu with transition effect */
.mega-menu {
  left: 0;
  right: 0;
  padding: 20px 0;
  border: none;

  /* Transition setup */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block !important; /* override Bootstrap hiding */
  position: absolute;
  z-index: 999;
  background-color: var(--bg-dark);
}

/* Show animation when dropdown is active */
.nav-item.dropdown:hover .mega-menu,
.nav-item.dropdown.show .mega-menu {
  opacity: 1;
  visibility: visible;
  transition: 0.3s ease;
  transform: translateY(0);
}

.mega-menu-banner {
  display: flex;
  justify-content: center;
  align-items: end;
}

.mega-menu-banner img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 20px;
}

.mega-menu .list-unstyled {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 items per row */
  grid-auto-rows: auto; /* let rows adjust to content height */
  gap: 10px; /* spacing between items */
  max-height: calc(4 * 2em + 3 * 10px); /* limit to 4 rows */
  overflow: hidden; /* hide extra items */
}

.mega-menu .list-unstyled li a {
  display: block;
  padding: 5px 0;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.mega-menu .list-unstyled li a:hover {
  color: var(--color-primary);
  font-weight: 600;
}
/* --------------------- Mega menu end -------------------- */

/* --------------------- Footer start --------------------- */
.footer-menu .widget-title {
  color: var(--text-primary);
}
.footer-menu .menu-list li {
  color: var(--text-muted);
}
.footer-menu.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-menu.social-link ul {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.footer-menu.social-link ul .social-item {
  background-color: var(--bg-dark);
  border-radius: var(--border-radius-pill);
  padding: var(--space-3);
  display: flex;
}
.footer-menu.social-link ul .social-item i {
  font-size: var(--fs-2xl);
  color: var(--text-light);
}

.footer-menu.contact_info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-menu.contact_info span {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.footer-menu.contact_info span i {
  font-size: 25px;
}

/* --------------------- Footer end   -------------------- */

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.section-title {
  font-weight: 800;
  color: var(--text-light);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
  padding-right: 1rem;
}

.section-title::after {
  content: "";
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #ff3c3c, #ff6767);
  display: block;
  margin-top: 0.5rem;
  border-radius: 10px;
}

.main-logo a img {
  width: 12rem;
}

.navigation {
  background-color: var(--bg-grey-dark);
  padding: var(--space-9) 30px;
}

.navigation .left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.navigation .right {
  text-align: end;
}

.navigation .right h5 {
  color: var(--text-light);
  margin-bottom: 0;
}

.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; */
  grid-area: 1 / 1 / 3 / 14;
}
.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); */
    grid-template-rows: repeat(1, 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;
  }
}

.swiper-buttons {
  display: flex;
  gap: 5px;
}

.page-item.active .page-link {
  background-color: var(--bg-primary);
  border-color: var(--bg-primary);
  color: var(--text-light);
}

.page-item .page-link {
  border-color: var(--bg-primary);
  color: var(--bg-primary);
  box-shadow: none;
}

/* banner ad */
.banner-ad {
  position: relative;
  overflow: hidden;
  border: none;
}
.banner-ad.blue {
  background: #e6f3fb;
}
.banner-ad .swiper-pagination {
  bottom: 40px;
  left: 0;
  right: 0;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet {
  width: 16px;
  height: 16px;
  margin: 4px;
  background: var(--color-grey);
  opacity: 1;
  transition: background 0.3s ease-out;
}
.banner-ad
  .swiper-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: var(--color-primary);
}
.banner-ad .swiper-slide {
  min-height: 630px;
  display: flex;
}

.banner-ad .banner-content .categories {
  font-family: "Garamond";
  font-size: 37px;
  text-transform: capitalize;
  color: var(--text-light);
}

.banner-ad.small .banner-content .categories {
  font-size: 30px;
}
.banner-ad .banner-content .sale {
  position: relative;
  display: inline-block;
}
.banner-ad .banner-content .sale:before {
  content: "";
  width: 55px;
  border-bottom: 1px solid var(--text-light);
  position: absolute;
  bottom: 6px;
}
.banner-ad .banner-content .sale:after {
  content: "SALE";
  font-family: var(--body-font);
  position: absolute;
  font-size: 11px;
  line-height: 15px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  bottom: 0;
  right: 0;
}
.banner-ad .banner-content .banner-title {
  letter-spacing: 0.02em;
  font-size: 33px;
}
.banner-ad.large .banner-content .categories {
  color: var(--color-dark);
}
.banner-ad.small {
  border-radius: 16px;
}
.banner-ad.large .banner-content .banner-title {
  font-size: 54px;
}
.banner-ad.large .content-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.banner-ad.large .img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 400px;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
} 

.image-wrapper {
  position: relative;
  overflow: hidden;
  background: #000;
  height: 400px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
} 

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background-color: var(--color-dark-light);
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 50%;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: var(--color-primary);
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--color-primary);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea;
}
.swiper-prev:hover,
.swiper-next:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-link {
  margin-right: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: var(--text-light);
}
.btn-link:hover {
  color: var(--text-primary);
}

/* PRODUCT QUANTITY INPUT ------------------------- */
.product-qty {
  width: 140px;
}

.product-qty .btn {
  padding: 0.375rem 0.85rem;
  border: none;
  background-color: var(--bg-grey-dark);
  color: var(--text-light);
}

.product-qty .btn:hover {
  background: var(--bg-primary);
}

.product-qty .form-control {
  text-align: center;
  font-weight: 500;
  padding: var(--space-3);
  background-color: var(--bg-grey-dark);
  border: none !important;
  color: var(--text-light);
}
/* PRODUCT QUANTITY INPUT ------------------------- */

/* category carousel */
.category-carousel .category-item {
  border-radius: 16px;
  text-align: center;
  padding: 60px 20px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
  background-color: var(--bg-grey-dark);
}
.category-carousel .category-item:hover {
  transform: translate3d(0, -10px, 0);
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.category-carousel .category-item .category-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 27px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
  color: var(--text-muted);
  margin-top: 20px;
}

/* brand carousel */
.brand-carousel .brand-item {
  background: #ffffff;
  border: 1px solid #fbfbfb;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 16px;
}
.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 12px;
}
.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}
.brand-carousel .brand-item .brand-title {
  margin: 0;
}

/* 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-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  border: none;
  color: var(--text-light);
}

.product-tabs .nav-tabs .nav-link:hover {
  color: var(--text-light);
}

.product-item {
  position: relative;
  padding: 8px;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease-out;
  background-color: var(--bg-grey-dark);
}
.product-item:hover {
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.product-info {
  padding: 12px 10px;
}
.product-item h3 {
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
  line-height: 25px;
  text-transform: capitalize;
  color: var(--text-light);
  margin: 0;
}
.product-item figure {
  background: #f9f9f9;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 0;
}
.product-item figure img {
  max-height: 270px;
  height: 270px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.product-item .btn-wishlist {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  transition: all 0.3s ease-out;
}
.product-item .btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}
.product-item .qty {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9d9d9d;
}
.product-item .rating {
  font-weight: 600;
  font-size: 13px;
  text-transform: capitalize;
  color: var(--text-warning);
}
.product-item .rating i {
  color: var(--color-warning);
}
.product-item .price {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  line-height: 30px;
  text-transform: capitalize;
  color: var(--text-light);
}
.product-item .price-del {
  color: #e63946;
}
.product-item .product-qty {
  width: 85px;
}
.product-item .btn-link {
  text-decoration: none;
}
.product-item .nav-link {
  background-color: var(--color-grey-light);
  color: var(--color-dark);
  padding: 5px 16px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}
.product-item .nav-link:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
.product-item #quantity {
  height: auto;
  width: 28px;
  text-align: center;
  border: none;
  margin: 0;
  padding: 0;
}
.product-item .btn-number {
  width: 26px;
  height: 26px;
  line-height: 1;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e2e2;
  border-radius: 6px;
  color: #222;
  padding: 0;
}

/* cart */
.cart .product-qty {
  min-width: 130px;
}

/* floating image */
.image-float {
  margin-top: -140px;
  margin-bottom: -140px;
}

.card-info {
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: var(--border);
}

.icon-body {
  width: 60px;
  height: 60px;
  background-color: var(--bg-primary);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: var(--fs-2xl);
}

.card-info h4 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-info p {
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .post-item .post-meta {
    flex-direction: column;
  }

  .header-right {
    gap: 10px !important;
  }

  header .header-body {
    flex-direction: column;
    gap: 20px !important;
  }

  .btn-link {
    font-size: 0.8em;
  }

  .banner-ad {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .banner-ad .swiper-slide {
    min-height: 750px;
  }

  .banner-title {
    font-size: 1.5em !important;
  }

  .banner-content {
    padding: 20px !important;
    flex-direction: column;
    gap: 30px;
  }

  .navigation .left {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .navigation .right {
    text-align: center;
  }

  .navigation .right h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
  }

  .btn .badge {
    position: relative !important;
    top: -10px !important;
    left: -5px;
    width: 20px;
    height: 20px;
  }

  .section-header {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }

  .footer-menu.social-link {
    padding: 25px 0;
  }

  .footer-menu.social-link ul {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 991px) {
  .image-float {
    margin: 0;
  }

  .tabs-header {
    flex-direction: column;
  }

  .product-tabs .nav-tabs {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .product-tabs .nav-tabs .nav-link {
    background-color: var(--color-grey-light);
    border-radius: 22px;
    font-size: 12px !important;
    font-weight: 600;
    gap: 10px !important;
    margin: 4px;
    color: var(--color-dark);
  }

  .product-tabs .nav-tabs .nav-link.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-bottom: none;
  }

  .product-tabs .nav-tabs .nav-link:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-bottom: none;
  }

  .brand-carousel img {
    width: 100% !important;
  }

  /* header .header-body {
    gap: 0 !important;
  } */
}
/* post item */
.post-item {
  border: var(--border);
  border-radius: 8px;
  height: 100%;
}
.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) {
  .site-header .offcanvas-header .btn-close {
    background-color: white;
  }

  .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: 10px;
    border: 1px solid #ddd;
    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: 520px;
  }
}
@media screen and (min-width: 1200px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

.category-carousel img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

.category-carousel .category-item .category-title {
  font-size: 16px;
}

.category-carousel .category-item {
  padding: 0;
}

/* Header searchbar */
#search-results {
  z-index: 1000;
  display: none;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 70px;
}

#search-results .list-group-item {
  transition: background 0.2s;
}

#search-results .list-group-item:hover {
  background: #f8f9fa;
}
/* Header searchbar */

header .header-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 150px;
  padding: 0 22px;
}

header .header-body .logo {
}

header .header-body .search-bar .input-group {
  padding: 0 14px;
}

header .header-body .search-bar input {
  padding: 16px;
  border: none;
}

header .header-body .search-bar input:focus {
  border: none;
}
