/* ===== PRODUCT CARDS - MODERN ROUNDED STYLE ===== */

/* Card container */
.product-small.box {
    border: 1px solid #f0f0f0 !important;
    box-shadow: none !important;
    border-radius: 16px !important;
    padding: 0 !important;
    background-color: #fff !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: all .3s ease !important;
}
.product-small.box:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08) !important;
}

/* Image area */
.product-small .box-image {
    background: #f8f8f8 !important;
    border-radius: 16px 16px 0 0 !important;
    overflow: hidden !important;
}
.product-small .box-image img {
    transition: none !important;
}
.product-small.box:hover .box-image img {
    transform: none !important;
}

/* Text area */
.product-small .box-text {
    text-align: center !important;
    padding: 16px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}
.product-small .box-text .title-wrapper {
    flex-grow: 1 !important;
}

/* Category */
.product-small .box-text .category {
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #999 !important;
    margin-bottom: 4px !important;
}
.product-small .box-text .category a {
    color: #999 !important;
}

/* Product name */
.product-small .box-text .name a,
.product-small .box-text .product-title a {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}
.product-small .box-text .name,
.product-small .box-text .product-title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Brand */
.product-small .box-text .product-brand-name {
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: #aaa !important;
    line-height: 1.2 !important;
}

/* Price wrapper */
.product-small .box-text .price-wrapper {
    margin-top: auto !important;
    padding-top: 10px !important;
}

/* Main price (EUR) */
.product-small .box-text .price {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1a1a1a !important;
    margin-top: 0 !important;
}
.product-small .box-text .price .woocommerce-Price-currencySymbol {
    margin-right: -1px !important;
}

/* Sale price */
.product-small .box-text .price del {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #bbb !important;
}
.product-small .box-text .price ins {
    font-weight: 800 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
}

/* Dual price (USD) - golden */
.product-small .box-text .tt-dual-price {
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-top: 2px !important;
}

/* ===== EQUALIZE CARD HEIGHTS ===== */
/* Product name: fixed height to align cards */
.product-small .box-text .name,
.product-small .box-text .product-title {
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ===== ADD TO CART BUTTON ===== */
/* All cart buttons in product cards */
.product-small a.button.add_to_cart_button,
.product-small a.button.product_type_simple,
.product-small .add_to_cart_button.is-outline,
.product-small a.add_to_cart_button {
    display: block !important;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 11px 16px !important;
    margin: 8px 16px 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: all .2s !important;
    text-align: center !important;
    width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
}
.product-small a.button.add_to_cart_button:hover,
.product-small a.button.product_type_simple:hover,
.product-small .add_to_cart_button.is-outline:hover,
.product-small a.add_to_cart_button:hover {
    background: #f5c518 !important;
    color: #1a1a1a !important;
    border: none !important;
}

/* Variable product: Select Options - outlined style */
.product-small a.button.product_type_variable,
.product-small a.product_type_variable.add_to_cart_button {
    display: block !important;
    background: transparent !important;
    color: #1a1a1a !important;
    border: 2px solid #ddd !important;
    border-radius: 10px !important;
    font-size: 0 !important;
    font-weight: 600 !important;
    padding: 11px 10px !important;
    margin: 8px 16px 16px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    transition: all .2s !important;
    text-align: center !important;
    width: calc(100% - 32px) !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
}
/* Replace "Select options" text with "View Options" */
.product-small a.button.product_type_variable::after,
.product-small a.product_type_variable.add_to_cart_button::after {
    content: "View Options" !important;
    font-size: 13px !important;
}
.product-small a.button.product_type_variable:hover,
.product-small a.product_type_variable.add_to_cart_button:hover {
    border-color: #f5c518 !important;
    background: #f5c518 !important;
    color: #1a1a1a !important;
}

/* Button wrapper: full width, push to bottom */
.product-small .add-to-cart-button {
    margin-top: auto !important;
    width: 100% !important;
    padding: 0 !important;
    text-align: center !important;
}

/* Remove Flatsome is-outline override */
.product-small .button.is-outline {
    border-color: transparent !important;
}
.product-small .product_type_variable.button.is-outline {
    border-color: #ddd !important;
}
