/*
Theme Name: Storefront Child
Theme URI: https://woocommerce.com/products/storefront/
Template: storefront
Author: Automattic
Author URI: https://woocommerce.com/
Description: Storefront is the perfect theme for your next WooCommerce project. Designed and developed by WooCommerce Core developers, it features a bespoke integration with WooCommerce itself plus many of the most popular customer facing WooCommerce extensions. There are several layout &amp; color options to personalise your shop, multiple widget regions, a responsive design and much more. Developers will love its lean and extensible codebase making it a joy to customize and extend. Looking for a WooCommerce theme? Look no further!
Tags: e-commerce,two-columns,left-sidebar,right-sidebar,custom-background,custom-colors,custom-header,custom-menu,featured-images,full-width-template,threaded-comments,accessibility-ready,rtl-language-support,footer-widgets,sticky-post,theme-options,editor-style
Version: 4.6.1.1775839200
Updated: 2024-12-04 00:45:41

*/

.cross-sell-message {
    background-color: #f7f6f7;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.cross-sell-message a {
    color: #0066c0;
    text-decoration: none;
}

.cross-sell-message a:hover {
    text-decoration: underline;
}
.widget {
    margin: 0;
}

/* Shop Title */
.woocommerce-products-header__title.page-title {
    font-weight: 600;
}


/* Paypal ausblenden in Minibutton Nav */
#ppc-button-minicart {
  display: none;
}

.storefront-breadcrumb {
    padding: 4px;
    margin: 4px;
}

.wp-block-group.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-1.wp-block-group-is-layout-flex {
    display: inline;
}

.custom-stock-status {
    color: orange; /* Schriftfarbe */
    font-weight: bold; /* Optional: Fett machen */
    position: relative; /* Für den Punkt */
}

.custom-stock-status:before {
    content: '\f11a'; /* Punkt hinzufügen */

}

/* Change description tabs*/
ul.tabs.wc-tabs {
    display: none;
}

.woocommerce-tabs .panel {
    width: 100%;
}

.single-product .woocommerce-product-gallery__image img {
    max-width: 600px; /* MagicNumber: Adjust as needed */
    width: 100%;
    height: auto;
}

.wpb_category_n_menu_accordion>ul>li>a {
    padding: 14px 0px;
}

.wpb_wmca_accordion_wrapper_theme_transparent ul ul li a {
    padding: 10px 12px;
}

.aws-search-result {
    width: 30% !important;
    max-width: 80% !important;
}

@media (max-width: 768px) {
	.aws-search-result {
		width: 80% !important;
	}
}

body.home.post-type-archive-product {
    background:
        radial-gradient(circle at top left, rgba(30, 100, 90, 0.12), transparent 32%),
        linear-gradient(180deg, #eef4f1 0%, #f8f5ef 22%, #ffffff 100%);
}

.home.post-type-archive-product .site-header {
    position: relative;
    z-index: 99;
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* =============================================
   PROBLEM 1: Einheitliche Ausrichtung - ALLE Sektionen auf 1200px
   ============================================= */
.home.post-type-archive-product .site-header .col-full,
.home.post-type-archive-product .storefront-primary-navigation .col-full,
.home.post-type-archive-product .site-content > .col-full {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.pm-shop-hero,
.pm-shop-categories,
.pm-shop-showcase,
.home.post-type-archive-product .cross-sell-message {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

/* FIX 1: Suche neben Titel - grid-area auf .site-search selbst */
.home.post-type-archive-product .site-header .col-full {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "brand search";
    align-items: center;
    column-gap: 1.8rem;
    row-gap: 0.65rem;
    padding-top: 0.8rem;
    padding-bottom: 0.35rem;
}

.home.post-type-archive-product .site-branding {
    grid-area: brand;
    float: none;
    margin: 0;
    padding: 0.1rem 0 0;
}

/* =============================================
   PROBLEM 2: Suche kleiner und runder
   ============================================= */
.home.post-type-archive-product .site-search {
    grid-area: search;
    width: auto;
    float: none;
    margin: 0;
    max-width: 400px;
    margin-left: auto; /* rechtsbuendig */
}

.home.post-type-archive-product .site-search .widget_product_search {
    max-width: 400px;
    margin-left: auto;
}

.home.post-type-archive-product .site-title,
.home.post-type-archive-product .site-branding .site-title {
    margin: 0;
    white-space: nowrap;
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
}

.home.post-type-archive-product .site-title a {
    color: #1d5b4f !important;
}

.home.post-type-archive-product .site-title a,
.home.post-type-archive-product .main-navigation ul li a,
.home.post-type-archive-product .site-header-cart .cart-contents {
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #18312b;
}

.home.post-type-archive-product .main-navigation ul li a,
.home.post-type-archive-product .site-header-cart .cart-contents,
.home.post-type-archive-product .site-title a {
    transition: color 0.24s ease, background-color 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home.post-type-archive-product .main-navigation ul.menu > li > a,
.home.post-type-archive-product .site-header-cart .cart-contents {
    display: inline-flex;
    align-items: center;
    position: relative;
    min-height: 34px;
    padding: 0.2rem 0 0.38rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border-bottom: 0;
}

.home.post-type-archive-product .main-navigation ul.menu > li > a::after,
.home.post-type-archive-product .site-header-cart .cart-contents::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: #1d5b4f;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.28s ease;
}

.home.post-type-archive-product .main-navigation ul li a:hover,
.home.post-type-archive-product .main-navigation ul li:hover > a,
.home.post-type-archive-product .site-header ul.menu li.current-menu-item > a,
.home.post-type-archive-product .site-header-cart .cart-contents:hover {
    color: #102622;
    background: transparent;
    box-shadow: none;
}

.home.post-type-archive-product .main-navigation ul li a:hover::after,
.home.post-type-archive-product .main-navigation ul li:hover > a::after,
.home.post-type-archive-product .site-header ul.menu li.current-menu-item > a::after,
.home.post-type-archive-product .site-header-cart .cart-contents:hover::after {
    transform: scaleX(1);
}

.home.post-type-archive-product .site-title a {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home.post-type-archive-product .site-title a:hover {
    color: #18312b;
    background: transparent;
    box-shadow: none;
    outline: 0;
}

.home.post-type-archive-product .main-navigation {
    float: none;
    width: auto;
    margin: 0;
    padding-top: 0.25rem;
    padding-bottom: 0.15rem;
}



.home.post-type-archive-product .storefront-primary-navigation {
    background: transparent;
}
/* Navigation gleiche Breite wie Content */
.home.post-type-archive-product .storefront-primary-navigation .col-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    padding-left: 20px;
    padding-right: 20px;
}













.home.post-type-archive-product .site-header-cart {
    float: none;
    margin: 0;
    position: static;
    transform: none;
    align-self: auto;
    justify-self: auto;
    padding: 0;
    width: auto;
    list-style: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.home.post-type-archive-product .site-header-cart li {
    margin: 0;
}

.home.post-type-archive-product .site-header-cart li:last-child,
.home.post-type-archive-product .site-header-cart .widget_shopping_cart {
    display: none !important;
}

.home.post-type-archive-product .site-header-cart .cart-contents {
    line-height: 1;
    gap: 0.35rem;
    padding-bottom: 0.38rem;
    justify-content: flex-end;
    text-align: right;
    white-space: nowrap;
}

.home.post-type-archive-product .site-header-cart .cart-contents .count {
    margin-top: 0.02rem;
}

.home.post-type-archive-product .main-navigation ul.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin: 0;
}

.home.post-type-archive-product .main-navigation ul.menu,
.home.post-type-archive-product .main-navigation ul.nav-menu {
    margin-left: 0;
    padding-left: 0;
}

.home.post-type-archive-product .main-navigation ul.menu > li {
    float: none;
    margin: 0;
}

.home.post-type-archive-product .site-search .widget_product_search {
    float: none;
    margin-bottom: 0;
}


/* Search - ALL search forms on homepage rounded */
.home.post-type-archive-product .woocommerce-product-search {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(25, 61, 52, 0.12);
    background: #f6fbf8;
}

.home.post-type-archive-product .woocommerce-product-search .search-field {
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 44px;
    background: transparent !important;
    flex: 1;
    box-shadow: none !important;
}

.home.post-type-archive-product .woocommerce-product-search button[type="submit"] {
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(25, 61, 52, 0.08) !important;
    padding: 0 16px;
    font-weight: 600;
    color: #18312b !important;
    cursor: pointer;
    white-space: nowrap;
    min-height: 44px;
}

.home.post-type-archive-product .woocommerce-product-search button[type="submit"]:hover {
    background: rgba(25, 61, 52, 0.15) !important;
}

/* Hero search specific overrides */
.pm-shop-hero__search .woocommerce-product-search {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.pm-shop-hero__search .woocommerce-product-search .search-field {
    background: rgba(255, 255, 255, 0.96) !important;
    min-height: 50px;
    color: #18312b;
}

.pm-shop-hero__search .woocommerce-product-search button[type="submit"] {
    background: #f0dbc0 !important;
    color: #132d27 !important;
    min-height: 50px;
    padding: 0 20px;
}




/* Kill Storefront clearfix pseudo-elements that break flex alignment */
.home.post-type-archive-product .storefront-primary-navigation .col-full::before,
.home.post-type-archive-product .storefront-primary-navigation .col-full::after {
    display: none !important;
    content: none !important;
}

.home.post-type-archive-product .storefront-primary-navigation .col-full {
    gap: 0;
}

/* Force nav alignment flush with title */
.home.post-type-archive-product .storefront-primary-navigation {
    background: transparent;
    border: 0;
}
.home.post-type-archive-product .main-navigation {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    clear: none;
}

.pm-shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1.6rem;
    align-items: stretch;
    margin: 1.25rem 0 2rem;
}

.pm-shop-hero__copy,
.pm-shop-hero__visual {
    min-width: 0;
}

/* Gruene Kachel - flex statt starrer min-height */
.pm-shop-hero__copy {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: auto;
    padding: 2.3rem 2.45rem;
    color: #f7f5ef;
    background:
        radial-gradient(circle at top right, rgba(223, 168, 88, 0.25), transparent 28%),
        linear-gradient(145deg, #0e1f1b 0%, #18312b 35%, #1d5b4f 100%);
    box-shadow: 0 26px 60px rgba(14, 31, 27, 0.26);
    display: flex;
    flex-direction: column;
}

.pm-shop-hero__copy::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 219, 192, 0.18) 0%, rgba(255, 255, 255, 0.06) 60%, transparent 100%);
}

.pm-shop-hero__copy::before {
    content: "";
    position: absolute;
    left: -60px;
    top: 30%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.pm-shop-hero__eyebrow {
    margin: 0 0 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
    color: rgba(247, 245, 239, 0.7);
}

.pm-shop-hero__title {
    margin: 0;
    max-width: 11ch;
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fffdf8;
}

.pm-shop-hero__lead {
    max-width: 38rem;
    margin: 1.15rem 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(247, 245, 239, 0.82);
}

.pm-shop-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.6rem;
}

.pm-shop-hero__button.button.alt {
    border-radius: 14px;
    padding: 1rem 1.55rem;
    background: #f0dbc0;
    color: #142e28;
    border: 0;
    box-shadow: none;
    font-weight: 700;
}

.pm-shop-hero__button.button.alt:hover {
    background: #fff7ec;
    color: #10231f;
}

.pm-shop-hero__link {
    color: #fff8ef;
    font-weight: 700;
    text-decoration: none;
}

.pm-shop-hero__link:hover {
    text-decoration: underline;
}

.pm-shop-hero__search {
    margin-top: 1.4rem;
}

.pm-shop-hero__search .woocommerce-product-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 152px;
    gap: 0.8rem;
    padding: 0.9rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.pm-shop-hero__search .search-field {
    height: 54px;
    border-radius: 14px;
    border: 0;
    background: rgba(255, 255, 255, 0.96);
    padding: 0 1rem;
    color: #18312b;
}

.pm-shop-hero__search button[type="submit"] {
    height: 54px;
    border-radius: 14px;
    border: 0;
    background: #f0dbc0;
    color: #132d27;
    font-weight: 700;
}

/* Meta-Bereich nach unten druecken */
.pm-shop-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 1.35rem;
}

.pm-shop-hero__meta span {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: #f4efe5;
    font-size: 0.92rem;
    line-height: 1.5;
}

.pm-shop-hero__meta strong {
    display: block;
    margin-bottom: 0.18rem;
    color: #ffffff;
}

/* =============================================
   PROBLEM 3: Hero-Layout - 2x2 Grid, alle Kacheln gleich gross
   ============================================= */
.pm-shop-hero__visual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    min-height: 0;
}

/* =============================================
   PROBLEM 4 + 5 + 6: Kacheln-Styling
   ============================================= */
.pm-shop-hero__tile {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(23, 38, 34, 0.1);
    text-decoration: none;
}

/* PROBLEM 5: Bild-Hintergrund WEISS, kein Verlauf */
.pm-shop-hero__tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 75%;
    display: block;
    padding: 12px 12px 36px;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

/* PROBLEM 6: Gradient-Overlay fuer lesbare Labels */
.pm-shop-hero__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(9, 20, 18, 0.7) 100%);
    pointer-events: none;
    z-index: 2;
}

/* PROBLEM 6: Label-Text unten in Kacheln */
.pm-shop-hero__tile span:not(.pm-shop-hero__bg-text) {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    color: #fffdf8;
    font-weight: 700;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

/* PROBLEM 4: Hintergrund-Text auf allen Kacheln */
.pm-shop-hero__bg-text {
    position: absolute;
    top: 8%;
    left: 5%;
    right: 5%;
    text-align: center;
    font-size: clamp(0.7rem, 2.8vw, 1.4rem);
    font-weight: 900;
    color: rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    z-index: 3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* Dekorative Kreise in Hero-Kacheln */
.pm-shop-hero__tile:nth-child(1)::before {
    content: "";
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(30, 100, 90, 0.06);
    pointer-events: none;
    z-index: 0;
}

.pm-shop-hero__tile:nth-child(2)::before {
    content: "";
    position: absolute;
    left: -15px;
    top: -15px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(240, 219, 192, 0.08);
    pointer-events: none;
    z-index: 0;
}

.pm-shop-hero__tile:nth-child(3)::before {
    content: "";
    position: absolute;
    right: -10px;
    top: 20%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(30, 100, 90, 0.05);
    pointer-events: none;
    z-index: 0;
}

.pm-shop-hero__tile:nth-child(4)::before {
    content: "";
    position: absolute;
    left: -15px;
    bottom: 30%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: rgba(240, 219, 192, 0.06);
    pointer-events: none;
    z-index: 0;
}

.pm-shop-categories {
    margin: 0 0 2rem;
}

.pm-shop-categories__head {
    max-width: 46rem;
    margin-bottom: 1.5rem;
}

.pm-shop-categories__eyebrow {
    margin: 0 0 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
    color: #205f52;
}

.pm-shop-categories__head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.02;
    color: #17342e;
}

.pm-shop-categories__head p {
    margin: 0;
    color: #546660;
    line-height: 1.7;
}

.pm-shop-categories__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.pm-shop-categories__track-wrapper {
    overflow: hidden;
    padding: 8px 0 8px;
    margin: -8px 0 0;
}

.pm-shop-categories__track {
    display: flex;
    gap: 1.2rem;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    will-change: transform;
}

.pm-shop-categories__track.pm-dragging {
    cursor: grabbing;
}

.pm-shop-categories__track.pm-dragging .pm-shop-category-card {
    pointer-events: none;
}

.pm-shop-categories__track .pm-shop-category-card {
    flex: 0 0 260px;
}

.pm-shop-category-card {
    display: block;
    overflow: hidden;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(24, 40, 33, 0.08);
    box-shadow: 0 18px 34px rgba(24, 40, 33, 0.07);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pm-shop-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 44px rgba(24, 40, 33, 0.12);
}

/* PROBLEM 5: Kategorie-Karten-Bilder WEISS */
.pm-shop-category-card__image {
    display: block;
    aspect-ratio: 1.2 / 1;
    overflow: hidden;
    background: #ffffff;
}

.pm-shop-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 12px;
    background: #ffffff;
}

.pm-shop-category-card__body {
    display: block;
    padding: 1.2rem;
}

.pm-shop-category-card__body strong {
    display: block;
    margin-bottom: 0.45rem;
    color: #17342e;
    font-size: 1.04rem;
}

.pm-shop-category-card__body span {
    display: block;
    color: #546660;
    line-height: 1.65;
    font-size: 0.94rem;
}

/* Shop-Einstiegs-Button */
.pm-shop-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #18312b 0%, #1d5b4f 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(24, 40, 33, 0.14);
    transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.pm-shop-entry:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 38px rgba(24, 40, 33, 0.22);
    color: #fff;
}

.pm-shop-entry__label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pm-shop-entry__hint {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

/* Hero-Kacheln: Hover-Animation */
.pm-shop-hero__tile {
    transition: transform 0.18s ease, box-shadow 0.22s ease;
}

.pm-shop-hero__tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px rgba(29, 91, 79, 0.3), 0 0 0 1px rgba(29, 91, 79, 0.08);
}

.home.post-type-archive-product .cross-sell-message {
    margin-top: 1.2rem;
    margin-bottom: 1.4rem;
    border: 0;
    border-radius: 18px;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(239,246,242,0.98) 100%);
    box-shadow: 0 12px 30px rgba(24, 40, 33, 0.06);
    text-align: center;
}

.home.post-type-archive-product .cross-sell-message .cross-sell-message__title,
.home.post-type-archive-product .cross-sell-message .cross-sell-message__links {
    display: block;
}

.home.post-type-archive-product .cross-sell-message .cross-sell-message__title {
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a322d;
}

.home.post-type-archive-product .cross-sell-message .cross-sell-message__links {
    font-weight: 400;
    color: #314640;
}

.pm-site-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.8rem 1.4rem;
    align-items: center;
}

.pm-site-info__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1.1rem;
}

.pm-site-info__nav a,
.pm-site-info__copyright {
    color: #4b5d57;
}

.home.post-type-archive-product .woocommerce-breadcrumb,
.home.post-type-archive-product .woocommerce-products-header {
    display: none;
}

.home.post-type-archive-product .site-main {
    padding-top: 0.75rem;
}

.home.post-type-archive-product ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
}

.home.post-type-archive-product ul.products::before,
.home.post-type-archive-product ul.products::after {
    display: none;
}

.home.post-type-archive-product ul.products li.product {
    width: auto;
    float: none;
    margin: 0;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(24, 40, 33, 0.08);
    box-shadow: 0 18px 34px rgba(24, 40, 33, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home.post-type-archive-product ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 42px rgba(24, 40, 33, 0.11);
}

.home.post-type-archive-product ul.products li.product img {
    border-radius: 16px;
    background: #f6f8f7;
    padding: 0.8rem;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.home.post-type-archive-product ul.products li.product .woocommerce-loop-product__title {
    min-height: 3.4em;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #17342e;
}

.home.post-type-archive-product ul.products li.product .price {
    color: #205f52;
    font-weight: 700;
}

.home.post-type-archive-product ul.products li.product .button {
    width: 100%;
    border-radius: 14px;
    background: #17342e;
    color: #ffffff;
}

.pm-shop-showcase .wc-gzd-additional-info,
.pm-shop-showcase .star-rating {
    display: none !important;
}

.pm-shop-showcase ul.products li.product .price {
    margin-bottom: 0.9rem;
}

.home.post-type-archive-product .storefront-sorting {
    margin-bottom: 1rem;
}

.home.post-type-archive-product .storefront-sorting .woocommerce-result-count,
.home.post-type-archive-product .storefront-sorting .woocommerce-ordering {
    display: none;
}

.home.post-type-archive-product .site-main > ul.products:first-of-type {
    display: none;
}

.pm-shop-showcase {
    margin-top: 0.9rem;
}

.pm-shop-showcase ul.products li.product {
    width: 100% !important;
    min-width: 0;
    float: none !important;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}

.pm-shop-showcase ul.products li.product > a:first-child {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pm-shop-showcase ul.products li.product img {
    width: 100% !important;
}

.pm-shop-showcase__head {
    max-width: 42rem;
    margin-bottom: 1.45rem;
}

.pm-shop-showcase__eyebrow {
    margin-bottom: 0.45rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    font-weight: 700;
    color: #205f52;
}

.pm-shop-showcase__head h2 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.8rem, 2.8vw, 2.7rem);
    color: #17342e;
}

.pm-shop-showcase__head p {
    margin: 0;
    color: #546660;
    line-height: 1.7;
}


/* =============================================
   AWS (Advanced Woo Search) form styling
   ============================================= */
.home.post-type-archive-product .aws-search-form {
    display: flex !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 1px solid rgba(25, 61, 52, 0.12) !important;
    background: #f6fbf8 !important;
}

.home.post-type-archive-product .aws-search-form .aws-wrapper {
    display: flex !important;
    flex: 1;
    align-items: center;
}

.home.post-type-archive-product .aws-search-form .aws-search-field {
    border: 0 !important;
    border-radius: 0 !important;
    min-height: 44px !important;
    background: transparent !important;
    flex: 1;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 14px !important;
}

.home.post-type-archive-product .aws-search-form .aws-search-btn {
    border: 0 !important;
    border-radius: 0 !important;
    background: rgba(25, 61, 52, 0.08) !important;
    padding: 0 16px !important;
    min-height: 44px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.home.post-type-archive-product .aws-search-form .aws-search-btn:hover {
    background: rgba(25, 61, 52, 0.15) !important;
}

/* Hero search - AWS override */
.pm-shop-hero__search .aws-search-form {
    border-color: rgba(255, 255, 255, 0.2) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    border-radius: 16px !important;
}

.pm-shop-hero__search .aws-search-form .aws-search-field {
    background: rgba(255, 255, 255, 0.96) !important;
    border-radius: 12px 0 0 12px !important;
    min-height: 50px !important;
    color: #18312b !important;
    margin: 4px !important;
}

.pm-shop-hero__search .aws-search-form .aws-search-btn {
    background: #f0dbc0 !important;
    color: #132d27 !important;
    min-height: 50px !important;
    padding: 0 20px !important;
}

/* AWS dropdown results styling */
.home.post-type-archive-product .aws-search-result {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(24, 40, 33, 0.12) !important;
}

@media (max-width: 1180px) {
    .home.post-type-archive-product .site-header .col-full {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "search";
        align-items: stretch;
    }

    .home.post-type-archive-product .site-search {
        max-width: none;
        margin-left: 0;
    }

    .home.post-type-archive-product .site-search .widget_product_search {
        max-width: none;
    }

    .home.post-type-archive-product .storefront-primary-navigation .col-full {
        grid-template-columns: 1fr;
        row-gap: 0.3rem;
        padding-right: 20px;
    }

    .home.post-type-archive-product .site-header-cart {
        position: static;
        transform: none;
        justify-self: start;
        justify-content: flex-start;
    }

    .pm-shop-hero {
        grid-template-columns: 1fr;
    }

    .pm-shop-hero__visual {
        min-height: 380px;
    }

    .pm-shop-categories__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-shop-hero__meta {
        grid-template-columns: 1fr;
    }

    .home.post-type-archive-product ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .pm-shop-hero {
        margin-top: 0.5rem;
    }

    .pm-shop-hero__copy {
        padding: 1.5rem;
        border-radius: 22px;
        min-height: auto;
    }

    .pm-shop-hero__title {
        max-width: none;
    }

    .pm-shop-hero__search .woocommerce-product-search {
        grid-template-columns: 1fr;
    }

    .pm-shop-hero__visual {
        display: none;
    }

    .pm-shop-categories__grid {
        grid-template-columns: 1fr;
    }

    .pm-site-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .home.post-type-archive-product ul.products {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   HOTFIXES 2026-04-10 v7
   ============================================= */

/* 1. AWS Suchfeld: Label/Icon verstecken */
.aws-search-form .aws-search-label {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* 2. AWS Such-Button: SVG Icon verstecken, Text "Suchen" anzeigen */
.home.post-type-archive-product .aws-search-form .aws-search-btn .aws-search-btn_icon {
    display: none !important;
}
.home.post-type-archive-product .aws-search-form .aws-search-btn::after {
    content: "Suchen";
    font-weight: 600;
    font-size: 0.85rem;
}

/* 3. Titel noch groesser */
.home.post-type-archive-product .site-title,
.home.post-type-archive-product .site-branding .site-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem) !important;
}

/* 4. Header: Weniger padding oben, kompakter */
.home.post-type-archive-product .site-header .col-full {
    padding-top: 0.4rem !important;
    padding-bottom: 0.2rem !important;
}

/* Header+Nav werden zusammen sticky via #pm-header-wrap */

/* HOTFIX: SVG im Such-Button komplett weg */
.aws-search-form .aws-search-btn svg,
.aws-search-form .aws-search-btn .aws-search-btn_icon,
.aws-search-form .aws-search-btn .aws-search-btn_icon svg {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    visibility: hidden !important;
}

/* NUCLEAR: AWS search button complete override */
.aws-search-form .aws-search-btn {
    overflow: hidden !important;
    color: #18312b !important;
    background: rgba(25, 61, 52, 0.08) !important;
    border: 0 !important;
    min-width: 70px !important;
    padding: 0 14px !important;
}
.aws-search-form .aws-search-btn * {
    display: none !important;
}
.aws-search-form .aws-search-btn::after {
    content: "Suchen" !important;
    display: block !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    color: #18312b !important;
}

/* =============================================
   HOTFIXES v8 - Sticky, Header spacing, Search icon
   ============================================= */

/* FIX: overflow hidden on .hfeed breaks sticky */
.home.post-type-archive-product .hfeed.site,
.home.post-type-archive-product.hfeed {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

/* FIX: Header viel zu viel Platz oben und unten */
.home.post-type-archive-product .site-header {
    padding-top: 8px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* FIX: AWS search icon - nuke EVERYTHING in the button except ::after */
.aws-search-form .aws-search-btn > * {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Also hide any ::before on the form or wrapper that AWS might inject */
.aws-search-form::before,
.aws-search-form .aws-wrapper::before,
.aws-search-form .aws-search-btn::before {
    display: none !important;
    content: none !important;
}

/* FIX v9: overflow clip statt hidden - erlaubt sticky */
.home.post-type-archive-product .hfeed.site,
.home.post-type-archive-product.hfeed,
body.home.post-type-archive-product {
    overflow-x: clip !important;
    overflow-y: visible !important;
    overflow: clip visible !important;
}

/* Sticky Header Wrapper */
#pm-header-wrap {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(25, 61, 52, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#pm-header-wrap.pm-scrolled {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Admin-Bar Offset */
.admin-bar #pm-header-wrap {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar #pm-header-wrap {
        top: 46px;
    }
}

/* Compact-Modus beim Scrollen */
#pm-header-wrap .site-header .col-full,
#pm-header-wrap .storefront-primary-navigation .col-full {
    transition: padding 0.3s ease;
}

#pm-header-wrap.pm-scrolled .site-header .col-full {
    padding-top: 0.15rem !important;
    padding-bottom: 0.1rem !important;
}

#pm-header-wrap.pm-scrolled .site-title,
#pm-header-wrap.pm-scrolled .site-branding .site-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem) !important;
    transition: font-size 0.3s ease;
}

#pm-header-wrap.pm-scrolled .woocommerce-product-search .search-field,
#pm-header-wrap.pm-scrolled .aws-search-form .aws-search-field {
    min-height: 32px !important;
    transition: min-height 0.3s ease;
}

#pm-header-wrap.pm-scrolled .woocommerce-product-search button[type="submit"],
#pm-header-wrap.pm-scrolled .aws-search-form .aws-search-btn {
    min-height: 32px !important;
}

#pm-header-wrap.pm-scrolled .woocommerce-product-search,
#pm-header-wrap.pm-scrolled .aws-search-form {
    border-radius: 10px !important;
}

#pm-header-wrap.pm-scrolled .storefront-primary-navigation .col-full {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}
