/*
Theme Name: Kadence Child - Granitshop
Author: Eragon Software
Description: Sablon vizual pentru granitshop - personalizări implementate de Eragon Software
Version: 1.0
Template: kadence

This is the child theme for Kadence theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/
@media (max-width:960px) {
html, body, p, div, span, b, i, li, ul, ol, input, textarea, nav, a {
font-size:17px;
}
}
.header-navigation .header-menu-container ul ul li.menu-item > a {
    width: 200px;
    padding-top: 1em;
    padding-bottom: 1em;
    color: var(--global-palette8);
    font-size: 17px;
}


.bgwhite {
    background-color: :white;
}

/* jan 28th -Eragon */
.posted_in {
	display:none;
	}
/* jun25th 2025 - Eragon */
.policy > label {
margin-left:50px !important;
}
span.gift,span.dimensions,span.manufacturer,span.set {
background-color:#efefef;
    padding:0.25rem;
    border-radius:4px;
    font-size:17px;
}
span.gift {
    float:right;
}

span.manufacturer,span.dimensions {
    float:left;
    clear:left;
}

span.dimensions {
    margin-top:2px;
}

span.set {
    float: right;
    clear: both;
    margin-top: 10px;
    position: absolute;
    right: 0;
}

.woocommerce ul.products li.product a img {
    border-width:1px;
    border-color:#efefef;
    border-style:solid;
}

.woocommerce-loop-image-link > span.sale, .product > span.sale {
    position:absolute;
    top:45px;
    left:0;
    background-color:darkcyan;
    color:#efefef;
    font-weight:bold;
    border-radius:0.25rem;
    padding:0.25rem;
    width:100px;
    text-align:center;
    display:inline-block;
    
}
.woocommerce-loop-image-link > span.savings {
    background-color:#b1ad7d;
    color:#efefef;
    margin-left:80px;
    padding:0.23rem;
}


.woocommerce-loop-product__title {
    padding-top:0;
    padding-bottom:0;
    font-size:22px !important;
    font-weight:bold !important;
    }

.star-rating {
    
  color: #fffc80 !important;
  text-shadow: 1px 1px black;
  font-size: 1rem !important;
  z-index:12;
}

.woocommerce ul.products li.product {
    position: relative;
}

.custom-price-over-image {
    position: absolute;
    top: 0px;
    left: 0;
    background: rgba(255,255,255,0.85);
    padding: 0.5rem;
    font-weight: bold;
    font-size: 18px;
    z-index: 9;
    border-radius: 5px;
    width:100px;
}

.product > .custom-price-over-image {
    background-color:unset;
}

.woocommerce ul.products li.product {
    position: relative;
}

.custom-over-image {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 10;
    text-align: left;
    min-width: 80px;
}

.custom-over-image .custom-price {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 4px;
}

.custom-over-image .custom-rating {
    font-size: 13px;
    color: #f5b301;
}

.custom-rating-on-image {
    position: absolute;
    top: 100px; /* adjust depending on where your price is */
    left: 0;
    z-index: 10;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.0);
    padding: 2px 6px;
    border-radius: 4px;
    color: #f5b301;
}

.single-product .woocommerce-product-gallery {
/*
    position: relative;
*/
}

.custom-single-price-rating {
    position: absolute;
    top: 20px;
    left: 0px;
    background: rgba(255,255,255,0.9);
    padding: 6px 10px;
    border-radius: 6px;
    z-index: 10;
    text-align: left;
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
}

.custom-single-price-rating .custom-single-price {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 4px;
}

.custom-single-price-rating .custom-single-rating {
    font-size: 14px;
    color: #f5b301;
}

.single-product .woocommerce-product-gallery {
    position: relative;
}

.custom-single-price-rating {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255,255,255,0.9);
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 10;
    box-shadow: 0 0 6px rgba(0,0,0,0.15);
    text-align: left;
    min-width:147px;
    width:147px;
}
.product > .custom-single-price-rating {
    background-color:unset;
    box-shadow:none;
    
}

.product > span.sale {
    display:none;
}

.custom-sale-badge {
    display: inline-block;
    background-color: #398895;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    padding: 0.25rem;
    border-radius: 3px;
    margin-bottom: 6px;
}

.custom-single-price {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 4px;
}

.custom-single-rating {
    font-size: 14px;
    color: #f5b301;
}

.product > .sale.savings {
  position: absolute;
  left: 93px;
  top: 23px;
  border-radius: 3px;
  padding:0.25rem;
  font-size:14px;
  z-index: 1200;
  background-color: #b1ad7d;
  color:#ffffff;
}

.wp-elements-48c76013dc0242cb03b1106a18694262 > a {
  color: #888888 !important;
}

@media (min-width:960px) {
    .aws-container {
    width:320px;
    font-size:105%;
    
    }
}

.aws_result_content {
  font-size: 17px;
  line-height: 1.25em;
}

.ywpo_availability_date {
    font-weight:700;
    font-size:105%;
    }

.woocommerce-variation-price {
display:none !important;
}

.product-single-category {
    font-weight:bold;
    }
    
.rgn-link {
    color:#888888;
    }
    


section.product-summary p.product-popup a{
  font-size: 0.875rem;}

section.product-summary p.product-popup a::after{
  content: '+ ';
  float: left;
  margin-right: 0.25rem;
  font-family: 'Campton Book', Arial, sans-serif;
  font-size: 1.5rem;
  }


#up-sell-popup div.center{
  width: 99%;

  }

section#up-sell-popup ul{
  grid-template-columns: repeat(2, 1fr);}



/* */

/* eragon jobbitasok / kadence-hez cross-sell, upsell popup */
#cross-sell-popup,#cross-sell-popup,#sifoane-popup,#baterii-popup,#up-sell-popup,#dozatoare-popup,#scurgatoare-popup,#curatare-popup  {
    display:none;
    z-index:12;
    overflow-y:scroll;
    background-color: #ececff;
    padding: 1em;
    height:74vh;
    border-radius: 0.25rem;
    border-width: 1px;
    border-style: solid;
    border-color: #ccc;
    position: fixed;
      
}
.offer-products li {
list-style:none;
}


@media(min-width:741px) {
    #cross-sell-popup,#cross-sell-popup,#sifoane-popup,#baterii-popup,#up-sell-popup,#dozatoare-popup,#scurgatoare-popup,#curatare-popup{
    top: 13vh;
    width: -webkit-fill-available; /* Safari, Chrome (partial) */
    width: -moz-available;         /* Firefox */
    width: fill-available;         /* Future standard keyword */
    margin-right:10px;
    }
}
@media(max-width:640px) {
    #cross-sell-popup,#cross-sell-popup,#sifoane-popup,#baterii-popup,#up-sell-popup,#dozatoare-popup,#scurgatoare-popup,#curatare-popup {
    top:0;
    left:0.5rem;
    width:97vw;
    padding:0.25rem;
    height:90vh;
    
    }
    
    div.center {
    width: -webkit-fill-available !important; /* Safari, Chrome (partial) */
    width: -moz-available !important;         /* Firefox */
    width: fill-available !important;         /* Future standard keyword */
    }
}

.custom-product-title-info {
    clear:left;
    margin-top:0.1rem;
    margin-bottom:1rem;
    padding:0.25rem;
    display:flex;
    background-color:rgba(200,200,110,0.3);
    border-radius:0.5rem;
}

@media(max-width:740px) {
    .custom-product-title-info {
    width: -webkit-fill-available; /* Safari, Chrome (partial) */
    width: -moz-available;         /* Firefox */
    width: fill-available;         /* Future standard keyword */

    }
}
@media(min-width:741px) {
    .custom-product-title-info {
    width:40rem;
    
    }
}

.woocommerce-product-details__short-description {
    display:none;
}

#pa_accesorii-cadou >li {
    list-style:none !important;
}


/* MENÜ */
.header-navigation > li,.header-navigation > a, .header-navigation .header-menu-container ul ul li.menu-item > a {
    font-size:19px !important;
}

.header-navigation .header-menu-container ul ul li.menu-item > a:hover {
    background-color:#efefef !important;
    color:#222222 !important;
}

#tab-additional_information h2 {
    display:none;
}

.custom-price-over-image del {
    display:none;
}

#pa_accesorii-cadou input[type="radio"] {
  width: 30px !important;
  height: 30px !important;
  vertical-align: middle;
  margin-bottom: 5px;
}

#cross-sell-popup .custom-price-over-image,#up-sell-popup .custom-price-over-image,.offer-products .custom-price-over-image  {
  background-color: transparent !important;
}

#cross-sell-popup .custom-rating-on-image {
  display:none;
}

#sifoane-popup .custom-rating-on-image {
  display:none;
}
#baterii-popup .custom-rating-on-image {
  display:none;
}
#up-sell-popup .custom-rating-on-image {
  display:none;
}

.woocommerce div.product .product_title {
    min-height:85px;
}

.offer-products >span {
/* span.manufacturer, .offer-products span.set, .offer-products span.dimensions, .offer-products span.gift */
    margin-left:10px;
    margin-right:10px;
    display: flex;
    flex:1;
    width: -webkit-fill-available; /* Safari, Chrome (partial) */
    width: -moz-available;         /* Firefox */    
    width: fill-available;         /* Future standard keyword */
    text-align:center;
}
p.price {
    font-weight:bold;
    }

p.price > del {
    font-weight:400;
    }

/* Basic slate mobile viewport */
@media (max-width: 428px) {
  /* up to ~6.9-inch phones (e.g., 428px wide typical portrait) */
  .site-container {
    padding-left:0.5rem;
    padding-right:0.5rem;
 }   

}

/* Foldable unfolded panels (if supporting them) */
@media (min-width: 700px) {
  /* layouts for 7.9-8.0-inch foldable screens */
}

/* Large tri-fold full width */
@media (min-width: 900px) {
  /* ultra-wide layouts (e.g., >10-inch) */
}

th.product-name {
    display:block !important;
    background-color:transparent;
    
}

@media (max-width: 768px) {
    .woocommerce-cart .shop_table td,
    .woocommerce-cart .shop_table th {
        border: none !important;
    }
    .woocommerce-cart .shop_table tr {
        border-bottom-width:1px !important;
        border-bottom-color:#bfbfbf !important;
        border-bottom-style:solid !important;
        }
    
}
@media screen and (max-width: 719px) {
  .woocommerce table.shop_table_responsive tr:nth-child(2n) th, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) th {
    background-color: rgba(0,0,0,.025);
  }
}
.wck-cart a {
    display:none;
}

#billing_country_field,#shipping_country_field {
    display:none;
}

.giftp-single {
/*
    background-color:#efefef;
*/
    border-radius:5px;
    box-shadow:1px #222222;
    padding:0.25rem;
    width:max-content;
    
}

.mini-button {
    background-color:#dfdfdf !important;
    color:#222222 !important;
/*
    padding:0.25rem;
*/
    width:32px;
    height:32px;
    text-align:center;
    border-width:1px;
    border-style:solid;
    border-color:#dfdfdf;
    margin-right:2px;
    text-decoration:none;
    font-size:larger;
    font-weight:bold;
    display:inline-block;
    
}

.product-popup {
display:contents;

}

.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
  margin-bottom: 20px;
}

.accesorii_plus {
    margin-bottom:0.5rem;
}

/* chrome remote debugging: */
.woocommerce-product-gallery {
    height:unset !important;
}

#up-sell-popup .custom-price-over-image,#up-sell-popup .sale {
  position: unset;
}
#up-sell-popup span:not(.sale) {
/*
    display:contents;
*/
}

#up-sell-popup .button {
  clear: both;
  display: block;
  width: min-content;
  margin: auto;
  color: #efefef;
}

#up-sell-popup img {
    margin:auto;
    width:85%;
}
#offer-products li.entry {
    border-bottom:1px solid #efefef;
    margin-bottom:5px;
}

.giftselector-label {
    display:flex;
    font-size:15px;
    clear:both;
    }

.freegift-radio {
width:24px;
height:24px;
margin-left:10px;
margin-right:5px;

}

.freegift-image {
 width:64px !important;
 height:auto;
 margin-bottom:10px !important;
 }

 .free-gift-selector h4 {
    margin-bottom:20px;
}
.free-gift-selector {
margin-bottom:20px;
}

@media(min-width:481px) {

#up-sell-popup .manufacturer,#up-sell-popup .dimensions {
    margin-left:43px;
}

#up-sell-popup .gift {
    margin-right:43px;
}

#up-sell-popup .set {
    margin-right:67px;
}

#up-sell-popup .product-details {
  clear: both;
  text-align: center;
  margin-bottom: 15px;
}
#up-sell-popup .woocommerce-loop-product__title {
    margin-bottom:10px;
}

} /* media 640min */


@media(max-width:480px) {

#up-sell-popup .manufacturer,#up-sell-popup .dimensions{
    margin-left:24px;
    font-size:15px;
    
}

#up-sell-popup .gift{
    margin-right:27px;
    font-size:15px;
}
#up-sell-popup .set{
    margin-right:29px;
    font-size:15px;
}

#up-sell-popup .manufacturer{
    margin-left:24px;
}

#up-sell-popup .product-details {
  clear: both;
  text-align: center;
  margin-bottom: 15px;
}
#up-sell-popup .woocommerce-loop-product__title {
    margin-bottom:10px;
}

.mini-button {
    margin-bottom:3px;
    }
    
.giftselector-img {
    display:none;
    }


.freegift-radio {
margin-bottom:10px;
float:right;
accent-color:#398895;
}    

.giftselector-label {
    display:block;
}


} /* media 640min */

.setbutton {
    margin-top:10px;

}

.cfvsw-selected-swatch {
  border-color: #398895 !important;
  border-width: 3px;
}
.product-popup a {
    text-decoration:none;
    margin:15px;
    line-height:40px;
    }
    
.preorder-time {
    display:none;
}
.ywpo_release_date,.preorder-my-account {
    display:none;
}
