/*
Theme Name: بقالة الموقع
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: بقالة الموقع - متجر بقالة إلكتروني
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       : #FFC43F;
    --dark-color         : #222222;
    --light-dark-color   : #727272;
    --light-color        : #fff;
    --grey-color         : #dbdbdb;
    --light-grey-color   : #fafafa;
    --primary-color      : #6995B1;
    --light-primary-color   : #eef1f3;
}

/* Fonts */
:root {
    --body-font           : "Tajawal", "Cairo", sans-serif;
    --heading-font        : "Cairo", "Tajawal", 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-link-color: #FFC43F;
  --bs-link-hover-color: #FFC43F; */

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Tajawal", "Cairo", 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: #FFC43F;
  --bs-primary-rgb: 255, 196, 63;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;
  
  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;
  
  --bs-border-color: #F7F7F7;

  --bs-secondary-rgb: 230, 243, 251;
  /* --bs-success-rgb: 238, 245, 228; */
  --bs-danger-rgb: 249, 235, 231;
  --bs-warning-rgb: 255, 249, 235;
  --bs-info-rgb: 230, 243, 250;
}
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #ffc43f;
  --bs-btn-border-color: transparent;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #f7a422;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-focus-shadow-rgb: 49,132,253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffc43f;
  --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: #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: 0.03em;
  overflow-x: hidden;
}
html {
  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;
}
.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-radius: 12px;
}
.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: #FFC43F;
}
.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: '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: 42px;
  height: 42px;
  line-height: 42px;
  background: #FFC43F;
  color: #222222;
  padding: 0;
  text-align: center;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --bs-btn-border-color: transparent;
  --bs-btn-active-bg: #ec9b22;
  --bs-btn-active-border-color: transparent;
  --bs-btn-hover-bg: #e0a800;
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #9ca3af;
  --bs-btn-disabled-bg: #f3f4f6;
  --bs-btn-disabled-border-color: #f3f4f6;
}
.swiper-prev:hover,
.swiper-next:hover {
  background: #e0a800;
  color: #111;
}
.swiper-prev.swiper-button-disabled,
.swiper-next.swiper-button-disabled {
  opacity: 0.55;
  background: #f3f4f6;
  color: #9ca3af;
  cursor: default;
}
.category-swiper-buttons {
  display: inline-flex;
  gap: 0.5rem;
}
.section-actions .btn-link {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.btn-link-arrow {
  display: inline-block;
  line-height: 1;
}
.btn-link {
  margin-inline-end: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  text-align: right;
  text-transform: capitalize;
  color: #787878;
}
.btn-link:hover {
  color: #222;
}
/* 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 {
  --bs-gutter-x: 1.25rem;
  --bs-gutter-y: 1.75rem;
}

.product-grid > [class*="col"] {
  display: flex;
  margin-bottom: 0;
}

.product-item {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1 1 auto;
  min-height: 100%;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid #FBFBFB;
  box-shadow: 0px 5px 22px rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  margin-bottom: 0;
  transition: box-shadow 0.3s ease-out;
}
.product-item:hover {
  box-shadow: 0px 21px 44px rgba(0, 0, 0, 0.08);
}
.product-item-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1 1 auto;
}
.product-item h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  min-height: 3.1rem;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.4;
  text-transform: capitalize;
  color: #333333;
  margin: 0.35rem 0 0;
}
.product-item figure {
  background: #F9F9F9;
  border-radius: 12px;
  text-align: center;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 0 0.5rem;
  flex-shrink: 0;
}
.product-item figure a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.product-item figure img {
  width: 100%;
  height: 100%;
  max-height: 190px;
  object-fit: contain;
  padding: 0.75rem;
}
.product-item .wishlist-form {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  z-index: 3;
  margin: 0;
}
.product-item .btn-wishlist {
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  color: #999;
  transition: all 0.3s ease-out;
  padding: 0;
}
.product-item .btn-wishlist:hover,
.product-item .btn-wishlist.active {
  background: rgb(240, 56, 56);
  color: #fff;
  border-color: rgb(240, 56, 56);
}
.product-item .qty {
  font-weight: 400;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #9D9D9D;
}
.product-item .rating {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  text-transform: capitalize;
  color: #222222;
}
.product-item .rating iconify-icon {
  color: #FFC43F;
}
.product-item .price {
  display: block;
  width: 100%;
  font-weight: 600;
  font-size: 22px;
  line-height: 30px;
  text-transform: capitalize;
  color: #222222;
  margin-top: 0.15rem;
}
.product-item-actions {
  margin-top: auto;
  padding-top: 0.75rem;
}
.product-item .product-qty {
  width: 85px;
}
.product-item .btn-link {
  text-decoration: none;
}

.products-carousel .swiper-wrapper {
  align-items: stretch;
}
.products-carousel .swiper-slide {
  height: auto;
  display: flex;
}
.products-carousel .swiper-slide .product-item {
  margin-bottom: 0;
}
.product-item #quantity,
.product-item .qty-input,
.product-item .input-number {
  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;
  }
}

/* Arabic / RTL brand */
html[dir="rtl"] body {
  letter-spacing: 0;
  font-family: var(--body-font);
}

.site-brand {
  display: inline-block;
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.85rem;
  color: var(--dark-color);
  text-decoration: none;
  line-height: 1.2;
}

.site-brand:hover {
  color: var(--accent-color);
}

.site-brand-footer {
  color: var(--dark-color);
  font-size: 1.7rem;
}

.site-brand-footer:hover {
  color: #c99200;
}

.footer-brand-text {
  color: #6b7280;
  max-width: 340px;
  line-height: 1.85;
  margin: 1rem 0 0;
}

/* Site footer */
.site-footer {
  position: relative;
  margin-top: 3rem;
  color: #374151;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 196, 63, 0.28), transparent 32%),
    radial-gradient(circle at 90% 100%, rgba(255, 196, 63, 0.16), transparent 34%),
    linear-gradient(180deg, #fffdf7 0%, #fff8e8 55%, #fff3d6 100%);
  overflow: hidden;
  border-top: 1px solid rgba(255, 196, 63, 0.35);
}

.site-footer-accent {
  height: 4px;
  background: linear-gradient(90deg, #ffc43f, #ffe08a 50%, #ffc43f 100%);
}

.site-footer > .container-fluid {
  padding-top: 3.25rem;
  padding-bottom: 2.5rem;
}

.site-footer .widget-title {
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.site-footer .widget-title::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-color);
}

.site-footer .menu-list {
  margin: 0;
  padding: 0;
}

.site-footer .menu-item {
  margin-bottom: 0.55rem;
}

.site-footer .menu-item .nav-link {
  display: inline-block;
  color: #6b7280;
  padding: 0;
  transition: color .2s ease, transform .2s ease;
}

.site-footer .menu-item .nav-link:hover {
  color: #b88600;
  transform: translateX(-3px);
}

html[dir="ltr"] .site-footer .menu-item .nav-link:hover {
  transform: translateX(3px);
}

.footer-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(255, 196, 63, 0.45);
  box-shadow: 0 8px 20px rgba(255, 196, 63, 0.12);
  text-decoration: none;
  color: inherit;
}

.footer-phone span {
  color: #6b7280;
  font-size: 0.85rem;
}

.footer-phone strong {
  color: #9a7400;
  font-size: 1.05rem;
  font-weight: 800;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.footer-social {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #6b7280;
  border: 1px solid rgba(255, 196, 63, 0.4);
  transition: .2s ease;
}

.footer-social:hover {
  background: var(--accent-color);
  color: #1f2937;
  border-color: var(--accent-color);
}

.footer-newsletter p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.footer-subscribe {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 1px solid rgba(255, 196, 63, 0.45);
  border-radius: 14px;
  overflow: hidden;
  padding: 0.3rem;
  box-shadow: 0 8px 20px rgba(255, 196, 63, 0.1);
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1f2937;
  padding: 0.75rem 0.9rem;
  outline: none;
  font-family: inherit;
}

.footer-subscribe input::placeholder {
  color: #9ca3af;
}

.footer-subscribe button {
  border: 0;
  border-radius: 10px;
  background: var(--accent-color);
  color: #1f2937;
  font-weight: 800;
  padding: 0.7rem 1.1rem;
  font-family: inherit;
  transition: background .2s ease;
}

.footer-subscribe button:hover {
  background: #e0a800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 196, 63, 0.3);
  background: rgba(255, 196, 63, 0.12);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.footer-bottom-inner p {
  margin: 0;
  color: #6b7280;
  font-size: 0.92rem;
}

@media (max-width: 767px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

html[dir="rtl"] .text-uppercase {
  letter-spacing: 0;
}

html[dir="rtl"] .banner-ad.block-2,
html[dir="rtl"] .banner-ad.block-3 {
  background-position: left bottom !important;
}

/* Page hero */
.page-hero {
  background:
    linear-gradient(120deg, rgba(255, 249, 235, 0.95), rgba(238, 245, 229, 0.9)),
    url('images/background-pattern.jpg') center/cover no-repeat;
  border-bottom: 1px solid #f0f0f0;
  padding: 2.5rem 0;
}

.page-hero-inner {
  max-width: 900px;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #8a8a8a;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.page-breadcrumb a {
  color: #555;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--accent-color);
}

.page-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.page-hero-subtitle {
  color: #747474;
  margin: 0;
  max-width: 520px;
}

/* Flash */
.flash-wrap {
  position: sticky;
  top: 0;
  z-index: 1050;
}

.flash-alert {
  border: 0;
  border-radius: 0;
  margin: 0;
}

/* Auth */
.auth-section {
  background: #fafafa;
}

.auth-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.auth-card-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-badge {
  display: inline-block;
  background: #FFF9EB;
  color: #b8860b;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.auth-card-head h2 {
  margin-bottom: 0.35rem;
}

.auth-card-head p {
  color: #888;
  margin: 0;
}

.auth-form .form-label {
  font-weight: 600;
  color: #333;
}

.auth-form .form-control {
  border-color: #ececec;
  background: #fcfcfc;
}

.auth-form .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 196, 63, 0.2);
}

.auth-submit {
  font-weight: 700;
}

.auth-footer-link {
  text-align: center;
  margin-top: 1.5rem;
  color: #777;
}

.auth-footer-link a {
  color: #222;
  font-weight: 700;
  text-decoration: none;
}

.auth-footer-link a:hover {
  color: var(--accent-color);
}

/* Shared panels */
.shop-panel,
.summary-panel,
.success-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
}

.shop-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f3f3;
}

.shop-panel-head h3,
.summary-panel h3 {
  margin: 0;
  font-size: 1.25rem;
}

.shop-panel-head a {
  color: #888;
  text-decoration: none;
}

.shop-panel-head a:hover {
  color: var(--accent-color);
}

/* Cart */
.cart-list {
  display: grid;
  gap: 1rem;
}

.cart-row {
  display: grid;
  grid-template-columns: 1.5fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #f3f3f3;
  border-radius: 1rem;
  background: #fcfcfc;
}

.cart-row-product {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-row-product img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  background: #fff;
  border-radius: 0.85rem;
  border: 1px solid #f0f0f0;
  padding: 0.35rem;
}

.cart-row-product h4 {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.cart-row-product p {
  margin: 0 0 0.35rem;
  color: #999;
  font-size: 0.9rem;
}

.cart-qty-form {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 999px;
  padding: 0.25rem 0.4rem;
}

.qty-btn {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #FFF9EB;
  color: #222;
  font-weight: 700;
}

.qty-value {
  min-width: 1.5rem;
  text-align: center;
  font-weight: 700;
}

.cart-row-total {
  text-align: left;
}

.remove-btn {
  border: 0;
  background: transparent;
  color: #c0392b;
  padding: 0;
  margin-top: 0.35rem;
  font-size: 0.9rem;
}

.summary-panel .summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  color: #666;
}

.summary-total {
  border-top: 1px dashed #e8e8e8;
  padding-top: 0.85rem;
  margin-top: 0.5rem;
  color: #222 !important;
  font-size: 1.1rem;
}

.summary-note {
  color: #999;
  font-size: 0.9rem;
  margin: 0.5rem 0 1.25rem;
}

.empty-state {
  text-align: center;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 1.25rem;
  padding: 4rem 1.5rem;
}

.empty-state-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FFF9EB;
  color: #222;
}

.empty-state h3 {
  margin-bottom: 0.4rem;
}

.empty-state p {
  color: #888;
  margin-bottom: 1.5rem;
}

/* Checkout */
.payment-options {
  display: grid;
  gap: 0.85rem;
}

.payment-option {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid #ececec;
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  cursor: pointer;
  background: #fcfcfc;
}

.payment-option:has(input:checked) {
  border-color: var(--accent-color);
  background: #FFF9EB;
}

.payment-option strong {
  display: block;
  margin-bottom: 0.15rem;
}

.payment-option small {
  color: #888;
}

.checkout-items {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.checkout-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.checkout-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0.65rem;
  border: 1px solid #f0f0f0;
  background: #fff;
  padding: 0.2rem;
}

.checkout-item h5 {
  font-size: 0.95rem;
  margin: 0;
}

.checkout-item span {
  color: #999;
  font-size: 0.85rem;
}

.sticky-summary {
  position: sticky;
  top: 1.25rem;
}

.success-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef5e5;
  color: #5f8a1f;
  font-size: 2rem;
  font-weight: 700;
}

.success-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.75rem 0;
  text-align: center;
}

.success-meta span {
  display: block;
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.success-items {
  text-align: right;
  border-top: 1px solid #f0f0f0;
  padding-top: 1.25rem;
}

.success-items .checkout-item {
  grid-template-columns: 1fr auto;
}

.user-menu-dropdown .dropdown-menu {
  border: 1px solid #f0f0f0;
  border-radius: 0.85rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  min-width: 180px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f8f8f8;
  border-radius: 1rem;
  padding: 0.45rem 0.65rem;
  margin: 0.5rem 0;
  width: 100%;
}

.header-search-select {
  flex: 0 0 150px;
  max-width: 150px;
  border: 0;
  background: transparent;
  font-size: 0.95rem;
  color: #333;
  outline: none;
  cursor: pointer;
}

.header-search-input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: none;
  box-shadow: none !important;
  font-size: 0.95rem;
  color: #333;
  padding: 0.45rem 0.35rem;
}

.header-search-input::placeholder {
  color: #9a9a9a;
}

.header-search-btn {
  flex: 0 0 auto;
  border: 0;
  background: var(--accent-color);
  color: #222;
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header-search-btn:hover {
  filter: brightness(0.95);
}

/* Account pages */
.account-nav-user {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid #f0f0f0;
}

.account-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FFF9EB;
  color: #8a6d12;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
}

.account-nav-user h4 {
  margin: 0 0 0.15rem;
  font-size: 1.05rem;
}

.account-nav-user p {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
}

.account-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.account-nav-list a,
.account-logout-btn {
  display: block;
  width: 100%;
  text-align: right;
  border: 0;
  background: transparent;
  color: #555;
  text-decoration: none;
  padding: 0.75rem 0.9rem;
  border-radius: 0.85rem;
  font-weight: 600;
}

.account-nav-list a:hover,
.account-nav-list a.active {
  background: #FFF9EB;
  color: #222;
}

.account-logout-btn {
  color: #c0392b;
  cursor: pointer;
}

.account-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2rem 0 1.25rem;
  color: #999;
  font-size: 0.92rem;
}

.account-divider::before,
.account-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-number {
  display: block;
  font-weight: 800;
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0.2rem;
}

.order-status {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.status-pending { background: #FFF9EB; color: #8a6d12; }
.status-processing { background: #eef5e5; color: #5f8a1f; }
.status-shipped { background: #e8f1ff; color: #2f6fed; }
.status-completed { background: #e9f8ef; color: #1f8f4e; }
.status-cancelled { background: #fdeeee; color: #c0392b; }

.order-card-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.order-card-meta span {
  display: block;
  color: #999;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.order-card-meta strong {
  color: #222;
}

.order-card-actions {
  display: flex;
  justify-content: flex-start;
}

.order-detail-item {
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #f3f3f3;
}

.order-item-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 0.65rem;
  background: #f3f3f3;
}

@media (max-width: 991px) {
  .order-card-meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* About & Contact */
.about-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 196, 63, 0.16), transparent 28%),
    radial-gradient(circle at 90% 20%, rgba(34, 197, 94, 0.08), transparent 24%),
    #fafafa;
}

.about-story {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.about-story-media {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  min-height: 360px;
  background: #fff8e6;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
}

.about-story-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.about-story-glow {
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(0,0,0,.25), transparent);
  pointer-events: none;
}

.about-story-content {
  background: #fff;
  border: 1px solid #efece4;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
}

.about-badge {
  display: inline-block;
  background: #ffc43f;
  color: #111827;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.about-story-content h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #1f2937;
}

.about-story-content p {
  color: #6b7280;
  line-height: 1.9;
  margin-bottom: 0.9rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-feature {
  background: #fff;
  border: 1px solid #f0ece3;
  border-radius: 1.25rem;
  padding: 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.07);
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 196, 63, 0.25);
  color: #1f2937;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.about-feature h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
}

.about-feature p {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about-pillar {
  background: linear-gradient(180deg, #fff 0%, #fffdf7 100%);
  border: 1px solid #f0ece3;
  border-radius: 1.25rem;
  padding: 1.6rem 1.4rem;
  text-align: center;
}

.about-pillar h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.about-pillar p {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

.about-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: #1a2332;
  color: #fff;
  border-radius: 1.5rem;
  padding: 1.75rem 2rem;
}

.about-cta h3 {
  margin: 0 0 0.35rem;
  font-weight: 800;
}

.about-cta p {
  margin: 0;
  color: #cbd5e1;
}

.about-cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about-cta .btn-outline-dark {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.about-cta .btn-outline-dark:hover {
  background: #fff;
  color: #111827;
}

.about-highlights {
  display: grid;
  gap: 1rem;
}

.about-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}

.about-card h4 {
  margin-bottom: 0.4rem;
}

.about-card p {
  margin: 0;
  color: #888;
}

@media (max-width: 991px) {
  .about-story,
  .about-features,
  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-story-media,
  .about-story-media img {
    min-height: 260px;
  }
}

.contact-info-item {
  margin-bottom: 1.25rem;
}

.contact-info-item span {
  display: block;
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.contact-info-item strong {
  color: #222;
  font-size: 1.05rem;
}

.contact-success {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #fff;
  border: 1px solid #f0ece3;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
  animation: contactSuccessIn .45s ease both;
}

.contact-success-glow {
  position: absolute;
  inset: -40% auto auto 50%;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 63, 0.28), transparent 68%);
  pointer-events: none;
}

.contact-success-icon {
  position: relative;
  width: 84px;
  height: 84px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff8e6, #ffe8a8);
  box-shadow: 0 10px 24px rgba(255, 196, 63, 0.28);
}

.contact-success-circle {
  stroke: #1f2937;
  stroke-width: 2.5;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: contactCircle .55s ease-in-out forwards;
}

.contact-success-check {
  stroke: #1f2937;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: contactCheck .35s .4s ease-out forwards;
}

.contact-success h3 {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #1f2937;
}

.contact-success p {
  position: relative;
  margin: 0 auto 1.75rem;
  max-width: 420px;
  color: #6b7280;
  line-height: 1.85;
}

.contact-success-actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@keyframes contactSuccessIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes contactCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes contactCheck {
  to { stroke-dashoffset: 0; }
}

/* Products page filters */
.filters-panel .form-label {
  font-weight: 700;
  color: #333;
}

.category-filter-list {
  display: grid;
  gap: 0.55rem;
}

.category-filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ececec;
  border-radius: 0.85rem;
  cursor: pointer;
  background: #fcfcfc;
  margin: 0;
}

.category-filter-item input {
  display: none;
}

.category-filter-item.active,
.category-filter-item:has(input:checked) {
  border-color: var(--accent-color);
  background: #FFF9EB;
}

.category-filter-item small {
  color: #999;
  background: #fff;
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
}

.products-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  background: #FFF9EB;
  color: #8a6d12;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 991px) {
  .cart-row {
    grid-template-columns: 1fr;
  }

  .cart-row-total {
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .success-meta {
    grid-template-columns: 1fr;
  }

  .sticky-summary {
    position: static;
  }
}