@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//mashmoshem.co.id/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=8.2.7") format("woff2");
	font-display:fallback;
}

:root {
	--wd-text-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(53,53,53);
	--wd-text-font-size: 17px;
	--wd-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(142, 142, 142);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(67,92,16);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: rgb(67,92,16);
	--wd-link-color-hover: rgb(30,115,190);
	--btn-default-bgcolor: rgb(67,92,16);
	--btn-default-bgcolor-hover: rgb(0,0,0);
	--btn-default-color: rgb(255,255,255);
	--btn-default-color-hover: rgb(255,255,255);
	--btn-accented-bgcolor: rgb(67,92,16);
	--btn-accented-bgcolor-hover: rgb(237,237,237);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgba(255,255,255,0);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	--wd-popup-width: 950px;
	--wd-popup-padding: 0px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title {
	background-color: rgb(0,0,0);
	background-image: url(https://mashmoshem.co.id/wp-content/uploads/2024/09/MMI-Blog.webp);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-footer {
	background-color: rgb(45,45,45);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-text-font-size: 17px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-text-font-size: 16px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 35px;
--btn-accented-color: #fff;
--btn-accented-color-hover: #333;
--btn-default-bottom-active: -1px;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-default-box-shadow-hover: inset 0 -2px 0 rgba(0, 0, 0, .15);
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* ============================
   TITLE STYLING FOR LISTINGS
   ============================ */
.wd-entities-title.post-title {
  min-height: 100px;         /* Ensures consistent minimum height for titles */
  max-height: 100px;         /* Prevents titles from exceeding this height */
  overflow: hidden;          /* Hides overflowed text beyond 100px height */
  white-space: normal;       /* Allows multi-line titles instead of single-line */
}

/* ============================
   FORMAT LINK POST CLEANING
   ============================ */
.format-link .entry-content a {
  display: inline !important;             /* Forces link to behave inline (no block wrapping) */
  padding: 0 !important;                  /* Removes default link padding */
  background-color: transparent !important; /* Removes any background */
  font-size: inherit !important;         /* Inherits font size from parent */
  text-decoration: none !important;      /* Removes underline on links */
}

/* ============================
   POPUP MAKER FORCE DISPLAY
   ============================ */
.pum-overlay.pum-active,
.pum-overlay.pum-active .popmake.active {
  display: block !important;  /* Ensures active popup and overlay are visible */
}

/* ============================
   PAGE-SPECIFIC FONT SIZE
   ============================ */
.page-id-10735.wd-entry-content {
  font-size: 14px !important;  /* Forces smaller font size on specific page */
}

/* ============================
   RESPONSIVE CTA BANNERS
   ============================ */

/* Default state: hide both CTA banners */
.CTAARTIKELMOBILE, .CTAARTIKELDESKTOP {
  display: none !important;
}

/* On mobile: show only mobile CTA with bounce animation */
@media (max-width: 768px) {
  .CTAARTIKELMOBILE {
    display: block !important;
    animation: bounce 1.5s ease-in-out infinite;
  }
  .CTAARTIKELDESKTOP {
    display: none !important;
  }
}

/* On desktop: show only desktop CTA with bounce animation */
@media (min-width: 769px) {
  .CTAARTIKELDESKTOP {
    display: block !important;
    animation: bounce 1.5s ease-in-out infinite;
  }
  .CTAARTIKELMOBILE {
    display: none !important;
  }
}

/* Bounce animation used for CTAs */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);  /* Original position */
  }
  50% {
    transform: translateY(-10px); /* Moves element up temporarily */
  }
}

/* ============================
   GLOBAL COLOR UTILITY CLASS
   ============================ */
.custom_color {
  color: #435C10 !important;  /* Custom olive green color */
}

/* ============================
   IMAGE WIDGET ANIMATION
   ============================ */
.widget_media_image a img {
  animation: growPulse 3s infinite ease-in-out !important;  /* Subtle pulsing scale effect */
}

@keyframes growPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1); /* Grows image slightly */
  }
}

/* ============================================================
   PRODUCT PACKAGING & TAB CAROUSEL
   ============================================================ */

/* Carousel container: horizontal scroll area */
.packaging-carousel-wrapper,
.tab-carousel-wrapper {
  position: relative !important;
  padding-top: 5px !important;
  padding-bottom: 10px !important;
  overflow-x: scroll !important;        /* Enables horizontal scroll */
  overflow-y: hidden !important;        /* Prevents vertical scroll */
  -webkit-overflow-scrolling: auto !important;
  width: 100% !important;
  display: block !important;
}

/* Carousel track: flex container for items */
.packaging-carousel,
.tab-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important;
  padding-left: 10px !important;
  margin: 0 !important;
  align-items: flex-start !important;
}

/* Each item inside the carousel */
.packaging-item {
  flex: 0 0 auto !important;  /* Prevent item from stretching */
  text-align: center !important;
  width: 130px !important;
}

/* Image inside each item */
.packaging-item img {
  width: 100% !important;
  height: auto !important;
  border-radius: 6px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.2s ease !important;
}

/* Hover effect for carousel image */
.packaging-item img:hover {
  transform: scale(1.05) !important;
}

/* Text label under image */
.packaging-item div {
  margin-top: 8px !important;
  font-size: 14px !important;
}

/* Desktop and tablet view: center align carousel content */
@media (min-width: 768px) {
  .packaging-carousel-wrapper {
    display: flex !important;
    justify-content: center !important;
    overflow-x: scroll !important;
  }
  .packaging-carousel {
    justify-content: center !important;
  }
}

/* Tablet only: adjust left padding for alignment */
@media (min-width: 768px) and (max-width: 1024px) {
  .packaging-carousel-wrapper {
    padding-left: 200px !important;
    padding-right: 20px !important;
  }
  .packaging-carousel {
    padding-left: 0 !important;
  }
}

/* Scrollbar styling to make horizontal scrollbar visible */
.scroll-visible::-webkit-scrollbar {
  height: 10px !important;
  display: block !important;
}
.scroll-visible::-webkit-scrollbar-thumb {
  background-color: rgba(120, 120, 120, 0.5) !important;
  border-radius: 6px !important;
}
.scroll-visible::-webkit-scrollbar-track {
  background-color: rgba(0, 0, 0, 0.08) !important;
}
.scroll-visible {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(120, 120, 120, 0.5) rgba(0, 0, 0, 0.08) !important;
  -webkit-overflow-scrolling: auto !important;
  overscroll-behavior-x: contain !important;
  touch-action: pan-x !important;
}

/* Show arrow on mobile to hint that carousel is scrollable */
@media (max-width: 768px) {
  .packaging-carousel-wrapper.scroll-visible::after {
    content: "⟶" !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 32px !important;
    color: #435c10 !important;
    animation: pulse-grow 1.2s infinite ease-in-out !important;
    pointer-events: none !important;
    z-index: 10;
  }
}

/* Animation for arrow scroll hint */
@keyframes pulse-grow {
  0%, 100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0.6;
  }
}

/* ============================
   RESPONSIVE SIZE OPTIONS
   ============================ */
/* Center-align size buttons only on mobile */
@media (max-width: 767px) {
  .center-on-mobile {
    justify-content: center !important;
  }
}
/* Keep left-aligned on tablet and desktop */
@media (min-width: 768px) {
  .center-on-mobile {
    justify-content: flex-start !important;
  }
}

/* ============================
   ADD TO CART BUTTON ICON
   ============================ */
/* Adds search icon before 'Add to Cart' button text */
a.button.product_type_variable.add_to_cart_button.add-to-cart-loop::before {
  content: "\f002" !important;                 /* Font Awesome search icon */
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  font-size: 16px !important;
  line-height: 1 !important;
  margin-right: 8px !important;
  margin-top: 13px !important;
  vertical-align: middle !important;
}

/* Hides WooCommerce quick view icons/tooltips */
.add_to_cart_button .wd-tools-icon,
.add_to_cart_button .wd-tooltip {
  display: none !important;
}

/* ============================
   HIDE ALL PRICE ELEMENTS
   ============================ */
/* Targets all price-related elements in WooCommerce */
.price,
.woocommerce-Price-amount,
.woocommerce-Price-currencySymbol,
.woocommerce-Price-amount bdi,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce span.woocommerce-Price-amount,
.woocommerce div.product .woocommerce-variation-price,
.woocommerce div.product .woocommerce-variation-availability,
.woocommerce-Price-amount {
  display: none !important;
}

/* ============================
   ✅ GOOGLE FONT IMPORT
   ============================ */
@import url('https://fonts.googleapis.com/css2?family=Albert+Sans:wght@400;600;700&display=swap');

/* ============================
   ✅ ACF SIZE BADGE STYLING
   ============================ */
.product-sizes {
  padding: 18px 0 !important;
  border-bottom: 1px solid #ccc !important;
  margin-bottom: 24px !important;
}

.product-sizes p {
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: bold !important;
  font-size: 18px !important;
  margin-bottom: 10px !important;
}

.size-options {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  font-family: 'Albert Sans', sans-serif !important;
}

.size-badge {
  display: inline-block !important;
  padding: 4px 8px !important;
  background-color: #f0f0f0 !important;
  color: #000 !important;
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: bold !important;
  border-radius: 9999px !important;
  font-size: 14px !important;
  text-align: center !important;
}

@media (max-width: 768px) {
  .size-options {
    justify-content: center !important;
  }
}

/* ============================
   ✅ CUSTOM FAQ SECTION
   ============================ */
.custom-faq-wrapper {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.custom-faq-column {
  flex: 1 1 100%;
}

@media (min-width: 768px) {
  .custom-faq-column {
    flex: 1 1 48%;
  }
}

.faq-item {
  background: #f5f5f5;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 15px;
  font-family: 'Albert Sans', sans-serif !important;
  font-weight: 600;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: #111;
}

.faq-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(90deg);
}

.faq-answer {
  font-family: 'Albert Sans', sans-serif !important;
  padding: 0 16px 14px 16px;
  font-size: 14px;
  color: #333;
  line-height: 1.5;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.mm-faq-wrapper {
	margin-top: 40px !important;
	padding-top: 40px !important;
	margin-bottom: -20px !important;
	border-top: 2px solid #eee;
}

@media (max-width: 767px) {
	.mm-faq-wrapper {
		margin-top: 10px !important;
		padding-top: 10px !important;
		border-top: none !important;
	}
}

/* ============================
   INGREDIENTS STYLING
   ============================ */
.mm-product-ingredients {
  margin-top: 40px;
}

.mm-ingredients-title {
  font-family: 'Marcellus', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.mm-ingredients-list {
  font-family: 'Marcellus', serif;
  font-size: 16px;
  font-weight: 400;
  color: rgb(93, 91, 91);
  text-align: justify;
}

.single_add_to_cart_button {
	margin-top: -20px !important;
}

/* ============================
   ✅ ADD TO CART BUTTON FIX
   ============================ */
.single_add_to_cart_button {
  margin-top: 0px !important;
}

/* ============================
   ✅ HIDE SWATCHES FROM SHOP ARCHIVE
   ============================ */
.woocommerce.archive .wd-swatches-product {
  display: none !important;
}


/* Reduce style/layout work for below-fold sections */
.cv-auto { content-visibility: auto; contain-intrinsic-size: 1px 800px; }

/* Avoid costly animations on load (still run on interaction) */
.mm-reduce-onload * { animation-play-state: paused; transition: none; }
