/**
 * Theme Name: overstreg-storefront
 * Template:   storefront
 */
 

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
  --border-radius: 10px;
}

.site-header{
    margin-bottom: 0 !important;
}
*{
    font-family: 'Open Sans', sans-serif;
}

body{
    background-color: lightgray;
}

/* Header */
.site-branding{
    margin-bottom: 0 !important;
    height: 60px;
}

/* Need high specificity to override default settings */
/* Product Loops 
.product-subtitle{
    color: black;
}
.product-subtitle:not(.empty):before{
    content: open-quote;
}
.product-subtitle:not(.empty):after{
    content: close-quote;
}
.custom-loop-block {
    margin-bottom: 0 !important;
    margin:0;
    padding:0;
    border: 0;
    background-color: rgb(240, 240, 232);
}
.custom-loop-block .wc-block-grid__product-title{
    text-align: center;
    font-family: 'FatFrankHeavy', sans-serif; 

    font-weight: bold;
    font-size: 3em;
    color: black;
    letter-spacing: 1.5px;
    margin:0;
}

.custom-loop-block .info-wrapper{
    background-color: whitesmoke;
}
.frontpage.custom-loop-block .wc-block-grid__product-title{
    font-size: 2.3em;
}

.wp-block-button.wc-block-grid__product-add-to-cart{
    display: none !important;
}
.wc-block-grid__product.custom-loop-block .wc-block-grid__product-image,
.wc-block-grid__products .wc-block-grid__product.custom-loop-block img.custom-loop-image,
.product-subtitle{
    margin-bottom:0
}
.product-subtitle{
    font-size: 1.25rem;
    color: gray;
}
*/
h1, h2, h3, h4, h5, h6{
    font-weight: bold;
}


/* On hover of parent */
.zoom:hover img.custom-loop-image {
    transform: scale(1);
}

.video-cover-container {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #000;
    height: 60vh;
    top: -23px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-cover-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-cover-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-text-overlay {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    max-width: 90%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.video-text-overlay h1 {
    font-size: 2.5rem;
    color: #fff;
    margin: 0.5em 0;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 1px;
}

.video-text-overlay span {
    text-transform: lowercase;
    font-weight: initial;
}

@media (max-width: 768px) {
    .video-text-overlay h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .video-cover-container {
        height: 70svh;
    }

    .video-text-overlay h1 {
        font-size: 1.4rem;
        padding: 0.8rem 1rem;
    }
}

.reset_variations{
    display: none !important
}

.variations tr {
    display: flex;
    align-items: center;
}

.variations th.label {
    margin-right: 10px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.single-product div.product table.variations .value{
    margin: 0 !important
}


#post-68 h2{ /* kun loop overskrift */
    font-size: 5em;
    margin: 0.7em 0 !important;
    color: darkgray;
}

.woocommerce-variation-price{
    display: flex
}

.woocommerce-variation-price .price-desc{
    margin-right: 5px;
}

.summary.entry-summary > .price{
    line-height: 0;
}

.storefront-sorting, .button.product_type_variable.add_to_cart_button, .button.product_type_variable{
    display: none
}

.woocommerce-breadcrumb {
    display: none;
}

.wc-block-grid__product.custom-loop-block{
    text-align: center;
}

.all-products .product-price{
    color: grey;
    font-size: 0.75rem;
}

/* CART */

.wc-block-components-chip__text {
  text-transform: capitalize !important;
}

/* Carousel container */
.overstreg-carousel-container {
    max-width: 100%;
    margin: 30px auto;
    position: relative;
    padding: 0 60px; 
    box-sizing: border-box;
}

/* Carousel slides */
.overstreg-carousel .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Carousel images */
.overstreg-carousel img {
    height: 100%;
    width: auto;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

/* Custom arrows */
.overstreg-carousel .slick-prev,
.overstreg-carousel .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    
    width: 60px !important;
    height: 60px !important;
    
    padding: 0 !important;
    margin: 0 !important;
    
    background: transparent;
    border: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    cursor: pointer;
    user-select: none;
    
    line-height: 1;
}
.overstreg-carousel .slick-prev {
    left: -50px; 
    font-size: 90px;
}

.overstreg-carousel .slick-next {
    right: -50px; 
    font-size: 90px;
}


.wc-block-grid__products {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; 
  /*gap: 1rem;*/ 
}

.wc-block-grid__product {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: calc(25% - 0.75rem);
  display: flex;
  flex-direction: column;
}

/* Fix random main content getting constrained twice */
.right-sidebar .content-area {
  width: auto !important;
  margin-right: 0 !important;
  float: none !important;
}


.primary-navigation{
    text-align: right;
}
.custom-header{
    position: fixed;
    background: white;
    height: 75px;
    width: 100%;
}
.custom-header.shrink{
    opacity: 0.95;
}
/* Footer */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-column {
    flex: 1 1 220px;
    margin: 20px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 15px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #ddd;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    text-decoration: none;
}

.social-icons {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 10px;
}

.social-icons img.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-icons img.social-icon:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #aaa;
}


.woocommerce-message {
    position: fixed;
    top: 180px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    z-index: 9999;
    width: 100%;
    max-width: 600px;
    padding: 1em 1.5em;
    background: #46b450;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #3a9d3a;

    animation: toast-slide-fade 5s ease forwards;
    pointer-events: none;
}

/* Animation: slide down + pause + fade up */
@keyframes toast-slide-fade {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    10% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    80% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
        display: none;
    }
}


/* HACK */
a.button.product_type_simple{
    display: none !important;
}


.col-full{
    max-width: 100% !important;
}
.wc-block-grid__products{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.theme-twentytwenty .wc-block-grid.has-3-columns .wc-block-grid__product, .wc-block-grid.has-3-columns .wc-block-grid__product {
    max-width: initial !important;
}

.product-category {
  display: inline-block;
  width: 25px; 
  height: 25px;
  position: relative; 
  vertical-align: middle; 
}

.product-category::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

.product-category.abc{
    background-image: url('assets/icons/abc-cat.svg');
    background-size: contain;
    background-repeat: no-repeat;
}


.product-category.videnskab{
    background-image: url('assets/icons/science-cat.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.product-category.skala{
    background-image: url('assets/icons/skala-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.mission-statement{
    padding: 0 0 0.5em;
    border-width: thin;
}
.mission-statement blockquote{
    margin-top: 1em;
    border-left: none
}

.mission-statement blockquote p{
    margin: 1em;
}

.custom-product-grid {
    padding: 2rem 1rem;
    /*width:80%;
    margin: 0 auto*/
}

.custom-product-grid-container {
    max-width: 1400px;
    margin: 0 auto;
}

.product-grid-heading{
    margin: 0 0 0 1rem
}

.custom-product-item {
    position: relative;
    background: white;
    overflow: hidden;
    border: 1px solid #cacaca;
    display: flex;
    flex-direction: column;
}

.product-image-link {
    display: block;
    aspect-ratio: 1 / 1.4; 
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-product-item:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1rem;
    text-align: left;
    background-color: #f7f7f7;
    border-top: 1px #cacaca solid;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artist-and-favorite {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
}

.category-label {
    font-weight: 500;
}

.favorite-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.product-title {
    display:flex;
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
}

.product-title a{
    font-weight: 600;
}
.subtitle{
    font-size: 0.8rem;
}
.subtitle::before {
  content: "“";
}

.subtitle::after {
  content: "”";
}

.product-title a {
    color: black;
    text-decoration: none;
}

.product-title a:hover {
    text-decoration: underline;
}

.product-price-and-sizes {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: #777;
    flex-direction: row-reverse;
    margin-top: auto;
}

.sizes {
    color: #777;
    font-size: 0.9rem;
}

.heading-wrap{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.subtitle, .heading-wrap .product-title{
    margin:0
}

body{
    background-color:#f7f7f7
}

/* Product page tweaks */

.entry-summary .product_title{
    margin-bottom: 0;
} 

.entry-summary .product-subtitle{
    font-size: 1rem;
}

.woocommerce-product-gallery__wrapper.overstreg .woocommerce-product-gallery__image{
    display: flex !important;
    justify-content: center;
}

.category-container {
    margin-top: 2.75rem;
    text-align: center;
}

.custom-category-title {
    position: relative; 
    margin: 0 0 0.3rem 0;
    padding: 0;
    display: inline-block;
}

.custom-category-description {
    margin: 0;
    padding: 0;
}

.custom-category-title .category-icon {
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translate(0, -50%);
    width: 1em;
    height: 1em;
    object-fit: contain;
    margin-left: 0.5ch;
    pointer-events: none; 
}

.custom-logo-link{
    padding: 0;
    margin: 0;
}

/* Menu row */
.primary-navigation > ul.menu {
  display: flex;
  align-items: center; /* vertical centering for everything */
  gap: 2rem;
}

/* Logo item */
.primary-navigation ul.menu li.menu-logo {
  display: flex;
  align-items: center;
}

/* Logo link */
.primary-navigation ul.menu li.menu-logo a {
  display: flex;
  align-items: center;
}

/* Make logo bigger than text, but centered */
.primary-navigation ul.menu li.menu-logo svg {
  height: 64px;      /* 👈 make this bigger */
  width: auto;
  display: block;
}
.site-header{
    padding-top: 0;
}

.main-navigation ul.menu>li>a, .main-navigation ul.nav-menu>li>a{
    padding:0
}

.main-navigation .primary-navigation > ul.menu {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: none;
  justify-content: flex-end;
}

/* keep logo on the left */
.main-navigation .primary-navigation > ul.menu > li.menu-logo {
  margin-right: auto;
}

/* logo sizing */
.main-navigation .primary-navigation > ul.menu > li.menu-logo svg {
  height: 64px;
  width: auto;
}

.primary-navigation ul.menu > li:last-child {
  display: flex;
  align-items: center;
}

#site-header-cart.site-header-cart.menu{
    margin-top: 20px;
}


/* Layout Wrapper */
.cart-custom-location {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 12px; /* Space between icon and price */
}

/* Icon Container */
.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* The Bubble */
.cart-bubble {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ff4d4d; /* Red bubble */
    color: white;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Total Price */
.cart-total-amount {
    font-weight: 600;
    font-family: inherit;
}

/* Hide bubble if cart is 0 (optional) */
.cart-bubble:empty {
    display: none;
}


.trust-bar-section {
    background: #e9e9e9;
    padding: 60px 0 40px;
    border-top: 1px solid #e8e4dd; 
    font-family: inherit;
}


.trust-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
    justify-content: center;
}

.trust-column {
    flex: 1 1 220px;              /* grows & shrinks – min ~220px */
    max-width: 280px;
    text-align: center;
}

.trust-icon {
    font-size: 3.2rem;            /* big emoji/icon */
    line-height: 1;
    margin-bottom: 16px;
    color: #333;                  /* or your accent color */
}

.trust-column h3 {
    font-size: 1.4rem;
    margin: 0 0 12px;
    color: #222;
    font-weight: 600;
}

.trust-column p {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555;
    margin: 0;
}

/* Mobile – stack vertically */
@media (max-width: 767px) {
    .trust-columns {
        flex-direction: column;
        align-items: center;
        gap: 50px 0;
    }

    .trust-column {
        max-width: 380px;
    }
}



/*
Image grid
*/

.image-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: auto;
    width: 100%;
    gap: 0;
}

.image-grid .grid-tile {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#content {
    margin-top: 75px;
}


/* ===============================================
   PRODUCT PAGE IMPROVEMENTS - STOREFRONT COMPATIBLE
   =============================================== */

/* Main product wrapper - add spacing and max-width */
.single-product div.product {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* ===============================================
   LEFT SIDE - GALLERY
   =============================================== */

/* Main image - add subtle card effect */
.woocommerce-product-gallery__wrapper {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.woocommerce-product-gallery__wrapper:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Thumbnails grid */
.gallery-thumbnails {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.gallery-thumbnails .woocommerce-product-gallery__image {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.25s ease;
    cursor: pointer;
}

.gallery-thumbnails .woocommerce-product-gallery__image:hover {
    border-color: #333;
    transform: translateY(-2px);
}

.gallery-thumbnails .woocommerce-product-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===============================================
   RIGHT SIDE - PRODUCT INFO
   =============================================== */

/* Title styling */
.single-product .product_title {
    display:flex;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #111;
    letter-spacing: -0.02em;
}

.single-product .product-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 0.75em;
    line-height: 1.5;
}

.single-product .product-subtitle::before {
  content: "“";
}

.single-product .product-subtitle::after {
  content: "”";
}

/* ===============================================
   SIZE SELECTOR
   =============================================== */

/* Variations container */
.variations {
    margin-bottom: 32px;
}

/* Make variations table display properly */
.variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.variations .label {
    display: block;
    width: 100%;
    margin-bottom: 12px;
}

.variations .label label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

/* Remove the colon after label */
.variations th.label:after {
    content: "" !important;
}

.variations .value {
    width: 100%;
}

/* Main layout for radio options */
.variation-radios {
    display: flex;
    column-gap: 25px;
    flex-wrap: wrap;
}

.variation-option {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title above the radio label */
.variation-option .variant-pp-title {
    font-size: 16px;
    font-weight: 600;
    color: #b0b0b0;
    text-align: center;
}
.variation-option.selected .variant-pp-title {
    color: #606060
}
/* Radio button styling */
.variation-option .variation-radio-label {
    padding: 2px 30px;
    border: 3px solid #dcdcdc;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
    background: #f8f8f8;
    width: 210px;
}

/* Hide the actual radio input */
.variation-option .variation-radio-label input {
    display: none;
}

/* Text inside the label */
.variation-option .variation-radio-label p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #b0b0b0;
}
.variation-option.selected .variation-radio-label p{
    color: #606060
}

.variation-option .variation-radio-label:hover {
    border-color: #bbb;
}

.variation-option.selected .variation-radio-label {
    border: 4px solid #f5a3c7;
    border-color: var(--c);
    background: #fff;
}

/* ===============================================
   PRICE
   =============================================== */

.woocommerce-variation-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.woocommerce-variation-price .price-desc {
    font-size: 15px;
    font-weight: bold;
    color: #606060;
}

.woocommerce-variation-price .price {
    font-size: 32px;
    font-weight: 800;
    color: #606060;
}

/* ===============================================
   ADD TO CART SECTION
   =============================================== */

.woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
}

/* Quantity input */
.single-product .quantity {
    display: none !important;
}
/* Add to cart button */
.single-product .single_add_to_cart_button {
    height: 56px;
    width: 250px;
    padding: 0 32px;
    background-color: var(--c, #8FAB73);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.single-product .single_add_to_cart_button:hover {
    background: #333 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   DESCRIPTION
   =============================================== */

.single-product .product-description {
    border-top: 1px solid #e9ecef;
    line-height: 1.7;
    color: #555;
    font-size: 15px;
}

.single-product .product-description p {
    margin-bottom: 16px;
}

.single-product .product-description p:last-child {
    margin-bottom: 0;
}

/* ===============================================
   RESPONSIVE
   =============================================== */

@media (max-width: 768px) {
    .single-product div.product {
        padding: 40px 20px;
    }
    
    .single-product .product_title {
        font-size: 32px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .woocommerce-variation-add-to-cart {
        flex-direction: column !important;
    }
    
    .variation-radios {
        flex-direction: column;
    }
}

/* ===============================================
   SLIDE OUT CART
   =============================================== */
.woofc-area-top, .woofc-action-checkout{
    background-color: #43798d !important;
    color: white !important;
}
.woofc-action-checkout{
    background-color: #93aa74 !important;
    border-radius: var(--border-radius) !important;
}
.woofc-close{
    color: white !important
}

/* Base cart item background */
.woofc-area-mid .woofc-item {
    background-color: #ffffff; 
    transition: background-color 0.3s ease;
    border-radius: 4px; 
    margin-bottom: 8px; 
}

/* Alternate items */
.woofc-area-mid .woofc-item:nth-child(even) {
    background-color: #f7f7f7;
}

.woofc-area-mid .woofc-item:hover {
    background-color: #f0f0f0; 
}

.woofc-area-mid .woofc-item-inner {
    background-color: transparent !important;
}

.animated-highlight {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    line-height: 1.2;
}

.animated-highlight span {
    position: relative;
    display: inline-block;
}

.animated-highlight span::after {
    content: "";
    position: absolute;
    bottom: 15%;
    left: -2%;
    height: 50%;
    width: 0%;

    background-color: color-mix(in srgb, var(--c, #f8f831) 60%, transparent);
    clip-path: polygon(
        0% 15%, 15% 0%, 85% 10%, 100% 15%,
        98% 85%, 80% 95%, 15% 100%, 0% 80%
    );
    pointer-events: none;

    animation: highlight-swipe-top 0.6s ease-in-out forwards;
    animation-delay: 0.4s;
}
@keyframes highlight-swipe-top {
    0% {
        width: 0%;
        transform: rotate(-1deg);
    }
    100% {
        width: 104%;
        transform: rotate(0deg);
    }
}

.category-icon{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 1.25em;
}
.shipping-info{
    margin-top: 1em;
}
.shipping-info p{
    margin:0 
}
.inline-icon{
    display: inline-block;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle
}
.inline-icon.delivery {
    background-image: url('assets/icons/product-fragt.svg');
}

.inline-icon.shipping {
    background-image: url('assets/icons/product-rabat.svg');
}


/* About us */
article.about-us{
    margin: 0 5%;
}
.wp-block-button.about-us-btn.wp-block-button > .wp-block-button__link.wp-block-button__link {
    background-color: #8ca87a;
    color: white;
    border-radius: var(--border-radius);
    padding: 8px 20px;
    font-weight: 500;
    border: none;
    box-shadow: none;
    background-image: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.wp-block-button.about-us-btn.wp-block-button > .wp-block-button__link.wp-block-button__link:hover,
.wp-block-button.about-us-btn.wp-block-button > .wp-block-button__link.wp-block-button__link:focus {
    background-color: #7a9766;
    outline: none;
    box-shadow: none;
}
.about-us-grid > *{
    max-width: 500px;
}


/*
    Separator Overstreg
*/

.oversreg-separator img{
    height: 3em;
    margin: 0 auto;
}

.menu .menu-item.current-menu-item{
    position: relative;
    font-weight: bold;
}

.menu .menu-item.current-menu-item::after {
	content: '';
    position: absolute;
    border-style: solid;
    border-color: #6d6d6d;
	border-width: 0.15em 0.15em 0 0;
	display: inline-block;
	height: 0.45em;
	left: 50%;
    transform: translateX(-50%) rotate(315deg);
	width: 0.45em;
	vertical-align: top;
    bottom: -0.45em
}















/* ==========================================================
   Flyout Cart Variables & Base
   ========================================================== */
:root {
    --sf-cart-width: 420px;
    --sf-bg-color: #ffffff;
    --sf-text-main: #111827;
    --sf-text-muted: #6b7280;
    --sf-border-color: #000000;
    --sf-accent-color: #000000;
    --sf-accent-hover: #374151;
    --sf-danger-color: #ef4444;
    --sf-spacing: 24px;
}
/* ==========================================================
   Container & Overlay
   ========================================================== */
#sf-flyout-cart {
    position: fixed;
    inset: 0; /* top, right, bottom, left: 0 */
    z-index: 999999;
    pointer-events: none; /* Let clicks pass through when closed */
    visibility: hidden;
    transition: visibility 0.4s ease;
}

#sf-flyout-cart.open {
    pointer-events: auto;
    visibility: visible;
}

.sf-flyout-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

#sf-flyout-cart.open .sf-flyout-overlay {
    opacity: 1;
}

/* ==========================================================
   Slide-out Panel (The Magic Layout happens here)
   ========================================================== */
.sf-flyout-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: var(--sf-cart-width);
    background: var(--sf-bg-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column; /* Crucial for sticky footer */
}

#sf-flyout-cart.open .sf-flyout-panel {
    transform: translateX(0);
}

/* Header */
.sf-flyout-header {
    padding: var(--sf-spacing);
    border-bottom: 1px solid var(--sf-border-color);
    background: var(--sf-bg-color);
}

.sf-flyout-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--sf-text-main);
}

/* Content Wrapper */
.custom-sf-cart-content {
    display: flex;
    flex-direction: column;
    flex: 1; 
    overflow: hidden; /* Prevent this from scrolling, scroll the list instead */
}

/* ==========================================================
   Scrollable Items List
   ========================================================== */
.sf-flyout-items {
    flex: 1;
    overflow-y: auto; /* Enables scrolling for items */
    overscroll-behavior: contain;
    margin: 0;
    padding: var(--sf-spacing);
    list-style: none;
}

/* Custom Scrollbar for a premium feel */
.sf-flyout-items::-webkit-scrollbar { width: 6px; }
.sf-flyout-items::-webkit-scrollbar-track { background: transparent; }
.sf-flyout-items::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
.sf-flyout-items::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* Individual Item */
.sf-flyout-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--sf-border-color);
    position: relative;
}

.sf-flyout-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sf-item-image img {
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sf-item-details {
    flex: 1;
    padding-right: 20px; /* Make room for the 'x' button */
}

.sf-item-title {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--sf-text-main);
}

.sf-item-breakdown {
    font-size: 0.875rem;
    color: var(--sf-text-muted);
    margin-bottom: 10px;
}

/* Remove Item Button (Overriding inline styles) */
.sf-action-btn.remove-item {
    color: var(--sf-text-muted) !important;
    font-size: 1.5rem !important;
    line-height: 1;
    top: -5px !important;
    right: 0 !important;
    padding: 5px;
    transition: color 0.2s ease;
}

.sf-action-btn.remove-item:hover {
    color: var(--sf-danger-color) !important;
}

/* Quantity Controls */
.sf-item-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--sf-border-color);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0 !important; /* Override inline */
}

.sf-action-btn.plus, 
.sf-action-btn.minus {
    background: #f9fafb;
    border: none;
    color: var(--sf-text-main);
    cursor: pointer;
    padding: 4px 12px;
    font-size: 1rem;
    transition: background 0.2s;
}

.sf-action-btn.plus:hover, 
.sf-action-btn.minus:hover {
    background: #e5e7eb;
}

.sf-qty-number {
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
}

/* ==========================================================
   Sticky Footer (Totals & Checkout)
   ========================================================== */
.sf-flyout-footer {
    padding: var(--sf-spacing);
    border-top: 1px solid var(--sf-border-color);
    background: var(--sf-bg-color);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.02);
}

/* Coupon Area */
.sf-coupon-wrapper input {
    border: 1px solid var(--sf-border-color);
    border-radius: 4px;
    padding: 10px 12px !important; /* Override inline */
    font-size: 0.875rem;
    transition: border-color 0.2s;
    outline: none;
}

.sf-coupon-wrapper input:focus {
    border-color: var(--sf-text-muted);
}

.sf-apply-coupon-btn {
    background: #f3f4f6;
    border: 1px solid var(--sf-border-color);
    border-radius: 4px;
    padding: 0 16px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.sf-apply-coupon-btn:hover {
    background: #e5e7eb;
}

/* Totals Rows */
.sf-totals-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--sf-text-muted);
}

.sf-totals-row.grand-total {
    margin-top: 16px !important;
    padding-top: 16px !important;
    border-top: 1px dashed var(--sf-border-color) !important;
    font-size: 1.15rem;
    color: var(--sf-text-main);
}

/* Checkout Button */
.checkout.sf-flyout-checkout {
    display: flex;
    justify-content: center;
    align-items: center;
    width: calc(100% - var(--sf-spacing));
    background-color: var(--sf-accent-color);
    color: #ffffff;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 20px;
    margin-bottom: 0 !important;
    margin:auto;
}

.checkout.sf-flyout-checkout:hover {
    background-color: var(--sf-accent-hover);
    color: #ffffff;
}

.checkout.sf-flyout-checkout:active {
    transform: scale(0.98);
}

.added_to_cart.wc-forward{
    display: none !important
}

.product-image-link {
  position: relative;
  display: block;
}

.custom-add-to-cart{
    position: absolute !important;
    bottom: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: #cacaca;
    color: #3a3d34;
    border: none;
    border-radius: 100%;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: padding 0.25s ease, gap 0.25s ease, transform 0.1s ease, background 0.18s ease;
    white-space: nowrap;
    font-family: inherit;
    overflow: hidden;
    line-height: 1;
}
.product-image-link:hover .custom-add-to-cart{
    border-radius: var(--border-radius);

}

.custom-add-to-cart::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask-image: url('assets/icons/add-to-cart.svg');
    mask-image: url('assets/icons/add-to-cart.svg');
    mask-size: contain;
    mask-repeat: no-repeat;
}

.custom-add-to-cart .btn-label {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-width 0.25s ease, opacity 0.2s ease;
}

.product-image-link:hover .custom-add-to-cart {
    padding: 8px 14px 8px 11px;
    gap: 7px;
    background: #cacaca;
}

.product-image-link:hover .custom-add-to-cart .btn-label {
    max-width: 80px;
    opacity: 1;
}

.custom-add-to-cart:active {
    transform: scale(0.97);
}

.site-main, .hentry{
    margin-bottom: 0 !important;
}

.sf-flyout-header {
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.sf-flyout-close {
    background:none;
    border:0;
    font-size:32px;
    cursor:pointer;
    line-height:1;
    padding: 0 1px 0 0;
}

.sf-empty-cart-msg{
    text-align: center;
    padding: var(--sf-spacing) 0 0 0;
}



.onsale{
    position: absolute;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, #ff9aa2, #ffb7b2, #ffdac1, #e2f0cb, #b5ead7, #c7ceea, #d5b3ff, #f4c2ff);
    margin: 0;
    color: black;
    font-weight: bold;
    z-index: 12;
    padding: 2px 5px;
}

.product.on.sale{
    background: linear-gradient(90deg, #ff9aa2, #ffb7b2, #ffdac1, #e2f0cb, #b5ead7, #c7ceea, #d5b3ff, #f4c2ff);
    padding: 2px 5px;
    font-weight: bold;
    color: black;
    border: solid 1px black
}



@media (max-width: 768px) {
    .site-header .col-full {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .site-branding {
        margin-bottom: 0;
    }

    #site-header-cart.site-header-cart.menu {
        margin-top: 0;
    }

    .main-navigation {
        width: 100%;
        order: 3;
    }

    .main-navigation.toggled ul.menu {
        display: flex;
        flex-direction: column;
        background-color: #ffffff;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        z-index: 9999;
        padding: 1.5rem;
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
        gap: 1rem;
    }

    .menu ul{
        background: white;
        text-align: center;
        display: block;
        position: fixed;
        width: 80%;
        left: 10%;
        top: 75px;
    }

    
    .custom-product-grid.custom-block, .custom-product-grid.category{
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .storefront-primary-navigation .col-full {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        height: 75px;
    }

    #site-header-cart {
        order: -1;
        margin-top: 0;
    }

    .main-navigation {
        order: 1;
    }

    .single_variation_wrap{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .summary .shipping-info{
        text-align: center;
    }

    .menu .menu-item.current-menu-item::after {
        content: none;
    }

    .about-us-grid {
        grid-template-columns: 1fr !important;
    }

    .about-us-grid > .wp-block-group:first-child {
        display: none !important;
    }

    .wp-container-core-columns-is-layout-cb38399c > .wp-block-column:nth-child(2) {
        padding: 0 1.5rem !important;
    }
}

.about-us-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

.about-us-grid > .wp-block-group:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 20px !important;
}

.about-us-grid > .wp-block-group:first-child figure {
    margin: 0 !important;
    max-width: 100% !important;
}

.page.type-page.checkout{
    padding: 0 15vw;
}

@media (max-width: 768px) {
    /* 1. Establish a relative container with a fixed height so absolute elements don't collapse it */
    .storefront-primary-navigation .col-full {
        position: relative !important;
        height: 75px !important; /* Matches your desktop header height */
        display: block !important;
        padding: 0 15px !important;
        margin:0;
    }

    /* 2. Keep the primary navigation wrapper active strictly to render the logo */
    .main-navigation .primary-navigation {
        display: block !important;
        position: static !important;
    }

    /* Hide the rest of the desktop links */
    .main-navigation .primary-navigation > ul.menu > li:not(.menu-logo) {
        display: none !important;
    }

    .main-navigation .primary-navigation > ul.menu {
        display: block !important;
        position: static !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 3. Center the Logo perfectly between the two side items */
    .main-navigation .primary-navigation > ul.menu > li.menu-logo {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 99 !important;
        max-width: 50% !important; /* Caps width so it never touches the sides */
        text-align: center;
    }

    /* Downscale the logo text slightly on mobile devices so it fits cleanly */
    .main-navigation .primary-navigation > ul.menu > li.menu-logo h1 {
        font-size: 1.6rem !important; 
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* 4. Force the Burger Bar to lock to the far right */
    #site-navigation-menu-toggle {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        z-index: 100 !important;
    }

    button.menu-toggle, button.menu-toggle:hover{
        border: none;
        background: transparent;
    }

    /* 5. Force the Cart to lock to the far left */
    #site-header-cart.site-header-cart.menu {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important; /* Clears the desktop margin-top: 20px */
        padding: 0 !important;
        z-index: 100 !important;
    }
    
    #site-header-cart.site-header-cart.menu > li {
        padding: 0 !important;
        margin: 0 !important;
    }
    .about-us-grid{
        display: block !important;
    }
    #about-us-column{

    }
    .side-img{
        display: none;
    }

    .video-cover-container {
        height: 40vh !important;
    } 
    .video-text-overlay h1{
        font-size: 1rem
    }
    .video-text-overlay{
        max-width: 80%;
        padding: .5rem 2rem;
    }
}

.footer-container ul, ol{
    margin: 0
}

/* Force the Storefront footer container to allow full-width breaking */
#colophon.site-footer {
    padding: 0 !important;
    background: transparent !important;
}

#colophon .col-full {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.site-footer-main {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #ffffff;
    color: #333333;
    padding: 60px 20px;
}

.site-footer-bottom {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #000000;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

.footer-container, 
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-bottom p {
    margin: 15px 0 0 0;
    font-size: 14px;
}

body footer#colophon.site-footer {
    max-width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
}

body footer#colophon > .col-full {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Top Section: White, Full Width with Black Text */
.site-footer-main {
    width: 100%;
    background-color: #ffffff;
    color: #000000; /* Sets default text color to black */
    padding: 60px 20px;
}

/* Ensure headings and links in the top white area are also black */
.site-footer-main h3,
.site-footer-main .footer-name,
.site-footer-main address,
.site-footer-main p,
.site-footer-main a {
    color: #000000 !important;
}

/* Optional hover state for links in the white area (e.g., subtle gray on hover) */
.site-footer-main a:hover {
    color: #555555 !important;
}

/* Bottom Section: Black, Full Width */
.site-footer-bottom {
    background-color: #000000;
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
}

/* Constrain the inner content so it doesn't stretch to the screen edges */
.footer-container, 
.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer-bottom p {
    margin: 15px 0 0 0;
    font-size: 14px;
}





/* ==========================================================
   Thank-you page (order received)
   ========================================================== */
:root {
  --ov-ink: #111;
  --ov-muted: #666;
  --ov-line: #dcdcdc;
  --ov-hi: #ffd23f;        /* highlighter yellow */
  --ov-link: #43798d;      /* same teal as the slide-out cart */
  --ov-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
}

.woocommerce-order {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ov-ink);
}
.woocommerce-order a { color: var(--ov-link); text-underline-offset: 3px; }

/* Thank-you message */
.woocommerce-order .woocommerce-thankyou-order-received {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--ov-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 4.6vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ov-ink);
  max-width: 22em;
}

/* Intro line + packing line under the thank-you message */
.woocommerce-order .ov-thankyou-intro {
  margin: 0 0 0.5rem;
  max-width: 34em;
  color: var(--ov-ink);
}

.woocommerce-order .ov-thankyou-sub {
  color: var(--ov-muted);
}

/* Order summary strip */
.woocommerce-order .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
  border-block: 2px solid var(--ov-ink);
}
.woocommerce-order .woocommerce-order-overview li {
  margin: 0;
  padding: 1rem 1rem 1rem 0;
  border: 0;
  border-bottom: 1px solid var(--ov-line);
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ov-muted);
  text-transform: none;
  float: none;
}
.woocommerce-order .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ov-ink);
  overflow-wrap: anywhere;
}
.woocommerce-order .woocommerce-order-overview__order strong::before {
  content: "#";
  color: var(--ov-muted);
}

/* "Pay with cash upon delivery" line (not the intro/packing lines) */
.woocommerce-order > p:not(.ov-thankyou-intro):not(.ov-thankyou-sub) {
  color: var(--ov-muted);
  margin: -1.75rem 0 1rem;
}

/* Headings */
.woocommerce-order h2 {
  margin: 0 0 1rem;
  font-family: var(--ov-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ov-ink);
}

/* Items table */
.woocommerce-order .woocommerce-table--order-details {
  width: 100%;
  margin: 0 0 3rem;
  border: 0;
  border-collapse: collapse;
  background: none;
}
.woocommerce-order .woocommerce-table--order-details th,
.woocommerce-order .woocommerce-table--order-details td {
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--ov-line);
  background: none;
  text-align: left;
  font-weight: 400;
  vertical-align: baseline;
}
.woocommerce-order .woocommerce-table--order-details thead th {
  font-size: 0.875rem;
  color: var(--ov-muted);
}
.woocommerce-order .woocommerce-table--order-details th:last-child,
.woocommerce-order .woocommerce-table--order-details td:last-child {
  text-align: right;
}
.woocommerce-order .woocommerce-table--order-details .product-quantity {
  color: var(--ov-muted);
  font-weight: 400;
}
.woocommerce-order .woocommerce-table--order-details tfoot th {
  color: var(--ov-muted);
}

/* Second total (the big one) + highlight on the price only */
.woocommerce-order .woocommerce-table--order-details tfoot tr:nth-last-child(2) th,
.woocommerce-order .woocommerce-table--order-details tfoot tr:nth-last-child(2) td {
  font-family: var(--ov-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ov-ink);
  border-bottom: 2px solid var(--ov-ink);
}
.woocommerce-order .woocommerce-table--order-details tfoot tr:nth-last-child(2) td .woocommerce-Price-amount {
  display: inline-block;
  padding: 0 0.25em;
  margin-right: -0.25em;
  background: linear-gradient(transparent 55%, var(--ov-hi) 55% 92%, transparent 92%);
}

/* Addresses */
.woocommerce-order .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.woocommerce-order .woocommerce-columns--addresses::before,
.woocommerce-order .woocommerce-columns--addresses::after { display: none; }
.woocommerce-order .woocommerce-columns--addresses .woocommerce-column {
  float: none;
  width: auto;
  padding: 0;
}
.woocommerce-order .woocommerce-column__title {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.woocommerce-order .woocommerce-column__title::before {
  content: "";
  width: 12px;
  height: 11px;
  background: var(--ov-hi);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  flex: none;
}
.woocommerce-order address {
  padding: 0;
  border: 0;
  font-style: normal;
  line-height: 1.7;
  color: var(--ov-ink);
}
.woocommerce-order .woocommerce-customer-details--email {
  margin: 0.5rem 0 0;
  color: var(--ov-muted);
  overflow-wrap: anywhere;
}
@media (max-width: 560px) {
  .woocommerce-order .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.site-footer-newsletter {
    background: #f5f5f5;
    border-top: 1px solid #e8e8e8;
}
.footer-newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px 48px;
    flex-wrap: wrap;
}
.newsletter-copy h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.newsletter-copy p {
    margin: 0;
    font-size: .9rem;
    color: #666;
}
.newsletter-form {
    flex: 1 1 360px;
    max-width: 480px;
}

/* MailPoet overrides: one clean row, email + button */
.newsletter-form .mailpoet_form,
.newsletter-form .mailpoet_form_html { padding: 0 !important; margin: 0 !important; }

.newsletter-form form.mailpoet_form {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0;
}
.newsletter-form .mailpoet_paragraph {
    flex: 1 1 auto;
    margin: 0 !important;
}
.newsletter-form .mailpoet_text {
    width: 100% !important;
    height: 46px;
    padding: 0 14px !important;
    border: 1px solid #111 !important;
    border-right: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    font-size: .95rem;
    box-sizing: border-box;
}
.newsletter-form .mailpoet_submit {
    height: 46px;
    padding: 0 26px !important;
    border: 1px solid #111 !important;
    border-radius: 0 !important;
    background: #111 !important;
    color: #fff !important;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.newsletter-form .mailpoet_submit:hover {
    background: #fff !important;
    color: #111 !important;
}
.newsletter-form .mailpoet_message,
.newsletter-form .mailpoet_validate_success,
.newsletter-form .mailpoet_validate_error {
    flex-basis: 100%;
    margin-top: 8px;
    font-size: .85rem;
}

@media (max-width: 640px) {
    .footer-newsletter-container { flex-direction: column; align-items: stretch; text-align: center; }
    .newsletter-form { max-width: none; }
}
