CSS
/*
    Theme Name:   Savoy Child
    Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
    Description:  Savoy child theme
    Author:       NordicMade
    Author URI:   http://www.nordicmade.com
    Template:     savoy
    Version:      2.7
*/

/*

updated 17.11.2023 - 13:32

*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*  make  search button green  */
/* Hide the sidebar on screens smaller than 768px */
@media screen and (max-width: 768px) {
    #nm-kategorien-sidebar {
        display: none; /* Hides the sidebar */
    }
}



.nm-shop-search-btn-wrap{
    background-color: #b4d36d;
    color: #394910;
    border-radius: 5px;
       transition: 0.3s ease;
}
.nm-shop-search-btn-wrap:hover{
    background-color: #cde790;
       transition: 0.3s ease;

    color: #112807;
}

.nm-shop-search-btn-wrap i {
    padding-right: 11px;
    padding-left: 5px!important;
}
.nm-shop-search-btn-wrap i:before{
  color: #394910;
    transform: translateY(1px)!important;
}




/*  breacrumb style category
--------------------------------------------------------------- */

.nm-header-inner {
    text-transform: uppercase;
}

.nm-shop-categories, .nm-shop-categories-btn-wrap {
        text-transform: uppercase;
}

.woocommerce-breadcrumb {
   text-transform: uppercase;
}


.nm-shop-categories li a {
    margin: 0 12px;
}

.nm-shop-categories li {
    display: inline-block;
    margin-bottom: auto;
    vertical-align: middle;
}

.nm-shop-categories {
    margin-bottom: 0px;
}

/* colorpicker message */

.variations tr .value {
    overflow: visible;
}
.variations::after {
  content: "Hinweis: Bei den Farbtönen handelt es sich um Beispieldarstellungen anhand von Farbcodes. Abweichungen vom finalen Produkt sind möglich.";
  display: block; 
  color: #282828; 
  font-size: 10px; 
  text-align: left;
  line-height: 1.4;
  padding-top: 14px;
	padding-left:20px

}
/* sidebar */

/* the end of sidebar */
/* fix damit logo nicht in menu elemente rutscht */

@media all and (max-width: 1218px) {
    .nm-header.centered .nm-menu > li > a {
    padding: 16px 8px;
    font-size: 13px;
}
}

/* always on klappmenu */

.nm-shop-menu ul li > span {
  font-family: Helvetica, Arial, sans-serif;
  color: #ccc;
}

@media (min-width: 991px) {
.nm-shop-categories li a, .nm-shop-filter-menu li a {
    font-size: 14px!important;
}
}
@media all and (max-width: 3001px) {
    #nm-shop.header-disabled {
        padding-top: 51px;
    }
    
    /* Header */
    .nm-shop-header {
        padding: 40px 0;
    }
    
    /* Menus: Filter */
    #nm-shop-filter-menu-wrap {
        float: none;
        width: 100%;
        text-align: left;
    }
    .nm-shop-header.centered.has-sidebar #nm-shop-filter-menu-wrap {
        display: block;
    }
    .nm-shop-filter-menu li {
        float: left;
        display: block;
    }
    .nm-shop-filter-menu li.nm-shop-sidebar-btn-wrap,
    .nm-shop-filter-menu li.nm-shop-categories-btn-wrap {
        display: block;
    }
    .has-categories.has-sidebar .nm-shop-filter-menu li.nm-shop-search-btn-wrap,
    .has-categories.has-filters .nm-shop-filter-menu li.nm-shop-search-btn-wrap {
        float: right;
    }
    .nm-shop-menu .nm-shop-filter-menu li a:hover,
    .nm-shop-menu .nm-shop-filter-menu li.active a {
        color: #282828;
    }
    .nm-shop-filter-menu li a i {
        display: inline;
    }
    
    /* Menus: Categories */
    #nm-shop-categories-wrap {
        display: none;
        width: 100%;
        opacity: 0;
        -webkit-transition: opacity 0.1s ease; transition: opacity 0.1s ease;
    }
    #nm-shop-categories-wrap.fade-in {
        opacity: 1;
        -webkit-transition: opacity 0.5s ease; transition: opacity 0.5s ease;
    }
    #nm-shop-categories-wrap.force-show {
        display: block;
    }
    .nm-shop-categories li a {
        font-size: 16px;
    }
    .nm-shop-categories li.current-cat > a {
        border-bottom: 0 none;
        padding-bottom: 0;
    }
    
    /* Menus: Categories - Centered */
    .nm-shop-header.centered.has-sidebar #nm-shop-categories-wrap {
       text-align: left;
    }
    /*.nm-shop-header.centered.no-sidebar .nm-shop-categories li {
        display: inline-block;
        float: none;
    }*/
    
    /* Menus: Sub-categories */
    .nm-shop-sub-categories li a {
        font-size: 16px;
    }
    
    /* Filters */
    #nm-shop-sidebar-layout-indicator { /* Don't remove (used for testing sidebar/filters layout in JavaScript) */
        overflow: hidden !important;
    }
    #nm-shop-sidebar .nm-shop-sidebar-inner {
        padding: 24px 0 10px;
    }
    .nm-shop-sidebar-header #nm-shop-sidebar .widget,
    .nm-shop-sidebar-default #nm-shop-sidebar .widget,
    #nm-shop-sidebar .widget {
        width: 100% !important;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: 0 none;
    }
    #nm-shop-sidebar .widget .nm-widget-title {
        position: relative;
        font-size: 16px;
        color: inherit;
        margin-bottom: 0;
        padding-top: 14px;
        padding-bottom: 14px;
        border-top: 1px solid #eee; /* Note: Use border-top since the bottom-border for the widgets is hidden when it's toggled */
        cursor: pointer;
        -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
    }
    #nm-shop-sidebar .widget:first-child .nm-widget-title {
        border-top: 0 none;
    }
    #nm-shop-sidebar .widget:last-child .nm-widget-title {
        margin-bottom: -1px;
        border-bottom: 1px solid #eee;
    }
    #nm-shop-sidebar .widget .nm-widget-title:after {
        position: absolute;
        top: 16px;
        right: 0;
        z-index: 100;
        display: block;
        font-family: 'nm-font'; 
        font-size: 13px;
        font-weight: normal;
        line-height: 14px;
        content: "\e114";
        width: 14px;
        height: 14px;
        text-align: right;
    }
    #nm-shop-sidebar .widget.show .nm-widget-title:after {
        top: 16px;
        content: "\e115";
    }
    #nm-shop-sidebar .widget.show .nm-widget-title,
    #nm-shop-sidebar .widget .nm-widget-title:hover {
        color: #282828;
    }
    #nm-shop-sidebar .widget .nm-shop-widget-col:last-child {
        position: relative;
        height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        -webkit-transition: height 0.2s ease; transition: height 0.2s ease;
    }
    .touch #nm-shop-sidebar .widget.show .nm-shop-widget-col:last-child {
        height: auto;
    }
    #nm-shop-sidebar .widget .nm-shop-widget-col:last-child > * {
        padding: 23px 0 21px;
        border-top: 1px solid #eee;
    }
    
    /* Filters - Sidebar */
    .nm-shop-sidebar-default.header-enabled .nm-shop-sidebar-col {
        position: relative;
        top: -16px;
    }
    .nm-shop-sidebar-default.nm-shop-sidebar-position-right .nm-shop-sidebar-col {
        float: none;
    }
    .nm-shop-sidebar-default.header-enabled #nm-shop-sidebar {
        display: none;
        padding-right: 0;
        opacity: 0;
        -webkit-transition: opacity 0.5s ease; transition: opacity 0.5s ease;
    }
    .nm-shop-sidebar-default #nm-shop-sidebar.fade-in {
        opacity: 1;
    }
    .nm-shop-sidebar-default.nm-shop-sidebar-position-right #nm-shop-sidebar {
        padding-left: 0;
    }
    .nm-shop-sidebar-default #nm-shop-widgets-ul {
        padding-bottom: 34px;
    }
    
    /* Filters: Scrollbar */
    .nm-shop-widget-scroll {
        height: auto !important;
        margin-right: 0 !important;
        padding-right: 0;
        overflow: visible;
    }
    .nm-scrollbar {
        display: none;
    }
    
    /* Search */
    #nm-shop-search-close { 
        font-size: 22px;
    }
    .nm-shop-sidebar-default #nm-shop-search-close {
        margin-top: -18px;
    }
    #nm-shop-search .nm-shop-search-inner {
        padding-top: 36px;
        padding-bottom: 5px;
    }
    .nm-shop-sidebar-default #nm-shop-search .nm-shop-search-inner {
        padding-bottom: 10px;
    }
    #nm-shop-search input {
        font-size: 22px;
    }
    .nm-shop-sidebar-default #nm-shop-search input {
        padding-bottom: 11px;
        border-bottom: 1px solid #eee;
    }
    
    /* Products: Overlay */
    #nm-shop-products-overlay.nm-loader:after {
        top: 56px;
    }
}

/* youtube shortcode
--------------------------------------------------------------- */

.centered-youtube {
    display: flex;
    justify-content: center;
    align-items: center;
/*    height: 100vh;*/
padding-top: 30px;
padding-bottom: 30px;
}

.youtube-embed {
    max-width: 100%;
    text-align: center;

}

.youtube-video {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.youtube-embed iframe,
.youtube-embed object,
.youtube-embed embed {
}
/* Child theme CSS
--------------------------------------------------------------- */

#order_review .shop_table tbody tr:first-child th, #order_review .shop_table tbody tr:first-child td {
     padding-top: 15px; 
}

/* woocommerce product page variations 
--------------------------------------------------------------- */

/* Tables */
.product table,
.product  table th,
.product  table td,
.product  > table,
.product  > table th,
.product  > table td {
    border: 1px solid #e0e0e0;
}
.product table,
.product > table {
    table-layout: fixed;
    width: 100%;
    margin: 0 0 28px;
    border-width: 1px 0 0 1px;
}
.product table th,
.product table td,
.product > table th,
.product > table td {
    padding: 7px;
}
.product table th,
.product > table th {
    border-width: 0 1px 1px 0;
    font-weight: bold;
}
.product table td,
.product > table td {
    border-width: 0 1px 1px 0;
}

.product p.wc-gzd-additional-info,  p.wc-gzd-additional-info .woocommerce-Price-amount {
 
    font-size: .9em!important;
    color: #777777!important;
}

.product .summary .price {
    line-height: 1;
    vertical-align: top;
    margin-bottom: 0;
    padding: 4px 0;
}

.product .summary .variation_gzd_modified {

    padding-top: 20px;
}

.product .summary .price-unit {

    padding-top: 4px!important;
	padding-bottom: 20px;
}

.product .summary .delivery-time-info {
	padding-top:0!important;
}

#pa_productfeature .ul {
    pointer-events: none!important;
}

.enabled-large-size .variable-item, .enabled-large-size .variable-item-image{
    border-radius: 0%!important;

}

.enabled-large-size{
  background-size: none;
  border:none;
}

.enabled-large-size .variable-item{
  background-size: none;
  border:none;
  background-color: orange;
}

.variations {
    background-color: #f9f9f9;
    padding: 20px 20px 30px 10px;
   margin-bottom: 24px;
}

table.variations tr th{
    display: inline-block;
}
table.variations tr {
    margin-bottom: 24px;
    display: block;
}
table.variations tr:last-child {
    margin-bottom: 0;
}

table.variations label{
      font-weight: bold;
}

.variations tr th, .variations tr td {

     border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: none;
}

.variations tr:last-child th, .variations tr:last-child td {
    border-bottom: none;
}

/* woocommerce product overview page 
--------------------------------------------------------------- */

.nm-shop-loop-actions .wc-gzd-additional-info{
    display: none;
}

.nm-product-category-text .nm-product-category-heading {

    text-shadow: 0 0 16px #fffffff0, 0 0 5px #e9e9e9d9, 0 0 1px #e9e8e8c7, 0px 1px 3px #e9e8e89e;
}

/* cart
--------------------------------------------------------------- */

.woocommerce-checkout-review-order .wc-gzd-product-name-left img{
    display: none;

}
body.woocommerce-checkout #order_review .product-total,
body.woocommerce-checkout #order_review .wc-gzd-product-name-left,
body.woocommerce-checkout #order_review .wc-gzd-product-name-right {
  font-size: 13px !important;
}

#order_review .shop_table tbody tr:first-child td {
    padding-top: 14px;
}
#order_review .shop_table td.product-total {
     padding-right: 14px;
}

#order_review .shop_table tfoot tr th, #order_review .shop_table tfoot tr td {
    padding: 14px 14px;
    border-bottom: 1px solid #e1e1e1;
    background-color: #fafafa;
}

#order_review .shop_table tbody .product-name {

    line-height: 1.5;
    padding-right: 16px;
    padding-left:0;
}

 #order_review .shop_table tbody tr td {
    padding: 8px 0;
}

#order_review .shop_table tbody .nm-checkout-product-thumbnail, #order_review .shop_table tbody .product-name, #order_review .shop_table tbody .product-total {
    display: table-cell;
    vertical-align: middle;
}

.woocommerce-checkout .woocommerce-order-details {
    padding: 10px;
    background-color: #eeeeee;
}

/* welcome page
--------------------------------------------------------------- */
.zu_shop .nm_btn {
    padding: 24px 70px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 400;
    box-shadow: 1px 0 18px 1px #5451518a;
    border-radius: 2px;
      transition: 1s;
}

.zu_shop .nm_btn:hover {
    padding: 24px 70px;
    font-size: 22px;
    text-transform: uppercase;
    font-weight: 400;
    box-shadow: 3px 0 18px 1px #5451518a;
    border-radius: 2px;
    opacity: 1!important;
    background-color: #7ca01d;
    transition: 1s;
}
/* checkout page
--------------------------------------------------------------- */

.woocommerce-checkout .woocommerce-table--order-details .shop_table  {
background-color: rgba(198, 144, 144, 0);
}

.nm-shop-notice a {
    display: inline-block;
}

#order_review_heading {
    
    padding-top: 20px;
}

/* haendler page

--------------------------------------------------------------- */

.haendler_logo img{
    transition: 0.3s;
}

/* woocommerce product page text panel 
--------------------------------------------------------------- */

.woocommerce-Tabs-panel .product-detail-properties table{
  margin-top:12px;
}

.woocommerce-Tabs-panel .product-detail-properties-table th{
    padding-right: 10px;
}

.woocommerce-Tabs-panel .entry-content > h3{
    margin-bottom: 10px;
}

.woocommerce-Tabs-panel ul {
  display: inline-block;
 padding-left: 0!important;
 padding-right: 0;
 padding-bottom: 1rem;
 padding-top:1rem;
 
}

.woocommerce-Tabs-panel ul {
  list-style: none;
}

.woocommerce-Tabs-panel ul > li {
  clear: left;
  padding: .5rem 0;

    list-style-type: none!important;
}

 

.woocommerce-Tabs-panel ul > li:before {  

  height: 1.5rem;
  width: 2rem;
  display: block;
  float: left;

  background-size: cover;
  background-position: center;

   display: inline-block;
  content: "\F30A";
  vertical-align: -.125em;
  background-repeat: no-repeat;
  background-size: 1rem 1rem;

        justify-content: flex-end;
        font-family: "bootstrap-icons";

}

.custom-image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.custom-image-gallery img {
   
    height: auto;
    height: 120px;
    padding: 8px;
}

/* Submenu Styling */
/* Custom Mega Menu (for menu-item-19480 = "Produkte") */
.nm-menu .menu-item-19480 .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 30px 40px;
  width: auto;
  min-width: 800px;
  max-width: 1100px;
  left: 50%;
  z-index: 99;
  pointer-events: none;
}

/* Show on hover */
.nm-menu .menu-item-19480:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}


/* Produkte mega menu: keep WordPress order top-to-bottom, then next column */
.nm-menu .menu-item-19480 .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 30px 40px;
  width: auto;
  min-width: 800px;
  max-width: 1100px;
  left: 50%;
  z-index: 99;
  pointer-events: none;

  column-count: 2;
  column-gap: 60px;
}

.nm-menu .menu-item-19480:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nm-menu .menu-item-19480 .sub-menu > li {
  break-inside: avoid;
  list-style: none;
  margin: 0 0 14px 0;
  padding: 0;
  display: block;
  white-space: nowrap;
}

.nm-menu .menu-item-19480 .sub-menu li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nm-menu .menu-item-19480 .sub-menu li a:hover {
  color: #A3BE40;
}

.nm-menu .menu-item-19480 .sub-menu li a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
/* Dot + Label styling */
.nm-menu .menu-item-19480 .sub-menu li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nm-menu .menu-item-19480 .sub-menu li a:hover {
  color: #A3BE40;
}

/* Dot before text */
.nm-menu .menu-item-19480 .sub-menu li a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* Example dot colors based on first class on <li> */
.nm-menu .menu-item-19480 .sub-menu li.rot a::before     { background-color: #ff5f56; }
.nm-menu .menu-item-19480 .sub-menu li.orange a::before  { background-color: #ff9f0a; }
.nm-menu .menu-item-19480 .sub-menu li.gelb a::before    { background-color: #fcd34d; }
.nm-menu .menu-item-19480 .sub-menu li.gruen a::before   { background-color: #34c759; }
.nm-menu .menu-item-19480 .sub-menu li.blau a::before    { background-color: #0a84ff; }
.nm-menu .menu-item-19480 .sub-menu li.lila a::before    { background-color: #bf5af2; }
.nm-menu .menu-item-19480 .sub-menu li.white a::before   { background-color: #ffff; }
.nm-menu .menu-item-19480 .sub-menu li.grey a::before   { background-color: #B2BEB5; }
.nm-menu .menu-item-19480 .sub-menu li.tuerkis a::before { background-color: #20c997; }
.nm-menu .menu-item-19480 .sub-menu li.pink a::before { background-color: #ffc0cf; }

.nm-menu .menu-item-19480 > a::after {
  content: "▾"; /* or ▼ or a custom SVG */
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}
.nm-menu .menu-item-19480:hover > a::after {
  transform: rotate(180deg); /* flips the arrow upward */
}

/* Custom Mega Menu Styling for "Inspiration" (menu-item-20011) */
.nm-menu .menu-item-20011 .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) !important;
  transition: all 0.3s ease;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 30px 40px;
  width: auto;
  min-width: 800px;
  max-width: 1100px;
  left: 0 !important;
  z-index: 99;
  pointer-events: none;
}


.nm-menu .menu-item-20011:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nm-menu .menu-item-20011 .sub-menu > ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 14px 60px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nm-menu .menu-item-20011 .sub-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.nm-menu .menu-item-20011 .sub-menu li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nm-menu .menu-item-20011 .sub-menu li a:hover {
  color: #A3BE40;
}

.nm-menu .menu-item-20011 .sub-menu li a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background-color: #ffffff;
}

/* Example dot colors per li class (if needed) */
.nm-menu .menu-item-20011 .sub-menu li.rot a::before     { background-color: #ff5f56; }
.nm-menu .menu-item-20011 .sub-menu li.orange a::before  { background-color: #ff9f0a; }
.nm-menu .menu-item-20011 .sub-menu li.gruen a::before   { background-color: #34c759; }
.nm-menu .menu-item-20011 .sub-menu li.lila a::before    { background-color: #bf5af2; }
.nm-menu .menu-item-20011 .sub-menu li.blau a::before    { background-color: #0a84ff; }


.nm-menu .menu-item-20011 > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nm-menu .menu-item-20011:hover > a::after {
  transform: rotate(180deg);
}

.nm-menu .menu-item-22919 .sub-menu li a {
	left: 0px;
}
/* NOVACOLOR inner items aligned left */
.nm-menu .menu-item-22919 .sub-menu > ul {
    justify-content: flex-start !important;
    text-align: left !important;
}

/* make sure each li doesn't center the text */
.nm-menu .menu-item-22919 .sub-menu li {
    justify-content: flex-start !important;
}
/* make single product image same height */
/* Responsive Product Image Styling */
.woocommerce div.product div.images a img {
    height: 400px;
    object-fit: contain;
    object-position: top;
}

/* Additional Mobile Adjustments */
/* General Product Page Layout Adjustments */
.woocommerce div.product div.images {
    width: 50%; /* Large Image Section */
    margin-right: 30px;
    max-width: 600px;
}

/* Improved Mobile Adjustments */
@media (max-width: 768px) {
    .woocommerce div.product div.images {
        width: 100%;
        margin: 0 auto;
    }
    .woocommerce div.product div.images a img {
        height: auto; /* Allow natural height */
        max-height: 70vh; /* Limit to 70% of viewport height */
        width: auto;
        max-width: 100%;
        object-fit: contain; /* Keep contain for mobile */
        margin: 0 auto;
    }
}
.woocommerce div.product div.images {
    position: relative;
    min-height: 300px; /* Prevent collapse */
}




/* hide mini product image */

.nm-shop-categories img {
    display: none;
}

#nm-cart-panel .woocommerce-mini-cart li.empty i {
    display: none !important;
}

/* Fix WooCommerce Checkout Form Styles */

.woocommerce .woocommerce-checkout .form-row input, 
.woocommerce .woocommerce-checkout .form-row select, 
.woocommerce .woocommerce-checkout .form-row textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    border: 1px solid #ccc !important;
    border-radius: 5px !important;
}

.woocommerce .woocommerce-checkout .form-row label {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 5px !important;
    text-align: left !important;
}

.woocommerce .woocommerce-checkout .form-row-first, 
.woocommerce .woocommerce-checkout .form-row-last {
    width: 48% !important;
    margin-right: 2% !important;
    float: left !important;
}

.woocommerce .woocommerce-checkout .form-row-last {
    margin-right: 0 !important;
}

.woocommerce .woocommerce-checkout #place_order {
    margin-top: 20px !important;
}

@media screen and (max-width: 768px) {
    .woocommerce .woocommerce-checkout .form-row-first,
    .woocommerce .woocommerce-checkout .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}
/* transparent navbar */








/* Responsive Design for Tablets */
@media screen and (max-width: 1025px) {
    #nm-kategorien-sidebar {
        width: 220px;
        bottom: 10%; /* Stops exactly 10% before footer */
    }

    .nm-shop-products {
        margin-left: 240px;
    }
}
/* 


@media screen and (max-width: 768px) {
    #nm-kategorien-sidebar {
        position: relative; 
        width: 100%; 
        height: auto;
        padding: 15px;
        box-shadow: none; 
    }

    #nm-kategorien-sidebar h3 {
        font-size: 16px; 
        text-align: center; 
        margin-bottom: 15px;
    }

    #nm-kategorien-sidebar ul {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 10px; 
    }

    #nm-kategorien-sidebar ul li {
        flex: 1 1 45%; 
        margin-bottom: 10px;
    }

    #nm-kategorien-sidebar ul li a {
        text-align: center; 
        font-size: 14px; 
        padding: 8px; 
        border-radius: 5px;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nm-shop-products {
        margin-left: 0; 
        margin-top: 20px; 
    }
}



@media screen and (max-width: 480px) {
    #nm-kategorien-sidebar ul li {
        flex: 1 1 100%; 
    }

    #nm-kategorien-sidebar ul li a {
        font-size: 13px;
        padding: 6px;
    }
}
*/
/* Hide sidebar for screens smaller than 768px */
@media screen and (max-width: 768px) {
    #nm-kategorien-sidebar {
        display: none; /* Completely hide the sidebar */
    }

    .nm-shop-products {
        margin-left: 0; /* Adjust the main content alignment */
    }
}

/* Hide sidebar for very small screens (optional) */
@media screen and (max-width: 480px) {
    #nm-kategorien-sidebar {
        display: none; /* Ensure the sidebar is hidden on smaller screens */
    }

    .nm-shop-products {
        margin-left: 0; /* Ensure main content is full-width */
    }
}


/*  
.nm-header-logo .nm-logo,
.nm-header-logo .nm-alt-logo {
    width: 170px; 
    height: auto; 
    max-height: 85px; 
}
*/



/* here to check again, this code is removing the duplicate in final cart in the img product */
.wc-gzd-cart-item-thumbnail {
    display: none !important;
}


/* product page bg 
body.post-type-archive-product #nm-shop,
body.tax-product_cat #nm-shop {
  background-image: url("https://www.transparenttextures.com/patterns/brick-wall.png");
  background-color: #fdf8f3;
  background-repeat: no-repeat;
  background-size: cover; 
  background-attachment: fixed; 
  background-position: center top;
}
*/
/* Elegant Load More Button Styling */
.nm-infload-btn {
  background-color: rgba(214, 204, 197, 0.4) !important; /* soft creamy-beige with transparency */
  color: #4b4b4b;
  border: 1px solid #cfc5bb;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 25px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5),
              0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  max-width: 220px;
  margin: 30px auto;
  text-align: center;
  display: block;
}

/* Hover effect */
.nm-infload-btn:hover {
  background-color: rgba(189, 170, 153, 0.7) !important;
  color: #222;
  transform: scale(1.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}




/* Farbtöne  */
/* Hide swatches beyond the 4th item unless expanded */
.expandable-swatches ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li:nth-child(n+8) {
    display: none;
}

.expandable-swatches.showallswatches ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li {
    display: inline-block;
}

/* Farbtöne - Color Swatches Styling */
ul.single-product-variable-items[data-attribute_name="attribute_farbton"] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    justify-content: flex-start;
    max-width: 100%;
    margin: auto;
    align-items: center;
}

ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li {
    width: calc(14.28% - 10px); /* 7 swatches per row */
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li.selected {
    border: 2px solid #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    transform: scale(1.05);
}

ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

/* Table Styling */
table.variations {
    width: 100%;
    margin-top: 15px;
    border-spacing: 0;
	background-color: #f9f9f9;
    border-collapse: collapse;
	border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

table.variations th {
    text-align: left;
    font-weight: 600;
    padding-bottom: 8px;
    font-size: 14px;
    color: #333;
}

table.variations td {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
}

table.variations tr {
    border-bottom: 1px solid #e0e0e0;
}

table.variations tr:last-child {
    border-bottom: none;
}

.variations .value {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}



/* Responsiveness */
@media (max-width: 768px) {
   ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li {
        width: calc(20% - 10px); /* 5 per row */
    }
}

@media (max-width: 480px) {
    ul.single-product-variable-items[data-attribute_name="attribute_farbton"] li {
        width: calc(33.33% - 10px); /* 3 per row for mobile */
    }
}





/* WooCommerce Product Page Redesign - Savoy Theme Child */

/* General Product Page Layout Adjustments */
.woocommerce div.product div.images {
    width: 50%; /* Large Image Section for Desktop */
    margin-right: 30px;
}

.woocommerce div.product div.summary {
    width: 45%; /* Product Details Section */
}



/* Product Title Styling */
.single-product h1.product_title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
   
    text-transform: uppercase;
}

/* Price Styling */
.woocommerce div.product p.price {
    font-size: 24px;
    font-weight: 600;
    color: #4CAF50; /* Change color for better visibility */
   
}

/* Description Section - Improved Layout */
.woocommerce div.product .woocommerce-product-details__short-description {
    background-color: #f9f9f9;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* Add to Cart Button - Modern Style */
.single_add_to_cart_button.button {
    background-color: rgb(164, 183, 101); /* Primary Green Color (RGB) */
    color: #fff;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    transition: background 0.3s, transform 0.2s;
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto; /* Center the button */
}

.single_add_to_cart_button.button:hover {
    background-color: #282828; /* Hover color (dark) */
    color: #fff;
    transform: scale(1.05);
}

/* Secure Payment and Return Section */
.secure-payment-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
    margin-top: 15px;
}

/* Hide Apple Pay and Google Pay on Product Page Only */
body.single-product .wcpay-express-checkout-wrapper {
    display: none !important;
}
/* Description Box Styling */
.nm-product-summary-inner-col-2 .woocommerce-product-details__short-description {
    background: #f9f9f9;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    font-size: 16px;
    line-height: 1.6;
    max-width: 450px;
}

/* Button Styling (Green Primary, Dark Hover) */
.single_add_to_cart_button {
    background-color: #4CAF50; /* Main Green Color */
    color: #fff;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 8px;
    text-transform: uppercase;
    font-weight: 600;
    border: none;
    transition: background 0.3s;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.single_add_to_cart_button:hover {
    background-color: #388E3C; /* Darker Green on Hover */
}

#billing_salutation_field, #billing_title_field {
  width: 48%;
  display: inline-block;
}




/* Responsive Adjustments */
@media (max-width: 768px) {
    .variations {
        max-width: 100%;
        padding: 15px;
    }

    .variations .value .toggle-button {
        font-size: 14px;
        padding: 8px 14px;
    }

    ul.single-product-variable-items[data-attribute_name="attribute_farbton"] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    justify-content: flex-start;
    max-width: 600px; /* optional: controls how wide the whole swatch area should be */
    margin: auto; /* center the block */
}
}




/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary {
        width: 100%;
        margin-right: 0;
    }

    .single_add_to_cart_button {
        max-width: 100%;
    }
}

/*Checkout-popup */
.guest-popup-box h3 {
    color: #fff !important;
    z-index: 10000;
}



/* white line bottom navbar issue */
/* Remove unwanted bottom border or pseudo content */
.nm-header::after,
.nm-header::before {
    content: none !important;
    display: none !important;
    height: 0 !important;
    border: none !important;
    box-shadow: none !important;
}

.nm-header,
.nm-header-inner {
    box-shadow: none !important;
    border-bottom: none !important;
}
/* Style the quantity input (Anzahl) field */
.woocommerce div.product form.cart .quantity input.qty {
    width: 80px;
    height: 45px;
    font-size: 18px;
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

/* Hover and focus effect */
.woocommerce div.product form.cart .quantity input.qty:hover,
.woocommerce div.product form.cart .quantity input.qty:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.3);
    outline: none;
}

.nm-qty-minus,
.nm-qty-plus {
    background-color: #eaeaea;
    border: 1px solid #ccc;
    font-size: 20px;
    width: 36px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nm-qty-minus:hover,
.nm-qty-plus:hover {
    background-color: #d6d6d6;
}






/* issue with trainings */
@media only screen and (max-width: 768px) {
  .tribe-events-sub-nav li {
    background: none !important;
    padding: 0 !important;
  }

  .tribe-events-sub-nav li a {
    background: none !important;
    color: #000 !important;
    padding: 10px 20px !important;
    display: block;
    font-weight: 600;
  }

  .tribe-events-sub-nav li a:hover {
    background: none !important;
    color: #111 !important;
  }
}
/* mobile view sidebar */
/* Style the whole mobile category box */
@media screen and (max-width: 1024px) {
  /* Style the whole mobile category box */
  .nm-shop-header.has-categories.no-filters.no-sidebar.no-search.centered {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px 15px;
    margin: 10px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  /* Flex-style the category list */
  .nm-shop-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  /* Style each link */
  .nm-shop-categories li a {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #7a6d50;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  }

  /* On hover */
  .nm-shop-categories li a:hover {
    background: rgba(240, 240, 240, 0.4);
    color: #4a9c3a;
  }

  /* Highlight the active category */
  .nm-shop-categories li.current-cat a,
  .nm-shop-categories li a.active {
    background: rgba(240, 240, 240, 0.6);
    font-weight: 600;
    color: #4a9c3a;
    box-shadow: inset 0 0 4px rgba(0,0,0,0.1);
  }
}


/* Mobile View - Fix Product Image Fit and Remove Gray Background */
@media (max-width: 768px) {
    .woocommerce div.product div.images {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        background: transparent !important; /* Remove gray background */
        padding: 0 !important;
    }

    .woocommerce div.product div.images a img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 70vh !important; /* Adjust as needed */
        object-fit: cover !important;
        object-position: center !important;
    }
}

@media (max-width: 768px) {
  #nm-mobile-menu .sub-menu li {
    display: inline-block;
    width: 45%;
    margin: 10px 2.5%;
    text-align: center;
  }

  #nm-mobile-menu .sub-menu li a {
    display: block;
    font-size: 13px;
    color: #111;
  }

  #nm-mobile-menu .sub-menu img.menu-image {
    display: block;
    margin: 0 auto 5px;
    width: 50px;
    height: auto;
    border-radius: 5px;
  }
}


/* === Ensure Werkzeuge box shows rounded corners correctly === */
.primer-finder-box,
.nc-tools-under-gallery {
  overflow: visible !important;
}

.primer-finder-glass {
  border-radius: 18px !important; /* force it through */
}

.primer-finder-glass::before {
  border-radius: 18px !important;
}
.nc-tools-under-gallery {
  width: 100%;
  margin: 14px 0 0;
  clear: both;
}

.nc-accessories-shell.primer-finder-glass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 10px 0 8px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.nc-accessories-shell.primer-finder-glass::before {
  display: none !important;
}

.nc-accessories-header.primer-finder-info {
  width: 100%;
  text-align: center;
}

.nc-accessories-header.primer-finder-info h4 {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a2a2a;
  background: none;
  -webkit-text-fill-color: initial;
}

.nc-accessories-grid.primer-finder-items {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 170px));
  gap: 10px;
  justify-content: center;
  overflow: visible;
  padding: 0;
}

.nc-accessory-card.primer-tool-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  width: 100%;
  padding: 8px 8px 9px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 20, 20, 0.07);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(16, 24, 40, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.nc-accessory-card:hover,
.nc-accessory-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(241, 248, 238, 0.96);
  border-color: rgba(164, 183, 101, 0.22);
  box-shadow: 0 7px 16px rgba(16, 24, 40, 0.06);
  outline: none;
}

.nc-accessory-card.is-added {
  border-color: rgba(164, 183, 101, 0.28);
  background: rgba(236, 245, 231, 0.98);
  box-shadow: 0 8px 18px rgba(16, 24, 40, 0.07);
}

.nc-accessory-thumb.primer-tool-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 8px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(248,248,248,0.97) 0%, rgba(242,242,242,0.93) 100%);
  overflow: hidden;
}

.nc-accessory-thumb img,
.primer-tool-thumb.nc-accessory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 6px;
  transform: scale(1);
  transition: transform 0.22s ease;
}

.nc-accessory-card:hover .nc-accessory-thumb img {
  transform: scale(1.02);
}

.nc-accessory-cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #1e1e1e;
  border: 1px solid rgba(20, 20, 20, 0.06);
  box-shadow: 0 3px 8px rgba(16, 24, 40, 0.05);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  pointer-events: none;
}

.nc-accessory-cart-icon {
  width: 11px;
  height: 11px;
}

.nc-accessory-card.is-added .nc-accessory-cart-badge {
  background: #1f1f1f;
  color: #fff;
  animation: ncCartBadgeSpin 0.55s ease;
}

.nc-accessory-meta.primer-tool-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  text-align: center;
  width: 100%;
  line-height: 1.2;
}

.nc-accessory-name.primer-tool-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
  margin: 0;
  font-size: 0.76rem;
  font-weight: 500;
  color: #222;
}

.nc-accessory-price.primer-tool-price {
  font-size: 0.7rem;
  color: #666;
}

.nc-accessory-price .amount {
  font-weight: 600;
  color: #2b2b2b;
}

.nc-accessory-cta {
  margin-top: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 108px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.07);
  background: rgba(255, 255, 255, 0.94);
  color: #2a2a2a;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nc-accessory-card:hover .nc-accessory-cta {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
}

.nc-accessory-card.is-added .nc-accessory-cta {
  background: #1f1f1f;
  border-color: #1f1f1f;
  color: #fff;
}

.nc-accessory-card.is-added .nc-accessory-cta-text {
  display: inline-block;
  animation: ncAddedSpin 0.55s ease;
}

.nc-accessories-all-btn.primer-finder-btn {
  align-self: center;
  margin-top: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  color: #2a2a2a;
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: none;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nc-accessories-all-btn.primer-finder-btn:hover,
.nc-accessories-all-btn.primer-finder-btn:focus-visible {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
  transform: translateY(-1px);
  outline: none;
}

.nc-tools-under-gallery .added_to_cart.wc-forward {
  display: none !important;
}

@keyframes ncAddedSpin {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: rotate(180deg) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: rotate(360deg) scale(1);
    opacity: 1;
  }
}

@keyframes ncCartBadgeSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.08);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

@media (max-width: 1200px) {
  .nc-accessories-grid.primer-finder-items {
    grid-template-columns: repeat(3, minmax(120px, 160px));
  }
}

@media (max-width: 767px) {
  .nc-accessories-grid.primer-finder-items {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 479px) {
  .nc-accessories-grid.primer-finder-items {
    grid-template-columns: 1fr;
  }
}



/* === Werkzeuge mobile image fix === */
@media (max-width: 767px) {
  .nc-tools-under-gallery {
    width: 100%;
    margin: 16px 0 0;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .nc-accessories-grid.primer-finder-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    overflow: visible !important;
  }

  .nc-accessory-card.primer-tool-item {
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 8px 7px 9px;
    border-radius: 10px;
    gap: 6px;
    overflow: visible;
  }

  .nc-accessory-thumb.primer-tool-thumb {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 120px;
    min-height: 120px;
    padding: 8px;
    border-radius: 8px;
    background: #f7f7f7;
    overflow: hidden;
  }

  .nc-accessory-thumb.primer-tool-thumb img,
  .primer-tool-thumb.nc-accessory-thumb img,
  .primer-tool-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nc-accessory-cart-badge {
    top: 5px;
    right: 5px;
    width: 22px;
    height: 22px;
    z-index: 3;
  }

  .nc-accessory-cart-icon {
    width: 10px;
    height: 10px;
  }

  .nc-accessory-name.primer-tool-name {
    font-size: 0.72rem;
    min-height: 2.1em;
    line-height: 1.15;
  }

  .nc-accessory-price.primer-tool-price {
    font-size: 0.66rem;
    line-height: 1.1;
  }

  .nc-accessory-cta {
    min-width: 94px;
    min-height: 22px;
    padding: 4px 7px;
    font-size: 0.52rem;
    letter-spacing: 0.04em;
    line-height: 1;
  }
}

@media (max-width: 479px) {
  .nc-accessory-thumb.primer-tool-thumb {
    height: 110px;
    min-height: 110px;
  }
}
.nc-tools-under-gallery {
  margin-bottom: 40px !important;
}




/* === Welcome page (ID 11321): remove the white gap above the footer on ALL breakpoints === */

/* 1) Zero out margins/padding for the sections/containers on this page */
#post-11321 .elementor-section,
#post-11321 .elementor-container,
#post-11321 .elementor-widget-wrap {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2) Make sure the last section has no extra space at the bottom */
#post-11321 .elementor-section:last-of-type,
#post-11321 .elementor-section:last-of-type > .elementor-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 3) Kill any Spacer widgets that might add height */
#post-11321 .elementor-widget-spacer,
#post-11321 .elementor-spacer-inner {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4) Video block: be sure it doesn't create layout line-height gaps */
#post-11321 .elementor-widget-video {
  margin: 0 !important;
  line-height: 0 !important;
}
#post-11321 .elementor-widget-video iframe,
#post-11321 .elementor-widget-video video {
  display: block !important;
}

/* 5) Footer: remove any top margin/border and (for this page only) the top padding */
#nm-footer {
  margin-top: 0 !important;
}
.nm-footer-bar {
  border-top: 0 !important;
}
#post-11321 + #nm-footer .nm-footer-bar-inner {
  padding-top: 0 !important;
}
/* Welcome page only (ID 11321) */
.page-id-11321 .elementor-section:last-of-type,
.page-id-11321 .elementor-section:last-of-type > .elementor-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Override Elementor’s 100vh on that hero container */
.page-id-11321 .elementor-11321 > .elementor-container,
.page-id-11321 .elementor-11321 .elementor-container {
  min-height: auto !important;
}

/* Remove Savoy page bottom spacing above the footer */
.page-id-11321 .nm-page-default.nm-row {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Just in case the footer brings a top margin */
.page-id-11321 #nm-footer,
.page-id-11321 .nm-footer {
  margin-top: 0 !important;
}


/*.   */
/* === Werkzeuge Box directly under gallery – fully integrated === */
.primer-finder-box.under-gallery {
  margin: 0; /* remove any top/bottom gap */
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* === Full-width Glass Container === */
.primer-finder-glass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 25px 40px;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(212, 155, 60, 0.15);
  border-bottom: 1px solid rgba(212, 155, 60, 0.15);
  box-shadow: none;
  overflow: hidden;
  transition: all 0.4s ease;
  width: 100%;
  max-width: none;
  margin: 0;
}

.primer-finder-glass::before {
  display: none !important;
}

.primer-finder-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 20px;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.primer-tool-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-width: 200px;
  background: transparent;
  border: 1px solid rgba(212, 155, 60, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primer-tool-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.2;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(15deg); }
  100% { transform: translateX(100%) rotate(15deg); }
}

/* === Title === */
.primer-finder-info {
  width: 100%;
  text-align: center;
}

.primer-finder-info h4 {
  font-weight: 600;
  background: linear-gradient(45deg, #d49b3c, #ffbe5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 8px 0;
  font-size: 1rem;
  text-align: center;
}

/* === Horizontal Layout === */
.primer-finder-items {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center; /* center all cards */
  gap: 20px;
  overflow-x: auto;
  width: 100%;
  padding-bottom: 8px;
  scroll-behavior: smooth;
}

.primer-finder-items::-webkit-scrollbar {
  height: 6px;
}
.primer-finder-items::-webkit-scrollbar-thumb {
  background: rgba(212, 155, 60, 0.4);
  border-radius: 10px;
}

/* === Tool Card === */
.primer-tool-item {
  display: flex;
  align-items: center;
  justify-content: center; /* centers horizontally */
  text-align: center;      /* centers text */
  gap: 10px;
  min-width: 200px;
  background: transparent; /* transparent */
  border: 1px solid rgba(212, 155, 60, 0.2);
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primer-tool-item:hover {
  background: rgba(241, 248, 238, 0.96);
  transform: translateY(-2px);
}

.primer-tool-thumb img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(212, 155, 60, 0.25);
}

.primer-tool-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; /* centers text block */
  text-align: center;
  line-height: 1.2;
}

.primer-tool-name {
  font-weight: 500;
  font-size: 0.9rem;
  color: #5a3c10;
}

.primer-tool-price {
  font-size: 0.85rem;
  color: #7a642b;
}

.primer-finder-btn {
  align-self: center;
  text-align: center;
}

/* === Custom Mega Menu for "Novacolor" (menu-item-22919) === */
.nm-menu .menu-item-22919 .sub-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 30px 40px;
  width: auto;
  min-width: 500px;
  max-width: 900px;
  left: 50%;
  z-index: 99;
  pointer-events: none;
}

/* Show on hover */
.nm-menu .menu-item-22919:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* Grid layout inside the submenu */
.nm-menu .menu-item-22919 .sub-menu > ul {
  display: grid;
  grid-template-columns: repeat(1, auto);
  gap: 12px 40px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Each menu item */
.nm-menu .menu-item-22919 .sub-menu > li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Link + dot style */
.nm-menu .menu-item-22919 .sub-menu li a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nm-menu .menu-item-22919 .sub-menu li a:hover {
  color: #A3BE40;
}



/* Dot */
.nm-menu .menu-item-22919 .sub-menu li a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background-color: #ffffff;
}

/* Dropdown arrow animation */
.nm-menu .menu-item-22919 > a::after {
  content: "▾";
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.nm-menu .menu-item-22919:hover > a::after {
  transform: rotate(180deg);
}
/* === NOVACOLOR Mega Menu Dot Colors (same as Produkte) === */
.nm-menu .menu-item-22919 .sub-menu li.rot a::before     { background-color: #ff5f56; }
.nm-menu .menu-item-22919 .sub-menu li.orange a::before  { background-color: #ff9f0a; }
.nm-menu .menu-item-22919 .sub-menu li.gelb a::before    { background-color: #fcd34d; }
.nm-menu .menu-item-22919 .sub-menu li.gruen a::before   { background-color: #34c759; }
.nm-menu .menu-item-22919 .sub-menu li.blau a::before    { background-color: #0a84ff; }
.nm-menu .menu-item-22919 .sub-menu li.lila a::before    { background-color: #bf5af2; }
.nm-menu .menu-item-22919 .sub-menu li.white a::before   { background-color: #ffffff; }
.nm-menu .menu-item-22919 .sub-menu li.grey a::before    { background-color: #B2BEB5; }
.nm-menu .menu-item-22919 .sub-menu li.schwarz a::before { background-color: #000000; }
.nm-menu .menu-item-22919 .sub-menu li.tuerkis a::before { background-color: #20c997; }

/* === Button === */
.primer-finder-btn {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(212, 155, 60, 0.4);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: #d49b3c;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.primer-finder-btn:hover {
  background: #a4b765;
  color: #fff;
  border-color: #a4b765;
  box-shadow: 0 0 12px rgba(164, 183, 101, 0.28);
}



/* === Savoy Layout Fix (full integration) === */
.nc-tools-under-gallery {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: -10px; /* removes gap above */
  display: flex;
  justify-content: center;
  padding: 0;
}
.nc-tools-under-gallery .primer-finder-glass,
.nc-tools-under-gallery .primer-finder-glass::before {
  border-radius: 0 !important;
  border-left: none;
  border-right: none;
}





@media(max-width: 768px) {
  .primer-finder-items {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }

  .primer-tool-item {
    min-width: 45%;
  }

  .nc-tools-under-gallery {
    margin-top: 0;
  }
}
/*. */
/* === Werkzeuge mobile – equal card heights === */
@media (max-width: 768px) {
  .primer-finder-items {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 per row */
    gap: 12px;
  }

  .primer-tool-item {
    min-width: auto !important;
    width: 100%;
    height: 90px; /* fixed height for perfect alignment */
    justify-content: flex-start;
    align-items: center;
  }

  .primer-tool-thumb img {
    width: 44px;
    height: 44px;
  }

  .primer-tool-name {
    font-size: 0.85rem;
    line-height: 1.2;
    word-break: break-word;
  }

  .primer-tool-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* Single product gallery – mobile: one big image, swipe; hide thumbs */
@media (max-width: 768px) {
  /* hide the thumbnail strip */
  .woocommerce-product-gallery .flex-control-thumbs,
  .woocommerce-product-gallery .flex-control-thumbs li {
    display: none !important;
  }

  /* make each slide full width */
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image,
  .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* ensure the big image scales nicely */
  .woocommerce div.product div.images a img,
  .woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover;      /* or 'contain' if you prefer */
    object-position: center;
  }

  /* remove extra padding/gaps some themes add around the slider */
  .woocommerce-product-gallery,
  .woocommerce div.product div.images {
    padding: 0 !important;
    margin: 0 auto !important;
  }
}

/* Optional: always show the next/prev arrows the slider outputs */
.woocommerce-product-gallery .flex-direction-nav { display: block !important; }

/* === Make hamburger menu icon white on scroll === */
.header-on-scroll:not(.mobile-menu-open) #nm-header .nm-menu-icon span {
    background-color: #ffffff !important;
}

/* === iOS Fullscreen Mobile Menu – Novacolor Custom === */

@media (max-width: 768px) {

  /* Remove Savoy padding and layout forcing */
  #nm-mobile-menu,
  #nm-mobile-menu .nm-mobile-menu-scroll,
  #nm-mobile-menu .nm-mobile-menu-content,
  #nm-mobile-menu .nm-mobile-menu-main,
  #nm-mobile-menu-nav,
  #nm-mobile-menu .sub-menu {
      padding: 0 !important;
      margin: 0 !important;
  }

  /* Fullscreen clean white background */
  #nm-mobile-menu {
      background: #ffffff !important;
      width: 100% !important;
      max-width: 100% !important;
  }

  /* Center the text (Apple Style) */
  #nm-mobile-menu a {
      text-align: center !important;
      width: 100% !important;
      justify-content: center !important;
      font-family: "SF Pro Display", "Poppins", sans-serif !important;
      font-size: 17px !important;
      font-weight: 500 !important;
      color: #111 !important;
      letter-spacing: 0.2px;
      padding: 18px 0 !important;
  }

  /* Remove Savoy’s left alignment via flexbox */
  #nm-mobile-menu .menu > li > a,
  #nm-mobile-menu .sub-menu > li > a {
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
  }

  /* Cleaner separators (thin grey lines) */
  #nm-mobile-menu li {
      border-bottom: 1px solid rgba(0,0,0,0.06) !important;
      margin: 0 !important;
      padding: 0 !important;
  }

  /* Remove the left blue bar that Savoy uses for active items */
  #nm-mobile-menu .menu-item.active:before,
  #nm-mobile-menu .menu-item.current-menu-item:before {
      display: none !important;
  }

  /* Back button (Zurück) */
  #nm-mobile-menu .nm-mobile-menu-header a {
      font-size: 15px !important;
      font-weight: 400 !important;
      text-align: left !important;
      padding: 18px !important;
  }

  /* Close button (X) top right */
  #nm-mobile-menu .nm-mobile-menu-close {
      top: 18px !important;
      right: 18px !important;
      color: #777 !important;
  }

  /* Remove ugly grey background behind submenu */
  #nm-mobile-menu .nm-mobile-sub-menu-ul {
      background: #fff !important;
  }
}

@media (max-width: 768px) {
    #nm-mobile-menu-close-button {
        margin-left: 20px !important;
    }
}


/* === FINAL FIX: CENTER TITLE + PRICE UNDER HEART === */

body.archive ul.products li.product .nm-shop-loop-details,
body.tax-product_cat ul.products li.product .nm-shop-loop-details {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* Center the TITLE <h3> */
body.archive ul.products li.product .nm-shop-loop-details h3,
body.tax-product_cat ul.products li.product .nm-shop-loop-details h3 {
    width: 100% !important;
    text-align: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

/* Center the entire price section */
body.archive ul.products li.product .nm-shop-loop-title-price,
body.tax-product_cat ul.products li.product .nm-shop-loop-title-price {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 !important;
}

/* Center price number */
body.archive ul.products li.product .nm-shop-loop-title-price .price,
body.tax-product_cat ul.products li.product .nm-shop-loop-title-price .price {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* Center €/L unit price */
body.archive ul.products li.product .nm-shop-loop-title-price .price-unit,
body.tax-product_cat ul.products li.product .nm-shop-loop-title-price .price-unit {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
}

/*to not show for werkzeuge the card */
.nc-tools-under-gallery .added_to_cart.wc-forward {
  display: none !important;
}


/* === Passende Grundierung under Add to Cart === */
.nc-primer-under-cart-wrap {
  width: 100%;
  margin: 16px 0 10px;
  clear: both;
}

.nc-primer-under-cart-shell.primer-finder-glass {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nc-primer-under-cart-shell.primer-finder-glass::before {
  display: none !important;
}

.nc-primer-under-cart-header.primer-finder-info {
  width: 100%;
  text-align: center;
}

.nc-primer-under-cart-header.primer-finder-info h4 {
  margin: 0 0 8px 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a2a2a;
  background: none;
  -webkit-text-fill-color: initial;
}

.nc-primer-card.nc-accessory-card {
  width: 100%;
  max-width: 230px;
  min-width: 0;
  margin: 0 auto;
  padding: 8px 8px 9px;
  gap: 7px;
}

.single-product .nc-primer-card .nc-accessory-thumb {
  min-height: 0;
  height: 170px;
  padding: 8px;
  border-radius: 10px;
}

.single-product .nc-primer-card .nc-accessory-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.single-product .nc-primer-card .nc-accessory-name {
  font-size: 0.76rem;
}

.single-product .nc-primer-card .nc-accessory-price {
  font-size: 0.7rem;
}

.single-product .nc-primer-card .nc-accessory-cta {
  min-width: 108px;
  min-height: 24px;
  font-size: 0.56rem;
  padding: 4px 8px;
}

.single-product .summary .nc-primer-under-cart-wrap .added_to_cart.wc-forward {
  display: none !important;
}

/* mobile */
@media (max-width: 767px) {
  .nc-primer-under-cart-wrap {
  margin: 14px 0 35px;
}

  .nc-primer-card.nc-accessory-card {
    max-width: 210px;
  }

  .single-product .nc-primer-card .nc-accessory-thumb {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 145px;
    min-height: 145px;
    padding: 8px;
    overflow: hidden;
  }

  .single-product .nc-primer-card .nc-accessory-thumb img,
  .single-product .nc-primer-card .primer-tool-thumb img,
  .single-product .nc-primer-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .single-product .nc-primer-card .nc-accessory-name {
    font-size: 0.72rem;
  }

  .single-product .nc-primer-card .nc-accessory-price {
    font-size: 0.66rem;
  }

  .single-product .nc-primer-card .nc-accessory-cta {
    min-width: 100px;
    font-size: 0.52rem;
  }
}


/* remove > from Inspiration */
.nm-menu .menu-item-20011 > a::after {
  display: none !important;
  content: none !important;
}



/* === Shared row: Werkzeuge left / Passende Grundierung right === */
.nc-product-extra-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  width: 100%;
  margin: 28px 0 40px;
}

.nc-product-extra-col {
  min-width: 0;
}

.nc-product-extra-col-tools {
  flex: 1 1 auto;
  max-width: 760px;
}

.nc-product-extra-col-primer {
  flex: 0 0 260px;
  max-width: 260px;
}

.nc-product-extra-col-tools .nc-tools-under-gallery {
  width: 100%;
  margin: 0 !important;
  padding: 0;
}

.nc-product-extra-col-primer .nc-primer-under-cart-wrap {
  width: 100%;
  margin: 0 !important;
  clear: none !important;
}

.nc-product-extra-col-primer .nc-primer-card.nc-accessory-card {
  max-width: 240px;
  margin: 0 auto;
}

.nc-product-extra-col-primer .nc-primer-under-cart-header h4,
.nc-product-extra-col-tools .nc-accessories-header h4 {
  text-align: center;
}

@media (max-width: 991px) {
  .nc-product-extra-row {
    flex-direction: column;
    gap: 24px;
    margin: 20px 0 34px;
  }

  .nc-product-extra-col-tools,
  .nc-product-extra-col-primer {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .nc-product-extra-col-primer .nc-primer-card.nc-accessory-card {
    max-width: 210px;
  }
}
/* =========================================================
   NOVACOLOR CHECKOUT REDESIGN 2026
   Scoped only to checkout page
========================================================= */

body.woocommerce-checkout {
  background: #f7f6f2 !important;
}

body.woocommerce-checkout .nm-page-default-col {
  max-width: 1280px;
  margin: 0 auto;
}

body.woocommerce-checkout form.checkout {
  display: grid !important;
 grid-template-columns: minmax(0, 1fr) minmax(520px, 0.9fr);
  gap: 34px;
  align-items: start;
  padding-bottom: 70px;
}
body.woocommerce-checkout #order_review {
  min-width: 520px !important;
}

/* Express checkout full width */
body.woocommerce-checkout .wcpay-express-checkout-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  grid-column: 1 / -1;
}

/* Left side */
body.woocommerce-checkout #customer_details {
  display: block !important;
  width: 100% !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
  width: 100% !important;
  float: none !important;
  margin: 0 0 22px 0 !important;
  padding: 28px !important;
  background: #ffffff !important;
  border: 1px solid rgba(57, 73, 16, 0.12) !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 38px rgba(20, 20, 20, 0.05) !important;
}

/* Right side */
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
  grid-column: 2;
}

body.woocommerce-checkout #order_review {
  position: sticky;
  top: 105px;
  background: #ffffff !important;
  border: 1px solid rgba(57, 73, 16, 0.12) !important;
  border-radius: 18px !important;
  padding: 26px !important;
  box-shadow: 0 18px 46px rgba(20, 20, 20, 0.07) !important;
}

/* Headings */
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
  font-size: 24px !important;
  line-height: 1.25 !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  color: #26340d !important;
  text-transform: none !important;
  margin: 0 0 24px 0 !important;
  padding: 0 0 15px 0 !important;
  border-bottom: 2px solid #a3be40 !important;
}

/* Labels */
body.woocommerce-checkout label {
  color: #34440f !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

/* Fields */
body.woocommerce-checkout .form-row {
  margin-bottom: 18px !important;
}

body.woocommerce-checkout .form-row-first,
body.woocommerce-checkout .form-row-last {
  width: calc(50% - 8px) !important;
  float: left !important;
}

body.woocommerce-checkout .form-row-first {
  margin-right: 16px !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
  width: 100% !important;
  min-height: 52px !important;
  padding: 14px 16px !important;
  background: #fbfaf7 !important;
  border: 1px solid #dedbd2 !important;
  border-radius: 12px !important;
  color: #222 !important;
  font-size: 15px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout input:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus,
body.woocommerce-checkout .select2-container--open .select2-selection {
  border-color: #a3be40 !important;
  background: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(163, 190, 64, 0.14) !important;
}

/* Payment methods */
body.woocommerce-checkout #payment {
  background: transparent !important;
}

/* === Checkout payment methods: radio + label same line === */
body.woocommerce-checkout #payment ul.payment_methods li {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 18px 1fr !important;
  align-items: center !important;
  column-gap: 14px !important;
  row-gap: 12px !important;
  min-height: 76px !important;
  padding: 18px 22px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"] {
  position: static !important;
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

body.woocommerce-checkout #payment ul.payment_methods li > label {
  margin: 0 !important;
  width: 100% !important;
  cursor: pointer !important;
}

body.woocommerce-checkout #payment ul.payment_methods li .payment_box {
  grid-column: 2 / -1 !important;
  margin: 4px 0 0 0 !important;
}
/* === FINAL MOBILE CHECKOUT RESET === */
@media (max-width: 991px) {
  html,
  body {
    overflow-x: hidden !important;
  }

  body.woocommerce-checkout .nm-page-default-col,
  body.woocommerce-checkout .woocommerce,
  body.woocommerce-checkout form.checkout,
  body.woocommerce-checkout #customer_details,
  body.woocommerce-checkout #order_review,
  body.woocommerce-checkout #order_review_heading,
  body.woocommerce-checkout #payment,
  body.woocommerce-checkout .wcpay-express-checkout-wrapper {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    grid-column: auto !important;
    box-sizing: border-box !important;
    float: none !important;
    position: static !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout form.checkout {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  body.woocommerce-checkout #customer_details .col-1,
  body.woocommerce-checkout #customer_details .col-2,
  body.woocommerce-checkout #order_review {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 22px 0 !important;
    padding: 18px !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods,
  body.woocommerce-checkout #payment ul.payment_methods li {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    column-gap: 12px !important;
    align-items: center !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li > input[type="radio"] {
    grid-column: 1 !important;
    margin: 0 !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li > label {
    grid-column: 2 !important;
    margin: 0 !important;
    width: auto !important;
    white-space: normal !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods li .payment_box {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 12px 0 0 0 !important;
  }

  body.woocommerce-checkout input,
  body.woocommerce-checkout select,
  body.woocommerce-checkout textarea,
  body.woocommerce-checkout .select2-container {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}



/* =========================================================
   FINAL RESPONSIVE FIX
   Werkzeuge + Passende Grundierung
   Add this at the VERY END of style.css
========================================================= */

/* Entire section */
.single-product .nc-product-extra-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 250px !important;
    align-items: start !important;
    justify-content: center !important;
    gap: 32px !important;

    width: 100% !important;
    max-width: 1100px !important;
    height: auto !important;

    margin: 32px auto 48px !important;
    padding: 0 20px !important;

    clear: both !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Both columns */
.single-product .nc-product-extra-col {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Remove old widths */
.single-product .nc-product-extra-col-tools,
.single-product .nc-product-extra-col-primer {
    flex: none !important;
    max-width: none !important;
}

/* Internal wrappers */
.single-product .nc-tools-under-gallery,
.single-product .nc-primer-under-cart-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    clear: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Main shells */
.single-product .nc-accessories-shell,
.single-product .nc-primer-under-cart-shell {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    box-sizing: border-box !important;
}

/* =========================================================
   TITLES
========================================================= */

.single-product .nc-product-extra-row .nc-accessories-header,
.single-product .nc-product-extra-row .nc-primer-under-cart-header {
    display: block !important;
    width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
    overflow: visible !important;
}

/* Space between title and cards */
.single-product .nc-product-extra-row .nc-accessories-header h4,
.single-product .nc-product-extra-row .nc-primer-under-cart-header h4 {
    display: block !important;

    margin: 0 0 18px !important;
    padding: 0 !important;

    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: 0.07em !important;
    text-align: center !important;
    text-transform: uppercase !important;

    color: #2a2a2a !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
}

/* =========================================================
   WERKZEUGE GRID
========================================================= */

.single-product .nc-product-extra-col-tools .nc-accessories-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;

    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;

    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;

    overflow: visible !important;
    box-sizing: border-box !important;
}

/* =========================================================
   ALL CARDS
========================================================= */

.single-product .nc-product-extra-row .nc-accessory-card,
.single-product .nc-product-extra-row .primer-tool-item {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

    /* Important: removes old fixed 90px height */
    height: auto !important;
    min-height: 100% !important;

    gap: 8px !important;
    margin: 0 !important;
    padding: 9px !important;

    border-radius: 12px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Tool image */
.single-product .nc-product-extra-col-tools .nc-accessory-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 0.82 !important;

    margin: 0 !important;
    padding: 8px !important;

    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Tool image itself */
.single-product .nc-product-extra-col-tools .nc-accessory-thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center !important;

    margin: 0 !important;
}

/* Card information */
.single-product .nc-product-extra-row .nc-accessory-meta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;

    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: center !important;
    box-sizing: border-box !important;
}

/* Product name */
.single-product .nc-product-extra-row .nc-accessory-name {
    display: block !important;

    width: 100% !important;
    min-height: 2.5em !important;
    height: auto !important;

    margin: 0 !important;

    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    text-align: center !important;

    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    overflow: visible !important;
}

/* Price */
.single-product .nc-product-extra-row .nc-accessory-price {
    display: block !important;

    width: 100% !important;
    min-height: 18px !important;

    margin: 0 !important;

    font-size: 11px !important;
    line-height: 1.25 !important;
    text-align: center !important;
}

/* Add button */
.single-product .nc-product-extra-row .nc-accessory-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 26px !important;

    margin: auto 0 0 !important;
    padding: 5px 10px !important;

    font-size: 9px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    white-space: nowrap !important;

    box-sizing: border-box !important;
}

/* All tools button */
.single-product .nc-product-extra-row .nc-accessories-all-btn {
    display: table !important;
    align-self: center !important;

    width: auto !important;
    max-width: 100% !important;

    margin: 14px auto 0 !important;
    padding: 6px 14px !important;
}

/* =========================================================
   PASSENDE GRUNDIERUNG
========================================================= */

.single-product .nc-product-extra-col-primer {
    width: 250px !important;
    max-width: 250px !important;
    justify-self: center !important;
}

.single-product .nc-product-extra-col-primer .nc-primer-card {
    width: 100% !important;
    max-width: 250px !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto !important;
    padding: 9px !important;
}

/* Primer image */
.single-product .nc-product-extra-col-primer .nc-primer-card .nc-accessory-thumb {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1.35 / 1 !important;

    padding: 7px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

/* Primer image itself */
.single-product .nc-product-extra-col-primer .nc-primer-card .nc-accessory-thumb img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: cover !important;
    object-position: center !important;

    margin: 0 !important;
}

/* Prevent section from overlapping tabs */
.single-product .nc-product-extra-row + .woocommerce-tabs,
.single-product .woocommerce-tabs {
    position: relative !important;
    clear: both !important;
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media (min-width: 992px) and (max-width: 1199px) {
    .single-product .nc-product-extra-row {
        grid-template-columns: minmax(0, 1fr) 230px !important;
        gap: 24px !important;
        padding: 0 18px !important;
    }

    .single-product .nc-product-extra-col-tools .nc-accessories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .single-product .nc-product-extra-col-primer {
        width: 230px !important;
        max-width: 230px !important;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) and (max-width: 991px) {
    .single-product .nc-product-extra-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 34px !important;
        margin: 28px auto 45px !important;
        padding: 0 24px !important;
    }

    .single-product .nc-product-extra-col-tools,
    .single-product .nc-product-extra-col-primer {
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-product .nc-product-extra-col-tools .nc-accessories-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .single-product .nc-product-extra-col-primer .nc-primer-card {
        width: 260px !important;
        max-width: 260px !important;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {
    .single-product .nc-product-extra-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;

        gap: 32px !important;

        width: 100% !important;
        margin: 22px auto 42px !important;
        padding: 0 12px !important;
    }

    .single-product .nc-product-extra-col-tools,
    .single-product .nc-product-extra-col-primer {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* More breathing space below headings */
    .single-product .nc-product-extra-row .nc-accessories-header h4,
    .single-product .nc-product-extra-row .nc-primer-under-cart-header h4 {
        margin-bottom: 16px !important;
        font-size: 12px !important;
    }

    /* Two tool cards per row */
    .single-product .nc-product-extra-col-tools .nc-accessories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-card,
    .single-product .nc-product-extra-row .primer-tool-item {
        height: auto !important;
        min-height: 0 !important;
        padding: 8px !important;
    }

    .single-product .nc-product-extra-col-tools .nc-accessory-thumb {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 0.78 !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-name {
        min-height: 2.5em !important;
        font-size: 11px !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-price {
        font-size: 10px !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-cta {
        min-height: 24px !important;
        padding: 5px 7px !important;
        font-size: 8px !important;
        white-space: normal !important;
    }

    /* Primer centered beneath tools */
    .single-product .nc-product-extra-col-primer .nc-primer-card {
        width: min(100%, 270px) !important;
        max-width: 270px !important;
        margin: 0 auto !important;
    }

    .single-product .nc-product-extra-col-primer .nc-primer-card .nc-accessory-thumb {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1.35 / 1 !important;
    }
}

/* Very small phones */
@media (max-width: 390px) {
    .single-product .nc-product-extra-row {
        padding: 0 8px !important;
    }

    .single-product .nc-product-extra-col-tools .nc-accessories-grid {
        gap: 7px !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-card {
        padding: 7px 5px !important;
    }

    .single-product .nc-product-extra-row .nc-accessory-cta {
        font-size: 7.5px !important;
        letter-spacing: 0.02em !important;
    }
}

/*
   FIX EMPTY WOOCOMMERCE VARIATION BOX
   Removes the two vertical lines above "Gesamtsumme"
*/

body.single-product div.product form.variations_form
.woocommerce-variation.single_variation {
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Completely collapse the container when it contains no result */
body.single-product div.product form.variations_form
.woocommerce-variation.single_variation:empty {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}