/*
Theme Name: Organic
Theme URI: https://templatesjungle.com/
Author: TemplatesJungle
Author URI: https://templatesjungle.com/
Description: Organic 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
--------------------------------------------------------------*/
body {
  --heading-font        : "Inter", sans-serif;
  --bs-link-color: #333;
  --bs-link-hover-color:#333;

  --bs-link-color-rgb: 40,40,40;
  --bs-link-hover-color-rgb: 0,0,0;

  --bs-light-rgb: 248, 248, 248;

  --bs-font-sans-serif: "Inter", 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: #6BB252;
  --bs-primary-rgb: 107, 178, 82;
  
  --bs-secondary: #364127;
  --bs-secondary-rgb: 54, 65, 39;
  
  --bs-danger: #F95F09;
  --bs-danger-rgb: 249, 95, 9;

  --bs-success: #a3be4c;
  --bs-success-rgb: 163, 190, 76;
  
  --bs-primary-bg-subtle: #FFF9EB;
  --bs-success-bg-subtle: #eef5e5;
  
  --bs-border-color: #F7F7F7;
}


.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--bs-primary);
  --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: var(--bs-primary);
  --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: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --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(--bs-dark);
  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;
}
.pagination {
  --bs-pagination-active-bg: var(--bs-primary);
  --bs-pagination-active-border-color: var(--bs-primary);
}
.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(--bs-primary);
  }
  40% {
    box-shadow: 0 2em 0 0 var(--bs-primary);
  }
}

/* *** Start editing below this line *** */
/* .container-fluid {
  max-width: 1600px;
}
*/
@media (min-width: 1400px) {
  .container-lg {
      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; }
  
}

/* 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: var(--bs-primary);
  --bs-btn-hover-border-color: transparent;
  --bs-btn-disabled-color: #ccc;
  --bs-btn-disabled-bg: #eaeaea;
  --bs-btn-disabled-border-color: #eaeaea
}
.swiper-prev:hover,
.swiper-next:hover {
  background: var(--bs-primary);
}

/* category carousel */




/* 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(--bs-primary);
}

/* products-carousel */
.products-carousel .swiper, .products-carousel .swiper-container {
  overflow: visible;
}

/* product-grid */
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}
.product-item .button-area .quantity {
  padding: 0.5rem;
}
.product-item .button-area {
  display: none;
  position: absolute;
  text-align: center;
  background: #fff;
  width: 100%;
  left: 0;
  bottom: -55px;
  z-index: 1;
  box-shadow: 0px 20px 44px rgba(0, 0, 0, 0.08);
  /* transition: box-shadow 0.3s ease-out; */
}
.product-item {
  position: relative;
  padding: 16px;
  background: #FFFFFF;
  border-radius: 16px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 22px rgba(0, 0, 0, 0);
  /* transition: box-shadow 0.3s ease-out, margin 0.3s ease-out; */
}
.product-item:hover .button-area {
  display: block;
}
.product-item:hover {
  /* z-index: 1; */
  /* margin-bottom: -50px; */
  /* max-height: 500px; */
  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.08);
}
.product-item figure {
  text-align: center;
}
.product-item figure img {
  max-height: 210px;
  height: auto;
}
.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 */


/* 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: 420px;
  }
}
@media screen and (min-width:1200px) {
  .product-thumbnail-slider {
    height: 540px;
  }
}
@media screen and (min-width:1400px) {
  .product-thumbnail-slider {
    height: 740px;
  }
}

/* bootstrap extended */
.border-dashed {
  border-bottom: 1px dashed #d1d1d1;
}
.ls-1 {
  letter-spacing: -0.04em;
}

.fs-7 {
  font-size: 0.8rem!important;
}

/* button */
.btn-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: bold;
  font-family: var(--bs-body-font-family);
  letter-spacing: 0.0875rem;
  text-transform: uppercase;
  text-decoration: none;
}

a.btn-link,
a.btn-link:after {
  transition: all .5s;
}

a.btn-link {
  position: relative;
}

a.btn-link:before,
a.btn-link:after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  background-color: var(--bs-dark);
  height: 2px;
}

[data-bs-theme=dark] a.btn-link:after {
  background-color: var(--bs-light);
}

a.btn-link:before {
  background-color: rgba( var(--bs-light-rgb), 0.2 );
  width: 100%;
}

a.btn-link.is-checked:after,
a.btn-link:hover:after {
  width: 100%;
}

a.btn-link.text-white:after {
  background-color: var(--bs-light);
}

a.btn-link.text-light:after {
  background-color: var(--bs-light);
}

.navbar .megamenu{ padding: 1rem; }
/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	
	.navbar .has-megamenu{position:static!important;}
	.navbar .megamenu{left:0; right:0; width:100%; margin-top:0;  }
	
}	
/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media(max-width: 991px){
	.navbar.fixed-top .navbar-collapse, .navbar.sticky-top .navbar-collapse{
		overflow-y: auto;
	    max-height: 90vh;
	    margin-top:10px;
	}
}
@media screen and (max-width: 768px) {
    header .row.py-3 > div {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .search-bar {
        margin-top: 10px;
        flex-wrap: wrap;
    }

        .search-bar .col-11,
        .search-bar .col-1 {
            max-width: 100%;
            flex: 0 0 100%;
        }

        .search-bar .col-md-4 {
            display: none !important;
        }

        .search-bar input {
            width: 100%;
            margin-bottom: 10px;
        }

        .search-bar svg {
            margin: 0 auto;
        }

    .navbar-nav {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .navbar-toggler {
        margin-left: auto;
        margin-right: 0;
    }
}
@media screen and (max-width: 768px) {
    .search-bar {
        margin-top: 10px;
        flex-wrap: wrap;
    }

        .search-bar input {
            width: 100%;
        }

        .search-bar svg {
            display: block;
            margin: 0 auto;
        }
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        --bs-gutter-x: 1rem;
    }

    .banner-blocks {
        grid-gap: 1rem;
    }
}



@keyframes fadeInUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}


.btn-close {
    border: 2px solid black ;

    font-size: 1.2rem;
    cursor: pointer;
}
/* Custom styles for modern cards */
.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .product-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-4px);
    }

.product-img-wrapper {
    height: 180px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

    .product-img-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.product-title {
    font-size: 1rem;
    font-weight: 500;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-section {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

    .price-section del {
        color: #888;
        font-size: 0.9rem;
    }

#pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rating span {
    color: #f5c518;
    font-size: 1rem;
}

.price-section del {
    color: #999;
    font-size: 0.875rem;
}

.price-section span {
    color: #28a745;
    font-weight: 600;
}

.quantity-input {
    width: 60px;
    padding: 0.25rem;
    font-size: 0.875rem;
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
}

.action-area button:hover {
    transform: scale(1.05);
}

/* Fullscreen hero section */
.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* optional, for contrast */
    padding: 0;
    margin: 0;
}

    .hero-banner img.hero-img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Content */


@media (max-width: 768px) {
    /* On smaller screens, adjust text size */
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-content .btn {
        width: 100%;
        font-size: 1.1rem;
    }
}

/* Adjust content for very small screens (mobiles) */
@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
/* Section background with subtle split tone */
.category-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f7f9fc 100%);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Header style */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #222;
}

/* Category cards */



/* Swiper nav buttons */
.btn-yellow {
    background-color: #ffcb05;
    border: none;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.2s ease;
}

    .btn-yellow:hover {
        background-color: #f0b800;
    }

/* CATEGORY SECTION */
.category-section {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    padding: 4rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
}

/* SWIPER NAV BUTTON */
.btn-yellow {
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: bold;
    font-size: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-yellow:hover {
        background-color: #ffd000;
    }

/* CATEGORY SWIPER SLIDES */
.category-carousel .swiper-slide {
    width: auto !important;
    margin-right: 20px;
    text-align: center;
}

.category-carousel .category-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .category-carousel .category-img:hover {
        transform: scale(1.05);
    }

.category-carousel .category-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 576px) {
    .category-carousel .swiper-slide {
        margin-right: 12px;
    }

    .category-carousel .category-img {
        width: 70px;
        height: 70px;
    }

    .category-carousel .category-title {
        font-size: 0.8rem;
    }

    .btn-yellow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}



/* PRODUCT CARDS RESPONSIVE */
@media (max-width: 576px) {
    .product-card {
        font-size: 0.8rem;
    }

        .product-card .product-img-wrapper {
            height: 120px; /* smaller product image */
        }

        .product-card img.product-img {
            max-height: 120px;
            object-fit: contain;
        }

        .product-card .product-title {
            font-size: 0.85rem;
            line-height: 1.1;
            height: 3em; /* about 2 lines max */
            overflow: hidden;
        }

        .product-card .price-section {
            font-size: 0.85rem;
        }

        .product-card .rating {
            font-size: 0.75rem;
        }

        .product-card .action-area {
            gap: 4px;
        }

        .product-card .quantity-input {
            width: 50px;
            font-size: 0.85rem;
            padding: 3px 5px;
        }

        .product-card button.btn-sm {
            font-size: 0.75rem;
            padding: 4px 6px;
        }
}

section.category-section {
    background-color: #f9f9f9; /* light gray */
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.section-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}


.category-carousel .swiper-slide:hover {
    transform: translateY(-4px);
}
/* Modal base */
#cart-modal .modal-header {
    background-color: #f8f9fa; /* Light gray */
    border-bottom: 1px solid #dee2e6;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}

#cart-modal .modal-title {
    font-weight: 700;
    font-size: 1.5rem;
    color: #212529;
}

#cart-modal .btn-close {
    filter: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

    #cart-modal .btn-close:hover {
        opacity: 1;
    }

/* Coupon & Redeem Inputs unified style */
#coupon-code, #redeem-points-input {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

#apply-coupon-btn, #apply-redeem-btn {
    background: #28a745;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    transition: background-color 0.3s ease;
}

    #apply-coupon-btn:hover, #apply-redeem-btn:hover {
        background: #218838;
    }

.input-group + .input-group {
    margin-top: 1rem;
}

.item-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 4px;
}

.item-variant {
    font-size: 0.9rem;
    color: #666;
}

.item-qty-price {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qty-input {
    width: 60px;
    padding: 6px 8px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #bbb;
    text-align: center;
}

    .qty-input:focus {
        border-color: #0077cc;
        outline: none;
    }

.item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: #004d40;
}

/* Responsive */

@media (max-width: 991px) {
    .layout-grid {
        flex-wrap: wrap;
    }

    .cart-left,
    .cart-right {
        flex: 1 1 100%;
        max-height: none !important;
    }

    .cart-items-list {
        max-height: none !important;
    }
}
#cart-items {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
#address-list {
    max-height: 27vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

    #cart-items::-webkit-scrollbar,
    #address-list::-webkit-scrollbar {
        display: none; /* Chrome, Safari, Opera */
    }

/* Compact spacing for coupon and redeem */
.coupon-redeem-group > * + * {
    margin-top: 0.5rem;
}

/* Redeem points line with right button */
#redeem-points-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #b37f00;
    margin-top: 0.75rem;
}

#redeem-points-btn {
    font-size: 0.85rem;
    padding: 0.25rem 0.8rem;
    border: none;
    background: transparent;
    color: #b37f00;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

    #redeem-points-btn:hover {
        background-color: #b37f00;
        color: white;
    }
/* Light orange background */



header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055; /* ensure it's above other elements */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

/* Prevent page content from going under the fixed header */
body {
    padding-top: 72px; /* adjust depending on your header height */
}

/* Optional: smooth transition on scroll */
header {
    transition: all 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    body {
        padding-top: 64px; /* adjust for smaller headers */
    }

    header .row {
        padding: 0.5rem 1rem;
    }
}
#address-form input,
#address-form select {
    padding: 0.25rem 0.5rem; /* less vertical padding */
    font-size: 0.85rem; /* smaller text */
    height: 30px; /* smaller height */
}

/* Reduce margin between inputs */
#address-form .mb-2 {
    margin-bottom: 0.4rem !important;
}

/* Reduce gutter between columns */
#address-form .row.g-2 > [class*='col-'] {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

/* Optional: slightly smaller label/title fonts if you have */
#address-form::placeholder {
    font-size: 0.85rem;
}
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* or any background */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader-inner img {
    width: 120px; /* increase size */
    max-width: 150px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}
.ecommerce-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cccccc' fill-opacity='0.06'%3E%3Cg transform='translate(10,10)'%3E%3Cpath d='M0 0h20v20H0z'/%3E%3Cpath d='M40 0h20v20H40z'/%3E%3Cpath d='M80 0h20v20H80z'/%3E%3Ccircle cx='20' cy='80' r='10'/%3E%3Ccircle cx='60' cy='80' r='10'/%3E%3Cpath d='M0 40h20v20H0z'/%3E%3Cpath d='M40 40h20v20H40z'/%3E%3Cpath d='M80 40h20v20H80z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 120px;
    pointer-events: none;
}

.ecommerce-bg > .container-lg {
    position: relative;
    z-index: 1;
}

.text-pink {
    color: #e91e63 !important;
}

.icon-marquee {
    width: 100%;
    overflow: hidden;
}

.icon-track {
    display: flex;
    width: max-content;
    animation: scrollIcons 18s linear infinite;
    align-items: center;
}

@keyframes scrollIcons {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.btn-tab {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #495057;
    border-radius: 50px;
    padding: 8px 0;
    font-weight: 500;
}

    .btn-tab.active {
        background-color: #0d6efd;
        color: #fff;
        border-color: #0d6efd;
    }

.soft-input {
    border-radius: 25px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.03);
    font-size: 0.95rem;
}

    .soft-input:focus {
        border-color: #80bdff;
        box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
    }

.cart-toast {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 10px 16px;
    border-radius: 6px;
    z-index: 1060;
    display: none;
    font-size: 0.9rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

@keyframes fadeInUp {
    from {
        transform: translateX(-50%) translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cart-toast-title {
    font-size: 1rem;
    color: #28a745;
}

.cart-toast-body {
    font-size: 0.9rem;
}

.btn-close {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
}
/* Custom styles for modern cards */
.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .product-card:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        transform: translateY(-4px);
    }

.product-img-wrapper {
    height: 180px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
}

    .product-img-wrapper img {
        max-height: 100%;
        max-width: 100%;
        object-fit: contain;
    }

.product-title {
    font-size: 1rem;
    font-weight: 500;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price-section {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

    .price-section del {
        color: #888;
        font-size: 0.9rem;
    }

#pagination-controls button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.rating span {
    color: #f5c518;
    font-size: 1rem;
}

.price-section del {
    color: #999;
    font-size: 0.875rem;
}

.price-section span {
    color: #28a745;
    font-weight: 600;
}

.quantity-input {
    width: 60px;
    padding: 0.25rem;
    font-size: 0.875rem;
}

.badge-discount {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.75rem;
}

.action-area button:hover {
    transform: scale(1.05);
}

/* Fullscreen hero section */
.hero-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000; /* optional, for contrast */
    padding: 0;
    margin: 0;
}

    .hero-banner img.hero-img {
        width: 100%;
        height: auto;
        display: block;
    }

/* Content */


@media (max-width: 768px) {
    /* On smaller screens, adjust text size */
    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.125rem;
    }

    .hero-content .btn {
        width: 100%;
        font-size: 1.1rem;
    }
}

/* Adjust content for very small screens (mobiles) */
@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
/* Section background with subtle split tone */
.category-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f7f9fc 100%);
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Header style */
.section-title {
    font-weight: 700;
    font-size: 2rem;
    color: #222;
}

/* Category cards */



/* Swiper nav buttons */
.btn-yellow {
    background-color: #ffcb05;
    border: none;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background 0.2s ease;
}

    .btn-yellow:hover {
        background-color: #f0b800;
    }

/* CATEGORY SECTION */
.category-section {
    background: linear-gradient(135deg, #fceabb 0%, #f8b500 100%);
    padding: 4rem 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0;
}

/* SWIPER NAV BUTTON */
.btn-yellow {
    background-color: #fff;
    color: #000;
    border: none;
    font-weight: bold;
    font-size: 1.25rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-yellow:hover {
        background-color: #ffd000;
    }

/* CATEGORY SWIPER SLIDES */
.category-carousel .swiper-slide {
    width: auto !important;
    margin-right: 20px;
    text-align: center;
}

.category-carousel .category-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .category-carousel .category-img:hover {
        transform: scale(1.05);
    }

.category-carousel .category-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

/* RESPONSIVE TWEAKS */
@media (max-width: 576px) {
    .category-carousel .swiper-slide {
        margin-right: 12px;
    }

    .category-carousel .category-img {
        width: 70px;
        height: 70px;
    }

    .category-carousel .category-title {
        font-size: 0.8rem;
    }

    .btn-yellow {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}



/* PRODUCT CARDS RESPONSIVE */
@media (max-width: 576px) {
    .product-card {
        font-size: 0.8rem;
    }

        .product-card .product-img-wrapper {
            height: 120px; /* smaller product image */
        }

        .product-card img.product-img {
            max-height: 120px;
            object-fit: contain;
        }

        .product-card .product-title {
            font-size: 0.85rem;
            line-height: 1.1;
            height: 3em; /* about 2 lines max */
            overflow: hidden;
        }

        .product-card .price-section {
            font-size: 0.85rem;
        }

        .product-card .rating {
            font-size: 0.75rem;
        }

        .product-card .action-area {
            gap: 4px;
        }

        .product-card .quantity-input {
            width: 50px;
            font-size: 0.85rem;
            padding: 3px 5px;
        }

        .product-card button.btn-sm {
            font-size: 0.75rem;
            padding: 4px 6px;
        }
}

section.category-section {
    background-color: #f9f9f9; /* light gray */
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.section-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}


.category-carousel .swiper-slide:hover {
    transform: translateY(-4px);
}
/* Floating cart button */
.cart-float-btn {
    position: fixed;
    top: 100px;
    right: 20px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    z-index: 1050;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    user-select: none;
}

/* Cart item count bubble */
#cart-count {
    font-size: 0.9rem;
    background: #ffc107;
    color: #000;
    border-radius: 50%;
    padding: 2px 6px;
    margin-left: 2px;
}

/* Hidden cart sidebar */
.cart-sidebar {
    position: fixed;
    top: 80px;
    right: 0;
    width: 300px;
    max-height: 80vh;
    background: #f8f9fa;
    border-left: 1px solid #ddd;
    padding: 10px;
    overflow-y: auto;
    z-index: 1040;
    display: none;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

/* Mobile fix: make cart full-width when small */
@media (max-width: 576px) {
    .cart-sidebar {
        width: 100%;
        top: 60px;
        left: 0;
        right: 0;
        max-height: 70vh;
    }
}
/* Notification-style floating cart icon */
.cart-notification-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .cart-notification-btn:hover {
        background: #f8f9fa;
    }

.cart-icon-img {
    width: 24px;
    height: 24px;
}

/* Badge/Count styling */
.cart-notification-count {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #dc3545;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 999px;
    line-height: 1;
    min-width: 20px;
    text-align: center;
}

/* Responsive fix */
@media (max-width: 576px) {
    .cart-notification-btn {
        width: 44px;
        height: 44px;
    }

    .cart-icon-img {
        width: 22px;
        height: 22px;
    }

    .cart-notification-count {
        font-size: 0.65rem;
        padding: 1px 5px;
    }
}

.cart-notification-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 1000;
}

    .cart-notification-btn:hover {
        background: #f0f0f0;
    }

.cart-icon-img {
    width: 24px;
    height: 24px;
}

.cart-notification-count {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #dc3545;
    color: #fff;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 0.75rem;
}

.cart-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    display: flex; /* use flex for centering */
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
    padding: 10px; /* padding for small screens */
    overflow-y: auto; /* allow scroll if content is tall */
}

.cart-modal-content {
    background: #fff;
    width: 100%;
    max-width: 400px; /* max width on large screens */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-height: 90vh; /* limit max height */
    display: flex;
    flex-direction: column;
}


.cart-modal-header,
.cart-modal-footer {
    padding: 16px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .cart-modal-header h5 {
        margin: 0;
    }



.cart-modal-body {
    max-height: 50vh;
    overflow-y: auto;
}

.cart-items-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .cart-items-list li {
        display: flex;
        justify-content: space-between;
        padding: 10px 16px;
        border-bottom: 1px solid #eee;
    }

        .cart-items-list li:last-child {
            border-bottom: none;
        }

.cart-modal-footer button {
    padding: 8px 16px;
    font-size: 1rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1055; /* ensure it's above other elements */
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

/* Prevent page content from going under the fixed header */
body {
    padding-top: 72px; /* adjust depending on your header height */
}

/* Optional: smooth transition on scroll */
header {
    transition: all 0.3s ease;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
    body {
        padding-top: 64px; /* adjust for smaller headers */
    }

    header .row {
        padding: 0.5rem 1rem;
    }
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff; /* or any background */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}


.loader-inner img {
    width: 120px; /* increase size */
    max-width: 150px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}
/* Light orange background */
.bg-light-orange {
    background-color: #fff4e5;
}
.offcanvas {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

    .offcanvas .filter-section {
        background: white;
        border-radius: 12px;
        padding: 1rem;
        margin-bottom: 1rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

        .offcanvas .filter-section h6 {
            cursor: pointer;
        }

.filter-options {
    padding-left: 1rem;
    display: none;
}

.toggle-icon {
    font-size: 1.2rem;
}

/* Colorful hood icon button */
.filter-btn {
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

/* Make sure inputs scale nicely on mobile */
@media (max-width: 576px) {
    .offcanvas .filter-section h6 {
        font-size: 1rem;
    }
}
.modal-content {
    border-radius: 1rem;
}

.nav-pills .nav-link.active {
    background-color: #ff9800;
    color: white;
    font-weight: bold;
}

.btn-outline-primary {
    border-radius: 1rem;
}
/* Hide default checkbox */
#categoryFilters input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007bff; /* Bootstrap primary blue */
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    outline: none;
    transition: background-color 0.3s, border-color 0.3s;
    background-color: white;
}

    /* Checked state */
    #categoryFilters input[type="checkbox"]:checked {
        background-color: #007bff;
        border-color: #007bff;
    }

        /* Tick mark */
        #categoryFilters input[type="checkbox"]:checked::after {
            content: '';
            position: absolute;
            top: 3px;
            left: 6px;
            width: 5px;
            height: 10px;
            border: solid white;
            border-width: 0 2.5px 2.5px 0;
            transform: rotate(45deg);
        }

/* Label styling */
#categoryFilters label {
    cursor: pointer;
    font-weight: 500;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.contact-wrapper {
    padding: 100px 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transition: transform 0.3s ease-in-out;
}

    .contact-card:hover {
        transform: translateY(-5px);
    }

.contact-info-box {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

    .contact-info-box i {
        font-size: 24px;
        color: #007bff;
        margin-right: 15px;
        min-width: 32px;
        text-align: center;
    }

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 12px;
    border: none;
    transition: 0.3s ease;
}

    .contact-form .form-control:focus {
        background: #fff;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    }

.contact-form .btn {
    border-radius: 30px;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

    .contact-form .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 123, 255, 0.3);
    }

iframe {
    border: none;
    border-radius: 12px;
    width: 100%;
    height: 250px;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 25px;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
    --primary-color: #3b82f6; /* Blue */
    --text-color: #1f2937; /* Dark Gray */
    --background-color: #ffffff;
    --modal-bg: rgba(0, 0, 0, 0.55);
    --border-radius: 12px;
    --font-family: 'Poppins', sans-serif;
}

/* Terms link */
.terms-link {
    font-family: var(--font-family);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color 0.25s ease;
    font-size: 1rem;
}

    .terms-link:hover {
        color: #2563eb; /* Darker blue */
    }

.icon-info {
    width: 20px;
    height: 20px;
    stroke: var(--primary-color);
    transition: stroke 0.25s ease;
}

.terms-link:hover .icon-info {
    stroke: #2563eb;
}

/* Modal Background */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0; /* shorthand for top,right,bottom,left = 0 */
    background: var(--modal-bg);
    backdrop-filter: blur(6px);
    font-family: var(--font-family);
    overflow-y: auto;
    padding: 40px 20px;
}

/* Modal box */
.terms-modal-content {
    max-width: 520px;
    margin: auto;
    background: var(--background-color);
    border-radius: var(--border-radius);
    padding: 32px 36px 28px 36px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalFadeIn 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Close Button */
.terms-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

    .terms-close-btn:hover {
        background-color: #f3f4f6;
    }

.icon-close {
    width: 22px;
    height: 22px;
    stroke: var(--text-color);
}

/* Heading */
.terms-modal-content h2 {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 18px;
    font-size: 1.6rem;
}

/* Modal Body */
.terms-modal-body {
    color: #374151;
    font-size: 1rem;
    line-height: 1.6;
}

    .terms-modal-body ul {
        padding-left: 22px;
        margin: 14px 0;
        list-style: disc;
    }

        .terms-modal-body ul li {
            margin-bottom: 10px;
        }

/* Animations */
@keyframes modalFadeIn {
    0% {
        opacity: 0;
        transform: translateY(-24px) scale(0.94);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.product-card {
    transition: all 0.3s ease;
}

    .product-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-3px);
    }

.product-title {
    font-size: 0.95rem;
    color: #333;
}

.quantity-input::-webkit-inner-spin-button {
    opacity: 0;
}

.deal-section {
    background: linear-gradient(135deg, #f5f7fa, #e4ebf0);
    border-radius: 8px;
}

header nav a {
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

    header nav a:hover {
        color: #ff3f6c;
    }

        header nav a:hover::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #ff3f6c;
        }

.search-container {
    position: relative;
    width: 300px;
}

.coin-flip {
    animation: flipY 3s linear infinite;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: block;
    will-change: transform;
}

@keyframes flipY {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

.supercoin-badge:hover {
    text-decoration: none;
    filter: drop-shadow(0 0 5px #fbbc04);
}

.points-value {
    white-space: nowrap;
}

#cart-modal .modal-content {
    border-radius: 12px;
    box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */






/* Scroll area for items */
#cart-items {
    max-height: 60vh;
    overflow-y: auto;
    padding: 0;
    margin: 0;
}

    #cart-items li {
        list-style: none;
        padding: 15px 10px;
        border-bottom: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 15px;
        transition: background-color 0.3s ease;
        cursor: pointer;
    }

        #cart-items li:hover {
            background-color: #fff4e5;
        }
        /* Item details text */
        #cart-items li .item-name {
            font-weight: 600;
            font-size: 1rem;
            color: #333;
        }

        #cart-items li .item-price {
            margin-left: auto;
            font-weight: 600;
            color: #b37f00;
        }

/* Address section */
#existing-addresses, #address-form {
    background: #fff;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.05);
}

#existing-addresses {
    margin-bottom: 1rem;
}

#address-list {
    max-height: 200px;
    overflow-y: auto;
}

#add-new-address {
    font-weight: 600;
    font-size: 0.9rem;
    color: #ff7f50;
}

    #add-new-address:hover {
        text-decoration: underline;
        color: #ff5722;
    }

/* Form inputs */
.address-form input,
.address-form select {
    border-radius: 8px;
    border: 1px solid #ddd;
    transition: border-color 0.3s ease;
}

    .address-form input:focus,
    .address-form select:focus {
        border-color: #ff7f50;
        box-shadow: 0 0 5px #ff7f50aa;
    }

/* Address Type buttons */
.btn-group .btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #555;
    padding: 6px 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-group .btn-outline-primary {
    border-color: #ff7f50;
}

    .btn-group .btn-outline-primary:hover {
        background-color: #ff7f50;
        color: #fff;
    }

.btn-group .btn-check:checked + .btn {
    background-color: #ff7f50;
    color: white;
    box-shadow: 0 0 8px #ff7f50aa;
}

/* Coupon area */
#apply-coupon-btn {
    background: #ff7f50;
    border: none;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border-radius: 0 8px 8px 0;
}

    #apply-coupon-btn:hover {
        background: #e5673a;
    }

#coupon-code {
    border-radius: 8px 0 0 8px;
    border-right: none;
}

/* Redeem points checkbox */
#redeem-points-checkbox {
    accent-color: #b37f00;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.points-value {
    color: #b37f00;
    font-weight: 700;
}

.form-check-label {
    font-weight: 600;
    user-select: none;
    cursor: pointer;
}

/* Cart summary box */
.cart-summary {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.9rem;
    color: #212529;
    background-color: #fff;
    padding: 1rem 1.25rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    max-width: 100%;
    box-sizing: border-box;
}

    .cart-summary > div {
        display: flex;
        justify-content: space-between;
        padding: 0.3rem 0;
        border-bottom: 1px solid #dee2e6;
    }

        .cart-summary > div:last-child {
            border-bottom: none;
        }

    .cart-summary .fw-semibold {
        font-weight: 600;
    }

    .cart-summary .fw-bold {
        font-weight: 700;
        font-size: 1.1rem;
        color: #d9534f; /* Bootstrap danger/red for emphasis */
    }

#discount-row {
    color: #5a5a5a;
}

/* Responsive tweaks */
@media (max-width: 576px) {
    .cart-summary {
        font-size: 0.85rem;
        padding: 0.75rem 1rem;
    }

        .cart-summary .fw-bold {
            font-size: 1rem;
        }
}

.modern-checkbox {
    display: inline-block;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    user-select: none;
    vertical-align: middle;
    font-size: 16px;
}

    /* Hide the default checkbox */
    .modern-checkbox input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

    /* Custom checkbox style */
    .modern-checkbox .checkmark {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        height: 20px;
        width: 20px;
        background-color: #eee;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        box-shadow: 0 0 0 1.5px #ccc inset;
    }

    /* On hover */
    .modern-checkbox:hover .checkmark {
        background-color: #ddd;
    }

    /* When checked */
    .modern-checkbox input:checked ~ .checkmark {
        background-color: #007bff;
        box-shadow: none;
    }

    /* Checkmark (tick) */
    .modern-checkbox .checkmark:after {
        content: "";
        position: absolute;
        display: none;
    }

    /* Show the checkmark when checked */
    .modern-checkbox input:checked ~ .checkmark:after {
        display: block;
        left: 6px;
        top: 2px;
        width: 6px;
        height: 12px;
        border: solid white;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }
            /* ============ mobile view .end// ============ */