:root {
    --moulcod-primary: #238b2f;
    --moulcod-primary-hover: #1f7c2a;
    --moulcod-border: #d7d7d7;
    --moulcod-text: #111111;
    --moulcod-muted: #666666;
    --moulcod-button-bg: #238b2f;
    --moulcod-button-bg-hover: #1f7c2a;
    --moulcod-button-text: #ffffff;
    --moulcod-regular-price: #555555;
    --moulcod-promo-price: #111111;
    --moulcod-badge-bg: #d71919;
    --moulcod-badge-text: #ffffff;
    --moulcod-button-font-size: 16px;
    --moulcod-whatsapp-size: 48px;
}

.moulcod-order-form-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto 32px;
    padding: 0 8px 20px;
    background: transparent;
    color: var(--moulcod-text);
    font-family: inherit;
    box-sizing: border-box;
}

.single-product .product_title:not(.moulcod-product-title),
.single-product .price:not(.amount) {
    display: none !important;
}

.single-product .product_meta,
.single-product .posted_in {
    display: none !important;
}

.single-product .woocommerce-tabs,
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-Reviews,
.single-product #reviews,
.single-product #tab-description,
.single-product .wp-block-woocommerce-product-details,
.single-product .wp-block-woocommerce-product-reviews,
.single-product .wc-block-components-review-list,
.single-product .wc-block-review-list {
    display: none !important;
}

.single-product .elementor-widget-woocommerce-product-title > .elementor-widget-container > :not(.moulcod-order-form-container),
.single-product .elementor-widget-woocommerce-product-price > .elementor-widget-container > :not(.moulcod-order-form-container),
.single-product .elementor-widget-woocommerce-product-meta > .elementor-widget-container > :not(.moulcod-order-form-container),
.single-product .elementor-widget-woocommerce-product-data-tabs > .elementor-widget-container > :not(.moulcod-order-form-container),
.single-product .elementor-widget-woocommerce-product-rating > .elementor-widget-container > :not(.moulcod-order-form-container),
.single-product .elementor-widget-woocommerce-product-add-to-cart > .elementor-widget-container > form.cart,
.single-product .elementor-widget-product-add-to-cart > .elementor-widget-container > form.cart {
    display: none !important;
}

.woocommerce-product-gallery.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.product .images.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.wp-block-woocommerce-product-image-gallery.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.wc-block-components-product-image-gallery.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.wp-block-post-featured-image.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.elementor-widget-woocommerce-product-images .elementor-widget-container.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery),
.elementor-widget-theme-post-featured-image .elementor-widget-container.moulcod-has-color-gallery > :not(.moulcod-color-product-gallery) {
    display: none !important;
}

.moulcod-color-product-gallery {
    width: 100%;
}

.products .product.moulcod-adding-to-cart,
.elementor-products-grid .product.moulcod-adding-to-cart,
.elementor-widget-woocommerce-products .product.moulcod-adding-to-cart,
.elementor-widget-wc-archive-products .product.moulcod-adding-to-cart,
.elementor-widget-loop-grid .e-loop-item.product.moulcod-adding-to-cart,
.elementor-widget-loop-grid .e-loop-item.type-product.moulcod-adding-to-cart,
.wc-block-grid__product.moulcod-adding-to-cart,
.wc-block-product.moulcod-adding-to-cart,
.wp-block-post.type-product.moulcod-adding-to-cart,
.moulcod-loop-product-card.moulcod-adding-to-cart {
    opacity: 0.72;
    pointer-events: none;
}

.moulcod-color-product-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
}

.moulcod-color-product-gallery.is-single .moulcod-color-product-gallery-grid {
    grid-template-columns: minmax(0, 1fr);
}

.moulcod-color-product-gallery-item {
    display: flex;
    aspect-ratio: 1 / 1.28;
    align-items: center;
    justify-content: center;
    background: #f3f3f3;
    overflow: hidden;
    text-decoration: none !important;
}

.moulcod-color-product-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moulcod-color-product-gallery-slider {
    display: none;
}

.moulcod-color-gallery-stage {
    position: relative;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    overflow: hidden;
}

.moulcod-color-product-gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.moulcod-color-product-gallery-slide.is-active {
    display: flex;
}

.moulcod-color-product-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moulcod-color-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font-size: 32px;
    font-weight: 300;
    line-height: 48px;
    text-align: center;
    transform: translateY(-50%);
    cursor: pointer;
}

.moulcod-color-gallery-nav.is-prev {
    left: 8px;
}

.moulcod-color-gallery-nav.is-next {
    right: 8px;
}

.moulcod-color-product-gallery.is-single .moulcod-color-gallery-nav {
    display: none;
}

.moulcod-color-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin-top: 4px;
}

.moulcod-color-gallery-thumb {
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid transparent;
    background: #e4e4e4;
    cursor: pointer;
    overflow: hidden;
}

.moulcod-color-gallery-thumb.is-active {
    border-color: #111;
}

.moulcod-color-gallery-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moulcod-desktop-layout-thumbs-left .moulcod-color-product-gallery-grid,
.moulcod-desktop-layout-thumbs-bottom .moulcod-color-product-gallery-grid,
.moulcod-desktop-layout-single .moulcod-color-product-gallery-grid {
    display: none;
}

.moulcod-desktop-layout-thumbs-left .moulcod-color-product-gallery-slider {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
}

.moulcod-desktop-layout-thumbs-left .moulcod-color-gallery-stage {
    grid-column: 2;
    grid-row: 1;
}

.moulcod-desktop-layout-thumbs-left .moulcod-color-gallery-thumbs {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 1fr;
    margin-top: 0;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-product-gallery-slider,
.moulcod-desktop-layout-single .moulcod-color-product-gallery-slider {
    display: block;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-product-gallery-slider {
    position: relative;
    padding-bottom: 6px;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-stage {
    aspect-ratio: 1 / 1.16;
    margin-bottom: 18px;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin: 0 42px;
    overflow-x: auto;
    scrollbar-width: none;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-thumb {
    width: 124px;
    height: 124px;
    aspect-ratio: auto;
    flex: 0 0 124px;
    border: 2px solid transparent;
    background: #f0f0f0;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-thumb.is-active {
    border-color: #111;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-nav {
    top: auto;
    bottom: 42px;
    width: 26px;
    height: 38px;
    color: #9ca3af;
    font-size: 24px;
    line-height: 38px;
    transform: none;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-nav.is-prev {
    left: 0;
}

.moulcod-desktop-layout-thumbs-bottom .moulcod-color-gallery-nav.is-next {
    right: 0;
}

.moulcod-desktop-layout-single .moulcod-color-gallery-thumbs {
    display: none;
}

.moulcod-desktop-layout-masonry .moulcod-color-product-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moulcod-desktop-layout-masonry .moulcod-color-product-gallery-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 1 / 0.62;
}

.moulcod-product-kicker {
    margin-bottom: 4px;
    color: #555;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.moulcod-product-title {
    margin: 0 0 12px;
    color: #111;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: 0;
}

.moulcod-product-price-container {
    margin-bottom: 16px;
}

.moulcod-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: #111;
}

.moulcod-old-price {
    color: var(--moulcod-regular-price) !important;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: line-through;
}

.moulcod-old-price .amount {
    color: inherit;
}

.moulcod-new-price {
    color: var(--moulcod-promo-price) !important;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.moulcod-new-price .amount {
    color: inherit;
}

.moulcod-sale-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 14px;
    border-radius: 3px;
    background: var(--moulcod-badge-bg);
    color: var(--moulcod-badge-text);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.moulcod-order-form-container[dir="rtl"] {
    text-align: right;
}

.moulcod-order-form-container[dir="ltr"] {
    text-align: left;
}

.moulcod-product-swatches {
    margin: 0 0 24px;
}

.moulcod-swatch-field + .moulcod-swatch-field {
    margin-top: 12px;
}

.moulcod-swatch-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 8px;
    color: var(--moulcod-muted);
    font-size: 0.9rem;
    line-height: 1.3;
}

.moulcod-swatch-label span {
    font-weight: 500;
}

.moulcod-swatch-label strong {
    color: #555;
    font-weight: 600;
}

.moulcod-swatch-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}

.moulcod-color-swatch,
.moulcod-size-swatch {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.moulcod-color-swatch {
    position: relative;
    display: inline-flex !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    min-height: 34px !important;
    box-sizing: border-box !important;
    flex: 0 0 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px !important;
    border: 1px solid #cfcfcf !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
    overflow: visible;
    font-size: 0 !important;
    line-height: 0 !important;
}

.moulcod-color-swatch span {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.14) !important;
    border-radius: 999px !important;
    background: var(--moulcod-swatch-color) !important;
}

.moulcod-color-swatch.is-selected {
    border-color: #111 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.moulcod-size-swatch {
    min-width: 48px;
    min-height: 34px;
    padding: 6px 14px !important;
    border: 1px solid #111 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1;
}

.moulcod-size-swatch.is-selected {
    border-color: var(--moulcod-primary) !important;
    background: var(--moulcod-primary) !important;
    color: #fff !important;
}

.moulcod-size-swatch.is-disabled {
    position: relative;
    border-color: #d7d7d7 !important;
    color: #b32d2e !important;
    background: #fafafa !important;
    opacity: 0.72;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
}

.moulcod-size-swatch.is-disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 48%, #d71919 48%, #d71919 52%, transparent 52%);
    pointer-events: none;
    border-radius: 999px;
}

.moulcod-upsell-box {
    margin: -6px 0 20px;
}

.moulcod-upsell-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
    margin-bottom: 6px;
    color: #666;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.35;
}

.moulcod-upsell-title [data-moulcod-selected-upsell] {
    color: #555;
    font-weight: 400;
}

.moulcod-upsell-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
}

.moulcod-upsell-option {
    display: inline-flex !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px !important;
    border: 1px solid #111 !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #111 !important;
    box-shadow: none !important;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    text-transform: none !important;
    text-decoration: none !important;
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.moulcod-upsell-option.is-selected {
    border-color: var(--moulcod-primary) !important;
    background: var(--moulcod-primary) !important;
    color: #fff !important;
}

.moulcod-color-swatch:hover,
.moulcod-size-swatch:hover,
.moulcod-upsell-option:hover {
    transform: translateY(-1px);
}

.moulcod-form-note-row {
    position: relative;
    display: flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    margin: 0 0 20px;
    padding: 0;
}

.moulcod-form-note {
    margin: 0;
    padding-top: 3px;
    color: #111;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: center;
}

.moulcod-whatsapp-button {
    display: inline-flex;
    width: var(--moulcod-whatsapp-size);
    height: var(--moulcod-whatsapp-size);
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #fff !important;
    box-shadow: none;
    line-height: 1;
    text-decoration: none !important;
    overflow: hidden;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.moulcod-whatsapp-button:hover,
.moulcod-whatsapp-button:focus {
    background: transparent;
    color: #fff !important;
    filter: brightness(1.06);
}

.moulcod-whatsapp-button img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0 !important;
    border-radius: 50%;
    box-shadow: none !important;
}

.moulcod-whatsapp-floating-button {
    position: fixed;
    right: 18px;
    left: auto;
    bottom: 18px;
    z-index: 99999;
    width: var(--moulcod-whatsapp-size);
    height: var(--moulcod-whatsapp-size);
    min-width: var(--moulcod-whatsapp-size);
    max-width: var(--moulcod-whatsapp-size);
    min-height: var(--moulcod-whatsapp-size);
    max-height: var(--moulcod-whatsapp-size);
    flex: 0 0 var(--moulcod-whatsapp-size);
    padding: 0 !important;
}

.moulcod-whatsapp-floating-button:hover,
.moulcod-whatsapp-floating-button:focus {
    transform: translateY(-2px);
}

.moulcod-whatsapp-floating-button img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

body.moulcod-whatsapp-position-left .moulcod-whatsapp-floating-button {
    right: auto;
    left: 18px;
}

.moulcod-order-summary {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 22px;
    padding: 14px 0 14px 6px;
    border-top: 1px solid var(--moulcod-border);
    border-bottom: 1px solid var(--moulcod-border);
}

.moulcod-summary-qty {
    position: absolute;
    top: 3px;
    left: 54px;
    z-index: 2;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #8a8a8a;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
}

.moulcod-summary-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 5px;
    background: #f4f4f4;
    overflow: hidden;
}

.moulcod-summary-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.moulcod-summary-copy {
    min-width: 0;
}

.moulcod-summary-copy strong {
    display: block;
    color: #111;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1.15;
}

.moulcod-summary-meta {
    display: block;
    margin-top: 3px;
    color: #555;
    font-size: 0.83rem;
    line-height: 1.2;
}

.moulcod-summary-price {
    color: var(--moulcod-promo-price);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.moulcod-summary-price .amount {
    color: inherit;
}

.moulcod-summary-discount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -10px 0 18px;
    padding: 10px 0;
    border-bottom: 1px solid var(--moulcod-border);
    color: var(--moulcod-primary);
    font-size: 0.92rem;
    font-weight: 700;
}

.moulcod-summary-discount strong {
    color: inherit;
    font-weight: 800;
}

.moulcod-form-group {
    margin-bottom: 20px;
}

.moulcod-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #111;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}

.moulcod-required {
    margin-inline-start: 2px;
    color: #e11919;
}

.moulcod-input-shell {
    display: flex;
    min-height: 46px;
    border: 1px solid #bfbfbf;
    border-radius: 5px;
    background: #fff;
    overflow: hidden;
}

.moulcod-input-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    background: #e6e6e6;
    color: #111;
}

.moulcod-input-icon svg,
.moulcod-btn-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.moulcod-input-shell input[type="text"],
.moulcod-input-shell input[type="tel"] {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #333;
    font-size: 0.95rem;
    padding: 0 14px !important;
    outline: none;
}

.moulcod-input-shell:focus-within {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06);
}

.moulcod-order-form-container[dir="rtl"] input[type="tel"] {
    text-align: right;
}

.moulcod-coupon-row {
    display: grid;
    grid-template-columns: 1fr 122px;
    gap: 2px;
    margin: 2px 0 12px;
}

.moulcod-coupon-row input {
    min-height: 45px;
    border: 1px solid #bfbfbf !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #333;
    font-size: 0.95rem;
    padding: 0 14px !important;
}

.moulcod-coupon-btn {
    min-height: 45px;
    border: 0;
    border-radius: 5px;
    background: #050505;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
}

.moulcod-coupon-btn.is-active {
    background: var(--moulcod-primary);
}

.moulcod-coupon-message {
    margin: -4px 0 12px;
    font-size: 0.86rem;
    font-weight: 700;
}

.moulcod-coupon-message.is-success {
    color: var(--moulcod-primary);
}

.moulcod-coupon-message.is-error {
    color: #d71919;
}

.moulcod-submit-group {
    position: relative;
    margin-top: 10px;
}

.moulcod-submit-group.moulcod-sticky-desktop,
.moulcod-submit-group.moulcod-sticky-mobile {
    z-index: 9999;
}

.moulcod-submit-btn {
    display: flex;
    width: 100%;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--moulcod-button-bg) !important;
    color: var(--moulcod-button-text) !important;
    cursor: pointer;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.moulcod-submit-btn:hover {
    background: var(--moulcod-button-bg-hover) !important;
    transform: translateY(-1px);
}

.moulcod-submit-btn.loading {
    opacity: 0.82;
    pointer-events: none;
}

.moulcod-button-animation-pulse .moulcod-submit-btn {
    animation: moulcodButtonPulse 1.8s ease-in-out infinite;
}

.moulcod-button-animation-shake .moulcod-submit-btn {
    animation: moulcodButtonShake 1.7s ease-in-out infinite;
}

.moulcod-button-animation-bounce .moulcod-submit-btn {
    animation: moulcodButtonBounce 1.8s ease-in-out infinite;
}

.moulcod-button-animation-heartbeat .moulcod-submit-btn {
    animation: moulcodButtonHeartbeat 1.6s ease-in-out infinite;
}

.moulcod-btn-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    line-height: 1.15;
}

.moulcod-btn-copy strong {
    color: inherit;
    font-size: var(--moulcod-button-font-size);
    font-weight: 800;
}

.moulcod-btn-copy small {
    color: inherit;
    font-size: calc(var(--moulcod-button-font-size) * 0.82);
    font-weight: 600;
}

.moulcod-loading-spinner {
    width: 22px;
    height: 22px;
    margin-inline-start: 10px;
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: moulcodSpin 1s linear infinite;
}

@keyframes moulcodSpin {
    to { transform: rotate(360deg); }
}

@keyframes moulcodButtonPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(35, 139, 47, 0.28); transform: scale(1); }
    50% { box-shadow: 0 0 0 12px rgba(35, 139, 47, 0); transform: scale(1.015); }
}

@keyframes moulcodButtonShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50% { transform: translateX(-4px); }
    20%, 40%, 60% { transform: translateX(4px); }
    70% { transform: translateX(0); }
}

@keyframes moulcodButtonBounce {
    0%, 100% { transform: translateY(0); }
    35% { transform: translateY(-5px); }
    55% { transform: translateY(0); }
    70% { transform: translateY(-2px); }
}

@keyframes moulcodButtonHeartbeat {
    0%, 100% { transform: scale(1); }
    20% { transform: scale(1.04); }
    35% { transform: scale(1); }
    50% { transform: scale(1.025); }
}

.moulcod-product-extra-content {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--moulcod-border);
}

.moulcod-product-extra-content strong {
    display: block;
    margin-bottom: 8px;
    color: var(--moulcod-extra-title-color, var(--moulcod-text));
    font-size: 0.95rem;
    font-weight: 800;
}

.moulcod-product-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.moulcod-product-category-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid var(--moulcod-border);
    border-radius: 999px;
    background: #fff;
    color: var(--moulcod-text);
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none !important;
}

.moulcod-product-category-list a:hover {
    border-color: var(--moulcod-primary);
    color: var(--moulcod-primary);
}

.moulcod-product-description-content {
    color: var(--moulcod-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.moulcod-product-description-content > :first-child {
    margin-top: 0;
}

.moulcod-product-description-content > :last-child {
    margin-bottom: 0;
}

.moulcod-message-container {
    margin-top: 18px;
    padding: 14px;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

.moulcod-message-container.success {
    border: 1px solid #10b981;
    background: #ecfdf5;
    color: #065f46;
}

.moulcod-message-container.error {
    border: 1px solid #ef4444;
    background: #fef2f2;
    color: #991b1b;
}

@media (min-width: 769px) {
    .moulcod-submit-group.moulcod-sticky-desktop {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 0;
        background: transparent;
        backdrop-filter: blur(8px);
        overflow: hidden;
    }

    .moulcod-submit-group.moulcod-sticky-desktop .moulcod-submit-btn {
        width: 100%;
        min-height: 76px;
        padding-right: 96px !important;
        padding-left: 96px !important;
        border-radius: 0 !important;
    }

    .moulcod-submit-group.moulcod-sticky-desktop .moulcod-submit-btn:hover {
        transform: none;
    }

    body.moulcod-sticky-button-desktop-enabled {
        padding-bottom: 76px;
    }

    body.moulcod-sticky-button-desktop-enabled .moulcod-whatsapp-floating-button {
        right: 18px;
        left: auto;
        bottom: 14px;
        box-shadow: none;
    }

    body.moulcod-whatsapp-position-left.moulcod-sticky-button-desktop-enabled .moulcod-whatsapp-floating-button {
        right: auto;
        left: 18px;
    }

    body.moulcod-sticky-button-desktop-enabled .moulcod-whatsapp-floating-button img {
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 768px) {
    .moulcod-submit-group.moulcod-sticky-mobile {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 0;
        background: var(--moulcod-button-bg) !important;
        overflow: hidden;
    }

    .moulcod-submit-group.moulcod-sticky-mobile .moulcod-submit-btn {
        width: 100%;
        min-height: 66px;
        padding-right: 82px !important;
        padding-left: 82px !important;
        border-radius: 0 !important;
    }

    .moulcod-submit-group.moulcod-sticky-mobile .moulcod-submit-btn:hover {
        transform: none;
    }

    body.moulcod-sticky-button-mobile-enabled {
        padding-bottom: 66px;
    }

    .moulcod-whatsapp-floating-button {
        right: 18px;
        left: auto;
        bottom: 22px;
    }

    body.moulcod-whatsapp-position-left .moulcod-whatsapp-floating-button {
        right: auto;
        left: 18px;
    }

    .moulcod-whatsapp-floating-button img {
        width: 100%;
        height: 100%;
    }

    /* Smart Sticky Mobile Button */
    body.moulcod-sticky-button-mobile-enabled .moulcod-smart-sticky-container {
        display: block !important;
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        margin: 0;
        padding: 0;
        background: var(--moulcod-button-bg) !important;
        overflow: hidden;
        z-index: 9999;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    body.moulcod-sticky-button-mobile-enabled .moulcod-smart-sticky-container.is-visible {
        transform: translateY(0);
        pointer-events: auto;
    }

    .moulcod-smart-sticky-btn {
        width: 100%;
        min-height: 66px;
        padding-right: 82px !important;
        padding-left: 82px !important;
        border-radius: 0 !important;
        background: transparent !important;
        border: none !important;
        color: var(--moulcod-button-text) !important;
        font-family: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .moulcod-smart-sticky-btn .moulcod-submit-text {
        font-size: var(--moulcod-button-font-size);
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--moulcod-button-text) !important;
    }

    .moulcod-smart-sticky-btn .moulcod-submit-subtitle {
        font-size: 13px;
        opacity: 0.9 !important;
        margin-top: 2px;
        color: var(--moulcod-button-text) !important;
    }

    body.moulcod-sticky-button-mobile-enabled .moulcod-whatsapp-floating-button {
        right: 14px;
        left: auto;
        bottom: 9px;
        box-shadow: none;
    }

    body.moulcod-whatsapp-position-left.moulcod-sticky-button-mobile-enabled .moulcod-whatsapp-floating-button {
        right: auto;
        left: 14px;
    }

    body.moulcod-sticky-button-mobile-enabled .moulcod-whatsapp-floating-button img {
        width: 100%;
        height: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .moulcod-button-animation-pulse .moulcod-submit-btn,
    .moulcod-button-animation-shake .moulcod-submit-btn,
    .moulcod-button-animation-bounce .moulcod-submit-btn,
    .moulcod-button-animation-heartbeat .moulcod-submit-btn {
        animation: none !important;
    }
}

.woo-variation-items-wrapper,
.woocommerce-variation-add-to-cart {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .moulcod-color-product-gallery-grid,
    .moulcod-color-product-gallery-slider {
        display: none;
    }

    .moulcod-mobile-layout-grid .moulcod-color-product-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .moulcod-mobile-layout-grid .moulcod-color-product-gallery-item:first-child {
        grid-column: auto;
        aspect-ratio: 1 / 1.28;
    }

    .moulcod-mobile-layout-masonry .moulcod-color-product-gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .moulcod-mobile-layout-masonry .moulcod-color-product-gallery-item:first-child {
        grid-column: 1 / -1;
        aspect-ratio: 1 / 0.62;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-product-gallery-slider,
    .moulcod-mobile-layout-single .moulcod-color-product-gallery-slider {
        display: block;
        width: 100%;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-product-gallery-slider {
        position: relative;
        padding-bottom: 6px;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-stage {
        aspect-ratio: 1 / 1.25;
        margin-bottom: 18px;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-thumbs {
        display: flex;
        gap: 8px;
        margin: 0 34px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-thumbs::-webkit-scrollbar {
        display: none;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-thumb {
        width: 122px;
        height: 122px;
        aspect-ratio: auto;
        flex: 0 0 122px;
        border: 2px solid transparent;
        background: #f0f0f0;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-thumb.is-active {
        border-color: #111;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-nav {
        top: auto;
        bottom: 42px;
        width: 24px;
        height: 38px;
        color: #9ca3af;
        font-size: 22px;
        line-height: 38px;
        transform: none;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-nav.is-prev {
        left: 0;
    }

    .moulcod-mobile-layout-thumbs-bottom .moulcod-color-gallery-nav.is-next {
        right: 0;
    }

    .moulcod-mobile-layout-single .moulcod-color-gallery-thumbs {
        display: none;
    }

    .moulcod-mobile-layout-thumbs-left .moulcod-color-product-gallery-slider {
        display: grid;
        grid-template-columns: 66px minmax(0, 1fr);
        gap: 6px;
    }

    .moulcod-mobile-layout-thumbs-left .moulcod-color-gallery-stage {
        grid-column: 2;
        grid-row: 1;
    }

    .moulcod-mobile-layout-thumbs-left .moulcod-color-gallery-thumbs {
        grid-column: 1;
        grid-row: 1;
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .moulcod-order-form-container {
        max-width: 100% !important;
        padding: 0 6px 20px !important;
    }

    /* Force the product page and standard WordPress/Elementor wrappers to be full-width on mobile */
    body.single-product {
        overflow-x: hidden !important;
    }

    .single-product .moulcod-product-page {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .single-product .site-main,
    .single-product .content-area,
    .single-product .container,
    .single-product .site-content,
    .single-product #content,
    .single-product #primary,
    .single-product .entry-content,
    .single-product article,
    .single-product .woocommerce,
    .single-product .product,
    .single-product .elementor-section,
    .single-product .elementor-container,
    .single-product .elementor-column,
    .single-product .elementor-widget-wrap,
    .single-product .e-con,
    .single-product .e-con-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .moulcod-product-title {
        font-size: 1.85rem;
    }

    .moulcod-product-swatches {
        margin-bottom: 24px;
    }

    .moulcod-order-summary {
        grid-template-columns: 58px 1fr auto;
        gap: 10px;
    }
}

@media (max-width: 420px) {
    .moulcod-product-title {
        font-size: 1.6rem;
    }

    .moulcod-upsell-options {
        gap: 8px;
    }

    .moulcod-upsell-option {
        min-height: 36px;
        padding: 6px !important;
        font-size: 0.75rem;
    }

    .moulcod-whatsapp-floating-button {
        right: 16px;
        left: auto;
    }

    body.moulcod-whatsapp-position-left .moulcod-whatsapp-floating-button {
        right: auto;
        left: 16px;
    }

    .moulcod-whatsapp-floating-button img {
        width: 100%;
        height: 100%;
    }

    .moulcod-coupon-row {
        grid-template-columns: 1fr 108px;
    }

    .moulcod-summary-price {
        font-size: 0.88rem;
    }
}

/* Out of Stock Styling */
.moulcod-out-of-stock-badge-enabled {
    position: relative;
}

.moulcod-out-of-stock-badge-enabled img {
    opacity: 0.72;
    filter: grayscale(40%);
}

body.moulcod-hide-sale-out-of-stock .moulcod-out-of-stock-badge-enabled .onsale,
body.moulcod-hide-sale-out-of-stock .moulcod-out-of-stock-badge-enabled .moulcod-sale-badge {
    display: none !important; /* Hide sale badges when out of stock and option is empty */
}

.moulcod-out-of-stock-badge {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 6px;
    border-radius: 2px;
    background: var(--moulcod-out-of-stock-bg, transparent) !important;
    color: var(--moulcod-out-of-stock-text, #d71919) !important;
    font-size: 0.72rem; /* small size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    pointer-events: none;
}

/* Single product page out of stock button styling */
.moulcod-submit-btn.is-out-of-stock-faded {
    opacity: 0.55 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
}

.moulcod-out-of-stock-indicator-btn {
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--moulcod-out-of-stock-text, #d71919) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    color: var(--moulcod-out-of-stock-text, #d71919) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
}

/* Out of Stock Form Restrictions (disabled fields and crossed swatches) */
.moulcod-out-of-stock-form-enabled .moulcod-color-swatch,
.moulcod-out-of-stock-form-enabled .moulcod-size-swatch {
    pointer-events: none !important;
    position: relative !important;
    opacity: 0.65 !important;
}

.moulcod-out-of-stock-form-enabled .moulcod-color-swatch::after,
.moulcod-out-of-stock-form-enabled .moulcod-size-swatch::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to top right, transparent 46%, #d71919 46%, #d71919 54%, transparent 54%) !important;
    pointer-events: none !important;
    border-radius: inherit !important;
    z-index: 10 !important;
}

.moulcod-out-of-stock-form-enabled input[disabled],
.moulcod-out-of-stock-form-enabled button[disabled] {
    background-color: #f3f4f6 !important;
    color: #9ca3af !important;
    border-color: #d1d5db !important;
    cursor: not-allowed !important;
}

.moulcod-out-of-stock-form-enabled .moulcod-input-shell:focus-within {
    border-color: #bfbfbf !important;
    box-shadow: none !important;
}

.moulcod-input-shell.moulcod-input-error {
    border-color: #b32d2e !important;
    box-shadow: 0 0 0 1px #b32d2e !important;
}

/* Custom Sale Badge styles */
.woocommerce-span.onsale,
.woocommerce span.onsale,
.onsale.moulcod-custom-sale-badge,
span.onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important; /* Reset right positioning if any theme sets it */
    margin: 0 !important;
    background-color: #d71919 !important; /* Red background */
    color: #ffffff !important; /* White text */
    padding: 4px 8px !important; /* Small padding */
    border-radius: 4px !important; /* Border radius around 4px */
    font-size: 12px !important; /* Font size around 12px */
    font-weight: 700 !important; /* Bold text */
    text-transform: uppercase !important; /* Uppercase text */
    line-height: 1.2 !important;
    z-index: 100 !important;
    min-height: auto !important;
    min-width: auto !important;
    height: auto !important;
    width: auto !important;
}

/* WooCommerce Loop Product Card Custom Styling - Robust Selectors (ONLY ON MOBILE & TABLET) */
@media (max-width: 768px) {
    /* Center aligning loop cards and items */
    body.woocommerce ul.products li.product,
    body.woocommerce-page ul.products li.product,
    body.woocommerce ul.products[class*="columns-"] li.product,
    body.woocommerce-page ul.products[class*="columns-"] li.product,
    .woocommerce ul.products li.product,
    .woocommerce-page ul.products li.product,
    .products .product,
    .woocommerce .products .product,
    .moulcod-loop-product-card {
        text-align: center !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* Enforce 2 columns with generous gaps */
    body.woocommerce ul.products,
    body.woocommerce-page ul.products,
    body.woocommerce ul.products[class*="columns-"],
    body.woocommerce-page ul.products[class*="columns-"],
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .woocommerce .products {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-row-gap: 36px !important;
        grid-column-gap: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Product Title Styling - Matches Price Font Size (14px) and Spacings */
    body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    .woocommerce ul.products li.product .woocommerce-loop-product__title,
    .woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    .products .product .woocommerce-loop-product__title,
    .woocommerce .products .product .woocommerce-loop-product__title,
    .moulcod-loop-product-card .woocommerce-loop-product__title,
    body.woocommerce .products h2,
    body.woocommerce-page .products h2,
    body.woocommerce .products h3,
    body.woocommerce-page .products h3 {
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333 !important;
        text-align: center !important;
        margin: 16px 0 8px 0 !important;
        padding: 0 !important;
        display: block !important;
        line-height: 1.3 !important;
        text-transform: none !important;
    }

    /* Price Container - Stacked Vertically */
    body.woocommerce ul.products li.product .price,
    body.woocommerce-page ul.products li.product .price,
    body.woocommerce ul.products[class*="columns-"] li.product .price,
    body.woocommerce-page ul.products[class*="columns-"] li.product .price,
    .woocommerce ul.products li.product .price,
    .woocommerce-page ul.products li.product .price,
    .products .product .price,
    .woocommerce .products .product .price,
    .moulcod-loop-product-card .price {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        background: transparent !important;
    }

    /* New Price (ins) - Matches Title Size (14px) and Font Weight */
    body.woocommerce ul.products li.product .price ins,
    body.woocommerce-page ul.products li.product .price ins,
    .woocommerce ul.products li.product .price ins,
    .woocommerce-page ul.products li.product .price ins,
    .products .product .price ins,
    .woocommerce .products .product .price ins,
    .moulcod-loop-product-card .price ins {
        order: 1 !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #333 !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Old Price (del) - Slightly smaller (12px) and red */
    body.woocommerce ul.products li.product .price del,
    body.woocommerce-page ul.products li.product .price del,
    .woocommerce ul.products li.product .price del,
    .woocommerce-page ul.products li.product .price del,
    .products .product .price del,
    .woocommerce .products .product .price del,
    .moulcod-loop-product-card .price del {
        order: 2 !important;
        font-size: 12px !important;
        color: #b32d2e !important;
        text-decoration: line-through !important;
        margin-top: 6px !important;
        padding: 0 !important;
        display: block !important;
    }
}

@media (max-width: 480px) {
    /* Narrower Gaps for small mobile screens */
    body.woocommerce ul.products,
    body.woocommerce-page ul.products,
    body.woocommerce ul.products[class*="columns-"],
    body.woocommerce-page ul.products[class*="columns-"],
    .woocommerce ul.products,
    .woocommerce-page ul.products,
    .products,
    .woocommerce .products {
        grid-row-gap: 32px !important;
        grid-column-gap: 12px !important;
    }

    /* Sized down typography (13px) for small mobile screens */
    body.woocommerce ul.products li.product .woocommerce-loop-product__title,
    body.woocommerce-page ul.products li.product .woocommerce-loop-product__title,
    .products .product .woocommerce-loop-product__title,
    .woocommerce .products .product .woocommerce-loop-product__title {
        font-size: 13px !important;
        margin: 12px 0 6px 0 !important;
    }

    body.woocommerce ul.products li.product .price ins,
    body.woocommerce-page ul.products li.product .price ins,
    .products .product .price ins,
    .woocommerce .products .product .price ins {
        font-size: 13px !important;
    }

    body.woocommerce ul.products li.product .price del,
    body.woocommerce-page ul.products li.product .price del,
    .products .product .price del,
    .woocommerce .products .product .price del {
        font-size: 11px !important;
        margin-top: 4px !important;
    }
}

/* ================================================================
   Custom WooCommerce Shop Filter Bar â€” Pixel-perfect Reference Match
   ================================================================ */

/* Bar container â€” no visible borders, just clean white space */
.moulcod-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent !important;
    padding: 18px 0 !important;
    margin: 10px 0 30px 0 !important;
    border: none !important;
    font-family: inherit !important;
    font-size: 13px !important;
    color: #555555 !important;
    box-sizing: border-box !important;
    line-height: 1.5 !important;
}

/* Left and right groups */
.moulcod-filter-left,
.moulcod-filter-right {
    display: flex;
    align-items: center;
    gap: 24px !important;
}

/* "Filtre :" and "Trier par :" labels â€” light gray, normal weight */
.moulcod-filter-label,
.moulcod-sort-label {
    font-weight: 400 !important;
    color: #777777 !important;
    font-size: 13px !important;
    letter-spacing: 0 !important;
}

/* Dropdown wrapper */
.moulcod-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown trigger button â€” looks like underlined text link */
.moulcod-dropdown-trigger {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid transparent !important;
    padding: 2px 0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    outline: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
}

/* Active/open state â€” underlined text like the reference */
.moulcod-dropdown.is-open .moulcod-dropdown-trigger .moulcod-dropdown-trigger-text {
    text-decoration: underline !important;
}

/* Thin chevron arrow */
.moulcod-dropdown-arrow {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1px solid #888888 !important;
    border-bottom: 1px solid #888888 !important;
    transform: rotate(45deg);
    margin-top: -2px;
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.moulcod-dropdown.is-open .moulcod-dropdown-arrow {
    transform: rotate(-135deg);
    margin-top: 2px;
}

/* Dropdown panel (floating) */
.moulcod-dropdown-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 999999;
    background: #ffffff !important;
    border: 1px solid #e5e5e5 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
    min-width: 190px;
    border-radius: 0 !important;
    box-sizing: border-box !important;
}

.moulcod-dropdown.is-open .moulcod-dropdown-panel {
    display: block !important;
}

/* Filter option list */
.moulcod-filter-options {
    list-style: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
}

.moulcod-filter-options li {
    margin: 0 !important;
    padding: 0 !important;
}

.moulcod-filter-options a {
    display: block !important;
    padding: 9px 18px !important;
    color: #333333 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    transition: background-color 0.12s ease !important;
    font-family: inherit !important;
}

.moulcod-filter-options a:hover {
    background-color: #f8f8f8 !important;
}

.moulcod-filter-options li.is-active a {
    font-weight: 600 !important;
    color: #000000 !important;
}

/* ---- Price Panel ---- */
.moulcod-price-panel {
    width: 340px !important;
    padding: 22px !important;
    min-width: 340px !important;
}

.moulcod-price-panel .moulcod-filter-options {
    display: none !important;
}

.moulcod-price-panel-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    border-bottom: none !important;
}

.moulcod-max-price-info {
    font-size: 13px !important;
    color: #555555 !important;
    line-height: 1.6 !important;
    text-align: left !important;
    font-weight: 400 !important;
}

.moulcod-max-price-info strong {
    color: #333333 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    display: block;
    margin-top: 2px;
}

.moulcod-price-reset {
    font-size: 13px !important;
    color: #333333 !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
    white-space: nowrap;
}

.moulcod-price-reset:hover {
    color: #000000 !important;
}

/* Price inputs row */
.moulcod-price-panel-inputs {
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.moulcod-price-input-wrapper-outer {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.moulcod-price-currency {
    font-size: 12px !important;
    color: #999999 !important;
    display: inline-block;
    flex-shrink: 0;
}

.moulcod-price-input-wrapper {
    flex: 1 !important;
}

.moulcod-price-input-wrapper input {
    width: 100% !important;
    border: 1px solid #bbbbbb !important;
    padding: 7px 10px !important;
    font-size: 13px !important;
    background: #ffffff !important;
    outline: none !important;
    box-sizing: border-box !important;
    height: 36px !important;
    color: #333333 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit !important;
}

.moulcod-price-input-wrapper input::placeholder {
    color: #999999 !important;
    font-weight: 400 !important;
}

.moulcod-price-input-wrapper input:focus {
    border-color: #555555 !important;
}

/* Product count */
.moulcod-product-count {
    color: #777777 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    white-space: nowrap;
}

/* ================================================================
   Responsive â€” Filter Bar
   ================================================================ */
@media (max-width: 768px) {
    .moulcod-filter-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
        padding: 15px 0 !important;
    }

    .moulcod-filter-left {
        flex-wrap: wrap !important;
        gap: 16px !important;
    }

    .moulcod-filter-right {
        width: 100% !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    .moulcod-price-panel {
        width: 290px !important;
        min-width: 290px !important;
        left: -30px !important;
    }
}

@media (max-width: 480px) {
    .moulcod-price-panel {
        width: 260px !important;
        min-width: 260px !important;
        left: -20px !important;
        padding: 15px !important;
    }

    .moulcod-price-panel-inputs {
        gap: 8px !important;
    }
}

/* ================================================================
   Mobile Drawer — Filter & Sort
   ================================================================ */

/* Desktop: hide mobile elements */
.moulcod-mobile-filter-trigger,
.moulcod-drawer-overlay,
.moulcod-drawer {
    display: none !important;
}

@media (max-width: 768px) {
    /* Hide desktop filter bar on mobile */
    .moulcod-filter-bar {
        display: none !important;
    }

    /* Show mobile trigger bar */
    .moulcod-mobile-filter-trigger {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 16px 0 !important;
        margin: 0 0 20px 0 !important;
        border-bottom: 1px solid #e8e8e8 !important;
    }

    .moulcod-mobile-open-drawer {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        cursor: pointer !important;
        font-size: 14px !important;
        color: #333333 !important;
        font-family: inherit !important;
        outline: none !important;
    }

    .moulcod-mobile-open-drawer svg {
        color: #555 !important;
    }

    .moulcod-mobile-trigger-text {
        text-decoration: underline !important;
        font-weight: 400 !important;
    }

    .moulcod-mobile-product-count {
        font-size: 13px !important;
        color: #777777 !important;
    }

    /* ---- Drawer overlay ---- */
    .moulcod-drawer-overlay {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        background: rgba(0,0,0,0.4) !important;
        z-index: 9999998 !important;
        opacity: 0;
        transition: opacity 0.25s ease !important;
    }

    .moulcod-drawer-overlay.is-visible {
        display: block !important;
        opacity: 1;
    }

    /* ---- Drawer panel ---- */
    .moulcod-drawer {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 85% !important;
        max-width: 380px !important;
        height: 100% !important;
        background: #ffffff !important;
        z-index: 9999999 !important;
        box-shadow: -4px 0 20px rgba(0,0,0,0.12) !important;
        transition: right 0.3s ease !important;
        font-family: inherit !important;
        overflow: hidden !important;
    }

    .moulcod-drawer.is-open {
        right: 0 !important;
    }

    /* Drawer header */
    .moulcod-drawer-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 18px 20px !important;
        border-bottom: 1px solid #eee !important;
        flex-shrink: 0 !important;
    }

    .moulcod-drawer-title {
        text-align: center !important;
        flex: 1 !important;
    }

    .moulcod-drawer-title strong {
        display: block !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #111 !important;
    }

    .moulcod-drawer-count {
        font-size: 12px !important;
        color: #888 !important;
        font-weight: 400 !important;
    }

    .moulcod-drawer-close {
        background: transparent !important;
        border: none !important;
        font-size: 28px !important;
        line-height: 1 !important;
        color: #333 !important;
        cursor: pointer !important;
        padding: 0 !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    /* Drawer body (scrollable) */
    .moulcod-drawer-body {
        flex: 1 !important;
        overflow-y: auto !important;
        padding: 0 !important;
    }

    /* Drawer sections */
    .moulcod-drawer-section {
        border-bottom: 1px solid #f0f0f0 !important;
    }

    .moulcod-drawer-section-trigger {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        padding: 18px 20px !important;
        background: transparent !important;
        border: none !important;
        font-size: 14px !important;
        color: #333 !important;
        cursor: pointer !important;
        font-family: inherit !important;
        text-align: left !important;
    }

    .moulcod-drawer-section-arrow {
        font-size: 16px !important;
        color: #999 !important;
        transition: transform 0.2s ease !important;
    }

    .moulcod-drawer-section.is-expanded .moulcod-drawer-section-arrow {
        transform: rotate(90deg) !important;
    }

    /* Chevron for sorting */
    .moulcod-drawer-section-chevron {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid #999 !important;
        border-bottom: 1.5px solid #999 !important;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    .moulcod-drawer-section.is-expanded .moulcod-drawer-section-chevron {
        transform: rotate(-135deg) !important;
    }

    .moulcod-drawer-sort-current {
        font-weight: 400 !important;
        color: #777 !important;
        font-size: 13px !important;
    }

    /* Section panels (hidden by default) */
    .moulcod-drawer-section-panel {
        display: none !important;
        padding: 0 20px 16px 20px !important;
    }

    .moulcod-drawer-section.is-expanded .moulcod-drawer-section-panel {
        display: block !important;
    }

    /* Options list */
    .moulcod-drawer-options {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .moulcod-drawer-options li {
        margin: 0 !important;
        padding: 0 !important;
    }

    .moulcod-drawer-options a {
        display: block !important;
        padding: 10px 0 !important;
        color: #333 !important;
        text-decoration: none !important;
        font-size: 13px !important;
    }

    .moulcod-drawer-options li.is-active a {
        font-weight: 600 !important;
        color: #000 !important;
    }

    /* Price section in drawer */
    .moulcod-drawer-price-info {
        font-size: 13px !important;
        color: #666 !important;
        margin-bottom: 12px !important;
    }

    .moulcod-drawer-price-info strong {
        color: #333 !important;
    }

    .moulcod-drawer-price-inputs {
        display: flex !important;
        gap: 10px !important;
    }

    .moulcod-drawer-price-field {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .moulcod-drawer-price-cur {
        font-size: 12px !important;
        color: #999 !important;
        flex-shrink: 0;
    }

    .moulcod-drawer-price-field input {
        width: 100% !important;
        border: 1px solid #bbb !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        height: 36px !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        outline: none !important;
        background: #fff !important;
        font-family: inherit !important;
    }

    /* Drawer footer (sticky bottom) */
    .moulcod-drawer-footer {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 14px 20px !important;
        border-top: 1px solid #eee !important;
        flex-shrink: 0 !important;
        background: #fff !important;
    }

    .moulcod-drawer-reset {
        font-size: 14px !important;
        color: #333 !important;
        text-decoration: underline !important;
        font-weight: 400 !important;
    }

    .moulcod-drawer-apply {
        background: #1a1a1a !important;
        color: #ffffff !important;
        border: none !important;
        padding: 12px 28px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        cursor: pointer !important;
        border-radius: 0 !important;
        font-family: inherit !important;
    }

    /* Prevent body scroll when drawer is open */
    body.moulcod-drawer-active {
        overflow: hidden !important;
    }
}





