/* GENERAL STYLES V.1 */

html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Lato'; 
    src: url('../fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300; 
    font-style: normal;
}

@font-face {
    font-family: 'Lato'; 
    src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400; 
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Black.ttf') format('truetype');
    font-weight: 900; 
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

body {
    overflow-x: hidden;  
    font-family: "Lato", sans-serif;
    font-weight: 300;
    color: var(--black);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

section {
    padding: 60px 0;
}

h1 {
    font-weight: 700;
    color: var(--brown);
    text-transform: uppercase;
}

h2 {
    text-align: center;
    font-weight: 300;
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 20px;
    text-transform: uppercase;
}

h3 {
    font-weight: 300;
    text-transform: uppercase;
}

h4 {
    font-weight: 300;
}


strong {
    font-weight: 900;
}


input {
    transition: 0.3s ease-in-out;
}
input:focus-visible {
    outline: 2px solid var(--brown) !important;
    transform: scale(1.01);
}

img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}


li {
    list-style: none;
}


.hidden {
    display: none;
}


.uppercase {
    text-transform: uppercase;
}

.text-white {
    color: #fff;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.button-center {
    margin: 0 auto;
}

.text-brown {
    color: var(--brown);
}

.text-red {
    color: var(--red);
}

.ll-link {
    color: var(--brown);
    transition: 0.3s ease-in-out;
    font-weight: 400;
}

.ll-link:hover {
    color: var(--golden);
}

.is-style-rounded img {
    border-radius: 20px !important;
}


/* SECTION LAYOUT ////////////////////////////////////////*/

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.container {
    max-width: 1200px;
}

.section-padding {
    padding-top: 3%;
    padding-bottom: 3%;
}
.section-title {
    margin-top: 30px;
    margin-bottom: 40px;
}

.section-subtitle {
    margin-top: -20px;
}

.container-narrow {
    max-width: 900px;
    /* margin: 0 auto; */
}

.container-small {
    max-width: 500px;
    /* margin: 0 auto; */
}

.row-header {
    position: relative;
    margin-bottom: 40px;
    text-align: center;
}

.header-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-wrapper img {
    width: 40px;

    display: none;
}


.header-description {
    padding-inline: 8.5%;
}

.section-title {
    display: block;
    margin-bottom: 50px !important;
}

.section-title:before {
    background-image: url('https://www.love-life.pl/wp-content/uploads/2026/07/ll.png') !important;
    width: 40px !important;
    height: 40px !important;
}   

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: gentle-zoom 7s ease-in-out forwards;
}

.section-light-brown {
    background: linear-gradient(99deg, rgba(240, 212, 163, 0.15) 17.93%, rgba(218, 189, 140, 0.15) 41.98%, rgba(181, 152, 101, 0.15) 82.07%);
}

/* .section-light-brown .row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
} */

.text-narrow {
    max-width: 700px;
}


/* BUTTONS */
.cta {
    padding: 15px 40px;
    transition: 0.3s;
    border-radius: 15px;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(94deg, #B59865 0%, #F8B74E 80%);
    background-size: 300% auto;
    background-position: 0% center;
    font-weight: 300;
}

.cta:hover {
    background-position: 100% center;
    color: #fff;
}

.button-brown {
    border: 1px solid var(--brown);
    border-radius: 15px;
    text-transform: uppercase;
    padding: 1rem 2rem;
    transition: 0.3s ease-in-out;
    max-width: 300px;
    text-align: center;
    color: var(--brown);
}

.button-brown:hover {
    background: #b598652b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}


/* SECTION NAV ////////////////////////////////////// */

/* Style the wrapper to reserve space */
.navbar-wrapper {
    height: 80px; /* Adjust to your navbar height */
    position: relative;
}

.top-bar {
    padding-top: 4px;
    padding-bottom: 10px;
    z-index: 100;
    position: relative;
}

.navbar {
    background: rgba(255, 255, 255, 0.6); /* Use rgba with 0 opacity instead of 'none' */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    transition: background 0.7s ease, box-shadow 0.7s ease; 
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1); /* Fully opaque white */
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.15);
    position: fixed;
    top: 0; /* No transition on position or top */
}

/* Adjust margin-top for WP admin bar if present */
/* #wpadminbar + .navbar-wrapper .navbar {
    top: 32px; 
} */

.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: min(25px, 5%);
}


.navbar-collapse {
    justify-content: center;
}

.cart-icon-mobile {
    display: none;
}

.navbar-brand {
    height: 90px;
    padding-left: 5%;
}

.menu-item {
    transition: 0.3s ease-in-out;
}

.menu-item:hover {
    color: var(--golden);
}

.navbar-nav  .menu-item {
    text-transform: uppercase;
    text-align: center;
}

.navbar .page_item {
    padding: 5px 15px;
    font-size: 1.05rem;
    font-weight: 500;
}

.navbar .current_page_item {
    font-weight: 700;
    color: var(--brown);
}

/* WOOCOMMERCE ICONS */
.woo-icons {
    position: absolute;
    right: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    
}

.menu-cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-account {
    position: relative;
}

.user-name {
    position: absolute;
    height: 100%;
    text-transform: none;
    font-size: 0.8rem;
    text-wrap: nowrap;
    left: 0;
    transform: translateX(-40%);
}

@-moz-document url-prefix() {
    .user-name {
        top: 25px;
        left: 50%;
        transform: translateX(-55%);
    }
}

/* Safari-specific styling */
@supports (-webkit-touch-callout: none) and (not (translate: none)) {
    .user-name {
        left: 20px;
    }
}

.wc-block-mini-cart.wp-block-woocommerce-mini-cart  {
    visibility: visible !important;
}
/* 
.woocommerce-cart .widget_shopping_cart,
.woocommerce-checkout .widget_shopping_cart {
    display: block !important;
} */

.nav-icon {
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.nav-cart,
.wc-block-mini-cart__button  {
    background-image: url(../images/icon-cart.png) ;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 22px !important;
    width: 22px !important;
}

.nav-account {
    background-image: url(../images/icon-account.png) ;
}

.wc-block-mini-cart__button svg {
    display: none;
}

.wc-block-mini-cart__badge {
    color: #fff !important  ;
    background: var(--red) !important;
    border-radius: 50%;
    width: 14px !important;
    height: 18px !important;
    padding-bottom: 1px;
    transform: translate(10px,-10px) !important;
}

/* Language selector */

.language-menu {
    position: absolute;
    right: 215px;
    /* width: 70px; */
    margin-bottom: 0;
	top: 32px;
}

.language-menu li {
    padding-top: 7px;
}

.menu-item-object-language_switcher .trp-flag-image {
    margin: 0;
	width: 25px !important;
}


/* CART DRAWER */

.wc-block-mini-cart__drawer {
    padding-inline: min(10px, 2%);
}

.wp-block-woocommerce-mini-cart-title-block  {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wc-block-components-quantity-selector {
    border: 1px solid var(--golden);
    border-radius: 10px;
}

.wp-block-woocommerce-mini-cart-title-items-counter-block {
    font-size: 1rem;
}


.wc-block-mini-cart__title {
    font-size: 1.5rem;
    margin-top: 30px;
    align-self: center;
    text-align: center;
}

h2.wc-block-mini-cart__title {
    align-items: center !important;
    mask-image: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 10px !important;
}

.wc-block-mini-cart__empty-cart-wrapper p  {  
    font-size: 1.5rem;
    font-weight: 400;
 }

 /* Cart items styling */
 .wc-block-mini-cart-items .wc-block-cart-items__row {
    box-shadow: none !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--golden) !important;
 }

 .wc-block-cart-items__row {
    border-bottom: 1px solid var(--golden);
 }

 .wc-block-cart-items__row:first-child {
    border-top: 1px solid var(--golden) !important;
 }




 /* Buttons styling */
 .wc-block-components-button:not(.is-link).outlined:not(:focus) {
    box-shadow: none !important;
 }

.wc-block-mini-cart__footer-cart.outlined {
    border: 1px solid var(--brown);
    border-radius: 10px;
    color: var(--brown);
    transition: 0.3s ease-in-out;
}

.wc-block-mini-cart__footer-cart .wc-block-components-button__text {
    color: var(--brown);
    transition: 0.3s ease-in-out;
}
.wc-block-mini-cart__footer-cart .wc-block-components-button__text:hover {
    color: var(--golden) !important;
}

.wc-block-mini-cart__footer-cart {
    border-radius: 10px;
}


.wc-block-components-button:not(.is-link).outlined {
    transition: 0.3s ease-in-out;
}

.wc-block-components-button:not(.is-link).outlined:hover {
    background: var(--brown) !important;
    border: none;
    color: #fff !important;
}

.wc-block-components-button:not(.is-link).outlined:hover .wc-block-components-button__text {
    color: #fff !important;
}

 .wc-block-mini-cart__footer-checkout  {
    border-radius: 10px;
 }

 body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):focus {
    box-shadow: inset 0 0 0 1px var(--brown),0 0 0 2px var(--brown) !important;
 }

 .wc-block-mini-cart__footer-checkout{
   background: linear-gradient(94deg, #F8B74E 0%, #B59865 100%);
   background-size: 200% auto;
   background-position: right center;
   color: #fff !important;
   transition: all 0.3s ease-in-out !important  ;
 }

 .wc-block-mini-cart__footer-checkout:hover {
    background-position: left center;
 }
 .wp-block-woocommerce-mini-cart-cart-button-block {
    border: 1px solid var(--golden);
    box-shadow: none !important;
 }

 /* Close drawer button */
 .wc-block-components-button.wc-block-components-drawer__close {
    margin-top: 0 !important;
 }
 .wc-block-components-button.wc-block-components-drawer__close svg {
    display: none !important;
 }
 .wc-block-components-button.wc-block-components-drawer__close:after {
    content: '';
    background: url('../images/drawer_arrow.svg') no-repeat center center;
    width: 20px;
    height: 20px;
    display: block;
 }
 
 body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link):focus {
  box-shadow: none !important;
 }






/* Margins ---------------------------- */
.margin-top-xs {
    margin-top: 20px;
}

.margin-top-sm {
    margin-top: 40px;
}

.margin-top-md {
    margin-top: 80px;
}

.margin-top-lg {
    margin-top: 120px;
}

.margin-top-xl {
    margin-top: 160px;
}

.margin-bottom-xs {
    margin-bottom: 20px;
}

.margin-bottom-sm {
    margin-bottom: 40px;
}

.margin-bottom-md {
    margin-bottom: 80px;
}

.margin-bottom-lg {
    margin-bottom: 120px;
}

/* Padding ---------------------------- */
.padding-top-xs {
    padding-top: 20px;
}

.padding-top-sm {
    padding-top: 40px;
}

.padding-top-md {
    padding-top: 80px;
}

.padding-top-lg {
    padding-top: 120px;
}

.padding-top-xl {
    padding-top: 160px;
}

.padding-bottom-xs {
    padding-bottom: 20px;
}

.padding-bottom-sm {
    padding-bottom: 40px;
}

.padding-bottom-md {
    padding-bottom: 80px;
}

.padding-bottom-lg {
    padding-bottom: 120px;
}

.padding-sides-md {
    padding: 0 5%;
}


/* Colors ---------------------------- */

:root {
    --brown: #B59865;
    --golden: #D8B683;
    --graphite: #27251F;
    --red: #b51010;
}