/* General */

body {
    color: #303233 !important;
}
.gray_box {
    box-sizing: content-box !important;
    border-radius: 12px !important;
}

.nobr {
    white-space: nowrap;
}



a.ui-to-top {
    z-index: 99999 !important;
}

.etch-special {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}
.etch-special:before {
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 150px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 1px;
    opacity: 0.2;
}
.etch-special:after {
    position: absolute;
    content: "";
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 3px;
}

/* Header */
#masthead.style_6 .logo-wrap {
    position: relative;
    padding: 25px 18px;
    background-color: #fff;
}

#menu-main_menu > li {
    margin: 0px 10px;
    position: relative;
}
#menu-main_menu > li a {
    color: #000;
}
#menu-main_menu li:after {
    content: "/";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: inherit;
    right: -16px;
    opacity: 0.4;
    height: 22px;
    overflow: hidden;
    transform: translateY(-13px);
}
ul.header-icon li a.cart-contents {
    display: none !important;
}
#menu-main_menu li.current-menu-item a {
    border-bottom: 1px solid #fff;
}

@media (max-width: 991px) {
    .top-bar-menu .left-menu {
        display: none !important;
    }
    .top-bar-menu .right-menu {
        flex-direction: row !important;
        margin-left: auto;
        font-size: 0.875rem;
    }

    #menu-main_menu i.icofont-rounded-down.responsive-submenu-toggle {
        display: inline-block !important;
        visibility: visible;
        position: absolute;
        top: 0 !important;
        right: 0 !important;
        /* float: right; */
        line-height: 2rem;
        width: 25%;
        border-radius: 0;
        bottom: 0;
        padding: 10px 0 0;
        height: 48px;
    }
}
@media only screen and (max-width: 850px) {
    #masthead .logo-wrap {
        width: auto !important;
    }
    #navbar {
        width: calc(100% - 64px) !important;
    }
    #navbar .ss-content {
        width: 100% !important;
        overflow-y: scroll !important;
    }

    #masthead #navbar ul {
        width: 100%;
        max-width: 100% !important;
    }
}

#navbar .ss-content {
    width: 100% !important;
    overflow-y: hidden !important;
}

/* Header */
.social-links .icofont-twitter:before {
    content: "\ed4d";
}

/* Footer */
footer .dev_info {
    display: none;
    font-style: italic;
}

/* GRID Boxen */
.grid_bilder_boxen > div > div {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 0px rgba(151.3, 151.3, 151.3, 0.4);
}
.elementor-widget-image-box a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}
.elementor-widget-image-box {
    transition: top 0.2s ease;
}
.OLDelementor-widget-image-box:hover {
    top: -4px;
}

.elementor-image-box-content:after {
    content: "Mehr";
    background-color: #e5e5e5;
    padding: 4px 16px;
    margin-top: 8px;
    display: inline-block;
}
.elementor-widget-image-box:hover .elementor-image-box-content:after {
    background-color: #0082c4;
    color: #fff;
    transition: all 0.2s ease;
}
.elementor-widget-image-box figure {
    overflow: hidden;
}
.elementor-widget-image-box figure img {
    transition: transform 0.2s ease;
}
.elementor-widget-image-box:hover figure img {
    transform: scale(1.05);
}

.grid_bilder_boxen img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    align-self: center;
    margin: 0 !important;
}
.grid_bilder_boxen .elementor-widget-image-box .elementor-image-box-content {
    width: 100%;
    position: relative;
    padding: 1rem;
}

.__OLD_grid_bilder_boxen
    .elementor-widget-image-box
    .elementor-image-box-content {
    width: 100%;
    position: absolute;
    bottom: 0;
    background-color: #ffffffbd;
    padding: 1rem;
}
.grid_bilder_boxen figure {
    margin: 0 !important;
}

/* ------------- SINGLE PAGE --------- */
body.page .img-box {
    display: none !important;
}

/* -------------- TECH SPECS --------- */

.tech-specs-table {
    padding: 4rem 0;
}
.tech-specs-table h2 {
    color: #000;
}

.tech-specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.tech-specs-table th,
.tech-specs-table td {
    padding: 10px;
    border: 1px solid #ccc;
}

.tech-specs-table tr.even {
    background-color: #f9f9f9;
}
.tech-specs-table table.shop_table_responsive tr td::before {
    font-weight: 600;
    padding-right: 16px;
}

/* Start Page */
body.home #static_header_banner {
    display: none !important;
}
body.home #content {
    padding-top: 0;
}

/* Hero Banner */

.herobanner {
    overflow: hidden !important;
}
.herobanner:before {
    z-index: 1;
    pointer-events: none;
}
.herobanner .e-con-inner > div:not(.e-widget-swiper) {
    z-index: 1;
}

.herobanner .elementor-widget-image-carousel {
    height: 100% !important;
}

.herobanner .swiper .swiper-image-stretch .swiper-slide .swiper-slide-image {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    object-position: center bottom;
}

@media (min-width: 768px) {
    .elementor-element.elementor-arrows-position-outside .swiper,
    .elementor-lightbox.elementor-arrows-position-outside .swiper {
        width: calc(100%) !important;
    }
}

/* Static banner */
#page #static_header_banner {
    height: 40vh !important;
    background-position: center bottom !important;
}
#page #static_header_banner .term-description {
    display: none;
}
.site-header-text-wrap h1,
.site-header-text-wrap h2 {
    font-family: var(--body-font);
    font-size: 3.5rem;
    line-height: 51px;
    font-weight: 500;
    margin-bottom: 0;
}

/* SHOP */
.woocommerce .joyas-shop-toolbar .woocommerce-ordering {
    margin-bottom: 0;
    display: none;
}

.archive_cat_info {
    display: none;
}
body.archive.tax-product_cat .archive_cat_info {
    overflow: auto;
    margin: 0 0 2rem;
    display: block;
}

/* Product loop */
body.post-type-archive-product ul.products li.product {
    position: relative;
    padding: 24px;
}
body.post-type-archive-product
    ul.products
    li.product
    h2.woocommerce-loop-category__title {
    line-height: 100%;
    color: var(--tertiary-color);
    margin-bottom: 17px;
    font-weight: 500 !important;
    font-size: 1.35rem;
    font-family: var(--heading-font);
}
body.post-type-archive-product ul.products li.product a {
    text-decoration: none;
}
body.post-type-archive-product ul.products li.product img {
    object-fit: contain;
    aspect-ratio: 3/2;
}
body.post-type-archive-product
    ul.products
    li.product
    h2.woocommerce-loop-category__title
    mark {
    background-color: transparent;
}

ul.products
    a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:before {
    content: "";
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: #c78d8d00;
    bottom: 0;
}
ul.products .product_wrap {
    pointer-events: none;
}

@media (max-width: 1024px) {
    body.post-type-archive-product
        ul.products
        li.product
        h2.woocommerce-loop-category__title {
        font-size: 1rem;
        min-height: 32px;
    }
}

@media (max-width: 767px) {
    body.post-type-archive-product ul.products li.product {
        display: block;
    }
    body.post-type-archive-product ul.products li.product a {
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    body.post-type-archive-product ul.products li.product img {
        width: 60%;
        flex-shrink: 1;
        flex: 1 0 60%;
    }
    body.post-type-archive-product
        ul.products
        li.product
        h2.woocommerce-loop-category__title {
        flex: 0 1 40%;
        text-wrap: auto;
    }
}

h2.woocommerce-loop-category__title {
    margin: 1rem;
    font-weight: 500;
}
ul.products li.product:before {
    z-index: -5;
}
li.product {
    background-color: #efefef;
}
h3.woocommerce-loop-product__title {
    padding: 0 12px;
    text-align: center;
}
.woocommerce li.product .product_wrap,
.woocommerce div.product .woocommerce-tabs .panel,
.woocommerce div.product div.summary {
    padding: 24px;
}
ul.products li.product h3.woocommerce-loop-product__title {
    padding: 0;
    text-align: left;
}

@media (max-width: 767px) {
    ul.products li.product {
        display: flex;
        align-items: center;
    }
}

/* Breadcrumbs */
ul.etch-breadcrumbs__list {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    gap: 8px;
    padding-left: 0;
}
li.etch-breadcrumbs__item:after {
    content: " > ";
    padding-left: 8px;
}
li.etch-breadcrumbs__item:last-child:after {
    display: none;
}

/* Single Product */
body.single-product #primary > .row .col-md-10.offset-md-1.bcf-main-content {
    margin-left: 0 !important;
    width: 100%;
}
.product_title {
    font-size: 28px;
    line-height: 36px;
    font-weight: 500;
    color: var(--tertiary-color);
}

.woocommerce-product-gallery__image,
.woocommerce div.product div.images .flex-control-thumbs li img {
    background-color: #ffff;
    box-shadow: 0 0 6px 1px #e9e9e9cc;
    padding: 3rem 1rem;
}
.woocommerce-product-gallery__image img {
    background-color: #fff;
}

.woocommerce img.pswp__img,
.woocommerce-page img.pswp__img {
    background-color: #ffffff;
}

.product_meta {
    display: none !important;
}

.contact-button {
    width: 100%;
    margin-bottom: 1rem;
}
.contact-button a {
    float: none !important;
}

.product-downloads {
    clear: both;
    padding-top: 4rem;
}
.download-links {
    display: flex;
    margin: 0 0 2rem;
    padding: 1rem 0 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}
.download-links .btn {
    height: auto;
    line-height: 1.5;
    border-radius: 25px;
    padding: 12px 30px;
}

.tech-specs-table th {
    background-color: inherit !important;
}

.product-details-wrap > div > div,
.etch-accessory__content > div {
    border-radius: 10px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: none !important;
}

/* CF7 */
.product_contact_form {
    padding: 2rem;
    background-color: #efefef;
}
.wpcf7 input {
    min-height: 0 !important;
    padding: 0.375rem 0.75rem !important;
    margin-bottom: 0 !important;
    line-height: 1.5rem !important;
}
.wpcf7-spinner {
    position: absolute;
}

/* SPAM Protection */
.wpcf7 .cf7ic-sr-fs {
    display: block;
}
span.cf7ic_instructions {
    font-size: 18px;
}
body .wpcf7 .cf7ic-style1 .cf7ic-icon-wrapper svg {
    width: 1.75em;
    height: 1.75em;
    margin: 0 8px;
}

/* Product / Gutenberg */
.product-details-wrap > .panel {
    padding: 0 0 !important;
}

/* --------- RELATED PRODUCTS ------------ */
section.related.products li.product .product-image img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
@media (max-width: 767px) {
    
}

/* --------- Zubehör --------------------- */
/* Container und Abstand */
.etch-related.zubehoer {
    margin-top: 4rem;
}
.etch-section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* Slides */
.etch-zubehoer-slide {
    text-align: center;
    padding: 0.5rem;
}
.etch-zubehoer-thumb img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.etch-zubehoer-title {
    margin-top: 0.5rem;
    font-size: 1.125rem;;
    color: #2a2d34;
}
.etch-zubehoer-slider .splide__pagination {
    bottom: -1.5em;
}
.splide__arrow {
    top: 40%;
}
.etch-zubehoer-slider .splide__arrow--prev {
    left: -2em;
}
.etch-zubehoer-slider .splide__arrow--next {
    right: -2em;
}

.etch-zubehoer-slider .splide__pagination__page.is-active,
.etch-zubehoer-slider button:hover {
    background: var(--secondary-color);
    z-index: 1;
}
@media (max-width: 767px) {
    .etch-zubehoer-slider {
        padding: 0 1rem;
    }
    .etch-zubehoer-slider .splide__arrow--prev {
        left: 0;
    }
    .etch-zubehoer-slider .splide__arrow--next {
        right: 0;
    }
}

/* CPT Accessory / Zubehör */
/* ===== Vars (Farben/Spacing) ===== */
:root {
    --etch-primary: #0082c4;
    --etch-gray-900: #2a2d34;
    --etch-gray-700: #4a4e57;
    --etch-border: #e5e7eb;
    --etch-card-bg: #ffffff;
    --etch-gutter: 24px;
    --etch-radius: 12px;
    --etch-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* ===== Page / Section ===== */
.etch-accessory-archive {
    padding: 24px 0 32px;
}
.etch-archive__title {
    font-size: 2rem;
    margin: 0 0 16px;
    color: var(--etch-gray-900);
}

/* ===== Grid ===== */
.etch-grid,
.etch-grid--4 {
    display: grid;
    gap: var(--etch-gutter);
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Breakpoints */
@media (max-width: 1200px) {
    .etch-grid,
    .etch-grid--4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 900px) {
    .etch-grid,
    .etch-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    .etch-grid,
    .etch-grid--4 {
        grid-template-columns: 1fr;
    }
}

/* ===== Card ===== */
.etch-card {
    background: var(--etch-card-bg);
    border: 1px solid var(--etch-border);
    border-radius: var(--etch-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.etch-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--etch-shadow);
    border-color: rgba(0, 0, 0, 0.08);
}
.etch-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.etch-card__link:focus-visible {
    outline: 3px solid var(--etch-primary);
    outline-offset: 3px;
    border-radius: 10px;
}

/* Media: 4:3 Bühne, Produktbilder nicht beschneiden */
.etch-card__media {
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3; /* moderne Browser */
    /* Fallback: */
    position: relative;
}
.etch-card__media img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    object-fit: contain; /* Zubehör sauber, ohne Cropping */
    display: block;
}

/* Inhalt */
.etch-card__title {
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 12px 14px 12px;
    color: var(--etch-gray-900);
}
.etch-card__excerpt {
    margin: 0 14px 14px;
    color: var(--etch-gray-700);
    font-size: 0.95rem;
}

/* ===== Pagination ===== */
.etch-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.etch-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--etch-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--etch-gray-900);
}
.etch-pagination .page-numbers:hover,
.etch-pagination .current {
    background: var(--etch-primary);
    border-color: var(--etch-primary);
    color: #fff;
}

/* ----------- FOOTER ------------ */
footer#colophon {
    background-color: #f7f7f7;
}
#colophon.site-footer .widget,
.footer_widget_wrap .widget {
    padding: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .footer_widget_wrap .row .col-md-4 {
        flex: 0 0 auto;
        width: 25%;
    }
}
@media (max-width: 575px) {
    footer#colophon.site-footer .widget {
        padding-top: 0;
        padding-bottom: 0;
    }
    footer#colophon.site-footer .footer_widget_wrap {
        padding-top: 24px;
    }
}

/* ----------- NEW HEADER ----------- */
#page #masthead.style_6 .header_wrap {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 999;
}
#page #masthead.style_6 {
    position: relative;
    padding: 0;
    height: auto;
    background-color: #fff;
}
#page #masthead.style_6 .logo-wrap {
    position: relative;
    padding: 12px 0;
    background-color: #fff;
    box-shadow: none;
    margin-top: 0;
}

#page #masthead.style_6 .navigation-menu > li > a,
#page #menu-main_menu i.icofont-rounded-down.responsive-submenu-toggle:before {
    color: #000;
    font-weight: 500;
}
#page #masthead.style_6 .navigation-menu > li > a:hover,
#page #masthead.style_6 .navigation-menu > li.current-menu-item > a,
#page #masthead.style_6 .navigation-menu > li.current-menu-parent > a {
    color: #01a4ef;
}
#page #masthead .navigation-menu li:after {
    display: none;
}

#page #masthead.style_6 .header-icon li a,
#page #masthead.style_6 .header-icon I {
    color: #000;
}

#page #masthead.style_6 .header-icon button {
    border: 1px solid #000;
}
