/*
Theme Name: FoodMart
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: FoodMart is specially designed product packaged for eCommerce store websites.
Version: 1.1
*/

/*--------------------------------------------------------------
This is main CSS file that contains custom style rules used in this template
--------------------------------------------------------------*/

/*------------------------------------*\
    Table of contents
\*------------------------------------*/

/*------------------------------------------------

CSS STRUCTURE:

1. VARIABLES

2. GENERAL TYPOGRAPHY
  2.1 General Styles
  2.2 Floating & Alignment
  2.3 Forms
  2.4 Lists
  2.5 Code
  2.6 Tables
  2.7 Spacing
  2.8 Utilities
  2.9 Misc
    - Row Border
    - Zoom Effect
  2.10 Buttons
    - Button Sizes
    - Button Shapes
    - Button Color Scheme
    - Button Aligns
  2.11 Section
    - Hero Section
    - Section Title
    - Section Paddings
    - Section Margins
    - Section Bg Colors
    - Content Colors
    - Content Borders

3. EXTENDED TYPOGRAPHY
  3.1 Blockquote / Pullquote
  3.2 Text Highlights

4. CONTENT ELEMENTS
  4.1 Tabs
  4.2 Accordions
  4.3 Brand Carousel
  4.4 Category Carousel

5. BLOG STYLES
  5.1 Blog Single Post
  5.2 About Author
  5.3 Comments List
  5.4 Comments Form3

6. SITE STRUCTURE
  6.1 Header
    - Header Menu
    - Nav Sidebar
  6.2 Billboard
  6.3 About Us Section
  6.4 Video Section
  6.5 Selling Products Section
  6.6 Quotation Section
  6.7 Latest Blogs Section
  6.8 Newsletter Section
  6.9 Instagram Section
  6.10 Footer
    - Footer Top
    - Footer Bottom

7. OTHER PAGES
  7.1 Product detail
  7.2 Shop page


/*--------------------------------------------------------------
/** 1. VARIABLES
--------------------------------------------------------------*/
:root {
  /* widths for rows and containers
     */
  --header-height: 160px;
  --header-height-min: 80px;
}

/* on mobile devices below 600px
 */
@media screen and (max-width: 600px) {
  :root {
    --header-height: 100px;
    --header-height-min: 80px;
  }
}

/* Theme Colors */
:root {
  --accent-color: #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: "Open Sans", sans-serif;
  --heading-font: "Nunito", sans-serif;
}

body {
  --bs-link-color: #333;
  --bs-link-hover-color: #333;

  --bs-link-color-rgb: 40, 40, 40;
  --bs-link-hover-color-rgb: 0, 0, 0;

  /* --bs-link-color: #FFC43F;
  --bs-link-hover-color: #FFC43F; */

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

  --bs-font-sans-serif: "Open Sans", sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 2;
  --bs-body-color: #747474;

  --bs-primary: #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;
}

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

@media screen and (max-width: 767px) {
  .preloader-wrapper .preloader {
    margin: 50% auto 0;
  }
}

@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-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: 600;
  font-size: 18px;
  line-height: 25px;
  text-transform: capitalize;
  color: #333333;
  margin: 0;
}

.product-item figure {
  background: #F9F9F9;
  border-radius: 12px;
  text-align: center;
}

.product-item figure img {
  max-height: 210px;
  height: auto;
}

.product-item .btn-wishlist {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #d8d8d8;
  transition: all 0.3s ease-out;
}

.product-item .btn-wishlist:hover {
  background: rgb(240, 56, 56);
  color: #fff;
}

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

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

/* section title with fading lines */
.section-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 28px;
  margin: 0;
  white-space: nowrap;
}

.title-line {
  width: 120px;
  height: 1px;
}

.title-line-left {
  background: linear-gradient(to right, transparent, #e5779b);
}

.title-line-right {
  background: linear-gradient(to left, transparent, #e5779b);
}

/* collection carousel */
.collection-carousel-wrapper {
  padding: 0 10px;
}

.collection-item figure {
  border-radius: 16px;
  overflow: hidden;
  background: #f9f9f9;
  margin: 0;
}

.collection-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.collection-caption {
  text-align: center;
  margin-top: 20px;
}

.collection-title {
  font-size: 20px;
  font-weight: 500;
  color: var(--dark-color);
  margin: 0;
}

/* side arrows, vertically centered on the image */
.collection-carousel-wrapper .swiper-prev,
.collection-carousel-wrapper .swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
}

.shop-collections-wrapper .swiper-prev,
.shop-collections-wrapper .swiper-next {
  top: 100px; /* half of .collection-item img's 200px height */
  transform: translateY(-50%);
}

.collection-carousel-wrapper .swiper-prev {
  left: -10px;
}

.collection-carousel-wrapper .swiper-next {
  right: -10px;
}

@media screen and (max-width: 767px) {
  .collection-carousel .collection-item img {
    height: 200px;
  }

  .collection-carousel-wrapper .swiper-prev,
  .collection-carousel-wrapper .swiper-next {
    top: 50%;
  }

  .shop-collections-wrapper .swiper-prev,
  .shop-collections-wrapper .swiper-next {
    top: 100px; /* half of .collection-item img's 200px height */
    transform: translateY(-50%);
  }
}

/* ------------------------------------
   6.x Video Section (Shop By Video)
------------------------------------- */
.video-carousel-wrapper {
  padding: 0;
}

.video-carousel .swiper-slide {
  width: auto;
}

.video-item {
  text-align: center;
}

.video-circle {
  position: relative;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #A9628C;
  padding: 4px;
  background: #fff;
}

.video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  background: #f1f1f1;
  pointer-events: none;
}

/* side arrows, vertically centered on the circles */
.video-carousel-wrapper .swiper-prev,
.video-carousel-wrapper .swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  cursor: pointer;
}

.video-carousel-wrapper .swiper-prev {
  left: -10px;
}

.video-carousel-wrapper .swiper-next {
  right: -10px;
}

/* Responsive circle sizing */
@media screen and (max-width: 1140px) {
  .video-circle {
    width: 170px;
    height: 170px;
  }

  .video-carousel-wrapper .swiper-prev,
  .video-carousel-wrapper .swiper-next {
    top: 50%;
  }
}

@media screen and (max-width: 991px) {
  .video-circle {
    width: 150px;
    height: 150px;
  }

  .video-carousel-wrapper .swiper-prev,
  .video-carousel-wrapper .swiper-next {
    top: 50%;
  }
}

@media screen and (max-width: 767px) {
  .video-circle {
    width: 120px;
    height: 120px;
  }

  .video-carousel-wrapper .swiper-prev,
  .video-carousel-wrapper .swiper-next {
    top: 50%;
  }

  .svg-nav-icon{
    width: 20px;
    height: 20px;
  }
}

/*------------------------------------------------
   6.x Collections Section (Summer in the Valley)
   -> Append this block to style.css, e.g. right
   after the "video-carousel" rules at the bottom.
--------------------------------------------------*/
.collections-section {
  padding: 5.5rem 0rem;
  background-color: #fffcf6 !important;
}

.collections-section-alt {
  background-color: #faf7f2;
  /* subtle off-white/cream, tweak to match your palette */
}

/* Heading — overrides the default h2 (Nunito/700/dark)
   with a serif, letter-spaced treatment for this section only */
.collections-section .section-title {
  margin-bottom: 40px;
}

.collections-section .section-title h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 28px;
}

/* Tile */
.collection-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 3 / 4;
  text-decoration: none;
}

.collection-tile-img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  object-fit: contain;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease-out;
}

.collection-tile:hover .collection-tile-img {
  transform: scale(1.03);
}

.collection-tile:hover .collection-tile-caption {
  text-decoration: underline;
}

.collection-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 38%);
  pointer-events: none;
}

/* Accessibility: visible keyboard focus */
.collection-tile:focus-visible {
  outline: 3px solid #2E6E6B;
  outline-offset: 3px;
}

/* Responsive */
@media screen and (max-width: 575px) {
  .collections-section .section-title h2 {
    font-size: 20px;
    gap: 10px;
  }

  .collection-tile-caption {
    font-size: 13px;
    left: 14px;
    bottom: 14px;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .collection-tile-img {
    transition: none;
  }
}

.collection-tile-fallback {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 30%;
  overflow: hidden;
  background: linear-gradient(135deg,
      hsl(var(--tile-hue), 45%, 88%) 0%,
      hsl(var(--tile-hue), 35%, 78%) 100%);
}

/* Faint diagonal line texture, echoing the title-line styling */
.collection-tile-fallback::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image: repeating-linear-gradient(45deg,
      rgba(0, 0, 0, 0.05) 0px,
      rgba(0, 0, 0, 0.05) 1px,
      transparent 1px,
      transparent 14px);
  pointer-events: none;
}

.fallback-initial {
  position: relative;
  /* font-family: serif; */
  font-size: 3.25rem;
  font-weight: 700;
  color: hsl(var(--tile-hue), 30%, 40%);
  opacity: 0.35;
  letter-spacing: 0.02em;
  z-index: 1;
}

/* Keep caption overlay legible over the fallback too */
.collection-tile-fallback+.collection-tile-overlay {
  opacity: 0.9;
}

/* Ensure caption + footer sit in a stacked info block at the bottom */
.collection-tile-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 0.75rem 1.25rem 1rem;
}

/* Single-line title with ellipsis */
.collection-tile-caption {
  z-index: 2;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: text-decoration 0.3s;
}

.collection-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.1rem;
}

.collection-tile-price {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.collection-tile-add-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.collection-tile-add-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

.section-title {
  position: relative;
}

.view-all-link {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  font-weight: 600;

  align-items: center;
  border: none;
  color: #b5495b;
  background: none;

  text-decoration: none;
  white-space: nowrap;
}

.view-all-link::after {
  content: "→";
  font-size: 0.8rem;
}

.view-all-link:hover {
  background: none;
  color: #8f3a48;
}

@media (max-width: 991.98px) {
  .view-all-link {
    position: static;
    display: inline-flex;
    align-items: center;
    margin-top: 22px;
  }
}

@media screen and (max-width: 767px) {
  .fallback-small {
    padding-top: 15%;
  }
  .collection-tile-info {
    line-height: normal;
    padding: 0.25rem 1.25rem 0.5rem;
  }
}

/*--------------------------------------------------------------
  Product Detail Page — extends the FoodMart theme tokens
  already defined in style.css (--accent-color, --dark-color,
  --heading-font, --body-font, etc.)
--------------------------------------------------------------*/

.product-detail-section {
  padding: 2.5rem 0 5rem;
}

.product-breadcrumb {
  margin-bottom: 28px;
}

.product-breadcrumb .breadcrumb-item,
.product-breadcrumb .breadcrumb-item a {
  font-size: 13px;
  text-transform: capitalize;
  color: var(--light-dark-color);
  text-decoration: none;
}

.product-breadcrumb .breadcrumb-item.active {
  color: var(--dark-color);
}

/* ---------- Gallery ---------- */
.product-gallery {
  display: flex;
  gap: 16px;
}

.product-thumbs {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 84px;
  flex-shrink: 0;
  gap: 12px;
  /* replaces the padding that was on .thumb-list */
}

.thumb-nav {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--grey-color);
  background: #fff;
  color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.thumb-nav:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.thumb-list {
  width: 100%;
  height: 428px;
  /* was 420px — now matches 5 slides + 4 gaps exactly */
  padding: 0;
  /* was 12px 0 — padding was stealing layout space from Swiper */
  overflow: hidden;
}

.thumb-item {
  height: 76px !important;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: var(--light-grey-color);
  cursor: pointer;
  opacity: 0.65;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.swiper-slide-thumb-active.thumb-item {
  border-color: var(--accent-color);
  opacity: 1;
}

.product-main-image {
  position: relative;
  flex-grow: 1;
  border-radius: 16px;
  overflow: hidden;
  background: var(--light-grey-color);
  border: 1px solid #FBFBFB;
}

.product-main-image .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.gallery-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 3;
  background: var(--dark-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
}

.gallery-wishlist-fab {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--grey-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--light-dark-color);
  transition: all 0.2s ease-out;
}

.gallery-wishlist-fab:hover {
  background: rgb(240, 56, 56);
  border-color: rgb(240, 56, 56);
  color: #fff;
}

.product-main-image .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.7;
}

.product-main-image .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color);
}

@media screen and (max-width: 767px) {
  .product-thumbs {
    display: none;
  }

  .product-main-image .swiper-slide {
    aspect-ratio: 1 / 1;
  }

  .thumb-list {
    height: 428px;
    /* was 320px — also mismatched, same fix applies */
  }
}

/* ---------- Info panel ---------- */
.product-info-panel {
  padding-left: 8px;
}

.product-brand {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 10px;
}

.product-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.product-title {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 14px;
}

.share-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--grey-color);
  background: #fff;
  color: var(--dark-color);
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-out;
}

.share-btn:hover {
  background: var(--light-grey-color);
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 14px;
  color: var(--dark-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rating-badge iconify-icon {
  color: var(--accent-color);
  font-size: 14px;
}

.rating-count {
  font-size: 13px;
  color: var(--light-dark-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.price-current {
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  color: var(--dark-color);
}

.price-original {
  font-size: 16px;
  color: var(--light-dark-color);
  text-decoration: line-through;
}

.price-discount {
  font-size: 15px;
  font-weight: 600;
  color: #3c996e;
}

.tax-note {
  font-size: 13px;
  color: var(--light-dark-color);
  margin-bottom: 18px;
}

.offer-banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--light-grey-color);
  border: 1px dashed var(--grey-color);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 15px;
  color: var(--dark-color);
}

.offer-banner strong {
  color: #b5495b;
}

.offer-banner iconify-icon {
  color: var(--light-dark-color);
}

/* ---------- CTA ---------- */
.cta-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 10px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  width: 128px;
  background: var(--light-grey-color);
  border-radius: 10px;
  padding: 0 4px;
}

.qty-btn {
  width: 38px;
  height: 100%;
  min-height: 54px;
  border: none;
  background: transparent;
  color: var(--dark-color);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease-out;
}

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

.qty-input {
  width: 32px;
  border: none;
  background: transparent;
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 16px;
  color: var(--dark-color);
  -moz-appearance: textfield;
}

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

.btn-add-to-bag {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--dark-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 16px 24px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: background 0.2s ease-out;
}

.btn-add-to-bag iconify-icon {
  font-size: 17px;
}

.btn-add-to-bag:hover {
  background: #000;
}

.btn-wishlist-square {
  width: 56px;
  flex-shrink: 0;
  border: 1px solid var(--grey-color);
  border-radius: 10px;
  background: #fff;
  font-size: 20px;
  color: var(--dark-color);
  transition: all 0.2s ease-out;
}

.btn-wishlist-square:hover {
  background: rgb(240, 56, 56);
  border-color: rgb(240, 56, 56);
  color: #fff;
}

.delivery-check-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--light-dark-color);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 26px;
}

.delivery-check-link iconify-icon {
  font-size: 14px;
}

@media screen and (max-width: 400px) {
  .cta-row {
    flex-wrap: wrap;
  }

  .qty-stepper {
    width: 30%;
    order: 1;
  }

  .btn-add-to-bag {
    order: 2;
    /* width: 100%; */
  }

  /* .btn-wishlist-square {
    order: 3;
    width: 100%;
  } */
}

/* ---------- Size selector ---------- */
.size-selector {
  margin-bottom: 26px;
}

.selector-label {
  display: block;
  font-size: 14px;
  color: var(--light-dark-color);
  margin-bottom: 10px;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-pill {
  min-width: 68px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--grey-color);
  background: #fff;
  color: var(--dark-color);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease-out;
}

.size-pill:hover:not(.disabled) {
  border-color: var(--dark-color);
}

.size-pill.active {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: #fff;
}

.size-pill.disabled {
  color: #c8c8c8;
  text-decoration: line-through;
  background: var(--light-grey-color);
  cursor: not-allowed;
}

/* ---------- Highlights / description ---------- */
.highlights-title,
.description-title {
  font-size: 16px;
  margin-bottom: 12px;
}

.product-highlights {
  margin-bottom: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--light-grey-color);
}

.product-highlights ul {
  margin: 0;
  padding-left: 18px;
  color: var(--light-dark-color);
  font-size: 14px;
}

.product-highlights li {
  margin-bottom: 6px;
}

.product-description {
  padding-top: 22px;
  border-top: 1px solid var(--light-grey-color);
}

.product-description p {
  color: var(--light-dark-color);
  font-size: 14px;
  line-height: 1.9;
  margin: 0;
}

/* ---------- Mobile sticky buy bar ---------- */
.mobile-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-buy-bar .price-current {
  font-size: 18px;
}

.mobile-buy-bar .price-original {
  font-size: 13px;
  margin-left: 6px;
}

.mobile-buy-bar .btn-add-to-bag {
  flex-grow: 0;
  padding: 12px 28px;
}

@media screen and (max-width: 991px) {
  .product-info-panel {
    padding-left: 0;
    padding-top: 8px;
  }
}

.cart-product-image {
  height: 75px;
  width: 75px;
  border-radius: 4px;
}

    .ec-page {
        background: var(--ec-bg);
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        color: var(--ec-ink);
        padding-top: 1.75rem;
        padding-bottom: 3rem;
    }

    .ec-eyebrow {
        font-size: .75rem;
        font-weight: 600;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--ec-ink-faint);
    }

    .ec-title {
        font-size: 1.5rem;
        font-weight: 700;
        letter-spacing: -.01em;
        color: var(--ec-ink);
        margin-bottom: 0;
    }

    .ec-back-link {
        display: inline-flex;
        align-items: center;
        gap: .4rem;
        font-size: .8125rem;
        font-weight: 600;
        color: var(--ec-ink-soft);
        text-decoration: none;
        transition: color .15s ease;
    }

    .ec-back-link:hover {
        color: var(--ec-accent);
    }

    .ec-back-link i {
        font-size: .7rem;
    }

    /* ---------- Cart panel ---------- */
    .ec-panel {
        background: var(--ec-surface);
        border: 1px solid var(--ec-border);
        border-radius: var(--ec-radius);
        box-shadow: var(--ec-shadow);
    }

    .ec-panel-header {
        padding: 1.125rem 1.375rem;
        border-bottom: 1px solid var(--ec-border-soft);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .ec-panel-header h2 {
        font-size: 1.0625rem;
        font-weight: 700;
        margin: 0;
        color: var(--ec-ink);
    }

    .ec-count-pill {
        font-size: .75rem;
        font-weight: 600;
        color: var(--ec-ink-soft);
        background: var(--ec-border-soft);
        padding: .2rem .6rem;
        border-radius: 999px;
    }

    .ec-item-row {
        padding: 1.25rem 1.375rem;
        border-bottom: 1px solid var(--ec-border-soft);
        display: flex;
        gap: 1.125rem;
        align-items: flex-start;
    }

    .ec-item-row:last-child {
        border-bottom: none;
    }

    .ec-item-thumb {
        height: 84px;
        width: 84px;
        min-width: 84px;
        object-fit: cover;
        border-radius: var(--ec-radius-sm);
        border: 1px solid var(--ec-border);
        background: var(--ec-bg);
    }

    .ec-item-body {
        flex: 1;
        min-width: 0;
    }

    .ec-item-name {
        font-size: .9375rem;
        font-weight: 600;
        color: var(--ec-ink);
        margin-bottom: .3rem;
        line-height: 1.35;
    }

    .ec-item-meta {
        font-size: .8125rem;
        color: var(--ec-ink-soft);
        margin-bottom: .6rem;
    }

    .ec-item-meta .ec-unit-price {
        font-weight: 600;
        color: var(--ec-ink);
    }

    .ec-item-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: .6rem;
        margin-top: .1rem;
    }

    .ec-item-actions {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
    }

    .ec-qty-chip {
        font-size: .75rem;
        font-weight: 600;
        color: var(--ec-ink-soft);
        background: var(--ec-bg);
        border: 1px solid var(--ec-border);
        border-radius: var(--ec-radius-sm);
        padding: .25rem .65rem;
    }

    .ec-remove-btn {
        background: none;
        border: none;
        padding: 0;
        font-size: .8125rem;
        font-weight: 600;
        color: var(--ec-ink-soft);
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        transition: color .15s ease;
    }

    .ec-remove-btn:hover {
        color: var(--ec-danger);
    }

    .ec-item-total {
        text-align: right;
        white-space: nowrap;
        margin-left: auto;
    }

    .ec-item-total .amount {
        font-size: 1rem;
        font-weight: 700;
        color: var(--ec-ink);
        display: block;
    }

    /* ---------- Empty state ---------- */
    .ec-empty {
        padding: 4.5rem 2rem;
        text-align: center;
    }

    .ec-empty-icon {
        height: 68px;
        width: 68px;
        border-radius: 50%;
        background: var(--ec-bg);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        color: var(--ec-ink-faint);
        margin-bottom: 1.25rem;
    }

    .ec-empty h3 {
        font-size: 1.125rem;
        font-weight: 700;
        margin-bottom: .4rem;
    }

    .ec-empty p {
        font-size: .875rem;
        color: var(--ec-ink-soft);
        margin-bottom: 1.5rem;
    }

    /* ---------- Summary ---------- */
    .ec-summary {
        position: sticky;
        top: 1.25rem;
    }

    .ec-summary-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: .875rem;
        padding: .5rem 0;
        color: var(--ec-ink-soft);
    }

    .ec-summary-row span:last-child {
        color: var(--ec-ink);
        font-weight: 600;
    }

    .ec-tax-line {
        display: flex;
        justify-content: space-between;
        font-size: .75rem;
        color: var(--ec-ink-faint);
        padding: .15rem 0;
    }

    .ec-summary-divider {
        border-top: 1px dashed var(--ec-border);
        margin: .75rem 0;
    }

    .ec-grand-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        padding-top: .25rem;
    }

    .ec-grand-row .label {
        font-size: .9375rem;
        font-weight: 700;
        color: var(--ec-ink);
    }

    .ec-grand-row .amount {
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: -.02em;
        color: var(--ec-ink);
    }

    .ec-cta {
        background: var(--ec-accent);
        border: none;
        color: #fff;
        font-weight: 700;
        font-size: .9375rem;
        border-radius: var(--ec-radius-sm);
        padding: .8rem 1rem;
        width: 100%;
        transition: filter .15s ease, transform .05s ease;
        box-shadow: var(--ec-shadow-raised);
    }

    .ec-cta:hover {
        filter: brightness(1.08);
        color: #fff;
    }

    .ec-cta:active {
        transform: translateY(1px);
    }

    .ec-secure-note {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .4rem;
        font-size: .75rem;
        color: var(--ec-ink-faint);
        margin-top: .75rem;
    }

    /* ---------- Coupon ---------- */
    .ec-coupon-input {
        border-radius: var(--ec-radius-sm) 0 0 var(--ec-radius-sm) !important;
        border-color: var(--ec-border) !important;
        font-size: .875rem;
    }

    .ec-coupon-btn {
        border-radius: 0 var(--ec-radius-sm) var(--ec-radius-sm) 0 !important;
        font-weight: 600;
        font-size: .875rem;
        border-color: var(--ec-border);
        color: var(--ec-ink);
        background: var(--ec-bg);
    }

    .ec-coupon-btn:hover {
        background: var(--ec-border-soft);
    }

    .ec-coupon-input,
    .ec-coupon-btn {
        min-width: 0;
    }

    /* ---------- Modal ---------- */
    #confirmOrder .modal-content {
        border: none;
        border-radius: 14px;
        overflow: hidden;
    }

    #confirmOrder .modal-header {
        background: var(--ec-surface);
        border-bottom: 1px solid var(--ec-border-soft);
        padding: 1.25rem 1.5rem;
    }

    #confirmOrder .modal-title {
        font-size: 1.0625rem;
        font-weight: 700;
        color: var(--ec-ink);
        display: flex;
        align-items: center;
        gap: .5rem;
    }

    #confirmOrder .modal-title i {
        color: var(--ec-accent);
    }

    #confirmOrder .modal-body {
        padding: 1.5rem;
        background: var(--ec-surface);
    }

    #confirmOrder .form-label {
        font-size: .8125rem;
        font-weight: 600;
        color: var(--ec-ink-soft);
    }

    #confirmOrder .form-control {
        border-color: var(--ec-border);
        font-size: .875rem;
        padding: .55rem .75rem;
    }

    #confirmOrder .form-control:focus {
        border-color: var(--ec-accent);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--ec-accent) 18%, transparent);
    }

    .ec-order-type-label {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        border: 1px solid var(--ec-border);
        border-radius: 999px;
        padding: .45rem 1rem;
        font-size: .8125rem;
        font-weight: 600;
        color: var(--ec-ink);
        cursor: pointer;
    }

    .order-type-group .btn-check:checked + .ec-order-type-label {
        background: var(--ec-accent);
        border-color: var(--ec-accent);
        color: #fff;
    }

    .ec-advance-box {
        background: var(--ec-bg);
        border: 1px solid var(--ec-border);
        border-radius: var(--ec-radius-sm);
        padding: .9rem;
    }

    #confirmOrder .modal-footer {
        background: var(--ec-bg);
        border-top: 1px solid var(--ec-border-soft);
        padding: 1.25rem 1.5rem;
    }

    /* ---------- Responsive ---------- */
    @media (max-width: 991.98px) {
        .ec-summary {
            position: static;
        }
    }

    @media (max-width: 767.98px) {
        .ec-page {
            padding-top: 1.25rem;
            padding-bottom: 2rem;
        }

        .ec-page .container-fluid {
            padding-left: .875rem;
            padding-right: .875rem;
        }

        .ec-title {
            font-size: 1.25rem;
        }

        .ec-back-link span {
            display: none;
        }

        .ec-panel-header {
            padding: 1rem;
        }

        .ec-item-row {
            padding: .875rem 1rem;
            gap: .75rem;
        }

        .ec-item-thumb {
            height: 60px;
            width: 60px;
            min-width: 60px;
        }

        .ec-item-name {
            font-size: .875rem;
        }

        .ec-item-meta {
            font-size: .75rem;
            margin-bottom: .45rem;
        }

        .ec-item-footer {
            gap: .4rem .75rem;
        }

        .ec-item-actions {
            gap: .65rem;
        }

        .ec-qty-chip {
            font-size: .7rem;
            padding: .2rem .5rem;
        }

        .ec-remove-btn {
            font-size: .75rem;
        }

        .ec-item-total .amount {
            font-size: .9375rem;
        }

        .ec-empty {
            padding: 3rem 1.25rem;
        }

        .ec-grand-row .amount {
            font-size: 1.25rem;
        }

        #confirmOrder .modal-body {
            padding: 1.125rem;
        }

        #confirmOrder .modal-header,
        #confirmOrder .modal-footer {
            padding: 1rem 1.125rem;
        }

        .ec-advance-box .row.g-2 > div {
            margin-bottom: .5rem;
        }
    }

    @media (max-width: 360px) {
        .ec-item-footer {
            flex-direction: column;
            align-items: flex-start;
        }

        .ec-item-total {
            margin-left: 0;
        }
    }