/*
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
--------------------------------------------------------------*/
/*--------------------------------------------------------------
/** 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       : #F59E0B;
    --dark-color         : #111827;
    --light-dark-color   : #4B5563;
    --light-color        : #FFFFFF;
    --grey-color         : #D1D5DB;
    --light-grey-color   : #F9FAFB;
    --primary-color      : #15803D;
    --light-primary-color: #E8F5E9;
}

/* Fonts */
:root {
    --body-font          : 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --heading-font       : 'Cairo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  font-family: var(--body-font) !important;
  --bs-link-color: #111827;
  --bs-link-hover-color: #15803D;

  --bs-link-color-rgb: 17, 24, 39;
  --bs-link-hover-color-rgb: 21, 128, 61;

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: var(--body-font);
  --bs-body-font-family: var(--body-font);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 500;
  --bs-body-line-height: 1.7;
  --bs-body-color: #1F2937;
  color: #1F2937;

  --bs-primary: #F59E0B;
  --bs-primary-rgb: 245, 158, 11;

  --bs-success: #15803D;
  --bs-success-rgb: 21, 128, 61;
  
  --bs-primary-bg-subtle: #FFFBEB;
  --bs-success-bg-subtle: #DCFCE7;
  
  --bs-border-color: #E5E7EB;

  --bs-secondary-rgb: 230, 243, 251;
  --bs-danger-rgb: 249, 235, 231;
  --bs-warning-rgb: 255, 249, 235;
  --bs-info-rgb: 230, 243, 250;
  letter-spacing: normal !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.btn-primary {
  --bs-btn-color: #111827;
  --bs-btn-bg: #F59E0B;
  --bs-btn-border-color: #F59E0B;
  --bs-btn-hover-color: #FFFFFF;
  --bs-btn-hover-bg: #D97706;
  --bs-btn-hover-border-color: #D97706;
  --bs-btn-focus-shadow-rgb: 245, 158, 11;
  --bs-btn-active-color: #FFFFFF;
  --bs-btn-active-bg: #B45309;
  --bs-btn-active-border-color: #B45309;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #9CA3AF;
  --bs-btn-disabled-bg: #E5E7EB;
  --bs-btn-disabled-border-color: transparent;
  font-weight: 700;
}
.btn-outline-primary {
  --bs-btn-color: #ffc43f;
  --bs-btn-border-color: #ffc43f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffc107;
  --bs-btn-hover-border-color: #ffc107;
  --bs-btn-focus-shadow-rgb: 13,110,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc107;
  --bs-btn-active-border-color: #ffc107;
  --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: normal !important;
}
h1,h2,h3,h4,h5,h6 {
  font-family: var(--heading-font) !important;
  color: #111827 !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
}
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: var(--heading-font) !important;
  font-weight: 800 !important;
  color: #111827 !important;
  letter-spacing: normal !important;
}
p, .card-text {
  color: #374151;
  line-height: 1.75;
}
.text-muted, .text-secondary {
  color: #4B5563 !important;
}
.breadcrumb.text-white {
  --bs-breadcrumb-divider-color: #fff;
  --bs-breadcrumb-item-active-color: var(--bs-primary);
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-primary);
}
.nav-pills .nav-link {
  --bs-nav-pills-link-active-color: #111;
  --bs-nav-pills-link-active-bg: #f1f1f1;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
  --bs-gutter-x: 3rem;
}
/*----------------------------------------------*/
/* 6. SITE STRUCTURE */
/*----------------------------------------------*/
/* 6.1 Header
--------------------------------------------------------------*/
/* Preloader */
.preloader-wrapper {
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 111;
  background: #fff;
}

.preloader-wrapper .preloader {
  margin: 20% auto 0;
  transform: translateZ(0);
}

.preloader:before,
.preloader:after {
  content: '';
  position: absolute;
  top: 0;
}

.preloader:before,
.preloader:after,
.preloader {
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: animation 1.2s infinite ease-in-out;
}

.preloader {
  animation-delay: -0.16s;
}

.preloader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}

.preloader:after {
  left: 3.5em;
}

@keyframes animation {
  0%,
  80%,
  100% {
    box-shadow: 0 2em 0 -1em var(--accent-color);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--accent-color);
  }
}

/* *** Start editing below this line *** */
.container-fluid {
  max-width: 1600px;
}
.banner-blocks {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-gap: 1.5rem;
}
.block-1 { grid-area: 1 / 1 / 3 / 8; min-height: 520px; }
.block-2 { grid-area: 1 / 8 / 2 / 13; min-height: 245px; }
.block-3 { grid-area: 2 / 8 / 3 / 13; min-height: 245px; }

/* New 2-Column Split Hero Layout & Animations */
.hero-split-card {
  border: 1px solid rgba(0,0,0,0.06) !important;
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06) !important;
  min-height: 490px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-split-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.09) !important;
}

/* Ambient Floating Glowing Blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
  animation: heroBlobFloat 9s infinite alternate ease-in-out;
}
.hero-blob-1 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.35) 0%, rgba(245, 158, 11, 0) 70%);
  top: -40px;
  right: -40px;
}
.hero-blob-2 {
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, rgba(34, 197, 94, 0) 70%);
  bottom: -40px;
  left: 20%;
  animation-duration: 12s;
  animation-delay: -3s;
}

@keyframes heroBlobFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -20px) scale(1.12); }
  100% { transform: translate(-15px, 20px) scale(0.95); }
}

/* Hero Content Entrance Animations */
.hero-text-col {
  background: linear-gradient(135deg, #ffffff 0%, #fefcf9 100%);
  position: relative;
  z-index: 2;
}

.hero-anim-item {
  animation: heroFadeSlideUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dynamic Text refresh animation when slide changes */
.hero-text-refresh .hero-main-title {
  animation: heroTextPop 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-text-refresh .hero-desc {
  animation: heroTextPop 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroTextPop {
  0% {
    opacity: 0.25;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badge Pulse Animation */
.hero-badge-pulse {
  animation: badgeGlow 3s infinite ease-in-out;
  transition: transform 0.25s ease;
}
.hero-badge-pulse:hover {
  transform: scale(1.06);
}
@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}

.sparkle-icon {
  display: inline-block;
  animation: sparkleRotate 2.5s infinite ease-in-out;
}
@keyframes sparkleRotate {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(20deg) scale(1.25); }
}

/* Button Glow & Bounce effect */
.hero-btn-glow {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-btn-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.38) !important;
}
.hero-btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-25deg);
  animation: btnShine 4s infinite ease;
}
@keyframes btnShine {
  0% { left: -120%; }
  25%, 100% { left: 160%; }
}

/* Trust Pill micro-hover */
.hero-trust-pill {
  transition: transform 0.25s ease;
}
.hero-trust-pill:hover {
  transform: translateY(-2px);
}
.hero-trust-pill svg {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-trust-pill:hover svg {
  transform: scale(1.2) rotate(6deg);
}

/* Slider Column & Image Animations */
.hero-slider-col {
  position: relative;
  min-height: 420px;
  background: #f1f5f9;
  overflow: hidden;
}
.hero-slider-col .main-swiper {
  height: 100%;
  min-height: 420px;
}
.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.hero-slide-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  animation: heroKenBurns 8s infinite alternate ease-in-out;
}

/* Cinematic subtle Ken Burns motion effect on image */
@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.07);
  }
}

.hero-slide-link:hover .hero-slide-img {
  animation-play-state: paused;
  transform: scale(1.09);
}

.hero-slide-badge-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  animation: heroFadeSlideUp 0.6s ease both;
}
[dir="ltr"] .hero-slide-badge-overlay {
  right: auto;
  left: 20px;
}

.hero-swiper-btn {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(6px);
  width: 46px !important;
  height: 46px !important;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.hero-swiper-btn:after {
  font-size: 19px !important;
  font-weight: 800;
}
.hero-swiper-btn:hover {
  background: #F59E0B !important;
  color: #000 !important;
  transform: scale(1.14);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.hero-slider-col .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #fff;
  opacity: 0.75;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero-slider-col .swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 6px;
  background: #F59E0B !important;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

@media screen and (max-width: 991px) {
  .hero-slider-col {
    min-height: 330px;
  }
  .hero-slide-img {
    min-height: 330px;
    height: 350px;
  }
  .hero-main-title {
    font-size: 1.85rem !important;
  }
}

@media screen and (max-width: 576px) {
  .hero-slider-col {
    min-height: 270px;
  }
  .hero-slide-img {
    min-height: 270px;
    height: 280px;
  }
  .hero-text-col {
    padding: 1.6rem 1.25rem !important;
  }
  .hero-main-title {
    font-size: 1.55rem !important;
  }
  .hero-desc {
    font-size: 0.95rem !important;
  }
}

/* banner ad */
.banner-ad {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  height: 100%;
}
.banner-ad .full-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.banner-ad .full-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
  z-index: 1;
}
.banner-ad:hover .full-banner-img {
  transform: scale(1.03);
}
.banner-ad .banner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  color: #fff;
}
.banner-ad.block-2 .banner-overlay,
.banner-ad.block-3 .banner-overlay {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0) 100%);
}
.banner-ad.blue {
  background: #e6f3fb;
}
.banner-ad .swiper-pagination {
  bottom: 25px;
  left: 0;
  right: 0;
  z-index: 3;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 4px;
  background: #FFF;
  opacity: 0.7;
  transition: all 0.3s ease-out;
}
.banner-ad .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: #FFC43F;
  opacity: 1;
  transform: scale(1.2);
}
.banner-ad .swiper-slide {
  min-height: 520px;
  height: 100%;
  display: flex;
  position: relative;
}
/* .banner-ad .banner-content {
  padding: 52px;
}
.banner-ad.large .banner-content {
  padding: 90px;
} */
.banner-ad .banner-content .categories {
  font-family: 'Garamond';
  font-size: 37px;
  text-transform: capitalize;
  color: var(--dark-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;
}
.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: 10px;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: #FFC43F;
  --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: #FFC43F;
}
.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 {
  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(--accent-color);
}

/* product-grid */
/* .product-grid {
  gap: 25px;
} */
.product-item {
  position: relative;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  margin-bottom: 30px;
  transition: box-shadow 0.3s ease-out;
}
.product-item:hover {
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.product-item h3 {
  display: block;
  width: 100%;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #111827;
  margin: 0;
}
.product-item h3 a {
  color: #111827 !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.product-item h3 a:hover {
  color: #15803D !important;
}
.product-item figure {
  background: #F9FAFB;
  border-radius: 12px;
  text-align: center;
}
.product-item figure img {
  max-height: 210px;
  height: auto;
}
.btn-wishlist,
.product-item .btn-wishlist {
  display: none !important;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #E5E7EB;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.3s ease-out;
}
.product-item .btn-wishlist:hover {
  background: #DC2626;
  border-color: #DC2626;
  color: #fff;
}
.product-item .qty {
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 18px;
  color: #4B5563;
}
.product-item .rating {
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 18px;
  color: #1F2937;
}
.product-item .rating iconify-icon {
  color: #F59E0B;
}
.product-item .price {
  display: block;
  width: 100%;
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 30px;
  color: #15803D;
}
.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: 520px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

/* ========================================================
   HIGH CONTRAST & TYPOGRAPHY CLARITY ENHANCEMENTS
   ======================================================== */

/* General Text & Links */
a {
  color: #111827;
  text-decoration: none;
}
a:hover {
  color: #15803D;
}
.nav-link {
  color: #1F2937 !important;
  font-weight: 600;
  font-size: 1rem;
}
.nav-link:hover, .nav-link:focus {
  color: #15803D !important;
}

/* Section Titles & Headers */
.section-title {
  color: #111827 !important;
  font-weight: 800 !important;
  letter-spacing: normal !important;
}
.section-header p {
  color: #4B5563 !important;
  font-weight: 500;
}

/* Product Tabs */
.product-tabs .nav-tabs .nav-link {
  color: #4B5563 !important;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 8px 16px;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
}
.product-tabs .nav-tabs .nav-link:hover {
  color: #15803D !important;
}
.product-tabs .nav-tabs .nav-link.active {
  color: #111827 !important;
  background: transparent !important;
  border-bottom: 3px solid #15803D !important;
}

/* FAQ Accordion High Contrast */
.custom-faq-accordion .accordion-item {
  border: 1px solid #E5E7EB !important;
  background: #FFFFFF;
}
.custom-faq-accordion .accordion-button {
  font-family: var(--heading-font);
  font-weight: 700 !important;
  color: #111827 !important;
  font-size: 1.1rem;
  background-color: #FFFFFF;
  box-shadow: none !important;
}
.custom-faq-accordion .accordion-button:not(.collapsed) {
  background-color: #F0FDF4 !important;
  color: #15803D !important;
  border-bottom: 1px solid #DCFCE7;
}
.custom-faq-accordion .accordion-body {
  color: #374151 !important;
  font-size: 1rem;
  line-height: 1.85;
  font-weight: 500;
}

/* Buttons High Contrast */
.btn-dark {
  background-color: #111827 !important;
  border-color: #111827 !important;
  color: #FFFFFF !important;
  font-weight: 700;
}
.btn-dark:hover {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: #FFFFFF !important;
}
.btn-outline-dark {
  border-color: #1F2937 !important;
  color: #1F2937 !important;
  font-weight: 700;
}
.btn-outline-dark:hover {
  background-color: #1F2937 !important;
  color: #FFFFFF !important;
}
.btn-success {
  background-color: #15803D !important;
  border-color: #15803D !important;
  color: #FFFFFF !important;
  font-weight: 700;
}
.btn-success:hover {
  background-color: #166534 !important;
  border-color: #166534 !important;
  color: #FFFFFF !important;
}

/* Form Controls & Labels */
.form-label {
  color: #1F2937 !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.form-control, .form-select {
  color: #111827 !important;
  font-weight: 500;
  border: 1px solid #D1D5DB !important;
  border-radius: 10px;
}
.form-control:focus, .form-select:focus {
  border-color: #15803D !important;
  box-shadow: 0 0 0 0.2rem rgba(21, 128, 61, 0.15) !important;
  color: #111827 !important;
}
::placeholder {
  color: #6B7280 !important;
  opacity: 1;
}

/* Badges High Contrast */
.badge.bg-success {
  background-color: #15803D !important;
  color: #FFFFFF !important;
  font-weight: 700;
}
.badge.bg-warning {
  background-color: #F59E0B !important;
  color: #111827 !important;
  font-weight: 800;
}
.badge.bg-light {
  background-color: #F3F4F6 !important;
  color: #374151 !important;
  font-weight: 600;
}

/* ==========================================================
   Language Switcher & Bilingual Support (AR / EN)
   ========================================================== */
.lang-switcher-pill {
  background: #ffffff;
  border: 1.5px solid #E5E7EB !important;
  color: #1F2937 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  cursor: pointer;
  white-space: nowrap;
}
.lang-switcher-pill:hover {
  background: #F3F4F6 !important;
  border-color: #D1D5DB !important;
  color: #111827 !important;
  transform: translateY(-1px);
}
.lang-switcher-pill svg {
  color: #15803D;
}
html[dir="rtl"] .lang-switcher-pill svg {
  margin-left: 4px;
}
html[dir="ltr"] .lang-switcher-pill svg {
  margin-right: 4px;
}

/* LTR specific layout helpers */
html[dir="ltr"] body {
  text-align: left;
}
html[dir="ltr"] .support-box {
  text-align: left !important;
}
html[dir="ltr"] .cart.text-end {
  text-align: left !important;
}
html[dir="ltr"] .footer-menu.pe-lg-4 {
  padding-right: 1.5rem !important;
  padding-left: 0 !important;
}
html[dir="ltr"] .credit-link.text-md-end {
  text-align: right !important;
}
html[dir="ltr"] .copyright.text-md-start {
  text-align: left !important;
}
html[dir="rtl"] body {
  text-align: right;
}
html[dir="rtl"] .support-box {
  text-align: right !important;
}
html[dir="rtl"] .cart.text-end {
  text-align: right !important;
}
html[dir="rtl"] .credit-link.text-md-end {
  text-align: left !important;
}
html[dir="rtl"] .copyright.text-md-start {
  text-align: right !important;
}

/* ========================================================
   FOOTER LOCATION & GOOGLE MAPS CARD STYLES
   ======================================================== */
.footer-location-box {
  background: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.footer-location-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: #86efac;
}
.footer-map-frame {
  width: 100%;
  height: 155px;
  border: 0;
  display: block;
}
.footer-address-pill {
  background-color: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #374151;
  border: 1px solid #f1f5f9;
}
.btn-maps-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 20px;
  color: #15803d;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-maps-direction:hover {
  background-color: #15803d;
  color: #ffffff;
  border-color: #15803d;
  transform: translateY(-1px);
}

/* Brand Logo Styling */
.main-logo a {
  display: inline-block;
  line-height: 1;
}
.main-logo img {
  height: 64px;
  width: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.main-logo img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* ========================================================
   UNIFIED CART & CHECKOUT SYSTEM
   ======================================================== */

/* Header Cart Button & Badges */
.header-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e2e8f0;
  background: #ffffff;
  color: #1e293b;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}
.header-cart-btn:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}
.header-cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  line-height: 1;
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 28px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.floating-cart-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
.floating-cart-btn svg {
  width: 28px;
  height: 28px;
}
.floating-cart-btn .cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #e53935;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 22px;
  height: 22px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  padding: 0 5px;
}
.floating-cart-btn .cart-badge.bump {
  animation: badgeBump 0.35s ease;
}

/* RTL / LTR Positions for Floating Cart */
html[dir="rtl"] .floating-cart-btn {
  left: 28px;
  right: auto;
}
html[dir="ltr"] .floating-cart-btn {
  right: 28px;
  left: auto;
}

@keyframes badgeBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  width: 420px;
  max-width: 92vw;
  height: 100vh;
  background: #ffffff;
  z-index: 10000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
}

/* Slide in from right for RTL */
html[dir="rtl"] .cart-drawer {
  right: -440px;
  left: auto;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
html[dir="rtl"] .cart-drawer.open {
  right: 0;
  left: auto;
}

/* Slide in from left for LTR */
html[dir="ltr"] .cart-drawer {
  left: -440px;
  right: auto;
  transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
html[dir="ltr"] .cart-drawer.open {
  left: 0;
  right: auto;
}

.cart-drawer-header {
  background: linear-gradient(135deg, #1a2456, #243070);
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.cart-drawer-header h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cart-close-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.cart-close-btn:hover {
  background: rgba(255,255,255,0.3);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: #94a3b8;
}
.cart-empty .icon {
  font-size: 54px;
  margin-bottom: 12px;
}
.cart-empty p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f1f5f9;
  align-items: center;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
  background: #f8fafc;
  flex-shrink: 0;
  border: 1px solid #e2e8f0;
}
.cart-item-info {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #1e293b;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cart-item-price {
  font-size: 0.85rem;
  color: #1a2456;
  font-weight: 700;
}
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-item-qty button {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 700;
}
.cart-item-qty .cq-minus {
  background: #fee2e2;
  color: #ef4444;
}
.cart-item-qty .cq-minus:hover {
  background: #fecaca;
}
.cart-item-qty .cq-plus {
  background: #e0f2fe;
  color: #0284c7;
}
.cart-item-qty .cq-plus:hover {
  background: #bae6fd;
}
.cart-item-qty span {
  font-weight: 700;
  font-size: 0.92rem;
  min-width: 22px;
  text-align: center;
  color: #1e293b;
}
.cart-item-remove {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}
.cart-item-remove:hover {
  background: #fee2e2;
  color: #ef4444;
}

.cart-drawer-footer {
  border-top: 2px solid #f1f5f9;
  padding: 18px 22px;
  flex-shrink: 0;
  background: #f8fafc;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.cart-total-label {
  font-weight: 700;
  font-size: 1rem;
  color: #475569;
}
.cart-total-price {
  font-weight: 800;
  font-size: 1.25rem;
  color: #1a2456;
}

.btn-checkout-wa {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-checkout-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
}
.btn-checkout-wa svg {
  width: 22px;
  height: 22px;
}

.btn-clear-cart {
  width: 100%;
  padding: 9px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #64748b;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-clear-cart:hover {
  background: #fef2f2;
  color: #ef4444;
  border-color: #fecaca;
}

/* Checkout Info Modal */
.checkout-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(3px);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.checkout-modal-overlay.open {
  display: flex;
}

.checkout-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.checkout-modal-header {
  background: linear-gradient(135deg, #1a2456, #243070);
  color: #ffffff;
  padding: 20px 24px;
  text-align: center;
}
.checkout-modal-header h5 {
  margin: 0;
  font-weight: 700;
  font-size: 1.2rem;
  color: #ffffff;
}
.checkout-modal-header p {
  margin: 6px 0 0;
  font-size: 0.85rem;
  opacity: 0.8;
  color: #ffffff;
}

.checkout-modal-body {
  padding: 22px 24px;
}

.checkout-field {
  margin-bottom: 16px;
}
.checkout-field label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: #334155;
  margin-bottom: 6px;
}
.checkout-field label .required {
  color: #ef4444;
  margin-inline-end: 3px;
}
.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.93rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  box-sizing: border-box;
}
.checkout-field input:focus,
.checkout-field textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.checkout-field input.error,
.checkout-field textarea.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.checkout-field textarea {
  resize: vertical;
  min-height: 65px;
}
.checkout-field .field-error {
  color: #ef4444;
  font-size: 0.78rem;
  margin-top: 4px;
  display: none;
}
.checkout-field .field-error.show {
  display: block;
}

.checkout-modal-actions {
  padding: 0 24px 22px;
  display: flex;
  gap: 10px;
}
.btn-checkout-confirm {
  flex: 1;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}
.btn-checkout-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}
.btn-checkout-cancel {
  padding: 13px 18px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  color: #64748b;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-checkout-cancel:hover {
  background: #f8fafc;
  color: #1e293b;
}

/* ========================================================
   MODERN MOBILE APP STYLES & RESPONSIVE PERFECTION
   Designed for ultra-attractive mobile e-commerce UX
   ======================================================== */

/* Global Mobile Fixes & Smooth Tap */
@media screen and (max-width: 991px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Desktop Header hide on mobile when mobile app header is used */
  .desktop-header-wrap {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .mobile-app-header,
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* 1. Mobile App Top Header */
.mobile-app-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.mobile-app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  gap: 10px;
  min-height: 58px;
}

.mobile-menu-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E293B;
  transition: all 0.2s;
  padding: 0;
}
.mobile-menu-btn:active {
  background: #E2E8F0;
  transform: scale(0.95);
}

.mobile-app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.mobile-app-logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #F59E0B;
}
.mobile-app-logo-text {
  font-weight: 800;
  font-size: 1.05rem;
  color: #111827;
  line-height: 1.2;
}
.mobile-app-logo-sub {
  font-size: 0.65rem;
  color: #15803D;
  font-weight: 700;
  display: block;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-lang-pill {
  border: 1.5px solid #E2E8F0;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.mobile-lang-pill:active {
  background: #F1F5F9;
  transform: scale(0.95);
}

.mobile-cart-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #065F46;
  position: relative;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.mobile-cart-icon-btn:active {
  transform: scale(0.95);
  background: #D1FAE5;
}

.mobile-header-badge {
  position: absolute;
  top: -4px;
  right: -5px;
  background: #EF4444;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 5px rgba(239, 68, 68, 0.35);
}

/* Mobile Search Bar inside Header */
.mobile-search-wrapper {
  padding: 0 14px 10px 14px;
}
.mobile-search-form {
  display: flex;
  align-items: center;
  background: #F3F4F6;
  border-radius: 25px;
  padding: 4px 6px 4px 14px;
  border: 1.5px solid #E5E7EB;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.mobile-search-form:focus-within {
  border-color: #15803D;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
}
.mobile-search-input {
  border: none;
  background: transparent;
  width: 100%;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 500;
  color: #111827;
  outline: none;
  padding: 6px 8px;
}
.mobile-search-input::placeholder {
  color: #9CA3AF;
  font-size: 0.82rem;
}
.mobile-search-btn {
  background: linear-gradient(135deg, #15803D, #166534);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.25);
  transition: all 0.2s;
}
.mobile-search-btn:active {
  transform: scale(0.95);
}

/* 2. Floating Mobile Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 60px;
  padding: 0 4px;
}
.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  color: #64748B !important;
  padding: 6px 2px;
  position: relative;
  transition: all 0.2s ease;
  border-radius: 12px;
  user-select: none;
}
.mobile-nav-item:active {
  transform: scale(0.92);
}
.mobile-nav-item.active {
  color: #15803D !important;
  font-weight: 700;
}
.mobile-nav-item.active .mobile-nav-icon svg {
  color: #15803D !important;
}
.mobile-nav-item.active::before {
  content: '';
  position: absolute;
  top: 3px;
  width: 18px;
  height: 3px;
  background: #15803D;
  border-radius: 4px;
}
.mobile-nav-icon {
  position: relative;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.mobile-nav-icon svg {
  transition: transform 0.2s ease;
}
.mobile-nav-item.active .mobile-nav-icon svg {
  transform: translateY(-1px);
}
.mobile-nav-label {
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: normal;
  white-space: nowrap;
}
.mobile-nav-badge {
  position: absolute;
  top: -4px;
  right: -10px;
  background: #EF4444;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 17px;
  height: 17px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  border: 1.5px solid #FFFFFF;
}

/* 3. Mobile Product Grid & Cards (2 Columns Perfection) */
@media screen and (max-width: 768px) {
  /* Grid 2-column layout */
  .product-grid,
  #products-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .product-grid > .col,
  #products-grid > .col {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Product Item Card in index.html */
  .product-item {
    background: #FFFFFF !important;
    border: 1px solid #F1F5F9 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    padding: 10px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    position: relative !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .product-item:active {
    transform: scale(0.985);
  }

  /* Image Figure */
  .product-item figure {
    background: #F8FAFC !important;
    border-radius: 12px !important;
    height: 130px !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
  }
  .product-item figure img,
  .product-item figure .tab-image {
    max-height: 115px !important;
    width: 100% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease;
  }

  /* Badges */
  .product-item .badge {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12) !important;
  }

  /* Product Title */
  .product-item h3 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin: 0 0 4px 0 !important;
    min-height: 2.4em;
    max-height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .product-item h3 a {
    color: #1E293B !important;
  }

  /* Quantity / Category pill */
  .product-item .qty {
    font-size: 0.72rem !important;
    color: #0284C7 !important;
    font-weight: 600 !important;
    background: #F0F9FF;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 4px;
    width: fit-content;
  }

  .product-item .rating {
    font-size: 0.72rem !important;
    color: #64748B !important;
    display: block;
    margin-bottom: 4px;
  }

  /* Price */
  .product-item .price {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #15803D !important;
    line-height: 1.2 !important;
    margin: 4px 0 8px 0 !important;
  }

  /* Actions container */
  .product-item .d-flex.align-items-center.justify-content-between {
    gap: 6px;
    flex-direction: column;
    align-items: stretch !important;
  }

  .product-item .product-qty {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom: 6px;
  }
  .product-item .product-qty .input-group-btn .btn,
  .product-item .product-qty .btn-number {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 8px !important;
  }
  .product-item .product-qty input.quantity {
    width: 36px !important;
    height: 28px !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    padding: 0 !important;
    border: 1px solid #E2E8F0 !important;
  }

  .product-item button.btn-outline-primary,
  .product-item .btn-add-to-cart-mobile {
    width: 100% !important;
    padding: 7px 10px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    background: #15803D !important;
    color: #FFFFFF !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.2) !important;
    transition: all 0.2s;
  }
  .product-item button.btn-outline-primary:active {
    transform: scale(0.96);
    background: #166534 !important;
  }
  .product-item button.btn-outline-primary svg {
    width: 15px;
    height: 15px;
  }

  /* Product Card in products.html */
  .product-card {
    border-radius: 16px !important;
    border: 1px solid #F1F5F9 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 0 !important;
  }
  .product-card .product-img-wrap {
    height: 130px !important;
    background: #F8FAFC !important;
  }
  .product-card .product-img-wrap img {
    max-height: 115px !important;
    object-fit: contain !important;
  }
  .product-card .card-body {
    padding: 10px !important;
  }
  .product-card .product-name {
    font-size: 0.88rem !important;
    margin-bottom: 4px !important;
    min-height: 2.4em;
    white-space: normal !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-card .product-category {
    font-size: 0.72rem !important;
  }
  .product-card .product-weight {
    font-size: 0.72rem !important;
    margin-bottom: 6px !important;
  }
  .product-card .price-main {
    font-size: 1.05rem !important;
  }
  .product-card .price-row {
    margin-bottom: 8px !important;
  }
  .product-card .qty-row {
    gap: 4px !important;
  }
  .product-card .btn-qty {
    width: 26px !important;
    height: 26px !important;
    font-size: 0.9rem !important;
    border-radius: 6px !important;
  }
  .product-card .qty-input {
    width: 28px !important;
    font-size: 0.85rem !important;
  }
  .product-card .btn-add-cart {
    padding: 6px 8px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }
}

/* 4. Horizontal Scrollable Category Tabs */
@media screen and (max-width: 768px) {
  .product-tabs .tabs-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    border-bottom: none !important;
    margin-top: 15px !important;
    margin-bottom: 12px !important;
    gap: 10px !important;
  }
  .product-tabs .tabs-header h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
  }
  .product-tabs .tabs-header nav {
    width: 100% !important;
    overflow: hidden !important;
  }
  .product-tabs .nav-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    border-bottom: none !important;
    gap: 8px !important;
    padding: 2px 2px 8px 2px !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
  }
  .product-tabs .nav-tabs::-webkit-scrollbar {
    display: none !important;
  }
  .product-tabs .nav-tabs .nav-link {
    white-space: nowrap !important;
    padding: 6px 16px !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    border: 1px solid #E2E8F0 !important;
    background: #F8FAFC !important;
    color: #475569 !important;
    flex-shrink: 0 !important;
    transition: all 0.2s ease !important;
  }
  .product-tabs .nav-tabs .nav-link.active {
    background: #15803D !important;
    color: #FFFFFF !important;
    border-color: #15803D !important;
    box-shadow: 0 3px 10px rgba(21, 128, 61, 0.25) !important;
    border-bottom: 1px solid #15803D !important;
  }
}

/* 5. Hero Banner on Mobile */
@media screen and (max-width: 768px) {
  .banner-blocks {
    display: block !important;
  }
  .block-1 {
    min-height: 320px !important;
    height: 350px !important;
    border-radius: 18px !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  .banner-ad.large .banner-overlay {
    padding: 1.5rem 1.25rem 2rem !important;
    justify-content: flex-end !important;
    background: linear-gradient(0deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.15) 100%) !important;
  }
  .banner-ad.large .banner-overlay h2 {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 6px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.85) !important;
  }
  .banner-ad.large .banner-overlay h5 {
    display: block !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8) !important;
  }
  .banner-ad.large .banner-overlay .banner-desc-text {
    display: block !important;
    font-size: 0.84rem !important;
    line-height: 1.4 !important;
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8) !important;
  }
  .banner-ad.large .banner-overlay .badge {
    font-size: 0.8rem !important;
    padding: 4px 10px !important;
    margin-bottom: 8px !important;
  }
  .banner-ad.large .banner-overlay .btn {
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
  }

  /* Secondary Banners are consolidated into block-1 slider on mobile */
  .block-2, .block-3 {
    display: none !important;
  }
}

/* 6. Product Details on Mobile (product-details.html) */
@media screen and (max-width: 768px) {
  .gallery-main {
    height: 270px !important;
    border-radius: 14px !important;
  }
  .gallery-main img {
    max-height: 240px !important;
  }
  .details-container {
    padding: 16px !important;
    border-radius: 20px !important;
    margin-top: -15px !important;
  }
  .product-title {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }
  .price-area {
    margin: 12px 0 !important;
    gap: 8px !important;
  }
  .price-current {
    font-size: 1.6rem !important;
  }
  .price-old {
    font-size: 1.05rem !important;
  }
  .meta-pill {
    padding: 4px 10px !important;
    font-size: 0.78rem !important;
  }
  .btn-add-main,
  .btn-whatsapp-direct {
    padding: 12px 16px !important;
    font-size: 0.95rem !important;
    border-radius: 12px !important;
  }
}

/* 7. Category Page on Mobile (categories.html) */
@media screen and (max-width: 768px) {
  .page-banner {
    padding: 24px 16px !important;
  }
  .page-banner h1 {
    font-size: 1.35rem !important;
  }
  .cat-card {
    border-radius: 14px !important;
  }
  .cat-card .cat-img-wrap {
    height: 110px !important;
  }
  .cat-card .cat-name {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
  }
  .cat-card .cat-badge {
    font-size: 0.7rem !important;
  }
}

/* 8. Offcanvas & Checkout Modal Bottom Sheet on Mobile */
@media screen and (max-width: 768px) {
  .checkout-modal-card {
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh !important;
    margin-top: auto !important;
    animation: modalSlideUpMobile 0.3s ease-out !important;
  }
  @keyframes modalSlideUpMobile {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
  .checkout-modal-actions {
    padding: 0 16px 20px !important;
  }
  .checkout-modal-body {
    padding: 16px !important;
  }
  .offcanvas-body {
    padding: 16px !important;
  }
}

/* 9. Mobile App Promo Phone Image Visibility */
.app-phone-img {
  max-height: 380px;
  width: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

@media screen and (max-width: 991px) {
  .app-phone-col {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 24px !important;
  }
  .app-phone-img {
    max-height: 280px !important;
    max-width: 85% !important;
    margin: 0 auto !important;
    display: block !important;
  }
}

@media screen and (max-width: 576px) {
  .app-phone-img {
    max-height: 230px !important;
    max-width: 90% !important;
  }
}

/* 10. Special Offers Section Styles */
.offers-section-wrapper {
  background: linear-gradient(180deg, #fff9f0 0%, #ffffff 100%);
  border-top: 1px solid #ffe8cc;
  border-bottom: 1px solid #ffe8cc;
  position: relative;
}

.offers-badge-pill {
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
  animation: pulseBadge 2s infinite ease-in-out;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.special-offer-card {
  border: 1.5px solid #fed7aa;
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.special-offer-card:hover {
  border-color: #f97316;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.15);
}

.special-offer-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

[dir="ltr"] .special-offer-ribbon {
  right: auto;
  left: 12px;
}

