
/* =========================================================
   PRODUCTS SECTION
========================================================= */

.product-men {
    margin-bottom: 30px;
}

.men-pro-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(179, 201, 205, 0.75);
    transition: all 0.3s ease;
}

.men-pro-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.men-thumb-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
    background: #fff;
    overflow: hidden;
}

.men-thumb-item img {
    width: 100%;
    height: 260px;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.35s ease;
}

.men-pro-item:hover .men-thumb-item img {
    transform: scale(1.05);
}


/* =========================================================
   QUICK VIEW
========================================================= */

.men-cart-pro {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 57, 97, 0.12);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.men-pro-item:hover .men-cart-pro {
    opacity: 1;
}

.inner-men-cart-pro a {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 7px;
    background: #163961;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.inner-men-cart-pro a:hover {
    background: #102d4d;
    color: #fff;
}


/* =========================================================
   PRODUCT INFORMATION
========================================================= */

.item-info-product {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 16px 12px 20px;
    border-radius: 0 0 14px 14px;
}

.item-info-product h4 {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.item-info-product h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.25s ease;
}

.item-info-product h4 a:hover {
    color: #163961;
}


/* =========================================================
   PRICE
========================================================= */

.info-product-price {
    min-height: 30px;
    margin-bottom: 12px !important;
}

.info-product-price .item_price {
    color: #163961;
    font-size: 18px;
    font-weight: 700;
}

.info-product-price del {
    margin-left: 6px;
    color: #888;
    font-size: 13px;
}


/* =========================================================
   DISCOUNT BADGE
========================================================= */

.discount-badge {
    display: inline-block;
    margin-left: 5px;
    padding: 4px 7px;
    border-radius: 5px;
    background: #e8f7ee;
    color: #168a45;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   STOCK STATUS
========================================================= */

.stock-status {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
}

.stock-available {
    color: #168a45;
}

.stock-unavailable {
    color: #dc3545;
}


/* =========================================================
   BUTTON AREA
========================================================= */

.snipcart-details {
    margin-top: auto;
    padding-top: 8px;
}

.add-to-cart-form {
    width: 100%;
}

.add-cart-btn,
.view-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: 7px;
    color: #fff !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s ease;
}
.stock-low {
    color: #e67e22;
    font-size: 12px;
    font-weight: 700;
}
.add-cart-btn {
    background: #163961;
}

.add-cart-btn:hover {
    background: #102d4d;
    color: #fff;
}

.add-cart-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.view-cart-btn {
    background: #198754;
}

.view-cart-btn:hover {
    background: #146c43;
    color: #fff;
}

.out-of-stock-btn {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: 7px;
    background: #e9ecef;
    color: #777;
    font-size: 13px;
    font-weight: 600;
    cursor: not-allowed;
}


/* =========================================================
   CART TOAST
========================================================= */

.cart-toast {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 9999;
    display: none;
    max-width: 320px;
    padding: 14px 18px;
    border-radius: 10px;
    background: #163961;
    color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    font-size: 13px;
    font-weight: 600;
}

.cart-toast.error {
    background: #dc3545;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 576px) {

    .men-thumb-item,
    .men-thumb-item img {
        height: 190px;
    }

    .item-info-product {
        padding: 12px 8px 15px;
    }

    .item-info-product h4 {
        min-height: 45px;
        font-size: 13px;
    }

    .info-product-price .item_price {
        font-size: 15px;
    }

    .info-product-price del {
        display: block;
        margin-left: 0;
        margin-top: 3px;
    }

    .discount-badge {
        margin-left: 0;
        margin-top: 4px;
    }

    .add-cart-btn,
    .view-cart-btn,
    .out-of-stock-btn {
        font-size: 11px;
    }

    .cart-toast {
        right: 12px;
        bottom: 15px;
        left: 12px;
        max-width: none;
    }

}

.men-thumb-item:hover .inner-men-cart-pro .link-product-add-cart {
        align-items: center;
        justify-content: center;
        display: flex;
    }