/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
/* SOLD ribbon – bottom-right */
/*
div.stock.out-of-stock{
    position:absolute;
    bottom:80px;
    right:130px;
    width:120px;
    padding:7px 0;

    background:#b30000;
    color:#fff;
    font-weight:700;
    font-size:12px;
    text-align:center;
    letter-spacing:1.2px;

    transform:rotate(-45deg);
    z-index:999;
    box-shadow:0 2px 6px rgba(0,0,0,.35);

    text-indent:-9999px;
    overflow:hidden;
}

div.stock.out-of-stock::before{
    content:"SOLD";
    text-indent:0;
    display:block;
}

@media (max-width: 768px){
    div.stock.out-of-stock{
        bottom:60px;
        right:60px;
        width:100px;
        font-size:11px;
    }
}
*/



div.stock.out-of-stock{
    display:none !important;
}



/* HY Jewellery – Clean Modern Gold Buttons */

.porto-tb-woo-link,
.porto-tb-addcart a,
.single_add_to_cart_button,
.woocommerce a.button,
.woocommerce button.button {

    background-color: #9f8b54 !important;
    border: none !important;
    color: #111 !important;
    font-weight: 600;
    transition: background-color 0.25s ease;
}

.porto-tb-woo-link:hover,
.porto-tb-addcart a:hover,
.single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {

    background-color: #A98E47 !important;
    color: #000 !important;
}

/* HY Jewellery – Gold Frame Around Product */

.porto-tb-item.product,
.porto-tb-item {

    border: 3px solid #9f8b54;
    transition: all 0.3s ease;
}

/* Hover – slightly stronger gold */
.porto-tb-item.product:hover {

    border-color: #BFA45C;
    box-shadow: 0 4px 15px rgba(191,164,92,0.15);
}



/* Price (archive + single) */
.woocommerce .price,
.woocommerce-Price-amount,
.porto-tb-item .price {

    color: #9f8b54 !important;
}



/* HY – Product Title 3 Line Clamp + Gold */

.porto-tb-item h3.post-title {

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;

    overflow: hidden !important;
    color: #9f8b54 !important;
}

/* Force product title area to always occupy 3 lines */

.porto-tb-item h3.post-title {

    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;

    line-height: 1.4;
    min-height: calc(1.4em * 3);
}

.berocket_better_labels {
    z-index: 1 !important;
}

.porto-product-filters-body {
    flex-wrap: wrap !important;
    justify-content: center !important;
}

/* =====================================================
   REF: HY-LIST-PARAGRAPH-GROUP-CLAMP-V6
   PURPOSE: Clamp only description paragraphs in List View
   ===================================================== */

body ul.products li.product .product-list-content p {

    display: block;
    margin: 0;
}

body ul.products li.product .product-list-content {

    max-height: 4.5em;   /* 3 lines approx */
    overflow: hidden;
}

@media (max-width:767px){

.cs54-product-type a.add_to_cart_button{
    top: 40px !important;
}

}

/* =====================================================
   HY JEWELRY – FILTER STYLING (WooCommerce Layered Nav)
   ===================================================== */

/* Filter dropdown text */
.woocommerce-widget-layered-nav-dropdown select {
    color: #000 !important;
}
/* Layered filter titles (Type, Brand, Location etc) */
aside.widget.woocommerce-widget-layered-nav h3.widget-title,
aside.widget.woocommerce-widget-layered-nav h3.widget-title .toggle {
    color: #000 !important;
}