/*!
Theme Name: ag_maxkebab
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bsv-eccommerce
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready


bsv-eccommerce is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*product single page*/
/* .product-type-woosg .woosg-price {
    position: relative;
    top: -2.3rem;
    display: grid;
    right: -75px;
    justify-content: end;
}

.woosg-products .woosg-product form.variations_form .variations .variation .select select:hover {
   color: #509289;
}

.woosg-products .woosg-product form.variations_form .variations .variation .select select {
  padding: 4px 6px;
  letter-spacing: 0.1rem;
}

 */
 span.old-price {
    display: none;
}
.city-popup__overlay,
body .main-header.active {
   
    background: rgb(255 255 255 / 68%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgb(255 255 255 / 51%);
}

.page-delivery .accordion__header {
  font-size: 2rem;
}

.home-intro {
  height: auto !important;
}

.page-about h1 {
  text-align: left;
}

.page-about img.page-about__image-bottom {
  width: 300px;
}
body ul.breadcrumb li {
    display: inline-block;
}
.wrap {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1615px;
}

.page-about .container {
  padding: 2rem 5rem;
  position: relative;
  max-width: 800px;
  box-shadow: 0px 4px 60px -20px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  border-radius: 20px;
  margin-bottom: 4rem;
  z-index: 1;
}
.page-about p {
  text-align: left;

  font-family: var(--main-font);
  font-style: normal;
  font-weight: 300 !important;
  font-size: 2rem;
  line-height: 2.3rem;
  color: #000000;
  margin-bottom: 2rem;
}
.page-about .container ul {
  padding: 0rem 2rem;
  list-style-type: disc;
}
.page-about .container ::marker {
  font-size: 2rem;
  color: #ea363a;
}

.woocommerce-product-gallery__image {
  border-radius: 6rem;
  overflow: hidden;
}

#post-414 h1.entry-title {
  font-size: 6rem;
  text-align: center;
}

.page .page-delivery {
  padding: 4rem 0 17.8rem;
}

.single-product .block-sauces .block-category-products__products {
  gap: 12rem;
}

.single-product .woocommerce-product-gallery.images {
  width: 40%;
}

.page-about .head-image {
  margin: 10rem 0 2.5rem;
}
.page-about {
  padding: 0 !important;
}

.page-about h2 {
  color: #000;
  font-size: 3rem;
  margin-bottom: 1rem;
}
.page-about h3 {
  color: #d53729;
  font-size: 2rem;
}

img.attachment-featured-image.size-featured-image.wp-post-image {
  height: 300px;

  object-fit: cover;
  object-position: center;
}

.page-delivery .head-image {
  margin-top: 13rem;
  margin-bottom: 3rem;
}

p.pewc-description {
  display: none;
}

.pewc-item-field-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

@media screen and (max-width: 1400px) {
  .head-image {
    margin: 8rem 0 2.5rem;
  }

  .page-delivery .head-image {
    margin-top: 6rem;
  }
}

@media screen and (max-width: 990px) {
  .head-image {
    margin: 5rem 0 2.5rem;
  }

  .page-delivery .head-image {
    margin-top: 5rem;
  }

  .single-product .block-sauces .block-category-products__products {
    gap: 3rem;
  }

  .single-product .woocommerce-product-gallery {
    width: 70%;
  }
}

@media screen and (max-width: 574px) {
  .head-image {
    margin: 2rem 0 2.5rem;
  }

  .page-delivery .head-image {
    margin-top: 2rem;
  }

  .single-product .woocommerce-product-gallery.images {
    width: 90%;
  }
}

/* Nunito Sans - Variable Font */
@font-face {
  font-family: "Nunito Sans";
  font-weight: 100 900;
  font-display: swap;
  font-stretch: 75% 125%;
  font-style: normal;
  src:
    url("assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2") format("woff2-variations"),
    url("assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff2") format("woff2"),
    url("assets/fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.woff") format("woff");
}

@media screen and (max-width: 1700px) {
  ul.pewc-product-extra-groups.cols-2 {
    display: block;
  }
}


#shipping_method label {
    display: inline-flex;
	justify-content: center;
    flex-wrap: nowrap;
    gap: 8px;
}
.woocommerce-billing-fields .woocommerce-shipping-methods li label span.amount {
    display: inline!important; 
}
body .hidden,
span.optional {
    display: none!important;
}


.woocommerce-checkout .form-row select  {
    padding: 0rem;
    width: 100%;
	max-width: 150px; 
    height: 50px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    outline: none;
}




body .cart-icon .woocommerce-mini-cart__buttons a {
    
    background-color: #ea363a;
}
body .woocommerce-billing-fields .wc_payment_methods li img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -24px;
    margin: 0 auto;
    width: 13rem;
}
.socialimg,
.main-footer__bottom__social img {
    width: 47px;
}
footer.main-footer {
    margin-bottom: 48px;
}
.socialimg,
.main-footer__bottom__social a {
    transition: all 0.3s;
	
}
.socialimg:hover,
.main-footer__bottom__social a:hover {
    transform:scale(0.9);
	
}

body .accordion__header {
    
    letter-spacing: unset;
}
.page-contact__info ul li span {
    margin-right: 3rem;
}


/* Popup elegant pentru mesajul 'Magazinul este închis' */
.woocommerce-message-closed {
    position: fixed;
    top: 20vh;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 10px;
    padding: 15px 25px;
    max-width: 500px;
    width: 90%;
    font-size: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.woocommerce-message-closed.show {
    opacity: 1;
    visibility: visible;
}


.woocommerce-message-closed::before {
    content: "\f00d"; /* X pentru a închide */
    font-family: "FontAwesome";
    font-size: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Adaugă un efect de animare pentru a ieși din vizibilitate */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

li.wc_payment_method.payment_method_maib label img {
    max-width: 155px;
    margin: -6px 0;
    position: absolute;
    left: 32px;
    bottom: -22px;
}
@media screen and (min-width: 1568px) {
	li.wc_payment_method.payment_method_maib label img {

    bottom: -13px;
}
}


body .woocommerce-billing-fields .wc_payment_methods {
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
}
ul {
padding-inline-start: 0px;
}

body .woocommerce-billing-fields .wc_payment_methods li label {

    padding: 1.2rem 0 3.3rem 4rem;
}
body .single-product  .cart {
    display: flex !important;
    align-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 5px;
}

@media screen and (max-width: 992px) {	

 button.single_add_to_cart_button {
   // max-width: min-content;
	   padding: 2rem 4rem!important;
}
body    .shipping-cost {
        padding: 1rem 1.6rem .4rem;
        flex-direction: column;
        gap: 0.6rem;
    }
body	.call-button {
    
    right: 1.5rem;
    bottom: 6.5rem;
	}
}
