body.cuddnivar-storefront {
    --cn-ui-ink: #182e25;
    --cn-ui-green: #174c3c;
    --cn-ui-line: #dfe8e1;
    --cn-ui-paper: #f5f7f3;
    --cn-ui-amber: #f68e19;
    --cn-ui-amber-hover: #ffac44;
}

/* Featured and catalog cards. Keep WoodMart and WooCommerce action markup. */
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-wrapper {
    border-radius: 12px !important;
    transform: none !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-thumb {
    flex-basis: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1.4;
    padding: 0 !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-img-link {
    position: absolute !important;
    inset: 0;
    padding: 6px;
    min-height: 0 !important;
    max-height: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .product-information {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "title" "price" "action" !important;
    grid-template-rows: 2.7em minmax(26px, auto) minmax(44px, auto) !important;
    align-items: start !important;
    align-content: start !important;
    gap: 7px !important;
    padding: 8px clamp(9px, 1.25vw, 16px) 14px !important;
    font-size: 15px !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-cats,
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wrap-quickview-button {
    display: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-entities-title {
    min-height: 0 !important;
    max-height: none !important;
    font-size: inherit !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .price {
    font-size: 18px !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product.product-type-variable .price {
    font-size: 15px !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-card-hover,
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-bottom-actions,
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn {
    width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    max-height: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn {
    flex-wrap: wrap;
    gap: 6px;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 44px !important;
    max-height: none !important;
    padding: 0 13px !important;
    border: 1px solid var(--cn-ui-amber) !important;
    border-radius: 9px !important;
    background: var(--cn-ui-amber) !important;
    color: var(--cn-ui-ink) !important;
    overflow: visible !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop:hover {
    background: var(--cn-ui-amber-hover) !important;
    border-color: var(--cn-ui-amber-hover) !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product.product-type-variable .wd-add-btn .add-to-cart-loop {
    background: #fff !important;
    border-color: #aabfb3 !important;
    color: #174c3c !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product.product-type-variable .wd-add-btn .add-to-cart-loop:hover {
    background: #eef5f0 !important;
    border-color: #668577 !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop:focus-visible {
    outline: 2px solid #174c3c !important;
    outline-offset: 2px !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop .wd-action-text {
    display: block !important;
    min-height: 0 !important;
    transform: none !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop.loading::after {
    display: block !important;
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .product-information {
        grid-template-rows: 2.7em minmax(34px, auto) minmax(44px, auto) !important;
        font-size: 13px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .price {
        font-size: 16px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product.product-type-variable .price {
        font-size: 13px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop {
        padding-inline: 9px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop .wd-action-text {
        font-size: 12px !important;
    }
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-product-img-link img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
    transform: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related.products, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop .wd-action-icon {
    display: none !important;
}

/* Catalog layout with native category, price, stock and sort controls. */
html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) {
    display: grid !important;
    grid-template-columns: minmax(200px, 240px) minmax(0, 1fr) !important;
    grid-template-rows: auto auto 1fr !important;
    align-items: start !important;
    gap: 14px 24px !important;
}

html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) > .wd-shop-tools:first-child {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) > .wd-shop-tools > .cn-archive-layout,
html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) > .wd-shop-tools:has(> .cn-archive-layout) {
    display: contents !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-archive-sidebar {
    grid-column: 1 !important;
    grid-row: 2 / span 2 !important;
    width: 100% !important;
    margin: 0 !important;
    align-self: start !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-archive-main {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-archive-main:not(:has(> :is(.wd-products-element, .woocommerce-info))) {
    display: none !important;
}

html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) > .wd-products-element {
    grid-column: 2 !important;
    grid-row: 2 / span 2 !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel {
    padding: 14px !important;
    border-color: var(--cn-ui-line) !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel > summary {
    min-height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel > summary::after {
    content: '+';
    margin-inline-start: 8px;
    font-size: 18px;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel[open] > summary::after {
    content: '−';
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel .cn-stock-filter {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel .cn-stock-filter input {
    margin: 0 !important;
}

html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel :is(select,input[type="number"]) {
    min-height: 44px !important;
}

html body.cuddnivar-storefront .shop-loop-head .woocommerce-result-count {
    display: block !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .shop-loop-head .wd-products.wd-grid-g {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(10px, 1.6vw, 18px) !important;
}

@media (max-width: 1050px) {
    html body.cuddnivar-storefront .shop-loop-head .wd-products.wd-grid-g {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront .shop-loop-head:has(.cn-filter-panel) {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    html body.cuddnivar-storefront .shop-loop-head > .wd-shop-tools:first-child {
        flex-wrap: wrap !important;
        gap: 6px 12px !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel {
        padding: 4px 12px !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel:not([open]) .cn-archive-filter-form {
        display: none !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel[open] {
        padding-bottom: 12px !important;
    }
}

/* Product trail and one product-policy presentation. */
html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper {
    display: block !important;
    margin: 0 0 15px !important;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-breadcrumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center;
    gap: 3px 6px;
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 2px 7px !important;
    background: #edf4ee;
    border-radius: 5px;
    color: var(--cn-ui-green) !important;
    text-decoration: none;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-breadcrumbs a:hover {
    text-decoration: underline;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-delimiter {
    font-size: 0 !important;
    margin: 0 !important;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-delimiter::after {
    content: '›';
    font-size: 14px;
    color: #536d60;
}

html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-last,
html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-delimiter:has(+ .wd-last),
html body.single-product.cuddnivar-storefront .summary:has(.cnpe-stock-status) .cn-stock-state,
html body.single-product.cuddnivar-storefront .summary:has(.cnpe-buy-details) .cn-product-purchase-details {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-truck),
html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-rotate) {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-clock),
html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-shield) {
    border: 0 !important;
}

html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-clock) {
    border-inline-end: 1px solid var(--cn-ui-line) !important;
}

@media (max-width: 767px) {
    html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-breadcrumbs a {
        min-height: 36px;
    }
    html body.single-product.cuddnivar-storefront .summary .cnpe-buy-detail:has(.cnpe-icon-clock) {
        border-inline-end: 0 !important;
        border-bottom: 1px solid var(--cn-ui-line) !important;
    }
}

/* Cart and checkout share the same action hierarchy and field treatment. */
html body.cuddnivar-storefront :is(.wc-proceed-to-checkout a.checkout-button, #place_order, .cart-widget-side a.checkout, .summary form.cart .single_add_to_cart_button) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px !important;
    padding: 12px 18px !important;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: var(--cn-ui-amber) !important;
    color: var(--cn-ui-ink) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    text-align: center;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront :is(.wc-proceed-to-checkout a.checkout-button, #place_order, .cart-widget-side a.checkout, .summary form.cart .single_add_to_cart_button):hover {
    background: var(--cn-ui-amber-hover) !important;
    color: var(--cn-ui-ink) !important;
}

html body.cuddnivar-storefront :is(.shop-loop-head, .cart-content-wrapper, form.checkout, .cart-widget-side, .mobile-nav, .single-breadcrumbs-wrapper) :is(a,button,input,select,textarea,summary):focus-visible {
    outline: 2px solid var(--cn-ui-green) !important;
    outline-offset: 2px !important;
}

html body.cuddnivar-storefront:is(.woocommerce-cart, .woocommerce-checkout) .main-page-wrapper {
    background: var(--cn-ui-paper) !important;
}

html body.cuddnivar-storefront:is(.woocommerce-cart, .woocommerce-checkout) .main-page-wrapper > .wd-page-title {
    padding: 14px 0 !important;
    margin-bottom: 24px !important;
    border-bottom: 1px solid var(--cn-ui-line);
    background: #fff !important;
}

html body.cuddnivar-storefront .wd-checkout-steps {
    gap: 8px 14px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .wd-checkout-steps :is(li, a, span) {
    color: #52695d !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .wd-checkout-steps .step-active a {
    color: var(--cn-ui-green) !important;
    font-weight: 750 !important;
}

html body.cuddnivar-storefront .cn-woo-page-title {
    color: var(--cn-ui-ink) !important;
    margin: 0 0 14px !important;
    font-size: clamp(27px, 3.2vw, 39px) !important;
}

html body.cuddnivar-storefront.woocommerce-cart .cart-content-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1.85fr) minmax(285px, 1fr) !important;
    align-items: start !important;
    gap: 14px 22px !important;
}

html body.cuddnivar-storefront.woocommerce-cart .cart-content-wrapper > :not(.woocommerce-cart-form, .cart_totals) {
    grid-column: 1 / -1;
    margin-bottom: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-cart .cart-content-wrapper > :is(.woocommerce-cart-form, .cart_totals) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.cuddnivar-storefront .cart-content-wrapper .cart-totals-inner,
html body.cuddnivar-storefront form.checkout :is(#customer_details, .checkout-order-review) {
    min-width: 0;
    padding: clamp(14px, 2vw, 23px) !important;
    border: 1px solid var(--cn-ui-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .shop_table {
    margin: 0 !important;
    border-color: var(--cn-ui-line) !important;
    border-radius: 14px !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .shop_table :is(th, td) {
    border-color: var(--cn-ui-line) !important;
    padding: 12px 8px !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .shop_table thead th {
    background: #edf4ee !important;
    color: var(--cn-ui-green) !important;
    font-size: 12px !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .product-name a {
    color: var(--cn-ui-ink) !important;
    font-weight: 650 !important;
    line-height: 1.35;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-thumbnail img {
    width: 66px !important;
    max-width: 100%;
    height: auto !important;
    border-radius: 7px;
}

html body.cuddnivar-storefront .woocommerce-cart-form :is(.quantity input, a.remove) {
    min-height: 36px !important;
}

html body.cuddnivar-storefront .cart-content-wrapper .wc-proceed-to-checkout a {
    width: 100%;
    margin: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 20px !important;
}

html body.cuddnivar-storefront form.checkout :is(#customer_details, .checkout-order-review) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront form.checkout #order_review {
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
}

html body.cuddnivar-storefront form.checkout :is(.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #order_review_heading),
html body.cuddnivar-storefront .cart-totals-inner > h2 {
    color: var(--cn-ui-ink) !important;
    font-size: 19px !important;
    line-height: 1.3 !important;
    text-transform: none !important;
    margin: 0 0 14px !important;
}

html body.cuddnivar-storefront form.checkout .woocommerce-checkout-review-order-table {
    border: 0 !important;
    border-radius: 0 !important;
    margin: 0 0 14px !important;
}

html body.cuddnivar-storefront form.checkout .woocommerce-checkout-review-order-table :is(th, td) {
    padding: 10px 7px !important;
    border-color: var(--cn-ui-line) !important;
}

html body.cuddnivar-storefront form.checkout #payment {
    padding: 12px !important;
    border: 1px solid var(--cn-ui-line) !important;
    border-radius: 10px !important;
    background: #f5f8f4 !important;
}

html body.cuddnivar-storefront form.checkout .form-row :is(.input-text, select, .select2-selection--single) {
    min-height: 46px !important;
    border: 1px solid #ccd9cf !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--cn-ui-ink) !important;
}

html body.cuddnivar-storefront form.checkout .form-row label {
    color: var(--cn-ui-ink) !important;
    font-size: 13px !important;
}

html body.cuddnivar-storefront form.checkout .select2-selection__rendered {
    line-height: 44px !important;
}

html body.cuddnivar-storefront form.checkout #place_order {
    width: 100%;
}

/* Shared drawer treatment and an in-drawer close button for mobile navigation. */
html body.cuddnivar-storefront .cart-widget-side.wd-side-hidden {
    width: min(440px, 96vw) !important;
    max-width: 96vw !important;
    background: #fff !important;
}

html body.cuddnivar-storefront .cart-widget-side > .wd-heading,
html body.cuddnivar-storefront .cn-mobile-menu-heading {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 64px;
    padding: 10px 16px !important;
    background: #edf4ee !important;
    color: var(--cn-ui-ink) !important;
    border-bottom: 1px solid var(--cn-ui-line);
    font-size: 20px;
    text-transform: none;
}

html body.cuddnivar-storefront .cart-widget-side > .wd-heading .title {
    font-size: 20px !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .wd-heading a,
html body.cuddnivar-storefront .cn-mobile-menu-heading button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 5px 8px;
    border: 1px solid #c9d8cc;
    border-radius: 8px;
    background: #fff;
    color: var(--cn-ui-green);
    box-shadow: none;
    text-transform: none;
}

html body.cuddnivar-storefront .cn-mobile-menu-heading button {
    font-size: 24px;
}

html body.cuddnivar-storefront .cart-widget-side .widget_shopping_cart_content {
    max-height: none !important;
    padding: 12px 16px max(16px, env(safe-area-inset-bottom)) !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__total {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 8px 0 0 !important;
    padding: 12px 0 !important;
    border-top: 1px solid var(--cn-ui-line) !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__buttons {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) !important;
    margin: 10px 0 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__buttons a:not(.checkout) {
    border: 1px solid #aac2b4 !important;
    background: #fff !important;
    color: var(--cn-ui-green) !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__buttons a:not(.checkout):hover {
    background: #edf4ee !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-body {
    overscroll-behavior: contain;
}

html body.cuddnivar-storefront .mobile-nav.wd-side-hidden-nav {
    width: min(360px, 94vw) !important;
    max-width: 94vw !important;
    overscroll-behavior: contain;
}

html body.cuddnivar-storefront .mobile-nav .menu-item-wishlist {
    display: none !important;
}

html body.cuddnivar-storefront .mobile-nav .wd-search-form {
    padding: 12px 14px !important;
    border-bottom: 1px solid var(--cn-ui-line);
}

html body.cuddnivar-storefront .mobile-nav .wd-search-form input {
    min-height: 46px !important;
    font-size: 16px !important;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu > li > a {
    min-height: 48px !important;
    padding-inline: 16px !important;
    color: var(--cn-ui-ink) !important;
    font-size: 14px !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .mobile-nav :is(.current-menu-item, .current-menu-ancestor) > a {
    background: #edf4ee !important;
    color: var(--cn-ui-green) !important;
}

@media (max-width: 870px) {
    html body.cuddnivar-storefront.woocommerce-cart .cart-content-wrapper,
    html body.cuddnivar-storefront.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront:is(.woocommerce-cart, .woocommerce-checkout) .main-page-wrapper > .wd-page-title {
        margin-bottom: 14px !important;
    }

    html body.cuddnivar-storefront form.checkout .form-row {
        float: none !important;
        width: 100% !important;
        margin-inline: 0 !important;
    }

    html body.cuddnivar-storefront form.checkout .form-row :is(.input-text, select, .select2-selection--single) {
        font-size: 16px !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form td.actions :is(.coupon, .wd-coupon-form) {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form td.actions :is(.coupon, .wd-coupon-form) input {
        flex: 1 1 120px;
        min-width: 0;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form td.actions button {
        min-height: 44px !important;
    }
}

html body.cuddnivar-storefront.woocommerce-shop .main-page-wrapper > .wd-page-title {
    display: block !important;
    padding: 20px 0 0 !important;
    margin: 0 0 12px !important;
    background: transparent !important;
    text-align: start !important;
}

html body.cuddnivar-storefront.woocommerce-shop .wd-page-title :is(.wd-nav-product-cat, .wd-btn-show-cat) {
    display: none !important;
}

html body.cuddnivar-storefront.woocommerce-shop .wd-page-title .title {
    display: block !important;
    margin: 0 !important;
    color: var(--cn-ui-ink) !important;
    font-size: clamp(29px, 4vw, 40px) !important;
    text-align: start !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form button[name="update_cart"],
html body.cuddnivar-storefront .woocommerce-cart-form .coupon button {
    background: #edf4ee !important;
    border: 1px solid #aac2b4 !important;
    color: var(--cn-ui-green) !important;
    box-shadow: none !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form button[name="update_cart"]:disabled {
    opacity: .64 !important;
}

html body.cuddnivar-storefront :is(.cart-widget-side, .cart-content-wrapper, form.checkout) .woocommerce-Price-amount,
html body.cuddnivar-storefront :is(.woocommerce-form-coupon-toggle, .cart_totals) a {
    color: var(--cn-ui-green) !important;
}

html body.cuddnivar-storefront form.checkout #order_review_heading {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: start !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item {
    display: grid !important;
    grid-template-columns: 62px minmax(0,1fr) 44px !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 10px 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-item-link {
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-item-image {
    display: flex !important;
    position: relative !important;
    grid-column: 1;
    grid-row: 1;
    width: 62px !important;
    min-width: 62px !important;
    max-width: none !important;
    min-height: 62px !important;
    margin: 0 !important;
    z-index: 1;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-item-image img {
    display: block !important;
    width: 62px !important;
    height: 62px !important;
    max-width: none !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .remove {
    position: relative !important;
    inset: auto !important;
    grid-column: 3;
    grid-row: 1;
    display: grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    z-index: 2;
    font-size: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .remove::before {
    content: '×' !important;
    font: 20px/1 sans-serif !important;
    color: var(--cn-ui-green) !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .remove::after {
    content: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-body {
    flex: 0 1 auto !important;
    max-height: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-footer {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: 0 !important;
}

html body.single-product.cuddnivar-storefront .summary:has(.woocommerce-variation-availability .stock) .cnpe-stock-status {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary .woocommerce-variation-availability .stock {
    display: inline-block !important;
    margin: 8px 0 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* Use one purchase row throughout catalog, homepage and related cards. */
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .product-information {
    grid-template-columns: minmax(0, 1fr) auto !important;
    grid-template-areas: "title title" "price action" !important;
    grid-template-rows: 2.7em minmax(44px, auto) !important;
    align-items: center !important;
    gap: 7px !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-entities-title {
    align-self: start;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .product-rating-price {
    min-width: 0 !important;
    padding: 0 !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-product-card-hover {
    grid-area: action !important;
    position: static !important;
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
}

html body.cuddnivar-storefront :is(.related-products, .upsells.products) .wd-product .wd-product-card-hover > .wd-buttons {
    position: static !important;
    display: flex !important;
    width: auto !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

html body.cuddnivar-storefront :is(.related-products, .upsells.products) .wd-product .wd-product-card-hover .wd-buttons > :not(.wd-add-btn) {
    display: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop {
    white-space: normal !important;
    min-width: 44px !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop .wd-action-text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    text-align: center !important;
    pointer-events: none;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop:not(.loading)::before,
html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop:not(.loading)::after {
    display: none !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop.loading .wd-action-text {
    opacity: 0 !important;
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .price {
    display: inline !important;
    font-variant-numeric: tabular-nums;
}

html body.single-product.cuddnivar-storefront .summary :is(.wd-wishlist-btn, .wd-wishlist-icon, .product_meta .tagged_as),
html body.single-product.cuddnivar-storefront .wd-sticky-btn :is(.wd-wishlist-btn, .wd-wishlist-icon) {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary form.cart:not(.variations_form, .grouped_form),
html body.single-product.cuddnivar-storefront .summary form.cart .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
}

html body.single-product.cuddnivar-storefront .summary form.cart .quantity:not(.hidden) {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin: 0 !important;
    min-width: 0 !important;
    width: auto !important;
}

html body.single-product.cuddnivar-storefront .summary form.cart .quantity :is(.minus, .plus, input.qty) {
    width: 36px !important;
    min-width: 36px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.single-product.cuddnivar-storefront .summary form.cart .single_add_to_cart_button {
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product {
    display: grid !important;
    grid-template-columns: minmax(0, auto) auto auto auto !important;
    justify-content: start !important;
    align-items: center !important;
    gap: 6px 9px !important;
    padding: 9px 10px !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-coupon-use,
html body.cuddnivar-storefront .cart-widget-side .cn-mini-cart-offer .cn-coupon-use {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product :is(.cn-coupon-code, .cn-copy-code) {
    white-space: nowrap;
    font-size: 11px !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-coupon-kicker {
    font-size: 10px !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-coupon-discount {
    font-size: 13px !important;
    white-space: nowrap;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-copy-code {
    min-height: 44px !important;
    padding: 0 7px !important;
    background: #edf4ee !important;
    border: 1px solid #c3d4c8 !important;
    color: var(--cn-ui-green) !important;
    text-transform: none !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .woocommerce-pagination .page-numbers :is(a,span) {
    display: inline-grid !important;
    place-items: center;
    min-width: 44px;
    min-height: 44px;
    margin: 0 2px;
    border-radius: 9px;
    color: var(--cn-ui-green) !important;
}

html body.cuddnivar-storefront .woocommerce-pagination .page-numbers .current {
    background: var(--cn-ui-green) !important;
    color: #fff !important;
}

html body.cuddnivar-storefront .woocommerce-pagination .page-numbers a:hover {
    background: #e8f0e9 !important;
}

html body.cuddnivar-storefront .cart-widget-side {
    color: var(--cn-ui-ink) !important;
    border-inline-start: 1px solid var(--cn-ui-line);
}

html body.cuddnivar-storefront .cart-widget-side > .wd-heading {
    min-height: 60px !important;
    padding: 8px 16px !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item {
    background: white !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid var(--cn-ui-line);
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .wd-entities-title {
    color: var(--cn-ui-ink) !important;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove {
    border-radius: 9px !important;
    border: 1px solid var(--cn-ui-line) !important;
    box-shadow: none !important;
    background: #fff !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove:hover {
    background: #edf4ee !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__total {
    border-top: 0 !important;
    border-bottom: 1px solid var(--cn-ui-line) !important;
    font-size: 16px !important;
}

html body.cuddnivar-storefront .cart-widget-side .cn-mini-cart-offer {
    padding: 7px 9px !important;
    margin: 9px 0 !important;
    gap: 5px !important;
}

html body.cuddnivar-storefront .cart-widget-side .cn-mini-cart-offer button {
    min-height: 44px !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-footer {
    padding-inline: 0 !important;
}

@media (max-width: 1024px) {
    html body.cuddnivar-storefront .whb-header .whb-general-header-inner > .whb-visible-lg {
        display: none !important;
    }

    html body.cuddnivar-storefront .whb-header .whb-general-header-inner {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px !important;
        align-items: center !important;
        justify-items: center !important;
        column-gap: 7px !important;
    }

    html body.cuddnivar-storefront .whb-header .whb-general-header-inner > :is(.whb-mobile-left, .whb-mobile-center, .whb-mobile-right) {
        display: flex !important;
        grid-row: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body.cuddnivar-storefront .whb-header .whb-general-header-inner > .whb-mobile-left { grid-column: 1 !important; }
    html body.cuddnivar-storefront .whb-header .whb-general-header-inner > .whb-mobile-center { grid-column: 2 !important; }
    html body.cuddnivar-storefront .whb-header .whb-general-header-inner > .whb-mobile-right { grid-column: 3 !important; }

    html body.cuddnivar-storefront .whb-header :is(.whb-mobile-left, .whb-mobile-right) .wd-tools-element > a {
        display: grid !important;
        place-items: center;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
    }

    html body.cuddnivar-storefront .whb-header :is(.whb-mobile-left, .whb-mobile-right) .wd-tools-text {
        display: none !important;
    }

    html body.cuddnivar-storefront .whb-header .whb-mobile-center .wd-logo img {
        max-width: min(146px, 100%) !important;
    }

    html body.cuddnivar-storefront > .mobile-nav.wd-side-hidden-nav {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100dvh !important;
        z-index: 10060 !important;
        overflow-y: auto !important;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 12px 0 35px #142b2040;
    }

    html body.cuddnivar-storefront > .wd-close-side.wd-close-side-opened {
        z-index: 10040 !important;
    }

    html body.cuddnivar-storefront :is(.mobile-nav, .cart-widget-side) .cn-mobile-menu-heading {
        padding-top: max(9px, env(safe-area-inset-top)) !important;
    }

    html body.cuddnivar-storefront .mobile-nav .menu-item-has-children > .wd-nav-opener {
        position: absolute !important;
        inset: 2px 4px auto auto !important;
        margin: 0 !important;
        width: 44px !important;
        height: 44px !important;
    }

    html body.cuddnivar-storefront .mobile-nav .menu-item-has-children > a {
        padding-inline-end: 54px !important;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront .cn-home .cn-hero > .wp-block-cover__inner-container {
        padding: 20px 16px 16px !important;
    }

    html body.cuddnivar-storefront .cn-home .cn-hero h1 {
        font-size: clamp(28px, 7.5vw, 36px) !important;
    }

    html body.cuddnivar-storefront .cn-home .cn-hero > .wp-block-cover__image-background {
        height: clamp(160px, 47vw, 225px) !important;
        min-height: 0 !important;
        max-height: none !important;
        object-position: right center !important;
    }

    html body.cuddnivar-storefront .cn-support-ribbon :is(.cn-support-ribbon-inner, .cn-support-ribbon-message) {
        gap: 6px !important;
        font-size: 10px !important;
        line-height: 1.25 !important;
    }

    html body.cuddnivar-storefront .cn-black-friday-ticker .cn-ticker-track {
        font-size: 10px !important;
    }

    html body.cuddnivar-storefront .wd-toolbar {
        min-height: 50px !important;
        padding: 2px 8px env(safe-area-inset-bottom) !important;
        border-top: 1px solid var(--cn-ui-line) !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a {
        min-height: 46px !important;
    }

    html body.cuddnivar-storefront .wd-toolbar .wd-cart-number {
        background: var(--cn-ui-green) !important;
        color: #fff !important;
    }

    html body.cuddnivar-storefront:is(.woocommerce-cart, .woocommerce-checkout, .cart-opened) .wd-toolbar,
    html body.cuddnivar-storefront:has(.mobile-nav.wd-opened) .wd-toolbar {
        display: none !important;
    }

    html body.cuddnivar-storefront .cart-widget-side.wd-side-hidden {
        width: min(100vw, 440px) !important;
        max-width: 100vw !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .product-information {
        padding-inline: 7px !important;
        column-gap: 4px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .price {
        font-size: 13px !important;
        line-height: 1.3 !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product.product-type-variable .price {
        font-size: 12px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop {
        max-width: clamp(63px, 20vw, 88px) !important;
        padding-inline: 5px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop .wd-action-text {
        font-size: 11px !important;
    }

    html body.single-product.cuddnivar-storefront .summary form.cart .single_add_to_cart_button {
        flex: 1 1 auto !important;
    }

    html body.single-product.cuddnivar-storefront .summary form.cart .quantity:not(.hidden) {
        align-self: center !important;
    }

    html body.cuddnivar-storefront .footer-container .cn-footer-columns {
        gap: 14px !important;
    }
}

html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .product-rating-price {
    align-self: center !important;
    margin: 0 !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-coupon-kicker {
    white-space: nowrap;
}

@media (max-width: 360px) {
    html body.single-product.cuddnivar-storefront .summary .cn-coupon-product {
        gap: 4px !important;
        padding-inline: 6px !important;
    }

    html body.single-product.cuddnivar-storefront .summary .cn-coupon-product .cn-coupon-kicker {
        font-size: 9px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .product-information {
        padding-inline: 5px !important;
    }

    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .price {
        font-size: 11px !important;
    }
}

@media (max-width: 360px) {
    html body.cuddnivar-storefront :is(.cn-featured-section, .shop-loop-head, .related-products, .upsells.products) .wd-product .wd-add-btn .add-to-cart-loop {
        max-width: 54px !important;
        padding-inline: 3px !important;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront:is(.woocommerce-cart, .woocommerce-checkout) {
        padding-bottom: 0 !important;
    }
}

/* Navigation: product departments and cart are the primary destinations. */
html body.single-product.cuddnivar-storefront .single-breadcrumbs-wrapper .wd-products-nav {
    display: none !important;
}

html body.cuddnivar-storefront .whb-header .whb-general-header {
    background: #fff !important;
}

html body.cuddnivar-storefront .whb-header .whb-header-bottom {
    background: #f2f6f2 !important;
    border-bottom: 1px solid var(--cn-ui-line) !important;
}

html body.cuddnivar-storefront .whb-header .whb-header-bottom .wd-nav > li > a {
    color: var(--cn-ui-green) !important;
    text-transform: none !important;
    font-size: 14px !important;
    letter-spacing: 0 !important;
}

html body.cuddnivar-storefront .whb-header .whb-header-bottom .wd-nav > li:hover > a,
html body.cuddnivar-storefront .whb-header .whb-header-bottom .wd-nav > .current-menu-item > a {
    color: #0e3026 !important;
    box-shadow: inset 0 -2px var(--cn-ui-amber);
}

html body.cuddnivar-storefront .mobile-nav.wd-side-hidden-nav {
    background: #f3f7f3 !important;
}

html body.cuddnivar-storefront .mobile-nav .cn-mobile-menu-heading {
    position: sticky !important;
    top: 0;
    z-index: 3;
    min-height: 69px;
    background: #174436 !important;
    border: none;
}

html body.cuddnivar-storefront .mobile-nav .cn-mobile-menu-brand {
    display: inline-grid;
    place-items: center;
    min-height: 42px;
    padding: 5px 8px;
    border-radius: 8px;
    background: #fff;
    color: #174436;
}

html body.cuddnivar-storefront .mobile-nav .cn-mobile-menu-brand img {
    display: block;
    width: 134px;
    height: auto;
}

html body.cuddnivar-storefront .mobile-nav .cn-mobile-menu-heading button {
    color: #fff !important;
    background: #ffffff14 !important;
    border-color: #ffffff55 !important;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu {
    box-sizing: border-box;
    padding: 12px !important;
    gap: 6px;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu > li {
    border: none !important;
    border-radius: 9px;
    background: #fff;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu > li > a {
    min-height: 48px !important;
    border-radius: 9px;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu > li:first-child > a {
    background: #174436 !important;
    color: #fff !important;
}

html body.cuddnivar-storefront .mobile-nav .mobile-pages-menu .wd-sub-menu {
    border-radius: 0 0 9px 9px !important;
}

/* Order pages: use explicit columns. WoodMart assigns named grid areas. */
html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template: auto / minmax(0, 1.24fr) minmax(0, 1fr) !important;
    align-items: start !important;
    gap: clamp(15px, 2vw, 24px) !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > #customer_details {
    grid-area: 1 / 1 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > .checkout-order-review {
    grid-area: 1 / 2 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > :is(#customer_details, .checkout-order-review) {
    position: relative !important;
    inset: auto !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: clamp(14px, 2.15vw, 25px) !important;
    transform: none !important;
    box-sizing: border-box !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #order_review_heading,
html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-billing-fields > h3,
html body.cuddnivar-storefront.woocommerce-cart .cart-totals-inner > h2 {
    padding-bottom: 11px !important;
    margin-bottom: 14px !important;
    border-bottom: 1px solid var(--cn-ui-line) !important;
    color: #164437 !important;
    font-size: clamp(18px, 2vw, 22px) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .woocommerce-checkout-review-order-table {
    table-layout: fixed;
    width: 100% !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total {
    width: 37%;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .product-name {
    overflow-wrap: anywhere;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment {
    border-color: #d5e2d8 !important;
}

html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 6px 10px !important;
    margin: 0 0 12px !important;
    padding: 7px 10px !important;
    border: 1px solid #deeadf !important;
    border-radius: 11px !important;
    background: #edf4ee !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) :is(.cn-coupon-kicker, .cn-coupon-code, .cn-coupon-discount) {
    margin: 0 !important;
    white-space: nowrap;
}

html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) .cn-coupon-discount {
    font-size: clamp(12px, 3.5vw, 16px) !important;
}

html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) .cn-coupon-use {
    display: none !important;
}

html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) .cn-copy-code {
    min-height: 44px !important;
    padding: 0 8px !important;
    margin-inline-start: auto !important;
    background: #fff !important;
    color: var(--cn-ui-green) !important;
    border: 1px solid #bbd0c2 !important;
    box-shadow: none !important;
    text-transform: none !important;
    white-space: nowrap;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions {
    background: #f8faf8 !important;
    padding: 12px !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions .cart-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions .coupon.wd-coupon-form,
html body.cuddnivar-storefront.woocommerce-checkout form.checkout_coupon:not([style*="display:none"]):not([style*="display: none"]) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 8px !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions .coupon.wd-coupon-form {
    flex: 1 1 265px !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html body.cuddnivar-storefront :is(.woocommerce-cart-form td.actions .coupon, form.checkout_coupon) input.input-text {
    width: 100% !important;
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    flex: none !important;
    padding: 4px 10px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions :is(.coupon button, button[name="update_cart"]) {
    width: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    white-space: nowrap;
}

html body.cuddnivar-storefront .woocommerce-cart-form td.actions button[name="update_cart"] {
    order: 2;
    flex: 0 0 auto !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout_coupon {
    padding: 10px 12px !important;
    margin: 0 0 13px !important;
    border: 1px solid var(--cn-ui-line) !important;
    border-radius: 9px;
    background: #fff;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout_coupon p.form-row {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout_coupon button {
    min-height: 44px !important;
    white-space: nowrap;
    color: #fff !important;
    background: var(--cn-ui-green) !important;
    text-transform: none !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout_coupon .clear {
    display: none !important;
}

/* Keep a scrollable cart list above a fixed-position-in-panel summary. */
html body.cuddnivar-storefront .cart-widget-side .widget_shopping_cart_content {
    padding: 12px 14px 0 !important;
    overflow: hidden !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-body {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-body > .wd-scroll-content {
    flex: 1 1 auto !important;
    max-height: none !important;
    min-height: 0 !important;
    overflow-y: auto !important;
}

html body.cuddnivar-storefront .cart-widget-side .shopping-cart-widget-footer {
    flex: 0 0 auto !important;
    margin: 0 -14px !important;
    padding: 10px 14px max(16px, env(safe-area-inset-bottom)) !important;
    border-top: 1px solid var(--cn-ui-line) !important;
    background: #f3f7f3 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item {
    grid-template-columns: 60px minmax(0, 1fr) 44px !important;
    gap: 8px !important;
    align-items: start !important;
    padding: 10px 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-item-image img {
    position: static !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-info {
    padding-top: 2px !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove {
    position: relative !important;
    inset: auto !important;
    align-self: start !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    border-color: transparent !important;
    border-radius: 7px !important;
    background: #edf4ee !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove::before {
    position: static !important;
    inset: auto !important;
    margin: 0 !important;
    transform: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__total {
    margin: 0 !important;
    padding: 7px 0 10px !important;
    border: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .cn-mini-cart-offer {
    background: #fff !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart__buttons {
    gap: 8px !important;
}

@media (min-width: 1025px) {
    html body.cuddnivar-storefront .whb-header .whb-main-header {
        position: relative;
    }

    html body.cuddnivar-storefront .whb-header .whb-general-header {
        border-bottom: 0 !important;
    }

    html body.cuddnivar-storefront .whb-header .whb-header-bottom .wd-nav {
        justify-content: center !important;
        gap: clamp(12px, 2.7vw, 44px) !important;
    }
}

@media (max-width: 870px) {
    html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > :is(#customer_details, .checkout-order-review) {
        grid-area: auto !important;
        flex: 0 0 auto !important;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront .wd-toolbar {
        gap: 6px !important;
        min-height: 54px !important;
        padding: 4px 12px max(4px, env(safe-area-inset-bottom)) !important;
        background: #f3f7f3 !important;
        box-shadow: 0 -3px 14px #173f3310 !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 7px;
        background: #fff;
        border: 1px solid var(--cn-ui-line);
        border-radius: 8px;
        color: #174436 !important;
    }

    html body.cuddnivar-storefront .wd-toolbar .wd-tools-text {
        margin: 0 !important;
        font-size: 12px !important;
        line-height: 1.1 !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel {
        border: 1px solid #cadacf !important;
        background: #edf4ee !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .cn-filter-panel > summary {
        color: #173f35 !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .wd-product .wd-product-thumb {
        background: #f5f8f5 !important;
    }

    html body.cuddnivar-storefront .shop-loop-head .wd-product .wd-product-img-link img {
        mix-blend-mode: multiply;
    }

    html body.cuddnivar-storefront .shop-loop-head .woocommerce-pagination {
        margin: 16px 0 21px !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form table.woocommerce-cart-form__contents,
    html body.cuddnivar-storefront .woocommerce-cart-form table.woocommerce-cart-form__contents > tbody {
        display: block !important;
        width: 100% !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form thead {
        display: none !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form tr.cart_item {
        display: grid !important;
        grid-template: auto auto / 54px minmax(0, 1fr) 40px !important;
        gap: 6px 8px !important;
        align-items: start !important;
        min-height: 0 !important;
        padding: 10px !important;
        position: relative !important;
        border-bottom: 1px solid var(--cn-ui-line);
        box-sizing: border-box;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td {
        display: block !important;
        position: static !important;
        padding: 0 !important;
        border: 0 !important;
        width: auto !important;
        margin: 0 !important;
        text-align: start !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td::before {
        display: none !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-thumbnail { grid-area: 1 / 1 / 3; }
    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-name { grid-area: 1 / 2; }
    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-remove { grid-area: 1 / 3; }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-price {
        display: none !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-quantity {
        grid-area: 2 / 2;
        justify-self: start;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-subtotal {
        grid-area: 2 / 2 / 3 / 4;
        justify-self: end;
        align-self: center;
        pointer-events: none;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-thumbnail img {
        width: 54px !important;
        height: 54px !important;
        margin: 0 !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-name a {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-remove a.remove {
        display: grid !important;
        position: static !important;
        margin: 0 !important;
        width: 40px !important;
        min-height: 40px !important;
        place-items: center;
        background: #edf4ee !important;
        border-radius: 8px !important;
        color: #174436 !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-quantity .quantity,
    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item .product-quantity .quantity :is(button, input) {
        min-height: 42px !important;
        height: 42px !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form :is(.cart-actions, .coupon.wd-coupon-form) {
        width: 100% !important;
        box-sizing: border-box;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form td.actions .coupon.wd-coupon-form {
        flex-basis: 100% !important;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form td.actions button[name="update_cart"] {
        width: 100% !important;
    }
}

@media (max-width: 355px) {
    html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) {
        gap: 5px !important;
        padding-inline: 6px !important;
    }

    html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) .cn-coupon-kicker {
        font-size: 8px !important;
        letter-spacing: 0 !important;
    }
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .form-row select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    clip-path: inset(50%);
}

html body.cuddnivar-storefront:has(.cn-coupon-cart, .cn-coupon-checkout) .cn-black-friday-ticker {
    display: none !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove::before {
    position: absolute !important;
    inset: 50% auto auto 50% !important;
    transform: translate(-50%, -50%) !important;
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront .cn-black-friday-ticker .cn-ticker-copy > span {
        display: none !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a :is(.wd-tools-icon, .wd-tools-text) {
        position: relative !important;
        inset: auto !important;
        transform: none !important;
        margin: 0 !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a {
        flex-direction: row !important;
        align-items: center !important;
    }

    html body.cuddnivar-storefront :is(.cn-coupon-cart, .cn-coupon-checkout) .cn-copy-code {
        min-width: 44px !important;
    }
}

@media (min-width: 1025px) {
    html body.cuddnivar-storefront .whb-header .wd-header-main-nav .cn-support-parent {
        position: relative !important;
    }

    html body.cuddnivar-storefront .whb-header .wd-header-main-nav .cn-support-parent > .wd-dropdown {
        inset: 100% 0 auto auto !important;
        width: max-content !important;
        min-width: 205px !important;
        max-width: 260px !important;
        border: 1px solid var(--cn-ui-line) !important;
        border-radius: 0 0 10px 10px !important;
        background: #fff !important;
        box-shadow: 0 12px 25px #193b2c26 !important;
    }
}

html body.cuddnivar-storefront .mobile-nav > .wd-search-form {
    padding: 12px 12px 3px !important;
    border: 0 !important;
}

html body.cuddnivar-storefront .mobile-nav > .wd-search-form input.s {
    border: 1px solid #cbdace !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .woocommerce-product-gallery img[data-cn-catalog-image] {
    object-fit: contain;
}

/* Contact, cart and checkout use the same field and action spacing. */
.cn-contact-page .wpforms-container {
    padding: clamp(16px, 4vw, 30px);
    background: #f4f8f4;
    border: 1px solid #d5e3d8;
    border-radius: 16px;
}

.cn-contact-page .wpforms-container .wpforms-field input,
.cn-contact-page .wpforms-container .wpforms-field textarea {
    width: 100%;
    max-width: 100%;
    min-height: 46px;
    font-size: 16px;
    border-color: #b7cdbf;
    border-radius: 8px;
}

.cn-contact-page .wpforms-container button.wpforms-submit {
    min-height: 46px;
    padding-inline: 22px;
    background: #f68d16;
    color: #192c24;
    font-weight: 750;
    border-radius: 8px;
}

.cn-contact-page .wpforms-container button.wpforms-submit:hover {
    background: #e67d0c;
    color: #192c24;
}

.cn-checkout-destination {
    margin: 0 0 16px;
    padding: 9px 12px;
    border-inline-start: 3px solid #e08a21;
    border-radius: 5px;
    background: #edf5ef;
    color: #1b4a37;
    font-size: 13px;
    font-weight: 650;
}

html body.cuddnivar-storefront.woocommerce-checkout :is(#billing_country_field, #shipping_country_field) strong {
    display: block;
    padding: 10px 13px;
    border: 1px solid #d5e3d8;
    border-radius: 8px;
    background: #f4f8f4;
    color: #1b4a37;
}

html body.cuddnivar-storefront.woocommerce-checkout #payment .woocommerce-info a {
    color: #173f33;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 3px;
}

html body.cuddnivar-storefront.woocommerce-checkout .woocommerce-form-coupon-toggle a {
    color: #1a503a !important;
    text-underline-offset: 3px;
}

html body.cuddnivar-storefront.woocommerce-cart .cart-content-wrapper {
    align-items: start !important;
}

html body.cuddnivar-storefront.woocommerce-cart .cart_totals .cart-totals-inner {
    border: 1px solid #d2e0d6;
    background: #f7faf7;
}

html body.cuddnivar-storefront.woocommerce-cart .cart_totals :is(.order-total, .wc-proceed-to-checkout) {
    color: #174436;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item {
    grid-template-columns: 64px minmax(0, 1fr) 44px !important;
    gap: 10px !important;
    padding: 12px !important;
    margin-block-end: 8px;
    border: 1px solid #dce7de !important;
    border-radius: 11px;
    background: #fcfdfc !important;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-item-image {
    grid-column: 1;
    grid-row: 1;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-info {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item a.remove {
    grid-column: 3;
    grid-row: 1;
    display: grid !important;
    place-items: center;
    width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
}

.cn-home-inner.cn-new-equipment {
    padding-block: clamp(20px, 3vw, 38px);
}

@media (max-width: 1024px) {
    html body.cuddnivar-storefront .wd-toolbar {
        border-top: 1px solid #d8e4da !important;
        padding: 3px 10px max(3px, env(safe-area-inset-bottom)) !important;
        background: #fff !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a {
        display: flex !important;
        min-height: 48px !important;
        justify-content: center !important;
        align-items: center !important;
        background: transparent !important;
        border-color: transparent !important;
    }

    html body.cuddnivar-storefront .wd-toolbar > .wd-tools-element > a > :is(.wd-tools-text, .wd-toolbar-label) {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        clip-path: inset(50%);
        overflow: hidden;
        white-space: nowrap;
        padding: 0 !important;
    }

    html body.cuddnivar-storefront .wd-toolbar .wd-header-cart {
        border-inline-start: 1px solid #e2ebe3;
    }
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront.woocommerce-checkout form.checkout :is(input.input-text, textarea, .select2-selection__rendered) {
        font-size: 16px !important;
    }

    html body.cuddnivar-storefront.woocommerce-checkout #order_review {
        padding-inline: 0 !important;
        max-width: 100%;
    }

    html body.cuddnivar-storefront.woocommerce-checkout .woocommerce-checkout-review-order-table :is(th, td) {
        padding: 10px 6px !important;
        overflow-wrap: anywhere;
    }

    html body.cuddnivar-storefront.woocommerce-cart .woocommerce-cart-form td.actions .coupon.wd-coupon-form {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 7px !important;
    }

    html body.cuddnivar-storefront.woocommerce-cart .woocommerce-cart-form .coupon.wd-coupon-form input {
        min-width: 0;
        font-size: 16px !important;
    }
}

html body.cuddnivar-storefront .cart-widget-side .woocommerce-mini-cart-item .cart-info > span.quantity {
    display: block !important;
    width: auto !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Project cards use real catalog photos and a single link per card. */
.cn-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.7vw, 22px);
    margin-block: clamp(14px, 2vw, 24px) 0;
}

.cn-project-card {
    display: grid;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dbe6df;
    border-radius: 14px;
    background: #fff;
    color: #164437;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.cn-project-card:hover,
.cn-project-card:focus-visible {
    border-color: #89aa99;
    color: #164437;
    box-shadow: 0 5px 18px #173f3314;
}

.cn-project-card > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    background: #f0f5f0;
    mix-blend-mode: multiply;
}

.cn-project-card-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px clamp(13px, 1.6vw, 20px);
    border-top: 1px solid #e4ece6;
    font-size: clamp(14px, 1.55vw, 19px);
    line-height: 1.25;
    font-weight: 720;
}

.cn-project-card-label [aria-hidden] {
    color: #9e4d06;
    font-size: 22px;
    font-weight: 600;
}

/* Checkout keeps WooCommerce's form, AJAX fragments and gateway controls. */
body.cuddnivar-storefront.woocommerce-checkout form.checkout {
    --cn-checkout-ink: #173c30;
    --cn-checkout-muted: #405b4f;
    --cn-checkout-line: #d4e2d9;
    --cn-checkout-soft: #f1f6f2;
}

html body.cuddnivar-storefront.woocommerce-checkout .cn-woo-page-title {
    display: grid;
    justify-items: start;
    gap: 10px;
    color: #173c30 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .cn-woo-page-title::after {
    width: 45px;
    height: 4px;
    border-radius: 4px;
    background: #ee8a20;
    content: "";
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > #customer_details {
    padding: clamp(16px, 3vw, 35px) !important;
    border-color: var(--cn-checkout-line) !important;
    border-radius: 18px !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout.woocommerce-checkout > .checkout-order-review {
    padding: clamp(15px, 2.6vw, 30px) !important;
    border-color: var(--cn-checkout-line) !important;
    border-radius: 18px !important;
    background: var(--cn-checkout-soft) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .checkout-order-review > #order_review_heading,
html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-billing-fields > h3 {
    padding-bottom: 0 !important;
    margin-bottom: 16px !important;
    border: 0 !important;
    color: var(--cn-checkout-ink) !important;
    font-size: clamp(20px, 2.2vw, 27px) !important;
    letter-spacing: -.02em;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #order_review {
    background: transparent !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #order_review > .wd-table-wrapper {
    margin: 0 !important;
    padding: 2px clamp(9px, 1.5vw, 16px) !important;
    border: 1px solid var(--cn-checkout-line) !important;
    border-radius: 12px;
    box-shadow: none !important;
    background: #fff;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table {
    margin: 0 !important;
    color: var(--cn-checkout-muted);
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table thead th {
    color: var(--cn-checkout-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table .order-total {
    color: var(--cn-checkout-ink);
    font-weight: 750;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table .order-total .amount {
    font-size: clamp(18px, 2vw, 24px) !important;
}

.cn-payment-heading {
    margin: 23px 0 10px;
    color: var(--cn-checkout-ink);
    font-size: clamp(18px, 1.9vw, 22px);
    line-height: 1.25;
    letter-spacing: -.02em;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_methods {
    display: grid;
    padding: 0 !important;
    margin: 0 !important;
    gap: 9px;
    border: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_methods > li.wc_payment_method {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 0 10px;
    min-width: 0;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 1px solid #c9dad0 !important;
    border-radius: 11px !important;
    background: #fff !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_methods > li.wc_payment_method:has(> input:checked) {
    border-color: #638876 !important;
    box-shadow: 0 0 0 1px #638876;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_method > input.input-radio {
    margin: 0 !important;
    width: 17px;
    height: 17px;
    accent-color: #205d46;
    cursor: pointer;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_method > label {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    min-height: 50px;
    gap: 8px;
    margin: 0 !important;
    color: var(--cn-checkout-ink) !important;
    font-size: 15px !important;
    font-weight: 720 !important;
    cursor: pointer;
}

/* The gateway's live offer and info control stay in its expanded panel. */
html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .payment_method_afterpay > label > :is(square-placement, img.cashappafterpay-logo-img) {
    display: none !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .payment_method_afterpay_cashapp > label img {
    display: block;
    width: auto !important;
    height: 24px !important;
    margin: 0 !important;
    object-fit: contain;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_method > .payment_box {
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0 0 11px !important;
    padding: 9px 10px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #eef5ef !important;
    color: var(--cn-checkout-muted) !important;
    box-shadow: none !important;
    text-align: start !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .wc_payment_method > .payment_box::before {
    display: none !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #afterpay-widget-container {
    min-height: 0 !important;
    margin: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .place-order {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 15px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment .woocommerce-privacy-policy-text p {
    margin: 0;
    color: var(--cn-checkout-muted);
    font-size: 12px;
    line-height: 1.5;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment #place_order:enabled {
    min-height: 50px;
    margin: 0 !important;
    border-radius: 10px !important;
    background: #194b39 !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 750 !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout #payment #place_order:enabled:hover {
    background: #255c46 !important;
}

@media (max-width: 620px) {
    .cn-project-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cn-project-card {
        grid-template-columns: minmax(108px, 37%) minmax(0, 1fr);
        align-items: center;
    }

    .cn-project-card-label {
        border: 0;
    }

    html body.cuddnivar-storefront.woocommerce-checkout .cn-woo-page-title {
        gap: 6px;
        margin-bottom: 15px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cn-project-card { transition: none; }
}

/* One catalog tile for the homepage, archives, search and related products. */
html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item {
    --cn-tile-ink: #173d30;
    --cn-tile-line: #dbe5df;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-product-wrapper {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    overflow: visible !important;
    border: 1px solid var(--cn-tile-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-product-card-bg {
    display: none !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-product-thumb {
    display: block !important;
    position: relative !important;
    flex: 0 0 auto !important;
    aspect-ratio: 1.24 !important;
    width: calc(100% - 12px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 6px 6px 0 !important;
    padding: 0 !important;
    border-radius: 7px !important;
    background: #f5f7f5 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-product-img-link {
    display: grid !important;
    position: absolute !important;
    inset: 0;
    place-items: center;
    padding: 8px !important;
    min-height: 0 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-product-img-link img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: 100% !important;
    min-height: 0 !important;
    object-fit: contain !important;
    mix-blend-mode: multiply;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .product-information {
    display: grid !important;
    grid-template: "title" minmax(2.65em, auto) "price" minmax(1.5em, auto) "action" minmax(42px, auto) / minmax(0, 1fr) !important;
    gap: 7px !important;
    align-items: start !important;
    flex: 1 0 auto;
    padding: 10px clamp(8px, 1.15vw, 15px) clamp(8px, 1.15vw, 15px) !important;
    margin: 0 !important;
    min-height: 0 !important;
    color: var(--cn-tile-ink);
    font-size: clamp(12px, 1.1vw, 15px) !important;
    text-align: start !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .product-information .wd-entities-title {
    grid-area: title;
    margin: 0 !important;
    min-height: 0 !important;
    color: var(--cn-tile-ink);
    font-size: inherit !important;
    line-height: 1.32 !important;
    font-weight: 680 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .product-rating-price {
    grid-area: price;
    min-width: 0;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .price {
    margin: 0 !important;
    color: #184d39 !important;
    font-size: clamp(14px, 1.4vw, 19px) !important;
    line-height: 1.3 !important;
    font-weight: 720 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item.product-type-variable .price {
    font-size: clamp(12px, 1.15vw, 16px) !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .product-information .wd-product-card-hover {
    grid-area: action !important;
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    overflow: visible !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .product-information :is(.wd-bottom-actions, .wd-buttons, .wd-add-btn) {
    position: static !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-add-btn .add-to-cart-loop,
html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item.product-type-variable .wd-add-btn .add-to-cart-loop {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: none !important;
    min-height: 44px !important;
    padding: 5px 8px !important;
    border: 1px solid #eac59c !important;
    border-radius: 7px !important;
    background: #fbe7d1 !important;
    color: #74390e !important;
    box-shadow: none !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-add-btn .add-to-cart-loop:hover,
html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-add-btn .add-to-cart-loop:focus-visible {
    border-color: #bf7b42 !important;
    background: #f8dab8 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item .wd-add-btn .wd-action-text {
    font-size: clamp(11px, 1vw, 13px) !important;
    font-weight: 700 !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item :is(.wd-product-img-hover, .hover-content, .wd-product-cats, .wrap-quickview-button, .wrap-wishlist-button, .wd-compare-btn, .wrapp-swatches) {
    display: none !important;
}

html body.cuddnivar-storefront .wd-products .wd-product.product-grid-item :is(.wd-product-card-hover, .wd-bottom-actions, .wd-add-btn, .wd-buttons) {
    min-width: 0 !important;
    max-width: none !important;
}

/* Availability, shipping and returns share one row on the product page. */
html body.single-product.cuddnivar-storefront .summary:has(.cn-product-assurance) :is(.cnpe-stock-status, .cn-stock-state, form.cart .stock.in-stock, form.cart .stock.out-of-stock, form.cart .stock.available-on-backorder) {
    display: none !important;
}

html body.single-product.cuddnivar-storefront .summary .cn-product-assurance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(4px, 1vw, 8px);
    margin-block: 0 15px;
}

.cn-assurance-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px clamp(5px, 1.5vw, 10px);
    border-radius: 6px;
    font-size: clamp(10px, 2.8vw, 13px);
    line-height: 1.35;
    font-weight: 720;
    white-space: nowrap;
}

.cn-stock-badge { background: #e5f3e8; color: #235e38; }
.cn-stock-badge[data-stock="outofstock"] { background: #f7e8e8; color: #8c3333; }
.cn-stock-badge[data-stock="onbackorder"] { background: #faefdc; color: #7f501c; }
.cn-shipping-badge { background: #f9ece9; color: #882f2e !important; }
.cn-returns-badge { background: #fbefeb; color: #903f33 !important; }
a.cn-assurance-badge:hover { text-decoration: underline; }

@media (max-width: 767px) {
    html body.single-product.cuddnivar-storefront .summary form.variations_form .wd-reset-var {
        position: static !important;
        display: block !important;
        height: auto !important;
        margin: 5px 0 6px !important;
        padding: 0 !important;
        transform: none !important;
    }

    html body.single-product.cuddnivar-storefront .summary form.variations_form a.reset_variations {
        position: static !important;
        display: inline-flex !important;
        min-height: 38px;
        align-items: center;
        margin: 0 !important;
        transform: none !important;
        color: #315c4b !important;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    html body.single-product.cuddnivar-storefront .summary form.variations_form a.reset_variations::before {
        display: none;
    }

    html body.single-product.cuddnivar-storefront .summary form.variations_form .woocommerce-variation-price {
        margin-top: 6px !important;
    }

    html body.single-product.cuddnivar-storefront :is(.wd-accordion-title.tab-title-description, .wd-accordion-title.tab-title-description .wd-accordion-title-text) {
        color: #194a38 !important;
    }

    html body.single-product.cuddnivar-storefront :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) {
        --wd-text-color: #354d42;
        color: #354d42 !important;
    }

    html body.single-product.cuddnivar-storefront :is(.woocommerce-Tabs-panel--description, .woocommerce-product-details__short-description) :is(p, li, strong) {
        color: inherit !important;
    }
}

html body.cuddnivar-storefront .woocommerce-pagination {
    position: relative;
    text-align: center;
}

html body.cuddnivar-storefront .woocommerce-pagination > ul.page-numbers {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
}

html body.cuddnivar-storefront .woocommerce-pagination > ul.page-numbers > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

html body.cuddnivar-storefront .woocommerce-pagination > ul.page-numbers > li > .page-numbers {
    min-width: 44px;
    min-height: 44px;
    margin: 0 !important;
    padding: 4px 8px;
    border: 1px solid #d8e4dc;
    border-radius: 9px;
    background: #fff;
    font-weight: 680;
    line-height: 1;
    box-sizing: border-box;
}

html body.cuddnivar-storefront .woocommerce-pagination .page-numbers .dots {
    min-width: 22px !important;
    border-color: transparent !important;
    background: transparent !important;
}

html body.cuddnivar-storefront .woocommerce-pagination :is(.prev,.next) > [aria-hidden="true"] {
    display: block !important;
    margin: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    font-size: 22px;
}

.cn-page-position {
    display: none;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail {
    --cn-cart-thumb: 74px;
    vertical-align: middle;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail > a,
html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail > img {
    position: relative !important;
    inset: auto !important;
    display: grid !important;
    place-items: center;
    width: var(--cn-cart-thumb) !important;
    height: var(--cn-cart-thumb) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 4px !important;
    border: 1px solid #d9e5dc;
    border-radius: 9px;
    background: #f4f7f4;
    box-sizing: border-box !important;
    transform: none !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    mix-blend-mode: multiply;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail > a > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront .woocommerce-pagination:has(.cn-page-position) > ul.page-numbers {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px;
        min-height: 44px;
        width: min(100%, 270px);
        margin-inline: auto !important;
    }

    html body.cuddnivar-storefront .woocommerce-pagination:has(.cn-page-position) > ul.page-numbers > li:not(:has(> :is(.prev, .next))) {
        display: none !important;
    }

    html body.cuddnivar-storefront .woocommerce-pagination:has(.cn-page-position) li:has(> .prev) { grid-column: 1; }
    html body.cuddnivar-storefront .woocommerce-pagination:has(.cn-page-position) li:has(> .next) { grid-column: 3; }
    html body.cuddnivar-storefront .woocommerce-pagination:has(.cn-page-position) li:has(> :is(.prev, .next)) { grid-row: 1; }

    html body.cuddnivar-storefront .woocommerce-pagination .cn-page-position {
        display: block;
        position: absolute;
        inset: 50% 52px auto;
        transform: translateY(-50%);
        margin: 0;
        color: #174436;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
        pointer-events: none;
    }

    html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail {
        --cn-cart-thumb: 54px;
        overflow: visible !important;
    }
}

html body.cuddnivar-storefront .woocommerce-pagination :is(a.prev, a.next)::before,
html body.cuddnivar-storefront .woocommerce-pagination :is(a.prev, a.next)::after {
    content: none !important;
}

html body.cuddnivar-storefront .woocommerce-pagination :is(a.prev, a.next) > .screen-reader-text {
    min-width: 0 !important;
    min-height: 0 !important;
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail > a {
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}

html body.cuddnivar-storefront .woocommerce-cart-form .cart_item > td.product-thumbnail img {
    min-width: 0 !important;
    min-height: 0 !important;
}

/* Match WoodMart's empty cart page and AJAX drawer to the same palette. */
html body.cuddnivar-storefront :is(.cart-widget-side .wd-empty-mini-cart, .woocommerce-cart-form .wd-empty-mini-cart) {
    display: grid !important;
    justify-items: center;
    gap: 16px;
    margin: clamp(14px, 3vw, 26px) 0 0 !important;
    padding: clamp(24px, 5vw, 36px) 15px !important;
    border: 1px solid #d8e6dd;
    border-radius: 15px;
    background: #f3f8f4;
    text-align: center;
}

html body.cuddnivar-storefront :is(.cart-widget-side, .woocommerce-cart-form) .wd-empty-mini-cart::before {
    display: none !important;
    content: none !important;
}

html body.cuddnivar-storefront :is(.cart-widget-side .woocommerce-mini-cart__empty-message, .woocommerce .wd-empty-block-title.cart-empty) {
    display: grid !important;
    justify-items: center;
    gap: 14px;
    margin: 0 !important;
    color: #174436 !important;
    font-size: clamp(18px, 3.6vw, 24px) !important;
    font-weight: 730 !important;
    line-height: 1.25 !important;
}

html body.cuddnivar-storefront :is(.cart-widget-side .woocommerce-mini-cart__empty-message, .woocommerce .wd-empty-block-title.cart-empty)::before {
    display: grid !important;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 !important;
    border: 1px solid #d1e3d7;
    border-radius: 50%;
    background: #e4f0e8;
    color: #245c47;
    font: 32px/1 "woodmart-font";
    content: "\f126";
    content: "\f126" / "";
}

html body.cuddnivar-storefront.woocommerce-cart .woocommerce > :is(.wd-empty-block-title.cart-empty, .wd-empty-block-text, .return-to-shop) {
    width: min(100%, 490px);
    margin-inline: auto !important;
    padding-inline: clamp(15px, 4vw, 28px) !important;
    border-inline: 1px solid #d8e6dd;
    background: #f3f8f4;
    text-align: center;
    box-sizing: border-box;
}

html body.cuddnivar-storefront.woocommerce-cart .woocommerce > .wd-empty-block-title.cart-empty {
    margin: 0 auto !important;
    padding-block: clamp(23px, 5vw, 38px) 9px !important;
    border-top: 1px solid #d8e6dd;
    border-radius: 15px 15px 0 0;
}

html body.cuddnivar-storefront.woocommerce-cart .woocommerce > .wd-empty-block-text {
    margin-block: 0 !important;
    padding-block: 0 16px;
    color: #486154 !important;
    font-size: 14px;
    line-height: 1.55;
}

html body.cuddnivar-storefront.woocommerce-cart .woocommerce > .return-to-shop {
    margin-block: 0 !important;
    padding-block: 0 clamp(21px, 4vw, 31px);
    border-bottom: 1px solid #d8e6dd;
    border-radius: 0 0 15px 15px;
}

html body.cuddnivar-storefront :is(.cart-widget-side .wd-empty-mini-cart, .woocommerce-cart .woocommerce > .return-to-shop) a.wc-backward {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 20px;
    border: 1px solid #eac59c !important;
    border-radius: 8px !important;
    background: #fbe7d1 !important;
    box-shadow: none !important;
    color: #74390e !important;
    font-size: 14px !important;
    font-weight: 720 !important;
    letter-spacing: 0 !important;
    text-align: center;
    text-transform: none !important;
}

html body.cuddnivar-storefront :is(.cart-widget-side .wd-empty-mini-cart, .woocommerce-cart .woocommerce > .return-to-shop) a.wc-backward:is(:hover, :focus-visible) {
    border-color: #bf7b42 !important;
    background: #f8dab8 !important;
}

/* SelectWoo mounts its popup under body, outside the checkout form. */
body.cuddnivar-storefront.woocommerce-checkout {
    --cn-field-border: #bdcfc4;
    --cn-field-ink: #173d30;
    --cn-field-muted: #53695e;
    --cn-field-focus: #2a6950;
    --cn-field-selected: #e1f0e6;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .form-row :is(.input-text, select, .select2-selection--single) {
    border-color: var(--cn-field-border) !important;
    color: var(--cn-field-ink) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .form-row :is(.input-text, textarea)::placeholder {
    color: var(--cn-field-muted) !important;
    opacity: 1;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .form-row :is(.input-text, select, .select2-selection--single):focus-visible {
    outline: 2px solid var(--cn-field-focus) !important;
    outline-offset: 2px;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .select2-container--open .select2-selection--single {
    border-color: var(--cn-field-focus) !important;
    box-shadow: 0 0 0 1px var(--cn-field-focus);
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .select2-selection__rendered {
    color: var(--cn-field-ink) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .select2-selection__arrow b {
    border-color: var(--cn-field-focus) transparent transparent !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout .select2-container--open .select2-selection__arrow b {
    border-color: transparent transparent var(--cn-field-focus) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown {
    overflow: hidden;
    border: 1px solid #8aab99 !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 6px 18px #1848361c !important;
    color: var(--cn-field-ink) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-search--dropdown {
    padding: 8px !important;
    border-bottom: 1px solid #dbe8df;
    background: #f3f8f4 !important;
    color: var(--cn-field-muted) !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-search__field {
    min-height: 42px;
    padding: 5px 35px 5px 10px !important;
    border: 1px solid var(--cn-field-border) !important;
    border-radius: 7px !important;
    background-color: #fff !important;
    color: var(--cn-field-ink) !important;
    font-size: 16px !important;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-search__field:focus {
    outline: 2px solid var(--cn-field-focus) !important;
    outline-offset: -2px;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-results__options {
    max-height: min(248px, 36vh) !important;
    overflow-y: auto;
    overscroll-behavior: contain;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-results__option {
    padding: 10px 12px !important;
    background: #fff !important;
    color: var(--cn-field-ink) !important;
    font-size: 14px;
    line-height: 1.4;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-results__option:is([aria-selected="true"], [data-selected="true"], .select2-results__option--selected) {
    background: var(--cn-field-selected) !important;
    color: #164534 !important;
    font-weight: 720;
}

html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-results__option--highlighted {
    background: #245c47 !important;
    color: #fff !important;
}

html body.cuddnivar-storefront.woocommerce-checkout form.checkout input[type="checkbox"] {
    accent-color: var(--cn-field-focus);
}

@media (max-width: 767px) {
    html body.cuddnivar-storefront.woocommerce-checkout .select2-dropdown .select2-results__option {
        min-height: 44px;
        font-size: 16px;
    }
}

/* Same CuddNivar mark, sized for the header rather than print. */
html body.cuddnivar-storefront .whb-header :is(.wd-logo,.whb-logo) {
    background-image: url("images/cuddnivar-brand-logo.webp") !important;
}
