/*
Theme Name: Organic
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Organic 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: black;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: black;
  --bs-btn-hover-bg: white;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: black;
  --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;
  font-size: 16px;
}
.btn-outline-primary {
  --bs-btn-color: black;
  --bs-btn-border-color: black;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: black;
  --bs-btn-hover-border-color: black;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: black;
  --bs-btn-active-border-color: black;
  --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;
}

/* Footer at bottom */
html {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > header {
  flex-shrink: 0;
}

/* Content area grows to push footer down */
body > *:not(header):not(footer):not(.footer-custom):not(#footer-bottom) {
  flex: 1 0 auto;
}

footer.footer-custom,
#footer-bottom {
  flex-shrink: 0;
  margin-top: auto;
}

/* Sticky Header */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#cart-count,
#favorites-count {
  transform: translate(-94%, 18%) !important;
}

/* Favorites Offcanvas Styles */
#offcanvasFavorites {
  background-color: #fff;
}

#offcanvasFavorites .offcanvas-body {
  background-color: #fff;
  color: #000;
}

#offcanvasFavorites .offcanvas-body .list-group-item {
  background-color: #fff;
  border-color: #ddd;
  color: #000;
}

#offcanvasFavorites .offcanvas-body .list-group-item a {
  color: #000;
}

#offcanvasFavorites .offcanvas-body .list-group-item a:hover {
  color: #333;
}

#offcanvasFavorites .offcanvas-body .btn-primary,
#offcanvasFavorites .offcanvas-body .btn-sm.btn-primary {
  background-color: #000;
  border-color: #000;
  color: #fff;
}

#offcanvasFavorites .offcanvas-body .btn-primary:hover,
#offcanvasFavorites .offcanvas-body .btn-sm.btn-primary:hover {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

#offcanvasFavorites .offcanvas-body .btn-link {
  color: #ff0000;
  background-color: transparent;
  border: none;
  padding: 0;
}

#offcanvasFavorites .offcanvas-body .btn-link:hover {
  color: #ff3333;
  background-color: transparent;
  border: none;
}

#offcanvasFavorites .offcanvas-body .text-primary {
  color: #000 !important;
}

#offcanvasFavorites .offcanvas-body .text-danger {
  color: #ff0000;
}

#offcanvasFavorites .offcanvas-body .text-muted {
  color: #666 !important;
}

#offcanvasFavorites .offcanvas-body h4,
#offcanvasFavorites .offcanvas-body h5,
#offcanvasFavorites .offcanvas-body h6 {
  color: #000;
}

#offcanvasFavorites .offcanvas-body .badge {
  background-color: #ff0000;
  color: #fff;
}

#offcanvasFavorites .offcanvas-header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
}

#offcanvasFavorites .btn-close {
  filter: none;
}

#offcanvasFavorites .offcanvas-body button {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

#offcanvasFavorites .offcanvas-body button:hover {
  background-color: #333;
  border-color: #333;
}
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; }

.banner-ad {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.banner-ad::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-ad .banner-content {
  position: relative;
  z-index: 2;
}

.banner-ad .content-wrapper {
  color: #fff;
}

.banner-ad .banner-title {
  color: #fff;
}

.banner-ad p {
  color: #fff;
}

.banner-ad .btn-link {
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
}

.banner-ad .btn-link:hover {
  color: #fff !important;
  text-decoration: none;
}

/* Subscribe Section */
.subscribe-section {
  position: relative;
  min-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
    margin-bottom: 48px;
}

.subscribe-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.subscribe-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subscribe-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.3);
  padding: 3rem;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  margin-left: auto;
}

.subscribe-text {
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin-left: auto;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 600;
  margin-bottom: 0;
  font-family: var(--bs-body-font-family);
  color: #1a1a1a;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.section-header {
  text-align: center;
}

.subscribe-text .section-title {
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}

.subscribe-text p {
  color: #fff;
  margin-bottom: 1.5rem;
}

.subscribe-content {
  color: #fff;
}

.subscribe-content .form-label,
.subscribe-content .form-control,
.subscribe-content .invalid-feedback,
.subscribe-content .alert {
  color: #fff;
}

.subscribe-content .form-control {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  color: #000;
  flex: 1;
  min-width: 250px;
}

.subscribe-content .form-control::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.subscribe-content .form-control:focus {
  background-color: #fff;
  border-color: rgba(255, 255, 255, 0.8);
  color: #000;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.subscribe-form {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}

.subscribe-content .hero-banner-button {
  border-radius: 0;
}

@media (max-width: 768px) {
  .subscribe-content {
    padding: 2rem;
    min-height: 400px;
  }

  .subscribe-section {
    min-height: 400px;
  }
}

@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; }

}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--bs-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(--bs-primary);
}

/* Site Logo */
.site-logo {
  text-decoration: none;
  display: inline-block;
}

.logo-text {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  display: inline-block;
  transition: color 0.3s ease;
}

.site-logo:hover .logo-text {
  color: #000;
  text-decoration: none;
}

.logo-text-footer {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .logo-text {
    font-size: 1.5rem;
  }

  .logo-text-footer {
    font-size: 2rem;
  }
}

/* Hero Banner */
.hero-banner-section {
  position: relative;
  width: 100%;
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.hero-banner-home .hero-banner {
  height: 740px;
}

.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.hero-banner-content {
  text-align: center;
  max-width: 640px;
  padding: 2rem 0;
}

.hero-banner-title {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-banner-description {
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  font-weight: 400;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner-button {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #000;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  border-radius: 12px;
  transition: all 0.6s linear;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hero-banner-button:hover {
  background: #fff;
  box-shadow: none;
  color: #000;
  text-decoration: none;
}

.hero-banner-button:focus {
  outline: none;
}

/* View All buttons - slightly larger */
.hero-banner-button:not(.p-2):not(.fs-7) {
  padding: 0.3rem 2.2rem;
  font-size: 0.88rem;
}

/* Smaller button sizes */
.hero-banner-button.p-2 {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

.hero-banner-button.fs-7 {
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .hero-banner-title {
    font-size: 3rem;
  }

  .hero-banner-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-banner-button {
    padding: 0.875rem 2.5rem;
    font-size: 0.875rem;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-slider .swiper-slide {
  width: 100%;
  height: auto;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 740px;
  object-fit: cover;
  display: block;
}

.hero-slider-pagination-wrapper {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.swiper-pagination-lines {
  display: flex;
  gap: 4px;
  align-items: center;
}

.swiper-pagination-line-item {
  width: 40px;
  height: 1px;
  background: #000;
  transition: height 0.3s ease;
}

.swiper-pagination-line-item.active {
  height: 3px;
  background: #666;
}

.swiper-pagination-text {
  color: #000;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.swiper-pagination-text.current-slide {
  font-weight: 400;
  font-size: 14px;
}

.swiper-pagination-text.total-slides {
  font-weight: 400;
  font-size: 14px;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
  font-size: 20px;
  font-weight: bold;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Category Cards */
.category-card {
  display: block;
}

.category-card-inner {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
}

.category-image-wrapper {
  width: 150px;
  height: 150px;
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  flex-shrink: 0;
}

.category-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  flex: 1;
}

@media (max-width: 768px) {
  .category-image-wrapper {
    width: 120px;
    height: 120px;
  }

  .category-name {
    font-size: 1.25rem;
  }
}

/* category carousel */
.category-carousel .category-item {
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  text-align: center;
  padding: 60px 20px;
  margin: 20px 0;
  transition: box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.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: #222222;
  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: none; */
  border-bottom: 3px solid var(--bs-primary);
}

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

/* product-grid */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
   opacity: 1;
}
.product-item .button-area .quantity {
  padding: 0.5rem;
}
.product-item .button-area {
  display: none;
}
.product-item {
  position: relative;
  padding: 0;
  background: #FFFFFF;
  border-radius: 12px;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-item.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
}

.product-item:hover {
  box-shadow: none;
}

.product-item figure {
  position: relative;
  text-align: center;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #fafafa;
}

.product-heart-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #333;
  text-decoration: none;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.product-heart-btn:hover {
  background: #fff;
  color: #ff0000;
  transform: scale(1.1);
}

.product-heart-btn.active {
  color: #ff0000;
  background: rgba(255, 255, 255, 1);
}

.product-heart-btn svg {
  transition: all 0.3s ease;
}

.product-item figure img {
  max-height: 510px;
  min-height: 510px;
  height: 100%;
  width: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 1.25rem 0;
}

.product-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.product-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  flex: 1;
  line-height: 1.3;
  text-align: left;
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  white-space: nowrap;
}

.product-controls-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qty-btn {
  background: transparent;
  border: none !important;
  outline: none;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  color: #333;
  transition: all 0.2s ease;
  padding: 0;
}

.qty-btn:hover {
  background: transparent;
  color: #000;
  border: none !important;
  outline: none;
}

.qty-btn:active {
  background: transparent;
  border: none !important;
  outline: none;
}

.qty-btn:focus {
  border: none !important;
  outline: none;
  background: transparent;
}

.qty-input {
  width: 58px;
  height: 38px;
  border: none;
  text-align: center;
  font-size: 23px;
  font-weight: 400;
  font-family: var(--bs-body-font-family);
  color: #333;
  padding: 0;
  background: #fff;
  appearance: textfield;
  -moz-appearance: textfield;
}

.qty-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-button {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.55rem 3.25rem;
  line-height: 1.3;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  margin-left: auto;
}

.buy-button:hover {
  background: #333;
  color: #fff;
}

.product-item .product-qty {
  width: 85px;
}
.product-item .btn-link {
  text-decoration: none;
}
.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;
}
@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 .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:white;
  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;  }

}
/* ============ 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 view .end// ============ */

/* ============ custom styles ============ */

.search-bar {
    margin-top: 5px;
}

.navbar-nav {
    margin-top: 5px
}

.category-carousel img {
    width: 160px;
    height: 160px;
}

.products-carousel .swiper-slide {
    width: 408px !important;
}

.products-carousel .product-item figure img {
    max-height: 510px;
    min-height: 510px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ============ Product Detail Page Styles ============ */

.product-image img {
    max-height: 600px;
    object-fit: contain;
}

.product-show-image {
    width: 540px;
    max-width: 540px;
    height: 580px;
    object-fit: cover !important;
}

.product-details .product-info .product-name {
    font-size: 34px;
    font-weight: 600;
    font-family: inherit;
}

.product-show-layout {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: flex-start;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.product-image-wrapper {
    max-width: 540px;
    flex-shrink: 0;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product-details-wrapper {
    flex: 1;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product-details .product-info .product-header-row .product-price {
    font-size: 1.5rem;
    font-weight: 600;
}

.product-details .product-info {
    padding-top: 0;
}

.product-details .product-info .product-controls-row {
    gap: 80px;
}

.product-details .product-info .product-controls-row .product-price {
    font-size: 24px;
}

.product-details .product-info .product-controls-row .buy-button {
    margin-left: 0 !important;
}

#related-products {
    overflow-x: hidden;
}

#related-products .row:last-child {
    margin-left: 0;
    margin-right: 0;
}

#related-products .swiper {
    margin-right: -100px;
}

.quantity-input {
    width: 80px;
}

.product-details h1 {
    color: #333;
}

.nav-tabs .nav-link {
    color: #666;
    border: none;
    padding: 0.75rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: var(--bs-primary);
    background: transparent;
    border-bottom: 2px solid var(--bs-primary);
}

.tab-content {
    min-height: 150px;
}

/* ============ Category Menu Styles ============ */

.menu-list li {
    border-bottom: 1px dashed #ddd;
    padding: 0.75rem 0;
}

.menu-list li:last-child {
    border-bottom: none;
}

/* ============ custom styles .end// ============ */

.nav-link {
  font-size: 12px;
}

/* Custom Footer Design */
.footer-custom {
  background-color: #f5f1e8;
  padding: 4rem 0;
  position: relative;
}
#footer-bottom {
  background-color: #f5f1e8;
  padding: 6px 0;
  font-size: 12px;
}

.footer-custom img.footer {
  background-size: contain;
  width: 890px;
  max-width: 100%;
  height: auto;
  position: absolute;
  left: -60px;
  bottom: -100px;
  z-index: 0;
  object-fit: contain;
}

.footer-content {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
  position: relative;
}

.footer-left {
  flex: 0 0 auto;
  position: relative;
  min-width: 200px;
}

.footer-logo {
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  display: inline-block;
  transition: color 0.3s ease;
  margin-bottom: 1.5rem;
}

.footer-decorative-line {
  margin-top: 1.5rem;
  display: block;
  max-width: 100%;
  height: auto;
}

.footer-right {
  display: flex;
  gap: 3rem;
  justify-content: flex-start;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
}

.footer-links-left {
  min-width: 200px;
}

.footer-links-right {
  min-width: 200px;
}

.footer-link {
  font-size: 10px;
  color: #000;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 0 2px 0;
  display: block;
}

.footer-link:hover {
  color: #000;
  text-decoration: none;
}

@media (max-width: 992px) {
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-decorative-line {
    width: 150px;
  }

  .footer-right {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.5rem 0;
  }

  header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  header .d-flex.justify-content-between {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  /* Hide navigation links on mobile - they're in the offcanvas menu */
  header .navbar-nav.list-unstyled {
    display: none !important;
  }

  /* Show hamburger menu button */
  .navbar-toggler {
    display: block !important;
    border: none;
    background: transparent;
    padding: 0.5rem;
  }

  .navbar-toggler svg {
    width: 24px;
    height: 24px;
  }

  /* Adjust header layout for mobile */
  header > .container > .d-flex {
    flex-wrap: nowrap;
  }

  /* First section with hamburger and desserts/cakes */
  header > .container > .d-flex > .d-flex.align-items-center.gap-3:first-of-type {
    order: 1;
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Middle section with logo */
  header > .container > .d-flex > .d-flex.align-items-center:not(.gap-3) {
    order: 2;
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  /* Last section with delivery/about and icons */
  header > .container > .d-flex > .d-flex.align-items-center.gap-3:last-of-type {
    order: 3;
    flex: 0 0 auto;
    min-width: 0;
  }

  /* Icon buttons styling */
  header ul.d-flex.list-unstyled {
    gap: 0.25rem !important;
    margin: 0;
  }

  header ul.d-flex.list-unstyled li a {
    padding: 0.5rem !important;
  }

  header ul.d-flex.list-unstyled li a svg {
    width: 18px;
    height: 18px;
  }

  #cart-count,
  #favorites-count {
    font-size: 7px !important;
    padding: 2px 4px;
  }

  .product-show-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .product-image-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .product-details-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .product-show-image {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .product-details .product-info .product-name {
    font-size: 24px;
  }

  .product-details .product-info .product-controls-row {
    gap: 1rem;
    flex-wrap: wrap;
  }

  .product-details .product-info .product-controls-row .product-price {
    font-size: 20px;
  }

  .product-image .product-heart-btn {
    right: 12px;
  }

  .footer-custom {
    padding: 3rem 0;
  }

  .footer-logo {
    font-size: 1.5rem;
  }

  .footer-decorative-line {
    width: 120px;
  }

  .footer-custom img.footer {
    width: 100%;
    max-width: 100%;
    height: auto;
    left: 0;
    transform: none;
    bottom: -50px;
  }
}
