.site-branding-main .custom-logo-link img {
    max-width: 250px;
    min-width: 200px;
    box-sizing: border-box;
}

#site-header {
    flex-flow: column;
    box-sizing: border-box;
    clear: both;
}

.full-width-nav {
    display: flex;
    align-items: center;
}

.site-navigation {
    flex: 1 0 100%;
    justify-content: flex-start;
}

.site-header {
    gap: 1.25rem;
}

.site-navigation ul.menu li:first-child>a {
    padding-left: 0;
}

/* Custom Mini Cart Css*/
#mfkuk-mini-cart-wrapper {
    position: relative;
    margin-left: auto;
}

#mfkuk-mini-cart-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    position: relative;
}

.mfkuk-cart-count {
    background: #5d2d38;
    color: #fff;
    font-size: 12px;
    padding: 2px;
    border-radius: 50%;
    position: absolute;
    top: 0px;
    right: -4px;
    min-width: 22px;
}

#mfkuk-mini-cart-flyout {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: #fff;
    border-left: 1px solid #ccc;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

#mfkuk-mini-cart-flyout:not(.hidden) {
    transform: translateX(0);
}

.mfkuk-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.site-header .site-branding {
    flex-direction: row;
    max-width: 100%;
    justify-content: space-between;
}

.site-branding-end {
    flex-direction: row;
    display: flex;
    align-items: center;
}

.site-branding-main .custom-logo-link img {
    width: 236px;
}

#mfkuk-cart-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mfkuk-cart-contents {
    overflow-y: auto;
    max-height: 80vh;
}

button .bi.bi-bag-fill,
#mfkuk-search-toggle .bi.bi-search {
    color: #5d2d38;
    font-size: 18px;
}

#mfkuk-search-toggle {
    padding-left: 0;
}

/* Searchbar CSS*/
#mfkuk-search-wrapper {
    display: inline-block;
    margin-left: 20px;
}

#mfkuk-search-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

#mfkuk-search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#mfkuk-search-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.mfkuk-search-box {
    background: #fff;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

#mfkuk-search-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    border: none;
    background: none;
    cursor: pointer;
}

.search-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.search-field {
    padding: 10px;
    font-size: 16px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-submit {
    padding: 10px;
    font-size: 16px;
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/*Archive Page Layout*/

.shop-page-container {
    margin: auto;
    max-width: 1140px;
    padding: 0 20px;
}
.inner-shop-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    box-sizing: border-box;
    gap: 1.5rem;
}
.shop-sidebar {
    flex: 1 0 25%;
}
.shop-products {
    flex: 1 0 75%;
    box-sizing: border-box;
}
h2.woocommerce-loop-product__title {
    font: 14px / 23px 'Poppins';
    box-sizing: border-box;
    color: #332;
}

/*product page*/
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link {
    filter: brightness(0.965);
}
.custom-archive-banner {
    background-color: #5d2d38;
    background-size: cover;
    background-position: center;
    color: #fff;
    display: block;
    position: relative;
    padding: 40px;
    margin-block-end: 2.5rem;
}

.archive-banner-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0 auto;
    max-width: max-content;
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link:hover {
    transition: 0.5s all ease-in;
    transform: scale(1.0515);
}
.woof_redraw_zone {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.woof_container_inner h4 {
    margin-bottom: 9px;
    font: 16px / 15px 'Poppins';
    text-transform: capitalize;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {
    font-size: 0.72rem;
    color: #767676;
    font-weight: 600;
    font-family: 'open sans';
    margin-block-end: 1.5rem;
    margin-block-start: 1.5rem;
}
.woocommerce-product-details__short-description p span {
    font: 14px / 16px 'Open sans' !important;
    font-weight: 400 !important;
    letter-spacing: 0.25px;
}
h1.product_title.entry-title {
    font: 26px / 36px 'Poppins';
    font-weight: 500;
}
.product_meta {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
span.posted_in a {
    font: 14px / 16px 'poppins';
    text-transform: uppercase;
    color: #331;
}
div.content-area {
    max-width: 1140px;
    margin: auto;
    padding: 0 20px;
}
ul.hfe-nav-menu > li:first-child > a {
    padding-left: 0px !important;
}
.woocommerce-product-details__short-description p, .woocommerce-product-details__short-description ul {
    font: 13px / 24px 'open sans';
}
.woocommerce-product-details__short-description ul {
    margin-block-end: 1rem;
}

/* Override the Default Image Viewer Single Product Page*/

/* Override Table View Variation on Single Product Page */
/* Clean up variation table layout */
table.variations {
  width: 100%;
  margin: 20px 0;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
}

/* Remove ugly borders and reduce clutter */
table.variations th,
table.variations td {
  border: none;
  padding: 12px 10px;
  vertical-align: middle;
}

/* Label styling */
table.variations th.label label {
  font-weight: 600;
  font-size: 15px;
  color: #333;
  display: inline-block;
  margin-bottom: 6px;
}

/* Style the dropdown (select box) */
table.variations td.value select {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fefefe;
  transition: border-color 0.3s ease;
}

table.variations td.value select:focus {
  border-color: #0071a1;
  outline: none;
}
.elementor-element.elementor-element-10c03a7.elementor-widget__width-auto.elementor-widget.elementor-widget-shortcode {
    margin-left: auto;
}
.elementor-element.elementor-element-19069b9.elementor-widget__width-auto.elementor-widget.elementor-widget-shortcode {
    margin-left: auto;
}
/* Reset link: show it only when needed */
table.variations a.reset_variations {
  margin-top: 10px;
  display: inline-block !important;
  font-size: 13px;
  color: #d00;
  text-decoration: underline;
  visibility: visible !important;
}

.woocommerce div.product form.cart .button {
    vertical-align: middle;
    float: left;
    padding: 13px;
    background: #5d2d38;
    color: #363622;
    font: 14px / 15px 'open sans';
    font-weight: 600;
    text-transform: capitalize;
}

table tbody tr:hover>td, table tbody tr > th, table tbody tr:hover>td, table tbody tr:hover>th, table tbody tr:hover>td, table tbody tr > td {
     background-color:transparent !important;
}

.toggle-short-desc {
    display: inline-block;
    margin-top: 10px;
    font-weight: 400;
    color: #877859;
    text-decoration: none;
    cursor: pointer;
    text-transform: capitalize;
    font-size: 14px;
}

.short-desc-hidden p {
  margin-top: 10px;
}

/* Responsive spacing fix */
@media (max-width: 600px) {
  table.variations th,
  table.variations td {
    display: block;
    width: 100%;
  }

  table.variations th.label {
    margin-bottom: 5px;
  }
}

/*woocommerce Tabs new style*/

/* Better WooCommerce Tabs */
.woocommerce-tabs {
  margin-top: 30px;
  border-top: 2px solid #eee;
  font-family: "Segoe UI", sans-serif;
}

.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 20px;
  padding-left: 0;
  border-bottom: 2px solid #eee;
  margin-bottom: 20px;
  list-style: none;
}

.woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  padding: 10px 20px;
  background: #f7f7f7;
  border-radius: 5px 5px 0 0;
  transition: background 0.3s;
}

.woocommerce-tabs ul.tabs li.active {
  background: #fff;
  border-bottom: 2px solid #fff;
}

.woocommerce-tabs ul.tabs li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}

.woocommerce-Tabs-panel {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  border-top: none;
  border-radius: 0 0 5px 5px;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section.related.products {
    margin-block-start: 5rem;
}
/*cart flyout*/
/* ===== Mini Cart Flyout Styling ===== */

#mfkuk-mini-cart-flyout {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: -3px 0 10px rgba(0,0,0,0.2);
    overflow-y: auto;
    padding: 20px;
    z-index: 9999;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
}

/* Close button */
#mfkuk-cart-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 22px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
}

/* Header */
.mfkuk-cart-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Mini cart items */
.woocommerce-mini-cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.woocommerce-mini-cart-item a.remove {
    color: #c00;
    font-size: 18px;
    margin-right: 10px;
}

.woocommerce-mini-cart-item img {
    width: 70px;
    height: auto;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.woocommerce-mini-cart-item .quantity {
    display: block;
    font-size: 14px;
    color: #666;
}

.woocommerce-mini-cart-item a {
    font-size: 15px;
    color: #444;
    font-weight: 500;
    line-height: 1.3;
}

/* Subtotal */
.woocommerce-mini-cart__total {
    margin-top: 15px;
    font-size: 16px;
    font-weight: bold;
    border-top: 1px solid #eee;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    color: #333;
}

/* Buttons */
.woocommerce-mini-cart__buttons {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.woocommerce-mini-cart__buttons a.button {
    display: block;
    padding: 12px;
    background-color: #222;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.woocommerce-mini-cart__buttons a.button:hover {
    background-color: #555;
}
@media (max-width: 480px) {
    #mfkuk-mini-cart-flyout {
        width: 100%;
        padding: 15px;
    }

    .woocommerce-mini-cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .woocommerce-mini-cart-item img {
        margin-bottom: 10px;
    }
}
.woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.woocommerce-mini-cart-item a.remove {
    position: absolute;
    top: 10px;
    left: -10px;
    background: #eee;
    color: #c00 !important;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, color 0.3s ease;
}

.woocommerce-mini-cart-item a.remove:hover {
    background: #c00;
    color: #fff !important;
}

.woocommerce-mini-cart-item img {
    width: 70px;
    height: auto;
    object-fit: contain;
    margin-right: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
}

.woocommerce-mini-cart-item .quantity {
    display: block;
    font-size: 14px;
    color: #666;
}

.woocommerce-mini-cart-item .mini_cart_item_name {
    display: block;
    font-weight: 500;
    margin-bottom: 5px;
}
.wc-block-components-sidebar-layout.wc-block-cart.wp-block-woocommerce-filled-cart-block.block-cart-container.is-large {
    max-width: 1140px;
}
.flip-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    perspective: 1000px;
}
.flip-image-container img {
    transition: transform 0.5s ease;
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.front-image {
    z-index: 2;
}
.back-image {
    transform: rotateY(180deg);
    z-index: 1;
}
.flip-image-container:hover .front-image {
    transform: rotateY(180deg);
}
.flip-image-container:hover .back-image {
    transform: rotateY(0deg);
}
img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
   /* display: none !important;*/
}
/* Wrap both mini-cart and search in flex */
.elementor-element-10c03a7 {
  display: flex;
  align-items: center;
  gap: 16px; /* Optional spacing between cart and search */
}

.elementor-element-19069b9 {
  display: flex;
  align-items: center;
  gap: 16px; /* Optional spacing between cart and search */
}

/* Ensure search button doesn’t expand */
#mfkuk-search-wrapper {
  flex-shrink: 0;
}

/* Promo Section: center and stack on small screens */
.promo-slide-inner {
  max-width: 800px;
  margin: auto;
  text-align: center;
  padding: 20px;
}

/* Mini cart and search: inline on desktop, stacked on mobile */
.elementor-element-10c03a7 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.elementor-element-19069b9 {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.elementor-element-10c03a7 > * {
  flex: 1 1 auto;
  text-align: center;
}
.elementor-element-19069b9 > * {
  flex: 1 1 auto;
  text-align: center;
}



/* Testimonial section: centered and stacked nicely */
.testimonial-slide {
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* Responsive media query for smaller screens */
@media (max-width: 600px) {
  .promo-slide-inner,
  .testimonial-slide,
  .elementor-element-10c03a7 {
    width: 100%;
    padding: 0 15px;
  }
  .elementor-element-10c03a7 {
    flex-direction: column;
  }
   .promo-slide-inner,
  .testimonial-slide,
  .elementor-element-19069b9 {
    width: 100%;
    padding: 0 15px;
  }
  .elementor-element-19069b9 {
    flex-direction: column;
  }
}
.flip-image-container {
    position: relative;
    perspective: 1000px;
}
.flip-front,
.flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    backface-visibility: hidden;
}
.flip-back {
    transform: rotateY(180deg);
}
.flip-image-container a {
    display: block;
    position: relative;
}
.flip-image-container img {
    width: 100%;
    display: block;
}
.onsale,
.outofstock-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10; /* ensures above images */
}
.flip-image-container:hover .flip-front {
    transform: rotateY(180deg);
}
.flip-image-container:hover .flip-back {
    transform: rotateY(0deg);
}
.register-extra-info {
  margin-bottom: 20px;
  font-size: 14px;
  color: #333;
}
.register-extra-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.register-extra-info ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}
.register-extra-info p {
  margin-top: 10px;
  font-style: italic;
}
/* Restrict the width of My Account login/register forms */
.woocommerce-account .woocommerce {
    max-width: 900px;   /* keeps it within a nice frame */
    margin: 0 auto;     /* center align */
}

.woocommerce-account .u-columns.col2-set {
    display: flex;
    gap: 30px; /* spacing between login & register */
    flex-wrap: wrap;
}

.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    flex: 1 1 45%;       /* each column takes ~45% width */
    max-width: 420px;    /* avoid stretching too much */
    margin: 0 auto;
}

.woocommerce-account h2 {
    font-size: 20px;
    margin-bottom: 15px;
}
/* Keep main menu in one line */
.main-header-bar-navigation .main-navigation ul {
    flex-wrap: nowrap !important;
    white-space: nowrap;
}

/* Reduce spacing between menu items */
.main-header-bar-navigation .main-navigation ul li {
    margin: 0 10px; /* adjust smaller if needed */
}

/* Reduce font size slightly (optional) */
.main-header-bar-navigation .main-navigation ul li a {
    font-size: 13px; /* try 13px if still too wide */
}
.ehf-header #masthead{
    z-index: 99;
    position: relative;
}

/* Sticky Elementor Header 
#sticky-header {
    position: relative;
  transition: all 0.3s ease;
  z-index: 9999;
}

#sticky-header.sticky {
 position: fixed;
    padding: 21px;
    padding-left: 100px;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.4s ease; 
}


body.has-sticky {
  padding-top: 100px; 
  transition: padding 0.4s ease; 
}


@media (max-width: 1024px) {
  #sticky-header.sticky {
    position: relative !important;
    box-shadow: none;
  }
  body.has-sticky {
    padding-top: 0 !important;
  }
}
*/
/* Main header - always visible */
#main-header {
  position: relative !important;
  z-index: 1000;
  display: block !important; /* force show */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Sticky header - hidden initially */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(-30px);
  transition: all 0.6s ease;
  z-index: 9999;
  pointer-events: none; /* avoids clicking when hidden */
}

/* Sticky becomes visible */
#sticky-header.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Hide sticky on mobile */
@media (max-width: 1024px) {
  #sticky-header {
    display: none !important;
  }
}
