/*
Theme Name: Savoy Canneff Child
Theme URI: http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
Description: Child theme for the Savoy theme
Author: Your Name
Author URI: https://www.canneff.com
Template: savoy
Version: 1.0
*/

/* This file will be loaded automatically. Add your custom CSS below this line */
h2,
h3 {
  font-size: 28px;
  line-height: 1.2 !important;
}

select {
  line-height: 1;
}

.cf-hero-text p {
  line-height: 1.2 !important;
}

.cf-hero-text h3 {
  margin-bottom: 20px;
}

/* Custom CSS for Savoy Canneff Child Theme */
.nm-menu .megamenu>.sub-menu>ul>li>a img {
  max-height: 500px
}

.menu-item.cf-menu-main-cat {
  margin-bottom: 10px !important;
  padding-bottom: 30px;
}

.cf-menu-hidden {
  display: none !important;
}

.nm-top-bar.cf-topbar {
  font-size: 20px;
  height: auto;
  min-height: 47px;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

::placeholder {
  opacity: 0.9;
}

.canntext {
  line-height: 1.2;
  padding-bottom: 19px;
  padding-left: 19px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #A8BBBB;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
}

/* Default header state */
.nm-header {
  transition: background-color 0.3s ease;
}

/* Make header float with spacing and rounded corners */
.nm-header {
  position: fixed;
  top: 20px;
  left: 20px;
  right: 20px;
  width: auto;
  /* Override the default 100% width */
  max-width: calc(100% - 40px);
  /* Account for the 20px margins on both sides */
  border-radius: 8px;
  /* Rounded corners */
  background-color: #ffffff;
  /* Ensure the header has a background */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  /* Subtle shadow for non-transparent header */
  z-index: 1041;
  /* Ensure it's above the overlay */
}

.menu-item.cf-mobile-menu-shop-cat {
  padding-left: 30px;
}

/* Overlay for dimming the site when megamenu is active */
.site-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black with 50% opacity */
  z-index: 100;
  /* Below header but above content */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Show overlay when megamenu is active */
body.megamenu-active .site-overlay {
  opacity: 1;
  visibility: visible;
}

.nm-menu .cf-menu-nase-kosmetika.megamenu>.sub-menu>ul>li>a .nm-menu-item-image-title {
  display: block;
}

.cf-menu-nase-kosmetika span.nm-menu-item-image-title {
  text-align: left;
}

/* Specific styles for transparent header - remove shadow and border */
.header-transparency .nm-header:not(.megamenu-active):not(.header-on-scroll) {
  box-shadow: none;
  border: none;
}

.header-on-scroll #nm-header .nm-right-menu a,
#nm-header .header-on-scroll .nm-right-menu a,
.header-on-scroll #nm-header .nm-right-menu a,
#nm-header .nm-right-menu a,
.header-on-scroll .nm-menu li a,
.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .megamenu-active #nm-main-menu-ul>li>a,
.alt-logo-header-transparency-dark.megamenu-active:not(.mobile-menu-open) #nm-main-menu-ul>li>a {
  color: #5d5d5d !important;
}

.header-transparency.header-on-scroll .nm-header:not(.megamenu-active) {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Adjust placeholder height to account for the floating header */
.nm-header-placeholder {
  height: calc(84px + 40px);
  /* Default height plus top and bottom margin */
}

/* When header is transparent, still show the background when megamenu is active */
.alt-logo-header-transparency-dark .nm-header.megamenu-active,
.nm-header.megamenu-active,
.header-transparency .nm-header.megamenu-active {
  background-color: #ffffff !important;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border: transparent;
}

#nm-header .nm-right-menu a {
  color: #5d5d5d !important;
}

@media screen and (min-width: 1600px) {
  .nm-page-full {
    max-width: 1920px;
    margin: auto;
  }

  .nm-header {
    max-width: 1900px;
    margin: auto;
  }
}

@media screen and (min-width: 992px) {
  .nm-row.nm-row-full.cannrow {
    padding: 0;
  }

  .cf-banner-column.nm_column.wpb_column {
    padding: 0;
  }
}

@media screen and (max-width: 991px) {
  #nm-main-menu-ul>li>a {
    color: #626262 !important;
  }

  .header-transparency-dark #nm-header .nm-right-menu a,
  .header-transparency-dark .nm-right-menu a .nm-menu-cart-count.count,
  .header-mobile-default.header-transparency-dark #nm-header .nm-right-menu a .nm-menu-cart-count.count {
    color: #fff !important;
  }

  .header-on-scroll #nm-header .nm-right-menu a {
    color: #5d5d5d !important;
  }

  .header-on-scroll.header-mobile-default.header-transparency-dark #nm-header .nm-right-menu a .nm-menu-cart-count.count,
  #nm-header .nm-right-menu a .nm-menu-cart-count.count,
  .nm-menu-cart-count.count {
    color: #739fa0 !important;
  }
}

.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open):not(.megamenu-active) #nm-main-menu-ul>li>a:hover {
  color: #fff;
}

.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) #nm-header.megamenu-active #nm-main-menu-ul>li>a:hover,
.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .nm-header.megamenu-active #nm-main-menu-ul>li>a:hover {
  color: #626262 !important;
}

.header-on-scroll .nm-header:not(.static-on-scroll) {
  top: 20px;
  /* Maintain the top margin on scroll */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Subtle shadow for floating effect */
}

.nm-header-inner {
  padding-left: 15px;
  padding-right: 15px;
}

.nm-menu .sub-menu {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* For mobile devices, use a simpler header layout */
@media all and (max-width: 991px) {
  .nm-header {
    top: 10px;
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
    border-radius: 6px;
  }

  .nm-top-bar.cf-topbar {
    font-size: 14px;
    height: auto;
    min-height: 47px;
    line-height: 1.2;
    padding: 10px 0;
    overflow: visible;
  }

  .nm-top-bar-left.col-xs-12 {
    padding-left: 5px;
    padding-right: 5px;
  }

  .cf-topbar .nm-top-bar-text,
  .cf-topbar .nm-top-bar-cycles .cycle {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .cf-topbar .nm-top-bar-text>p:first-child {
    overflow: visible;
    text-overflow: unset;
  }

  .nm-right-menu #nm-mobile-menu-button::after {
    content: none !important;
  }

  .nm-header-placeholder {
    height: calc(70px + 20px);
  }
}

@media all and (min-width: 992px) and (max-width: 1280px) {
  .col-xs-12 .menu-item {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

}

@media all and (min-width: 992px) and (max-width: 1140px) {

  #menu-item-41803,
  #menu-item-41720 {
    display: none !important;
  }

  .cf-main-hero.cf-hero-row .cf-hero-column-right {
    align-self: flex-end;
    padding-bottom: 0 !important;
    padding-left: 25px !important;
    padding-right: 25px !important;
    padding-top: 0 !important;
  }

}

.cf-contact-first-row.cf-hero-row {
  align-items: end;
}

.ecomail-subscribtion-info {
  display: none !important;
}

.button.fgf-add-manual-gift-product {
  position: absolute;
  bottom: 20px;
  left: 80px;
}

#fgf_gift_products_wrapper h3 {
  font-size: 24px;
  font-weight: 400;
}

.fgf-owl-carousel-item.fgf-gift-product-item h5 {
  font-weight: 400;
}

/* Link hover animation - underline effect for all links including sub-menus and cf-link */
.nm-menu li a,
.nm-menu .sub-menu li a,
.nm-footer-bar-content a,
.nm-footer-bar-social a,
.nm-post-meta a,
.woocommerce-tabs .tabs li a,
.woocommerce-product-rating a,
.woocommerce-breadcrumb a,
.cf-link {
  position: relative;
}

/* Create the underline element */
.nm-menu li a::after,
.nm-menu .sub-menu li a::after,
.nm-footer-bar-content a::after,
.nm-footer-bar-social a::after,
.nm-post-meta a::after,
.woocommerce-tabs .tabs li a::after,
.woocommerce-product-rating a::after,
.woocommerce-breadcrumb a::after,
.cf-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 0.6;
}

/* Hover state */
.nm-menu li a:hover::after,
.nm-menu .sub-menu li a:hover::after,
.nm-footer-bar-content a:hover::after,
.nm-footer-bar-social a:hover::after,
.product_meta a:hover::after,
.nm-post-meta a:hover::after,
.woocommerce-tabs .tabs li a:hover::after,
.woocommerce-product-rating a:hover::after,
.woocommerce-breadcrumb a:hover::after,
.cf-link:hover::after,
.nm-menu li.current-menu-item>a::after,
.nm-menu li.current-menu-ancestor>a::after,
.nm-menu .sub-menu li.current-menu-item>a::after,
.woocommerce-tabs .tabs li.active a::after {
  transform-origin: left;
  transform: scaleX(1);
}

.nm-menu .megamenu>.sub-menu>ul>li>a::after {
  display: none;
}

.cf-link.cf-eshop-link {
  font-weight: 600;
}

.cf-hero-text-mobile .cf-link.cf-eshop-link {
  color: #fff;
}

/* Specific adjustments for sub-menu items */
.nm-menu .sub-menu li a::after {
  bottom: 2px;
  /* Adjust position for sub-menu items */
}

/* Mega menu specific adjustments */
.nm-menu .megamenu>.sub-menu>ul>li>a::after {
  bottom: 0;
}

/* Hero row setup */
.cf-hero-row {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

.nm-wpb-default .vc_column_container.mobile-column-media {
  padding-left: 0;
  padding-right: 0;
}

/* Main - Left column with image */
.cf-main-hero.cf-hero-row .cf-hero-column-left {
  width: 66% !important;
  position: relative;
}

.cf-main-hero.cf-hero-row .cf-hero-column-right {
  width: 34% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-hero-row.cf-hero-row-media-right .cf-hero-column-small.cf-hero-column-left {
  width: 30% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
}

.cf-hero-row.cf-hero-row-media-right .cf-hero-column-large.cf-hero-column-right {
  width: 70% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
}

.cf-hero-row.cf-hero-row-media-left .cf-hero-column-small.cf-hero-column-right {
  width: 30% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
}

.cf-hero-row.cf-hero-row-media-left .cf-hero-column-large.cf-hero-column-left {
  width: 70% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
}

.cf-main-hero .cf-hero-column-left .vc_column-inner {
  padding-bottom: 70%;
}

.page-id-308927 .cf-main-hero.cf-hero-row .cf-hero-column-left {
  width: 60% !important;
  position: relative;
}

.page-id-308927 .cf-main-hero.cf-hero-row .cf-hero-column-right {
  width: 40% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-id-308927 .cf-main-hero.cf-hero-row .cf-hero-column-left .vc_column-inner {
  padding-bottom: 80% !important;
}

.cf-main-hero .cf-hero-text {
  max-width: 400px;
  text-align: left;
  margin:
    auto;
  padding: 15px 30px;
}

#nase-kosmetika-green,
#nase-kosmetika-effect {
  border-top: 1px solid #626262;
}

.cf-bestseller-btn {
  display: flex;
  justify-content: center;
}

h2.cf-divider {
  font-size: 22px;
}

@media screen and (max-width: 991px) {
  h2.cf-divider {
    font-size: 18px;
    text-align: center;
  }
}

.insta-column.nm_column,
.nm-row.nm-row-full.insta-row {
  padding:
    0;
}

@media screen and (max-width: 991px) {
  .vc_empty_space.cf-border-gap {
    margin-left: 25px;
    margin-right: 25px;
    border-bottom: 1px solid #dedede;
  }
}

@media screen and (min-width: 992px) and (max-width: 1200px) {
  .cf-main-hero .cf-hero-text {
    max-width: 400px;
    text-align: left;
    padding-left: 30px;
    padding-right: 20px;
  }
}

/* Left column with image */
.cf-hero-row .cf-hero-column-left,
.cf-hero-row .cf-hero-column-right {
  width: 50% !important;
  height: 100% !important;
  padding: 0 !important;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Image styling */
.cf-hero-media {
  height: 100%;
  width: 100%;
}

.cf-hero-media img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Text styling */
.cf-hero-text {
  max-width: 400px;
  text-align: left;
  margin: auto;
  padding: 20px 50px;
}

.cf-hero-text-mobile,
.cf-hero-text-mobile h1,
.cf-hero-text-mobile h2,
.cf-hero-text-mobile h3,
.cf-hero-text-mobile h4,
.cf-hero-text-mobile h5,
.cf-hero-text-mobile h6,
.cf-hero-text-mobile strong {
  color: #fff !important;
}

/* Responsive adjustments */
@media screen and (max-width: 991px) {
  .cf-hero-row {
    flex-direction: column !important;
  }

  @media screen and (max-width: 991px) {
    .cf-hero-text {
      max-width: 90%;
      padding:
        0 5px 30px 5px;
    }
  }

  .cf-desktop-section {
    display: none !important;
  }
}

@media screen and (min-width: 992px) {
  .cf-mobile-section {
    display: none !important;
  }

  .woocommerce-product-rating .woocommerce-review-link {
    display: inline-block !important;
    transform: translate(0, -25%);
  }
}

@media screen and (max-width: 991px) {
  .woocommerce-product-rating {
    text-align: center;
  }
}

.product-type-bundle .woocommerce-product-rating .woocommerce-review-link {
  display: none !important;
}

/* Original rules for transparent header with light logo */
.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .alt-logo-header-transparency-dark .nm-logo {
  display: none;
}

.header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .alt-logo-header-transparency-dark .nm-alt-logo {
  display: inline-block;
}

/* Logo rules - show main logo when megamenu is active only */
body.megamenu-active .header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .alt-logo-header-transparency-dark .nm-logo {
  display: inline-block !important;
}

body.megamenu-active .header-transparency-dark:not(.header-on-scroll):not(.mobile-menu-open) .alt-logo-header-transparency-dark .nm-alt-logo {
  display: none !important;
}

/* Simplified logo rules - show main logo when megamenu is active or on scroll */
body.megamenu-active .alt-logo-header-transparency-dark .nm-logo,
.header-on-scroll .alt-logo-header-transparency-dark .nm-logo {
  display: inline-block !important;
}

body.megamenu-active .alt-logo-header-transparency-dark .nm-alt-logo,
.header-on-scroll .alt-logo-header-transparency-dark .nm-alt-logo {
  display: none !important;
}

/* Global Layout and Structure */
.nm-shop {
  max-width: 1600px;
  margin: auto;
}

.nm-single-product {
  padding-bottom: 0;
  max-width: 1600px;
  margin: auto;
}

.entry-content li,
.tabs.wc-tabs .cf-tab-content li,
#tab-description li,
#tab-additional_information li,
.cf-accordion-content li,
.cf-bundled-desc li {
  list-style: disc;
  list-style-position: inside !important;
}

.entry-content li::marker,
.tabs.wc-tabs .cf-tab-content li::marker,
#tab-description li::marker,
#tab-additional_information li::marker,
.cf-accordion-content li::marker,
.cf-bundled-desc li::marker,
.cf-tab-content li::marker {
  content: "+ "
}

@media screen and (max-width:991px) {
  .tabs.wc-tabs {
    border-bottom: none !important;
  }
}

/* Mobile: replace ::marker with ::before for plus bullets */
@media screen and (max-width: 991px) {

  .entry-content li,
  .tabs.wc-tabs .cf-tab-content li,
  #tab-description li,
  #tab-additional_information li,
  .cf-accordion-content li,
  .cf-bundled-desc li {
    list-style: none;
    position: relative;
    padding-left: 1.1em;
  }

  .tabs.wc-tabs .cf-tab-content li::before,
  #tab-description li::before,
  #tab-additional_information li::before,
  .cf-accordion-content li::before,
  .cf-bundled-desc li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1;
  }
}

@media screen and (min-width:992px) and (max-width: 1599px) {
  .nm-single-product {
    padding-left: 100px;
    padding-right: 100px;
  }
}

.nm-blog.layout-grid.no-sidebar,
.nm-blog-categories {
  max-width: 1200px;
  margin: auto;
  background-color: #ffffff;
}

.nm-post.nm-post-sidebar-none {
  background-color: #ffffff;
  max-width: 1200px;
  margin: auto;
}

/* Header and Navigation */

.nm-menu ul.sub-menu li a,
.nm-menu ul.sub-menu li a:visited {
  color: #626262;
}

.col-xs-12 .menu-item {
  padding-left: 10px;
  padding-right: 10px;
}

li#menu-item-41775 a,
li#menu-item-41633 a,
li#menu-item-43383 a,
li#menu-item-43386 a {
  padding: 0 24px 0 12px;
  margin: 16px 12px 16px 0;
  border-right: 1px solid #626262;
}

/* Product problems and benefits */

@media screen and (max-width:992px) {
  #cf-serum-border-bottom {
    border-top: 1px solid #dedede;
    margin: 0 5vw 0 5vw;
  }
}

/* Teal band */
.cf-problemy-container,
.cf-benefity-conainer {
  background: #f1f5f5;
  padding: 28px 0;
}

/* Grid of round icons */
.cf-problemy {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* ≥1200px: 1 row, 8 cols */
  justify-items: center;
  align-items: start;
  gap: 30px 0
}

.cf-benefity {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  align-items: start;
  gap: 30px 0
}

/* 992–1199px → 2 rows, 4 columns */
@media (min-width: 992px) and (max-width: 1199.98px) {

  .cf-problemy,
  .cf-benefity {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* < 992px → 4 rows, 2 columns */
@media (max-width: 991.98px) {
  .cf-problemy {
    grid-template-columns: repeat(2, 1fr);
  }

  ul.cf-benefity {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 250px;
    width: fit-content;
    margin: 0 auto;
  }

  ul.cf-benefity li,
  ul.cf-benefity li a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    text-align: left;
    padding-left: 0;
  }

  ul.cf-benefity .cf-label {
    text-align: left;
  }

  ul.cf-benefity .cf-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    flex-shrink: 0;
  }

  ul.cf-benefity .cf-icon img {
    width: 60%;
    height: 60%;
  }
}

.cf-problemy li,
.cf-benefity li,
.cf-problemy li a,
.cf-benefity li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

/* Circle */
.cf-icon {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08);
  display: grid;
  place-items: center;
}

/* extra bullet safety */
.entry-content .cf-problemy li::marker,
.entry-content .cf-benefity li::marker {
  content: none;
}

.nm-row.nm-row-full.vc_row.wpb_row.cf-problemy-row,
.nm-row.nm-row-full.vc_row.wpb_row.cf-benefity-row {
  padding: 30px 0 20px 0;
  background: #f1f5f5;
}

.cf-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.cf-benefity .cf-icon {
  margin-bottom: 10px;
}

.cf-benefity .cf-icon img {
  width: 50%;
  height: 50%;
  object-fit: contain;
  display: block;
}

/* Label */
.cf-label {
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  color: #646464;
  display: block;
  max-width: 200px;
}

.cf-label strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #282828;
  font-style: italic;
}

/* Buttons and Forms */
.button,
.vc_btn3,
.nm-blog-prev,
.nm-blog-next,
.wc-proceed-to-checkout .button,
.button.border,
.button .wc-checkout,
#nm-blog-infinite-load,
#nm-widget-panel .buttons a,
.checkout-button,
.comment-form p input#submit,
#nm-widget-panel .buttons a:hover,
.button:hover,
input[type="submit"]:hover,
input[type="submit"],
.vc_btn3:hover,
.nm-blog-prev:hover,
#nm-blog-infinite-load:hover,
.nm-blog-next:hover,
.buttons .nm-cart-empty-button:hover,
.wc-proceed-to-checkout .button:hover,
.button.border:hover,
.checkout-button:hover,
.button.checkout:hover,
.button.cf-accordion-toggle {
  text-transform: uppercase;
  border: 1px solid #000 !important;
}

input[type="submit"]:hover,
.button:hover {
  color: #000;
}

.cannsubmit {
  /* background-color removed */
  min-width: 90% !important;
  text-transform: uppercase;
}

.wpcf7-form-control.wpcf7-submit.cannsubmit:hover {
  border: 1px solid #000;
  color: #000;
}

/* Product & Shop Styling */
.product_meta {
  display: none !important;
}

.woocommerce-tabs .panel {
  padding: 41px 0 53px;
  background-color: #fff;
}

.nm-product-tabs-col .col-xs-12,
.nm-product-tabs-col .nm-row,
.woocommerce-Tabs-panel.panel.wc-tab {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.woocommerce-Tabs-panel.panel.wc-tab {
  padding-left: 0 !important;
  padding-right: 0 !important;
  font-size: 18px;
  line-height: 1.2 !important;
}

@media (max-width: 992px) {
  .woocommerce-tabs .wc-tabs.tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .tabs.wc-tabs {
    margin: 0 0 8px;
    padding: 0;
  }

  .tabs.wc-tabs li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #ebecec;
  }

  .tabs.wc-tabs li a {
    display: block !important;
    padding: 18px 44px 18px 14px;
    color: #111;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    position: relative;
    -webkit-font-smoothing: antialiased;
  }

  .tabs.wc-tabs li a:focus,
  .tabs.wc-tabs li a[aria-expanded="true"] {
    outline: none;
    box-shadow: none;
  }

  .woocommerce-Tabs-panel {
    display: none;
    padding: 12px 14px 18px;
    background: #fff;
    color: #444;
    line-height: 1.45;
    border-bottom: 1px solid #f1f1f1;
  }

  .woocommerce-Tabs-panel p {
    margin: 0 0 12px;
  }

  .woocommerce-Tabs-panel ul,
  .woocommerce-Tabs-panel ol {
    margin: 0 0 12px 18px;
  }

  .woocommerce-tabs .tabs li a::after,
  .woocommerce-product-rating a::after {
    background-color: #fff;
  }

  .woocommerce-tabs .tabs li.active a {
    border: none;
  }

  .tabs.wc-tabs ul li {
    border: none;
  }

  .tabs.wc-tabs li a {
    position: relative;
  }

  .tabs.wc-tabs li a::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: translateY(-50%) rotate(45deg) !important;
    transition: transform 0.2s ease;
    transform-origin: unset !important;
    left: 90%;
    bottom: 0;
    opacity: 1;
  }

  .tabs.wc-tabs li a[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(225deg) !important;
    transform-origin: unset !important;
  }
}

.nm-shop-notice .cf_plus_link,
.cf_plus_link {
  display: inline !important;
  text-decoration: underline;
}

.nm-single-product-showcase {
  padding-top: 0;
  padding-bottom: 30px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: #ffffff;
}

.star-rating span::before {
  color: #739fa0 !important;
}

.woocommerce-product-details__short-description.entry-content {
  margin-top: 20px !important;
}

.woocommerce-product-details__short-description {
  font-size: 16px;
  line-height: 1.2;
  padding-bottom: 22px;
}

.cf-promo-banner {
  width: 100%;
  max-width: 900px;
  height: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.cf-promo-banner--mobile {
  padding-bottom: 25%;
}

.cf-promo-banner--desktop {
  display: none;
  padding-bottom: 11.11%;
  max-height: 100px;
}

@media (min-width: 768px) {
  .cf-promo-banner--mobile {
    display: none;
  }

  .cf-promo-banner--desktop {
    display: block;
  }
}

.cf-gallery-banner {
  width: 100%;
  height: 0;
  padding-bottom: 25%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 30px;
  border-radius: 4px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cf-gallery-banner {
    padding-bottom: 11.11%;
    max-height: 100px;
    max-width: 900px;
  }
}

.woocommerce-product-gallery__wrapper {
  pointer-events: none !important;
}

.thumbnails-horizontal .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100px;
}

.nm-shop-loop-thumbnail {
  background: #ffffff !important;
  color: #ffffff !important;
  background-color: #ffffff !important;
}

.price ins {
  text-decoration: none !important;
}

del .woocommerce-Price-amount.amount,
del {
  color: #888683 !important;
}

.products li.outofstock .nm-shop-loop-thumbnail>a:after {
  content: "Není skladem";
}

.stock {
  display: none !important;
}

/* Cart and Checkout */
.cart-collaterals {
  line-height: 1.6;
  color: #282828;
  width: 50%;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 58px;
  margin-bottom: 64px;
  float: none !important;
}

.woocommerce-cart .woocommerce>form {
  width: 75% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 58px;
  margin-bottom: 64px;
  float: none !important;
}

.woocommerce-cart .nm-shop-notice {
  margin-bottom: -9px;
  padding-top: 20px;
}

.wc-proceed-to-checkout .button {
  max-width: 50% !important;
  display: block;
  margin: auto !important;
  padding: 12px;
  cursor: pointer;
}

.woocommerce-cart-form__cart-item .cart_item .nm-qty-minus {
  color: #626262;
}

.woocommerce-cart .nm-quantity-dropdown.qty-hide {
  border-right: 1px solid !important;
}

.woocommerce-checkout .nm-page-wrap-inner,
.woocommerce-cart .nm-page-wrap-inner {
  background-color: #ffffff !important;
}

.cf_payment_first_line {
  font-size: 18px;
  line-height: 30px;
}

.cf_payment_second_line {
  font-size: 12px;
}

#order_review .shop_table tbody .product-name {
  padding-right: 10px !important;
}

#order_review .shop_table tbody .product-total {
  white-space: nowrap;
}

#order_comments_field .optional {
  display: none;
}

/* Canneff Plus / Rewards */
.woocommerce-info.wc_points_redeem_earn_points {
  display: grid;
  text-align: center;
  padding-top: 10px;
  font-size: 16px
}

.shop_table.my_account_points_rewards.my_account_orders {
  max-width: 90%;
}

.wc_points_rewards_apply_discount {
  padding-top: 10px;
}

.showcoupon {
  color: #739fa0;
}

.cart-collaterals .nm-coupon .button[disabled] {
  pointer-events: none;
  opacity: 1;
  background:
    #eee;
  border:
    none !important;
}

.my-points-list {
  text-align: left;
  padding: 20px;
  max-width: 600px;
}

.my-points-list li {
  list-style-type: disc;
}

/* Blog Styling */
.nm-post-featured-image {
  padding-top: 50px;
}

.nm-post-header {
  padding-top: 30px !important;
}

.nm-single-post-meta-top {
  display: none !important;
}

.infinite-load {
  padding: 70px;
  border: none !important;
}

.nm-blog-wrap {
  padding-bottom: 0;
}

.nm-post-featured-image img {
  width: auto;
  margin: auto;
  display: block;
}

.nm-login-form-divider span {
  background-color: #ffffff;
}

ul#nm-blog-categories-list {
  text-align: center;
  padding-top: 40px;
}

.nm-blog-categories-list li a {
  font-size: 14px;
}

.nm-blog-categories-wrap {
  padding-top: 20px;
  padding-bottom: 20px !important;
}

/* Footer Styling */
.cf-footer-center h6 {
  font-weight: bold;
  margin-bottom: 10px;
}

.layout-centered .nm-footer-bar-copyright {
  padding-top: 0 !important;
}

.layout-centered .nm-footer-bar-left {
  padding-top: 25px;
  border-top: 1px solid #dedede;
}

.nm-infload-controls-button {
  max-width: 200px;
  margin: auto;
}

.layout-centered .nm-footer-bar-logo {
  float: none;
  margin-right: 0;
  margin-bottom: 9px;
}

.nm-footer-bar-right {
  padding-top: 30px;
}

.cf-footer-center>.vc_btn3.vc_btn3-size-lg {
  font-size: 16px;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 25px;
  padding-right: 25px;
  display: inline-block;
}

.nm-footer-block-grid>li {
  padding-right: 10px;
}

.cannfootertext p {
  margin-bottom: 0;
  line-height: 150%;
  text-align: right;
}

.cannfootertext h6 {
  margin-bottom: 10px;
  text-align: right;
}

.cannfootercontact {
  padding-top: 30px;
  font-size: 15px;
  font-weight: 600;
  text-align: right;
}

.cannfootercontact a {
  text-decoration: none;
}

.socialfooter .nm-font {
  font-size: 30px;
  float: right;
  padding-top: 40px;
  padding-left: 15px;
}

.socialfooter .nm-font:hover {
  color: #ffffff;
}

.menu-shop-menu-footer-cz-container,
.menu-shop-menu-footer-en-container {
  font-size: 16px;
}

.layout-centered .nm-footer-bar-logo {
  margin-right: auto !important;
  margin-left: auto !important;
  width: 27px;
  height: 27px;
}

/* Custom Components */
.cannadresa {
  text-align: center;
}

.cannadresa p {
  margin-bottom: 0;
  line-height: 150%;
}

.cannadresa h2 {
  text-transform: uppercase;
  font-size: 20px;
}

.cannonasheading h2 {
  padding: 30px;
  text-align: center;
  color: #ffffff;
  font-style: italic !important;
  font-size: 20px !important;
}

.cannonasheading {
  max-width: 80% !important;
  margin: auto !important;
}

.cannonasnazev {
  text-align: center;
  margin-bottom: 50px !important;
  margin-top: 50px !important;
}

.cannpopis {
  text-align: center;
}


.cannslider {
  padding: 20px 0 0 0;
}

.cannslidershop {
  padding: 20px 15px 0 15px;
}

.canndivider,
.cannicotext {
  text-transform: uppercase;
}

.cannicotext {
  margin-top: 40px;
}

.cannicotext h2 {
  font-size: 16px;
}

.cannheading {
  font-weight: bold;
  font-size: 16px;
  padding-bottom: 20px;
  padding-left: 20px;
}

.cannimgbanner {
  position: absolute;
  top: 20px;
  right: 1.07vw;
  padding-left: 10vw;
  z-index: 999;
}

.cannimgbannerbalance {
  position: absolute;
  top: 20px;
  right: 1.07vw;
  padding-left: 12vw;
  z-index: 999;
}

.contactcolumn2 {
  float: left;
  width: 50%;
  padding-bottom: 15px;
}

.contactcolumn1 {
  float: left;
  width: 100%;
  padding-bottom: 15px;
}

.contactcolumn1 .cannvalue {
  max-width: 95% !important;
  margin: auto !important;
}

.contactonas p,
.contactonas h6 {
  text-align: left !important;
  padding-left: 20px;
}

.canntelefon {
  text-align: center;
  color: #ffffff;
  padding: 20px 60px 20px 60px;
}

.canntelefon p,
.canncontactblue {
  line-height: 150%;
  margin-bottom: 0;
}

.cannadresa {
  text-align: center;
}

.cannadresa p {
  margin-bottom: 0;
  line-height: 150%;
}

.cannadresa h2 {
  text-transform: uppercase;
  color: #5fc0c5;
  font-size: 20px;
}

.canncontactblue h1,
.canncontactbluetext p {
  max-width: 80%;
  margin: auto;
  color: #ffffff !important;
  text-align: center;
  line-height: 150%;
  margin-bottom: 0;
}

.canncontactblue h1 {
  background-color: #739fa0 !important;
}

.canndividerblue {
  max-width: 95% !important;
  margin: auto !important;
}

.contactrow .cannvalue {
  background-color: #739fa0;
}

.contactpopisky {
  text-align: left;
  padding-left: 20px;
  padding-bottom: 10px;
}

.contactonas,
.contactonas p .cannsubmit {
  text-align: center;
  color: #ffffff !important;
}

.cbdicotext h3 {
  font-size: 18px !important;
}

.cancbdblue h1 {
  font-size: 20px !important;
}

.nm-divider .nm-divider-title .medium {
  padding-left: 28px;
  padding-right: 28px;
}

.cf-divider {
  margin-bottom: 30px;
}

.cf-divider::before {
  content: "-";
  padding-right: 8px;
}

.cf-divider::after {
  content: "-";
  padding-left: 8px;
}

/* Widget Panel */
.nm-widget-panel-header,
.nm-widget-panel-header-inner,
.nm-cart-panel-list-wrap,
.nm-cart-panel-summary,
.nm-cart-panel-summary-inner,
.nm-widget-panel-inner {
  background-color: #70c2c7 !important;
}

/* Gift Products */
#fgf_gift_products_wrapper {
  margin-top: 30px;
}

.fgf-owl-carousel-item {
  min-height: 440px;
}

.fgf-owl-carousel-items .owl-stage-outer {
  max-height: 500px;
}

.fgf-owl-carousel-items h5 {
  font-weight: 500;
  color: #706E6A;
}

.fgf-gift-products-content {
  margin-top: 15px;
}

/* Misc Elements */
.cann-img-main {
  margin: 10px;
}

.slick-dots {
  display: none !important;
}

.slick-next,
.slick-prev {
  color: #cecece;
}

.nm-banner-slider.pagination-mobile-outside {
  padding-bottom: 0 !important;
}

.nm-banner-slider .slick-list.draggable {
  cursor: pointer !important;
}

.cf-shop-notice {
  max-width: 1000px;
  margin: auto;
}

.coupon-lenka,
.coupon-slavime4,
.coupon-testnarozky21 {
  display: none;
}

.coupon-3-produkt-zdarma .woocommerce-remove-coupon {
  display: none !important;
}

.tcsob_select span {
  font-weight: 400;
  font-size: 14px;
  padding-left: 5px;
}

.woocommerce-product-attributes-item.woocommerce-product-attributes-item--weight {
  display: none;
}

#crm_duplicate_modal {
  display: none !important;
}

#cf_show_ecomail_popup {
  margin-bottom: 30px;
}

.woocommerce-customer-custom-text h2 {
  padding-bottom: 10px;
  font-size: 22px;
}

.woocommerce-customer-custom-text {
  padding-top: 37px;
}

.sznl-button-template {
  margin-top: 30px;
}

.cf_seznam_login {
  display: flex;
  justify-content: center;
}

.variation-Discount {
  display: none !important;
}

#wrapcountselect.wrap-hidden {
  display: none !important;
}

/* Related Products */
#nm-related .related {
  border-top: 1px solid #cecece !important;
}

.related.products {
  background-color: #ffffff !important;
}

.woocommerce {
  background-color: #fff;
}

.upsells {
  display: block;
  padding: 30px;
  background: #fff;
}

.up-sells.upsells.products .price-note {
  display: none;
}

.upsells h2,
.related h2 {
  font-size: 24px;
  padding-bottom: 15px;
  margin-bottom: 35px;
}

.up-sells.upsells.products {
  max-width: 1600px;
  margin:
    auto;
  padding-left: 0;
  padding-right: 0;
  border-top:
    1px solid #dedede;
  border-bottom:
    none;
  padding-top: 50px;
}

@media screen and (max-width: 991px) {
  .up-sells.upsells.products {
    margin: 0 20px 0 20px;
    padding-top: 0;
    border-top: none
  }
}

.upsells,
.related {
  border: none;
}

#nm-related {
  display: none;
}

.nm-product-tabs-col .nm-row {
  background-color: #ffffff !important;
}

.woocommerce-tabs {
  border-bottom: none !important;
  background-color: #ffffff !important;
}

.woocommerce-tabs .wc-tabs.tabs {
  padding-top: 50px;
  padding-bottom: 10px;
  border-bottom: 1px solid currentColor;
  margin-bottom: 25px;
  text-align: left;
  display: flex;
  flex-wrap: wrap;
}

@media screen and (min-width: 992px) {
  .woocommerce-tabs .wc-tabs.tabs {
    padding-top: 0;
  }
}

.woocommerce-tabs.wc-tabs-wrapper.description-full {
  border: none;
}

.woocommerce-Tabs-panel.wc-tab {
  padding: 1rem 3rem !important;
}

.tabs-layout-default .nm-tabs-panel-inner {
  padding: 10px !important;
  min-width: 600px;
}

/* Table & Checkout Styling */
.table-parcelshop tr td {
  padding: 3px !important;
  text-align: center !important;
}

#pplvyhledane_pobocky {
  margin-left: -100px !important;
  margin-top: 25px !important;
}

a#vyhledat_parcelshop {
  margin: 10px 5px 10px 10px !important;
}

.woocommerce-review__published-date {
  color: #cecece !important;
}

/* Hide Categories */
.nm-shop-categories .cat-item-17,
.nm-shop-categories .cat-item-68,
.nm-shop-categories .cat-item-204,
.nm-shop-categories .cat-item-183,
.nm-shop-categories .cat-item-237,
.nm-shop-categories .cat-item-239,
.nm-shop-categories .cat-item-115,
.nm-shop-categories .cat-item-116,
.nm-shop-categories .cat-item-117,
.nm-shop-categories .cat-item-1672,
.nm-shop-categories .cat-item-1747,
.nm-shop-categories .cat-item-1686,
.nm-shop-categories .cat-item-1739,
.nm-shop-categories .cat-item-1759 {
  display: none !important;
}

#nm-shop-categories a,
#nm-blog-categories-list a {
  font-size: 16px;
}

#nm-shop-categories-wrap {
  text-align: center;
}

#nm-shop {
  padding: 0 !important
}

.nm-shop-categories li a,
.nm-shop-search-btn-wrap span {
  font-size: 16px;
}

.layout-centered .nm-footer-bar-copyright {
  text-align: center;
  font-size: 14px;
}

.nm-shop-loop-title-price h3 {
  font-weight: 400 !important;
}

/* Media Queries */
@media only screen and (max-width: 991px) {
  a.button.fgf-add-manual-gift-product {
    display: inline;
    position: absolute;
    left: 85px;
    bottom: 20px;
  }

  .woocommerce-Tabs-panel.wc-tab {
    padding: 1rem 0 !important;
  }

  .woocommerce-tabs .wc-tabs.tabs {
    padding-top: 0;
  }

  .nm-shop-filter-menu li a {
    font-size: 16px !important;
    border: 1px solid #626262;
    padding: 5px 16px !important;
    text-align: center;
  }

  .nm-shop-header {
    padding: 30px 0;
  }

  #nm-shop-filter-menu-wrap {
    float: none;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    padding: 5px;
    justify-content: center;
  }

  .nm-shop-filter-menu-wrap .nm-shop-filter-menu {
    margin: auto
  }

  .cart-collaterals {
    width: 100% !important;
  }

  .cannslider {
    padding: 10px 0 0 0 !important;
  }

  .cannicomobile {
    min-height: 145px !important;
    padding: 20px;
  }

  .topbarleft {
    padding: 10px 5px;
    white-space: normal;
    line-height: 1.5;
    margin: 0;
    font-size: 16px;
  }

  .cf-footer-center .cf-newsletter-popup {
    display: none;
  }

  #custom_html-2 {
    padding-left: 25px;
  }

  .product .summary .button,
  .button .border,
  .checkout-button .button .wc-forward,
  .button .wc_points_rewards_apply_discount {
    font-weight: 300 !important;
  }

  .cannimgbanner {
    position: absolute;
    top: 20px;
    right: 1.07vw;
    padding-left: 40vw;
    z-index: 999;
  }

  .cartmessage h5 {
    max-width: 80%;
    color: #ffffff;
  }

  .cannicotext {
    margin-top: 10px !important;
  }

  .cannicotext h2 {
    font-size: 14px;
  }

  .canndivider .nm-divider .nm-divider-title {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  ul.nm-products.products.xsmall-block-grid-2 {
    padding: 0;
  }

  .upsells ul.nm-products.products.xsmall-block-grid-2 {
    padding: 30px 15px 0 15px;
  }

  .cannfootertext,
  .socialfooter {
    max-width: 75%;
    margin: auto !important;
  }

  .col-xs-12 .cannperson {
    text-align: center;
    padding: 20px 0 20px 0 !important;
  }

  .canncbdblue h1 {
    color: #ffffff !important;
    font-weight: bold;
    font-size: 20px !important;
  }

  .cbdicocolumn {
    min-height: 100px !important;
  }

  .cbdblueico img {
    max-width: 80% !important;
  }

  .nm-footer-bar .menu>li {
    display: block;
    text-align: center !important;
    margin-right: 0;
    padding: 0;
    border-bottom: none !important;
  }

  #nm-footer-bar-menu .menu-item {
    font-size: 14px;
    line-height: 1.4;
  }

  .nm-footer-bar .menu {
    margin-bottom: 0 !important;
  }

  .nm-footer-bar-inner {
    margin-left: 15px;
    margin-right: 15px;
    padding-bottom: 60px !important;
  }


  .layout-centered .nm-footer-bar-copyright {
    text-align: center !important;
    font-size: 11px;
  }

  .mobile-grid {
    display: flex;
    flex-direction: column;
  }


  .product-left-column {
    display: contents;
  }


  .product-gallery-area {
    order: 1;
  }

  .product-promo-banner-area {
    order: 2;
    width: 100%;
  }

  .product-right-column {
    order: 3;
  }

  .product-tabs-column {
    order: 4;
  }
}

.product-breadcrumbs {
  width: 100%;
  margin-bottom: 20px;
  margin-top: 20px;
}

@media screen and (max-width: 991px) {
  .product-breadcrumbs {
    display: none;
  }
}

#nm-breadcrumb {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Move product breadcrumbs specifically in the right column */
.product-right-column .product-breadcrumbs {
  margin-bottom: 20px;
}

.product-breadcrumbs .col-xs-12 {
  padding-left: 0;
}

.product-column {
  padding: 0 15px;
}

.product-left-column {
  width: 60%;
}

.product-right-column {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

@media (max-width: 1080px) {
  .nm-product-summary-inner-col {
    float: left;
    width: 100%;
  }

  .product .summary {
    padding-top: 0;
  }
}

/* Responsive rules for the two-column layout */
@media all and (max-width: 991px) {

  .product-left-column,
  .product-right-column {
    width: 100% !important;
  }

  .product-column.product-tabs-column.mobile-order-3 {
    margin-top: 0 !important;
  }

  .product-right-column .summary,
  .product-right-column .product-breadcrumbs {
    padding-left: 0;
  }

  .product-right-column .summary {
    padding-top: 20px;
  }

  .product-column {
    padding: 0;
  }
}

@media screen and (min-width:992px) {
  .product-column {
    padding-right: 30px;
    padding-left: 0;
  }

  .up-sells.upsells.products .nm-row {
    padding-left: 0;
    padding-right: 0;
  }

  .up-sells.products .col-xs-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .nm-single-product-showcase.product-two-column-container.mobile-grid {
    padding-left: 0;
    padding-right: 0;
  }

  .nm-single-product {
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu-item-365085 .nm-sub-menu-bridge::after {
    content: "";
    position: absolute;
    height: 1px;
    background: #dedede;
    left: 20px;
    right: 20px;
    top: 90px;
  }
}

.woocommerce-order.nm-checkout-ty .order_details {
  margin-top: 20px;
  margin-bottom: 20px;
}

@media screen and (min-width: 992px) and (max-width: 1599px) {
  .nm-single-product {
    padding-left: 100px;
    padding-right: 100px;
  }
}

/* Ensure the summary has proper spacing */
.product-right-column .summary {
  padding-left: 15px;
}

/* Make sure images and gallery take full width of their container */
.product-left-column .woocommerce-product-gallery {
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
}

.product-type-bundle .product-obsah {
  display: none !important;
}

.bundled_item_cart_details {
  display: none;
}

.product-type-bundle .product-tabs-area {
  display: none;
}

.nm-single-product-top {
  padding-top: 0;
}

/* Responsive rules for the two-column layout */
@media all and (max-width: 991px) {

  .product-left-column,
  .product-right-column {
    width: 100%;
  }

  .product-right-column .summary {
    padding-left: 0;
  }

  .product-column {
    padding: 0;
  }

  /* promote the two pieces inside left‑column into the grid */
  .product-left-column {
    display: contents;
  }

  /* gallery first */
  .product-gallery-area {
    order: 1;
  }

  /* promo banner second */
  .product-promo-banner-area {
    order: 2;
    width: 100%;
  }

  /* summary third */
  .product-right-column {
    order: 3;
  }

  /* tabs fourth */
  .product-tabs-column {
    order: 4;
  }
}

@media screen and (min-width: 992px) {
  .product-gallery-area {
    display: flex;
    width: 100%;
    height: 100%;
  }

  .product-promo-banner-area {
    margin-top: 20px
  }

  .product-column.product-right-column .summary.entry-summary {
    max-width: 400px;
    margin-right: auto;
    float: left;
  }

  .product-left-column {
    display: flex;
    flex-direction: column;
  }

  .product-tabs-area .woocommerce-tabs {
    clear: both;
    margin-top: 1.5em;
  }
}

/* CF Product Meta Styling */
.cf-product-meta {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  grid-template-columns: repeat(3, max-content);
}

.cf-product-meta>div {
  padding:
    1px 10px;
  border-radius:
    15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  font-size: 14px;
}

@media screen and (max-width: 991px) {
  .cf-product-meta {
    grid-template-columns: repeat(1, 1fr);
    justify-items: left;
  }
}

.cf_plus_link {
  text-decoration:
    underline;
  display: inline;
}

.single_add_to_cart_button.button,
.button {
  border-color: #626262 !important;
  color: #626262;
}

.stock-status-wrapper {
  background-color: #397476;
  font-weight: 500;
}

.stock-status-wrapper.in-stock {
  background-color: #e7f0f0;
}

.stock-status-wrapper.out-of-stock {
  background-color: #fff1f0;
}

.stock-status {
  font-weight: 600;
  font-size: 1.05em;
}

.bundle_button {
  display: flex;
  width: 360px
}

#tdpd-content-single {
  padding: 15px 21px !important;
}

form.woocommerce-checkout {
  margin-top: 0;
}

.cf-bundled-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cf-bundle-area-title {
  padding-bottom: 15px;
  border-bottom:
    1px solid currentColor;
  font-size: 24px;
  margin:
    50px 0;
}

.cf-bundled-title {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.cf-bundled-desc {
  line-height: 1.2;
  max-width: 300px;
}

.product-custom-note {
  background-color: #397476;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.woocommerce-product-gallery__trigger::after {
  display: none !important;
}

.points.hide-on-price-available {
  line-height: 1.2;
}

.wc-points-rewards-product-message {
  line-height: 1.2;
  padding-top: 25px;
}

@media screen and (max-width: 991px) {
  .cf-bundled-items-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* Variation Box Styling */

.variations {
  display: none;
}

.nm-variation-boxes {
  margin-bottom: 20px;
}

.woocommerce-variation.single_variation {
  border: none !important;
}

.nm-variation-box {
  border: 1px solid #ddd;
  padding: 10px;
  margin-right: 10px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nm-variation-box:hover {
  border-color: #999;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.nm-variation-box.selected {
  border-color: #333;
  background-color: #f7f7f7;
}

/* Ingredients Accordion */
.cf-ingredients-accordion {
  margin-top: 20px;
}

.cf-accordion-toggle {
  display: block;
  width: 100%;
  border: 1px solid #626262;
  padding: 10px;
  font-weight: 400;
}

.cf-accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, padding 0.35s ease;
  border: 1px solid #ccc;
  border-top: none;
  background: #fff;
}

.cf-accordion-content.active {
  max-height: 500px;
  padding: 15px;
  opacity: 1;
}


/* Pulsing dot styling for add to cart button */
.single_add_to_cart_button.loading {
  position: relative;
}

.single_add_to_cart_button .loading-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #397476;
  border-radius: 50%;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  animation: pulse 1s infinite;
}

.button.loading {
  background:
    #fff !important;
  pointer-events: none;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}

.woocommerce-MyAccount-navigation .nm-MyAccount-user {
  display: none;
}

/* row with the three short inputs */
.cfx-row--short {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-bottom: 20px;
}

.cfx-row--short .cfx-field {
  flex: 1 1 0;
  /* equal widths */
  min-width: 0;
}

.cfx-row--long .cfx-field textarea {
  width: 100%;
  /* long textarea uses full row */
}

/* optional styling tweaks */
.cfx-note {
  font-size: 0.75rem;
  margin-top: 1rem;
  color: #666;
  line-height: 1.4;
}

.wpcf7 input.wpcf7-submit {
  display: block;
  width: 300px;
  padding: 11px 17px;
  margin: auto;
}

.wpcf7-response-output {
  text-align: center;
  padding-top: 20px;
}

@media screen and (max-width: 991px) {
  .cfx-row--short {
    flex-direction: column;
  }

  .cfx-row--short .cfx-field {
    width: 100%;
  }

  .wpcf7-form.init {
    padding-left: 10%;
    padding-right: 10%;
  }
}

.grecaptcha-badge {
  display: none !important;
}

#pickupInfo {
  padding-top: 10px;
}

#pickupInfo p {
  margin-bottom: 0;
}

.nm-blog-grid .nm-post-title {
  font-size: 18px;
}

.tgls-custom-modal-content {
  height: 90% !important
}

@media screen and (max-width: 991px) {
  .ecomail-form-row .ec-v-form-column {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  .ecomail-form-row .ec-v-form-input {
    width: 100% !important;
  }

  .ecomail-form-row h1 {
    color: #ffffff;
    line-height: 1.2;
    padding: 25px 25px 0 25px;
  }

  .ecomail-form-row .ec-v-form-submit {
    width: 100% !important;
  }

  .ecomail-form-row .ecomail-text-small p {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 260px;
  }

  #ec_form_9-54057be166928eb6fcc57504dc847797 .ec-v-form-holder>form {
    min-height: 150px !important;
  }
}

@media screen and (min-width:992px) {

  .ecomail-form-row h1 {
    text-align: right;
    padding-right: 15px;
    color: #ffffff;
    line-height: 1.2;
  }

  .ecomail-form-title-mobile {
    display: none;
  }

  .ecomail-text-small p {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 135px;
  }

  #ec_form_9-54057be166928eb6fcc57504dc847797 .ec-v-form-holder {
    margin: 0 !important;
    border-radius: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    background-size: cover;
    background-position: center top;
  }

  .ecomail-form-row .ec-v-form-column {
    display: flex !important;
    justify-content: left;
    align-items: center;
  }

  .ecomail-form-row .ec-v-form-input {
    width: 350px !important;
  }

  .ecomail-form-row .ec-v-form-step.ec-v-form-step-visible {
    display: flex !important;
  }

  .ecomail-text-small p {
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 135px;
  }
}

.ecomail-form-row {
  background: #ABBBBB;
}

.ecomail-form-row .ec-v-form-input label {
  display: none !important;
}

.ecomail-form-row {
  display: flex;
  align-items: center;
}

/**
 * Care Routines Styles
 * Responsive styles for care routine icons in Použití tab
 */

.cf-care-routines-display {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.cf-care-routines-display:empty {
  display: none;
}

/* Desktop styles (over 992px) */
@media (min-width: 992px) {
  .cf-care-routines-display {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
  }

  .cf-care-routine-item {
    flex: 0 0 auto;
    text-align: center;
    min-width: 150px;
  }

  .cf-care-routine-icon {
    margin-bottom: 15px;
  }

  .cf-care-routine-icon img {
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .cf-care-routine-icon a {
    display: inline-block;
    cursor: pointer;
  }

  .cf-care-routine-icon a:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .cf-care-routine-title {
    font-size: small;
    margin-bottom: 10px;
  }

  .cf-care-routine-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
}

/* Mobile styles (under 991px) */
@media (max-width: 991px) {
  .cf-care-routines-display {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .cf-care-routine-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
  }

  .cf-care-routine-icon {
    flex: 0 0 auto;
  }

  .cf-care-routine-icon img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
  }

  .cf-care-routine-icon a {
    display: block;
  }

  .cf-care-routine-title {
    font-size: small;
    margin-bottom: 10px;
  }

  .cf-care-routine-links {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}

/* Ensure lightbox works properly */
.cf-care-lightbox.nm-lightbox {
  cursor: pointer;
}

/* Fix lightbox z-index to be above header (header is z-index: 1111) */
.mfp-bg,
.mfp-wrap {
  z-index: 9999 !important;
}

.mfp-container {
  z-index: 10000 !important;
  position: absolute;
  padding: 80px 0;
}

/* Admin metabox styles */
.cf-care-routines-metabox {
  padding: 10px 0;
}

.cf-care-routines-metabox p {
  margin: 10px 0;
}

.cf-care-routines-metabox label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.cf-care-routines-metabox input[type="checkbox"] {
  margin-right: 8px;
}

.cf-care-routine-links .button {
  padding: 8px;
  font-size: small;
}

/* Product gallery: Video slide (main image area) */
.woocommerce-product-gallery__image--video .nm-featured-video-thumbnail {
  display: block;
  position: relative;
  cursor: pointer;
}

.woocommerce-product-gallery__image.woocommerce-product-gallery__image--video img {
  width: 100% !important;
  height: auto !important;
  display: block;
}

.woocommerce-product-gallery__image--video .nm-featured-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

.woocommerce-product-gallery__image--video .nm-featured-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1 !important;
  color: #282828;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.woocommerce-product-gallery__image--video .nm-featured-video-thumbnail:hover .nm-featured-video-overlay {
  background: rgba(0, 0, 0, 0.35);
}

.woocommerce-product-gallery__image--video .nm-featured-video-thumbnail:hover .nm-featured-video-icon {
  background: #fff;
}

/* Product gallery: Video play overlay on Flexslider thumbnail strip */
.flex-control-thumbs li.cf-video-thumb {
  position: relative;
}

.cf-video-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  cursor: pointer;
}

.cf-video-thumb-overlay .nm-font {
  font-size: 16px;
  line-height: 1;
  color: #282828;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.flex-control-thumbs li.cf-video-thumb:hover .cf-video-thumb-overlay {
  background: rgba(0, 0, 0, 0.4);
}

/* Hide the overlay on pagination dots (mobile) - the dot is too small */
.pagination-enabled .flex-control-thumbs li.cf-video-thumb .cf-video-thumb-overlay {
  display: none;
}