/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/


/*************************************** Common Settings ***************************************/
:root {
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --dur-fast:  400ms;
    --dur-mid:   650ms;
    --dur-slow:  850ms;
    --dur-xl:    1050ms;
    --dur-feedback: 160ms;
    --dur-tooltip:  220ms;
    --dur-card:     400ms;
    --dur-panel:    500ms;
    --dur-entrance: 700ms;
    --scale-up:  1.1;
}
html { 
    scroll-behavior: smooth; 
}
.custom-categories .wd-cat-content .wd-entities-title {
    color: #fff;
}
.custom-categories .wd-cat-content .wd-entities-title::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(/wp-content/uploads/2026/03/angle-circle-right-1.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    position: absolute;
    right: -44px;
    top: 2px;
    bottom: 0;
}
.boococks-cta span::after, 
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a.boococks-login-btn span.wd-tools-text::after, 
.newsletter-submit::after, 
.contact-us-submit::after {
    content: "";
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-left: 8px;
    background-image: url(/wp-content/uploads/2026/03/arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
    position: absolute;
    right: -25px;
    top: 0;
    bottom: 0;
}
.newsletter-submit::after, 
.contact-us-submit::after {
    position: unset;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a.boococks-login-btn span.wd-tools-text {
    position: relative;
}
.wp-block-wd-button {
    height: 53px;
}

/* Button click interaction - with spinner */
.custom-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
  vertical-align: middle;
  /* margin-right: 8px; */
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.btn-with-spinner.loading {
  opacity: 1;
  cursor: wait;
}
.btn.loading::before,
.btn.loading::after, 
.btn-with-spinner.loading span::before {
    display: none !important;
    content: none !important;
}




/*************************************** Animation Class ***************************************/
.bc-reveal {
  opacity: 0; 
  transform: translateY(40px);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.bc-reveal-slow {
  opacity: 0; 
  transform: translateY(60px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.bc-slide-left {
  opacity: 0; 
  transform: translateX(-60px);
  transition: opacity var(--dur-xl) var(--ease-out), transform var(--dur-xl) var(--ease-out);
}
.bc-slide-right {
  opacity: 0; 
  transform: translateX(60px);
  transition: opacity var(--dur-xl) var(--ease-out), transform var(--dur-xl) var(--ease-out);
}
.bc-scale {
  opacity: 0; 
  transform: scale(0.93);
  transition: opacity var(--dur-mid) var(--ease-out), transform var(--dur-mid) var(--ease-out);
}
.bc-fade {
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.bc-stagger > * {
  opacity: 0; 
  transform: translateY(36px);
  transition: opacity 800ms var(--ease-out), transform var(--dur-entrance) var(--ease-out);
}
.bc-reveal.in,.bc-reveal-slow.in,.bc-slide-left.in,.bc-slide-right.in,.bc-scale.in,.bc-fade.in, .bc-stagger.in > * {
  opacity:1; 
  transform:none;
}
@media (prefers-reduced-motion:reduce) {
  .bc-reveal,.bc-reveal-slow,.bc-slide-left,.bc-slide-right,.bc-scale,.bc-fade, .bc-stagger.in > * {
    opacity:1!important; transform:none!important; transition:none!important;
  }
}



/*************************************** Header ***************************************/
/* Top row */
.whb-main-header .whb-top-bar .whb-col-right {
    column-gap: 10px;
}
.whb-main-header .whb-top-bar .free-delivery-text, 
.whb-main-header .whb-top-bar .email, 
.whb-main-header .whb-top-bar .phone {
    display: flex;
    gap: 10px;
}
.whb-main-header .whb-top-bar .free-delivery-text span{
    color: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.14px;
    text-transform: uppercase;
}
.whb-main-header .whb-top-bar .email, 
.whb-main-header .whb-top-bar .phone {
    color: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.14px;
}
.whb-main-header .whb-top-bar a:hover {
    color: var(--wd-primary-color);
}

/* Middle row */
.whb-main-header .whb-general-header .wd-search-form input.s {
    border-radius: 8px;
    border: 1px solid rgba(63, 70, 50, 0.50);  
    --wd-search-btn-w: 20px;     
}
.whb-main-header .whb-general-header .wd-search-form input.s::placeholder, 
.whb-main-header .whb-general-header .wd-search-form input.s {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}
.whb-main-header .whb-general-header .wd-search-form {
    max-width: none;
}
.whb-main-header .whb-general-header .wd-search-form form {
    max-width: var(--wd-search-form-width);
    margin-left: auto;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account {
    margin-inline: 10px;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a {
    border-radius: 8px;
    background: var(--wd-primary-color);
    padding: 10px 25px;
    height: 45px;
    color: #FFF;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-transform: uppercase;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a:hover {
    background: #3F4632;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a.boococks-login-btn span.wd-tools-icon {
    display: none;
}
.whb-main-header .whb-general-header .whb-col-right .wd-header-my-account > a.boococks-login-btn {
    padding: 10px 40px 10px 25px;
}
.woocommerce-breadcrumb a, 
.woocommerce-breadcrumb .wd-last-link {
    color: #797365;
    font-weight: 300;
}
.wd-breadcrumbs .wd-delimiter, 
.woocommerce-breadcrumb .wd-last-link~span::after {
    color: #D8D2C8;
    font-weight: 300;
}
.woocommerce-breadcrumb .wd-last-link~span {
    display: block !important;
    color: #000;
    font-weight: 400;
}
.wd-breadcrumbs .wd-delimiter:after {
    content: "|";
}



/*************************************** Footer ***************************************/
/* Top row */
.footer .top-row {
    justify-content: space-between;
}
.footer .top-row .wp-block-wd-column {
    flex: 0 0 auto;
}
.footer .top-row .wp-block-wd-column.bc-fade:nth-child(1) {
    transition-delay: 0ms;
}
.footer .top-row .wp-block-wd-column.bc-fade:nth-child(2) {
    transition-delay: 50ms;
}
.footer .top-row .wp-block-wd-column.bc-fade:nth-child(3) {
    transition-delay: 100ms;
}
.footer .top-row .wp-block-wd-column.bc-fade:nth-child(4) {
    transition-delay: 150ms;
}
.footer .top-row .wp-block-wd-column.bc-fade:nth-child(5) {
    transition-delay: 200ms;
}

/* Middle row */
.footer .logo-col .phone.wp-block-wd-infobox, 
.footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container,
.footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container h3, 
.footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container p {
    width: fit-content !important;
}
.footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container  {
    flex: unset !important;
}
.footer .logo-col .wp-block-wd-infobox a {
    color: #D3D3D3;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.14px;
}
.footer .logo-col .wp-block-wd-infobox a:hover {
    color: var(--wd-primary-color);
}
.footer .nav-col .inner-right-col .cat li a, 
.footer .nav-col .cat-accordion .cat li a {
    color: #D3D3D3;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.14px;
}
.footer .nav-col .inner-right-col .cat li a:hover, 
footer .wd-copyrights .tnc-privacy-policy a:hover, 
.footer .nav-col .cat-accordion .cat li a:hover {
    color: var(--wd-primary-color);
}
.footer .nav-col .inner-right-col .cat, 
.footer .nav-col .cat-accordion .cat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: column;
    grid-template-rows: repeat(6, auto);
    --li-mb: 20px;
}
.footer .nav-col .inner-right-col .cat .current-cat a, 
.footer .nav-col .cat-accordion .cat .current-cat a {
    color: var(--wd-primary-color);
}
.footer .nav-col .inner-right-col .cat .cat-item:has(a[href*="uncategorised"]),
.footer .nav-col .inner-right-col .cat .cat-item:has(a[href*="curated-products"]), 
.footer .nav-col .inner-right-col .cat .cat-item:has(a[href*="mince"]), 
.footer .nav-col .cat-accordion .cat .cat-item:has(a[href*="uncategorised"]), 
.footer .nav-col .cat-accordion .cat .cat-item:has(a[href*="curated-products"]), 
.footer .nav-col .cat-accordion .cat .cat-item:has(a[href*="mince"]) {
    display: none;
}
.footer .nav-col .divider {
    width: 1px;
    flex: unset !important;
}
.footer .wp-block-wd-row.middle-row {
    align-items: stretch;
}
.footer .wp-block-wd-column.nav-col {
    align-self: stretch;
}
.footer .wp-block-wd-row.middle-row > .wp-block-wd-column.nav-col > .wp-block-wd-row {
    height: 100%;
}


/* Copyright */
footer .wd-copyrights {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    padding-block: 30px !important;
}
footer .wd-copyrights .wd-col-start {
    color: #D3D3D3;
}
footer .wd-copyrights .wd-col-end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
footer .wd-copyrights .tnc-privacy-policy {
    display: flex;
    justify-content: flex-end;
    column-gap: 30px;
}
footer .wd-copyrights .tnc-privacy-policy a {
    color: #D3D3D3;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -0.14px;
}

/* Prefooter */
.newsletter-outer .wp-block-wd-row {
    max-width: 933px;
}
.newsletter {
    margin: 40px auto 0 !important;
}
.newsletter form {
  display: flex;
  gap: 24px;
}
.newsletter .wpforms-field-container, 
.newsletter .wpforms-layout-column {
  flex: 1;
}
.newsletter .wpforms-submit-container {
  margin: 0;
  flex-shrink: 0;
}
.newsletter .wpforms-field input {
    width: 100%;
    color: #000;
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    --wpforms-field-size-input-height: 53px;
    --wpforms-field-border-color: rgba(105, 116, 84, 0.40);
    --wpforms-field-size-padding-h: 20px;
}
.newsletter .wpforms-field-layout .wpforms-layout-row {
    display: flex;
    gap: 24px;
    flex: 1;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.newsletter .wpforms-field-layout .wpforms-layout-column {
    padding: 0 !important
}
.newsletter .wpforms-field {
    padding: 0 !important;
}
.newsletter .wpforms-field input::placeholder {
    color: #000 !important;
    opacity: 1;
}
.newsletter .wpforms-submit-container {
    --wpforms-button-size-margin-top: 0;
}
.newsletter-submit, 
.contact-us-submit {
    --wpforms-button-size-padding-h: 25px;
    color: #FFF !important;
    font-family: Inter;
    --wpforms-button-size-font-size: 14px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: normal !important;
    text-transform: uppercase !important;
    --wpforms-button-size-height: 53px;
    position: relative;
    transition: all 0.3s ease-in-out !important;
}
.newsletter-submit:hover {
    background-color: #3F4632 !important;
}
.newsletter-submit::after {
    right: 25px;
    top: 33%;
}
.newsletter-outer::before {
    content: '';
    position: absolute;
    right: 0;
    transform: translate(50%, -35%);
    width: 452.812px;
    height: 287px;
    background: url('/wp-content/uploads/2026/04/bg-pork.svg') no-repeat left top;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
}
.newsletter-outer h2.bc-reveal {
    transition-delay: 80ms;
}
.newsletter-outer p.bc-reveal {
    transition-delay: 140ms;
}
.newsletter.bc-reveal {
    transition-delay: 200ms;
}


/*************************************** Responsive adjustments ***************************************/
@media screen and (max-width: 480px) {
    /*************************************** Common Settings ***************************************/
    .container, .container-fluid, 
    .wp-block-wd-section {
        padding-inline: 16px !important; 
    }
    .custom-categories .wd-cat-content .wd-entities-title::after {
        top: 14px;
        right: -30px;
        width: 20px;
        height: 20px;
    }
    .home-cat::before, 
    .home-tradition-quality::before, 
    .home-testimonials::before, 
    .newsletter-outer::before, 
    .about-our-story::before, 
    .about-our-values::before {
        display: none !important;
    }
    .sticky-toolbar-on .scrollToTop {
        bottom: 58px !important;
    }

    /*************************************** Header ***************************************/
    .whb-main-header .whb-general-header .whb-mobile-center .wd-logo img {
        max-height: 48px;
    }
    .whb-main-header .whb-general-header  .whb-mobile-right .phone-icon {
        flex: unset;
    }
    .whb-main-header .whb-header-bottom .wd-search-form, 
    .whb-main-header .whb-header-bottom .wd-search-form input {
        --wd-form-brd-width: 1px;
        --wd-form-brd-radius: 8px;
        --wd-form-brd-color-focus: rgba(255, 255, 255, 0.50);
    }
    .whb-main-header .whb-header-bottom .wd-search-form input::placeholder {
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        text-transform: uppercase;
    }

    /*************************************** Footer ***************************************/
    /* Prefooter */
    .newsletter form {
        flex-direction: column;
    }
    .newsletter-submit {
        width: 100% !important;
    }
    .newsletter-submit::after {
        right: 35%;
        top: 35%;
    }

    /* Footer */
    .wd-footer {
        background-image: url('/wp-content/uploads/2026/04/footer-bg-mobile.jpg') !important;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .footer .top-row {
        justify-content: center;
    }
    .footer .top-row-outer .divider {
        width: 1px;
        flex: unset !important;
    }
    .footer .logo-col .phone.wp-block-wd-infobox, .footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container, .footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container h3, .footer .logo-col .phone.wp-block-wd-infobox.wp-block-wd-container p {
        width: 100% !important;
    }
    .footer .nav-col .cat-accordion .cat {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, auto);
        --li-mb: 26px;
    }
    .footer .nav-col .cat-accordion .cat li a {
        font-size: 13px;
    }
    .footer .nav-col .nav-accordion ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-flow: column;
        grid-template-rows: repeat(2, auto);
    }
    .footer .nav-col .nav-accordion li a {
        height: 44px;
    }
    .footer .nav-col .nav-accordion .wd-accordion-opener, 
    .footer .nav-col .cat-accordion .wd-accordion-opener {
        color: #FFFFFF;
    }

    /* Copyright */
    footer .wd-copyrights {
        padding-block: 29px 39px !important;
    }
    .wd-copyrights  .wd-col-start, 
    .wd-copyrights  .tnc-privacy-policy a, 
    .wd-copyrights  .tnc-privacy-policy a span {
        font-size: 13px;
    }
    .wd-copyrights  .wd-col-start {
        text-align: left;
    }
    footer .wd-copyrights .wd-col-end {
        justify-content: flex-start;
    }
    .wd-copyrights > .container {
        gap: 15px;
    }
}