.woocommerce ul.products li.product {
    background: #ffffff;
    border-radius: 14px;
    padding: 14px 14px 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.woocommerce ul.products li.product h2.woocommerce-loop-product__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    margin: 10px 0 6px;
    color: #1f2937;

    display: -webkit-box;
    -webkit-line-clamp: 2;   /* maksimal 2 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.woocommerce ul.products li.product .price {
    font-size: 15px;
    font-weight: 700;
    color: #4b6f2d;
    margin-bottom: 10px;
    display: block;
}

.woocommerce ul.products li.product a.button.add_to_cart_button {
    background: linear-gradient(135deg, #4b6f2d, #6fa83c);
    color: #fff !important;
    border-radius: 999px;
    padding: 10px 16px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    box-shadow: 0 6px 14px rgba(75, 111, 45, 0.3);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product a.button.add_to_cart_button:hover {
    background: linear-gradient(135deg, #3e5c25, #5f9433);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(75, 111, 45, 0.4);
}

.woocommerce ul.products li.product a.button.add_to_cart_button::before {
    content: "🛒 ";
}

/* Sembunyikan dropdown sorting */
.woocommerce-ordering {
    display: none !important;
}

/* Container search shop */
.shop-search-box {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* Input search */
.shop-search-box input[type="search"] {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #ddd;
    width: 260px;
    font-size: 14px;
}

/* Hide default sorting */
.woocommerce-ordering {
    display: none !important;
}

/* Hide sorting */
.woocommerce-ordering {
    display: none !important;
}

/* === CONTAINER SEARCH (ganti posisi sorting) === */
.post-type-archive-product .page-description {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

/* === FORM SEARCH === */
.post-type-archive-product .is-search-form {
    position: relative;
    max-width: 340px;
    width: 100%;
}

/* === INPUT SEARCH === */
.post-type-archive-product .is-search-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border-radius: 999px;
    border: 1px solid #d1d5db;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

/* Fokus input */
.post-type-archive-product .is-search-input:focus {
    border-color: #4b6f2d;
    box-shadow: 0 0 0 3px rgba(75, 111, 45, 0.2);
}

/* === BUTTON SEARCH === */
.post-type-archive-product .is-search-submit {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #4b6f2d, #6fa83c);
    border: none;
    border-radius: 999px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Icon search */
.post-type-archive-product .is-search-submit svg {
    fill: #ffffff;
    width: 18px;
    height: 18px;
}

/* Hover */
.post-type-archive-product .is-search-submit:hover {
    background: linear-gradient(135deg, #3e5c25, #5f9433);
}

/* === HIDE DEFAULT SORTING === */
.woocommerce-ordering {
    display: none !important;
}

/* === MOBILE === */
@media (max-width: 768px) {
    .post-type-archive-product .page-description {
        justify-content: center;
    }

    .post-type-archive-product .is-search-form {
        max-width: 100%;
    }
}

