.shop-app {
    
}
.shop-app .rounded-12{
    border-radius: var(--radius-12);
}

/* --- Sticky Toolbar Styling (NEW) --- */
.sticky-toolbar-container {
    position: sticky;
    top: 106px;
    z-index: 2;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.sticky-toolbar-container .inner-wrapper{
    display: flex;
    justify-items: center;
    align-items: center;
}

.sticky-toolbar-container .inner-wrapper .grid-controls-sec{
    width: calc(100% - 50px);
}
.sticky-toolbar-container .inner-wrapper .filter-controls-sec{
    width: 78px;
}
.sticky-toolbar-container .inner-wrapper .filter-controls-sec button{
    font-size: 12px;
    white-space: nowrap;
    border:0;
}

/* --- Tab Styling --- */
.nav-tabs-custom {
    width: auto !important;
    border-bottom: 2px solid #e0e0e0;
    /* margin-bottom removed, now controlled by the parent div */
}

.nav-tabs-custom .nav-link {
    color: #495057;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 15px;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    margin-right: 5px;
}

.nav-tabs-custom .nav-link:hover {
    color: #007bff;
    border-bottom-color: #a0c3e8;
}

.nav-tabs-custom .nav-link.active {
    color: #007bff;
    background-color: transparent;
    border-bottom: 3px solid #007bff;
}


/*------------------------------------------------------------------------------*/

/* --- Main Banner Carousel --- */
.main-carousel-wrapper {
    position: relative;
    margin-bottom: -100px; /* Default desktop overlap */
    z-index: 5;
    background-color: #415c17;
}

.carousel-item img {
    height: 300px; /* Desktop default height */
    object-fit: cover;
    object-position: top;
    width: 100%; /* Ensure image is fully fluid */
}

/* Custom Carousel Control Styling */
.carousel-control-prev,
.carousel-control-next {
    width: 80px; /* Wider area for clicking */
    opacity: 1; 
    transition: background-color 0.2s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1; 
    background: rgba(0, 0, 0, 0.2); /* Slight hover effect */
}

/* Style the Font Awesome icons inside the controls */
.carousel-control-prev i,
.carousel-control-next i {
    color: white; /* White icon color */
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8); /* Shadow for visibility */
}


/* --- Content Grid (4-Panel Blocks) --- */
.grid-card {
    background-color: white;
    padding: 20px;
    height: 420px; /* Fixed height for consistent look on large screens */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    margin-top: -270px; /* Desktop overlap */
    z-index: 10;
    position: relative;
    border-radius: 0.25rem;
}

.grid-img {
    max-height: 250px;
    object-fit: contain;
    width: 100%;
    margin-bottom: 10px;
    height: auto; 
}

.grid-link {
    font-size: 0.8rem;
    color: #007185;
    text-decoration: none;
}

.grid-link:hover {
    color: #c7511f;
}

/* --- Horizontal Product Slider --- */
.product-slider-wrapper {
    background-color: white;
    padding: 1.5rem 1rem;
    margin-top: 200px; 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 0.25rem;
}

.product-slider-inner {
    display: flex;
    overflow-x: scroll;
    padding-bottom: 1rem;
    gap: 15px; 
    scroll-behavior: smooth;
}

/* Hide scrollbar visually */
.product-slider-inner::-webkit-scrollbar {
    display: none;
}
.product-slider-inner {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Default card size for desktop/large screens */
.slider-card {
    min-width: 200px; 
    max-width: 200px;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background-color: transparent;
    border: none;
}

.slider-img {
    width: 100%;
    height: 150px;
    object-fit: contain;
}

/* --- Custom Scroll Button Styles --- */
.slider-controls button {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
    border: 1px solid #ccc;
    background-color: #fff;
    transition: background-color 0.2s, box-shadow 0.2s;
    line-height: 1; 
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.slider-controls button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.slider-controls button:active {
    background-color: #ddd;
}

/* Font Awesome icon styling within the button */
.slider-controls i { 
    font-size: 1.1rem; 
}


/* --- MOBILE RESPONSIVENESS ADJUSTMENTS (Bootstrap's MD breakpoint: 768px) --- */
@media (max-width: 768px) {
    .main-carousel-wrapper {
        margin-bottom: -40px; 
    }
    
    /* New: Adjust carousel height on mobile */
    .main-carousel-wrapper .carousel-item img {
        height: 200px; /* Reduced height for mobile */
    }

    .grid-card {
        height: auto; 
        min-height: 350px; 
        margin-top: -60px; 
    }

    .product-slider-wrapper {
        margin-top: 50px;
    }

    .search-container {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        order: 3; 
        width: 100%;
    }

    .jt-navbar-top .d-none.d-lg-flex {
        display: none !important;
    }
    
    /* ADJUSTMENT FOR RESPONSIVENESS: Make slider cards slightly smaller on mobile/tablet */
    .slider-card {
        min-width: 180px; 
        max-width: 180px;
    }
    
    /* Hide controls on very small screens to save space next to the title */
    .slider-controls {
        /*display: none !important;*/
    }
}

/* Hide carousel controls on small screens for better visibility */
@media (max-width: 576px) { 
    .carousel-control-prev,
    .carousel-control-next {
        display: none; 
    }
}
/*  Shop_page
/*------------------------------------------------------------------------------*/



/* Primary Accent Utilities for Shop Component */
.shop-app .btn-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #ffffff !important;
}

.shop-app .btn-primary:hover,
.shop-app .btn-primary:focus,
.shop-app .btn-primary:active {
  background-color: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.shop-app .text-primary {
  color: var(--primary-color) !important;
}

.shop-app .bg-primary-subtle {
  background-color: var(--accent-light) !important;
}

/* Glass Navbar */
.shop-app .navbar-glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.shop-app .brand-logo {
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.4rem;
  background: linear-gradient(135deg, #0f172a 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Filter Card */
.filter-card {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.sticky-filter {
  top: 100px;
}

.filter-header-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Color Swatches */
.color-swatch-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.color-swatch-btn.swatch-dark {
  background: #0f172a;
}

.color-swatch-btn.swatch-accent {
  background: var(--primary-color);
}

.color-swatch-btn.swatch-light {
  background: #e2e8f0;
}

.color-swatch-btn.active {
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--primary-color);
}


/* Active Filter Pills */
.filter-pill {
  background-color: #f1f5f9;
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-color);
}

.filter-pill .bi-x {
  cursor: pointer;
  font-size: 1rem;
}

.filter-pill .bi-x:hover {
  color: #ef4444;
}

/* Controls Bar */
.controls-bar {
  background: var(--pure-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.sort-select {
  width: 170px;
}

.view-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.view-btn.active, 
.view-btn:hover {
  background: var(--accent-light);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Range Slider */
.form-range::-webkit-slider-thumb {
  background: var(--primary-color);
}
.form-range::-moz-range-thumb {
  background: var(--primary-color);
}

/* Cart Badge & Stock Labels */
.badge-cart-count {
  position: absolute;
  top: -2px;
  right: -4px;
  font-size: 0.65rem;
  padding: 3px 6px;
  background-color: var(--primary-color);
}

.stock-status {
  font-size: 0.75rem;
  font-weight: 600;
}

.stock-status.in-stock {
  color: var(--color-success);
}

.stock-status.out-of-stock {
  color: var(--color-danger);
}

/* Utilities */
.empty-icon-box {
  width: 70px;
  height: 70px;
}

.modal-img-aspect {
  padding-top: 85%;
}

.modal-qty-input {
  width: 120px;
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.cart-item-title {
  max-width: 180px;
}

.z-toast {
  z-index: 1090;
}

/* products-ordering */

.products-ordering label,
.products-result-count label {
    display: inline-block;
    padding-right: 5px;
    margin-bottom: 0;
}

.products-ordering select,
.products-result-count select {
    line-height: 15px;
    font-size: 14px;
    padding: 8px 15px 8px;
    width: 190px;
    background-color: #fff;
    text-indent: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
}

.products-result-count select {
    width: 50px;
    line-height: 15px;
    font-size: 14px;
    padding: 8px 8px 8px 9px;
}

.products-ordering .orderby,
.products-result-count .orderby {
    position: relative;
}

.products-ordering .orderby:after,
.products-result-count .orderby:after {
    content: '\f0d7';
    font-family: FontAwesome;
    display: inline-block;
    position: absolute;
    right: 25px;
    top: 5px;
}

.products-result-count .orderby:after {
    right: 10px;
}


/* product-list */

.product-list {
    padding-top: 35px;
    position: relative;
    width: 100%;
}

.product-list .col-lg-3 {
    max-width: 270px;
    padding: 0;
}

.product-list .col-lg-9 {
    max-width: calc(100% - 270px);
    padding: 0;
    flex: 100%;
}

.product-list .product-image-box {
    background-color: transparent;
}

.product-list .product-box {
    margin-bottom: 30px;
    background-color: #fff;
    border: 1px solid #e9eef6;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}

.product-list .product-description {
    height: 100%;
    width: 100%;
    padding: 30px;
    border-left: 1px solid #e9eef6;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list .product-title h2 {
    line-height: 14px;
    margin-bottom: 10px;
}

.product-list.product .product-content-box {
    text-align: left;
    padding: 0;
    border: 0;
}

.product.product-list .product-content-box p {
    padding-top: 15px;
    font-size: 16px;
}


/* ===============================================
    17. Products
-------------------------------------------*/

.product {
    /*    width: calc(50% - 2px);*/
    clear: both;
    overflow: hidden;
    position: relative;
}

.product .brand-label {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0px;
    z-index: 1;
    width: auto;
    min-width: 50px;
    text-align: left;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
}

.product .code-label {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 1;
    width: auto;
    min-width: 50px;
    text-align: left;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    padding-left: 6px;
    padding-right: 6px;
}
.product .pct-off-label{
    
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: auto;
    width: 50px;
    text-align: left;
    background: rgba(243, 197, 133, 0.5);
    color: #b5710cd6;
    border: 1px solid rgba(0, 0, 0, .05);
    padding: 6px;
}

.product .product-box {
    border: 1px solid #e9eef6;
}

.slick_slider .product-box {
    margin-bottom: 0;
}

.product-image-box img {
    text-align: center;
    margin: 0 auto;
    display: block;
}

.product-box,
.sidebar .product-box,
.tab-content .product-box,
.content-tab .slick_slider .product-box {
    margin-bottom: 32px;
}

.product-box-inner {
    position: relative;
    overflow: hidden;
}

.product-banner-section .product-box {
    margin-top: 38px;
}


/* product-hover-image-fliper*/

.pro-image-back {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-opacity: 0;
    -moz-opacity: 0;
    -o-opacity: 0;
    -moz-transform: scale(0, 1);
    -webkit-transform: scale(0, 1);
    -o-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
}

.product-box:hover .pro-image-back {
    opacity: 1;
    -webkit-opacity: 1;
    -moz-opacity: 1;
    -o-opacity: 1;
    -moz-transform: scale(1, 1);
    -webkit-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1);
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
}

.product-box:hover .pro-image-front {
    opacity: 0;
    visibility: hidden;
}


/* product-btn */

.product .product-box .product-btn-links-wrapper {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
}

.product .product-box .product-btn-links-wrapper>div {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    opacity: 0;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
    -webkit-transform: translateY(80px);
    -moz-transform: translateY(80px);
    -ms-transform: translateY(80px);
    -o-transform: translateY(80px);
}

.product .product-box .product-btn-links-wrapper a {
    display: block;
    height: 32px;
    width: 32px;
    line-height: 32px;
    font-size: 13px;
    margin: 0 2px;
    text-align: center;
    background-color: transparent;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    transition: all .5s ease 0s;
}

.product .product-box .product-btn-links-wrapper>div:nth-child(1) {
    -moz-transition-delay: .1s;
    -webkit-transition-delay: .1s;
    transition-delay: .1s;
}

.product .product-box .product-btn-links-wrapper>div:nth-child(2) {
    -moz-transition-delay: .2s;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

.product .product-box .product-btn-links-wrapper>div:nth-child(3) {
    -moz-transition-delay: .3s;
    -webkit-transition-delay: .3s;
    transition-delay: .3s;
}

.product .product-box:hover .product-btn-links-wrapper>div {
    opacity: 1;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -o-transform: translateY(0px);
}

.product .product-box .product-btn-links-wrapper a i {
    line-height: 32px;
}

.product .tooltip:after,
.product [data-tooltip]:after {
    width: 130px;
}

.product .tooltip-top:after,
.product .tooltip:after,
.product [data-tooltip]:after {
    margin-left: -60px;
}

.product .product-content-box {
    text-align: center;
    padding: 22px 15px 22px 15px;
    position: relative;
    border-top: 1px solid #e9eef6;
}

.product .product-content-box .product-title h2 {
    padding: 0;
    margin: 0;
    font-size: 17px;
    padding-bottom: 0;
    line-height: 24px;
    font-weight: 400;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product .price {
    margin: 0;
    font-size: 15px;
    line-height: 25px;
    display: block;
}

.price .product-Price-amount {
    font-weight: 600;
}

.price del .product-Price-amount {
    font-weight: 500;
    text-decoration: line-through;
    margin-left: 5px;
    color: #656c76;
}

.price ins {
    text-decoration: none;
}

.product .star-ratings {
    line-height: 27px;
    font-size: 10px;
}

.product .star-ratings ul {
    display: block;
    padding: 0;
    margin: 0;
}

.product .star-ratings ul li {
    display: inline-block;
}

.product .star-ratings ul li i {
    font-size: 13px;
}

.star-ratings,
.sidebar .star-ratings ul li,
.sidebar .star-ratings ul li {
    width: auto;
    margin: 0px;
    font-size: 10px;
    line-height: 1;
    padding: 0;
    border: 0;
}

.product .onsale {
    height: 20px;
    width: 35px;
    padding-left: 4px;
    line-height: 20px;
    color: #fff;
    background: #dc242b;
    text-align: right;
    font-size: 11px;
    text-transform: uppercase;
    display: inline-block;
    vertical-align: top;
    border-radius: 0;
    padding-top: 0;
    position: absolute;
    top: 20px;
    left: 0px;
    z-index: 1;
    min-height: auto;
    font-weight: 400;
}

.product .onsale:after {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 34px;
    right: 0;
    border-right: 8px solid transparent;
    border-top: 10px solid #dc242b;
    border-left: 8px solid #dc242b;
    border-bottom: 10px solid #dc242b;
}


/* coupen_code */

.coupen-box {
    padding: 50px 15px 30px 23px;
    position: relative;
    height: 100%;
    width: 100%;
    border-left: 1px solid #f7f8fa;
}

.coupen-box h4 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 500;
}

.coupen-box p {
    font-size: 15px;
}

.coupen_code {
    display: inline-block;
    text-align: center;
    padding: 10px 20px 9px;
    border: 1px dashed;
    margin-top: 20px;
}

.coupen_code span {
    font-size: 15px;
    display: inline-block;
}

.products .slick_slider .slick-arrow,
.products .pro_slick_slider .slick-arrow {
    width: 26px;
    height: 26px;
    border: 1px solid #e9eef6;
    border-radius: 3px;
    background: #fff;
}

.products .slick_slider .slick-prev,
.products .slick_slider .slick-next,
.products .pro_slick_slider .slick-prev,
.products .pro_slick_slider .slick-next {
    top: -50px;
    right: 0px;
}

.products .slick_slider .slick-prev,
.products .pro_slick_slider .slick-prev {
    left: auto;
    right: 30px;
}

.products .slick_slider .slick-prev:before,
.products .slick_slider .slick-next:before,
.products .pro_slick_slider .slick-prev:before,
.products .pro_slick_slider .slick-next:before {
    font-family: 'themify';
    font-size: 10px;
    line-height: 1;
    opacity: 1;
    color: #656c76;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.products .slick_slider .slick-prev:before,
.products .pro_slick_slider .slick-prev:before {
    content: "\e64a";
}

.products .slick_slider .slick-next:before,
.products .pro_slick_slider .slick-next:before {
    content: "\e649";
}

.products .slick_slider .slick-arrow.slick-disabled,
.products .pro_slick_slider .slick-arrow.slick-disabled {
    cursor: not-allowed;
}


/*------------------------------------------------------------------------------*/


/* 18. Quantity
/*------------------------------------------------------------------------------*/

.quantity {
    display: inline-block;
    position: relative;
}

.quantity input.qty {
    width: 100%;
    height: 45px;
    font-size: 16px;
    line-height: 26px;
    padding-left: 15px;
    padding-right: 30px;
    font-weight: 500;
}

.quantity input.qty.red-border {
    border: 1px solid #dc3545;
}

.quantity>span {
    display: block;
    position: absolute;
    right: 0;
    text-align: center;
    width: 26px;
    height: 50%;
    line-height: 20px;
    border-left: 1px solid #ebebeb;
    font-size: 0px;
    cursor: pointer;
}

.quantity>span.inc {
    top: 0;
}

.quantity>span.dec {
    bottom: 0;
    border-top: 1px solid #ebebeb;
}

.quantity>span:before {
    content: "";
    font-family: "FontAwesome";
    font-size: 16px;
    color: #333;
}

.quantity>span.inc:before {
    content: "\f106";
}

.quantity>span.dec:before {
    content: "\f107";
}


/*------------------------------------------------------------------------------*/


/* 19. Modal
/*------------------------------------------------------------------------------*/

.overlay-modal1 {
    position: fixed;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: .8;
}

.wrap-modal1 {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9000;
    overflow: auto;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
    visibility: hidden;
    opacity: 0;
}

.modal1-content {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
    transition: transform .3s ease-out;
    transform: translateY(-25%);
    margin: 100px auto;
    background: #fff;
    padding: 50px;
}

.show-modal1 {
    visibility: visible;
    opacity: 1;
}

.show-modal1 .modal1-content {
    transform: translate(0);
}

.close.js-hide-modal1 {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 30px;
    z-index: 99;
    transition: all .3s;
    padding: 0;
    background-color: transparent;
}


/*end of shop======================*/


/*------------------------------------------------------------------------------*/


/* 20. EasyZoom
/*------------------------------------------------------------------------------*/

.easyzoom {
    position: relative;
    zoom: 1;
}

.easyzoom img {
    vertical-align: bottom;
    background: #f6f9ff;
}

.easyzoom.is-loading img {
    cursor: progress;
}

.easyzoom.is-ready img {
    cursor: crosshair;
}

.easyzoom.is-error img {
    cursor: not-allowed;
}

.easyzoom-notice {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 150;
    width: 10em;
    margin: -1em 0 0 -5em;
    line-height: 2em;
    text-align: center;
    background: #FFF;
    box-shadow: 0 0 10px #888;
}

.easyzoom-flyout {
    position: absolute;
    z-index: 100;
    overflow: hidden;
    background: #FFF;
}


/* EasyZoom layout variations */

.easyzoom--overlay .easyzoom-flyout {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.easyzoom--adjacent .easyzoom-flyout {
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    margin-left: 20px;
}

.easyzoom-gallery-slider {
    padding: 0;
    margin: 0;
    list-style: none;
}


/*star ratings */

.star-ratings ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.star-ratings ul li {
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
}


/*end of star ratings*/


/*banners*/

.discount-banner {
    padding: 15px;
    text-align: center;
}

.discount-banner .pct {
    font-weight: 900;
    font-size: 50px;
    display: block;
    width: 100%;
}

.discount-banner .discount-desc {
    font-weight: 400;
    font-size: 25px;
    display: block;
    width: 100%;
}


/**/

.menu-plus-banner-widget {
    position: relative;
    z-index: 10;
    display: flex;
    background-color: #02112b;
    background: url('../images/bg-image/page-title-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.menu-plus-banner-widget .menu-section {
    width: 250px;
    background-color: rgba(0, 0, 0, .3);
    min-height: 400px;
    box-shadow: 0 0 5 rgba(0, 0, 0, .3);
}

.menu-plus-banner-widget .banner-section {
    width: calc(100% - 250px);
    display: flex;
    padding-left: 10px;
    background-color: #fff;
}

.menu-plus-banner-widget .banner-section .left-col {
    width: calc(100% - 250px);
    padding-right: 10px;
}

.menu-plus-banner-widget .banner-section .right-col {
    width: 250px;
    background-color: rgba(0, 0, 0, .3);
    color: #fff;
}

@media(max-width: 1199.98px) {
    .menu-plus-banner-widget .banner-section .right-col {
        display: none;
    }
    .menu-plus-banner-widget .banner-section .left-col {
        width: 100%;
        padding-right: 0;
    }
}

@media(max-width: 991.98px) {
    .menu-plus-banner-widget .menu-section {
        display: none;
    }
    .menu-plus-banner-widget .banner-section {
        width: 100%;
        padding-left: 0;
    }
}


/**/


/*breadcrumbs*/

.breadcrumbs {
    /*display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;*/
    min-width: 150px;
}

.breadcrumbs.add-bg {
    background-color: rgba(0, 0, 0, .05);
    padding: 6px 12px;
}

.breadcrumbs a,
.breadcrumbs button {
    background: transparent;
    font-weight: 500;
    border: 0;
    border-radius: 5px;
    /*    color: #54a4f2;*/
    color: inherit;
    cursor: pointer;
    display: inline-block;
    font-size: 80% !important;
}

.breadcrumbs .trash {
    color: #d22a2a;
}

.breadcrumbs .action-icon {}

.breadcrumbs .action-icon img {
    width: 20px;
}

.breadcrumbs .action-text {}

.breadcrumbs a:after,
.breadcrumbs button:after {
    font-size: 18px;
    content: "\f101";
    font-family: "fontawesome";
    margin-left: 10px;
    margin-right: 5px;
    opacity: 0.5;
    display: inline-block;
    color: #000;
}

.breadcrumbs a:last-child:after,
.breadcrumbs button:last-child:after {
    content: ''
}

.breadcrumbs a.active,
.breadcrumbs button.active {
    opacity: 0.2;
    cursor: not-allowed !important;
}

.breadcrumbs a.active:hover,
.breadcrumbs button.active:hover {
    opacity: 0.2;
    cursor: not-allowed !important;
}

.breadcrumbs a:focus,
.breadcrumbs button:focus {
    outline: 0;
}


/*dark breakcrumbs*/

.breadcrumbs.dark a,
.breadcrumbs.dark button {
    color: #deeefa;
}

.breadcrumbs.bold a,
.breadcrumbs.bold button {
    font-weight: bold;
}

.breadcrumbs.dark a:after,
.breadcrumbs.dark button:after {
    color: #fff;
}

.breadcrumbs.dark a.active,
.breadcrumbs.dark button.active {
    opacity: 0.7;
}


/** //////////////////////////
 *  SETTING STYLES
 * */


/* setup */

.setup-section {
    padding: 5px;
    margin-bottom: 10px;
}

.setup-section.add-bg {
    background-color: rgba(0, 0, 0, 0.02);
}

.setup-header {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.setup-header.has-controls {
    display: flex;
}

.setup-header.has-controls .title-sec {
    width: calc(100% - 50px);
}

.setup-header.has-controls .controls-sec {
    width: 50px;
}

.setup-section.body-hidden .setup-header {
    border-bottom: 0;
}

.setup-section .setup-collapse-btn {
    display: inline-block;
    background: rgba(0, 0, 0, .05);
    cursor: pointer;
    padding: 0 12px;
    text-align: center;
}

.setup-header .setup-title {
    font-size: 100% !important;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 15px;
    margin-bottom: 0;
}

.setup-control {
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.setup-body {}

.setup-body p {
    padding: 0;
    line-height: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    padding-bottom: 15px;
}

.setup-body p:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.setup-body table th {
    white-space: nowrap;
}

.setup-body table.bordered-bottom tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.setup-body table.bordered-bottom tr td {
    padding-bottom: 15px;
    padding-top: 15px;
}

.setup-body table th,
.setup-body table td {
    padding: 5px 15px;
    vertical-align: top;
}

.setup-body table th,
.setup-body table td:first-child {
    padding-left: 0 !important;
}

.setup-body table.striped {
    border: 1px solid rgba(0, 0, 0, .1);
}

.setup-body table.striped th,
.setup-body table.striped td {
    border: 1px solid rgba(0, 0, 0, .1);
}

.setup-body table.striped th,
.setup-body table.striped td:first-child {
    padding: 5px 15px !important;
}

.setup-body table.bordered-bottom tr:last-child {
    border-bottom: 0;
}

.setup-body table.bordered-bottom {
    border-collapse: collapse;
}

.setup-body table.va-m th,
.setup-body table.va-m td {
    vertical-align: middle;
}

.setup-body table .title {
    font-weight: 600;
    margin: 0;
    margin-bottom: 5px;
    margin-top: 0 !important;
}

.setup-body table .desc {
    opacity: .7;
}

.setup-body table input[type="tel"],
.setup-body table input[type="text"],
.setup-body table input[type="date"],
.setup-body table select,
.setup-body table .form-control {
    border: 1px solid rgba(0, 0, 0, .2);
}

.setup-body table input[type="tel"],
.setup-body table input[type="text"],
.setup-body table input[type="date"] {
    max-width: 80px;
    min-width: 50px;
    padding: 3px 12px;
    border: 1px solid rgba(0, 0, 0, .2);
}

.setting-input-pack {
    display: flex;
}

.setting-input-pack .setting-input {
    width: calc(100% - 50px);
}

.setting-input-pack .setting-btn {
    width: 50px;
    margin-left: 5px;
    text-align: center;
    padding: 3px 3px;
    font-size: 12px !important;
}

.action-button {
    background: transparent;
    border: 1px solid transparent;
    border: 0;
    outline: 0;
    font-weight: 600;
    padding: 5px;
}

.action-button:focus {
    outline: 0;
    box-shadow: none;
    border: 0;
}

@media(max-width: 575px) {
    .action-button .button-text {
        display: none;
    }
}


/* END SETTING STYLES */


/** //////////////////////
 *  LAYOUT STYLES
 *  tiled/grid data
 *  tabular data
 * 
 * */


/* -------------------------------------
   TILE DATA
---------------------------------------*/

#tabular_data {
    display: block;
}

#tiled_data {
    display: none;
}

.tile-data {
    position: relative;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, .3);
    background: #fff;
    border-radius: 3px;
    padding: 5px;
}

.tile-data .tile-checkbox {
    position: absolute;
    top: -8px;
    left: -4px;
}

.tile-data .tile-checkbox input {
    outline: none;
}

.tile-data .data-area {
    padding: 15px;
    padding-top: 8px;
}

.tile-data:after {
    clear: both;
    display: block;
    content: "";
}

.tile-data table tr td:first-child {
    padding-left: 0;
}

.tile-data table tr td {
    padding-top: 0;
    padding-bottom: 0;
}

.title1 {
    display: block;
    width: 100%;
    font-weight: 700;
    font-size: 130%;
}

.title2 {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 115%;
}

@media(max-width: 576px) {
    #tabular_data.sm-hide {
        display: none !important;
    }
    #tiled_data.sm-show {
        display: block !important;
    }
}


/*//////////////////////////////
/*person profile*/

.person-profile {
    position: relative;
    /* margin: 5px;
    padding: 15px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(0, 0, 0, 0.03); */
}

.person-profile.no-bg {
    background: transparent;
    border: 0;
}

.person-profile .tile-checkbox {
    position: absolute;
    top: 0;
    left: 2px;
}

.person-profile .label {
    font-weight: 600;
    text-transform: capitalize;
}

.person-profile .person-photo {
    width: 160px;
    float: left;
}

.person-profile .person-info {
    width: calc(100% - 160px);
    float: right;
    padding: 0 15px;
}

.person-profile .person-photo img {
    width: 100%;
    max-width: 150px;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.3);
}

.person-profile .names {
    font-size: 110%;
    font-weight: 700;
    text-transform: capitalize;
}

.person-profile:after {
    clear: both;
    display: block;
    content: "";
}

.person-profile table tr td {
    padding: 0 12px;
}

.person-profile table tr td:first-child {
    padding-left: 0;
}

@media(max-width: 480px) {
    .person-profile .person-photo {
        width: 100%;
        float: none;
    }
    .person-profile .person-info {
        width: 100%;
        float: none;
        padding-top: 8px;
    }
    .person-profile .names {
        text-align: center;
    }
}


/*___________end*/


/**/

.order-alert {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: #e4ecfb;
    z-index: 200;
    padding: 15px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.order-alert .btn-group .btn {
    margin-right: 5px;
}

.order-alert .btn-group:after {
    clear: both;
    display: block;
    content: "";
}

.bottom-alert{

    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background-color: white;
    min-height: 100px;
}


/*accordion styles*/

.hide-element {
    display: none;
}

.accordion-toggler {
    padding: 0 6px !important;
    border: 0;
    background: rgba(0, 0, 0, 0.05);
    margin: 5px !important;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    text-transform: capitalize !important;
    min-width: 50px;
    font-size: 82%;
    text-align: center;
}

.accordion-toggler:hover {
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.accordion-toggler:focus {
    outline: 0 !important;
    box-shadow: none
}


/*accordion styles*/

#accordion .card-link {
    padding-right: 15px;
    display: block;
}

#accordion .card-link:after {
    position: absolute;
    top: 0;
    right: 10px;
    content: "\f107";
    font-family: "FontAwesome";
    padding-left: 5px;
}

#accordion .card-link.collapse-card:after {
    position: absolute;
    right: 10px;
    content: "\f106";
    font-family: "FontAwesome";
    padding-left: 5px;
}

.accordion.style1 #faq .card {
    margin-bottom: 30px;
    border: 0;
}


/**/
.img-loading{
    background-color: #000;
    min-height: 100px;
    width: 100%;
}
.to-center{
    
}
.center-content {
    display: block;
    max-width: 50%;
    margin: 0 auto;
}

@media(max-width: 991.98px) {
    .center-content {
        max-width: 80%;
    }
}

@media(max-width: 575.98px) {
    .center-content {
        max-width: 100%;
    }
}


/*dashboard*/

.dashboard {
    padding-top: 0px !important;
}


/*card */

.card {}

.dashboard .card {}

.dashboard .card .card-header {
    padding: 0 30px;
    padding-top: 6px;
}

.dashboard .card .card-header .card-title {}

.dashboard .card .card-body .table {}

.dashboard .card .card-body .table tr:first-child td {
    border-top: 0 !important;
}


/*header*/

.dashboard .page-header {}

.dashboard .page-header.has-sections {
    display: flex !important;
}

.dashboard .page-header.has-sections .title-sec {
    width: calc(100% - 20%);
}

.dashboard .page-header.has-sections .controls-sec {
    width: 20%;
}

.dashboard .page-header .page-title {
    font-size: 26px;
    margin-bottom: 0;
    line-height: 20px;
}

.dashboard .page-container {
    position: relative;
    overflow: auto;
    padding: 0 15px;
}

.dashboard .user-actions {}

.dashboard .user-actions .col {
    margin-top: 30px;
}

.dashboard .user-actions .col .action-box {
    background-color: rgba(0, 0, 0, .04);
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    padding: 15px 12px;
    border: 2px solid #fff;
    height: 100%;
}

.dashboard .user-actions .col .action-box:hover {}

.dashboard .user-actions a {
    display: block;
    width: 100%;
    text-decoration: none;
    font-weight: 500;
    font-size: 130%;
    line-height: 18px;
}

.dashboard .user-actions a.has-icon {
    display: flex;
}

.dashboard .user-actions a.has-icon .action-icon {
    width: 32px;
    text-align: center;
}

.dashboard .user-actions a.has-icon .action-icon i {
    font-size: 26px;
    color: #5b5757;
}

.dashboard .user-actions a.has-icon .action-text {
    width: calc(100% - 32px);
    padding: 0 12px;
    padding-top: 4px;
    padding-left: 6px;
    box-sizing: border-box;
}


.jt-card {
    padding: 15px 10px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, .4);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 4px;


}
.jt-card a.inherit-color{
    color: inherit;
}

.jt-card.add-bg {
    background-color: rgba(0, 0, 0, 0.02);
}

.jt-card-header {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.jt-card-header.no-border {
    border-bottom: 0;
}
.jt-card-header.has-controls{
    display: flex;
}
.jt-card-header.has-controls.center-items{
    justify-items: center;
    align-items: center;
}
.jt-card-header.has-controls .title-sec{
    width: calc(100% - 50px);
}
.jt-card-header.has-controls .controls-sec{
    width: 50px;
}

.jt-card-header.has-controls .controls-sec .action-button.bg-transparent{
    background-color: transparent;
    border: 0;
}
.jt-card-header.has-controls .controls-sec .action-button.opacity-3{
    opacity: .3;
}
.jt-card-header.has-controls .controls-sec .action-button.opacity-5{
    opacity: .5;
}
.jt-card.body-hidden .jt-card-header{
    border-bottom: 0;
}

.jt-card .jt-card-collapse-btn{
    display: inline-block;
    background: rgba(0, 0, 0, .05);
    cursor: pointer;
    padding: 0 12px;
    text-align: center;
}
.jt-card-header .jt-card-title {
    font-size: 100%;
    font-weight: 700;
    text-transform: uppercase;
    padding: 5px 0;
    margin-bottom: 0;
}
.jt-card-header .jt-card-title.normal-text{
    text-transform: none;
    font-weight: normal;
}
.jt-card-header .jt-card-title.text-capitalize{
    text-transform: capitalize;
}

.jt-card-control {
    font-weight: 600;
    display: inline-block;
    white-space: nowrap;
}

.jt-card-body.add-seperator {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.jt-card-body p {
    margin: 0;
    padding: 0;
    line-height: 24px;
    padding-top: 5px;
}

.jt-card-body table th {
    white-space: nowrap;
}

.jt-card-body table.bordered-bottom tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.jt-card-body table.bordered-bottom tr:last-child {
    border-bottom: 0;
}

.jt-card-body table.bordered-bottom tr td {
    padding-bottom: 15px;
    padding-top: 15px;
}

.jt-card-body table th,
.jt-card-body table td {
    padding: 5px 15px;
    vertical-align: top;
}

.jt-card-body table th,
.jt-card-body table td:first-child {
    
}

.jt-card-body table.striped {
    border: 1px solid rgba(0, 0, 0, .1);
}

.jt-card-body table.striped th,
.jt-card-body table.striped td {
    border: 1px solid rgba(0, 0, 0, .1);
}

.jt-card-body table.striped th,
.jt-card-body table.striped td:first-child {
    padding: 5px 15px !important;
}

.jt-card-body table.bordered-bottom tr:last-child {
    border-bottom: 0;
}

.jt-card-body table.bordered-bottom {
    border-collapse: collapse;
}

.jt-card-body table.va-m th,.jt-card-body table.va-m td{
    vertical-align: middle;
}

.jt-card-body table .title{
    font-size: 100%;
    font-weight: 600;
    margin: 0;
    margin-bottom: 5px;
    margin-top:  0 !important;
}

.jt-card-body table .desc{
    opacity: .7;
}

.jt-card-body table input[type="tel"],
.jt-card-body table input[type="text"],
.jt-card-body table input[type="date"],
.jt-card-body table select,
.jt-card-body table .form-control{
    border: 1px solid rgba(0, 0, 0, .2);
    outline: 0;
    min-width: 50px;
}

.jt-card-body table input[type="text"],
.jt-card-body table input[type="date"]{
    max-width: 80px;
    min-width: 50px;
    padding: 3px 12px;
    border: 1px solid rgba(0, 0, 0, .2);
}

.jt-card-body table input[type="tel"]{
    max-width: 130px;
    min-width: 130px;
    padding: 3px 6px;
    border: 1px solid rgba(0, 0, 0, .2);
}

.jt-card-footer{
    
}


.data-block{
    padding-top: 10px;
    margin: 0;
    padding: 5px;
}
.data-block.add-bg{
    background-color: rgba(255, 255, 255, .3);
    padding: 0 15px;
    box-sizing: border-box;
    text-align: center;
    margin-top: 10px;
}
.data-block label{
    text-transform: uppercase;
    display: block;
    width: 100%;
    margin-bottom: 0;
    font-size: 70%;
    font-weight: 900;
    font-family: Tahoma;
}
.data-block .sub-text{
    font-size: 80%;
    font-weight: 600;
}
.data-block .fs-4{
    font-size: 26px !important;
    font-weight: 600;
}
.data-block .fs-5{
    font-size: 20px !important;
    font-weight: 600;
}
.data-block .fs-normal{
    font-size: 100% !important;
    font-weight: 400;
}
.data-block label.black{
    color: black !important;
}
.data-block label.green{
    color: green !important;
}
.data-block label.brown{
    color: brown !important;
}
.data-block label.orange{
    color: orange !important;
}
.data-block label.blue{
    color: blue !important;
}
.data-block label.purple{
    color: purple !important;
}
.data-block label.darkblue{
    color: darkblue !important;
}
.data-block label.red{
    color: red !important;
}
.data-block label.add-bg{
    background: purple;
    color: #fff !important;
    display: inline-block !important;
    width: auto;
/*    font-weight: 400;*/
    padding: 0 12px;
}
.data-block label.add-bg.blue{
    background: blue;
}
.data-block label.add-bg.brown{
    background: brown;
}
.data-block label.add-bg.orange{
    background: orange;
}
.data-block label.add-bg.green{
    background: green;
}
.data-block label.add-bg.red{
    background: red;
}
.data-block .details{
    text-transform: uppercase;
    display: block;
    width: 100%;
}
.data-block .details p{
    line-height: 18px;
}
.data-block{
    
}



/*///////////////   END OF LAYOUT STYLES */

/**/

.max-width100{
    max-width: 100px !important;
}
.max-width200{
    max-width: 200px !important;
}
.max-width300{
    max-width: 300px !important;
}
.max-width310{
    max-width: 310px !important;
}
.max-width320{
    max-width: 320px !important;
}
.max-width400{
    max-width: 400px !important;
}
.max-width480{
    max-width: 480px !important;
}

.position-absolute{
    position: absolute;
}

.position-relative {
    position: relative !important;
}

.left-0{
    left: 0px;
}
.left-10{
    left: 10px;
}
.left-20{
    left: 20px;
}
.left-30{
    left: 30px;
}
.left-40{
    left: 40px;
}
.left-50{
    left: 50px;
}


.right-0{
    right: 0px;
}
.right-10{
    right: 10px;
}
.right-20{
    right: 20px;
}
.right-30{
    right: 30px;
}
.right-40{
    right: 40px;
}
.right-50{
    right: 50px;
}



.bottom-0{
    bottom: 0px;
}
.bottom-10{
    bottom: 10px;
}
.bottom-20{
    bottom: 20px;
}
.bottom-30{
    bottom: 30px;
}
.bottom-40{
    bottom: 40px;
}
.bottom-50{
    bottom: 50px;
}


/* Ensures smooth transitions for interactivity */
.jt-shopping-cart .cart-item-card {
    transition: all 0.2s ease-in-out;
    cursor: default;
    border: 1px solid rgba(0, 0, 0, .1);
}

.jt-shopping-cart .cart-item-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Style for the quantity input to hide the default spinner arrows */
.jt-shopping-cart input[type="number"]::-webkit-inner-spin-button,
.jt-shopping-cart input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.jt-shopping-cart  input[type="number"] {
    -moz-appearance: textfield;
    text-align: center;
    border: none;
    width: 3rem;
    padding: 0;
}

/* Custom Quantity Control Styling */
.custom-qty-control .btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* Make buttons circular */
}

.jt-shopping-cart  .custom-qty-control .btn-outline-secondary {
    color: #495057;
    background-color: #e9ecef;
    border-color: #ced4da;
}

.custom-qty-control .btn-outline-secondary:hover {
    background-color: #dee2e6;
}
.jt-shopping-cart .cart-items-count{
    width: 32px;
    height: 32px;
    font-size: 12px;
    color: red;
}

.add-to-cart{
    display: flex;
    white-space: nowrap;
}
.add-to-cart .elm-text{
    width: calc(100% - 50px);
    padding-left: 10px;
}
.add-to-cart .elm-icon{
    width: 50px;
}
.add-to-cart .elm-icon img{
    width: 32px;
}
.list-layout-actions .add-to-cart{
    max-width: 200px;
}


.ttm-tabs{}
.ttm-tabs ul li.active a{
    color: #fff;
}

/* ///////////////////////////////// */

/* 5. CART TRIGGER BUTTON */
#cart-trigger {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    padding: 6px;
    border-radius: var(--radius-8);
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-heading);
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

#cart-trigger:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

#cart-trigger svg { 
    width: 22px;
    height: 22px;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* 7. DRAWER & OVERLAY */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 20000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-drawer-overlay.is-active {
    opacity: 1;
    pointer-events: auto;
}

#cart-sidebar.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    max-width: 440px;
    background: white;
    z-index: 20001;
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

#cart-sidebar.drawer.is-open { transform: translateX(0); }

#cart-sidebar .drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cart-sidebar .btn-close-drawer {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--cart-transition);
}

#cart-sidebar .btn-close-drawer:hover { background: var(--border); }

#cart-sidebar .drawer-content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* 8. CART ITEMS (SCOPED) */
#cart-sidebar .cart-item {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

#cart-sidebar .item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-8);
    background: #f1f5f9;
}

#cart-sidebar .item-info { flex-grow: 1; }

#cart-sidebar .item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

#cart-sidebar .item-name { font-weight: 700; color: var(--text-heading); }

#cart-sidebar .btn-remove-item {
    color: #ef4444;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    opacity: 0.6;
    transition: var(--cart-transition);
}

#cart-sidebar .btn-remove-item:hover { opacity: 1; }

#cart-sidebar .item-price-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

#cart-sidebar .qty-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.75rem;
    background: #f8fafc;
    padding: 4px;
    width: fit-content;
    border-radius: 8px;
}

#cart-sidebar .input-qty{
    font-weight: 600;
    text-align: center !important;
    border: 0;
    max-width: 50px !important;
    background-color: transparent;
}

#cart-sidebar .qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--cart-transition);
}

#cart-sidebar .qty-btn:hover { border-color: var(--primary-color); }

/* 9. CART FOOTER (SCOPED) */
#cart-sidebar .drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: #fdfdfd;
}

#cart-sidebar .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

#cart-sidebar .total-text { font-size: 1.25rem; font-weight: 800; }
#cart-sidebar .summary-price-total { color: var(--primary-color); }

#cart-sidebar .btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1.1rem;
    border-radius: var(--radius-8);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: var(--cart-transition);
}

#cart-sidebar .btn-checkout:hover { background: var(--primary-dark); }

/* 10. STATES & ANIMATIONS */
#cart-sidebar.loading-state { opacity: 0.5; pointer-events: none; }

@keyframes cartPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}
.pop { animation: cartPop 0.35s ease; }

#cart-sidebar .empty-cart-msg {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

/* MAIN CART LAYOUT */
 .checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
} 

/*.checkout-grid{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
}*/

/* LIGHT THEME OVERRIDES */
.checkout-grid.light-theme {
    --bg-main: #f9f9f9;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-sub: #666666;
    --border-ui: #e5e5e5;
    --input-bg: #f3f3f3;
}

.checkout-grid.light-theme h2, 
.checkout-grid.light-theme .summary-title,
.checkout-grid.light-theme .item-meta h3,
.checkout-grid.light-theme .item-price,
.checkout-grid.light-theme .qty-value,
.checkout-grid.light-theme .summary-row.total {
    color: var(--text-main);
}

.checkout-grid.light-theme .count-label,
.checkout-grid.light-theme .item-meta p,
.checkout-grid.light-theme .summary-row,
.checkout-grid.light-theme .promo-label,
.checkout-grid.light-theme .trust-badge {
    color: var(--text-sub);
}

.checkout-grid.light-theme .cart-item,
.checkout-grid.light-theme .summary-card {
    background: var(--bg-card);
    border-color: var(--border-ui);
}

.checkout-grid.light-theme .item-image,
.checkout-grid.light-theme .qty-wrapper,
.checkout-grid.light-theme .promo-input {
    background: var(--input-bg);
    border-color: var(--border-ui);
}

.checkout-grid.light-theme .promo-input {
    color: var(--text-main);
}

.checkout-grid.light-theme .qty-btn {
    color: var(--text-main);
}

.checkout-grid.light-theme .summary-title,
.checkout-grid.light-theme .summary-row.total {
    border-color: var(--border-ui);
}

/* END LIGHT THEME OVERRIDES */

.checkout-grid h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    font-weight: 800;
    color: var(--pure-white);
}

.checkout-grid .count-label {
    color: var(--pure-white);
    font-size: 12px;
    background: var(--secondary-color);
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    border-radius: 50%;
    padding-top: 5px;
}

.checkout-grid .cart-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-grid .cart-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--pure-white);
    border-radius: var(--radius-12);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.checkout-grid .cart-item.updating {
    opacity: 0.5;
    pointer-events: none;
}

.checkout-grid .cart-item:hover {
    border-color: var(--primary-color);
}

.checkout-grid .item-image {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-grid .item-image svg, .checkout-grid .item-image img {
    width: 120px;
    object-fit: contain;
}

.checkout-grid .item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.checkout-grid .item-meta h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--pure-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.checkout-grid .item-meta p {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.checkout-grid .item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkout-grid .qty-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--ultra-black);
    padding: 0.5rem;
    border-radius: 6px;
    max-width: 150px;
}

.checkout-grid .qty-btn {
    background: transparent;
    border: none;
    color: var(--pure-white);
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.checkout-grid .qty-btn:hover {
    color: var(--primary-color);
}

.checkout-grid .input-qty {
    font-weight: 600;
    text-align: center !important;
    border: 0;
    max-width: 50px !important;
    background-color: transparent;

}

.checkout-grid .item-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--pure-white);
}

.checkout-grid .remove-btn {
    background: transparent;
    border: none;
    color: var(--error-red);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.7;
    transition: var(--transition);
}

.checkout-grid .remove-btn:hover {
    opacity: 1;
}

.checkout-grid .add-items-btn{
    display: block;
    border-radius: var(--radius-12);
    border: 1px solid var(--border-color);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.checkout-grid .summary-card {
    background: var(--eerie-black);
    padding: 2rem;
    border-radius: var(--radius-12);
    position: sticky;
    top: 2rem;
    border: 1px solid var(--border-color);
}

.checkout-grid .summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--pure-white);
}

.checkout-grid .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

.checkout-grid .shipping-free {
    color: var(--secondary-color);
}

.checkout-grid .summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--pure-white);
    font-weight: 800;
    font-size: 1.25rem;
}

.checkout-grid .promo-section {
    margin: 2rem 0;
}

.checkout-grid .promo-label {
    display: block;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.checkout-grid .promo-input-group {
    display: flex;
    gap: 0.5rem;
}

.checkout-grid .promo-input {
    flex-grow: 1;
    background: var(--ultra-black);
    border: 1px solid var(--border-color);
    color: var(--pure-white);
    padding: 0.75rem;
    border-radius: 8px;
    outline: none;
}

.checkout-grid .promo-input:focus {
    border-color: var(--primary-color);
}

.checkout-grid .btn-apply {
    background: var(--eerie-black);
    color: var(--pure-white);
    border: none;
    padding: 0 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.checkout-grid .btn-apply:hover {
    background: var(--text-gray);
}

.checkout-grid .btn-checkout {
    width: 100%;
    background: var(--primary-color);
    color: var(--pure-white);
    border: none;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.checkout-grid .btn-checkout:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.checkout-grid .btn-checkout:not(:disabled):hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(202, 81, 24, 0.2);
}

.checkout-grid .trust-badge {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-gray);
}

.checkout-grid .empty-cart {
    display: none;
    text-align: center;
    padding: 5rem 0;
}

.checkout-grid .empty-cart i {
    font-size: 4rem;
    color: var(--eerie-black);
    margin-bottom: 1.5rem;
}

.checkout-grid .empty-msg-text {
    color: var(--text-gray);
    margin-top: 1rem;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .checkout-grid .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .checkout-grid .item-image {
        width: 100%;
        height: 180px;
    }

    .checkout-grid .item-details {
        width: 100%;
    }

    .checkout-grid .item-meta h3 {
        white-space: normal;
        margin-top: 0.5rem;
    }

    .checkout-grid .item-controls {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .checkout-grid .qty-wrapper {
        width: 100%;
        justify-content: center;
    }

    .checkout-grid .item-price {
        font-size: 1.25rem;
    }
}
/* SELF-CONTAINED COMPONENT SCOPING */
.stacked-checkout-layout {
    --primary-orange: #ca5118;
    --ultra-black: #060606;
    --eerie-black: #1a1a1a;
    --pure-white: #ffffff;
    --text-gray: #a0a0a0;
    --checkout-border-color: #2a2a2a;
    --secondary-color: #4ade80;
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    font-family: 'Inter', -apple-system, system-ui, sans-serif;
    color: var(--pure-white);
    background-color: var(--ultra-black);
    padding: 2rem 1rem;
    border-radius: var(--radius-12);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
}
/* LIGHT THEME SCOPED OVERRIDE */
.stacked-checkout-layout.light-theme {
    --ultra-black: #f8f9fa;
    --eerie-black: #ffffff;
    --pure-white: #1a1a1a;
    --text-gray: #6c757d;
    --checkout-border-color: rgba(0,0,0,0.2);
}

.stacked-checkout-layout * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* NAVIGATION & STEPS */
.stacked-checkout-layout .checkout-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
}

.stacked-checkout-layout .step {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.stacked-checkout-layout .step.active {
    color: var(--primary-color);
    font-weight: 700;
}

.stacked-checkout-layout .step-divider {
    flex-grow: 0;
    width: 15px;
    height: 1px;
    background: var(--checkout-border-color);
}

/* CARD ARCHITECTURE */
.stacked-checkout-layout .checkout-card {
    background: var(--eerie-black);
    border-radius: var(--radius-12);
    border: 1px solid var(--checkout-border-color);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.stacked-checkout-layout .section-header {
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

.stacked-checkout-layout .section-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    color: var(--pure-white);
}

.stacked-checkout-layout .section-header p {
    color: var(--text-gray);
    font-size: 0.85rem;
    max-width: 400px;
    margin: 0 auto;
}
/* PAYMENT MODE SPECIFIC STYLES */
.stacked-checkout-layout .payment-mode-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.5rem;
}

.stacked-checkout-layout .payment-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 1px solid var(--checkout-border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.stacked-checkout-layout .payment-option:hover {
    border-color: var(--primary-color);
    background: rgba(202, 81, 24, 0.05);
}

.stacked-checkout-layout .payment-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--checkout-border-color);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.stacked-checkout-layout .payment-option input[type="radio"]:checked {
    border-color: var(--primary-color);
}

.stacked-checkout-layout .payment-option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.stacked-checkout-layout .payment-option-text {
    display: flex;
    flex-direction: column;
}

.stacked-checkout-layout .payment-option-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pure-white);
}

.stacked-checkout-layout .payment-option-desc {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* TABS */
.stacked-checkout-layout .auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--checkout-border-color);
    justify-content: center;
}

.stacked-checkout-layout .tab {
    flex: 1;
    padding: 1rem 0.5rem;
    text-align: center;
    cursor: pointer;
    color: var(--text-gray);
    font-weight: 600;
    position: relative;
    transition: var(--transition);
    font-size: 0.9rem;
}

.stacked-checkout-layout .tab.active {
    color: var(--primary-color);
    background: rgba(202, 81, 24, 0.05);
}

.stacked-checkout-layout .tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.stacked-checkout-layout .section-content {
    padding: 1.5rem;
}

/* LOGGED IN USER INFO VIEW */
.stacked-checkout-layout .user-profile-summary {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stacked-checkout-layout .user-welcome-msg {
    font-size: 1rem;
    font-weight: 600;
    color: var(--pure-white);
    margin-bottom: 0.5rem;
}

.stacked-checkout-layout .profile-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--checkout-border-color);
}

.stacked-checkout-layout .profile-detail-row:last-child {
    border-bottom: none;
}

.stacked-checkout-layout .detail-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    font-weight: 700;
    display: block;
    margin-bottom: 2px;
}

.stacked-checkout-layout .detail-value {
    font-size: 0.95rem;
    color: var(--pure-white);
}

.stacked-checkout-layout .btn-change {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.stacked-checkout-layout .btn-change:hover {
    background: var(--primary-color);
    color: white;
}

/* MATERIAL-STYLE FORMS */
.stacked-checkout-layout .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.stacked-checkout-layout .form-group {
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.stacked-checkout-layout label {
    display: block;
    font-size: 0.65rem;
    color: var(--primary-color);
    margin-bottom: 0px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
}

.stacked-checkout-layout input.sl-input, 
.stacked-checkout-layout select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--checkout-border-color);
    padding: 0.6rem 0;
    border-radius: 0;
    color: var(--pure-white);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    -webkit-appearance: none;
}

/* FIX: Dropdown option styling for theme compatibility */
.stacked-checkout-layout select option {
    background-color: var(--eerie-black);
    color: var(--pure-white);
}

/* Material focus highlight */
.stacked-checkout-layout .form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.stacked-checkout-layout .form-group:focus-within::after {
    width: 100%;
}

.stacked-checkout-layout .shipping-gate {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--checkout-border-color);
}

.stacked-checkout-layout .shipping-gate h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

/* SUMMARY */
.stacked-checkout-layout .summary-card {
    background: var(--eerie-black);
    border-radius: var(--radius-12);
    border: 1px solid var(--checkout-border-color);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: left;
}

.stacked-checkout-layout .summary-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stacked-checkout-layout .item-preview {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: center;
}

.stacked-checkout-layout .item-thumb {
    flex-shrink: 0;
    width: 40px; height: 40px;
    background: var(--ultra-black);
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-gray);
    border: 1px solid var(--checkout-border-color);
}

.stacked-checkout-layout .item-info {
    flex-grow: 1;
    min-width: 0;
}

.stacked-checkout-layout .item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--pure-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stacked-checkout-layout .item-info p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.stacked-checkout-layout .summary-divider {
    height: 1px;
    background: var(--checkout-border-color);
    margin: 1rem 0;
}

.stacked-checkout-layout .summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.stacked-checkout-layout .total-row {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--checkout-border-color);
    color: var(--pure-white);
    font-weight: 800;
    font-size: 1.1rem;
}

/* ACTIONS */
.stacked-checkout-layout .btn-primary {
    width: 100%;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 1.1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(202, 81, 24, 0.2);
}

.stacked-checkout-layout .btn-primary:active {
    transform: scale(0.98);
}

.stacked-checkout-layout .provider-notice {
    margin-top: 1.25rem;
    padding: 0 1rem;
    font-size: 0.75rem;
    display: flex; 
    gap: 0.6rem;
    justify-content: center;
    text-align: center;
    color: var(--text-gray);
}

.stacked-checkout-layout .text-success { color: var(--secondary-color); }
.stacked-checkout-layout .hidden { display: none !important; }

/* Theme Toggle Button Style */
.theme-toggle-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE MEDIA QUERIES */
@media (min-width: 600px) {
    .stacked-checkout-layout {
        padding: 3rem 2rem;
    }
    .stacked-checkout-layout .section-content {
        padding: 2.5rem;
    }
    .stacked-checkout-layout .checkout-steps {
        gap: 1.5rem;
        font-size: 0.8rem;
    }
    .stacked-checkout-layout .step-divider {
        width: 40px;
    }
}

@media (max-width: 500px) {
    .stacked-checkout-layout .form-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .stacked-checkout-layout .checkout-steps .step span {
        display: none;
    }
    .stacked-checkout-layout .step i {
        font-size: 1.1rem;
    }
}

/* Add To Cart Widget Styles */
.add-to-cart-widget {
    background: var(--pure-white);
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    position: relative;
    color: var(--text-main);
    text-align: left;
}

.add-to-cart-widget .product-info {
    margin-bottom: 20px;
}

.add-to-cart-widget .product-info h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
    line-height: 1.2;
    color: var(--text-main);
}

.add-to-cart-widget .product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.add-to-cart-widget .controls-container {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.add-to-cart-widget .quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-12);
    overflow: hidden;
    height: 48px;
    background: white;
    flex-shrink: 0;
}

.add-to-cart-widget .qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition);
}

.add-to-cart-widget .qty-btn:hover {
    background-color: #f1f5f9;
}

.add-to-cart-widget .qty-input {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    background: transparent;
}

.add-to-cart-widget .add-to-cart-btn {
    flex: 1;
    background-color: var(--primary-color);
    color: white;
    border: none;
    height: 48px;
    border-radius: var(--radius-12);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


.add-to-cart-widget .add-to-cart-btn i{
    font-size: 18px;
}

.add-to-cart-widget .add-to-cart-btn span{

}

.add-to-cart-widget .add-to-cart-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.add-to-cart-widget .icon {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none; /* Icons shouldn't intercept clicks */
}
/* end add to car widget styles */


.cart-summary {
    margin-bottom: 15px;
}

.cart-summary td {
    padding: 0 15px;
}

.cart-summary .price {
    color: red;
}

/*login notice*/
/* Friendly info box styling */
.login-notice-box {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background-color: #f0f7ff; /* Soft blue background */
  border-left: 4px solid #0066cc; /* Blue accent line */
  padding: 10px 12px;
  border-radius: 4px;
  margin-bottom: 12px; /* Space between text and button */
}

.login-notice-box p {
  margin: 0;
  font-size: 13px;
  color: #1e3a5f;
  line-height: 1.4;
}

.info-icon {
  color: #0066cc;
  flex-shrink: 0;
  margin-top: 1px;
}

/*product details styles*/
.standard-checkout {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #212529;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem 4rem 1rem;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
}

.standard-checkout *, 
.standard-checkout *::before, 
.standard-checkout *::after {
    box-sizing: border-box;
}

/* Custom Stepper Styling */
.horizontal-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px;
    background-color: rgba(0, 0, 0, .02);
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 25px;
    margin-top: 10px;
}

.horizontal-stepper .stepper-step {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.horizontal-stepper .stepper-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.horizontal-stepper .stepper-step.completed .stepper-icon {
    background-color: #198754;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(25, 135, 84, 0.25);
}

.horizontal-stepper .stepper-step.active .stepper-icon {
    background-color: #0d6efd;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    ring: 4px solid rgba(13, 110, 253, 0.15);
}

.horizontal-stepper .stepper-step.pending .stepper-icon {
    background-color: #e9ecef;
    color: #6c757d;
}

.horizontal-stepper .stepper-label {
    margin-left: 0.6rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
}

.horizontal-stepper .stepper-step.active .stepper-label {
    color: #0d6efd;
}

.horizontal-stepper .stepper-line {
    flex: 1;
    height: 3px;
    background-color: #e9ecef;
    margin: 0 1rem;
    max-width: 120px;
    position: relative;
    z-index: 1;
    border-radius: 2px;
}

.horizontal-stepper .stepper-line.active {
    background-color: #198754;
}


@media (max-width: 576px) {
    .horizontal-stepper .stepper-step{
        display: block;
        text-align: left;
    }
    .horizontal-stepper .stepper-label {
        display: block;
        margin-top: 10px;
        margin-left: -2px;
        border: 0
    }
    
    .horizontal-stepper .stepper-line {
        max-width: 40px;
        margin-top: -30px;
    }
}

/* Modern Card Containers */
.standard-checkout .checkout-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.standard-checkout .checkout-card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f1f3f5;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.standard-checkout .checkout-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.standard-checkout .checkout-card-body {
    padding: 1.5rem;
}

/* Custom Selection Cards (Radio tiles) */
.standard-checkout .option-tile {
    border: 2px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    margin-bottom: 0.85rem;
    position: relative;
}

.standard-checkout .option-tile:hover {
    border-color: #ced4da;
    background-color: #f8f9fa;
}

.standard-checkout .option-tile.selected {
    border-color: #0d6efd;
    background-color: rgba(13, 110, 253, 0.03);
}

.standard-checkout .option-tile input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.15);
    cursor: pointer;
}

/* Mobile Money Sub-options Box */
.standard-checkout .momo-suboptions {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-top: 1rem;
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Shipping Badge styling */
.standard-checkout .badge-carrier {
    font-size: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
}

/* Sticky Order Summary */
.standard-checkout .sticky-summary {
    position: sticky;
    top: 1.5rem;
}

/* Network Logo Badges */
.standard-checkout .momo-provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}
.standard-checkout .bg-mtn { background-color: #ffcc00; color: #000; }
.standard-checkout .bg-airtel { background-color: #ff0000; color: #fff; }

/* Order Summary Item Dimensions */
.standard-checkout .product-thumb-box {
    width: 50px;
    height: 50px;
}

.standard-checkout .product-thumb-box img{
    width: 100%;
    max-width: 50px;
}

.standard-checkout .product-title-truncate {
    max-width: 170px;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .standard-checkout {
        padding-bottom: 5rem;
    }
    .standard-checkout #submitOrderBtn {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        border-radius: 0 !important;
        margin: 0 !important;
        z-index: 1040;
        padding: 0.9rem 1.25rem;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 576px) {
    .standard-checkout .checkout-card-body {
        padding: 1rem;
    }
}

/*address styles*/

.card-address {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.card-address:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

.badge-default {
  background-color: #e8f5e9;
  color: #2e7d32;
  font-weight: 600;
}

.required-star {
  color: #dc3545;
  font-weight: bold;
}

/* Modal styling polish */
.modal {
  z-index: 10055 !important;
}

.modal-backdrop {
  z-index: 10050 !important;
}

.modal-content {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
}

.modal-header {
  border-bottom: 1px solid #f1f3f5;
  padding: 1.25rem 1.5rem;
}

.modal-footer {
  border-top: 1px solid #f1f3f5;
  padding: 1rem 1.5rem;
}

.form-control:focus, .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

.hint-text {
  font-size: 0.8125rem;
  color: #6c757d;
}

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}

.nowrap {
  white-space: nowrap;
}

.faa-spin {
  animation: fa-spin 2s infinite linear;
}

/*order styles*/

.form-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

/* Share styles between left (::before) and right (::after) lines */
.form-divider::before,
.form-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--text-muted); /* Set to var(--bs-border-color) if using Bootstrap themes */
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.form-divider span {
    position: relative;
    z-index: 1;
    background-color: var(--bs-modal-bg, #ffffff); /* Matches modal background */
    padding: 0 0.75rem;
    font-size: 0.75rem;
    color: var(--bs-secondary-color, #89949d);
    text-transform: uppercase;
    letter-spacing: 1px;
}