/* ===================================================================
   Kraftiart Theme - Home Page 02 Replica Stylesheet
   Built with Bootstrap 5, Custom CSS & Swiper.js
   Exact color theme, fonts, buttons, banners, and layout
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700;800;900&family=Trirong:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --body-bg-color: #F8F5EF;
  --body-text-color: #666666;
  --color-text: #222222;
  --hover-dark-color: #214d36;
  --primary-color: #214d36;
  --primary-hover: #987346;
  --secondary-bg-color: #34373f;
  --third-color: #4a4d27;
  --four-color: #d23c3f;
  --border-color: #e5e5e5;
  --border-color-01: #e5e5e5;
  --heading-text-color: #34373f;
  --price-color: #b18b5e;
  --background-color: #f5f5f5;
  --dark-background: #28282a;
  --white-color-text: #ffffff;
  --single-border-color: #cccccc;
  --rate-color: #ffae00;
  --dark-color-text: #aaaaaa;
  --dark-heading-text: #ffffff;
  --primary-font: 'Trirong', serif;
  --secondary-font: 'Open Sans', sans-serif;
  --third-font: 'Outfit', sans-serif;
  --card-radius: 16px;
  --box-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --transition: all 0.35s ease-in-out;
}

/* Base styling */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--secondary-font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--body-text-color);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--primary-font);
  color: var(--heading-text-color);
  font-weight: 500;
  line-height: 1.3;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.btn {
  font-family: var(--third-font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  border-radius: 30px;
  padding: 10px 26px;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--color-text);
  border-color: var(--color-text);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-outline-dark {
  border-radius: 30px;
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn-outline-dark:hover {
  background-color: var(--color-text);
  color: #fff;
}

/* Section titles */
.tt-section-title {
  margin-bottom: 35px;
  text-align: center;
}

.tt-section-sab {
  display: block;
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #214d36;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--primary-font);
  font-size: 34px;
  font-weight: 500;
  color: var(--heading-text-color);
  margin-bottom: 0;
  line-height: 1.3;
}

/* ===================================================================
   HEADER STYLES
   =================================================================== */
.top-header-bar {
  background-color: #234d36;
  color: #c9c9c9;
  font-size: 13px;
  font-family: var(--third-font);
  padding: 8px 0;
}

.top-header-bar a {
  color: #fff;
}

.top-header-bar a:hover {
  color: #fff;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-promo {
    text-align: center;
    font-weight: 500;
    color: #fff;
    font-size: 16px;
}

.top-promo span {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.site-header {
  background-color: #fff;
  position: relative;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
  padding: 6px 0;
}

.header-logo img {
  max-height: 100px;
  width: auto;
}

/* Navigation menu */
.main-navigation ul.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.main-navigation ul.nav-menu > li {
  position: relative;
}

.main-navigation ul.nav-menu > li > a {
  font-family: var(--third-font);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: relative;
}

.main-navigation ul.nav-menu > li > a i {
  font-size: 11px;
  transition: transform 0.2s;
}

.main-navigation ul.nav-menu > li:hover > a {
  color: var(--primary-color);
}

.main-navigation ul.nav-menu > li:hover > a i {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.25s ease-in-out;
  z-index: 999;
}

.main-navigation ul.nav-menu > li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-navigation .sub-menu li a {
  font-family: var(--third-font);
  font-size: 14px;
  color: #444;
  padding: 8px 24px;
  display: block;
}

.main-navigation .sub-menu li a:hover {
  color: var(--primary-color);
  padding-left: 28px;
}

/* Mega Menu */
.mega-menu-container {
  position: static !important;
}

.mega-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.25s ease-in-out;
  z-index: 999;
}

.mega-menu-container:hover .mega-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-col-title {
  font-family: var(--third-font);
  font-size: 15px;
  font-weight: 700;
  color: var(--heading-text-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.mega-col ul li a {
  font-family: var(--third-font);
  font-size: 14px;
  color: #666;
  padding: 6px 0;
  display: block;
}

.mega-col ul li a:hover {
  color: var(--primary-color);
  transform: translateX(4px);
}

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

.mega-banner-card img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.mega-banner-card:hover img {
  transform: scale(1.05);
}

/* Header Action Icons */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.header-action-btn {
  background: transparent;
  border: none;
  color: var(--color-text);
  font-size: 20px;
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.header-action-btn:hover {
  color: var(--primary-color);
}

.header-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--primary-color);
  color: #fff;
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger-trigger {
  font-size: 22px;
  color: var(--color-text);
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  display: inline-flex;
}

/* ===================================================================
   HERO SECTION (2 COLUMNS: SLIDER + 2 BANNERS)
   =================================================================== */
.hero-section {
  padding: 24px 0 35px 0;
}

.hero-slider-wrap {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  min-height: 480px;
}

.hero-slider .swiper-slide {
  position: relative;
  height: 480px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.hero-slider .slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 6s ease;
}

.hero-slider .swiper-slide-active .slide-bg {
  transform: scale(1.06);
}

.hero-slider .slide-content {
  position: absolute;
  top: 50%;
  left: 75px;
  transform: translateY(-50%);
  max-width: 430px;
  z-index: 2;
}

.hero-slider .swiper-slide:after {
    content: '';
    background-color: #00000066;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.hero-slider .slide-subtitle {
  font-family: var(--third-font);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-slider .slide-title {
  font-family: var(--primary-font);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 24px;
}

.hero-slider .btn-slide {
  background-color: #fff;
  color: #000;
  border-radius: 30px;
  padding: 12px 32px;
  font-family: var(--third-font);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-slider .btn-slide:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-2px);
}

/* Swiper navigation buttons */
.swiper-btn-custom {
  width: 44px;
  height: 44px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: var(--transition);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  border: none;
}

.swiper-btn-custom:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.swiper-btn-custom.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.swiper-btn-prev {
  left: 15px;
}

.swiper-btn-next {
  right: 15px;
}

/* Side Banners */
.side-banner-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 228px;
  margin-bottom: 24px;
}

.side-banner-card:last-child {
  margin-bottom: 0;
}

.side-banner-card .banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.side-banner-card:hover .banner-img {
  transform: scale(1.05);
}

.side-banner-card .banner-text {
  position: absolute;
  top: 50%;
  left: 35px;
  transform: translateY(-50%);
  max-width: 320px;
}

.side-banner-card .banner-sub-title {
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.side-banner-card .banner-title {
  font-family: var(--primary-font);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading-text-color);
  margin-bottom: 0;
}

/* ===================================================================
   SECTION 1: SHOP BY CATEGORIES
   =================================================================== */
.categories-section {
  padding: 40px 0;
}

.category-card {
  text-align: center;
  display: block;
  text-decoration: none;
  group: hover;
}

.category-img-box {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
  background-color: #fff;
}

.category-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.5s ease;
}

.category-card:hover .category-img-box img {
  transform: scale(1.1);
}

.category-arrow-icon {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  background-color: var(--color-text);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: translate(-10px, 10px);
  transition: var(--transition);
}

.category-card:hover .category-arrow-icon {
  opacity: 1;
  transform: translate(0, 0);
  background-color: var(--primary-color);
}

.category-card .cat-name {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 4px;
  transition: var(--transition);
}

.category-card:hover .cat-name {
  color: var(--primary-color);
}

.category-card .cat-count {
  font-family: var(--third-font);
  font-size: 13px;
  color: #888;
}

/* ===================================================================
   SECTION 2: FEATURES / SERVICE BOX
   =================================================================== */
.services-section {
  padding: 30px 0;
}

.service-bar-container {
  background: #ffffff;
  border-radius: var(--card-radius);
  padding: 28px 20px;
  box-shadow: var(--box-shadow-soft);
}

.service-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 15px;
  border-right: 1px solid #f0ede8;
}

.service-item:last-child {
  border-right: none;
}

.service-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-title {
  font-family: var(--third-font);
  font-size: 16px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 3px;
}

.service-desc {
  font-size: 13px;
  color: #777;
  margin-bottom: 0;
  line-height: 1.4;
}

/* ===================================================================
   SECTION 3 & 5: PRODUCT CARD DESIGN & TRENDING / SPECIAL PRODUCTS
   =================================================================== */
.products-section {
  padding: 45px 0;
}

/* Trending tabs */
.trending-tabs-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.trending-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--third-font);
  font-size: 16px;
  font-weight: 600;
  color: #888;
  padding: 6px 16px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
}

.trending-tab-btn.active, .trending-tab-btn:hover {
  color: var(--color-text);
}

.trending-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* Product Card */
.product-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  padding-bottom: 15px;
  border: 1px solid #eeebe5;
}

.product-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-4px);
}

.product-thumb-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
  background-color: #f7f6f2;
}

.product-thumb-link {
  display: block;
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
}

.product-thumb-link img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.product-thumb-link img.main-img {
  opacity: 1;
  z-index: 1;
}

.product-thumb-link img.hover-img {
  opacity: 0;
  z-index: 2;
}

.product-card:hover .product-thumb-link img.hover-img {
  opacity: 1;
  transform: scale(1.05);
}

.product-card:hover .product-thumb-link img.main-img {
  transform: scale(1.05);
}

/* Product Badges */
.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--four-color);
  color: #fff;
  font-family: var(--third-font);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  z-index: 4;
}

/* Product Action Buttons */
.product-actions {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateY(0);
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: scale(1.1);
}

.action-btn.btn-cart {
  width: auto;
  padding: 0 16px;
  border-radius: 20px;
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
}

/* Product Info */
.product-details {
  padding: 16px 18px 5px 18px;
  text-align: center;
}

.product-rating {
  color: var(--rate-color);
  font-size: 12px;
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
  gap: 2px;
}

.product-title {
  font-family: var(--primary-font);
  font-size: 17px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 8px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: var(--transition);
}

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

.product-price {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  color: var(--price-color);
}

.product-price del {
  color: #999;
  font-size: 15px;
  margin-right: 6px;
  font-weight: 400;
}

/* ===================================================================
   SECTION 4: PROMOTIONAL 3-COLUMN BANNERS
   =================================================================== */
.promo-banners-section {
  padding: 40px 0;
}

.promo-banner-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 250px;
}

.promo-banner-card:after {
    position: absolute;
    content: '';
    background-color: #4e351859;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.promo-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.promo-banner-card:hover img {
  transform: scale(1.06);
}

.promo-banner-content {
  position: absolute;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  max-width: 260px;
  z-index: 2;
}

.promo-banner-sub {
  font-family: var(--third-font);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.promo-banner-title {
  font-family: var(--primary-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 16px;
}

.promo-banner-btn {
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 25px;
  background-color: var(--color-text);
  color: #fff;
  display: inline-block;
  transition: var(--transition);
}

.promo-banner-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* ===================================================================
   SECTION 6: FROM THE BLOGS
   =================================================================== */
.blogs-section {
  padding: 45px 0;
}

.blog-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid #eeebe5;
  transition: var(--transition);
  height: 100%;
}

.blog-card:hover {
  box-shadow: var(--box-shadow-hover);
  transform: translateY(-4px);
}

.blog-thumb {
  position: relative;
  overflow: hidden;
  padding-top: 60%;
}

.blog-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-body {
  padding: 22px;
}

.blog-meta {
  font-family: var(--third-font);
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.blog-meta span i {
  color: var(--primary-color);
  margin-right: 4px;
}

.blog-title {
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-title a {
  color: var(--heading-text-color);
}

.blog-title a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  font-family: var(--third-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-read-more:hover {
  color: var(--primary-color);
  gap: 10px;
}

/* ===================================================================
   SECTION 7: CLIENT / BRAND LOGOS
   =================================================================== */
.brand-logos-section {
  padding: 35px 0 50px 0;
  border-top: 1px solid #ebe7e0;
}

.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  padding: 10px;
}

.brand-logo-item img {
  max-height: 50px;
  width: auto;
  opacity: 0.6;
  transition: var(--transition);
  filter: grayscale(100%);
}

.brand-logo-item:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===================================================================
   FOOTER SECTION
   =================================================================== */
.site-footer {
    background-color: #214d36;
    color: #ffffff;
    font-size: 14px;
    position: relative;
    padding-top: 60px;
}

/* Newsletter Card */
.newsletter-banner-box {
  background: url('../images/news-letter-1-1.jpg') no-repeat center center / cover;
  border-radius: var(--card-radius);
  padding: 45px 50px;
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  color: #fff;
}

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

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

.newsletter-title {
  font-family: var(--primary-font);
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.newsletter-desc {
  font-size: 14px;
  color: #e0e0e0;
  margin-bottom: 0;
}

.newsletter-form {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 9;
}

.newsletter-input {
  width: 100%;
  height: 52px;
  border-radius: 30px;
  background: #ffffff;
  border: none;
  padding: 0 140px 0 24px;
  font-family: var(--third-font);
  font-size: 14px;
  color: #333;
  outline: none;
}

.newsletter-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 26px;
  padding: 0 26px;
  font-family: var(--third-font);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: #fff;
  color: var(--color-text);
}

/* Footer columns */
.footer-col-title {
  font-family: var(--third-font);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: #fff;
  font-family: var(--third-font);
  font-size: 14px;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #999;
  padding-left: 5px;
}

.footer-store-info p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: #fff;
}

.footer-store-info p i {
  color: #fff;
  margin-top: 4px;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-3px);
}

/* Bottom copyright bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 45px;
}

.copyright-text {
  font-size: 13px;
  color: #fff;
  margin-bottom: 0;
}

.payment-badge-img {
  max-height: 28px;
  width: auto;
}

/* ===================================================================
   MODALS, OFFCANVAS, AND INTERACTIVE UTILITIES
   =================================================================== */
/* Search Overlay */
.search-overlay-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-close-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  transition: var(--transition);
}

.search-close-btn:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.search-box-wrap {
  width: 100%;
  max-width: 700px;
  position: relative;
  padding: 0 20px;
}

.search-box-wrap input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid #555;
  color: #ffffff;
  font-family: var(--primary-font);
  font-size: 32px;
  padding: 12px 60px 12px 10px;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-box-wrap input:focus {
  border-bottom-color: var(--primary-color);
}

.search-box-wrap button {
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: var(--color-text);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
  border: none;
  cursor: pointer;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn:hover {
  background-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-4px);
}

/* Quick View Modal styling */
.quickview-modal .modal-content {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.quickview-modal .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.qv-img-main {
  border-radius: 14px;
  overflow: hidden;
  background: #f7f6f2;
}

.qv-title {
  font-family: var(--primary-font);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 10px;
}

.qv-price {
  font-family: var(--primary-font);
  font-size: 22px;
  color: var(--price-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.qv-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 4px 12px;
}

.qty-control button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  color: #555;
}

.qty-control input {
  width: 40px;
  text-align: center;
  border: none;
  font-family: var(--third-font);
  font-weight: 600;
  outline: none;
}

/* Offcanvas Cart */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-row img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-title {
  font-family: var(--primary-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--heading-text-color);
  margin-bottom: 4px;
}

.cart-item-price {
  font-family: var(--third-font);
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 600;
}

/* Toast alert */
.toast-container {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 10000;
}




