/**
 *
 * @category            WordPress_Theme
 * @package             sj-divi
 * @author              NNC IT
 * @license             GPL-2.0+
 * @copyright           Copyright: (c) 2017
 *
 * @wordpress-theme
 *
 * Theme Name:          Seeking Jewelry Divi
 * Theme URI:           https://seekingjewelry.com
 * Description:         Seeking Jewelry child theme for Divi theme from <a href="http://www.elegantthemes.com/gallery/divi/">Elegant Themes</a>
 * Version:             20250829.1
 * Author:              Dominic Martinelli, John Man
 * Author URI:          dominicmartinelli.com
 * License:             GPL-3.0+
 * License URI:         http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain:         SJ-Divi
 * Domain Path:         /languages
 *
 * GitHub Theme URI:    https://github.com/NorthernNevadaCoin/sj-divi
 * GitHub Branch:       master
 *
 * Tags: child-theme, Divi Theme
 *
Template:             Divi
 *
 * Requires at least: 4.6
 * Tested up to:      5.2
 * Requires PHP:      7.x
 *
 * WC requires at least: 6.7.x
 * WC tested up to: 6.7.1
 *
 * Support URI:         https://northernnevadacoin.net/wordpress
 * Documentation URI:   https://northernnevadacoin.net/wordpress
 *
 * Released under the GPL license
 * http://www.opensource.org/licenses/gpl-license.php
 *
 * This is an add-on for WordPress
 * http://wordpress.org/
 *
 * **********************************************************************
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * **********************************************************************
*/

/* Add your custom styles below this line */

.woocommerce-loop-product__title {
    font-family: 'Roboto', Helvetica, Arial, Lucida, sans-serif !important
}

/*   h1.product_title.entry-title   #woo-single-item-summary {font-family: 'Roboto',Helvetica,Arial,Lucida,sans-serif !important};  */

h1, h1 a {
    font-size: 30px !important;
}

h2, h2 a {
    font-size: 26px !important;
}

h3, h3 a {
    font-size: 22px !important;
}

h4, h4 a {
    font-size: 18px !important;
}

h5 {
    font-size: 16px !important;
}

h6 {
    font-size: 14px !important;
}

h2.woocommerce-loop-product__title, h2.woocommerce-loop-product__title a {
    font-size: 16px !important;
    font-weight: 500;
}

/** start block -> stop forcing width of featured images **/
.post-thumbnail img {
    display: block;
    width: auto;
    margin: auto;
}

img {
    display: block;
    width: auto;
    margin: auto;
}


/** fixed footer bottom **/
#footer-bottom {
    background-color: #232323;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    z-index: 100;
}

/** stop block -> stop forcing width of featured images **/
.posts-blog-feed-module.masonry .post-content {
    padding-top: 20px;
}

.et_pb_pagebuilder_layout .post-content a {
    color: inherit;
}

.et_pb_widget .widgettitle {
    font-size: .8em;
    background-color: inherit;
}

.tbl-versions td {
    padding: 1em;
}

#perfect-quotes-2 li {
    margin: 1em;
    font-size: 1em;
}

.et_post_meta_wrapper > img {
    height: 350px;
    width: auto;
}


/* Fixes `related products` on mobile displays */
@media only screen and ( max-width: 480px), all {
    .woocommerce div.product .related li.product:nth-child(n), .woocommerce-page div.product .related li.product:nth-child(n) {
        max-width: 100% !important;
    }
}


/* search & filter fix - fields were being cut off */
.widget_search_filter_register_widget form {
    width: 99% !important;
    padding-left: 7px;
}

/* Fixes checkout credit/debit card image widths.  Without this, they take up the max width of the payment area. */
#payment ul.payment_methods li.payment_method_trustcommerce label[for="payment_method_trustcommerce"] img {
    width: 75px;
    display: inline;

}

/* Global Paragraph Link Styles */
p a {
    color: inherit !important;
}

p a:hover {
    color: inherit !important;
    text-decoration: underline;
}



/* SP - share links */
.woocommerce div.product div.summary .product-share-links, .woocommerce-page div.product div.summary .product-share-links {
    background: inherit;
}

/* SP - Accordion */
.woocommerce-page div.product .extra-woocommerce-details-accordion .header {
    background: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* SP - Accordion Title Icons */
.ui-accordion-header-icon:before {
    color: inherit !important;
}

/* SP - Title Color */
.woocommerce-page div.product .extra-woocommerce-details-accordion .header .title {
    color: inherit;
}

/* SP - Accordion content */
.extra-woocommerce-details-accordion .content {
    background: inherit !important;
}

div.woocommerce-MyAccount-content mark {
    background-color: inherit;
    padding: 0 5px;
    border-radius: 5px;
}

/* Mobile fixes for divi gear product carousel */
/*
@media only screen and (max-width: 1024px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 50% !important;
        max-width: 50% !important;
        min-width: 50% !important;
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        margin: 0 0 0 -1px !important
    }
}

@media only screen and (max-width: 768px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 60% !important;
        max-width: 60% !important;
        min-width: 60% !important;
        -webkit-flex-basis: 60%;
        -ms-flex-preferred-size: 60%;
        flex-basis: 60%;
        margin: 0 0 0 -1px !important
    }
    .dgpc_product_carousel_0.dgpc_product_carousel .woocommerce .products .product .price {
        line-height: 3em !important;
    }
    ul.products li.product .price span.amount {
        font-size: 28px !important;
    }
}

@media only screen and (max-width: 420px) {
    .with_sidebar .woocommerce ul.products li.product, .with_sidebar .woocommerce-page ul.products li.product,
    .with_sidebar.woocommerce ul.products li.product, .with_sidebar.woocommerce-page ul.products li.product {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        margin: 0 0 0 -1px !important
    }
}
*/

/* Add to Cart button style to 'on hover' */

.woocommerce ul.products li.product .button.sj_already_added,
.woocommerce ul.products li.product .button.loading,
.woocommerce ul.products li.product .button.added{
    opacity: 1 !important;
    text-transform: initial !important;
    -webkit-transform: translatey(0) !important;
    transform: translatey(0) !important;
    z-index: 9;

}

.woocommerce ul.products li.product {
    overflow: hidden;
}

.woocommerce ul.products li.product:hover .button, .woocommerce ul.products li.product a.added_to_cart {
    -webkit-transform: translatey(0) !important;
    transform: translatey(-0) !important;
    z-index: 9;

}

.woocommerce ul.products li.product .button.loading {
    opacity: 0.6 !important;

}
.woocommerce ul.products li.product .button.loading::after {
    opacity: 0.6;
    content: "\e01c";
    top: .2em;
    right: 0.5em;

}
.woocommerce ul.products li.product .button.added {
    display: none;
}
/* remove above display:none and uncomment below to show a kind of 'added to cart' button
.woocommerce ul.products li.product .button.added {
    padding-right: 50px;

}

.woocommerce ul.products li.product .button.added::after {
    content: "\e017" !important;
    opacity: 1;
    margin-left: 5px !important;
}
*/
.woocommerce ul.products li.product a.added_to_cart {
    padding: 0.3em 1em 0.3em 1em;
    background-color: #202020 !important;
    color: #fefefe !important;
    border-radius: 5px;
    font-weight: 500;
    opacity: .8;
    font-size: 20px;
}

.woocommerce ul.products li.product a.added_to_cart:hover {
    opacity: 1;
    border-radius: 0;
}

.woocommerce ul.products li.product a.added_to_cart:after {
    font-family: 'ETmodules' !important;
    content: "\e07a";
    vertical-align: middle;
    color: inherit;
    font-size: 20px;
    padding-left: 10px;

}

@media (min-width: 1024px) {
    /* Hides 'Add to Cart' button for hover effect */
    .woocommerce ul.products li.product .button {
        position: absolute;
        top: 0;
        -webkit-transform: translatey(-150%);
        transform: translatey(-150%);
        -webkit-transition: 0.35s;
        transition: 0.5s;
        margin-top: 10px;
        margin-left: 10px !important;
    }

    .woocommerce ul.products li.product a.added_to_cart {
        position: absolute;
        top: 0px;
        -webkit-transform: translatey(-150%);
        transform: translatey(-150%);
        -webkit-transition: 0.35s;
        transition: 0.35s;
        margin-top: 10px;
        margin-left: 10px !important;
        height: 46px;
    }
}

.sj_location_abb {
    border-radius: 3px;
    padding: 0px 4px;
    color: #202020;
    box-shadow: 0px 0px 1px 1px #979797;
    font-size: .8em;
    display: block;
    max-width: 40px;
    margin: 2px auto;
    text-align: center;
}

.product_meta {
    margin-bottom: 10px;
}