/*
Theme Name: FoodMart
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: FoodMart 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
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page

    
/*--------------------------------------------------------------
/** 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 Colors */
:root {
    --accent-color       : #D62828;
    --dark-color         : #15171C;
    --light-dark-color   : #5E6573;
    --light-color        : #fff;
    --grey-color         : #dbdbdb;
    --light-grey-color   : #fafafa;
    --primary-color      : #2A6F97;
    --light-primary-color   : #EEF4F7;
}

/* Fonts */
:root {
    --body-font           : "Open Sans", sans-serif;
    --heading-font        : "Nunito", sans-serif;
}

body {
  --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: "Open Sans", 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: #D62828;
  --bs-primary-rgb: 214, 40, 40;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;
  
  --bs-primary-bg-subtle: #FDECEC;
  --bs-success-bg-subtle: #eef5e5;
  
  --bs-border-color: #F7F7F7;

  --bs-secondary-rgb: 238, 244, 247;
  /* --bs-success-rgb: 238, 245, 228; */
  --bs-danger-rgb: 253, 236, 236;
  --bs-warning-rgb: 255, 246, 230;
  --bs-info-rgb: 230, 243, 250;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #d62828;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #b51f1f;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d62828;
  --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: #d62828;
  --bs-btn-border-color: #d62828;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d62828;
  --bs-btn-hover-border-color: #d62828;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d62828;
  --bs-btn-active-border-color: #d62828;
  --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;
}

html,
body {
  overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font);
  color: var(--dark-color);
  font-weight: 700;
}
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  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;
}

.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(--accent-color);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--accent-color);
  }
}

/* *** Start editing below this line *** */
.container-fluid {
  max-width: 1600px;
}

body {
  background:
    linear-gradient(180deg, #f7f8fa 0, #ffffff 360px),
    #ffffff;
}

header {
  background: #fff;
  border-bottom: 1px solid #e7e9ee;
}

.site-header-top {
  min-height: 86px;
}

header .row.border-bottom {
  border-color: #e7e9ee !important;
}

.main-logo img {
  max-height: 58px;
  object-fit: contain;
}

.site-header-actions {
  gap: 18px;
}

.site-header-actions ul {
  gap: 8px;
}

.mobile-header-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e7e9ee;
  border-radius: 999px;
  background: #f7f8fa;
  color: #15171c;
  text-decoration: none;
}

.mobile-cart-count {
  position: absolute;
  top: -5px;
  right: -3px;
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--accent-color);
  color: #fff;
  font-size: 10px !important;
  font-weight: 800;
  line-height: 1;
}

.site-menu-toggle {
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background: #fff;
  color: #15171c;
  font-weight: 800;
}

.site-menu-toggle .navbar-toggler-icon {
  width: 20px;
  height: 20px;
  background-image: none;
  position: relative;
}

.site-menu-toggle .navbar-toggler-icon::before,
.site-menu-toggle .navbar-toggler-icon::after,
.site-menu-toggle .navbar-toggler-icon {
  border-top: 2px solid currentColor;
}

.site-menu-toggle .navbar-toggler-icon::before,
.site-menu-toggle .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
}

.site-menu-toggle .navbar-toggler-icon::before {
  top: 7px;
}

.site-menu-toggle .navbar-toggler-icon::after {
  top: 16px;
}

.main-menu .offcanvas-body {
  align-items: center;
}

#offcanvasNavbar.show,
#offcanvasNavbar.showing {
  transform: none !important;
  translate: -100% 0;
}

.search-bar {
  border: 1px solid #e1e5eb;
  box-shadow: 0 12px 35px rgba(21, 23, 28, 0.06);
}

.auto-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(21, 23, 28, 0.96) 0%, rgba(28, 35, 45, 0.93) 56%, rgba(214, 40, 40, 0.78) 100%),
    url("images/background-pattern.jpg") center / cover no-repeat;
}

.auto-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.auto-hero .container-fluid {
  position: relative;
  z-index: 1;
}

.auto-hero .banner-content {
  min-height: 520px;
  align-items: center;
  color: #fff;
}

.auto-hero .banner-content .categories {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  border-left: 4px solid var(--accent-color);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.auto-hero h1 {
  max-width: 820px;
  color: #fff;
  font-weight: 800;
  line-height: 1.08;
}

.auto-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.auto-hero .img-wrapper {
  text-align: center;
}

.auto-hero .img-wrapper img {
  max-height: 380px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.section-title {
  color: var(--dark-color);
  font-weight: 800;
}

.btn-yellow {
  background: var(--accent-color);
  color: #fff;
}
.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; }
  
}

/* banner ad */
.banner-ad {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background-color: #fff4f2;
}
.campaign-banner {
  min-height: 280px;
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}
.campaign-banner .banner-content {
  max-width: 58%;
}
.campaign-banner .nav-link {
  width: fit-content;
  color: var(--dark-color);
  font-weight: 800;
}
.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: #FFF;
  opacity: 1;
  transition: background 0.3s ease-out;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: var(--accent-color);
}
.banner-ad .swiper-slide {
  min-height: 630px;
  display: flex;
}
/* .banner-ad .banner-content {
  padding: 52px;
}
.banner-ad.large .banner-content {
  padding: 90px;
} */
.banner-ad .banner-content .categories {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-color);
}
.banner-ad .banner-content .sale {
  position: relative;
  display: inline-block;
}
.banner-ad .banner-content .sale:before {
  content: '';
  width: 80px;
  border-bottom: 1px solid #111;
  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: #252525;
  bottom: 0;
  right: 0;
}
.banner-ad .banner-content .banner-title {
  letter-spacing: 0.02em;
  font-size: 33px;
  max-width: 520px;
  color: var(--dark-color);
}
.banner-ad.large .banner-content .categories {
  color: var(--accent-color);
}
.banner-ad.large .banner-content .banner-title {
  font-size: 54px;
}

/* Swiper carousel */
.swiper-prev,
.swiper-next {
  width: 38px;
  height: 38px;
  line-height: 38px;
  background: #F1F1F1;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 8px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #b51f1f;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: var(--accent-color);
  --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(--accent-color);
  color: #fff;
}
.btn-link {
  margin-right: 30px;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: #787878;
}
/* category carousel */
.category-carousel .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1px solid #E2E6EC;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  text-align: center;
  min-height: 220px;
  padding: 34px 20px;
  margin: 20px 0;
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out, transform 0.3s ease-out;
}
.category-carousel .category-item > img {
  display: block;
  width: 100%;
  max-width: 148px;
  height: 84px;
  object-fit: contain;
  object-position: center;
  margin: 0 auto;
}
.category-carousel .category-item:hover {
  transform: translate3d(0,-10px,0);
  border-color: rgba(214, 40, 40, 0.28);
  box-shadow: 0px 21px 44px rgba(21, 23, 28, 0.09);
}
.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: 18px;
  margin-bottom: 0;
}

/* brand carousel */
.brand-carousel .brand-item {
  background: #FFFFFF;
  border: 1px solid #E2E6EC;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  padding: 16px;
}
.brand-carousel .brand-item img {
  width: 100%;
  border-radius: 8px;
}
.brand-carousel .brand-item .brand-details {
  margin-left: 15px;
}
.brand-carousel .brand-item .brand-title {
  margin: 0;
}

.brand-carousel .card {
  height: 190px;
  border: 1px solid #E2E6EC !important;
  border-radius: 8px !important;
  box-shadow: 0 12px 34px rgba(21, 23, 28, 0.06) !important;
  overflow: hidden;
}

.brand-showcase-card .row {
  min-height: 0;
}

.brand-showcase-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.brand-carousel .card img,
.brand-showcase-media img {
  width: 100%;
  max-width: 120px;
  height: 110px;
  object-fit: contain;
  background: #f7f8fa;
  border-radius: 8px !important;
  padding: 12px;
}

.brand-showcase-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 150px;
}

.brand-showcase-body p {
  display: -webkit-box;
  min-height: 48px;
  max-height: 48px;
  overflow: hidden;
  line-height: 24px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.brand-showcase-body .card-title {
  margin: 8px 0;
  font-weight: 800;
}

.brand-showcase-body .btn-link {
  margin-right: 0;
  text-align: left;
}

@media (max-width: 767.98px) {
  .brand-carousel .card {
    height: 300px;
  }

  .brand-showcase-media {
    min-height: 132px;
  }

  .brand-showcase-body {
    min-height: 116px;
    text-align: center;
  }

  .brand-showcase-body .btn-link {
    text-align: center;
  }
}

/* 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(--accent-color);
}

/* product-grid */
/* .product-grid {
  gap: 25px;
} */
.product-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 500px;
  min-height: 500px;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #E2E6EC;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  margin-bottom: 30px;
  transition: border-color 0.3s ease-out, box-shadow 0.3s ease-out;
}
.product-item:hover {
  border-color: rgba(42, 111, 151, 0.28);
  box-shadow: 0px 21px 44px rgba(21, 23, 28, 0.09);
}
.product-item h3 {
  display: -webkit-box;
  width: 100%;
  min-height: 50px;
  font-weight: 600;
  font-size: 18px;
  line-height: 25px;
  text-transform: none;
  color: #333333;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-item figure {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: 210px;
  min-height: 210px;
  overflow: hidden;
  background: #F9F9F9;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 16px;
}
.product-item figure img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  padding: 18px;
}
.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;
  color: #222;
  z-index: 2;
}
.product-item .btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}
.product-item .btn-wishlist.active {
  background: rgb(240, 56, 56);
  border-color: rgb(240, 56, 56);
  color: #fff;
}
.product-item .qty {
  display: block;
  min-height: 18px;
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9D9D9D;
}
.product-item .rating {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  text-transform: capitalize;
  color: #222222;
}
.product-item .rating iconify-icon {
  color: #F4A261;
}
.product-item .price {
  display: block;
  width: 100%;
  min-height: 30px;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  color: #222222;
  margin-top: auto;
}

.product-item del {
  display: block;
  min-height: 22px;
  margin-left: 0 !important;
}

.product-item form.d-flex {
  min-height: 48px;
  margin-top: 12px;
  gap: 10px;
}
.product-item .product-qty {
  width: 85px;
  flex: 0 0 85px;
}
.product-item .add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 132px;
  min-height: 44px;
  line-height: 1.2;
  text-align: center;
}

.cart-add-button {
  border-radius: 8px;
  background: #D62828;
  color: #fff;
  font-weight: 800;
  padding: 12px 18px;
  box-shadow: 0 10px 20px rgba(214, 40, 40, 0.22);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cart-add-button:hover,
.cart-add-button:focus {
  background: #b51f1f;
  color: #fff;
  box-shadow: 0 14px 26px rgba(214, 40, 40, 0.28);
  transform: translateY(-1px);
}

.cart-add-button:disabled {
  background: #d3d7dd;
  box-shadow: none;
  transform: none;
}

.product-detail-cart-button {
  min-height: 50px;
  min-width: 170px;
  padding-inline: 26px;
}
.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 */
.products-carousel .swiper-wrapper {
  align-items: stretch;
}

.products-carousel .swiper-slide {
  height: 500px;
}

.product-grid > .col {
  display: flex;
}

.product-grid > .col .product-item {
  width: 100%;
}

.post-item {
  display: flex;
  flex-direction: column;
  height: 430px;
  min-height: 430px;
  border: 1px solid #E2E6EC !important;
  border-radius: 8px;
  overflow: hidden;
}

.post-item .image-holder {
  height: 190px;
  min-height: 190px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7f8fa;
}

.post-item .image-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-item .card-body {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 18px 8px 4px;
}

.post-item .post-meta {
  min-height: 18px;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1;
}
.post-item .post-meta svg {
  margin-right: 5px;
}

.post-item .post-title {
  min-height: 64px;
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 32px;
}

.post-item .post-title a {
  display: -webkit-box;
  overflow: hidden;
  color: var(--dark-color);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-item .post-header p {
  display: -webkit-box;
  min-height: 72px;
  max-height: 72px;
  overflow: hidden;
  line-height: 24px;
  margin-bottom: 0;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#latest-blog .row > .col-md-4 {
  display: flex;
  margin-bottom: 24px;
}

#latest-blog .row > .col-md-4 .post-item {
  width: 100%;
}

.contact-card {
  padding: 28px;
  border: 1px solid #E2E6EC;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 23, 28, 0.06);
}

.contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card h2 {
  color: var(--dark-color);
  font-size: 28px;
  line-height: 1.3;
}

.contact-card p {
  color: var(--light-dark-color);
}

.listing-hero-title {
  display: flex;
  align-items: center;
  gap: 22px;
}

.listing-hero-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 92px;
  padding: 16px;
  border: 1px solid #E2E6EC;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 23, 28, 0.06);
}

.listing-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.account-order-detail {
  padding: 18px;
  border: 1px solid #E2E6EC;
  border-radius: 8px;
  background: #fff;
}

.account-review-cell {
  min-width: 260px;
}

.account-review-form {
  display: grid;
  gap: 8px;
}

.content-card {
  padding: 28px;
  border: 1px solid #E2E6EC;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 23, 28, 0.06);
}

.content-card h2,
.content-card h3 {
  color: var(--dark-color);
  font-weight: 800;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid #E2E6EC;
  border-radius: 999px;
  background: #f7f8fa;
  color: var(--light-dark-color);
  font-size: 13px;
  font-weight: 700;
}

.blog-detail-hero {
  padding: 54px 0;
  background: #f7f8fa;
}

.blog-detail-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 42px;
  align-items: center;
}

.blog-detail-hero h1 {
  max-width: 900px;
  color: var(--dark-color);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.06;
}

.blog-detail-hero p,
.blog-detail-lead {
  max-width: 760px;
  color: var(--light-dark-color);
  font-size: 18px;
}

.blog-detail-lead p:last-child {
  margin-bottom: 0;
}

.blog-detail-hero img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(21, 23, 28, 0.16);
}

.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.blog-detail-meta span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-color);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.blog-detail-content {
  padding: 36px;
  border: 1px solid #E2E6EC;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 23, 28, 0.06);
}

.blog-detail-content h2 {
  margin-top: 28px;
  color: var(--dark-color);
  font-weight: 900;
}

.blog-detail-content h2:first-child {
  margin-top: 0;
}

.blog-detail-content p,
.blog-detail-content li {
  color: #4d5562;
  font-size: 17px;
  line-height: 1.9;
}

.blog-detail-content ul {
  display: grid;
  gap: 8px;
  padding-left: 22px;
}

.blog-detail-sidebar {
  position: sticky;
  top: 18px;
}

@media (max-width: 575.98px) {
  .listing-hero-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .listing-hero-logo {
    width: 112px;
    height: 78px;
  }
}

@media (max-width: 991.98px) {
  .blog-detail-hero-inner,
  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-detail-sidebar {
    position: static;
  }
}

@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: 520px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

.product-gallery {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 24px;
}

.product-gallery-main {
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e6ec;
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 12%, rgba(214, 40, 40, 0.08), transparent 28%),
    linear-gradient(145deg, #ffffff, #f5f7fa);
  box-shadow: 0 22px 60px rgba(21, 23, 28, 0.11);
}

.product-gallery-hint,
.product-gallery-expand {
  position: absolute;
  z-index: 3;
}

.product-gallery-expand {
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #15171c;
  box-shadow: 0 12px 28px rgba(21, 23, 28, 0.14);
}

.product-gallery-hint {
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: #5e6573;
  box-shadow: 0 10px 24px rgba(21, 23, 28, 0.08);
}

.product-zoom-frame {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-height: 620px;
  overflow: hidden;
  cursor: zoom-in;
}

.product-zoom-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 34px;
  transition: transform 260ms ease;
  transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%);
}

.product-zoom-frame:hover img {
  transform: scale(1.75);
}

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.product-gallery-thumb {
  position: relative;
  flex: 0 0 92px;
  aspect-ratio: 1 / 1;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(21, 23, 28, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
  border-color: var(--accent-color);
  box-shadow: 0 12px 26px rgba(214, 40, 40, 0.14);
  transform: translateY(-2px);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-thumb span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #15171c;
  color: #fff;
  font-weight: 800;
}

.product-lightbox-links {
  display: none;
}

@media (max-width: 991.98px) {
  .product-gallery {
    position: static;
  }
}

.product-info-tile {
  height: 100%;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.product-info-tile span {
  display: block;
  color: #747474;
  font-size: 14px;
  margin-bottom: 6px;
}

.product-variant-box {
  border: 1px solid #e2e6ea;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(21, 23, 28, 0.06);
}

.product-variant-box h2 {
  margin-bottom: 12px;
}

.product-variant-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 0;
}

.product-variant-group {
  min-width: 150px;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-detail-qty {
  max-width: 150px;
}

.review-item {
  background: #fff;
}

.breadcrumb a {
  text-decoration: none;
}

.product-description-tabs .nav-link {
  color: #222;
  font-weight: 700;
}

body,
p,
a,
span,
small,
li,
td,
th,
label,
input,
select,
textarea,
button,
.btn,
.form-control,
.form-select,
.nav-link,
.dropdown-item,
.breadcrumb,
.badge {
  font-size: 12px !important;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6,
.section-title {
  font-size: 15px !important;
  line-height: 1.35;
}

.product-description-tabs .nav-link.active {
  color: #222;
  background: #fff;
}

.review-stars {
  display: inline-flex;
  gap: 2px;
  white-space: nowrap;
}

.category-menu {
  position: relative;
  min-width: 180px;
}

.category-menu::after,
.nav-category-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}

.category-menu-toggle {
  color: #222;
  font-weight: 700;
}

.category-menu-toggle::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.category-menu-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1040;
  min-width: 240px;
  max-height: 360px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease 0.08s, transform 0.18s ease 0.08s, visibility 0s linear 0.22s;
  visibility: hidden;
}

.category-menu:hover .category-menu-list,
.category-menu:focus-within .category-menu-list {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.category-menu-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  color: #222;
  font-weight: 600;
  text-decoration: none;
}

.brand-menu-link img,
.brand-nav-link img {
  width: 34px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.brand-nav-link img {
  width: 26px;
  height: 22px;
}

.category-menu-list a:hover,
.category-menu-list a:focus {
  background: #FFF7DF;
  color: #111;
}

.nav-category-item {
  position: relative;
}

.nav-category-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 1040;
  min-width: 340px;
  padding: 8px !important;
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.18s ease 0.08s, transform 0.18s ease 0.08s, visibility 0s linear 0.22s;
  visibility: hidden;
}

.nav-category-item:hover .nav-category-submenu,
.nav-category-item:focus-within .nav-category-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
  visibility: visible;
}

.nav-category-submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: #222;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.nav-category-submenu a:hover,
.nav-category-submenu a:focus {
  background: #FFF7DF;
  color: #111;
}

.main-menu .nav-link,
.main-menu .dropdown-item,
.category-menu-toggle,
.category-menu-list a,
.nav-category-submenu a,
.brand-nav-link,
.offcanvas-body .nav-item {
  font-family: var(--body-font);
  font-size: 15px !important;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.category-menu-list a,
.nav-category-submenu a {
  font-size: 14px !important;
}

@media (max-width: 991.98px) {
  .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.25rem;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 10px 28px rgba(21, 23, 28, 0.08);
  }

  .site-header-top {
    --bs-gutter-x: .75rem;
    min-height: 70px;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .main-logo img {
    max-width: 168px;
    max-height: 46px;
  }

  .site-header-actions {
    gap: 0;
  }

  .site-header-actions > ul {
    gap: 6px;
  }

  .site-header-actions a[aria-label="Hesabım"],
  .site-header-actions a[aria-label="HesabÄ±m"] {
    display: inline-grid !important;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #e7e9ee;
    border-radius: 999px !important;
    background: #f7f8fa !important;
  }

  .site-header-actions svg {
    width: 21px;
    height: 21px;
  }

  .site-nav-row {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    background: #fff;
  }

  .main-menu {
    justify-content: stretch;
  }

  .site-menu-toggle {
    display: inline-flex;
    width: 100%;
  }

  #offcanvasNavbar {
    width: min(88vw, 360px);
    border-left: 1px solid #e2e6ec;
  }

  #offcanvasNavbar.show,
  #offcanvasNavbar.showing {
    transform: none !important;
    translate: -100% 0;
  }

  #offcanvasNavbar .offcanvas-header {
    min-height: 64px;
    padding: 16px 18px;
    border-bottom: 1px solid #e7e9ee;
  }

  #offcanvasNavbar .offcanvas-body {
    display: block;
    padding: 14px 18px 24px;
    overflow-y: auto;
  }

  #offcanvasNavbar .menu-list {
    display: grid !important;
    gap: 0 !important;
    width: 100%;
  }

  #offcanvasNavbar .nav-item {
    border-bottom: 1px solid #eef0f4;
  }

  #offcanvasNavbar .nav-link {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 10px 0;
    color: #15171c;
    font-weight: 700;
  }

  #offcanvasNavbar .brand-nav-link {
    justify-content: flex-start;
  }

  #offcanvasNavbar .brand-nav-link img,
  #offcanvasNavbar .brand-menu-link img {
    width: 42px;
    height: 30px;
    padding: 3px;
    border: 1px solid #eef0f4;
    border-radius: 6px;
    background: #fff;
  }

  .campaign-banner {
    min-height: 240px;
    background-position: center right;
  }

  .campaign-banner .banner-content {
    max-width: 72%;
  }

  .category-menu {
    width: 100%;
    min-width: 0;
    margin-right: 0 !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef0f4;
  }

  .category-menu-list {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-height: none;
    margin-top: 8px !important;
    padding: 0;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .category-menu-list a {
    min-height: 54px;
    padding: 8px;
    border: 1px solid #eef0f4;
    background: #f8f9fb;
  }

  .nav-category-submenu {
    position: static;
    min-width: 0;
    margin-top: 4px !important;
    padding-left: 12px !important;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }

  .nav-category-submenu a {
    padding: 9px 10px;
    background: #f8f9fb;
  }
}

@media (max-width: 575.98px) {
  .main-logo img {
    max-width: 138px;
  }

  .mobile-header-icon,
  .site-header-actions a[aria-label="Hesabım"],
  .site-header-actions a[aria-label="HesabÄ±m"] {
    width: 38px;
    height: 38px;
  }

  .site-header-actions > ul {
    gap: 4px;
  }

  .site-menu-toggle {
    min-height: 42px;
  }

  .category-menu-list {
    grid-template-columns: 1fr;
  }

  .campaign-banner {
    min-height: 300px;
    background-position: 64% center;
  }

  .campaign-banner .banner-content {
    max-width: 100%;
    padding: 28px !important;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0));
  }
}
