@font-face {
    font-family: 'grap';
    src: url('../fonts/GrapFamily/Grap-Regular.otf') format('opentype');

    font-weight: normal;
    font-style: normal;
}

.header-text {
    font-size: 14px;
}

.categories {
    display: flex;
    height: 40px;
}

.categories:hover {
    background: #e1e1e1;
    border-radius: 20px;
    height: 40px;
    display: flex;
    transition: all ease 0.3s;
    transform: scale(1);
}

.categories-text:hover {
    color: black !important;
}

.search-btn {

    right: 4px !important;
    transition: all ease 0.3s;
    top: auto !important;
    height: 45px;
    width: 45px;
    border-radius: 100% !important;
    text-align: center;
    margin-top: -.6px;
}

.search-btn .search-icon {
    padding: inherit !important;
    line-height: 2 !important;
    font-size: large !important;
}

.search_form:hover .search-btn {

    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
    border-top-left-radius: 2px !important;
    border-bottom-left-radius: 2px !important;
    right: 2px !important;
    transition: all ease 0.3s;
    height: 94%;
    text-align: center;
    background-color: #ff8f57 !important;
}




.navbar-bg-color {
    background-color: #fff !important;
}

.navbar-li li {
    margin-right: 15px !important;
}

.nav-color {
    color: black !important;
    padding: 10px !important;
}

.nav-color:hover {
    background: #e1e1e1;
    border-radius: 25px;
}

.navbar-links {
    margin-left: auto;
    margin-right: auto;
}

.bold-700 {
    font-size: 14px;

}

.vendor-login {
    transform: translateY(-2px) !important;
}

.fontsize31 {
    font-size: 31px;
}

.fontsize29 {
    font-size: 29px;
}

.ancor_hover:hover {
    text-decoration: underline !important;
    color: rgb(65, 65, 65) !important;
}

.wt-text-title-large {
    letter-spacing: .13505px;
    font-size: 27.01px;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 441px) {
    .wt-text-title-large {
        letter-spacing: .10505px;
        font-family: 'grap', -apple-system, Helvetica, Arial, sans-serif;
        font-size: 19.01px;
        font-weight: 500;
        line-height: 1.3;
    }
}

.justify-center {
    justify-content: center;
}

.cal-width {
    width: calc(16.6667% - 25px);
    min-width: 113px;
}

@media (max-width: 968px) {
    .cal-width {
        width: calc(33.3333% - 50px);
        min-width: 177px !important;
    }
}

@media (max-width: 413px) {
    .cal-width {
        min-width: 137px !important;
    }
}


.__rectimg {
    aspect-ratio: 1;
    text-align: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.0509803922);
}

.__rectimg img {
    object-fit: cover;
    width: 80%;
    height: 100%;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
}


@media (max-width: 767px) {
    .productThumb {
        display: none !important;
    }
}

@media (min-width: 767px) {
    .productThumb {
        display: block !important;
    }
}

.bg-hover:hover {
    background-color: #9ca8ff;
}

.signin-hover:hover {
    background-color: #eaedff;
    color: #000 !important;
}

/* REcent products */
.recently-viewed-container {
    margin: 20px auto;
    max-width: 1200px;
    /* adjust as needed */
    padding: 0 15px;
    font-family: Arial, sans-serif;
}

.recently-viewed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.recently-viewed-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.recently-viewed-header a {
    text-decoration: none;
    color: #007bff;
    font-weight: 500;
}

.recently-viewed-header a:hover {
    text-decoration: underline;
}

.small_img{
    margin: 5px;
    width: 50px;
    height: 50px;
    border-radius: 5px;
}
.small_img a{
    height: 100%;
    width: 100%;
}
.small_img img{
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
    height: 100%;
}
.small_img:hover{
    box-shadow: 1px 1px 5px 0px #4f4f4f;
}

/* Grid for the products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 15px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on smaller screens */
    }

    .product_card :first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.product_card:first-child {
    grid-column: span 2;
    /* Make the first item take 2 columns */
    grid-row: span 2;
    /* Make the first item take 2 rows */
}


.product_card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    aspect-ratio: 251/167;
}

.recent_product_card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    aspect-ratio: 251/167;
}

.recent_product_card:hover {
    transform: scale(1.05);
}

.product_card img {
    width: 100%;
    display: block;
}

.recent_product_card:hover {
    transform: scale(1.05);
}

.product_card img {
    width: 100%;
    display: block;
}

.heart-btn {
    position: absolute;

    right: 10px;
    background: white;
    border-radius: 50%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.recent_product_card:hover .heart-btn {
    animation: riseUp 0.3s ease-out forwards;
}

.product_card:hover .heart-btn {
    animation: riseUp 0.3s ease-out forwards;
}

@keyframes riseUp {
    0% {
        top: 30px;
        opacity: 0;
    }

    100% {
        top: 10px;
        opacity: 1;
    }
}



.heart-btn::before {

    transition: color 0.3s;
}

.heart-btn:hover {
    color: red !important;
}

.price-tag {
    display: block;
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.price-tag del {
    color: gray;
    margin-left: 6px;
}

.main_banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

.sub_banner {
    border-radius: 12px;
    overflow: hidden;
}

.sub_banner:hover {
    box-shadow: -4px 3px 1em 0px #7d7d7d;
}

.sub_banner:first-child {
    grid-column: span 2;
    /* Make the first item take 2 columns */
    aspect-ratio: 4/1.8;
}

.sub_banner:nth-child(2) {
    aspect-ratio: 4/3.66;
}

.sub_banner img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    /* Crops to fill the container, keeping aspect ratio */
    display: block;
}


.sec_main_banners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
}

.sec_sub_banner {
    border-radius: 12px;
    overflow: hidden;

}

.sec_sub_banner:hover {
    box-shadow: -4px 3px 1em 0px #7d7d7d;
}

.sec_sub_banner:nth-child(2) {
    grid-column: span 2;
    /* Make the first item take 2 columns */
    aspect-ratio: 4/1.8;
}

.sec_sub_banner:first-child {
    aspect-ratio: 4/3.66;
}

.sec_sub_banner img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    /* Crops to fill the container, keeping aspect ratio */
    display: block;
}



.mega_menu_categories {
    /* width: calc(100% - var(--cm-w)); */
    inset-inline-start: var(--cm-w);
    padding: 1.25rem;
    padding-left: 0;
    display: grid;

    row-gap: 1.5rem;
    transition: all 300ms;
    border-radius: 5px;
    transform-origin: left;
}

/* .mega_menu{
    width: max-content !important;
    
  } */
@media (max-width: 984px) {
    .mega_menu {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.mega_menu {

    min-width: 200px !important;
    width: 100vw !important;
    max-width: 600px !important;
    max-height: 85vh !important;
    display: flex !important;
    overflow-y: auto !important;
    flex-wrap: wrap !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Media Queries for Smaller Screens */
@media (max-width: 991px) {
    .mega_menu {
        width: 50vw !important;
        /* Adjust width for smaller screens */
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .mega_menu {
        width: 100vw !important;
        /* Full width on very small screens */
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

.child_menu {
    border-right: 0px !important;
    flex-grow: 1;
    flex-basis: 33.3333%;
    max-width: 33.3333%;
}

@media (max-width: 991px) {
    .child_menu {
        flex-grow: 2;
        flex-basis: 50%;
        max-width: 50%;
    }
}

.__catimg {
    height: 200px;
    width: 160px;
    aspect-ratio: 1;
    text-align: center;

}

.__catimg:hover{
    transition: all ease 0.3s;
    box-shadow: 0 0 12px 0px #939393;
    border-radius: 10px;
}

.__catimg:hover img{
    transition: all ease 0.3s;
    border-radius: 10px;
}

.__catimg img {
    object-fit: cover;
    margin-top: 4px;
    width: 90%;
    height: 86%;
    border-radius: 20px;
    border: 1px solid #e3e3e3;
}

.feature_product_list{
    width:237px !important;
}
@media (max-width: 847px){
    .feature_product_list{
        width:217px !important;
    }
}

.text-price{
    color: #0f743b;
}

.product-single-hover:hover .heart-btn {
    animation: riseUp 0.3s ease-out forwards;
    z-index: 1;
}

.featured-deal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}

.featured-deal-card:first-child {
    grid-column: span 2;
    /* Make the first item take 2 columns */
    grid-row: span 1;
    /* Make the first item take 2 rows */
}

.featured-deal-card-info{
    padding: 42px;
}

.featured-deal-card-info h2{
    font-size: 38px !important;
}
.featured-deal-card-info p{
    font-size: larger !important;
}

.featured-deal-card-info a{
    padding: 10px;
    background-color: #c9c9c9;
    border-radius: 20px;
    margin-top: 20px;
}

@media (max-width: 926px) {
    .featured-deal-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 2 columns on smaller screens */
    }

    .featured-deal-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 692px) {

    .featured-deal-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on smaller screens */
    }
    .featured-deal-card:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
    .featured-deal-card:not(:first-child) {
        grid-column: span 1;
    }
}

@media (max-width: 692px) {
    .featured-deal-card-info{
        padding:10px;
        text-align: center;
    }
    .featured-deal-card-info p{
        font-size: 14px !important;
        text-align: center !important;
    }
}

.quick_link{
    padding: 10px;
}
.quick_link_items{
    display: flex;
    text-align: center;
    height: 50px;
}
.quick_link_items p{
    margin: auto;
    margin-left: 30px;
}
.quick_link_items img{
    height: 100%;
    width: 50px;
    border-radius: 5px;
}



.popular-link-card.mobile-search-card {
    top: calc(100% + 5px);
    left: 0;
    position: absolute;
    background: white;
    z-index: 999;
    width: 100%;
    display: none;
}

.product-restock-request-section{
    padding: .25rem;
}
.feature-product-title {
padding-left:20px;
}

.blog_block {
    /* Use CSS Grid to make it responsive and neat */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    list-style: none;
    border-radius: 10px;
    margin: auto;
    padding: 0;
  }

  @media (max-width: 580px){
    .blog_block {
        /* Use CSS Grid to make it responsive and neat */
        grid-template-columns: repeat(1, 1fr);
    
      }
  }

  /* =============================
     BLOG CARD ITEM
     ============================= */
  .blog_block__item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* This is the main card container (your wt-card) */
  .wt-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none; /* So links inside don't get underlined */
    color: #333;
  }

  /* =============================
     CARD INNER CONTENT
     ============================= */
  .wt-card__inner {
    padding: 1rem;
  }

  /* Grid within each card for the image + text arrangement */
  .wt-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stacked by default */
    gap: 1rem;
  }

  /* You can override these classes if you want more control:
     .wt-grid__item-xs-5, .wt-grid__item-md-12, etc.
     For the screenshot look, a simple single-column inside each card is usually fine.
  */

  /* =============================
     IMAGE WRAPPER
     ============================= */
  .wt-skeleton-ui--image-square {
    position: relative;
    width: 100%;
    padding-bottom: 66.66%; /* 3:2 ratio; adjust as needed */
    overflow: hidden;
  }

  .wt-skeleton-ui--image-square img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
  }

  /* =============================
     BADGE (e.g., "Shopping Guides")
     ============================= */
  .hp-blog-badge {
    display: inline-block;
    background-color: #f3f3f3;
    color: #555;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }

  /* =============================
     HEADINGS & TEXT
     ============================= */
  .wt-text-title-large--tight {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0;
  }

  /* Truncated text, or normal body style */
  .wt-text-body--tight {
    font-size: 0.95rem;
    line-height: 1.4;
    color: #666;
  }

  /* Utility classes for spacing if you need them */
  .wt-pt-xs-4 { padding-top: 1rem; }
  .wt-pt-md-5 { padding-top: 1.25rem; }
  .wt-mb-xs-1 { margin-bottom: 0.25rem; }
  .wt-text-truncate--multi-line {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Show up to 3 lines, then truncate */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

.spaced {
    padding-bottom: 1em;
}

@media (max-width: 767px) {


    .spaced {

        padding-bottom: 2px;

    }

    .pb-4,
    .py-4 {
        padding-bottom: 2px !important;
    }

    .pt-4,
    .py-4 {
        padding-bottom: 2px !important;
    }
}