/*
Theme Name:   Leading Campings Shop
Theme URI:    https://leading-campings.server.codeagentur.de
Description:  Child-Theme für Storefront - Leading Campings Shop
Author:       Max Schmidt - PWF Solution
Author URI:   https://leading-campings.server.codeagentur.de
Template:     storefront
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  leading-campings-shop
*/

/* ============================================
   Local Fonts: Raleway + Montserrat (DSGVO-konform)
   ============================================ */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('fonts/raleway-v37-latin.woff2') format('woff2');
}

/* ============================================
   Local Fonts: Montserrat (DSGVO-konform)
   ============================================ */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('fonts/montserrat-v26-latin-300.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/montserrat-v26-latin-regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/montserrat-v26-latin-500.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/montserrat-v26-latin-600.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/montserrat-v26-latin-700.woff2') format('woff2');
}

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    --lc-main-color: #1c4291;
    --lc-main-color-hover: #152f6b;
    --lc-button-bg: #52ae32;
    --lc-button-bg-hover: #3c8f20;
    --lc-button-color: #fff;
    --lc-text-color: #4c4c4c;
    --lc-border-color: #dadada;
    --lc-bg-light: #f2f2f2;
    --lc-white: #fff;
    --lc-wrp-width: 1200px;
    --lc-page-gutter: 24px;
    --lc-header-gutter: 10px;
    --lc-font-body: 'Raleway', sans-serif;
    --lc-font-heading: 'Montserrat', sans-serif;
}

/* ============================================
   Typography (Punkt 4)
   ============================================ */
body,
button,
input,
select,
textarea {
    font-family: var(--lc-font-body);
    font-size: 16px;
    line-height: 25px;
    font-weight: 300;
    color: var(--lc-text-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--lc-font-heading);
    color: #000;
}

h1 {
    font-size: 30px;
    line-height: 45px;
    font-weight: 600;
}

h2 {
    font-size: 30px;
    line-height: 45px;
    font-weight: 300;
}

h3 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 600;
}

h4,
h5,
h6 {
    font-weight: 600;
}

small,
.text-small {
    font-size: 14px;
    line-height: 20px;
}

@media (min-width: 768px) {
    h1 {
        font-size: 48px;
        line-height: 56px;
    }
}

.highlighted {
    text-decoration: underline;
    text-decoration-color: #f1c40f;
    text-decoration-thickness: 3px;
    text-underline-offset: 12px;
}

/* ============================================
   Utilities
   ============================================ */
.lc-wrp {
    max-width: none;
    width: 100%;
    padding-left: var(--lc-page-gutter);
    padding-right: var(--lc-page-gutter);
    box-sizing: border-box;
    margin: 0 auto;
}

.lc-cf::after {
    content: '';
    display: table;
    clear: both;
}

/* ============================================
   Color Bar (5px top bar)
   ============================================ */
.lc-color-bar {
    height: 5px;
    background: var(--lc-main-color);
}

/* ============================================
   Top Header Bar
   ============================================ */
.lc-top-header {
    height: 36px;
    background: var(--lc-white);
    font-size: 13px;
    line-height: 20px;
    color: var(--lc-text-color);
}

.lc-top-header .lc-wrp {
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: var(--lc-header-gutter);
    padding-right: var(--lc-header-gutter);
}

/* Language Switcher - Flag Dropdown */
.lc-lang-switcher {
    display: inline-flex;
    align-items: center;
    height: 100%;
    border-left: 1px dashed #bfbfbf;
    padding: 0 2px;
}

.lc-lang-dropdown {
    position: relative;
    display: inline-block;
}

.lc-lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    font-size: 15px;
    color: var(--lc-text-color);
    line-height: 22px;
    border-radius: 3px;
    transition: background 0.2s ease;
    font-family: inherit;
}

.lc-lang-current:hover {
    background: var(--lc-bg-light);
}

.lc-lang-current img {
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.lc-lang-code {
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.lc-lang-list {
    display: none;
    position: absolute;
    top: 100%;
    right: -50px;
    left: 2px;
    background: var(--lc-white);
    border: 1px solid var(--lc-border-color);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 200px;
    z-index: 1100;
    list-style: none;
    padding: 6px 6px;
    margin: 6px 0 0 0;
}

.lc-lang-dropdown.active .lc-lang-list {
    display: block;
}

.lc-lang-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    color: var(--lc-text-color);
    text-decoration: none;
    font-size: 13px;
    transition: background 0.2s ease;
    border: none;
}

.lc-lang-list li a:hover {
    background: var(--lc-bg-light);
    color: var(--lc-main-color);
}

.lc-lang-list li a img {
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.lc-top-col-right {
    margin-left: auto;
}

.lc-top-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.lc-top-menu a {
    color: var(--lc-text-color);
    text-decoration: none;
    padding: 0 10px;
    border-left: 1px dashed #bfbfbf;
    display: inline-block;
    line-height: 20px;
    transition: color 0.3s ease;
}

.lc-top-menu > .lc-dropdown-wrap:first-child > a,
.lc-top-menu > a:first-child {
    border-left: none;
}

.lc-top-menu a:hover {
    color: var(--lc-main-color);
}

.lc-arrow-down {
    font-size: 10px;
    line-height: 20px;
    padding-left: 3px;
}

.lc-icon-inline {
    font-size: 14px;
    margin-right: 2px;
}

.lc-top-login-link {
    border-left: 1px dashed #bfbfbf;
}

/* Dropdown Menus */
.lc-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.lc-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--lc-white);
    border: 1px solid var(--lc-border-color);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    min-width: 220px;
    z-index: 1000;
    list-style: none;
    padding: 6px 0;
    margin: 6px 0 0 0;
}

.lc-dropdown-menu.lc-dropdown-right {
    left: 2px;
    right: 0;
    padding: 6px 6px;
}

.lc-dropdown-wrap.active .lc-dropdown-menu {
    display: block;
}

.lc-dropdown-menu li a {
    display: block;
    padding: 10px 16px 10px 20px;
    color: var(--lc-text-color);
    text-decoration: none;
    transition: background 0.2s ease;
    border: none;
    font-size: 14px;
    line-height: 20px;
}

.lc-dropdown-menu li a:hover {
    background: var(--lc-bg-light);
    color: var(--lc-main-color);
}

.lc-dropdown-menu li + li a {
    border-top: none;
}


/* ============================================
   Main Header
   ============================================ */
.leading-campings-custom-header {
    background: var(--lc-white);
}

/* Override Storefront default header styles */
.site-header {
    border-bottom: none !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.site-header .col-full {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.lc-header {
    padding: 0;
}

.lc-header .lc-wrp {
    display: flex;
    align-items: center;
    min-height: 140px;
    position: relative;
    padding-left: var(--lc-header-gutter);
    padding-right: var(--lc-header-gutter);
}

/* Logo */
.lc-header-logo {
    float: left;
    width: 300px;
    height: 100px;
    margin: 20px 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.lc-header-logo a {
    display: block;
}

.lc-header-logo img,
.lc-header-logo a img {
    height: auto;
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}

.lc-header-logo .site-title {
    margin: 0;
    font-size: 22px;
    line-height: 100px;
    font-family: var(--lc-font-heading);
}

.lc-header-logo .site-title-link {
    text-decoration: none;
    color: var(--lc-text-color);
}

/* Override Storefront custom logo */
.lc-header-logo .custom-logo-link {
    display: block;
    max-width: 100%;
}

.lc-header-logo .custom-logo {
    max-height: 100px;
    width: auto;
    height: auto;
}

/* Search */
.lc-header-search {
    flex: 1;
    margin: 0 40px;
    position: relative;
    display: flex;
    align-items: center;
}

.lc-header-search .widget {
    margin: 0;
    width: 100%;
}

.lc-header-search form {
    position: relative;
    display: flex;
    width: 100%;
    margin-bottom: 0;
}

.lc-header-search input[type="search"],
.lc-header-search input[type="text"] {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border: 1px solid var(--lc-border-color);
    border-radius: 1px;
    padding: 8px 55px 8px 16px;
    font-size: 14px;
    color: var(--lc-text-color);
    background: var(--lc-white);
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.lc-header-search input[type="search"]::placeholder,
.lc-header-search input[type="text"]::placeholder {
    color: #b2b2b2;
}

.lc-header-search input[type="search"]:focus,
.lc-header-search input[type="text"]:focus {
    outline: none;
    border-color: var(--lc-main-color);
    box-shadow: none;
}

.lc-header-search button[type="submit"],
.lc-header-search input[type="submit"] {
    position: absolute;
    right: 4px;
    top: 4px;
    background: var(--lc-bg-light);
    color: #808080;
    border: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1;
}

/* Search icon via pseudo element */
.lc-header-search button[type="submit"]::before,
.lc-header-search input[type="submit"]::before {
    content: '\1F50D';
    font-size: 18px;
}

.lc-header-search button[type="submit"]:hover,
.lc-header-search input[type="submit"]:hover {
    background: var(--lc-main-color);
    color: var(--lc-white);
}

/* WooCommerce search form specific */
.lc-header-search .woocommerce-product-search {
    position: relative;
    display: flex;
    width: 60%;
}

.form {
margin-bottom: 0em!important;
}

.lc-header-search .woocommerce-product-search label {
    display: none;
}

/* Cart */
.lc-header-cart {
    border: 1px solid var(--lc-border-color);
    border-radius: 1px;
    width: auto;
    height: 50px;
    display: flex;
    align-items: center;
    margin: 0;
    position: relative;
    flex-shrink: 0;
}

.lc-header-cart > a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    text-decoration: none;
    color: var(--lc-text-color);
}

.lc-cart-count {
    display: block;
    font-size: 16px;
    color: #b2b2b2;
    line-height: 22px;
    padding: 0 15px 0 20px;
    white-space: nowrap;
}

.lc-cart-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--lc-bg-light);
    color: #808080;
    margin: 3px 3px 3px 0;
    flex-shrink: 0;
    border-radius: 0 0.75em 0.75em 0;
}

.lc-cart-icon svg {
    width: 22px;
    height: 22px;
}

.lc-cart-icon-count {
    position: absolute;
    right: -8px;
    top: -8px;
    background: var(--lc-main-color);
    color: var(--lc-white);
    font-size: 11px;
    line-height: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
    border-radius: 50%;
    display: block;
}

/* Mobile User Icon (hidden on desktop) */
.lc-mobile-user {
    display: none;
}

/* Mobile Burger Button (hidden on desktop) */
.lc-mobile-burger {
    display: none;
}

/* ============================================
   Offcanvas Mobile Navigation
   ============================================ */
.lc-offcanvas-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lc-offcanvas-overlay.active {
    display: block;
    opacity: 1;
}

.lc-offcanvas-nav {
    position: fixed;
    top: 0;
    left: calc(-1 * min(88vw, 360px));
    width: min(88vw, 360px);
    height: 100%;
    background: var(--lc-bg-light);
    z-index: 201;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
    transition: left 0.35s ease;
}

.lc-offcanvas-nav.active {
    left: 0;
}

.lc-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 15px 0 20px;
    background: var(--lc-white);
    border-top: 5px solid var(--lc-main-color);
}

.lc-offcanvas-title {
    font-family: var(--lc-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--lc-text-color);
}

.lc-offcanvas-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--lc-border-color);
    background: var(--lc-bg-light);
    color: #808080;
    cursor: pointer;
    border-radius: 1px;
    transition: background 0.3s ease;
    padding: 0;
}

.lc-offcanvas-close:hover {
    background: var(--lc-border-color);
}

.lc-offcanvas-body {
    padding: 0;
}

.lc-offcanvas-quick-actions {
    padding: 16px 16px 14px;
    display: grid;
    gap: 12px;
    background: #f5f7fb;
    border-bottom: 1px solid var(--lc-border-color);
}

.lc-offcanvas-quick-actions .lc-offcanvas-lang {
    margin: 0;
    padding: 12px;
    border: 1px solid #d9dfec;
    border-radius: 12px;
    background: #fff;
}

.lc-offcanvas-quick-actions .lc-offcanvas-lang-title {
    margin-bottom: 10px;
    font-size: 15px;
}

.lc-offcanvas-quick-actions .lc-offcanvas-lang-flags {
    gap: 10px;
}

.lc-offcanvas-account-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    background: var(--lc-main-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
}

.lc-offcanvas-account-link:hover,
.lc-offcanvas-account-link:focus,
.lc-offcanvas-account-link:focus-visible {
    color: #fff;
    background: var(--lc-main-color-hover);
    outline: none;
}

.lc-offcanvas-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.lc-offcanvas-search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.lc-offcanvas-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    border: 1px solid var(--lc-border-color);
    border-radius: 6px;
    padding: 0 12px;
    font-size: 15px;
}

.lc-offcanvas-search-form button[type="submit"] {
    flex: 0 0 auto;
    height: 42px;
    border: 0;
    border-radius: 6px;
    padding: 0 14px;
    background: var(--lc-main-color);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.lc-offcanvas-search-form button[type="submit"]:hover,
.lc-offcanvas-search-form button[type="submit"]:focus,
.lc-offcanvas-search-form button[type="submit"]:focus-visible {
    background: var(--lc-main-color-hover);
    outline: none;
}

.lc-offcanvas-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--lc-border-color);
}

.lc-offcanvas-menu li {
    list-style: none;
    border-bottom: 1px solid var(--lc-border-color);
}

.lc-offcanvas-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--lc-text-color);
    text-decoration: none;
    font-size: 15px;
    line-height: 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.lc-offcanvas-menu li a:hover {
    background: var(--lc-white);
    color: var(--lc-main-color);
}

.lc-offcanvas-menu li.current-menu-item > a {
    color: var(--lc-main-color);
    background: var(--lc-white);
}

/* Sub menus in offcanvas */
.lc-offcanvas-menu li ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lc-offcanvas-menu li ul li a {
    padding-left: 40px;
    font-size: 14px;
}

.lc-offcanvas-menu li ul li ul li a {
    padding-left: 60px;
}

/* Offcanvas Language Switcher */
.lc-offcanvas-lang {
    padding: 20px;
    border-top: 1px solid var(--lc-border-color);
    margin-top: 10px;
}

.lc-offcanvas-lang-title {
    display: block;
    font-family: var(--lc-font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--lc-text-color);
    margin-bottom: 12px;
}

.lc-offcanvas-lang-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lc-offcanvas-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.lc-offcanvas-flag:hover,
.lc-offcanvas-flag.active {
    opacity: 1;
    border-color: var(--lc-main-color);
}

.lc-offcanvas-flag img {
    display: block;
    border-radius: 2px;
    box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

/* ============================================
   Main Navigation
   ============================================ */
.lc-main-nav {
    min-height: 50px;
    background: var(--lc-white);
    border-width: 1px 0 0 0;
    border-color: #e5e5e5;
    border-style: solid;
}

.lc-nav-menu {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.lc-nav-menu li {
    list-style: none;
    display: block;
    position: relative;
    font-size: 16px;
}

.lc-nav-menu > li > a {
    display: block;
    line-height: 50px;
    padding: 0 20px;
    text-decoration: none;
    color: var(--lc-text-color);
    transition: color 0.3s ease;
    font-family: var(--lc-font-body);
    font-weight: 500;
    font-size: 16px;
}

.lc-nav-menu > li > a:hover,
.lc-nav-menu > li.current-menu-item > a {
    color: var(--lc-main-color);
}

/* Sub Menus */
.lc-nav-menu li ul {
    display: none;
    position: absolute;
    background: var(--lc-white);
    z-index: 5;
    width: 250px;
    border: 1px solid var(--lc-border-color);
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.lc-nav-menu li:hover > ul {
    display: block;
}

.lc-nav-menu li ul li {
    display: block;
    width: 100%;
    float: none;
    border-bottom: 1px solid var(--lc-border-color);
}

.lc-nav-menu li ul li:last-child {
    border-bottom: none;
}

.lc-nav-menu li ul li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
    line-height: 20px;
    box-sizing: border-box;
    color: var(--lc-text-color);
    text-decoration: none;
    transition: background 0.3s ease;
}

.lc-nav-menu li ul li a:hover {
    background: var(--lc-bg-light);
    color: var(--lc-main-color);
}

/* 3rd level */
.lc-nav-menu li ul li ul {
    position: absolute;
    left: 250px;
    top: -1px;
}

/* ============================================
   Header Redesign (Referenz Shop)
   ============================================ */
.lc-color-bar {
    display: none;
}

.lc-header {
    border-bottom: 1px solid #d9d9d9;
}

.lc-header .lc-wrp {
    min-height: 88px;
    width: 100%;
    max-width: none;
    justify-content: space-between;
    gap: 12px;
}

.lc-header-logo {
    width: 260px;
    height: auto;
    margin: 0 0 0 -12px;
}

.lc-header-logo img,
.lc-header-logo a img,
.lc-header-logo .custom-logo {
    max-height: 68px;
}

.lc-header-tools {
    margin-left: auto;
}

.lc-header-tools .lc-top-menu {
    align-items: center;
    gap: 16px;
}

.lc-header-tools .lc-top-menu a {
    border-left: 0;
    padding: 0;
    font-size: 15px;
    line-height: 22px;
    font-weight: 400;
    color: #1f1f1f;
}

.lc-header-tools .lc-top-menu a:hover,
.lc-header-tools .lc-lang-current:hover {
    color: var(--lc-main-color);
    background: transparent;
}

.lc-nav-account .lc-dropdown-trigger,
.lc-nav-info .lc-dropdown-trigger,
.lc-nav-language .lc-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lc-nav-account .lc-dropdown-trigger::before,
.lc-nav-info .lc-dropdown-trigger::before,
.lc-nav-language .lc-lang-current::before {
    content: '';
    width: 18px;
    height: 18px;
    display: inline-block;
    background-color: var(--lc-main-color);
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
}

.lc-nav-account .lc-dropdown-trigger::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
}

.lc-nav-info .lc-dropdown-trigger::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E");
}

.lc-nav-language .lc-lang-current::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

.lc-lang-switcher {
    border-left: 0;
    padding: 0;
    height: auto;
}

.lc-lang-current {
    padding: 0;
    gap: 8px;
    font-size: 15px;
    line-height: 22px;
}

.lc-lang-current img {
    display: none;
}

.lc-lang-code {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0;
}

.lc-arrow-down {
    font-size: 12px;
    line-height: 1;
    padding-left: 0;
}

.lc-header-actions {
    flex: 0 0 auto;
    margin: 0 0 0 8px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.lc-header-search {
    flex: 0 0 auto;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 320px;
    z-index: 1200;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.lc-header-search.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.lc-header-search-form {
    width: 100%;
}

.lc-header-search-form input[type="search"] {
    padding-right: 56px;
}

.lc-search-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--lc-main-color);
    color: #ffffff;
    border: 0;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.lc-search-icon-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.lc-search-icon-btn:hover,
.lc-search-icon-btn:focus,
.lc-search-icon-btn:focus-visible {
    background: var(--lc-main-color);
    color: #ffffff;
    outline: none;
    box-shadow: none;
}

.lc-nav-account-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--lc-main-color);
    color: #ffffff;
    text-decoration: none;
    padding: 0;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.lc-nav-account-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

.lc-nav-account-icon:hover,
.lc-nav-account-icon:focus,
.lc-nav-account-icon:focus-visible {
    background: var(--lc-main-color);
    color: #ffffff;
    outline: none;
    box-shadow: none;
}

.lc-header-search .woocommerce-product-search {
    display: flex;
    align-items: center;
    width: 100%;
}

.lc-header-search form::before,
.lc-header-search .woocommerce-product-search::before {
    display: none !important;
}

.lc-header-search input[type="search"],
.lc-header-search input[type="text"],
.lc-header-search label {
    display: block;
}

.lc-header-search button[type="submit"],
.lc-header-search input[type="submit"] {
    display: flex;
}

.lc-header-search button[type="submit"]:hover,
.lc-header-search input[type="submit"]:hover {
    background: var(--lc-main-color-hover);
}

.lc-header-cart {
    border: 0;
    width: 31px;
    height: 31px;
    background: transparent;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-header-cart > a {
    width: 31px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lc-cart-count {
    display: none;
}

.lc-cart-icon {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 999px;
    background: var(--lc-main-color);
    color: #fff;
}

.lc-main-nav {
    min-height: 58px;
    border-top: 1px solid #e4e4e4;
    border-bottom: 1px solid #e4e4e4;
}

.lc-main-nav .lc-wrp {
    width: 100%;
    max-width: none;
    padding-left: calc(var(--lc-header-gutter) + 14px);
    padding-right: var(--lc-header-gutter);
}

.lc-nav-menu {
    align-items: center;
    justify-content: flex-start;
    gap: clamp(36px, 3vw, 64px);
    flex-wrap: nowrap;
}

.lc-nav-menu > li > a {
    line-height: 58px;
    padding: 0 6px;
    font-size: 15px;
    font-weight: 400;
    color: #1f1f1f;
}

.lc-nav-menu > li.menu-item-has-children > a::after {
    content: '▾';
    margin-left: 9px;
    font-size: 11px;
    vertical-align: middle;
}

.lc-nav-menu > li > a:hover,
.lc-nav-menu > li.current-menu-item > a {
    color: var(--lc-main-color);
}

/* ============================================
   Footer
   ============================================ */
#lc-footer {
    width: 100%;
    margin-top: 32px;
}

.lc-footer-standard {
    min-height: 96px;
    background: var(--lc-main-color);
    display: flex;
    align-items: center;
    color: var(--lc-white);
}

.lc-footer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 26px;
    width: 100%;
    min-height: 96px;
}

.lc-footer-legal {
    flex: 1 1 auto;
    min-width: 0;
}

.lc-footer-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.lc-footer-nav li {
    list-style: none;
    display: flex;
    align-items: center;
}

.lc-footer-nav a,
.lc-cookie-settings {
    color: var(--lc-white);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.15;
    font-weight: 300;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.3s ease;
}

.lc-footer-nav a:hover,
.lc-footer-nav a:focus,
.lc-cookie-settings:hover,
.lc-cookie-settings:focus {
    color: rgba(255, 255, 255, 0.75);
}

.lc-footer-item-cookie {
    flex-basis: 100%;
}

.lc-footer-social {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    justify-self: center;
}

.lc-social-link {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    color: var(--lc-white);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lc-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lc-social-link:hover,
.lc-social-link:focus {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.lc-footer-copy {
    flex: 0 0 auto;
    color: var(--lc-white);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 300;
    white-space: nowrap;
    text-align: right;
}

/* Override Storefront footer styles */
.site-footer {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-top: none !important;
}

.site-footer .col-full {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

.site-info {
    display: none !important;
}

.footer-widgets {
    display: none !important;
}

/* Hide Storefront handheld footer bar */
.storefront-handheld-footer-bar {
    display: none !important;
}

/* Hide WPML default language switcher (footer/widget) */
.wpml-ls-statics-footer,
.wpml-ls-statics-post_translations,
footer .wpml-ls,
.site-footer .wpml-ls {
    display: none !important;
}

/* ============================================
   General Overrides (Storefront)
   ============================================ */

/* Override Storefront's header container */
.site-header .col-full {
    padding: 0 !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Accent color overrides */
a {
    color: var(--lc-text-color);
}

a:hover {
    color: var(--lc-main-color);
}

h1, h2 {
    color: #000;
}

/* Button styles like reference */
.button,
button,
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    background-color: var(--lc-main-color);
    border-color: var(--lc-main-color);
    color: var(--lc-button-color);
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    background-color: var(--lc-main-color-hover);
    border-color: var(--lc-main-color-hover);
    color: var(--lc-button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25);
}

.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt {
    background-color: var(--lc-main-color);
    border-color: var(--lc-main-color);
    color: var(--lc-button-color);
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover {
    background-color: var(--lc-main-color-hover);
    border-color: var(--lc-main-color-hover);
    color: var(--lc-button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25);
}

/* ============ ADD-TO-CART & CHECKOUT BUTTON STYLING ============ */
/* Warenkorbbutton (Shop/Archiv-Seite) */
.add_to_cart_button,
.product_type_simple.add_to_cart_button,
a.button.product_type_simple {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lc-main-color);
    border-color: var(--lc-main-color);
    color: var(--lc-button-color);
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.add_to_cart_button:hover,
.product_type_simple.add_to_cart_button:hover,
a.button.product_type_simple:hover {
    background-color: var(--lc-main-color-hover);
    border-color: var(--lc-main-color-hover);
    color: var(--lc-button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25);
}

/* Warenkorbbutton (Produktseite - "In den Warenkorb") */
.single_add_to_cart_button,
.woocommerce-variation-add-to-cart button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lc-main-color);
    border-color: var(--lc-main-color);
    color: var(--lc-button-color);
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.single_add_to_cart_button:hover,
.woocommerce-variation-add-to-cart button[type="submit"]:hover {
    background-color: var(--lc-main-color-hover);
    border-color: var(--lc-main-color-hover);
    color: var(--lc-button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25);
}

/* Checkout Button (Warenkorb-Seite) */
.woocommerce-proceed-to-checkout a.button,
.woocommerce .order-review #place_order,
.woocommerce-checkout #place_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--lc-main-color);
    border-color: var(--lc-main-color);
    color: var(--lc-button-color);
    border-radius: 6px;
    font-weight: 600;
    padding: 8px 16px;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
    width: auto;
}

.woocommerce-proceed-to-checkout a.button:hover,
.woocommerce .order-review #place_order:hover,
.woocommerce-checkout #place_order:hover {
    background-color: var(--lc-main-color-hover);
    border-color: var(--lc-main-color-hover);
    color: var(--lc-button-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25);
}

/* WooCommerce Block Components - Checkout Button (new Blocks) */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button.contained {
    background-color: var(--lc-main-color) !important;
    border-color: var(--lc-main-color) !important;
    color: var(--lc-button-color) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button.contained:hover {
    background-color: var(--lc-main-color-hover) !important;
    border-color: var(--lc-main-color-hover) !important;
    color: var(--lc-button-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25) !important;
}

/* WooCommerce Block Components - Proceed to Checkout Button */
.wc-block-components-proceed-to-checkout-button {
    background-color: var(--lc-main-color) !important;
    border-color: var(--lc-main-color) !important;
    color: var(--lc-button-color) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    padding: 8px 16px !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
}

.wc-block-components-proceed-to-checkout-button:hover {
    background-color: var(--lc-main-color-hover) !important;
    border-color: var(--lc-main-color-hover) !important;
    color: var(--lc-button-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(28, 66, 145, 0.25) !important;
}

/* Produktdetailseite: Titel etwas kleiner und leichter */
.single-product div.product .product_title,
.woocommerce div.product .product_title {
    font-size: 24px;
    line-height: 1.25;
    font-weight: 300;
}

@media (min-width: 768px) {
    .single-product div.product .product_title,
    .woocommerce div.product .product_title {
        font-size: 32px;
        line-height: 1.2;
    }
}

/* Produktdetailseite: nur Beschreibungstext in Contentbreite */
.single-product .woocommerce-tabs ul.tabs,
.single-product .woocommerce-tabs .tabs.wc-tabs {
    display: none !important;
}

.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs .panel,
.single-product .woocommerce-tabs .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs #tab-description {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.single-product .woocommerce-tabs .woocommerce-Tabs-panel--description > h2:first-child,
.single-product .woocommerce-tabs #tab-description > h2:first-child {
    display: none;
}

/* Suchfeld abgerundete Ecken + box-shadow entfernen */
.lc-header-search input[type="search"],
.lc-header-search input[type="text"] {
    border-radius: 0.75em;
    box-shadow: none;
}

.lc-header-search button[type="submit"],
.lc-header-search input[type="submit"] {
    border-radius: 999px;
}

/* Warenkorb abgerundete Ecken */
.lc-header-cart {
    border-radius: 999px;
}

/* Bilder abgerundete Ecken */
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img,
.wp-block-image img,
.lc-hero-img img,
.attachment-woocommerce_thumbnail,
.woocommerce-product-gallery__image img {
    border-radius: 0.75em;
}

/* Kategorie-Karten abgerundete Ecken */
.lc-category-card {
    border-radius: 0;
    overflow: hidden;
}

/* ============================================
   Responsive Design
   ============================================ */

/* ============================================
   Welcome / Homepage Styles
   ============================================ */

/* Full-width hero banner */
.lc-welcome-page {
    margin: 0;
    padding: 0;
}

.lc-welcome-image {
    position: relative;
    margin: 0 0 30px 0;
    padding: 0;
    line-height: 0;
}

.lc-welcome-image .wp-block-image {
    margin: 0;
}

.lc-hero-img {
    margin: 0 !important;
}

.lc-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.lc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    text-align: center;
    pointer-events: none;
}

.lc-hero-title,
.lc-hero-subtext {
    margin: 0;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.lc-hero-title {
    font-family: var(--lc-font-heading);
    font-size: clamp(28px, 4.2vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.lc-hero-subtext {
    font-family: var(--lc-font-heading);
    font-size: clamp(8px, 1.075vw, 28px);
    font-weight: 300;
    line-height: 1.2;
    max-width: min(1300px, 94vw);
    text-wrap: balance;
}

@media screen and (max-width: 1024px) {
    .lc-hero-overlay {
        gap: 12px;
        padding: 16px;
    }

    .lc-hero-subtext {
        max-width: min(860px, 94vw);
    }
}

@media screen and (max-width: 680px) {
    .lc-welcome-image .wp-block-image,
    .lc-hero-img {
        height: 62vw;
        min-height: 250px;
        max-height: 420px;
    }

    .lc-hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .lc-hero-overlay {
        justify-content: center;
        padding: 14px;
    }

    .lc-hero-title {
        font-size: clamp(20px, 7.2vw, 32px);
        line-height: 1.08;
    }

    .lc-hero-subtext {
        font-size: clamp(7px, 2.1vw, 9px);
        line-height: 1.25;
    }
}

@media screen and (max-width: 420px) {
    .lc-welcome-image .wp-block-image,
    .lc-hero-img {
        height: 68vw;
        min-height: 240px;
    }

    .lc-hero-overlay {
        gap: 8px;
        padding: 10px;
    }
}

/* Content section */
.lc-cms-content-welcome {
    padding: 30px 0 10px;
}

.lc-welcome-heading {
    font-family: var(--lc-font-heading);
    font-size: 35px;
    font-weight: 300;
    letter-spacing: 0.7px;
    color: #000;
    margin-bottom: 22px;
    line-height: 1.28;
}

.lc-welcome-heading .highlighted {
    color: #000;
    font-weight: 300;
}

/* Two-column text */
.lc-welcome-text-columns {
    gap: 3em !important;
}

.lc-welcome-text-columns p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--lc-text-color);
    margin: 0 0 1.05em 0;
}

/* Category cards grid */
.lc-welcome-categories {
    padding: 6px 0 28px;
}

.lc-category-grid {
    gap: 0 !important;
}

.lc-category-card {
    position: relative;
    overflow: visible;
    border: none;
    border-radius: 0;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    padding: 0 !important;
    cursor: pointer;
    box-shadow: none;
}

/* Ensure inner container fills card properly */
.lc-category-card > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    position: relative;
}

.lc-category-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
}

.lc-category-link {
    display: block;
    width: 100%;
    position: relative;
    text-decoration: none !important;
    color: var(--lc-text-color) !important;
}

.lc-category-image {
    margin: 0 !important;
    overflow: hidden;
    line-height: 0;
    border-radius: 0;
}

.lc-category-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    display: block;
    border-radius: 0;
    border: 0;
    padding: 0;
    margin: 0;
    transition: transform 0.7s ease;
}

.lc-category-card:hover .lc-category-image img {
    transform: scale(1.035);
}

.lc-category-name {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 3px;
    position: static;
    width: 100%;
    background: transparent;
    min-height: 0;
    font-size: 16px;
    font-weight: 400;
    font-family: var(--lc-font-heading);
    padding: 9px 2px 1px;
    box-sizing: border-box;
    transition: none;
}

.lc-category-kicker {
    display: block;
    font-size: 12px;
    font-weight: 500;
    font-family: var(--lc-font-body);
    color: #656565;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.lc-label-groupname {
    display: block;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-family: var(--lc-font-heading);
    font-size: clamp(16px, 1.08vw, 21px);
    font-weight: 500;
    color: #2f2f2f;
    line-height: 1.12;
    max-width: 100%;
    text-wrap: balance;
}

.lc-category-price {
    display: block;
    margin-top: 1px;
    font-family: var(--lc-font-body);
    font-size: 15px;
    font-weight: 400;
    color: #5f5f5f;
    line-height: 1.2;
}

.lc-category-arrow {
    display: none;
}

/* Override Gutenberg defaults for welcome page */
.lc-welcome-page .wp-block-group {
    padding: 0;
}

.lc-welcome-page .wp-block-columns {
    margin-bottom: 0;
}

/* Ensure full-width layout on homepage */
.page-template-default .lc-welcome-page,
.home .lc-welcome-page {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.home .lc-cms-content-welcome {
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: var(--lc-page-gutter);
    padding-right: var(--lc-page-gutter);
    box-sizing: border-box;
}

.home .lc-welcome-categories {
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: var(--lc-page-gutter);
    padding-right: var(--lc-page-gutter);
    box-sizing: border-box;
}

.home .lc-hero-img img,
.home .lc-welcome-image .wp-block-image img {
    border-radius: 0 !important;
}

/* Override Storefront content area for homepage */
.home .site-main .hentry .entry-content {
    padding: 0;
    margin: 0;
}

.home .site-main .type-page {
    padding: 0;
    margin: 0;
}

.home .entry-header {
    display: none;
}

.home .site-main {
    padding-top: 0;
}

/* Storefront col-full override for full width */
.home #primary,
.home .col-full {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home #content > .col-full {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================
   Responsive Design
   ============================================ */

@media screen and (min-width: 1921px) {
    .lc-wrp {
        max-width: var(--lc-wrp-width);
    }
}

@media screen and (max-width: 1440px) {
    .lc-header-search {
        margin: 0 30px;
    }
}

@media screen and (max-width: 1280px) {
    .lc-header-logo {
        width: 300px;
        height: 100px;
        margin: 20px 0;
    }
    .lc-header-search {
        margin: 0 20px;
    }
}

@media screen and (max-width: 1024px) {
    :root {
        --lc-page-gutter: 16px;
        --lc-header-gutter: 8px;
    }

    .lc-header-tools {
        display: none;
    }

    /* Header compact */
    .lc-header {
        border-bottom: 1px solid var(--lc-border-color);
    }

    .lc-header .lc-wrp {
        min-height: auto;
    }

    .lc-header-logo {
        width: 200px;
        height: auto;
        margin: 15px 0 15px 10px;
        flex: 1;
    }

    .lc-header-logo img,
    .lc-header-logo a img,
    .lc-header-logo .custom-logo {
        max-height: 65px;
    }

    .lc-header-search {
        display: none;
    }

    .lc-search-icon-btn,
    .lc-nav-account-icon {
        display: none;
    }

    .lc-header-actions {
        margin-left: auto;
        gap: 8px;
    }

    /* Cart: icon only */
    .lc-header-cart {
        width: 50px;
        height: 50px;
        margin: 0;
        border: 1px solid var(--lc-border-color);
        order: 1;
    }

    .lc-cart-count {
        display: none;
    }

    .lc-cart-icon {
        margin: 3px;
    }

    /* Show mobile user icon */
    .lc-mobile-user {
        display: none;
        flex-shrink: 0;
        order: 2;
    }

    .lc-mobile-user a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 50px;
        height: 50px;
        border: 1px solid var(--lc-border-color);
        color: #808080;
        text-decoration: none;
        margin-left: 10px;
    }

    .lc-mobile-user svg {
        width: 22px;
        height: 22px;
    }

    /* Show burger menu button */
    .lc-mobile-burger {
        display: block;
        flex-shrink: 0;
        order: 2;
        margin-left: 0;
    }

    .lc-burger-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        width: 50px;
        height: 50px;
        border: 0;
        background: var(--lc-main-color);
        color: #fff;
        cursor: pointer;
        padding: 0;
        border-radius: 999px;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .lc-burger-btn:hover {
        background: var(--lc-main-color-hover);
    }

    .lc-burger-line {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        border-radius: 1px;
        transition: all 0.3s ease;
    }

    /* Hide desktop navigation */
    .lc-main-nav {
        display: none;
    }

    /* Homepage responsive */
    .lc-welcome-heading {
        font-size: 26px;
    }

    .lc-welcome-text-columns {
        gap: 2em !important;
    }
}

@media screen and (max-width: 1024px) {
    .lc-footer-standard .lc-wrp {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .lc-footer-row {
        column-gap: 18px;
    }

    .lc-footer-nav a,
    .lc-cookie-settings {
        font-size: 13px;
    }

    .lc-footer-copy {
        font-size: 13px;
    }

    .lc-social-link {
        width: 36px;
        height: 36px;
    }

    .lc-social-link svg {
        width: 16px;
        height: 16px;
    }
}

@media screen and (max-width: 800px) {
    .lc-footer-standard {
        padding: 16px 0 18px;
    }

    .lc-footer-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        min-height: 0;
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

    .lc-footer-nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 14px;
    }

    .lc-footer-nav li {
        display: block;
    }

    .lc-footer-nav a,
    .lc-cookie-settings {
        display: block;
        padding: 2px 0;
        font-size: 14px;
        line-height: 1.25;
    }

    .lc-footer-item-cookie {
        grid-column: 1 / -1;
    }

    .lc-footer-social {
        align-self: center;
        justify-self: center;
    }

    .lc-footer-copy {
        width: 100%;
        text-align: center;
        white-space: normal;
        font-size: 14px;
    }

    /* Homepage: single column text */
    .lc-welcome-text-columns {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .lc-welcome-heading {
        font-size: 24px;
    }

    .lc-cms-content-welcome {
        padding: 20px 0 10px;
    }

    .lc-welcome-categories {
        padding: 15px 0 40px;
    }
}

@media screen and (max-width: 700px) {
    .lc-offcanvas-search-form {
        flex-direction: column;
    }

    .lc-offcanvas-search-form button[type="submit"] {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .lc-header-logo {
        width: 120px;
        height: auto;
        margin: 12px 0 12px 5px;
    }

    .lc-header-logo img,
    .lc-header-logo a img,
    .lc-header-logo .custom-logo {
        max-height: 42px;
    }

    .lc-header-cart {
        width: 42px;
        height: 42px;
        margin: 0;
        border: none;
    }

    .lc-cart-icon {
        width: 42px;
        height: 42px;
        margin: 0;
    }

    .lc-mobile-user {
        display: none;
    }

    .lc-mobile-burger {
        margin-left: 0;
    }

    .lc-burger-btn {
        width: 42px;
        height: 42px;
        border: 0;
        background: var(--lc-main-color);
        color: #fff;
        border-radius: 999px;
    }

    .lc-offcanvas-nav {
        width: min(92vw, 330px);
        left: calc(-1 * min(92vw, 330px));
    }

    .lc-offcanvas-quick-actions {
        padding: 16px;
        gap: 12px;
    }

    /* Homepage mobile */
    .lc-welcome-heading {
        font-size: 20px;
    }

    .lc-welcome-text-columns p {
        font-size: 14px;
    }

    .lc-category-grid {
        flex-direction: column !important;
        gap: 6px !important;
    }

    .lc-category-name {
        min-height: 0;
        padding: 8px 1px 1px;
        gap: 4px;
    }

    .lc-category-kicker {
        font-size: 11px;
    }

    .lc-label-groupname {
        font-size: clamp(14px, 4.7vw, 19px);
        line-height: 1.15;
        max-width: 100%;
    }

    .lc-category-price {
        font-size: 14px;
    }

    .lc-welcome-categories {
        padding: 8px 0 22px;
    }
}

@media screen and (max-width: 430px) {
    .lc-footer-nav {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .lc-footer-nav a,
    .lc-cookie-settings {
        font-size: 13px;
    }
}

@media screen and (max-width: 340px) {
    .lc-header-logo {
        width: 85px;
        margin: 16px 0 16px 5px;
    }

    .lc-header-logo img,
    .lc-header-logo a img,
    .lc-header-logo .custom-logo {
        max-height: 34px;
    }
}
