/*
Theme Name: Lafka Child
Theme URI: https://lafka.althemist.com/
Description: <strong>Lafka theme by theAlThemist</strong> - <br/> Modern E-commerce WordPress / WooCommerce theme<br/> <a href='http://www.althemist.com'>Other themes by us.</a>
Version: 1.0.0
Template: lafka
Author: theAlThemist
Author URI: https://www.althemist.com
License: Envato / Themeforest Split Licence
License URI: https://themeforest.net/licenses/standard
Text Domain: lafka
*/

body {
    background-color: #FFFFFF;
}
#content>.inner {
    background-color: transparent;
}

body .mfp-wrap.lafka-quick-view-lightbox {
    top: 10vh;
    left: 10vw;
    width: 80vw;
    height: 80vh;
    border-radius: 16px;
    overflow: hidden auto;
}

body .mfp-wrap.lafka-quick-view-lightbox .mfp-content {
	min-height: 80vh;
}

/* Homepage style */

.wpb_wrapper h5 {
    font-family: Rubik;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: rgba(36, 36, 36, 1);
    margin-bottom: 30px;
}

#best-sold {
    overflow: visible !important;
}
#best-sold .swiper-button-next {
    background-color: #FFFFFF;
    padding: 62px 26px;
    border-radius: 8px;
    text-align: center;
    color: #000;
    top: 70px;
    bottom: 0;
    margin: auto;
    right: -70px;

    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);
}
#best-sold .swiper-button-prev {
    background-color: #FFFFFF;
    padding: 62px 26px;
    border-radius: 8px;
    text-align: center;
    color: #000;
    top: 70px;
    bottom: 0;
    margin: auto;
    left: -70px;

    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);    
}
#best-sold .best_sold_products:nth-child(2n) a.lafka-quick-view-link {
    background: url(https://properpizza.ro/proper2025/wp-content/themes/lafka-child/img/pattern_best_seller_transparent2.png), linear-gradient(180deg, #ED1C24 0%, #AD1419 100%);
    background-size: cover;
    background-position: center;
    transform: rotate(9deg);
}
#best-sold .best_sold_products:nth-child(4n) a.lafka-quick-view-link {
    background: url('https://properpizza.ro/proper2025/wp-content/themes/lafka-child/img/pattern_best_seller_transparent2.png'), linear-gradient(180deg, #0169E5 0%, #013E87 100%);
    background-size: cover;
    background-position: center;
    transform: rotate(351deg);
}
#best-sold .best_sold_products:nth-child(2n) h3,
#best-sold .best_sold_products:nth-child(4n) h3,
#best-sold .best_sold_products:nth-child(2n) p span,
#best-sold .best_sold_products:nth-child(4n) p span {
    color: #FFFFFF !important;
}

/* Override tiktok icon with vimeo */
body .fa-vimeo-square:before {
    content: "\e07b";
}


/* Header */
.background_proper_gradient {
    background: #FFFFFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 244, 1) 100%);
}
body #header {
    background: #FFFFFF !important;
}
body #header .inner {
    background-color: transparent !important;
}
body #header.lafka-has-header-top #logo {
    margin-bottom: 0;
    left: 0;
    position: relative;
    margin-left: 0;
    top: 0 !important;
    margin-right: 10px;
    display: inline-block;
    vertical-align: top;
    float: none;
    padding-left: 0 !important;
}
body #header.lafka-has-header-top #logo a {
    text-align: left;
}
#header.lafka-has-header-top #main-menu {
    margin-top: 30px;
    position: relative;
    display: inline-block;
    vertical-align: top;
/*    width: inherit;*/
    width: calc(100% - 380px);
    background-color: #FFFFFF;
    float: none;
}
#header .lafka-top-bar-message span.lafka-top-bar-phone {
    display: inline-block;
    min-width: 130px;
}
/* Sticky header Sticksy lol */
body #header.lafka-has-header-top {
    border-bottom: 1px solid #F4F4F4;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-top: 5px;
}
body #header.lafka-has-header-top.lafka-sticksy {
    padding-top: 0;
    min-height: 120px;
}
body #header.lafka-sticksy #logo {
    padding: 5px;
}
body #header.lafka-sticksy #logo img {
    max-height: 65px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top {
    min-height: 40px;
    max-height: 40px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .proper_locatie_top {
    margin-top: 10px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message {
    position: relative;
    top: 0;    
    line-height: 16px;
    height: 32px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message:before {
    font-size: 22px;
    top: 10px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message span.lafka-top-bar-phone {
    line-height: 20px;
    height: 30px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message span.lafka-top-bar-phone a {
    font-size: 20px;
    line-height: 38px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message span.lafka-top-bar-phone > span {
/*    font-size: 12px;
    line-height: 12px;*/
    display: none;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top #lafka-top-right-menu-container .lafka-social {
    margin-top: 5px;
}
body #header.lafka-has-header-top.lafka-sticksy #header_top #lafka-top-right-menu-container .lafka-social a {
    font-size: 14px !important;
    line-height: 32px;
    height: 30px;
}
body #header.lafka-sticksy #main-menu {
    max-height: unset;
    max-height: inherit;
    height: initial;
    height: inherit;
    overflow: auto;
    opacity: 1;    
    margin-top: 10px;
}
/* end sticky */
#header .lafka-search-cart-holder .lafka-search-trigger {
    float: left;
}
#main-menu:before, #main-menu:after {
    display: none !important;
    visibility: none;
}

/* Overide white background on top menu icons */
body #header, body #header.lafka-sticksy:before, body .lafka-top-bar-message {
    background-color: transparent;
}
body .lafka-search-cart-holder {
    background-color: #FFD400;
}
/* end */

#header .lafka-top-bar-message {
    top: 0;
    left: 0;
    background-color: #FFFFFF;
    font-size: 18px;
    line-height: 20px;
    box-shadow: none;
    color: #242424;
    padding-top: 2px;
    float: none;
    position: relative;
    display: inline-block;
    vertical-align: top;    
}
#header .lafka-top-bar-message span a {
    color: #242424;
    font-size: 18px;
    line-height: 20px;
    margin: 0;
    padding: 0;
}
#header .lafka-top-bar-message span > span {
    font-size: 12px;
    line-height: 14px;
    color: #595959;
    margin: 0;
    padding: 0;
    top: 0;
    position: relative;
}
#header .lafka-top-bar-message:before {
    content: "\f095";
    font-family: 'Font Awesome 5 Pro';
    vertical-align: middle;
    margin-right: 10px;
    display: inline-block;
    font-weight: 900;
    display: block;
    float: left;
    font-size: 30px;
    position: relative;
    font-size: 32px;
    top: 16px; 
}
#header #lafka-top-left-menu-container {
    text-align: left;
    padding-left: 40px;
}
#header #lafka-top-right-menu-container {
    text-align: right;
    padding-right: 30px;
}
#header #lafka-top-right-menu-container .lafka-social {
    margin-top: 10px;
    border-left: 2px solid #F4F4F4;
    float: none;
    position: relative;
    display: inline-block;
    vertical-align: top;    
}
#header #lafka-top-right-menu-container .lafka-social a {
    color: #242424;
}
body .lafka-top-bar-mail:before, body .lafka-top-bar-phone a:before {
    display: none;
}
#header #header_top {
    background-color: #FFFFFF;
    border-bottom: 1px solid #F4F4F4;
}
#header_top .proper_locatie_top {
    color: #242424;
    margin-top: 20px;
}
#header_top .lafka-social ul {
    margin: 0;
}

/* Story slides */
.stories_wrapper {
    padding-left: 80px;
    padding-right: 80px;
}
#swipebox-prev {
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    z-index: 10;
}
#swipebox-next {
    right: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    position: absolute;
    z-index: 10;
}
body #swipebox-close {
    top: 15px;
    right: 15px;
}
#proper-stories:after {
    content: "";
    position: absolute;
    inset: -10px;
    background: inherit;
    filter: blur(5px);
    background-image: linear-gradient(90deg, transparent 0%, #FFFFFF 100%);
    /* box-shadow: inset 0px 0px 25px 18px white; */
    border-radius: inherit;
    pointer-events: none;
    height: calc(100% + 20px);
    width: 100px;
    top: -10;
    right: -15px;
    z-index: 10;
    left: unset;
    border-right: 30px solid #FFF;
}
#proper-stories:before {
    content: "";
    position: absolute;
    inset: -10px;
    background: inherit;
    filter: blur(5px);
    background-image: linear-gradient(90deg, #FFFFFF 0%, transparent 100%);
    /* box-shadow: inset 0px 0px 25px 18px white; */
    border-radius: inherit;
    pointer-events: none;
    height: calc(100% + 20px);
    width: 100px;
    top: -10px;
    right: unset;
    z-index: 10;
    left: -15px;
    border-left: 30px solid #FFF;
}
#swipebox-overlay #loading_bar {
    background-color: #111111;
    border: 1px solid #111 !important;
}


/* Story CSS for gradient color wrapper */
#proper-stories .swiper-slide{
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    text-align: center;
}
#proper-stories .swiper-slide:hover {
    text-decoration: none;
    opacity: 0.8;
    transform: scale(1.03);
}
#proper-stories .swiper-slide img {
    border-radius: 20px;
}
#proper-stories .swiper-button-next {
    background-color: #FFFFFF;
    padding: 62px 26px;
    border-radius: 8px;
    text-align: center;
    color: #000;
    top: 0;
    bottom: 0;
    margin: auto;
    right: -70px;

    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);

}
#proper-stories .swiper-button-prev{
    background-color: #FFFFFF;
    padding: 62px 26px;
    border-radius: 8px;
    text-align: center;
    color: #000;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -70px;

    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.1);

}

#swipebox-slider .slide.current .swipebox-bg {
  display: block;
  content: " ";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url('https://properpizza.ro/proper2025/wp-content/uploads/2021/06/scream-for-cream-570x885.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(40px);
  transform: scale(1.2); /* optional zoom */
  z-index: 0;
  top: 0;
}
#swipebox-slider .slide > img {
    border-radius: 20px;
    position: relative;
    z-index: 2;
}


#story-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 600px;
  height: 800px;
  background: linear-gradient(135deg, #000000, #ffffff); /* default gradient */
  transition: background 0.5s ease;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

#story-image {
  max-width: 90%;
  max-height: 90%;
  z-index: 1;
  border-radius: 10px;
}

/* Product sliders - sub story */
.background_proper_gradient.stories_wrapper + div + div.lafka-visible-overlay .vc_column_container:before {
    display: block;
    content: " ";
    position: absolute;
    z-index: 2;
    background-color: #f4f4f4;
    width: 100%;
    height: 100%;
    transform: translateX(-100%);
    margin-left: -50px;
    top: 0;
}
.background_proper_gradient.stories_wrapper + div + div.lafka-visible-overlay .vc_column_container:after {
    display: block;
    content: " ";
    position: absolute;
    z-index: 2;
    background-color: #f4f4f4;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    margin-left: 50px;
    top: 0;
}

/* Footer Subscribe form overrides CF7 */
.flafka_single_field_subscribe_wrapper {}
.lafka_single_field_subscribe {
    position: relative;
    min-height: 55px;
    margin-bottom: 10px;
}
.flafka_single_field_subscribe_wrapper form {
    padding: 0;
    background-color: transparent;
    border: none;
}
.lafka_single_field_subscribe p {
    display: block;
    clear: both;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333333;
    font-size: 13.5px;
}

/* Homepage Best Seller Slider */
#best-sold {}
#best-sold .best_sold_products {
/*    min-width: 300px;*/
    min-width: calc(25% - 20px);
}
#best-sold .best_sold_products a.lafka-quick-view-link {
    display: flex;
    flex-direction: row;
    background-color: #FFFFFF;
    border-radius: 16px;
    padding: 16px;    
}
#best-sold .best_sold_products a.lafka-quick-view-link:hover {
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
    transform: scale(1.03);
}
#best-sold .best_sold_products .left {
    display: inline-block;
    vertical-align: top;
    width: 30%;
}
#best-sold .best_sold_products .left img {
    border-radius: 16px;
}
#best-sold .best_sold_products .right {
    display: inline-block;
    vertical-align: top;
    width: 70%;    
    padding-left: 15px;
}
#best-sold .best_sold_products .right h3 {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #242424;
    /* Elipsis 2 lines of text */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
#best-sold .best_sold_products .right p {
    margin-top: 10px;
    margin-bottom: 0;
}
#best-sold .best_sold_products .right p span.amount {
    font-weight: 500;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0;
    color: #242424;
}

/* Product cards style */
body div.prod_hold .image a {
    border: none;
}
/*#main .prod_hold:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    cursor: pointer;
}*/
#products-wrapper #main .woocommerce,
#main .content_holder .wpb_wrapper .woocommerce {
    perspective: 3000px;
}
#main .prod_hold {    
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

#main .prod_hold::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

#main .prod_hold:hover {
    /*transform: rotateY(1deg) rotateX(1deg) scale(1.07);*/
    box-shadow: 0 25px 50px rgba(0,0,0,0.25), 0 0 20px rgba(255,255,255,0.2);
}

#main .prod_hold:hover::after {
    opacity: 1;
}

#main .prod_hold:hover .image img {
    /*transform: rotateY(0deg) rotateX(40deg) scale(1.15);*/
}
#main .prod_hold .lafka-list-prod-summary .name {
    -webkit-transition: all 0.6s ease;
    transition: all 0.6s ease;    
}
#main .prod_hold:hover .lafka-list-prod-summary .name {
    transform: scale(1.15);
}
#main div.prod_hold:hover .links a.lafka-quick-view-link {
    transform: scale(1.3);
    background-color: #333333;
    color: #FFF;
    border-color: #FFD400;
}
body #main div.prod_hold .links a.lafka-quick-view-link:hover {
    color: #f2002d;
    background-color: #FFF;
}

.woocommerce-shipping-totals {
	opacity: 0 !important;
    max-height: 0px;
    display: block;
}

#billing_country_field, #shipping_country_field {
    display: none !important;
}

/* Product page overrides */
.lafka-product-summary-wrapper div.summary {
    padding-left: 40px;
    padding-right: 40px;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support {
    width: 100%;
    padding: 20px 20px 5px;
    border: 2px solid #f1f1f1;
    border-radius: 6px;
    position: relative;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support th {
    text-transform: uppercase;
    position: absolute;
    top: -16px;
    padding: 0px 8px;
    line-height: 30px;
    height: 30px;
    background-color: #ffffff;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 14px;
    border: none;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support tr:first-child th label {
    font-size: 14px !important;
    font-weight: bold;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .lafka-wcs-swatches {
    width: 100%;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .swatch {
    margin-right: 0 !important;
    border-radius: 0;
    text-transform: capitalize;
    width: 25% !important;
    border: 1px solid #CECECE !important;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .swatch:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .swatch:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .swatch.swatch-label.selected {
    background-color: #242424 !important;
    border-color: #242424 !important;
}
body .product_cat-pizza form.variations_form.cart table.variations.swatches-support td .lafka-wcs-swatches .swatch.swatch-label:hover {
    border-color: #f2002d !important;
    background-color: #f2002d !important;
}
.product_cat-pizza form.variations_form.cart table.variations.swatches-support td .swatch + .swatch {
    border-left: 0 !important;
}
.product_cat-pizza form.variations_form.cart .single_variation_wrap {

}

/* Alege Blatul si Branzeturi */
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit {
    display: flex;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row {
    flex: 0 0 auto;
    width: auto;
    flex-grow: 1;
    text-align: center;
    border: none;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row label {
    margin-right: 0 !important;
    border-radius: 0;
    border: 1px solid #CECECE;  
    color: #333333;
    text-transform: none;
    background-color: #f8f8f8;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row + p.form-row {
    border-left: 0 !important;    
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row label:has(input[type="radio"]:checked) {
    background-color: #242424;
    border-color: #242424;    
    color: #FFFFFF;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row label:hover {
    border-color: #f2002d !important;
    background-color: #f2002d !important;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Alege-tiBlatulFavorit p.form-row label input {
    visibility: hidden;
    opacity: 0;
    font-size: 0;
    width: 0;
    margin: 0;
}

/* Alege Branzeturi */ 
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi {
    display: flex;
    flex-wrap: wrap;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row {
    flex: 0 0 auto;
    width: auto;
    flex-grow: 1;
    text-align: center;
    border: none;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row label {
    margin-right: 0 !important;
    border-radius: 0;
    border: 1px solid #FFFFFF;  
    color: #242424;
    text-transform: none;
    background-color: #F4F4F4;
    border-radius: 4px;
    margin-bottom: 4px;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row + p.form-row {
    border-left: 0 !important;    
    margin-left: 4px;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row + p.form-row + p.form-row {
    border-left: 0 !important;    
    margin-left: 0 !important;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row label:has(input[type="checkbox"]:checked) {
    background-color: #E6F2FF;
    border-color: #0970E9;    
    color: #092C55;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row label:hover {
    border-color: #f2002d !important;
    background-color: #f2002d !important;
    color: #FFFFFF !important;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-Branzeturi p.form-row label input {
    visibility: hidden;
    opacity: 0;
    font-size: 0;
    width: 0;
    margin: 0;
}

/* Extra Toppings produse Pizza product-addon-AlegeExtratoppinguri */ 
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri {
    display: flex;
    flex-wrap: wrap;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row {
    flex: 0 0 auto;
    width: auto;
    flex-grow: 1;
    text-align: center;
    border: none;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row label {
    margin-right: 0 !important;
    border-radius: 0;
    border: 1px solid #FFFFFF;  
    color: #242424;
    text-transform: none;
    background-color: #F4F4F4;
    border-radius: 4px;
    margin-bottom: 2px;
    min-width: 105px;

    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;    
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row + p.form-row {
    border-left: 0 !important;    
    margin-left: 2px;
}

.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row label:has(input[type="checkbox"]:checked) {
    background-color: #E6F2FF;
    border-color: #0970E9;    
    color: #092C55;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row label:hover {
    border-color: #f2002d !important;
    background-color: #f2002d !important;
    color: #FFFFFF !important;
}
.product_cat-pizza form.variations_form.cart .product-addon.product-addon-AlegeExtratoppinguri p.form-row label input {
    visibility: hidden;
    opacity: 0;
    font-size: 0;
    width: 0;
    margin: 0;
}

/* Other product styles */
.product_meta .sku_wrapper {
    display: none;
    visibility: hidden;
}
.custom-shipping-top> div {
    margin-bottom: 25px;
}
.custom-shipping-top> div + div {
    margin-bottom: 10px;
}
.custom-shipping-top div label {
    font-size: 14px !important;
}
}
.custom-shipping-top p,
#store_location_field p {
    padding: 0 10px;
    margin: 0 !important;
}
#store_location_field label {
    width: calc(100% - 50px);
}
#store_location_field label[for=store_location_1] {
    margin-bottom: 15px;
}
#store_location_field .woocommerce-input-wrapper {
    display: block;
}
#products-wrapper div.product-category.product a h2.lafka-has-fancy {
    color: #333 !important;
    padding-bottom: 0;
    padding: 0px;
    width: 100%;
    text-align: center;
}


/* Search spacing title */
.archive.post-type-archive.post-type-archive-product.woocommerce-shop .lafka_title_holder .inner,
.woocommerce-cart.woocommerce-page .lafka_title_holder .inner,
.woocommerce-checkout.woocommerce-page .lafka_title_holder .inner {
    padding-top: 40px !important;
    padding-bottom: 30px !important;
}
.woocommerce-cart.woocommerce-page .cart-info table.shop_table.cart {
    border-top: none;
    padding-top: 0 !important;
}
.woocommerce-cart.woocommerce-page .content_holder,
.woocommerce-checkout.woocommerce-page .content_holder {
    padding-top: 20px;
}
.woocommerce-checkout .woocommerce-form-coupon-toggle, 
.woocommerce-checkout .woocommerce-form-login-toggle {
    margin-bottom: 15px;
}
.woocommerce-checkout .woocommerce-billing-fields, .woocommerce-checkout .woocommerce-shipping-fields {
    padding-top: 0;
    padding-bottom: 0;
}
#ship-to-different-address {
    height: 20px;
    margin-left: 8px;
    margin-right: 8px;    
}
.woocommerce-checkout .woocommerce form.checkout p.address-field label {
    display: inline;
}
.woocommerce-checkout .woocommerce form.checkout #billing_address_2_field label {
    display: none;
}
.woocommerce-checkout .woocommerce form.checkout #billing_address_2_field {
    margin-top: 0;   
}
.woocommerce-checkout .distance-based-delivery-inline__panel {
    box-shadow: none;
    margin: 0 12px;
}
.woocommerce-checkout .custom-shipping-top {
    margin-bottom: 20px !important;
    margin-top: 20px;
    border-top: 1px solid #111;
    padding-top: 20px;
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
    margin-left: 8px;
    margin-right: 8px;
}
.woocommerce-checkout .custom-shipping-top h3 {
    margin-bottom: 10px !important;
}
.woocommerce-checkout .woocommerce form.checkout .address-field .button.detect-address-button {
    display: inline;
}
.archive.post-type-archive.post-type-archive-product.woocommerce-shop .lafka_title_holder h6 {
    display: none;
}
.archive.post-type-archive.post-type-archive-product.woocommerce-shop #products-wrapper {
    padding-top: 25px;
    padding-bottom: 25px;
}

/* style select elements */
.variations_form select {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 36px 8px 10px; /* space for arrow */
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  outline: none;
  box-shadow: none;
  color: #333333;

  /* Custom arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23666' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 10px 6px;
}
body .summary form.cart div.product-addon p.form-row label {
    border: 1px solid #ccc;
}
button.reset_variations {
    background-color: #333;
    color: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-left: 0;
    float: right;
}
.single_variation_wrap {
  clear: both;
}
body td div.quantity {
    padding: 0;
    margin: 0 auto;
    background-color: #FFFFFF !important;
}
body td div.quantity input.lafka-qty-plus, body td div.quantity input.lafka-qty-minus {
    /*display: block !important;*/
}
body td .quantity .qty-btn.minus, body td .quantity .qty-btn.plus {
    /*display: none;*/
}
body td div.quantity input.qty {
    padding: 0px;
    font-size: 15px;
    font-weight: bold;
    border: none !important;
    background: none;
    box-shadow: none;
    line-height: 46px;
    vertical-align: middle;
    background-color: #fff !important;
}
body td div.quantity input.lafka-qty-plus:hover, body td div.quantity input.lafka-qty-minus:hover {
    background-color: #cecece !important;
}
body td .qty-btn.plus {
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    top: 50%;
    margin-top: -15px;
    border: none !important;
    background: none !important;
    padding: 0;
    border-radius: 50%;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    display: block;
    color: #111;
    z-index: 1;
    right: 3px;
}
body td .qty-btn.minus {
    position: absolute;
    width: 30px;
    height: 30px;
    line-height: 30px;
    top: 50%;
    margin-top: -15px;
    border: none !important;
    background: none !important;
    padding: 0;
    border-radius: 50%;
    font-weight: bold;
    font-size: 17px;
    cursor: pointer;
    display: block;
    color: #111;
    z-index: 1;
    left: 3px;
}

/* Checkout and Cart styles */
.button.detect-address-button {
    margin-bottom: 10px;
    margin-left: 0 !important;
    background-color: #22272d;
    border: 3px solid #FFD400;
    margin-left: 10px !important;
}
button.distance-based-delivery-map-toggle {
    display: block;
    position: relative;
    top: unset;
    top: initial;
    right: unset;
    right: initial;
    transform: none;
    margin-top: 25px;
    display: block;
    width: 100%;
    background-color: #333;
    font-size: 15px;
    color: #fff;
    padding: 12px;
    border: 3px solid #FFD400;
    -webkit-transition: all .6s cubic-bezier(0.77, 0, 0.175, 1);
    transition: all .6s cubic-bezier(0.77, 0, 0.175, 1);    
}
.custom-shipping-top p.location-warning {
    color: #d32f2f;
    font-weight: 600;
    background-color: #F5F5F5;
    border-radius: 4px;
    margin-bottom: 10px !important;
}
.custom-shipping-top p.location-warning span {
    color: #222;
    font-weight: bold;
    text-decoration: underline;
}
.custom-shipping-top p.location-warning a {
    float: right;
}
.custom-shipping-top p.location-warning + p {
    clear: both;
}
.payment_box.payment_method_stripe_payment { 
    padding-top: 10px;
}
.payment_box.payment_method_cod {
    display: none;
}
table.woocommerce-checkout-review-order-table {
    margin-bottom: 15px;
}
button.distance-based-delivery-map-toggle:hover, .button.detect-address-button:hover {
    background-color: #FFD400 !important; /* #f2002d */
    border-color: #333;
}
p.instructiuni_adresa {

}
.woocommerce-form-login-toggle {
    margin-top: 10px;
}
@media only screen and (max-width: 782px) {
    body.woocommerce-cart .lafka_title_holder .inner,
    body.woocommerce-checkout .lafka_title_holder .inner {
        padding-top: 20px;
        padding-bottom: 15px;
    } 
    body.woocommerce-checkout #content > .inner {
        padding-left: 15px;
        padding-right: 15px;
    }
    body.woocommerce-checkout .woocommerce-error {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        padding: 5px !important;
    }
    body.woocommerce-checkout.woocommerce form.checkout p.checkout-inline-error-message, 
    body.woocommerce-checkout.woocommerce div.woocommerce form p.checkout-inline-error-message {
        margin: 0;
        padding: 10px 10px 0px;
    }
    body .woocommerce form.checkout h3 {
        margin-bottom: 10px;
    }
    body .woocommerce form.checkout p, 
    body div.woocommerce form p {
        margin-bottom: 0px;
    }
    body.archive.post-type-archive.post-type-archive-product.woocommerce-shop .lafka_title_holder .inner {
        padding-top: 20px !important;
        padding-bottom: 15px !important;
    }
}

/* Stripe styles */
#stripe-errors {
    margin-bottom: 10px;
}

/* WooCommerce error message styling */
.woocommerce-error {
  background: #ffe5e5; /* light red background */
  border: 1px solid #ff4d4d; /* stronger red border */
  color: #b30000; /* dark red text */
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 12px;
  list-style: none; /* remove bullets */
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  animation: fadeInDown 0.3s ease; /* subtle animation */
}

.woocommerce-error li {
  margin: 5px 0;
  padding-left: 25px;
  position: relative;
}

.woocommerce-error::before {
  content: "⚠️"; /* warning icon */
  position: absolute;
  left: 0;
  top: 0;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}



/* Custom Pizza product views */
.product_cat-pizza {}
.product_cat-pizza .reset_variations {
    display: none !important;
    visibility: hidden;
}
.product_cat-pizza figure, .product_cat-pizza .lafka-quickview-images {
    background-image: url('https://properpizza.ro/proper2025/wp-content/themes/lafka-child/img/proper_pizza_vector_size.svg');
    background-size: 98% 98%;
    background-position: 4px 3px;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
    vertical-align: middle;
    position: relative;
}
.product_cat-pizza figure:hover, .product_cat-pizza .lafka-quickview-images:hover {
    background-image: none;
}
.product_cat-pizza figure > div, .product_cat-pizza .lafka-quickview-images > div {
/*    width: 50%;
    margin: 0 auto;
    display: block;*/
    
    width: 50%;
    height: 50%;
    margin: auto;
    display: inline-block;
    position: absolute;
    top: -4% !important;
    bottom: 0;
    left: 0;
    right: 0;    
    border-radius: 49%;
    overflow: hidden;    
}
.product_cat-pizza figure > div + div, 
.product_cat-pizza .lafka-quickview-images > div + div {
    width: 100%;
    margin-top: 100px;
    opacity: 0.6;
    /*display: none !important;*/
}

.product_cat-pizza.pizza-mica div.woocommerce-product-gallery__image {
    width: 50%;
    height: 50%;
}
.product_cat-pizza.pizza-medie div.woocommerce-product-gallery__image {
    width: 66%;
    height: 66%;
}
.product_cat-pizza.pizza-mare div.woocommerce-product-gallery__image {
    width: 84%;
    height: 84%;
}
.product_cat-pizza.pizza-party div.woocommerce-product-gallery__image {
    width: 100%;
    height: 100%;
}

.woocommerce-product-gallery .summary {
    width: 100% !important;
}

.img_addon {
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
}
.img_addon.addon-ciuperci {
    background-image: url(https://properpizza.ro/proper2025/horezu/wp-content/uploads/sites/3/2025/07/pizza-ciuperci.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -1%;
    left: 0;
    height: 100%;
    width: 100%;
    animation: growIn 0.4s ease-in-out 0.1s forwards;
    pointer-events: auto;
}

.img_addon.addon-pepperoni {
    background-image: url(https://properpizza.ro/proper2025/horezu/wp-content/uploads/sites/3/2025/07/pizza-pepperoni.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -1%;
    left: 0;
    height: 100%;
    width: 100%;
    animation: growIn 0.4s ease-in-out 0.1s forwards;
    pointer-events: auto;
}

/*.img_addon:not(.addon-ciuperci) {
  animation: shrinkOut 0.3s ease-in-out forwards;
  pointer-events: none;
}
.img_addon:not(.addon-ciuperci) {
  animation: shrinkOut 0.3s ease-in-out forwards;
  pointer-events: none;
}*/

@keyframes growIn {
  0% {
    opacity: 0;
    transform: scale(1.4);
  }
  100% {
    opacity: 1;
    transform: scale(0.8);
  }
}

@keyframes shrinkOut {
  0% {
    opacity: 1;
    transform: scale(0.8);
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}


 /* ===== Container (Sticky) descarca aplicatia ===== */
.app-banners {
  position: fixed;              /* ca să fie sigur peste tot, inclusiv pe mobil */
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: none !important;                /* va fi setat pe block din JS */
  background: #0b0b10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* full width, fără max-width/margin auto */
.app-banners-inner {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px 8px 12px;;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

/* fix slider homepage smaller screens */
@media (max-width: 1400px) {
    body #best-sold .swiper-button-next {
        right: -50px;
    }
    body #best-sold .swiper-button-prev {
        left: -50px;
    }
}

/* două coloane doar pe ecrane mari */
@media (min-width: 768px) {
  .app-banners-inner {
    grid-template-columns: 1fr 1fr;
  }
  body .app-banners-inner {
    padding: 10px 30px 10px 30px;
    max-width: 1440px;
    margin: 0 auto;    
  }
}

@media (max-width: 768px) {
  .app-banner {
    flex-wrap: wrap;
  }
  .app-banner-btn {
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
}

/* ===== Banner ===== */
.app-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: linear-gradient(135deg, #1f2933, #111827);
}

.app-banner--ios {
  background: linear-gradient(135deg, #1e293b, #020617);
}

.app-banner--android {
  background: linear-gradient(135deg, #064e3b, #022c22);
}

.app-banner-icon img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.app-banner-content {
  flex: 1;
  min-width: 0;
}

.app-banner-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-banner-text {
  font-size: 0.75rem;
  opacity: 0.8;
  line-height: 1.2;
}

.app-banner-btn {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.25);
  color: #ffffff;
  white-space: nowrap;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.app-banner-btn:hover,
.app-banner-btn:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* ===== Close Button ===== */
.app-banners-close {
  position: absolute;
  top: 4px;
  right: 0px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  width: 26px;
  height: 26px;
  line-height: 22px;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  filter: alpha(opacity=65);
  padding: 5px 5px 5px 5px;
  color: white;
  font-style: normal;
  font-size: 28px;
}

.app-banners-close:hover,
.app-banners-close:focus-visible {
  color: #ffffff;
}

/* Mobile: mai compact */
@media (max-width: 480px) {
/*  .app-banner-text {
    display: none;
  }*/
}


  /* END sticky download apps */



/* Responsive Mobile Queries */
@media (max-width: 760px) {
    #header #lafka-top-left-menu-container {
        padding-left: 10px;
    }
    #header_top .proper_locatie_top {
        margin-top: 5px;
    }
    #lafka-top-left-menu-container {
        width: 45%;
    }
    #lafka-top-right-menu-container {
        width: 55%;
    }
    #header #lafka-top-right-menu-container .lafka-social {
        display: none;
        visibility: hidden;
    }
    body #header.lafka-has-header-top #logo {
        padding: 5px 0 0;
    }
    #header.lafka-has-header-top {
        min-height: 120px;
    }
    body #header.lafka-has-header-top.lafka-sticksy #header_top .proper_locatie_top span {
        display: none;
    }
    body .mfp-wrap.lafka-quick-view-lightbox {
        width: 98vw;
        left: 1vw;
    }
    body .lafka-quick-view-lightbox .lafka-quickview-images, 
    body .lafka-quick-view-lightbox .summary.entry-summary {
        padding: 10px;
    }

    #proper-stories:after {
        width: 80px;
    }
    #proper-stories:before {  
        width: 80px;
    }  
    body .cart-info td.product-remove a.remove {
        margin: 20px;
    }
    body table.shop_table.cart td.product-quantity div.quantity {
        max-width: 120px;
        float: right;
        display: block;
        width: 120px !important;
    }
    body table.shop_table.cart .product-name span.woocommerce-Price-amount.amount {
        position: absolute;
        margin-top: 0;
        color: #ffffff;
        background-color: #4d2c21;
        clear: both;
        font-size: 16px;
        font-weight: bold;
        top: 30px;
        left: 20px;
        padding: 9px 8px;
        border-radius: 4px;
        z-index: 5;
    }
    body.woocommerce-page.woocommerce-cart .woocommerce table.shop_table_responsive tr td.product-quantity:before, 
    body.woocommerce-page.woocommerce-cart .woocommerce table.shop_table_responsive tr td.product-quantity:before {
        line-height: 46px;
    }
    body.woocommerce-page.woocommerce-cart .woocommerce table.shop_table_responsive td div.quantity {
        background-color: #f5f5f5 !important;
    }
    body table.shop_table_responsive.cart td.product-quantity div.quantity input.input-text.qty.text {
        background-color: #f5f5f5 !important;
        height: 36px;
    }
    body.woocommerce-page.woocommerce-cart .woocommerce .cart_totals table td {
        border-bottom: none;
    }
    body.woocommerce-page.woocommerce-cart .woocommerce .cart-subtotal {
        width: 100% !important;
        min-width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: space-between;
        padding-right: 35px;
    }
    body .location-warning span {        
        display: block;
    }
    body .location-warning a {
        margin-top: -23px;
    }
}

@media (max-width: 400px) { 
    body #lafka-top-right-menu-container {
        width: 55%;
    }
    body #header .lafka-top-bar-message span.lafka-top-bar-phone {
        min-width: inherit;
    }
    body #header .lafka-top-bar-message span a {
        font-size: 15px;
    }
    /*body #header .lafka-top-bar-message::before {
        font-size: 14px;
    }*/
    body #header #lafka-top-right-menu-container {
        padding-right: 5px;
    }
    body #header.lafka-has-header-top.lafka-sticksy #header_top .lafka-top-bar-message span.lafka-top-bar-phone a {
        font-size: 18px;
    }
}

.custom-shipping-row {
	display: none !important;
}

.eapp-popup-layout-variation-modal-component-enter-done {
	pointer-events: inherit !important;
}
.order-total {
	opacity: 1 !important;
}