body,
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 95%;
}
@media(max-width:575px){
    .container {
    max-width: 100%;
}
}
a {
    color: #007bff;
    text-decoration: none;
    background-color: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height:2;
}
.main-nav li a{
    color:#555;
}
/*.grid-item{*/
/*    display: flex;*/
/*}*/
.main-nav li:hover a{
    color:#ff6a00;
}
.blog-sec a{
    color:#555;
}

.header-bg {
    background-color: #ffffff!important;
}

.btn-warning {
    color: #ffffff!important;
    background-color: #ff6a00;
    border: 1px solid #ff6a00!important;
    border-radius:50px;
}
.btn-type-square{
    border-radius:0;
}

.btn-warning:hover,.btn-warning:focus{
    color: #ff6a00!important;
    background-color: #ffffff;
    border-color: #ff6a00;
}

.btn-outline-warning {
    color: #ff6a00;
    border-color: #ff6a00;
}

.btn-outline-warning:hover {
    color: #ffffff;
    background-color: #ff6a00;
    border-color: #ff6a00;
}

.w-75 {
    width: 90%!important;
}

.fas {
    font-size: 19px;
    font-weight: 800;
    color: #ff6a00;
    padding-right: 10px
}
.btn-warning:hover .fas {
    color: #ff6a00!important;
    background-color: transparent;
    border-color: #ff6a00;
}

.mod {
    flex: 0 0 20%;
    max-width: 20%;
    position: relative;
    width: 100%;
    padding-right: 13px;
    padding-left: 13px;
}


.main-nav li{
    width:100%;
}

/* Legacy card styles - deprecated in favor of product-card-modern */
.card-img {
    overflow: hidden;
}

.card-img .img-resize {
    transition: all .8s ease;
}

.card:hover .img-resize {
    transform: scale(1.06);
}

.card:hover {
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

a:hover {
    text-decoration: none!important;
    color: #555;
}



.scrollup {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #ff6a00;
    padding: 2px 12px;
    z-index: 2;
}


/* Mobile Menu */

.icon-bar {
    position: absolute;
    top: 16px;
    left: 30px;
    font-size: 31px;
}

.mobile-menu span {
    font-size: 4rem;
    color: black;
    float: right;
    margin-top: -25px;
    margin-right: 28px;
}

.mobile-menu span:hover {
    cursor: pointer;
}

.overlay {
    width: 0%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #f1f1f1;
    z-index: 10;
    transition: .5s ease;
    overflow: scroll;
}

.overlay-content {
    position: relative;
    top: 10%;
    text-align: center;
    width: 100%;
    line-height: .8;
    margin-top: 40px;
}

.overlay-content a {
    font-size: 16px;
    text-decoration: none;
    color: #111;
    display: block;
    padding: .2rem 0;
    font-weight: 400;
}

.h5,
h5 {
    font-size: 1rem;
    font-weight: 600;
}

/* Legacy card body styles - deprecated in favor of product-card-modern */
.card-body {
    min-height: 165px;
    padding: .85rem;
}

.card-body-resize {
    min-height: 195px;
}

.overlay-content li:hover a {
    background-color: #ff6a00;
    color: #ffffff!important;
}

.overlay .closebtn {
    font-size: 40px;
    color: black;
    position: absolute;
    text-decoration: none;
    right: 1rem;
    cursor: pointer;
}
 #auctionb{
        height:447px;
    }

/* single blog */

.tags {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.tags li {
    float: left;
}

.tags li a {
    padding: 2px 10px;
    margin-right: 5px;
    margin-bottom: 8px;
    display: inline-block;
    background: #e6e6e6;
    text-decoration: none;
    color: #5b6268;
}

.tags li a:focus,
.tags li a:hover {
    background-color: #ff6a00;
    color: #fff;
}

/* Legacy grid classes - deprecated in favor of product-grid-modern */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    grid-gap: 10px;
    width: 100%;
}

.grid-container-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    width: 100%;
    grid-column-gap: 5px;
}
@media(min-width:1574px) {
    .grid-container-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
        width: 100%;
        grid-column-gap: 5px;
}
}

/* Responsive start*/

@media(max-width:550px) {
    .mobile-menu span {
        margin-top: -3px;
        margin-right: 5px;
        font-size: 3rem;
    }
    .navbtn a {
        font-size: 15px;
    }
     #auctionb{
        height:300px!important;
    }
    .grid-container-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    }
}

@media(max-width:650px) {
    .mobile-menu span {
        margin-top: -3px;
        margin-right: 0px;
        font-size: 3rem;
    }
    .logo-image {
        height: 100px!important;
        border-radius: 50%!important;
        width: 100px!important;
    }
}


@media(max-width:460px) {
    .navbar-brand {
        width: 100%;
        text-align: center;
        margin: 10px 0;
    }
    .add-item {
        margin-top: 90px;
    }

    .navbtn {
        margin-top: 5px;
        margin: auto;
    }
    .navbtn a {
        font-size: 16px;
    }
    .mobile-menu span {
        margin-top: -4px;
    }
    .comment-p {
        width: 100px;
        margin-left: 8px;
    }
    .user-image {
        margin-right: 10px;
    }

    .blog-sec {
        margin-top: 52px;
    }
    .mobile-menu span {
        margin-top: -3px;
        margin-right: 0px;
        font-size: 3rem;
    }

    .about-section{
        margin-top:60px;
    }

    .signup_form{
        margin-top:65px;
    }
    .navbar-brand img {
    width: 250px!important;
    height: 105px!important;
    margin-bottom: 10px;
    }
    .mobile-menu1{
        margin-top:85px;
    }
    .top-ad-small{
        margin-bottom:-16px;
    }
    .navbar-brand img {
    margin-top: -5px!important;
}

}

@media (max-width:767px) {
    .navbar-brand img {
        width: 145px;
        margin-top: -13px;
    }

    .navbtn button,
    .btn1 {
        margin-top: -12px;
    }
    .grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
        grid-gap: 10px;
    }
    .grid-container-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
    }
    .navbtn a {
        font-size: 16px!important;
    }
    .blog-image{
        height:180px!important;
    }
    .cover-photo{
        height:250px;
    }
    .blog-title{
        font-size:24px;
        font-weight:700;
    }
    #auctionb{
        height:400px;
    }
}


/* Header Redesign Styles */
.top-nav-redesigned {
    background: #ffffff;
    padding: 8px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-height: 60px;
    border-bottom: 1px solid #e0e0e0;
}

.navbar-brand-section {
    flex: 0 0 auto;
}

.logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    transition: opacity 0.3s ease;
}

.navbar-brand:hover .logo-img {
    opacity: 0.8;
}

.search-section {
    max-width: 600px;
    margin: 0 20px;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.search-container:focus-within {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-input {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    flex: 1;
    background: transparent;
    outline: none;
    border-radius: 0;
    color: #333;
}

.search-input:focus {
    box-shadow: none;
    border: none;
    outline: none;
}

.search-input::placeholder {
    color: #6c757d;
}

.search-btn {
    background: #007bff;
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.search-btn:hover {
    background: #0056b3;
}

.action-buttons-section {
    flex: 0 0 auto;
}

.action-buttons {
    gap: 10px;
}

.action-btn {
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.action-btn:hover {
    background: #0056b3;
    color: white;
    border-color: #0056b3;
    transform: translateY(-1px);
    text-decoration: none;
}

.action-btn i {
    font-size: 12px;
}

/* Mobile Styles */
.mobile-search .search-container {
    margin-bottom: 0;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
}

.mobile-actions .action-btn {
    font-size: 13px;
    padding: 10px 15px;
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.mobile-actions .action-btn:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
    text-decoration: none;
}

.navbar-toggler {
    border: none;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}
/* --- Mobile Header & Drawer (mobile-first) --- */
.mobile-topbar{position:sticky;top:0;left:0;right:0;z-index:1030;background:#fff;border-bottom:1px solid #e5e7eb;}
.mobile-header-icons{gap:10px;}
.mobile-icon-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;color:#111;background:#fff;border:1px solid #e5e7eb;margin-left:6px;}
.mobile-icon-btn i{color:#e40000;font-size:18px;}
.mobile-icon-btn .mobile-badge{position:absolute;top:-6px;right:-6px;background:#e40000;color:#fff;border-radius:999px;min-width:18px;min-height:18px;line-height:16px;font-size:11px;display:inline-block;text-align:center;padding:0 4px;}

/* Slide-in drawer */
.mobile-drawer{display:none;}
@media (max-width: 991.98px){
  .mobile-drawer{display:block;}
  .mobile-drawer__backdrop{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;visibility:hidden;transition:opacity .25s;z-index:1039;}
  .mobile-drawer.show .mobile-drawer__backdrop{opacity:1;visibility:visible;}
  .mobile-drawer__panel{position:fixed;top:0;bottom:0;left:0;width:80%;max-width:320px;background:#fff;z-index:1040;transform:translateX(-100%);transition:transform .3s ease;box-shadow:2px 0 18px rgba(0,0,0,.12);display:flex;flex-direction:column;}
  .mobile-drawer.show .mobile-drawer__panel{transform:translateX(0);}
  .mobile-drawer__header{padding:12px 14px;border-bottom:1px solid #eee;}
  .mobile-drawer__close{background:#fff;border:1px solid #e5e7eb;border-radius:6px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;color:#111}
  .mobile-drawer__body{padding:12px 14px;overflow:auto;-webkit-overflow-scrolling:touch;}
  .mobile-drawer__nav{display:flex;flex-direction:column;margin-bottom:10px;}
  .mobile-drawer__link{padding:12px 10px;border-radius:8px;border:1px solid #eee;color:#111;background:#fff;margin-bottom:8px;}
  .mobile-drawer__link:active,.mobile-drawer__link:hover{background:#f9fafb;text-decoration:none;}
  .mobile-drawer__actions{display:flex;flex-direction:column;gap:8px;}
  .mobile-drawer__btn{display:flex;align-items:center;min-height:44px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#111;color:#fff;}
}

/* Ensure 44px+ touch targets */
@media (max-width: 767.98px){
  .mobile-icon-btn{width:44px;height:44px;border-radius:10px;}
}
@media (max-width: 991.98px){
  .mobile-drawer.collapse{display:block; height:auto !important;}
  .mobile-drawer.collapsing{height:auto !important; transition:none !important;}
}



.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: 1px solid #dee2e6;
    padding: 4px 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

@media (min-width:768px) {
    .inputmod {
        min-width: 300px;
    }
     nav.top-nav {
        height: 58px;
    }
}

/* Responsive Styles for Header Redesign */
@media (max-width: 991px) {
    .search-section {
        margin: 0 15px;
    }

    .action-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .logo-img {
        height: 35px;
    }
}

@media (max-width: 768px) {
    .top-nav-redesigned {
        padding: 5px 0;
    }

    .logo-img {
        height: 32px;
    }
}

@media (max-width: 576px) {
    .top-nav-redesigned .container-fluid {
        padding: 0 15px;
    }

    .mobile-actions {
        flex-direction: column;
        gap: 8px;
    }

    .mobile-actions .action-btn {
        padding: 12px;
        font-size: 14px;
    }

    .search-input {
        padding: 10px 15px;
        font-size: 13px;
    }

    .search-btn {
        padding: 10px 15px;
    }
}

@media (max-width:820px){
    .navbtn a {
        font-size: 12px;
        padding: 9px;
    }
}

/* Enhanced Desktop Styles */
@media (min-width: 992px) {
    .search-section {
        max-width: 700px;
        margin: 0 30px;
    }

    .search-input {
        padding: 14px 25px;
        font-size: 15px;
    }

    .search-btn {
        padding: 14px 25px;
    }

    .action-btn {
        padding: 10px 20px;
        font-size: 15px;
    }

    .logo-img {
        height: 45px;
    }
}

@media (min-width:992px) {
    .inputmod {
        min-width: 400px;
    }
    .navbtn a {
        font-size: 16px;
    }
    #auction-details{
        margin-left:67px;
    }
}

/* Large Desktop Optimization */
@media (min-width: 1200px) {
    .search-section {
        max-width: 800px;
        margin: 0 40px;
    }

    .top-nav-redesigned .container-fluid {
        max-width: 1200px;
        margin: 0 auto;
    }

    .action-buttons {
        gap: 15px;
    }
}

@media (min-width:1200px) {
    .inputmod {
        min-width: 500px;
    }
}

/* Additional Polish Styles */
.top-nav-redesigned * {
    box-sizing: border-box;
}

.search-form {
    margin: 0;
    width: 100%;
}

.action-buttons-section .btn:last-child {
    margin-right: 0;
}

/* Focus States for Accessibility */
.search-input:focus {
    outline: none;
}

.action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
}

/* Enhanced Homepage Hero Styles */
.homepage-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px 0;
    border-radius: 15px;
    margin: 0 15px;
}

/* Enhanced Search Card Styles */
.hero-search-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-search-card {
    background: #ffffff;
    padding: 30px 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-search-title {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-search-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.4;
}

.search-input-wrapper {
    position: relative;
    margin-bottom: 25px;
}

.hero-search-input {
    border-radius: 50px;
    padding: 15px 55px 15px 20px;
    border: 2px solid #e9ecef;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.hero-search-input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
    outline: none;
}

.hero-search-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ff6a00;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero-search-btn:hover {
    background: #e55a00;
    transform: translateY(-50%) scale(1.05);
}

.hero-search-features {
    display: flex;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.feature-item i {
    color: #ff6a00;
    font-size: 16px;
    padding-right: 0;
}

/* Enhanced Carousel Styles */
.hero-carousel-wrapper {
    height: 100%;
    min-height: 400px;
}

#heroCarousel {
    height: 100%;
    min-height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    position: relative;
    background: #f8f9fa;
}

.hero-slide {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    z-index: 1;
    position: relative;
}

.hero-slide:hover .hero-slide-img {
    transform: scale(1.05);
}

.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
    z-index: 2;
}

.hero-slide-content {
    color: white;
    max-width: 500px;
    position: relative;
    z-index: 3;
    background: rgba(0,0,0,0.15);
    padding: 15px;
    border-radius: 8px;
}

.hero-slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    color: #ffffff;
}

.hero-slide-description {
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    color: #f8f9fa;
    font-weight: 400;
}

.hero-slide-btn {
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    background: rgba(255, 106, 0, 0.85);
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    box-shadow: 0 2px 8px rgba(255, 106, 0, 0.2);
}

.hero-slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
    background: #ffffff;
    color: #ff6a00;
    text-shadow: none;
    border-color: #ff6a00;
}

/* Custom Indicators */
.custom-indicators {
    bottom: 20px;
}

.custom-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.custom-indicators li.active {
    background-color: #ff6a00;
    transform: scale(1.2);
}

/* Custom Controls */
.custom-carousel-control {
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    transition: all 0.3s ease;
}

.custom-carousel-control:hover {
    background: #ff6a00;
    color: white;
    transform: scale(1.1);
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .hero-search-card {
        min-height: 350px;
        padding: 25px 20px;
    }

    .hero-slide {
        height: 350px;
    }

    .hero-carousel-wrapper {
        min-height: 350px;
    }

    .hero-slide-title {
        font-size: 28px;
        text-shadow:
            0 0 8px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.7),
            3px 3px 10px rgba(0,0,0,0.5);
    }

    .hero-slide-description {
        font-size: 16px;
        text-shadow:
            0 0 6px rgba(0,0,0,0.8),
            1px 1px 5px rgba(0,0,0,0.7),
            2px 2px 8px rgba(0,0,0,0.5);
    }

    .hero-slide-overlay {
        padding: 30px;
    }
}

@media (max-width: 767.98px) {
    .homepage-hero {
        margin: 0 10px;
        padding: 15px 0;
    }

    .hero-search-card {
        min-height: 300px;
        padding: 20px 15px;
    }

    .hero-slide {
        height: 300px;
    }

    .hero-carousel-wrapper {
        min-height: 300px;
    }

    .hero-slide-title {
        font-size: 24px;
        text-shadow:
            0 0 6px rgba(0,0,0,0.9),
            1px 1px 4px rgba(0,0,0,0.8),
            2px 2px 8px rgba(0,0,0,0.6);
    }

    .hero-slide-description {
        font-size: 14px;
        margin-bottom: 20px;
        text-shadow:
            0 0 5px rgba(0,0,0,0.9),
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.6);
    }

    .hero-slide-overlay {
        padding: 20px;
    }

    .hero-search-features {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 575.98px) {
    .hero-search-card {
        min-height: 250px;
    }

    .hero-slide {
        height: 250px;
    }

    .hero-carousel-wrapper {
        min-height: 250px;
    }

    .hero-slide-title {
        font-size: 20px;
        text-shadow:
            0 0 5px rgba(0,0,0,0.9),
            1px 1px 3px rgba(0,0,0,0.8),
            2px 2px 6px rgba(0,0,0,0.7);
    }

    .hero-slide-description {
        font-size: 13px;
        text-shadow:
            0 0 4px rgba(0,0,0,0.9),
            1px 1px 2px rgba(0,0,0,0.8),
            2px 2px 5px rgba(0,0,0,0.7);
    }

    .hero-slide-btn {
        padding: 8px 16px;
        font-size: 12px;
        text-shadow: 1px 1px 1px rgba(0,0,0,0.4);
        box-shadow: 0 2px 6px rgba(255, 106, 0, 0.2);
    }
}

/* Mobile Hero Styles */
.mobile-hero {
    background: #f8f9fa;
    padding: 15px 0;
    border-radius: 12px;
    margin: 0 10px;
}

.mobile-search-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mobile-search-wrapper {
    position: relative;
}

.mobile-search-input {
    border-radius: 25px;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e9ecef;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.mobile-search-input:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.15rem rgba(255, 106, 0, 0.25);
    outline: none;
}

.mobile-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ff6a00;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-search-btn:hover {
    background: #e55a00;
    transform: translateY(-50%) scale(1.05);
}

.mobile-carousel-wrapper {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#mobileCarousel {
    height: 200px;
}

.mobile-slide {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.mobile-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mobile-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 25px 20px 20px;
    text-align: center;
}

.mobile-slide-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mobile-slide-content .btn {
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-indicators {
    bottom: 10px;
}

.mobile-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    margin: 0 3px;
}

.mobile-indicators li.active {
    background-color: #ff6a00;
}

/* Mobile specific adjustments */
@media (max-width: 575.98px) {
    .mobile-hero {
        margin: 0 5px;
        padding: 10px 0;
    }

    .mobile-search-card {
        padding: 12px;
    }

    .mobile-search-input {
        font-size: 14px;
        padding: 10px 40px 10px 12px;
    }

    .mobile-search-btn {
        width: 32px;
        height: 32px;
    }

    #mobileCarousel {
        height: 180px;
    }

    .mobile-slide {
        height: 180px;
    }

    .mobile-slide-content {
        padding: 20px 15px 15px;
    }

    .mobile-slide-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .mobile-slide-content .btn {
        padding: 6px 15px;
        font-size: 12px;
    }
}



/* Modern Search Page Styles */
.search-page-modern {
    background: #f8f9fa;
    min-height: 100vh;
    padding-bottom: 2rem;
}

.search-header-section {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    padding: 2rem 0 1.5rem;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.search-again-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.search-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-icon {
    color: #ff6a00;
    font-size: 1.75rem;
}

.search-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.search-term {
    color: #ff6a00;
    font-weight: 600;
    background: #fff3e0;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-modern {
    border-radius: 50px;
    padding: 12px 55px 12px 20px;
    border: 2px solid #e9ecef;
    font-size: 16px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 50px;
}

.search-input-modern:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
    outline: none;
}

.search-btn-modern {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ff6a00;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn-modern:hover {
    background: #e55a00;
    transform: translateY(-50%) scale(1.05);
    color: #fff;
}

.search-results-section {
    padding: 0 0 2rem;
}

.search-controls-bar {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    border: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.search-stats .results-count {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.search-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
}

.view-toggle-btn {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: #64748b;
    transition: all 0.2s ease;
    cursor: pointer;
}

.view-toggle-btn.active,
.view-toggle-btn:hover {
    background: #ff6a00;
    color: #fff;
}

.sort-select {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    min-width: 180px;
    font-size: 14px;
}

.sort-select:focus {
    border-color: #ff6a00;
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
    outline: none;
}

/* Search Results Grid */
.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.search-results-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.search-product-card {
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.search-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-color: #ff6a00;
}

.search-results-grid.list-view .search-product-card {
    flex-direction: row;
    height: auto;
}

.search-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

.search-results-grid.list-view .search-card-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.quick-add-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.9);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 2;
}

.search-product-card:hover .quick-add-btn {
    opacity: 1;
    transform: scale(1);
}

.quick-add-btn:hover {
    background: #e55a00;
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.pending-badge {
    background: #f59e0b;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #fff;
    transition: transform 0.3s ease;
}

.search-product-card:hover .product-image {
    transform: scale(1.05);
}

.search-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.search-results-grid.list-view .search-card-content {
    padding: 1rem;
}

.product-category {
    margin-bottom: 0.5rem;
}

.category-tag {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
}

.search-product-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    min-height: 3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-link:hover {
    color: #ff6a00;
    text-decoration: none;
}

.search-product-price {
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.375rem;
    font-weight: 700;
    color: #059669;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.currency {
    font-size: 1.125rem;
    color: #6b7280;
}

.search-product-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.search-results-grid.list-view .search-product-actions {
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
}

.search-product-actions .btn {
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
}

.search-product-actions .btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.product-details-btn:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.add-cart-btn:hover {
    background: #d97706;
    border-color: #d97706;
}

.copy-link-btn:hover {
    background: #374151;
    border-color: #374151;
    color: #fff;
}

/* No Results Section */
.no-results-section {
    padding: 4rem 2rem;
    text-align: center;
}

.no-results-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.no-results-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.no-results-text {
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.no-results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-suggestions h6 {
    color: #6b7280;
    margin-bottom: 1rem;
    font-weight: 600;
}

.suggestion-tags {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.suggestion-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.suggestion-tag:hover {
    background: #ff6a00;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Google Search Section */
.google-search-section {
    padding: 2rem 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
}

.google-search-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.25rem;
    }

    .search-card-image {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .search-again-card {
        padding: 1.25rem 1.5rem;
    }

    .search-page-title {
        font-size: 1.75rem;
    }

    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .search-card-image {
        height: 200px;
    }

    .search-controls-bar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-actions {
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .search-header-section {
        padding: 1.5rem 0 1rem;
    }

    .search-again-card {
        padding: 1rem;
    }

    .search-page-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .search-subtitle {
        font-size: 1rem;
    }

    .search-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 0.875rem;
    }

    .search-card-image {
        height: 180px;
    }

    .search-results-grid.list-view .search-card-image {
        width: 120px;
        height: 120px;
    }

    .search-card-content {
        padding: 1rem;
    }

    .search-product-title {
        font-size: 1rem;
        min-height: 2.5rem;
    }

    .search-product-actions {
        flex-direction: column;
    }

    .search-product-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .no-results-content {
        padding: 2rem 1rem;
    }

    .no-results-actions {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .search-page-modern {
        padding-bottom: 1rem;
    }

    .search-again-card .row {
        flex-direction: column;
    }

    .search-again-card .col-lg-4 {
        margin-top: 1rem;
    }

    .search-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .search-card-image {
        height: 140px;
    }

    .search-results-grid.list-view {
        grid-template-columns: 1fr;
    }

    .search-results-grid.list-view .search-product-card {
        flex-direction: column;
    }

    .search-results-grid.list-view .search-card-image {
        width: 100%;
        height: 160px;
    }

    .search-card-content {
        padding: 0.875rem;
    }

    .search-product-title {
        font-size: 0.9rem;
        min-height: 2.25rem;
        -webkit-line-clamp: 2;
    }

    .price-range {
        font-size: 1.125rem;
    }

    .view-toggle {
        display: none;
    }

    .sort-select {
        width: 100%;
    }
}

@media (max-width: 320px) {
    .search-results-grid {
        grid-template-columns: 1fr;
    }

    .search-card-image {
        height: 180px;
    }

    .no-results-icon {
        font-size: 3rem;
    }

    .no-results-title {
        font-size: 1.5rem;
    }
}

/*checkout css */


@media(max-width:575px) {
     .grid-container-wrap {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    }
 .cart-section {
  margin:10px 0
 }
}
.cart-section h2 {
 text-align:center;
 margin:30px 0;
 text-transform:uppercase;
 color:#202020
}
.cart-table {
 border:1px solid #e1e1e1;
 border-radius:4px
}
table.scrollTable tbody {
 display:block;
 max-height:50vh;
 overflow-x:auto
}
table.scrollTable thead,
table.scrollTable tbody tr {
 display:table;
 width:100%;
 table-layout:fixed;
 border-bottom:1px solid #f2f2f2
}
.cart-table thead tr th {
 text-align:center;
 color:#202020;
 height:40px;
 padding:15px 10px;
 text-transform:capitalize;
 vertical-align:middle;
 font-weight:500;
 font-size:18px;
 border:medium;
 outline:none
}
.cart-table thead tr th:first-child {
 text-align:left
}
.cart-table tbody tr td {
 text-align:center;
 display:inline-block
}
.cart-table thead tr th.details {
 padding-left:20px;
 width:40%
}
.cart-table thead tr th.price,
.cart-table thead tr th.qty,
.cart-table thead tr th.total{
 width:20%
}
.cart-table tr td {
 width:19%
}
.cart-table tr td:first-child {
 width:40%
}

.cart-table tbody tr:first-child td {
 padding-top:30px
}
.cart-table tbody tr td {
 border-top:medium;
 padding:20px 15px;
 vertical-align:middle
}
.cart-table .cart-product {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-align:center;
 -ms-flex-align:center;
 align-items:center;
 text-align:left
}
.cart-table .cart-product .product-img {
 min-width:65px;
 max-width:65px;
 width:65px;
 height:65px;
 margin-right:15px;
 overflow:hidden
}
.cart-table .cart-product img {
 width:100%;
 height:100%;
 display:block
}
.cart-table .cart-product .product-details a {
    font-size: 16px;
    color: #202020;
    text-transform: capitalize;
    overflow: hidden;
    line-height: 1.6;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-table .cart-product .product-attributes>span {
 display:block;
 font-size:14px;
 margin-bottom:1px;
 color:#4e4e4e
}
.cart-table .product-price,
.cart-table .product-stock,
.cart-table .product-total,
.sm-cart-table .product-price {
 color:#202020;
 font-size:18px;
 font-weight:500;
 margin-bottom:0
}
.cart-table .product-count .counter {
 height:35px;
 line-height:35px
}
.cart-table .product-count .counter-field {
 height:35px
}
.cart-table .product-stock {
 text-transform:capitalize
}
.cart-table .product-remove,
.sm-cart-table .product-remove {
 display:inline-block;
 cursor:pointer;
 color:#000;
 margin-bottom:5px
}
.cart-table .product-remove i,
.sm-cart-table .product-remove i {
 display:inline-block;
 font-size:12px;
 color:#777;
}
.cart-table .product-remove:hover i,
.sm-cart-table .product-remove:hover i {
 color:#e40d0db8
}
.sm-cart-table .product-info {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-orient:horizontal;
 -webkit-box-direction:normal;
 -ms-flex-direction:row;
 flex-direction:row
}
.sm-cart-table .product-info .flex-item {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-pack:justify;
 -ms-flex-pack:justify;
 justify-content:space-between
}
.sm-cart-table .product-img {
 width:80px;
 height:auto;
 margin-right:20px
}
.sm-cart-table .product-img img {
 width:100%;
 height:auto
}
.sm-cart-table .product-content-wrapper {
 width:100%
}
.sm-cart-table .product-content-wrapper .product-details>p {
 display:inline-block;
 font-size:16px;
 color:#202020;
 text-transform:capitalize
}
.sm-cart-table .product-price {
 margin-top:3px;
 margin-bottom:10px;
 font-weight:500
}
.sm-cart-table .product-remove {
 margin-left:35px
}
.sm-cart-table .product-attributes>span {
 display:block;
 font-size:14px;
 text-transform:capitalize;
 margin-bottom:5px
}
.lg-cart-table {
 display:block
}
.sm-cart-table {
 display:none
}
@media(max-width:767px) {
 .cart-section .checkout-process-content {
  border:1px solid #e1e1e1;
  padding:20px
 }
 .lg-cart-table {
  display:none
 }
 .sm-cart-table {
  display:block
 }
}


 .grand-total p {
     margin-bottom: 0;
    font-size: 22px;
    font-weight: 600;
}
 .grand-total span {
    font-size: 20px;
}

.has-error-text {
    color: red;
    font-size: 12px;
    margin-top: 3px;
    display: none;
}

/*increase/decrease btn */

.product-count {
 width:100px;
 display:inline-block;
 position:relative
}
.item-count {
 width:100%
}
.product-count .btn-minus {
 display:inline-block;
 position:absolute;
 top:0;
 left:0;
 overflow:hidden
}
.product-count .btn-plus {
 display:inline-block;
 position:absolute;
 top:0;
 right:0;
 overflow:hidden
}
.product-count .counter {
 outline:0;
 background:0 0;
 color:#202020;
 border:none;
 font-size:13px;
 padding:0;
 width:27px;
 height:30px;
 line-height:30px
}
.product-count .counter {
 height:36px;
 width:35px;
 line-height:35px

}
@media(max-width:767px){
        .product-count .counter {
        height: 30px;
        width: 35px;
        line-height: 30px;
    }
}
 .product-count .counter i {
 color:#fff;
 font-weight: 700;
 font-size: 11px;
 color: #777;
 padding: 0;
}
.product-count .counter-field {
 background:#fff;
 border:1px solid #e1e1e1;
 color:#202020;
 width:100%;
 text-align:center;
 height:30px;
 border-radius:4px;
 overflow:hidden;
 font-size:16px

}

.item-action .product-count .counter-field {
 border-top-right-radius:0;
 border-bottom-right-radius:0
}

 .btn-checkout {
     width: 100%;
    text-align: center;
    display: block;
    background: #ff6a00;
    color: #fff;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
}

 .btn-checkout:hover {
    background: #ff6a00;
    color: #fff;
}
.default-btn {
    display: block;
    background-color: #ff6a00;
    color: #fff;
    outline: none;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    height: 40px;
    line-height: 38px;
    cursor: pointer;
    text-align: center;
    padding: 0 15px;
}

.modal-close-btn {
    position: absolute;
    top: 13px;
    right: 13px;
    font-size: 22px;
    color: #000;
    opacity: .5;
    font-weight: 400;
    cursor: pointer;
}

.modal-close-btn i{
    color:#777;
    font-weight:700;
}

.nav-link {
    outline: 0;
}


/*order track */

.order-track-page{
    margin:20px 0;
}

.tracked-header {
    font-weight: 500;
    color: #202020;
    text-transform: uppercase;
    margin: 30px 0;
}

.step {
    padding: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}

.step .step-icon {
    position: relative;
}

.step .progress-circle {
    background-color: #fff;
    border: 3px solid #ff6a00;
    border-radius: 50px;
    width: 20px;
    height: 20px;
    display: inline-block;
}

.step .progress-line {
    top: 20px;
    left: 9px;
    height: 100%;
    position: absolute;
    border-left: 3px solid #ff6a00;
}

.step.step-completed .progress-circle {
    visibility: visible;
    background-color: #fff;
    border-color: #ff6a00;
}
.step.step-completed .progress-circle:after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 9px;
    border: 2px solid #ff6a00;
    border-left: none;
    border-top: none;
    -webkit-transform: translate(7.75px, 4.5px) rotate(45deg);
        -ms-transform: translate(7.75px, 4.5px) rotate(45deg);
            transform: translate(7.75px, 4.5px) rotate(45deg);
}

.step.step-completed .progress-line {
    border-left: 3px solid #ff6a00;
}

.step:last-child .progress-line {
    border-left: 3px solid #fff;
    z-index: -1;
}

.track-step-content,
.order-track-content {
    margin-left: 20px;
    display: inline-block;
    margin-bottom: 10px;
    width: 100%;
}

.order-track-step .track-step-content .order-title,
.order-track-title {
    color: #202020;
    font-size: 20px;
    margin-bottom: 0;
    margin-top: -2px;
    text-transform: capitalize;
    font-weight: 500;
}

.order-track-step .track-step-content .order-time {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    color: #7e7e7e;
    font-weight: 500;
}

.order-track-step .track-step-content .order-subtitle {
    font-size: 16px;
    color: #4e4e4e;
    margin-bottom: 0;
    text-transform: capitalize;
}

.order-track-option-wrapper {
    padding: 10px;
}

.order-track-option-wrapper span i {
    font-size: 20px;
    color: #ff6a00;
    display: inline-block;
    margin-top: -2px;
}

.order-track-subtitle > a {
    font-size: 16px;
    display: inline-block;
    color: #4E4E4E;
    margin-bottom: 5px;
}

.order-track-subtitle span {
    font-size: 16px;
    display: inline-block;
    color: #4E4E4E;
    margin-bottom: 5px;
}

.order-track-subtitle .track-date {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 14px;
    color: #7e7e7e;
    font-weight: 500;
}

.form-inprogress-line{
    width: 100%;
}

.order-track-btn {
    font-size: 16px;
    font-weight: 500;
    border-radius:4px;
    height: 40px;
    line-height: 40px;
    padding: 0 13px;
    color: #fff;
    border: 1px solid #ff6a00;
    background: #ff6a00;
    margin-top: 12px;
    width: 80px;
}


/*order success */

@media(max-width:991px) {
 .single__order__page {
  margin-top:24px
 }
}
.single__order__page .main-content-wrapper {
 padding:45px 10px
}
.single__order__page .table thead th {
 border-bottom:none
}
.single__order__page .table td,
.table th {
 border-top:none
}
.order-details .section-title {
 position:relative
}
.order-details .section-title i.ri-printer-fill {
 position:absolute;
 right:4px;
 font-size:18px;
 cursor:pointer;
 top:50%;
 -webkit-transform:translateY(-50%);
 -ms-transform:translateY(-50%);
 transform:translateY(-50%);
 color:#4e4e4e;
 margin-top:-9px
}
.order-details .section-title i.ri-checkbox-circle-fill {
 color:#02cb87;
 display:inline-block;
 margin-right:7px;
 margin-top:-3px;
 font-size:25px
}
.order-details .content-wrapper .content-title {
 margin:20px 0 12px;
 color:#202020;
 font-size:14px;
 text-transform:uppercase;
 font-weight:600
}
.order-details .content-wrapper .info-row {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 font-size:14px;
 color:#4e4e4e;
 margin-bottom:10px;
 -webkit-box-align:center;
 -ms-flex-align:center;
 align-items:center
}
.order-details .content-wrapper .info-label,
.order-details .content-wrapper .info-value {
 width:50%;
 font-size:16px;
 color:#4e4e4e
}
.order-details .order-note .info-label {
 width:100%
}
.order-details .content-wrapper .info-value.status__paid,
.order-details .content-wrapper .info-value.status__pending {
 border-radius:4px;
 color:#3dd0ff;
 font-size:12px;
 text-transform:uppercase;
 font-weight:600
}
.order-details .content-wrapper .info-value.status__pending {
 color:#8e98bf
}
.order-details .content-wrapper .info-value.coupon-code {
 color:#ff6a00
}
.order-details .content-wrapper .info-value.grand-total {
 color:#ff6a00;
 font-size:18px;
 font-weight:500
}
.order-details .address-info-row .info-label {
 margin-bottom:4px;
 width:100%
}
.product-info-table .product-img-name {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-align:center;
 -ms-flex-align:center;
 align-items:center
}
.product-info-table .product-img-name .product-img {
 margin-right:25px;
 height:60px;
 width:60px
}
.product-info-table .product-img-name .product-attribute {
 display:block;
 margin-top:5px
}
.product-info-table .product-img-name .product-attribute>span {
 display:block;
 color:#4e4e4e;
 font-size:14px;
 margin-bottom:5px
}
@media screen and (max-width:991px) {
 .product-info-table .product-table {
  display:none
 }
}
.product-info-table .product-table-md {
 display:none
}
@media screen and (max-width:991px) {
 .product-info-table .product-table-md {
  display:block
 }
}
.product-info-table .product-table-md .md-product-row {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 margin:15px
}
.product-info-table .product-table-md .md-product-row .product-price {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-pack:justify;
 -ms-flex-pack:justify;
 justify-content:space-between;
 color:#202020;
 font-size:16px
}
.product-info-table .product-table-md .product-img {
 width:60px;
 height:60px;
 margin-right:20px
}

.product-info-table .product-table-md .product-img img{
    width:100%;
}
.product-info-table .product-table-md .product-desc {
 font-size:14px;
 -webkit-box-flex:1;
 -ms-flex:1;
 flex:1;
 color:#4e4e4e
}
.product-info-table .product-table-md .name-qnt {
 display:-webkit-box;
 display:-ms-flexbox;
 display:flex;
 -webkit-box-pack:justify;
 -ms-flex-pack:justify;
 justify-content:space-between;
 -webkit-box-align:center;
 -ms-flex-align:center;
 align-items:center;
 margin-bottom:10px
}
.product-info-table .product-table-md .name-qnt .qnt {
 margin-left:15px;
 width:50px;
 text-align:right;
 color:#202020;
 font-size:16px
}
.product-info-table .product-table-md .product-attributes {
 margin-top:5px
}
.product-info-table.product-table-md .product-attributes span {
 display:block;
 font-size:12px;
 line-height:12px
}
.ts-custom-select.category-select {
 margin-bottom:25px
}
.product__img__name .product__attributes span {
 display:block;
 font-size:12px
}
.border-top,
hr {
 border-top:1px solid #f1f1f1!important
}
.main-content-wrapper .section-title {
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 500;
    color: #202020;
    border-bottom: 1px solid #f1f1f1;
    height: 56px;
    line-height: 45px;
    margin-bottom: 0;
}

.order-details .section-title i.fa-print {
    position: absolute;
    right: 4px;
    font-size: 18px;
    cursor: pointer;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #4e4e4e;
    margin-top: -9px;
}

.custom-checkbox {
 position:relative
}
.custom-checkbox label {
 padding-left:30px;
 font-size:14px
}
.custom-checkbox input[type=checkbox] {
 display:none
}
input[type=checkbox]+.box:after {
 content:' ';
 position:absolute;
 left:0;
 top:0;
 display:inline-block;
 width:20px;
 height:20px;
 border:1px solid #e1e1e1;
 border-radius:4px;
 background-color:#fff;
 z-index:2;
 cursor:pointer
}
input[type=checkbox]:checked+.box:after {
 background-color:#fff;
 border-color:#ff6a00;
 border-width:2px
}
input[type=checkbox]:checked+.box:before {
 -webkit-transform:rotate(45deg);
 -ms-transform:rotate(45deg);
 transform:rotate(45deg);
 position:absolute;
 left:8px;
 top:4px;
 width:5px;
 height:10px;
 border-width:2px;
 border-style:solid;
 border-top:0;
 border-left:0;
 border-color:#ff6a00;
 content:'';
 z-index:3
}
input[type=radio] {
 position:relative;
 width:16px;
 height:16px;
 display:inline-block;
 border-radius:50px;
 background-color:#fff;
 border:1px solid #e1e1e1;
 cursor:pointer;
 outline:none;
 vertical-align:middle;
 margin-right:5px;
 margin-top:-3px;
 -webkit-appearance:none;
 -moz-appearance:none;
 appearance:none
}
input[type=radio]:checked {
 border:1px solid #ff6a00;
}
input[type=radio]:after {
 content:'';
 position:absolute;
 left:-1px;
 top:-1px;
 height:16px;
 width:16px;
 border-radius:50px;
 pointer-events:none;
 overflow:hidden;
 -webkit-transform:scale(0);
 -ms-transform:scale(0);
 transform:scale(0)
}
input[type=radio]:checked:after {
 background-color:#ff6a00;
 -webkit-transform:scale(.5);
}

/* Cleanup: removed stray, unscoped transform/transition rules that broke CSS parsing */

/* Hardening: ensure Latest Products uses new lp-* layout even if older CSS lingers */
/* Specificity boost to defeat legacy overrides */
#lpTrack { display: flex; flex-direction: row; flex-wrap: nowrap; gap: 16px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 8px; min-width: 0; }
#lpTrack .lp-card { flex: 0 0 240px; scroll-snap-align: start; min-width: 0; }
@media (max-width: 320px){
  #lpTrack { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; padding: 0; }
}
@media (min-width: 321px) and (max-width: 480px){
  #lpTrack { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; overflow: visible; padding: 0; }
}
@media (min-width: 481px) and (max-width: 768px){
  #lpTrack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; overflow: visible; padding: 0; }
}

.latest-products .lp-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.latest-products .lp-card { flex: 0 0 240px; min-width: 0; scroll-snap-align: start; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.latest-products .lp-img-wrap { position: relative; width: 100%; height: 220px; overflow: hidden; border-top-left-radius: 14px; border-top-right-radius: 14px; }
.latest-products .lp-img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; background:#fff; }
.latest-products .lp-body { padding: 12px; }
.latest-products .lp-title { font-size: 14px; font-weight: 700; color: #111827; margin: 0 0 6px 0; }
.latest-products .lp-price { font-weight: 800; color: #059669; }

@media (max-width: 768px){
  .latest-products .lp-track { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; overflow: visible; }
  .latest-products .lp-card { min-height: 280px; }
  .latest-products .lp-img-wrap { height: 160px; }
}

/* Latest Products - Responsive Design */
.latest-products {
    position: relative;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.lp-heading {
    font-size: 22px;
    font-weight: 800;
    color: #111827;
    border-bottom: 3px solid #facc15;
    display: inline-block;
    margin-bottom: 16px;
}

/* Desktop: Horizontal scroll layout */
@media (min-width: 769px) {
    /* Force horizontal scroll on desktop for Latest Products */
    #lpTrack { display: flex !important; flex-direction: row; flex-wrap: nowrap; gap: 16px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: 8px; min-width: 0; }
    #lpTrack .lp-card { flex: 0 0 240px; scroll-snap-align: start; min-width: 0; }

    .lp-track {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 16px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        min-width: 0;
    }

    .lp-track::-webkit-scrollbar { height: 8px; }
    .lp-track::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 8px; }

    .lp-card {
        flex: 0 0 240px;
        scroll-snap-align: start;
        min-width: 0;
    }

    .lp-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #e5e7eb;
        background: #fff;
        color: #111827;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0,0,0,.08);
        z-index: 2;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .lp-nav:hover {
        background: #f3f4f6;
        box-shadow: 0 4px 12px rgba(0,0,0,.12);
    }

    .lp-prev { left: -10px; }
    .lp-next { right: -10px; }
    .lp-nav:focus { outline: 2px solid #2563eb; outline-offset: 2px; }
}

/* Mobile and Tablet: Grid layout */
@media (max-width: 768px) {
    .lp-track { display: grid; gap: 16px; overflow: visible; padding: 0; }
    .lp-nav { display: none !important; }
    .lp-heading { font-size: 20px; }
}

/* Mobile breakpoints for grid columns (class selector for safety on legacy markup) */
@media (max-width: 320px) {
    .lp-track { grid-template-columns: 1fr; gap: 12px; }
}
@media (min-width: 321px) and (max-width: 480px) {
    .lp-track { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
/* Tablet breakpoints */
@media (min-width: 481px) and (max-width: 768px) {
    .lp-track { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}

/* Large tablet to small desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .lp-card { flex: 0 0 calc((100% - 3*16px)/4); }
    .lp-img-wrap { height: 200px; }
}

@media (min-width: 1200px) {
    .lp-card { flex: 0 0 calc((100% - 4*16px)/5); }
    .lp-img-wrap { height: 200px; }
}

/* Card styling - consistent across all layouts */
.lp-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lp-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    border-color: #d1d5db;
}

.lp-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lp-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    flex-shrink: 0;
}

.lp-img {
    width: 100%;
    height: 100%;
    object-fit: contain; object-position: center; background:#fff;
    display: block;
}

.lp-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.lp-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    min-height: 38px;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lp-price {
    margin-top: auto;
    font-weight: 800;
    color: #059669;
    font-size: 16px;
    text-align: center;
}

.lp-price .currency {
    font-size: 14px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .lp-card {
        min-height: 280px;
    }

    .lp-img-wrap {
        height: 160px;
    }

    .lp-title {
        font-size: 13px;
        min-height: 34px;
    }

    .lp-price {
        font-size: 15px;
    }

    .lp-body {
        padding: 10px;
    }
}

/* Latest Products - Enhanced Design Consistency */
.latest-products .btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.latest-products .btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    color: white;
    text-decoration: none;
}

/* Add-to-Cart floating button (moved from layout inline CSS) */
.card-img-wrapper { position: relative; }
.add-to-cart-fab {
    position: absolute; right: 8px; bottom: 8px;
    width: 40px; height: 40px; border-radius: 50%;
    background: transparent; border: 1px solid rgba(255,255,255,0.75);
    box-shadow: 0 2px 10px rgba(0,0,0,0.22), inset 0 0 0 1px rgba(0,0,0,0.06);
    display:flex; align-items:center; justify-content:center; cursor:pointer;
    z-index: 5; pointer-events: auto; touch-action: manipulation;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease;
}
.add-to-cart-fab:hover { transform: translateY(-1px); box-shadow: 0 0 0 4px rgba(25,118,210,0.10), 0 8px 16px rgba(0,0,0,0.14); }
.add-to-cart-fab:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(25,118,210,0.16), 0 8px 16px rgba(0,0,0,0.14); }
.add-to-cart-fab i { color:#ffffff; text-shadow: 0 1px 2px rgba(0,0,0,0.35); font-size: 18px; }


/* Focus states for accessibility */
.lp-card:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.lp-card-link:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 14px;
}

/* Loading state for lazy images */
.lp-card .lp-img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

/* Print styles */
@media print {
    .lp-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .lp-card:hover {
        transform: none;
        box-shadow: none;
    }

    .lp-nav {
        display: none !important;
    }
}

/* Modern Product Card Design System */
.product-card-modern {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.product-card-modern .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8fafc;
    pointer-events: none; /* prevent overlay blocking */
}
.product-card-modern .card-img-wrapper > * { pointer-events: auto; }

.product-card-modern .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; object-position:center; background:#fff;
    transition: transform 0.3s ease;
}

.product-card-modern:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.product-card-modern .card-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-modern .product-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-modern .product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card-modern .product-title a:hover {
    color: #2563eb;
}

.product-card-modern .product-price {
    font-size: 18px;
    font-weight: 800;
    color: #059669;
    margin: 8px 0;
    text-align: center;
}

.product-card-modern .product-price .currency {
    font-size: 16px;
}

.product-card-modern .product-meta {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
    margin-bottom: 12px;
}

.product-card-modern .product-action {
    margin-top: auto;
}

.product-card-modern .btn-details {
    width: 100%;
    background: #f59e0b;
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.product-card-modern .btn-details:hover {
    background: #d97706;
    color: white;
    text-decoration: none;
}

/* Grid System for Product Cards */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Responsive Design for Product Cards */
@media (max-width: 1200px) {
    .product-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 18px;
    }

    .product-card-modern .card-img-wrapper {
        height: 200px;
    }
}

@media (max-width: 992px) {
    .product-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 16px;
    }

    .product-card-modern .card-img-wrapper {
        height: 180px;
    }

    .product-card-modern .card-content {
        padding: 14px;
    }
}

@media (max-width: 768px) {
    .product-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 14px;
    }

    .product-card-modern .card-img-wrapper {
        height: 160px;
    }

    .product-card-modern .product-title {
        font-size: 15px;
        min-height: 40px;
    }

    .product-card-modern .product-price {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .product-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }

    .product-card-modern .card-img-wrapper {
        height: 140px;
    }

    .product-card-modern .card-content {
        padding: 12px;
    }

    .product-card-modern .product-title {
        font-size: 14px;
        min-height: 36px;
    }

    .product-card-modern .product-price {
        font-size: 15px;
    }

    .product-card-modern .btn-details {
        padding: 8px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 320px) {
    .product-grid-modern {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-card-modern .card-img-wrapper {
        height: 180px;
    }
}

/* Category Product Blocks Specific Styles */
.category-header {
    margin-bottom: 1rem;
}

.category-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
}

.category-footer .btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.category-footer .btn:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    color: white;
    text-decoration: none;
}

/* Enhanced accessibility and focus states */
.product-card-modern:focus-within {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

.product-card-modern .product-title a:focus,
.product-card-modern .btn-details:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Loading state for lazy images */
.product-card-modern .card-img-wrapper img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print styles */
@media print {
    .product-card-modern {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .product-card-modern:hover {
        transform: none;
        box-shadow: none;
    }
}

 -ms-transform:scale(.5);
 transform:scale(.5);
 -webkit-transition:all .2s ease-in-out;
 -o-transition:all .2s ease-in-out;
 transition:all .2s ease-in-out
}

/* --- Cart & Add-to-Cart Responsive Enhancements (Bootstrap 4.3.1 breakpoints) --- */
#cartCounter{ display:inline-block; min-width:20px; min-height:20px; line-height:18px; font-size:12px; padding:0 6px; }
.mini-cart-list li{ padding:6px 4px; }
.mini-cart-list img{ width:40px; height:40px; object-fit:contain; object-position:center; border-radius:4px; background:#fff; }

/* Buttons inside product cards keep consistent tap areas */

/* Category Compact Cards - cohesive with product cards */
.category-grid-compact{ display:grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.category-card-compact{ background:#fff; border:1px solid #e5e7eb; border-radius:10px; padding:10px; text-align:center; box-shadow:0 2px 6px rgba(0,0,0,.05); transition: transform .15s ease, box-shadow .2s ease; }
.category-card-compact:hover{ transform: translateY(-2px); box-shadow:0 8px 20px rgba(0,0,0,.1); }
.category-card-compact .cat-icon{ width:48px; height:48px; object-fit:contain; margin:0 auto 8px; display:block; }
.category-card-compact .cat-title{ font-size:14px; font-weight:600; color:#1f2937; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
@media (max-width: 576px){ .category-card-compact .cat-icon{ width:40px; height:40px; } .category-card-compact .cat-title{ font-size:13px; } }

.product-card-modern .btn, .lp-card .btn{ border-radius:8px; }

/* Quantity input in cart table */
.table .qty-input{ max-width:100px; }

@media (max-width: 767.98px){
  /* Mobile: ensure 44px+ touch targets */
  .add-to-cart-fab{ width:48px; height:48px; right:10px; bottom:10px; }
  .product-card-modern .btn, .product-card-modern .btn-sm, .lp-card .btn, .lp-card .btn-sm{ min-height:44px; padding:10px 14px; font-size:14px; }
  .table .btn{ min-height:44px; padding:10px 14px; }
  .mini-cart-list li{ padding:10px 8px; }
  .mini-cart-list img{ width:44px; height:44px; }
  .mini-cart-list .text-muted{ font-size:13px; }
  #cartCounter{ min-width:22px; min-height:22px; line-height:20px; font-size:12px; }
  .table .qty-input{ height:44px; font-size:16px; }
}

@media (min-width: 768px) and (max-width: 1024.98px){
  /* Tablet */
  .add-to-cart-fab{ width:44px; height:44px; }
  .product-card-modern .btn, .product-card-modern .btn-sm, .lp-card .btn, .lp-card .btn-sm{ min-height:44px; padding:10px 14px; }
  .table .qty-input{ height:40px; }
}

@media (min-width: 1025px){
  /* Desktop keeps compact FAB */
  .add-to-cart-fab{ width:40px; height:40px; }
}


/* Daraz-like card visuals applied to lp-card */
.hp-mod-card-hover{ transition: box-shadow .2s ease, transform .12s ease; }
.hp-mod-card-hover:hover{ transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,0,0,.12); }

.picture-wrapper.common-img{ position: relative; background:#fff; }
.img-w100p{ width:100%; }

.card-jfy-item-desc{ padding: 10px 10px 12px; display:flex; flex-direction:column; gap:6px; }
.card-jfy-title{ font-size:14px; font-weight:600; color:#1f2937; line-height:1.35; }
.two-line-clamp{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient: vertical; overflow:hidden; }

.hp-mod-price{ margin-top:2px; }
.hp-mod-price-first-line{ display:flex; align-items:baseline; gap:6px; font-weight:800; color:#111827; justify-content:flex-start; }
.hp-mod-price-first-line .currency{ color:#059669; font-weight:900; }
.hp-mod-price-first-line .price{ color:#059669; font-size:16px; }
.hp-mod-discount{ color:#ef4444; font-weight:700; font-size:12px; }

.card-jfy-footer{ margin-top:auto; display:flex; align-items:center; justify-content:space-between; gap:6px; }
.card-jfy-ratings{ position:relative; width:76px; height:14px; }
.card-jfy-rating-layer{ position:absolute; left:0; top:0; white-space:nowrap; overflow:hidden; height:14px; }
.card-jfy-rating-layer .rating{ display:inline-block; width:14px; height:14px; background:#d1d5db; mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.869 1.401-8.168L.132 9.21l8.2-1.192z\"/></svg>') center/contain no-repeat; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.869 1.401-8.168L.132 9.21l8.2-1.192z\"/></svg>') center/contain no-repeat; }
.card-jfy-rating-layer.top-layer .rating{ background:#f59e0b; }
.card-jfy-ratings-comment{ font-size:12px; color:#6b7280; margin-left:82px; }

/* Map Daraz structure onto existing lp-card elements */
.lp-card .lp-img{ object-fit: contain; object-position:center; background:#fff; }
.lp-card .lp-body{ padding:0; }
.lp-card .lp-body > .lp-title{ display:none; }
.lp-card .daraz-desc{ padding:10px 10px 12px; }

/* Ensure links wrap the whole card like ref */
.lp-card .lp-card-link{ display:block; }


/* --- Reference-aligned card tuning (pixel-consistency) --- */
/* Unify card width across sections */
#lpTrack .lp-card, .lp-card { flex: 0 0 220px; }
/* Unify image height */
.latest-products .lp-img-wrap, .lp-img-wrap { height: 180px !important; }

/* Typography and spacing to match reference */
.card-jfy-item-desc{ padding:8px 10px 10px; gap:6px; }
.card-jfy-title{ font-size:13.5px; font-weight:600; color:#1f2937; line-height:1.35; }
.hp-mod-price{ margin-top:2px; }
.hp-mod-price-first-line{ gap:4px; }
.hp-mod-price-first-line .currency{ font-size:14px; color:#059669; font-weight:800; }
.hp-mod-price-first-line .price{ font-size:16px; color:#059669; font-weight:800; }

/* Rating layout and visual weight */
.card-jfy-footer{ margin-top:4px; }
.card-jfy-ratings{ width:70px; height:12px; }
.card-jfy-rating-layer{ height:12px; }
.card-jfy-rating-layer .rating{ width:12px; height:12px; }
.card-jfy-ratings-comment{ margin-left:8px; font-size:12px; color:#6b7280; }

/* Keep hover behavior as before */


/* Home product sections: standardize grid and card visuals across all sections */
/* Remove horizontal scrolling everywhere and use a responsive grid */
.lp-track{ display:grid !important; grid-template-columns:repeat(auto-fill, minmax(220px,1fr)); gap:16px; overflow:visible !important; padding:0 !important; }
#lpTrack.lp-track{ display:grid !important; }
.lp-nav{ display:none !important; }

/* Consistent card/image dimensions */
.lp-card{ width:100%; min-width:0; }
.lp-img-wrap{ height:200px !important; }
.lp-card .lp-img{ width:100%; height:100%; object-fit:contain; object-position:center; background:#fff; }

/* Title clamp and spacing */
.card-jfy-item-desc{ padding:10px 12px 12px !important; gap:8px; }
.card-jfy-title{ font-size:14px !important; line-height:1.35; font-weight:600; color:#1f2937; }
.two-line-clamp{ display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }

/* Price: ৳ + min_price only */
.hp-mod-price{ margin-top:2px; }
.hp-mod-price-first-line{ display:flex; align-items:baseline; gap:4px; }
.hp-mod-price-first-line .currency{ color:#059669; font-weight:800; font-size:14px; }
.hp-mod-price-first-line .price{ color:#059669; font-weight:800; font-size:16px; }

/* Rating bar and review count */
.card-jfy-footer{ margin-top:4px; }
.card-jfy-ratings{ position:relative; width:76px; height:14px; }
.card-jfy-rating-layer{ position:absolute; left:0; top:0; white-space:nowrap; overflow:hidden; height:14px; }
.card-jfy-rating-layer .rating{ display:inline-block; width:14px; height:14px; background:#d1d5db; mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.869 1.401-8.168L.132 9.21l8.2-1.192z"/></svg>') center/contain no-repeat; -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 .587l3.668 7.431 8.2 1.192-5.934 5.787 1.401 8.168L12 18.896l-7.335 3.869 1.401-8.168L.132 9.21l8.2-1.192z"/></svg>') center/contain no-repeat; }
.card-jfy-rating-layer.top-layer .rating{ background:#f59e0b; }
.card-jfy-ratings-comment{ font-size:12px; color:#6b7280; margin-left:82px; }

/* Action button styling inside cards */
.lp-card .btn-details{ width:100%; background:#f59e0b; border:none; color:#fff; font-weight:600; padding:9px 12px; border-radius:8px; transition: background-color .2s ease; text-decoration:none; display:inline-block; text-align:center; }
.lp-card .btn-details:hover{ background:#d97706; color:#fff; text-decoration:none; }


/* Seller signup modern styles (light tweaks) */
#sellerForm .form-label{ font-weight:600; }
#sellerForm .card{ border-radius:12px; }
#sellerForm .card-header{ background:#fff; border-bottom:1px solid #e5e7eb; }

/* Home Recommendations – targeted mobile override to ensure 2-column grid */
@media (max-width: 767.98px){
  #home-recommendations .product-grid-modern{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #home-recommendations .product-card-modern{ border-radius:10px; }
  #home-recommendations .product-card-modern .card-img-wrapper{ height:150px; }
  #home-recommendations .product-card-modern .product-title{ font-size:14px; min-height:38px; }
  #home-recommendations .product-card-modern .product-price{ font-size:16px; }
  #home-recommendations .product-card-modern .btn-details{ padding:8px 12px; font-size:14px; }
}


/* Home Recommendations – targeted mobile override to ensure 2-column grid */
@media (max-width: 767.98px){
  #home-recommendations .product-grid-modern{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #home-recommendations .product-card-modern{ border-radius:10px; }
  #home-recommendations .product-card-modern .card-img-wrapper{ height:150px; }
  #home-recommendations .product-card-modern .product-title{ font-size:14px; min-height:38px; }
  #home-recommendations .product-card-modern .product-price{ font-size:16px; }
  #home-recommendations .product-card-modern .btn-details{ padding:8px 12px; font-size:14px; }
}
