/*
Theme Name: Woostify Child
Template: woostify
Version: 1.0.0
*/

/*MH NEW PRODUCT CARD*/
 .mh_product_card {
        display: block;
        width: 100%;
        position: relative;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-decoration: none;
      }

      .mh_product_card .product_media {
        position: relative;
        width: 100%;
        height: 250px;
        overflow: hidden;
      }

      .mh_product_card .product_img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 244 / 304;
      }

      .mh_product_card .product_content {
        display: flex;
        flex-direction: column;
        gap: 16px;
      }

      .mh_product_card .content_top {
        display: flex;
        flex-direction: column;
        gap: 10px;
      }

      .mh_product_card .product_title {
        color: #2f3542;
        font-family: "Lato", sans-serif;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
        font-weight: 600;
        margin: 0 !important;
        height: 48px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }

      .mh_product_card .product_price {
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .mh_product_card .product_current_price {
        color: #2f3542;
        font-family: "Lato", sans-serif;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: normal;
        font-weight: 800;
        text-decoration: none;
      }

      .mh_product_card .product_reguler_price {
        color: #2f3542;
        font-family: "Lato", sans-serif;
        font-size: 14px;
        line-height: 17px;
        letter-spacing: normal;
        font-weight: 500;
        text-decoration: line-through;
      }

      .mh_product_card .product_actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
      }

      .mh_product_card .product_action {
        min-height: 34px;
        overflow: none;
        color: #000;
        font-family: "Lato", sans-serif;
        font-size: 13px;
        line-height: 17px;
        letter-spacing: normal;
        font-weight: 600;
        cursor: pointer;
      }

      .mh_product_card .product_add_cart {
        border: 1px solid #000;
      }

      .mh_product_card .product_by_now {
        background-color: #000;
        border: none;
        color: #fff;
      }
      
      .mh_product_card .product_action.loading {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}


/*Shop by categories*/
/* ── Shop by Categories ── */
.mh_categories_section {
    padding: 60px 16px 36px;
    background: #f8f9fa;
}

.mh_categories_container {
    max-width: 1200px;
    margin: 0 auto;
}

.mh_categories_header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.mh_categories_title {
    font-family: "Lato", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #2f3542;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.mh_categories_title::before,
.mh_categories_title::after{
    content: "";
    width: 80px;
    height: 3px;
    background-color: #000;
}


.mh_categories_grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .mh_categories_grid { grid-template-columns: repeat(4, 1fr); }
    .mh_categories_header::before,
    .mh_categories_header::after { width: 40px; }
}

@media (max-width: 600px) {
    .mh_categories_grid { grid-template-columns: repeat(3, 1fr); }
    .mh_categories_header::before,
    .mh_categories_header::after { display: none; }
}

.mh_category_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mh_category_card:hover {
    transform: translateY(-6px);
}

.mh_category_img_wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #e8e8e8;
    transition: border-color 0.3s ease;
    background: #fff;
}

.mh_category_card:hover .mh_category_img_wrap {
    border-color: #2f3542;
}

.mh_category_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mh_category_card:hover .mh_category_img {
    transform: scale(1.08);
}

.mh_category_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    border-radius: 50%;
    transition: background 0.3s ease;
}

.mh_category_card:hover .mh_category_overlay {
    background: rgba(0, 0, 0, 0.08);
}

.mh_category_name {
    font-family: "Lato", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #2f3542;
    text-align: center;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.mh_category_card:hover .mh_category_name {
    color: #000;
}



/*Featured Product */
/* Featured Products Section */
.mh_featured_section {
    padding: 36px 16px;
    background-color: #fff;
}

.mh_featured_container {
    max-width: 1200px;
    margin: 0 auto;
}

.mh_featured_header{
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.mh_featured_title {
  font-family: "Lato", sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #2f3542;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: inline-block;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.mh_featured_title::before,
.mh_featured_title::after{
    content: "";
    width: 80px;
    height: 3px;
    background-color: #000;
}

.mh_featured_grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

/* Tablet */
@media (max-width: 1024px) {
    .mh_featured_grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .mh_featured_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mh_featured_grid .mh_product_card {
    max-width: 100%;
}

/* View All Button */
.mh_view_all_wrap {
    text-align: center;
}

.mh_view_all_btn {
    display: inline-block;
    padding: 8px 48px;
    background-color: #000;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid #000;
    transition: all 0.3s ease;
}

.mh_view_all_btn:hover {
    background-color: #fff;
    color: #000;
}





