/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Template:     generatepress
 Version:      0.1
*/

body {
    font-family: 'EB Garamond', sans-serif;
	font-size: 20px;
	color: #555;
	/*background-color: white;
	background-color: #ebe8e1;*/
}


.site-branding .main-title,
.site-branding .main-title a {
	font-weight: normal;
	color: #555;
}

.main-navigation .main-nav ul li.menu-item a {
	font-size: 20px;
}

.menu-footer-links-container {
	font-size: 18px;
}

#menu-footer-links {
	justify-self: center;
}

/* Adjust hero image positioning on mobile */
@media (max-width: 600px) {
  .front-hero .wp-block-cover__image-background {
    width: 190%;
    max-width: none;
    height: auto;
    object-fit: cover;
    object-position: 50% 20% !important;  /* adjust vertical focus */
    margin-left: -20%;         /* pan horizontally so center stays visible */
  }
}

.home-page-image-links-grid a {
	color: #555;
}

/* Remove unneeded margins from Kadence testimonials */
.wp-block-kadence-testimonials .kt-blocks-carousel .kt-blocks-carousel-init:not(.kt-carousel-arrowstyle-none):not(.tns-slider) {
	margin-left: 0 !important;
	margin-right: 0;
}

.kb-splide .kt-blocks-testimonial-carousel-item.kb-slide-item.splide__slide {
	margin-left: 0;
	margin-right: 0;
}


/* Adjust color of listing links on products list page */
.woocommerce-loop-product__link .woocommerce-loop-product__title {
	color: #555;
}

.woocommerce-loop-product__link {
	text-align: center;
}

img.attachment-woocommerce_thumbnail {
	border-radius: 3px;
}

select.orderby {
	padding-top: 5px;
    padding-bottom: 5px;
}

/* Make the product card a positioning context */
.woocommerce ul.products li.product {
    position: relative;
}

/* Sold out badge styling */
.kz-sold-out-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;

    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;

    background: rgba(0,0,0,0.8); /* adjust to match your brand */
    color: #fff;
    border-radius: 999px;        /* pill shape */
}

/** 
 * Single product view
 */
.input-text.qty.text {
	height: 48px;
}
.single_add_to_cart_button {
	height: 48px;
}
.kz-long-description-in-summary {
	margin-top: 1.5em;
}
.kz-shipping-note-in-summary {
	margin-top: 1.5em;
	background-color: #ebe8e1;
	border-radius: 5px;
	padding: 10px;
}
.kz-contact-nudge-in-summary {
	margin-top: 1.5em;
	background-color: #f5ecd6;
	border-radius: 5px;
	padding: 10px;
}

.product .summary h5 {
	margin-bottom: 0;
	font-weight: bold;
}


/* Fix cart layout */
.entry-content .wp-block-woocommerce-cart,
.entry-content .wc-block-checkout{
	margin-left: 0;
	width: 100%;
}

/* Style Checkout button */
.wc-block-cart__submit-button {
	padding: .4em 1em;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 3px;
    transition: all .3s ease-in-out;
    box-shadow: none;
	background: #bf8868;
	color: white;
	text-decoration: none;
	
}
.wc-block-cart__submit-button:active {
	color: white;
}

/* Fix parcel machine selection combobox (MultiParcel) */
.selection .select2-selection--single {
	height: auto;
}
