/*
 Theme Name:   YMS Collection
 Theme URI:    https://webmaintain.tech/
 Description:  Standalone WordPress theme for YMS Collection, forked from the active Sawmall/Sawmall Child implementation.
 Author:       Fahrul Rozi
 Author URI:   https://webmaintain.tech/
 Version:      1.0.17
 License:      Commercial/private site fork. Original Sawmall theme assets and code remain subject to their original license.
 Text Domain:  ymscollection
 Tags:         ecommerce, woocommerce, custom-menu, featured-images
*/

.main-header {
    position: relative;
    z-index: 30;
    box-shadow: 0 10px 28px rgba(28, 20, 14, 0.1);
}

/* Final guard: quote funnel must use the compact mobile commerce bar, never the old navbar button. */
@media (max-width: 991px) {
    body.yms-quote-mobile-header .header-top-one,
    body.yms-quote-mobile-header .header-style-one .header-upper .upper-right .info-outer,
    body.yms-quote-mobile-header .header-style-one .header-upper .upper-right .btn-box,
    body.yms-quote-mobile-header .main-header .header-lower .main-menu,
    body.yms-quote-mobile-header .main-header .header-lower .side-curve,
    body.yms-quote-mobile-header .main-header .header-lower .navbar-header,
    body.yms-quote-mobile-header .main-header .header-lower .navbar-toggler {
        display: none !important;
    }

    body.yms-quote-mobile-header .main-header.header-style-one .header-upper {
        margin-top: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .auto-container,
    body.yms-quote-mobile-header .main-header .header-lower .auto-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .clearfix {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .clearfix::before,
    body.yms-quote-mobile-header .main-header .header-upper .clearfix::after,
    body.yms-quote-mobile-header .main-header .header-lower .nav-outer::before,
    body.yms-quote-mobile-header .main-header .header-lower .nav-outer::after {
        display: none !important;
        content: none !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .logo-box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        float: none !important;
        width: 100% !important;
        min-height: 132px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .logo-box .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-height: 132px !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header:not(.fixed-header) .header-lower {
        display: block !important;
        min-height: 56px !important;
        background: #b8793f !important;
        z-index: 99999 !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .nav-outer {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px !important;
        align-items: center !important;
        min-height: 56px !important;
        height: 56px !important;
        padding: 0 14px !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .outer-box {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        float: none !important;
        position: static !important;
        width: 44px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: static !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: transparent !important;
        overflow: visible !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler .icon {
        position: relative !important;
        display: block !important;
        width: 30px !important;
        height: 22px !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        background: transparent !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler .icon::before,
    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler .icon::after {
        position: absolute !important;
        left: 0 !important;
        width: 30px !important;
        height: 3px !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        content: "" !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler .icon::before {
        top: 1px !important;
        box-shadow: 0 9px 0 #ffffff !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler .icon::after {
        bottom: 1px !important;
    }
}

/* Project editorial showcase and project library. */
.yms-project-showcase {
    columns: 3;
    column-gap: 20px;
}

.yms-project-showcase__card {
    position: relative;
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #1d211e;
    box-shadow: 0 14px 34px rgba(40, 32, 26, .09);
    break-inside: avoid;
}

.yms-project-showcase__link,
.yms-project-showcase__media,
.yms-project-showcase__media picture,
.yms-project-showcase__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.yms-project-showcase__link {
    position: relative;
    color: #fff;
    isolation: isolate;
}

.yms-project-showcase__media {
    position: relative;
    height: auto;
    max-height: 400px;
    overflow: hidden;
}

.yms-project-picture {
    display: block;
    width: 100%;
    height: auto;
}

.yms-project-showcase__media img {
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}

.yms-project-showcase__overlay {
    position: absolute;
    z-index: 2;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 16px 18px 18px;
    background: rgba(24, 29, 25, .9);
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .28s ease, transform .28s ease;
    backdrop-filter: blur(4px);
}

.yms-project-showcase__overlay strong {
    max-width: 620px;
    color: #fff;
    font-family: var(--thm-font-2, Georgia, serif);
    font-size: 19px;
    line-height: 1.2;
}

.yms-project-showcase__eyebrow,
.yms-project-showcase__detail {
    color: #e3b58f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.yms-project-showcase__overlay > span:not(.yms-project-showcase__eyebrow):not(.yms-project-showcase__detail) {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
}

.yms-project-showcase__detail {
    margin-top: 6px;
}

.yms-project-showcase__link:hover .yms-project-showcase__overlay,
.yms-project-showcase__link:focus-visible .yms-project-showcase__overlay {
    opacity: 1;
    transform: translateY(0);
}

.yms-project-showcase__link:hover .yms-project-showcase__media img,
.yms-project-showcase__link:focus-visible .yms-project-showcase__media img {
    transform: scale(1.035);
}

.yms-project-showcase__link:focus-visible {
    outline: 3px solid #b57a4c;
    outline-offset: 3px;
}

@media (hover: none) {
    .yms-project-showcase__card.is-project-open .yms-project-showcase__overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .yms-project-showcase__card.is-project-open .yms-project-showcase__media img {
        transform: scale(1.035);
    }
}

.yms-project-showcase__actions {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.yms-project-archive,
.yms-project-page {
    overflow: hidden;
    background: #f7f5f0;
    color: #263128;
}

.yms-project-archive__hero {
    padding: 92px 0 62px;
    background: #18231c;
    color: #fff;
}

.yms-project-archive__hero h1 {
    max-width: 820px;
    margin: 8px 0 18px;
    color: #fff;
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
}

.yms-project-archive__hero p:last-child {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.75;
}

.yms-project-eyebrow {
    margin: 0 0 8px;
    color: #a87049;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.yms-project-archive__body {
    padding-top: 64px;
    padding-bottom: 84px;
}

.yms-project-archive__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 22px;
}

.yms-project-card {
    overflow: hidden;
    min-width: 0;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 49, 39, .09);
}

.yms-project-card__link,
.yms-project-card__media,
.yms-project-card__image {
    display: block;
}

.yms-project-card__link {
    height: 100%;
    color: #263128;
}

.yms-project-card__media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dcd8ce;
}

.yms-project-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.yms-project-card__content {
    display: grid;
    gap: 8px;
    padding: 22px;
}

.yms-project-card__meta,
.yms-project-card__location {
    color: #6c746d;
    font-size: 13px;
}

.yms-project-card__title {
    color: #1b281f;
    font-family: var(--thm-font-2, Georgia, serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.yms-project-card__link:hover .yms-project-card__image,
.yms-project-card__link:focus-visible .yms-project-card__image {
    transform: scale(1.035);
}

.yms-project-card__link:focus-visible {
    outline: 3px solid #a87049;
    outline-offset: -3px;
}

.yms-project-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    padding-top: 24px;
    padding-bottom: 24px;
    color: #69736c;
    font-size: 13px;
}

.yms-project-breadcrumbs a {
    color: #4a5a4e;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yms-project-story__header {
    display: grid;
    grid-template-columns: minmax(300px, .82fr) minmax(420px, 1.18fr);
    align-items: center;
    gap: 58px;
    padding-top: 34px;
    padding-bottom: 68px;
}

.yms-project-story__heading h1 {
    margin: 9px 0 22px;
    color: #17231b;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.02;
}

.yms-project-story__intro {
    color: #59645c;
    font-size: 19px;
    line-height: 1.72;
}

.yms-project-story__notice {
    margin-top: 18px;
    padding: 12px 15px;
    border-left: 3px solid #b57649;
    background: #f2e8dd;
    color: #69492f;
    font-size: 14px;
}

.yms-project-story__hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: min(540px, 60vh);
    aspect-ratio: unset;
    margin: 0 0 32px;
    padding: 16px;
    border-radius: 12px;
    background: #f4efea;
    box-shadow: 0 10px 30px rgba(28, 20, 14, 0.08);
    overflow: hidden;
}

.yms-project-story__hero-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(508px, calc(60vh - 32px));
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
}

.yms-project-story__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 64px;
    padding-bottom: 100px;
}

.yms-project-copy,
.yms-project-media {
    padding-top: 50px;
    border-top: 1px solid #d8d4ca;
}

.yms-project-copy h2,
.yms-project-media h2 {
    margin: 7px 0 22px;
    color: #1d2a21;
    font-size: clamp(30px, 4vw, 44px);
}

.yms-project-copy__body {
    max-width: 780px;
    color: #4e5a51;
    font-size: 17px;
    line-height: 1.86;
}

.yms-project-copy__body p {
    margin: 0 0 22px;
}

.yms-project-media {
    margin-top: 62px;
}

.yms-project-stage {
    margin-top: 38px;
}

.yms-project-stage__label {
    margin: 0 0 13px;
    color: #334439;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.yms-project-stage__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.yms-project-stage__item {
    overflow: hidden;
    min-width: 0;
    margin: 0;
    border-radius: 8px;
    background: #e5e2da;
}

.yms-project-stage__item .yms-project-picture {
    height: auto;
}

.yms-project-stage__item img,
.yms-project-stage__item video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.yms-project-stage__item figcaption {
    padding: 12px 14px 14px;
    background: #fff;
    color: #5b665e;
    font-size: 13px;
    line-height: 1.5;
}

.yms-project-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 20px;
}

.yms-project-info-card,
.yms-project-enquiry {
    padding: 27px;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(35, 49, 39, .08);
}

.yms-project-info-card__title {
    margin: 0 0 18px;
    color: #1e2d23;
    font-family: var(--thm-font-2, Georgia, serif);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.yms-project-info-card dl,
.yms-project-info-card dd {
    margin: 0;
}

.yms-project-info-card dl > div {
    display: grid;
    gap: 3px;
    padding: 13px 0;
    border-top: 1px solid #ebe8e0;
}

.yms-project-info-card dt {
    color: #7a827c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.yms-project-info-card dd,
.yms-project-enquiry {
    color: #4d5a51;
    line-height: 1.55;
}

.yms-project-button,
.yms-project-text-link {
    display: block;
    margin-top: 18px;
    text-align: center;
}

.yms-project-button,
.yms-project-button:link,
.yms-project-button:visited {
    padding: 13px 18px;
    border: 1px solid #263d2d;
    border-radius: 4px;
    background: #263d2d;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
}

.yms-project-button:hover,
.yms-project-button:focus,
.yms-project-button:active {
    border-color: #9a5526;
    background: #9a5526;
    color: #fff !important;
}

.yms-project-text-link,
.yms-project-text-link:link,
.yms-project-text-link:visited {
    color: #36543f !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yms-project-text-link:hover,
.yms-project-text-link:focus,
.yms-project-text-link:active {
    color: #9a5526 !important;
}

@media (max-width: 1024px) {
    .yms-project-showcase {
        columns: 2;
    }

    .yms-project-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yms-project-story__header {
        gap: 34px;
    }

    .yms-project-story__layout {
        grid-template-columns: minmax(0, 1fr) 290px;
        gap: 36px;
    }
}

@media (max-width: 767px) {
    .yms-project-showcase {
        columns: 1;
    }

    .yms-project-showcase__card {
        margin-bottom: 16px;
    }

    .yms-project-showcase__media {
        max-height: none;
    }

    .yms-project-showcase__overlay {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px 16px 16px;
    }

    .yms-project-archive__hero {
        padding: 58px 0 42px;
    }

    .yms-project-archive__hero p:last-child {
        font-size: 16px;
    }

    .yms-project-archive__body {
        padding-top: 38px;
        padding-bottom: 58px;
    }

    .yms-project-archive__grid,
    .yms-project-story__header,
    .yms-project-story__layout,
    .yms-project-stage__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .yms-project-story__header {
        gap: 28px;
        padding-top: 20px;
        padding-bottom: 48px;
    }

    .yms-project-story__layout {
        gap: 44px;
        padding-bottom: 70px;
    }

    .yms-project-sidebar {
        position: static;
    }
}

/* Keep the desktop header identical on every template, including WooCommerce. */
@media (min-width: 992px) {
    .main-header.header-style-one .header-upper .logo-box {
        margin-top: 50px;
        padding-top: 0;
    }

    .main-header.header-style-one .main-menu .navigation > li > a {
        padding-top: 25px;
        padding-bottom: 25px;
    }
}

button.scroll-to-toped {
    padding: 0;
    border: 0;
    appearance: none;
}

button.scroll-to-toped:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.mobile-menu .mobile-quote-btn {
    padding: 20px;
    text-align: center;
}

.mobile-menu .mobile-quote-btn .theme-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #ab7442;
}

.main-footer .footer-widget h2 {
    position: relative;
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.2em;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    body.yms-commerce-mobile-header .header-top-one,
    body.yms-commerce-mobile-header .header-style-one .header-upper .upper-right .info-outer {
        display: none !important;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .logo-box {
        min-height: 132px !important;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .logo-box .logo {
        min-height: 132px !important;
    }

    body.yms-commerce-mobile-header .main-header .logo-box .logo .yms-native-logo-img {
        max-width: 190px !important;
        max-height: 104px !important;
    }
}

@media (max-width: 991px) {
    body.yms-commerce-mobile-header .header-top-one {
        display: none !important;
    }

    body.yms-commerce-mobile-header .main-header.header-style-one .header-upper {
        margin-top: 0 !important;
        background: #ffffff;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .auto-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .clearfix {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .clearfix::before,
    body.yms-commerce-mobile-header .main-header .header-upper .clearfix::after {
        display: none !important;
        content: none !important;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .logo-box {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        min-height: 132px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        text-align: center;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .logo-box .logo {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.yms-commerce-mobile-header .main-header .header-upper .upper-right {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
    }

    body.yms-commerce-mobile-header .main-header .btn-box {
        display: none !important;
    }
}

/* One quote route across Shop, Projects and every sticky/mobile header. */
.sticky-header .yms-header-quote {
    display: inline-block;
    margin: 0 0 0 14px;
}

.sticky-header .yms-header-quote .theme-btn {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 10px 18px;
    white-space: nowrap;
}

.mobile-menu .yms-header-quote {
    padding: 20px;
    text-align: center;
}

.mobile-menu .yms-header-quote .theme-btn {
    display: inline-block;
    width: 100%;
    padding: 12px 20px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    background: #ab7442;
}

@media (max-width: 991px) {
    .sticky-header .yms-header-quote {
        display: none;
    }
}

@media (max-width: 991px) {
    body.yms-quote-mobile-header .header-top-one,
    body.yms-quote-mobile-header .header-style-one .header-upper .upper-right .info-outer {
        display: none !important;
    }

    body.yms-quote-mobile-header .main-header.header-style-one .header-upper {
        margin-top: 0 !important;
        background: #ffffff;
    }

    body.yms-quote-mobile-header .main-header .header-upper .auto-container {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .clearfix {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    body.yms-quote-mobile-header .main-header .header-upper .clearfix::before,
    body.yms-quote-mobile-header .main-header .header-upper .clearfix::after {
        display: none !important;
        content: none !important;
    }

    body.yms-quote-mobile-header .main-header .header-upper .logo-box {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        min-height: 132px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        text-align: center;
    }

    body.yms-quote-mobile-header .main-header .header-upper .logo-box .logo {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }

    body.yms-quote-mobile-header .main-header .btn-box {
        display: none !important;
    }
}

@media (max-width: 767px) {
    body.yms-quote-mobile-header .main-header .header-upper .logo-box,
    body.yms-quote-mobile-header .main-header .header-upper .logo-box .logo {
        min-height: 132px !important;
    }

    body.yms-quote-mobile-header .main-header .logo-box .logo .yms-native-logo-img {
        max-width: 190px !important;
        max-height: 104px !important;
    }
}

.main-header .outer-box .cart-box .cart-panel {
    width: min(360px, calc(100vw - 28px));
    min-width: 0;
    max-height: min(72vh, 620px);
    overflow: hidden;
    padding: 14px;
    border: 1px solid rgba(171, 116, 66, 0.35);
    border-top: 3px solid #ab7442;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(18, 24, 32, 0.18);
}

.main-header .outer-box .cart-box .cart-panel.show {
    z-index: 1000;
}

.main-header .outer-box .cart-box .cart-panel .sawmall-header-cart-items {
    max-height: min(48vh, 430px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    margin-right: -6px;
}

.main-header .outer-box .cart-box .cart-panel .sawmall-header-cart-items::-webkit-scrollbar {
    width: 6px;
}

.main-header .outer-box .cart-box .cart-panel .sawmall-header-cart-items::-webkit-scrollbar-track {
    background: #f4f0ec;
    border-radius: 999px;
}

.main-header .outer-box .cart-box .cart-panel .sawmall-header-cart-items::-webkit-scrollbar-thumb {
    background: #b9824e;
    border-radius: 999px;
}

.main-header .outer-box .cart-product {
    min-height: 82px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee8e1;
}

.main-header .outer-box .cart-product:last-child {
    margin-bottom: 0;
}

.main-header .outer-box .cart-product.is-removing {
    opacity: 0.55;
    pointer-events: none;
}

.main-header .outer-box .cart-product.is-updating {
    opacity: 0.72;
}

.main-header .outer-box .cart-product .inner {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    column-gap: 12px;
    min-height: 66px;
    padding-left: 0;
    padding-right: 32px;
}

.main-header .outer-box .cart-product .inner .image {
    position: static;
    width: 66px;
    height: 66px;
    overflow: hidden;
    border-radius: 6px;
    background: #f7f2ed;
}

.main-header .outer-box .cart-product .inner .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    margin: 0;
}

.main-header .outer-box .cart-product .inner h3 {
    align-self: start;
    min-width: 0;
    margin: 0 0 5px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

.main-header .outer-box .cart-product .inner h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.main-header .outer-box .cart-product .inner .quantity-control,
.main-header .outer-box .cart-product .inner .price {
    grid-column: 2;
}

.main-header .outer-box .cart-product .inner .quantity-control {
    display: inline-grid;
    grid-template-columns: auto 24px minmax(20px, auto) 24px;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin-bottom: 4px;
    color: #6f6a64;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

.main-header .outer-box .cart-product .inner .quantity-label {
    margin-right: 2px;
}

.main-header .outer-box .cart-product .inner .sawmall-cart-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    color: #2a211b;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    border: 1px solid #e4d7cb;
    border-radius: 4px;
    background: #fbf8f5;
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.main-header .outer-box .cart-product .inner .sawmall-cart-qty-btn:hover:not(:disabled) {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
}

.main-header .outer-box .cart-product .inner .sawmall-cart-qty-btn:disabled {
    color: #b8afa6;
    cursor: not-allowed;
    opacity: 0.72;
}

.main-header .outer-box .cart-product .inner .quantity-value {
    min-width: 20px;
    color: #2a211b;
    font-weight: 500;
    text-align: center;
}

.main-header .outer-box .cart-product .inner .price {
    color: #ab7442;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.main-header .outer-box .cart-product .inner .cross-icon,
.woocommerce .main-header .outer-box .cart-product .inner a.remove.cross-icon {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #263120 !important;
    font-size: 13px;
    line-height: 1;
    border-radius: 50%;
    background: #f5f1ec;
    text-decoration: none;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.main-header .outer-box .cart-product .inner .cross-icon:hover,
.woocommerce .main-header .outer-box .cart-product .inner a.remove.cross-icon:hover {
    color: #ffffff !important;
    background: #ab7442;
    transform: scale(1.04);
}

.main-header .outer-box .cart-box .cart-panel .cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 12px;
    padding-top: 12px;
    color: #141414;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    border-top: 1px solid #eee8e1;
}

.main-header .outer-box .cart-box .cart-panel .cart-total span {
    color: #ab7442;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.main-header .outer-box .cart-box .cart-panel .btns-boxed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 12px 0 0;
    text-align: initial;
}

.main-header .outer-box .cart-box .cart-panel .btns-boxed li {
    display: block;
    margin: 0;
}

.main-header .outer-box .cart-box .cart-panel .btns-boxed li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: 0;
}

.main-header .outer-box .cart-box .cart-panel .cart-content {
    padding: 16px 0 6px;
}

.main-header .outer-box .cart-box .cart-panel .cart-content p {
    margin: 0;
    color: #6f6a64;
    font-size: 14px;
}

@media (max-width: 575px) {
    .main-header .outer-box .cart-box .cart-panel {
        position: absolute !important;
        top: 100% !important;
        left: -10px !important;
        right: auto !important;
        width: 318px !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 100px);
        margin-top: 15px !important;
        padding: 12px;
        transform: none !important;
        z-index: 100000 !important;
    }

    .main-header .btn-box {
        display: none !important;
    }

    .main-header .outer-box .cart-box .cart-panel .sawmall-header-cart-items {
        max-height: calc(100vh - 300px);
    }

    .main-header .outer-box .cart-product .inner {
        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 10px;
        padding-right: 28px;
    }

    .main-header .outer-box .cart-product .inner .image {
        width: 58px;
        height: 58px;
    }

    .main-header .outer-box .cart-product .inner h3 {
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;
    }

    .main-header .outer-box .cart-product .inner .quantity-control {
        font-size: 11px;
    }

    .main-header .outer-box .cart-product .inner .price {
        font-size: 13px;
        font-weight: 600;
    }

    .main-header .outer-box .cart-box .cart-panel .cart-total {
        font-size: 13px;
    }

    .main-header .outer-box .cart-box .cart-panel .cart-total span {
        font-size: 15px;
        font-weight: 600;
    }

    .main-header .outer-box .cart-box .cart-panel .btns-boxed {
        grid-template-columns: 1fr;
    }
}

/* Cart page redesign */
.woocommerce-cart .woocommerce {
    width: min(100% - 48px, 1340px);
    margin: 0 auto;
}

.woocommerce-cart .cart-section,
.woocommerce-cart .shop-single-section,
.woocommerce-cart .sidebar-page-container,
.woocommerce-cart .woocommerce {
    background: #ffffff !important;
}

.woocommerce-cart .page-title {
    padding: 26px 0 12px !important;
    background: #ffffff !important;
}

.woocommerce-cart .page-title h2 {
    color: #171310;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: 0;
}

.sawmall-cart-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
    gap: 44px;
    align-items: start;
    padding: 34px 0 78px;
}

.sawmall-cart-page__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.sawmall-cart-page__heading h1 {
    margin: 0;
    color: #171310;
    font-size: 28px;
    font-weight: 850;
    line-height: 1.18;
    letter-spacing: 0;
}

.sawmall-cart-page__heading span {
    color: #746960;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
}

.sawmall-cart-list {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

.sawmall-cart-page__form {
    overflow: hidden;
    padding: 22px;
    border: 1px solid #ded8d1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

.sawmall-cart-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0 0 22px;
    border-bottom: 1px solid #ece7e1;
    background: #ffffff;
}

.sawmall-cart-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sawmall-cart-item__image,
.sawmall-cart-item__image a {
    display: block;
}

.sawmall-cart-item__image img {
    display: block;
    width: 132px;
    height: 132px;
    margin: 0;
    object-fit: cover;
    border-radius: 8px;
    background: #ffffff;
}

.sawmall-cart-item__body {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.sawmall-cart-item__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 18px;
    align-items: start;
}

.sawmall-cart-item h2 {
    margin: 0 0 8px;
    color: #171310;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.4;
    letter-spacing: 0;
}

.sawmall-cart-item h2 a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sawmall-cart-item h2 a:hover,
.sawmall-cart-item h2 a:focus {
    color: #ab7442;
    outline: none;
}

.sawmall-cart-item__price {
    color: #63584f;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.sawmall-cart-item__total {
    display: grid;
    gap: 4px;
    justify-items: end;
    color: #171310;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.25;
    white-space: nowrap;
}

.sawmall-cart-item__total span {
    color: #746960;
    font-size: 12px;
    font-weight: 400;
}

.sawmall-cart-item dl.variation {
    display: grid;
    gap: 4px;
    margin: -6px 0 0;
    color: #746960;
    font-size: 12px;
    line-height: 1.4;
}

.sawmall-cart-item dl.variation dt,
.sawmall-cart-item dl.variation dd,
.sawmall-cart-item dl.variation p {
    margin: 0;
}

.sawmall-cart-item__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sawmall-cart-item__quantity .quantity {
    display: inline-flex;
    align-items: center;
}

.sawmall-cart-qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6c625a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1;
}

.sawmall-cart-qty-stepper__label {
    font-size: 13px;
    font-weight: 400;
}

.sawmall-cart-page-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 1px solid #d9d0c8;
    border-radius: 5px;
    color: #211b16;
    background: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}

.sawmall-cart-page-qty-btn:focus {
    border-color: #ab7442;
    outline: 3px solid rgba(171, 116, 66, 0.14);
}

.woocommerce .sawmall-cart-item__quantity .qty {
    width: 30px;
    height: 28px;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: #171310;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    box-shadow: none;
    appearance: textfield;
    -moz-appearance: textfield;
}

.woocommerce .sawmall-cart-item__quantity .qty::-webkit-outer-spin-button,
.woocommerce .sawmall-cart-item__quantity .qty::-webkit-inner-spin-button {
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
}

.woocommerce .sawmall-cart-item a.remove,
.sawmall-cart-item__remove {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: 32px !important;
    min-width: 0;
    padding: 0;
    color: #746960 !important;
    background: transparent !important;
    font-size: 13px !important;
    font-weight: 500;
    line-height: 1 !important;
    text-decoration: none;
}

.woocommerce .sawmall-cart-item a.remove:hover,
.woocommerce .sawmall-cart-item a.remove:focus {
    color: #ab7442 !important;
    outline: none;
}

.sawmall-cart-page__tools {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding: 18px 0 0;
    border: 0;
    border-top: 1px solid #ece7e1;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

.sawmall-cart-coupon {
    display: none;
    gap: 7px;
    min-width: min(100%, 420px);
}

.sawmall-cart-coupon label {
    margin: 0;
    color: #171310;
    font-size: 13px;
    font-weight: 800;
}

.sawmall-cart-coupon > div {
    display: flex;
    gap: 8px;
}

.sawmall-cart-coupon input.input-text {
    width: 100%;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #d9d0c8;
    border-radius: 6px;
    color: #171310;
    background: #ffffff;
    font-size: 13px;
}

.woocommerce .sawmall-cart-coupon button.button,
.woocommerce .sawmall-cart-update.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 11px 18px;
    border: 1px solid #2f2924;
    border-radius: 6px;
    color: #2f2924;
    background: #ffffff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.1;
    text-transform: none;
}

.woocommerce .sawmall-cart-coupon button.button:hover,
.woocommerce .sawmall-cart-coupon button.button:focus,
.woocommerce .sawmall-cart-update.button:hover,
.woocommerce .sawmall-cart-update.button:focus {
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
    outline: none;
}

.sawmall-cart-page__summary {
    position: sticky;
    top: 118px;
    min-width: 0;
}

.sawmall-cart-summary {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.sawmall-cart-summary h2 {
    margin: 0 0 18px;
    color: #171310;
    font-size: 18px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.woocommerce .sawmall-cart-summary table.shop_table {
    margin: 0 0 20px;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
}

.woocommerce-cart .sawmall-cart-page *,
.woocommerce-cart .sawmall-cart-page *::before,
.woocommerce-cart .sawmall-cart-page *::after {
    box-shadow: none;
}

.woocommerce .sawmall-cart-summary table.shop_table tr {
    border-bottom: 1px solid #ece7e1;
    background: transparent !important;
}

.woocommerce .sawmall-cart-summary table.shop_table th,
.woocommerce .sawmall-cart-summary table.shop_table td {
    padding: 13px 0;
    border: 0;
    color: #2f2924;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.35;
    vertical-align: top;
}

.woocommerce .sawmall-cart-summary table.shop_table th {
    width: 46%;
    font-weight: 650;
    text-align: left;
}

.woocommerce .sawmall-cart-summary table.shop_table td {
    font-weight: 750;
    text-align: right;
}

.woocommerce .sawmall-cart-summary .order-total th,
.woocommerce .sawmall-cart-summary .order-total td {
    padding-top: 18px;
    color: #171310;
    font-size: 21px;
    font-weight: 850;
}

.woocommerce .sawmall-cart-summary .order-total strong {
    font-weight: 850;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout {
    padding: 0;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    padding: 16px 22px;
    border-radius: 6px;
    color: #ffffff;
    background: #2f2924;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: none;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button:focus {
    color: #ffffff;
    background: #ab7442;
    outline: none;
}

.sawmall-cart-summary__note {
    margin: 14px 0 0;
    color: #746960;
    font-size: 12.5px;
    line-height: 1.5;
}

.woocommerce-cart .woocommerce-notices-wrapper {
    width: min(100% - 48px, 1340px);
    margin: 0 auto;
}

.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-info,
.woocommerce-cart .woocommerce-error {
    border-top-color: #ab7442;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

@media (max-width: 991px) {
    .sawmall-cart-page {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .sawmall-cart-page__summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .woocommerce-cart .woocommerce,
    .woocommerce-cart .woocommerce-notices-wrapper {
        width: min(100% - 32px, 1340px);
    }

    .sawmall-cart-page {
        padding: 24px 0 54px;
    }

    .sawmall-cart-page__heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .sawmall-cart-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .sawmall-cart-item__image img {
        width: 96px;
        height: 96px;
    }

    .sawmall-cart-item__top {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .sawmall-cart-item__total {
        white-space: normal;
    }

    .sawmall-cart-page__tools {
        align-items: stretch;
        flex-direction: column;
    }

    .sawmall-cart-coupon > div {
        flex-direction: column;
    }

    .woocommerce .sawmall-cart-coupon button.button,
    .woocommerce .sawmall-cart-update.button {
        width: 100%;
    }
}

/* Reduce the empty gap between cart/checkout title and content cards. */
body.woocommerce-cart .sawmall-cart-page {
    padding-top: 0 !important;
}

body.woocommerce-checkout form.checkout {
    padding-top: 0 !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
    padding-top: 0 !important;
}

@media (max-width: 640px) {
    body.woocommerce-cart .sawmall-cart-page,
    body.woocommerce-checkout form.checkout {
        padding-top: 0 !important;
    }
}

/* Cart and checkout polish scoped only to WooCommerce flow. */
body.woocommerce-cart,
body.woocommerce-checkout {
    background: #ffffff;
}

body.woocommerce-cart .page-title,
body.woocommerce-checkout .page-title {
    min-height: 52px !important;
    padding: 12px 0 !important;
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid #ece3db;
}

body.woocommerce-cart .page-title::before,
body.woocommerce-cart .page-title::after,
body.woocommerce-checkout .page-title::before,
body.woocommerce-checkout .page-title::after {
    display: none !important;
}

body.woocommerce-cart .page-title .auto-container,
body.woocommerce-checkout .page-title .auto-container {
    width: min(100% - 64px, 1280px);
    max-width: none;
}

body.woocommerce-cart .sidebar-page-container,
body.woocommerce-checkout .sidebar-page-container {
    padding-top: 18px !important;
}

body.woocommerce-cart .page-title .clearfix,
body.woocommerce-checkout .page-title .clearfix {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: 28px;
    text-align: left !important;
}

body.woocommerce-cart .page-title .pull-left,
body.woocommerce-checkout .page-title .pull-left {
    display: none !important;
}

body.woocommerce-cart .page-title .pull-right,
body.woocommerce-checkout .page-title .pull-right {
    display: block !important;
    float: none !important;
    width: 100% !important;
    text-align: left !important;
}

body.woocommerce-cart .page-title h1,
body.woocommerce-cart .page-title h2,
body.woocommerce-checkout .page-title h1,
body.woocommerce-checkout .page-title h2 {
    display: none !important;
}

body.woocommerce-checkout .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout .form-row .woocommerce-form__label-for-checkbox,
body.woocommerce-checkout #ship-to-different-address label {
    display: inline-flex !important;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #211b16;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    cursor: pointer;
}

body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout .woocommerce form .form-row input.input-checkbox,
body.woocommerce-checkout #ship-to-different-address-checkbox {
    position: static !important;
    display: inline-block !important;
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin: 2px 0 0 !important;
    accent-color: #ab7442;
}

body.woocommerce-checkout #ship-to-different-address span,
body.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
    color: #211b16;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

body.woocommerce-cart .page-title .page-breadcrumb,
body.woocommerce-checkout .page-title .page-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

body.woocommerce-cart .page-title .page-breadcrumb li,
body.woocommerce-checkout .page-title .page-breadcrumb li {
    margin: 0 !important;
    color: #6f6258 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

body.woocommerce-cart .page-title .page-breadcrumb li a,
body.woocommerce-checkout .page-title .page-breadcrumb li a {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 22px !important;
    padding: 0 !important;
    color: #6f6258 !important;
    text-decoration: none !important;
}

body.woocommerce-cart .page-title .page-breadcrumb li::after,
body.woocommerce-checkout .page-title .page-breadcrumb li::after {
    margin: 0 12px !important;
    color: #ab7442 !important;
}

body.woocommerce-cart .page-title .page-breadcrumb li:last-child::after,
body.woocommerce-checkout .page-title .page-breadcrumb li:last-child::after {
    display: none !important;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .woocommerce-notices-wrapper {
    width: min(100% - 64px, 1280px);
    max-width: none;
    margin: 0 auto;
}

.sawmall-cart-page {
    gap: 36px;
    padding: 32px 0 70px;
}

.sawmall-cart-page__form,
.sawmall-cart-summary,
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
    border: 1px solid #ded8d1;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(28, 20, 14, 0.04);
}

.sawmall-cart-page__form {
    padding: 24px;
}

.sawmall-cart-page__heading h1,
.sawmall-cart-summary h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout #order_review_heading {
    color: #211b16 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.sawmall-cart-page__heading span,
.sawmall-cart-item__price,
.sawmall-cart-summary__note {
    color: #746960;
    font-size: 13px;
    font-weight: 400;
}

.sawmall-cart-item h2,
.sawmall-cart-item h2 a {
    color: #211b16 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

.sawmall-cart-item__total,
.woocommerce .sawmall-cart-summary table.shop_table td,
.woocommerce .sawmall-cart-summary .order-total td,
.woocommerce .sawmall-cart-summary .order-total strong {
    color: #ab7442 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table th,
.woocommerce .sawmall-cart-summary table.shop_table td {
    padding: 14px 0;
    font-size: 14px;
    line-height: 1.4;
}

.woocommerce .sawmall-cart-summary table.shop_table th {
    color: #211b16;
    font-weight: 500;
}

.sawmall-cart-summary {
    padding: 22px 24px 20px !important;
}

.sawmall-cart-summary h2 {
    margin-bottom: 14px;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button,
.woocommerce .sawmall-cart-coupon button.button,
.woocommerce .sawmall-cart-update.button,
body.woocommerce-checkout #place_order,
body.woocommerce-checkout button.button,
body.woocommerce-checkout a.button {
    min-height: 46px;
    border: 1px solid #ab7442 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    background: #b8793f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .sawmall-cart-coupon button.button:hover,
.woocommerce .sawmall-cart-update.button:hover,
body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout button.button:hover,
body.woocommerce-checkout a.button:hover {
    border-color: #8f4f22 !important;
    background: #8f4f22 !important;
}

.woocommerce .sawmall-cart-coupon button.button,
.woocommerce .sawmall-cart-update.button {
    padding: 11px 18px;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button {
    min-height: 50px;
    padding: 14px 18px;
}

body.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
    gap: 34px;
    align-items: start;
    padding: 32px 0 70px;
}

body.woocommerce-checkout #payment {
    margin-top: 18px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    display: grid;
    gap: 10px;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 1px solid #ded8d1;
    border-radius: 8px;
    background: #fbfaf8;
    color: #211b16;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

body.woocommerce-checkout #payment ul.payment_methods li input {
    width: 16px;
    height: 16px;
    margin: 2px 8px 0 0;
    vertical-align: top;
}

body.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 24px;
    margin-left: 8px;
}

body.woocommerce-checkout #payment div.payment_box {
    margin: 12px 0 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: #746960;
    background: #ffffff;
    font-size: 13px;
    line-height: 1.5;
}

body.woocommerce-checkout #payment div.payment_box::before {
    display: none;
}

body.woocommerce-checkout #payment div.form-row {
    margin: 0;
    padding: 0 !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
    padding: 24px;
}

body.woocommerce-checkout #order_review_heading {
    margin: 0 0 14px;
}

body.woocommerce-checkout .form-row label {
    color: #211b16;
    font-size: 13px;
    font-weight: 500;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-cart .sawmall-cart-coupon input.input-text,
body.woocommerce-cart .sawmall-cart-item__quantity .qty {
    min-height: 38px;
    border: 1px solid #d9d0c8;
    border-radius: 6px;
    color: #211b16;
    background: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

body.woocommerce-checkout .form-row input.input-text:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus,
body.woocommerce-cart .sawmall-cart-coupon input.input-text:focus,
body.woocommerce-cart .sawmall-cart-item__quantity .qty:focus {
    border-color: #ab7442;
    outline: 3px solid rgba(171, 116, 66, 0.14);
}

body.woocommerce-cart .sawmall-cart-qty-stepper .qty {
    width: 30px !important;
    min-height: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .sawmall-cart-qty-stepper .qty:focus {
    border-color: transparent !important;
    outline: 0 !important;
}

body.woocommerce-cart .sidebar-page-container,
body.woocommerce-checkout .sidebar-page-container {
    padding-top: 18px !important;
}

body.woocommerce-cart .sawmall-cart-page {
    padding-top: 0 !important;
}

body.woocommerce-checkout form.checkout {
    padding-top: 0 !important;
}

body.woocommerce-checkout table.shop_table {
    margin-bottom: 18px;
    border: 0 !important;
    border-collapse: collapse;
}

body.woocommerce-checkout table.shop_table th,
body.woocommerce-checkout table.shop_table td {
    padding: 14px 0;
    border-color: #ece7e1 !important;
    color: #211b16;
    font-size: 14px;
    font-weight: 400;
}

body.woocommerce-checkout table.shop_table .amount {
    color: #ab7442;
    font-weight: 600;
}

@media (max-width: 991px) {
    body.woocommerce-checkout form.checkout {
        display: block;
        padding: 24px 0 54px;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review {
        margin-bottom: 22px;
    }

    .sawmall-cart-page {
        gap: 24px;
    }
}

@media (max-width: 640px) {
    body.woocommerce-cart .page-title,
    body.woocommerce-checkout .page-title {
        min-height: 0 !important;
        padding: 8px 0 !important;
    }

    body.woocommerce-cart .page-title .auto-container,
    body.woocommerce-checkout .page-title .auto-container,
    body.woocommerce-cart .woocommerce,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout .woocommerce-notices-wrapper {
        width: min(100% - 28px, 1340px);
    }

    body.woocommerce-cart .page-title h1,
    body.woocommerce-cart .page-title h2,
    body.woocommerce-checkout .page-title h1,
    body.woocommerce-checkout .page-title h2 {
        display: none !important;
    }

    .sawmall-cart-page__form,
    .sawmall-cart-summary,
    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review {
        padding: 18px !important;
        box-shadow: none;
    }

    .sawmall-cart-page__heading h1,
    .sawmall-cart-summary h2,
    body.woocommerce-checkout h3,
    body.woocommerce-checkout #order_review_heading {
        font-size: 19px !important;
    }

    .sawmall-cart-item {
        padding: 0 0 18px;
    }

    .woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button,
    .woocommerce .sawmall-cart-coupon button.button,
    .woocommerce .sawmall-cart-update.button,
    body.woocommerce-checkout #place_order {
        width: 100%;
    }
}

/* Match cart summary card sizing with the main cart card. */
.sawmall-cart-page__form,
.sawmall-cart-summary {
    border: 1px solid #ded8d1 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
}

.sawmall-cart-summary {
    padding: 0 !important;
    overflow: hidden;
}

.sawmall-cart-summary h2 {
    margin: 0 !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid #ece7e1;
    font-size: 20px !important;
    font-weight: 650 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table {
    margin: 0 !important;
    width: calc(100% - 48px) !important;
    margin-right: 24px !important;
    margin-left: 24px !important;
    padding: 0 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table th,
.woocommerce .sawmall-cart-summary table.shop_table td {
    padding: 16px 0 !important;
    font-size: 14px !important;
}

.woocommerce .sawmall-cart-summary table.shop_table th {
    color: #211b16 !important;
    font-weight: 500 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table td {
    color: #ab7442 !important;
    font-weight: 500 !important;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout {
    padding: 18px 24px 0 !important;
}

.woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button {
    min-height: 50px !important;
    border-radius: 8px !important;
    background: #b8793f !important;
}

.sawmall-cart-summary__note {
    margin: 12px 24px 18px !important;
    font-size: 13px !important;
}

.sawmall-cart-summary__meta {
    padding: 0 24px 20px;
}

.sawmall-cart-summary__meta .sawmall-cart-summary__note {
    margin: 0 0 12px !important;
}

.sawmall-cart-summary__payments {
    padding: 13px 14px;
    border: 1px solid #ece7e1;
    border-radius: 8px;
    background: #fbfaf8;
}

.sawmall-cart-summary__payments span {
    display: block;
    margin-bottom: 4px;
    color: #211b16;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.sawmall-cart-summary__payments p {
    margin: 0;
    color: #746960;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
}

.woocommerce .sawmall-cart-summary table.shop_table tr.order-total {
    border-bottom: 0 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table tr.order-total th,
.woocommerce .sawmall-cart-summary table.shop_table tr.order-total td {
    padding-top: 18px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

.woocommerce .sawmall-cart-summary table.shop_table tr.order-total td,
.woocommerce .sawmall-cart-summary table.shop_table tr.order-total strong {
    color: #8f4f22 !important;
}

/* Cart UX audit: clearer price labels and calmer typography. */
body.woocommerce-cart .sawmall-cart-page__heading h1,
body.woocommerce-cart .sawmall-cart-summary h2 {
    font-size: 18px !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .sawmall-cart-item h2,
body.woocommerce-cart .sawmall-cart-item h2 a {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
}

body.woocommerce-cart .sawmall-cart-item__price,
body.woocommerce-cart .sawmall-cart-item__total {
    display: grid;
    gap: 3px;
}

body.woocommerce-cart .sawmall-cart-item__price span,
body.woocommerce-cart .sawmall-cart-item__total span {
    color: #746960 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

body.woocommerce-cart .sawmall-cart-item__price {
    color: #8f4f22 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

body.woocommerce-cart .sawmall-cart-item__total {
    color: #8f4f22 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: right;
}

body.woocommerce-cart .woocommerce-Price-currencySymbol,
body.woocommerce-checkout .woocommerce-Price-currencySymbol {
    font-weight: inherit !important;
}

body.woocommerce-cart .sawmall-cart-qty-stepper,
body.woocommerce-cart .sawmall-cart-item__remove {
    font-size: 12px !important;
    font-weight: 400 !important;
}

body.woocommerce-cart .sawmall-cart-page-qty-btn {
    font-weight: 500;
}

body.woocommerce-cart .sawmall-cart-qty-stepper .qty {
    font-weight: 400 !important;
}

body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table th,
body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table td {
    font-size: 13px !important;
    font-weight: 400 !important;
    text-transform: none !important;
}

body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table th {
    color: #211b16 !important;
}

body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table td {
    color: #8f4f22 !important;
}

body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table tr.order-total th,
body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table tr.order-total td,
body.woocommerce-cart .woocommerce .sawmall-cart-summary table.shop_table tr.order-total strong {
    font-size: 15px !important;
    font-weight: 500 !important;
}

body.woocommerce-cart .woocommerce .sawmall-cart-summary .wc-proceed-to-checkout a.checkout-button {
    font-weight: 500 !important;
}

body.woocommerce-cart .sawmall-cart-summary__payments span {
    font-weight: 400;
}

/* Keep cart item information in one predictable reading path. */
body.woocommerce-cart .sawmall-cart-page__heading {
    align-items: center;
}

body.woocommerce-cart .sawmall-cart-page__heading span {
    font-weight: 400;
}

body.woocommerce-cart .sawmall-cart-item {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    padding-bottom: 18px;
}

body.woocommerce-cart .sawmall-cart-item__image img {
    width: 112px;
    height: 112px;
}

body.woocommerce-cart .sawmall-cart-item__body {
    gap: 10px;
}

body.woocommerce-cart .sawmall-cart-item__total {
    min-width: 126px;
}

body.woocommerce-cart .sawmall-cart-item__price,
body.woocommerce-cart .sawmall-cart-item__total {
    font-size: 18px !important;
}

body.woocommerce-cart .sawmall-cart-item__price .amount,
body.woocommerce-cart .sawmall-cart-item__price bdi,
body.woocommerce-cart .sawmall-cart-item__total .amount,
body.woocommerce-cart .sawmall-cart-item__total bdi {
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
}

body.woocommerce-cart .sawmall-cart-item__actions {
    gap: 10px;
}

body.woocommerce-cart .sawmall-cart-qty-stepper {
    gap: 6px;
}

body.woocommerce-cart .sawmall-cart-page-qty-btn {
    width: 22px;
    height: 22px;
    font-size: 13px;
}

body.woocommerce-cart .woocommerce .sawmall-cart-item__quantity .qty {
    width: 20px;
    height: 22px;
    min-height: 22px;
}

@media (max-width: 640px) {
    body.woocommerce-cart .woocommerce,
    body.woocommerce-cart .woocommerce-notices-wrapper {
        width: min(100% - 20px, 420px);
    }

    body.woocommerce-cart .sawmall-cart-page__form {
        padding: 16px;
    }

    body.woocommerce-cart .sawmall-cart-page__heading {
        align-items: center;
        flex-direction: row;
        margin-bottom: 16px;
    }

    body.woocommerce-cart .sawmall-cart-page__heading span {
        font-size: 12px;
    }

    body.woocommerce-cart .sawmall-cart-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    body.woocommerce-cart .sawmall-cart-item:first-child {
        padding-top: 0;
    }

    body.woocommerce-cart .sawmall-cart-item__image img {
        width: 84px;
        height: 84px;
    }

    body.woocommerce-cart .sawmall-cart-item__body {
        gap: 10px;
    }

    body.woocommerce-cart .sawmall-cart-item h2,
    body.woocommerce-cart .sawmall-cart-item h2 a {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .sawmall-cart-item__top {
        gap: 5px;
    }

    body.woocommerce-cart .sawmall-cart-item__price,
    body.woocommerce-cart .sawmall-cart-item__total {
        display: flex;
        align-items: baseline;
        justify-content: flex-start;
        min-width: 0;
        gap: 5px;
        text-align: left;
        white-space: normal;
        flex-wrap: wrap;
    }

    body.woocommerce-cart .sawmall-cart-item__price-label::after,
    body.woocommerce-cart .sawmall-cart-item__total-label::after {
        content: ":";
    }

    body.woocommerce-cart .sawmall-cart-item__actions {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
    }

    body.woocommerce-cart .sawmall-cart-qty-stepper {
        gap: 5px;
        font-size: 12px;
    }

    body.woocommerce-cart .sawmall-cart-qty-stepper__label {
        width: 20px;
        overflow: hidden;
        font-size: 0 !important;
        white-space: nowrap;
    }

    body.woocommerce-cart .sawmall-cart-qty-stepper__label::before {
        content: "Qty";
        font-size: 12px;
    }

    body.woocommerce-cart .sawmall-cart-page-qty-btn {
        width: 24px;
        height: 24px;
    }

    body.woocommerce-cart .woocommerce .sawmall-cart-item__quantity .qty {
        width: 22px;
        height: 24px;
        min-height: 24px;
        font-size: 13px;
    }

    body.woocommerce-cart .woocommerce .sawmall-cart-item a.remove,
    body.woocommerce-cart .sawmall-cart-item__remove {
        height: 28px !important;
        font-size: 12px !important;
    }

    .sawmall-cart-summary h2 {
        padding: 18px 20px !important;
        font-size: 19px !important;
    }

    .woocommerce .sawmall-cart-summary table.shop_table {
        width: calc(100% - 40px) !important;
        margin-right: 20px !important;
        margin-left: 20px !important;
        padding: 0 !important;
    }

    .woocommerce .sawmall-cart-summary .wc-proceed-to-checkout {
        padding: 16px 20px 0 !important;
    }

    .sawmall-cart-summary__note {
        margin: 10px 20px 16px !important;
    }

    .sawmall-cart-summary__meta {
        padding: 0 20px 18px;
    }

    .sawmall-cart-summary__meta .sawmall-cart-summary__note {
        margin: 0 0 10px !important;
    }
}

/* WooCommerce Blocks checkout polish. */
body.woocommerce-checkout,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .sidebar-page-container,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout .entry-content {
    background: #f8f6f3 !important;
}

body.woocommerce-checkout .page-title {
    border-bottom: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
    width: min(100% - 64px, 1280px);
    max-width: none;
    margin: 0 auto;
    padding-top: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 470px) !important;
    gap: 30px !important;
    align-items: start !important;
    padding: 10px 0 70px !important;
}

body.woocommerce-checkout .wc-block-components-main {
    width: auto !important;
    padding: 28px !important;
    border: 1px solid #ded8d1;
    border-radius: 8px;
    background: #ffffff;
}

body.woocommerce-checkout .wc-block-components-sidebar {
    position: sticky;
    top: 118px;
    width: auto !important;
    padding: 0 !important;
    border: 1px solid #ded8d1;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
    margin: 0 0 26px;
    padding: 0 0 24px;
    border-bottom: 1px solid #ece7e1;
}

body.woocommerce-checkout .wc-block-components-checkout-step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
    margin: 0 0 16px !important;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
    color: #211b16 !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-totals-item__description {
    color: #746960 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select {
    min-height: 48px !important;
    border: 1px solid #d9d0c8 !important;
    border-radius: 8px !important;
    color: #211b16 !important;
    background: #ffffff !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-address-form input:focus,
body.woocommerce-checkout .wc-block-components-address-form select:focus {
    border-color: #ab7442 !important;
    outline: 3px solid rgba(171, 116, 66, 0.14) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
    color: #746960 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

body.woocommerce-checkout .wc-block-components-checkbox {
    margin: 0;
}

body.woocommerce-checkout .wc-block-components-checkbox__input {
    width: 16px !important;
    height: 16px !important;
    min-height: 16px !important;
    margin-top: 2px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
    min-height: 0 !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid #ece7e1 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__content {
    padding: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block::before {
    display: block;
    color: #746960;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block::before {
    content: "Items in cart";
    padding: 16px 24px 0;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block::before {
    content: "Order totals";
    padding: 16px 24px 0;
    border-top: 1px solid #ece7e1;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-coupon-form-block {
    border-top: 1px solid #ece7e1;
    border-bottom: 1px solid #ece7e1;
    background: #ffffff;
}

body.woocommerce-checkout .wc-block-components-totals-coupon {
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 8px !important;
    padding: 0 24px 16px !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__input input,
body.woocommerce-checkout .wc-block-components-totals-coupon__input .wc-block-components-text-input input {
    min-height: 42px !important;
    border: 1px solid #d9d0c8 !important;
    border-radius: 6px !important;
    color: #211b16 !important;
    background: #ffffff !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button {
    min-height: 42px !important;
    padding: 0 14px !important;
    border: 1px solid #ab7442 !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    background: #b8793f !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button:hover,
body.woocommerce-checkout .wc-block-components-totals-coupon__button:focus {
    border-color: #8f4f22 !important;
    background: #8f4f22 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary {
    margin: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary__content {
    padding: 0 24px !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-cart-items-block {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
    display: grid !important;
    grid-template-columns: 64px minmax(0, 1fr) max-content;
    column-gap: 14px !important;
    row-gap: 0 !important;
    align-items: center !important;
    padding: 16px 0 !important;
    border-bottom: 1px solid #ece7e1 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
    width: 64px !important;
    min-width: 64px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 6px !important;
    object-fit: cover;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
    min-width: 44px !important;
    height: 22px !important;
    padding: 0 7px !important;
    border-radius: 999px !important;
    background: #2f2924 !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 22px !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity::before {
    content: "Qty ";
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
    display: block !important;
    align-self: start !important;
    min-width: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
    display: -webkit-box !important;
    overflow: hidden !important;
    color: #211b16 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

body.woocommerce-checkout .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices {
    display: none !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center !important;
    margin-top: 0 !important;
    color: #ab7442 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
    text-align: right;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price::before {
    display: block;
    content: "Item total";
    color: #746960;
    font-size: 11px;
    font-weight: 400;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper {
    padding: 0 24px !important;
    border-top: 0 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:not(:has(.wc-block-components-totals-item)) {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-totals-item {
    padding: 14px 0 !important;
    border-bottom: 1px solid #ece7e1;
}

body.woocommerce-checkout .wc-block-components-totals-item__label {
    color: #211b16 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-formatted-money-amount {
    color: #ab7442 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
    margin: 0 !important;
    padding: 16px 0 18px !important;
    border-top: 1px solid #ece7e1 !important;
    background: #ffffff;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
    font-size: 16px !important;
    font-weight: 500 !important;
}

body.woocommerce-checkout .wc-block-components-panel__button {
    padding: 14px 24px !important;
    color: #746960 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
}

body.woocommerce-checkout .wc-block-checkout__actions {
    margin-top: 24px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
    min-height: 50px !important;
    border: 1px solid #ab7442 !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    background: #b8793f !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:focus {
    border-color: #8f4f22 !important;
    background: #8f4f22 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
    padding: 14px 16px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner.is-error {
    border-color: #d88b82 !important;
    color: #5d2a25 !important;
    background: #fff4f2 !important;
}

@media (max-width: 991px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout {
        width: min(100% - 32px, 720px);
    }

    body.woocommerce-checkout .wc-block-components-sidebar-layout {
        display: flex !important;
        flex-direction: column !important;
        padding: 8px 0 54px !important;
    }

    body.woocommerce-checkout .wc-block-components-main,
    body.woocommerce-checkout .wc-block-components-sidebar {
        position: static;
        width: 100% !important;
        margin: 0 0 20px !important;
    }

    body.woocommerce-checkout .wc-block-components-sidebar {
        order: -1;
    }
}

@media (max-width: 640px) {
    body.woocommerce-checkout .wp-block-woocommerce-checkout {
        width: min(100% - 20px, 420px);
    }

    body.woocommerce-checkout .wc-block-components-main {
        padding: 20px !important;
    }

    body.woocommerce-checkout .wc-block-components-sidebar {
        border-radius: 6px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-step {
        margin-bottom: 22px;
        padding-bottom: 20px;
    }

    body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
        padding: 17px 18px !important;
        font-size: 18px !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary__content,
    body.woocommerce-checkout .wc-block-components-totals-wrapper {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item {
        grid-template-columns: 56px minmax(0, 1fr);
        column-gap: 12px !important;
        row-gap: 2px !important;
        padding: 14px 0 !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__image,
    body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
        grid-column: 2;
        grid-row: auto;
        justify-self: start;
        margin-top: 3px !important;
        font-size: 13px !important;
        text-align: left;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__total-price::before {
        display: inline;
        content: "Item total: ";
        font-size: 12px;
    }

    body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-checkout .wc-block-components-totals-item {
        padding: 13px 0 !important;
    }

    body.woocommerce-checkout .wc-block-components-totals-footer-item {
        padding: 15px 0 0 !important;
    }

    body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
    body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
    body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
        font-size: 15px !important;
    }
}

/* Product gallery preview / eye popup */
.woocommerce div.product div.images.woocommerce-product-gallery {
    position: relative;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
    top: 18px;
    right: 18px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: #ffffff;
    background: rgba(33, 25, 18, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    box-shadow: 0 14px 34px rgba(18, 24, 32, 0.22);
    text-indent: 0;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::before,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    display: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger::after {
    content: "\f06e";
    display: block;
    position: static;
    width: auto;
    height: auto;
    color: inherit;
    background: transparent;
    font-family: FontAwesome;
    font-size: 17px;
    line-height: 1;
    transform: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger:hover,
.woocommerce div.product div.images .woocommerce-product-gallery__trigger:focus {
    color: #ffffff;
    background: #ab7442;
    border-color: #ab7442;
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(171, 116, 66, 0.32);
    outline: none;
}

.woocommerce div.product div.images .woocommerce-product-gallery__trigger img.emoji {
    display: none !important;
}

.pswp {
    z-index: 999999;
}

.pswp__bg {
    background: rgba(16, 17, 18, 0.92);
    backdrop-filter: blur(8px);
}

.pswp__top-bar {
    height: 64px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0));
}

.pswp__counter {
    top: 20px;
    left: 24px;
    height: auto;
    color: rgba(255, 255, 255, 0.78);
    font-family: "Archivo", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.pswp__button {
    opacity: 1;
}

.pswp__button--close,
.pswp__button--arrow--left,
.pswp__button--arrow--right {
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.12);
    transition: background-color 180ms ease, transform 180ms ease;
}

.pswp__button--close {
    top: 14px;
    right: 18px;
    width: 42px;
    height: 42px;
}

.pswp__button--close:hover,
.pswp__button--arrow--left:hover,
.pswp__button--arrow--right:hover {
    background-color: #ab7442;
    transform: scale(1.04);
}

.pswp__button--arrow--left,
.pswp__button--arrow--right {
    width: 54px;
    height: 54px;
    margin-top: -27px;
}

.pswp__button--arrow--left {
    left: 24px;
}

.pswp__button--arrow--right {
    right: 24px;
}

.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before {
    top: 15px;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border-color: #ffffff;
}

.pswp__button--arrow--left::before {
    left: 20px;
}

.pswp__button--arrow--right::before {
    right: 20px;
}

.pswp__caption {
    min-height: 72px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
}

.pswp__caption__center {
    max-width: 980px;
    padding: 22px 24px;
    color: rgba(255, 255, 255, 0.86);
    font-family: "Archivo", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.pswp__img {
    border-radius: 8px;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
}

@media (max-width: 767px) {
    .woocommerce div.product div.images .woocommerce-product-gallery__trigger {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .pswp__counter {
        left: 16px;
    }

    .pswp__button--close {
        right: 12px;
    }

    .pswp__button--arrow--left,
    .pswp__button--arrow--right {
        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .pswp__button--arrow--left {
        left: 12px;
    }

    .pswp__button--arrow--right {
        right: 12px;
    }

    .pswp__caption__center {
        padding: 18px 18px;
        font-size: 13px;
    }
}

/* Essential Addons quick-view product popup */
.eael-product-popup.eael-product-popup-ready {
    z-index: 99999;
}

.eael-product-popup .eael-product-modal-bg {
    background: rgba(18, 18, 18, 0.76);
    backdrop-filter: blur(5px);
}

.eael-product-popup .eael-popup-details-render {
    width: min(94vw, 980px);
    max-width: 980px;
}

.eael-product-popup .eael-product-popup-details {
    width: 100%;
    max-height: min(84vh, 640px) !important;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(171, 116, 66, 0.16);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.eael-product-popup.woocommerce div.product {
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    gap: 36px;
    max-height: calc(min(84vh, 640px) - 60px);
    overflow: hidden;
}

.eael-product-popup .eael-product-image-wrap,
.eael-product-popup .eael-product-details-wrap {
    width: auto;
    min-width: 0;
    margin: 0;
}

.eael-product-popup .eael-product-details-wrap {
    max-height: calc(min(84vh, 640px) - 60px);
    overflow-y: auto;
    padding-right: 6px;
}

.eael-product-popup .eael-product-details-wrap::-webkit-scrollbar {
    width: 6px;
}

.eael-product-popup .eael-product-details-wrap::-webkit-scrollbar-track {
    background: #f3eee9;
    border-radius: 999px;
}

.eael-product-popup .eael-product-details-wrap::-webkit-scrollbar-thumb {
    background: #b9824e;
    border-radius: 999px;
}

.eael-product-popup.woocommerce div.product div.images {
    height: 100%;
}

.eael-product-popup.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    max-height: 360px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f4f0;
}

.eael-product-popup.woocommerce div.product div.images .woocommerce-product-gallery__image {
    margin-bottom: 0;
}

.eael-product-popup.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.eael-product-popup.woocommerce div.product div.woocommerce-product-gallery--columns-4 ol.flex-control-thumbs,
.eael-product-popup.woocommerce div.product div.woocommerce-product-gallery--columns-5 ol.flex-control-thumbs,
.eael-product-popup.woocommerce div.product div.images ol.flex-control-thumbs {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    max-height: 78px;
    margin: 0;
    padding: 2px 2px 8px;
    overflow-x: auto;
    overflow-y: hidden;
    list-style: none;
    overscroll-behavior-inline: contain;
}

.eael-product-popup.woocommerce div.product div.images ol.flex-control-thumbs::-webkit-scrollbar {
    height: 6px;
}

.eael-product-popup.woocommerce div.product div.images ol.flex-control-thumbs::-webkit-scrollbar-track {
    background: #f3eee9;
    border-radius: 999px;
}

.eael-product-popup.woocommerce div.product div.images ol.flex-control-thumbs::-webkit-scrollbar-thumb {
    background: #b9824e;
    border-radius: 999px;
}

.eael-product-popup.woocommerce div.product div.woocommerce-product-gallery--columns-4 .flex-control-thumbs li,
.eael-product-popup.woocommerce div.product div.woocommerce-product-gallery--columns-5 .flex-control-thumbs li,
.eael-product-popup.woocommerce div.product div.images .flex-control-thumbs li {
    flex: 0 0 64px;
    width: 64px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.eael-product-popup.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    padding: 2px;
    opacity: 0.72;
    border: 1px solid #eee3da;
    border-radius: 5px;
    background: #ffffff;
    transition: opacity 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.eael-product-popup.woocommerce div.product div.images .flex-control-thumbs li img:hover,
.eael-product-popup.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #ab7442;
    transform: translateY(-1px);
}

.eael-product-popup button.eael-product-popup-close {
    top: 12px;
    right: 12px;
    width: 38px;
    max-width: 38px;
    height: 38px;
    min-height: 38px;
    color: #2a211b !important;
    background: #f6f1ec;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.eael-product-popup button.eael-product-popup-close:hover {
    color: #ffffff !important;
    background: #ab7442;
    transform: scale(1.04);
}

@media (max-width: 767px) {
    .eael-product-popup .eael-product-popup-details {
        max-height: 88vh !important;
        padding: 18px;
        overflow-y: auto;
    }

    .eael-product-popup.woocommerce div.product {
        display: block;
        max-height: none;
        overflow: visible;
    }

    .eael-product-popup .eael-product-details-wrap {
        max-height: none;
        margin-top: 18px;
        overflow: visible;
        padding-right: 0;
    }

    .eael-product-popup.woocommerce div.product div.images.woocommerce-product-gallery .flex-viewport,
    .eael-product-popup.woocommerce div.product div.images .woocommerce-product-gallery__image img {
        max-height: 320px;
    }
}

/* Shop archive redesign */
.page-title.sawmall-shop-hero {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 12px 0 !important;
    background: #ffffff !important;
    background-image: none !important;
    border-top: 0;
    border-bottom: 1px solid rgba(28, 20, 14, 0.08);
    box-shadow: none;
}

.page-title.sawmall-shop-hero::before,
.page-title.sawmall-shop-hero::after {
    display: none !important;
}

.page-title.sawmall-shop-hero .auto-container {
    width: min(100% - 64px, 1280px);
    max-width: none;
}

.sawmall-shop-hero__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    width: 100%;
}

.sawmall-shop-hero__content {
    display: grid;
    gap: 0;
    max-width: 760px;
    min-width: 0;
}

.sawmall-shop-hero__crumbs {
    display: flex !important;
    justify-content: flex-start !important;
    text-align: left !important;
}

.sawmall-shop-hero__crumbs .page-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.sawmall-shop-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 0;
}

.sawmall-shop-kicker {
    margin: 0;
    color: #ab7442;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sawmall-shop-hero__content h1 {
    margin: 0;
    color: #211b16;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.22;
    letter-spacing: 0;
}

body.tax-product_cat .page-title.sawmall-shop-hero .sawmall-shop-hero__content h1 {
    padding-bottom: 0;
}

body.tax-product_cat .page-title.sawmall-shop-hero .sawmall-shop-hero__content h1::before,
body.tax-product_cat .page-title.sawmall-shop-hero .sawmall-shop-hero__content h1::after {
    display: none;
}

.sawmall-shop-hero__intro {
    max-width: 640px;
    margin-top: 3px;
    color: #62584f;
    font-size: 15px;
    line-height: 1.5;
}

.sawmall-shop-hero__intro p {
    margin: 0;
}

/* Custom Hero Search */
.sawmall-shop-hero__actions .sawmall-shop-search {
    position: relative;
    display: flex;
    align-items: center;
}

.sawmall-shop-hero__actions .sawmall-shop-search input[type="search"] {
    width: 390px;
    height: 50px;
    padding: 0 52px 0 22px;
    background: #ffffff;
    border: 1px solid #eee5dc;
    border-radius: 999px;
    font-size: 14px;
    color: #171310;
    box-shadow: 0 14px 34px rgba(28, 20, 14, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.sawmall-shop-hero__actions .sawmall-shop-search input[type="search"]:focus {
    border-color: rgba(171, 116, 66, 0.55);
    box-shadow: 0 0 0 4px rgba(171, 116, 66, 0.1), 0 14px 34px rgba(28, 20, 14, 0.07);
    outline: none;
}

.sawmall-shop-hero__actions .sawmall-shop-search button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #171310;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

/* Custom Dropdown */
.custom-dropdown {
    position: relative;
    width: 220px;
}

.custom-dropdown-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    padding: 0 20px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.custom-dropdown-trigger:hover {
    background: #fcf9f6;
}

.custom-dropdown.open .custom-dropdown-trigger {
    border-color: #e0e0e0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 100;
    overflow: hidden;
}

.custom-dropdown.open .custom-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.custom-dropdown-menu li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-size: 14px;
    color: #333333;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.custom-dropdown-menu li:last-child {
    border-bottom: none;
}

.custom-dropdown-menu li:hover {
    background: #f8f8f8;
}

.custom-dropdown-menu li.active {
    background: #eef2fa;
    border-left: 3px solid #3b5998;
    color: #3b5998;
    font-weight: 600;
}

.custom-dropdown-menu li.active i {
    color: #3b5998;
}

.sawmall-shop-hero__crumbs .page-breadcrumb li {
    float: none;
    margin: 0;
    color: #8d7d70 !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.sawmall-shop-hero__crumbs .page-breadcrumb li a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 4px;
    color: #8d7d70 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 160ms ease;
}

.sawmall-shop-hero__crumbs .page-breadcrumb li a::after {
    display: none;
}

.sawmall-shop-hero__crumbs .page-breadcrumb li a:hover,
.sawmall-shop-hero__crumbs .page-breadcrumb li a:focus {
    color: #ab7442 !important;
    outline: none;
}

.sawmall-shop-hero__crumbs .page-breadcrumb li.sawmall-breadcrumb-separator {
    color: #c2b4a7 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 0 12px;
    text-decoration: none;
}

.sawmall-shop-redesign {
    padding: 16px 0 70px;
    background: #ffffff;
}

.sawmall-shop-redesign .auto-container {
    width: min(100% - 64px, 1280px);
    max-width: none;
}

.sawmall-shop-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 14px;
}

.sawmall-shop-breadcrumbs {
    min-width: 0;
    margin: 0;
}

.sawmall-shop-breadcrumbs ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sawmall-shop-breadcrumbs li,
.sawmall-shop-breadcrumbs a {
    color: #8d7d70;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.sawmall-shop-breadcrumbs a {
    text-decoration: none;
}

.sawmall-shop-breadcrumbs a:hover,
.sawmall-shop-breadcrumbs a:focus {
    color: #ab7442;
}

.sawmall-shop-breadcrumbs__separator {
    padding: 0 10px;
    color: #c2b4a7 !important;
}

.sawmall-shop-topbar__search {
    flex: 0 1 390px;
    width: min(390px, 100%);
    min-height: 44px;
    grid-template-columns: minmax(0, 1fr) 46px;
    box-shadow: 0 8px 24px rgba(28, 20, 14, 0.05);
}

.sawmall-shop-topbar__search input[type="search"] {
    height: 44px;
    padding-left: 18px;
    font-size: 14px;
    line-height: 44px;
}

.sawmall-shop-topbar__search button {
    width: 44px;
    height: 44px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .sawmall-shop-topbar {
        display: block;
        width: 100%;
        margin-bottom: 12px;
    }

    .sawmall-shop-breadcrumbs {
        display: none;
    }

    .sawmall-shop-topbar__search {
        display: grid;
        flex: none;
        width: 100% !important;
        max-width: none !important;
        min-width: 0;
    }
}

.sawmall-shop-layout {
    display: grid;
    grid-template-columns: minmax(210px, 240px) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.sawmall-shop-sidebar {
    position: sticky;
    top: 130px; /* Increased to clear the sticky header */
    padding: 14px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(28, 20, 14, 0.07);
}

.sawmall-shop-sidebar__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eee5dc;
}

.sawmall-shop-sidebar__header span {
    color: #171310;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
}

.sawmall-shop-sidebar__header small {
    color: #9a8878;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.sawmall-shop-categories,
.sawmall-shop-category-group,
.sawmall-shop-category-children {
    display: grid;
    gap: 4px;
}

.sawmall-shop-category-group {
    gap: 2px;
}

.sawmall-shop-category-children {
    margin: 2px 0 8px 12px;
    padding-left: 12px;
    border-left: 1px solid #eaded2;
}

.sawmall-shop-category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 38px;
    padding: 9px 10px;
    color: #2f2924;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease;
}

.sawmall-shop-category-link.is-child {
    min-height: 32px;
    color: #67594e;
    font-size: 13px;
    font-weight: 600;
}

.sawmall-shop-category-link strong {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 3px 7px;
    color: #8d6139;
    border-radius: 999px;
    background: #f5eee7;
    font-size: 12px;
    line-height: 1;
    text-align: center;
}

.sawmall-shop-category-link:hover,
.sawmall-shop-category-link:focus,
.sawmall-shop-category-link.is-active {
    color: #ffffff;
    background: #ab7442;
    outline: none;
}

.sawmall-shop-category-link:hover strong,
.sawmall-shop-category-link:focus strong,
.sawmall-shop-category-link.is-active strong {
    color: #ab7442;
    background: #ffffff;
}

.sawmall-shop-custom-order {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    margin-top: 14px;
    padding: 12px 14px;
    color: #ffffff;
    border-radius: 6px;
    background: #342b36;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.sawmall-shop-custom-order:hover,
.sawmall-shop-custom-order:focus {
    color: #ffffff;
    background: #ab7442;
    outline: none;
}

.sawmall-shop-main {
    min-width: 0;
}

.sawmall-shop-category-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 28px;
    align-items: start;
    margin-bottom: 26px;
    padding: 28px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #fffaf5;
}

.sawmall-shop-category-panel__content {
    display: grid;
    gap: 10px;
}

.sawmall-shop-category-panel h2 {
    margin: 0;
    color: #211b16;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.sawmall-shop-category-panel__text {
    color: #5e554d;
    font-size: 15px;
    line-height: 1.75;
}

.sawmall-shop-category-panel__text p {
    margin: 0;
}

.sawmall-shop-category-panel__links {
    display: grid;
    gap: 8px;
}

.sawmall-shop-category-panel__links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 9px 12px;
    color: #2f2924;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    border: 1px solid #eadfd5;
    border-radius: 6px;
    background: #ffffff;
    text-decoration: none;
}

.sawmall-shop-category-panel__links a:hover,
.sawmall-shop-category-panel__links a:focus {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
}

.sawmall-shop-category-panel__links strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    color: #ab7442;
    font-size: 12px;
    font-weight: 500;
    border-radius: 999px;
    background: #fff4e9;
}

.sawmall-shop-category-panel__links a:hover strong,
.sawmall-shop-category-panel__links a:focus strong {
    color: #ab7442;
    background: #ffffff;
}

.sawmall-shop-results {
    position: relative;
    min-height: 320px;
    transition: opacity 180ms ease, transform 180ms ease;
}

.sawmall-shop-redesign.is-loading .sawmall-shop-results {
    opacity: 0.42;
    transform: translateY(4px);
    pointer-events: none;
}

.sawmall-shop-redesign.is-loading .sawmall-shop-results::after {
    content: "";
    position: absolute;
    top: 72px;
    left: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    margin-left: -17px;
    border-radius: 50%;
    border: 3px solid rgba(171, 116, 66, 0.2);
    border-top-color: #ab7442;
    animation: sawmall_spin 0.8s infinite linear;
}

.sawmall-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.sawmall-shop-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.sawmall-shop-heading h1,
.sawmall-shop-heading h2 {
    margin: 0;
    color: #252126;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
}

.sawmall-shop-heading p {
    max-width: 680px;
    margin: 0;
    color: #6f6258;
    font-size: 15px;
    line-height: 1.7;
}

.yms-category-guide {
    margin: 64px 0 8px;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid #eadfd5;
    border-radius: 24px;
    background: #fffaf6;
    color: #4f453d;
}

.yms-category-guide__content {
    max-width: 920px;
}

.yms-category-guide__content h2,
.yms-category-guide__related h2,
.yms-category-guide__cta h2 {
    margin: 32px 0 12px;
    color: #252126;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.2;
}

.yms-category-guide__content h2:first-child {
    margin-top: 0;
}

.yms-category-guide__content h3 {
    margin: 24px 0 10px;
    color: #302820;
    font-size: 20px;
}

.yms-category-guide__content p,
.yms-category-guide__content li,
.yms-category-guide__cta p {
    font-size: 16px;
    line-height: 1.75;
}

.yms-category-guide__content ul {
    margin: 0 0 20px 20px;
    list-style: disc;
}

.yms-category-guide__content details {
    margin-top: 12px;
    padding: 16px 18px;
    border: 1px solid #e5d6ca;
    border-radius: 12px;
    background: #ffffff;
}

.yms-category-guide__content summary {
    cursor: pointer;
    color: #2d251f;
    font-weight: 700;
}

.yms-category-guide__related {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid #e7d9ce;
}

.yms-category-guide__related ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yms-category-guide__related a {
    display: inline-flex;
    padding: 10px 15px;
    border: 1px solid #d9c4b4;
    border-radius: 999px;
    background: #ffffff;
    color: #6e482c;
    font-weight: 700;
}

.yms-category-guide__related a:hover,
.yms-category-guide__related a:focus {
    border-color: #ab7442;
    color: #7d4e29;
}

.yms-category-guide__cta {
    margin-top: 40px;
    padding: 28px;
    border-radius: 18px;
    background: #28211c;
    color: #f6eee8;
}

.yms-category-guide__cta h2 {
    margin-top: 0;
    color: #ffffff;
}

.yms-category-guide__cta .yms-home-button {
    margin-top: 8px;
}

@media (max-width: 575px) {
    .main-header .header-top-one {
        display: none !important;
    }

    .yms-category-guide {
        margin-top: 40px;
        padding: 24px 18px;
        border-radius: 16px;
    }

    .yms-category-guide__cta {
        padding: 22px 18px;
    }
}

.sawmall-shop-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px;
    min-height: 52px;
    overflow: hidden;
    border: 1px solid #eadfd5;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(28, 20, 14, 0.06);
}

.sawmall-shop-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 0 0 22px;
    color: #2f2924;
    border: 0;
    background: transparent;
    font-size: 15px;
    line-height: 52px;
}

.sawmall-shop-search input[type="search"]:focus {
    outline: none;
}

.sawmall-shop-search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: #2f2924;
    border: 0;
    background: transparent;
    font-size: 19px;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease;
}

.sawmall-shop-search button:hover,
.sawmall-shop-search button:focus {
    color: #ffffff;
    background: #ab7442;
    outline: none;
}

.sawmall-shop-featured-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
}

.sawmall-shop-featured-categories a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 13px;
    color: #2f2924;
    border: 1px solid #eadfd5;
    border-radius: 999px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.sawmall-shop-featured-categories span {
    color: #ab7442;
}

.sawmall-shop-featured-categories a:hover,
.sawmall-shop-featured-categories a:focus {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
    outline: none;
}

.sawmall-shop-featured-categories a:hover span,
.sawmall-shop-featured-categories a:focus span {
    color: #ffffff;
}

.sawmall-shop-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 18px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.sawmall-shop-mobile-controls {
    display: none;
}

.sawmall-shop-count,
.sawmall-shop-count p {
    margin: 0;
    color: #6f6258;
    font-size: 14px;
    line-height: 1.4;
}

.sawmall-shop-sort .woocommerce-ordering {
    margin: 0;
}

.sawmall-shop-currency {
    position: relative;
    width: 270px;
    flex: 0 0 270px;
}

.sawmall-shop-results .yms-catalog-price-with-code,
.sawmall-more-from-shop .yms-catalog-price-with-code {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.sawmall-shop-results .yms-catalog-price-code,
.sawmall-more-from-shop .yms-catalog-price-code {
    color: #8f4f22;
    font-size: .82em;
    font-weight: 800;
    letter-spacing: .02em;
}

.sawmall-shop-currency--woopayments .widget,
.sawmall-shop-currency--woopayments form {
    margin: 0;
}

.sawmall-shop-currency--woopayments .widget-title {
    display: none;
}

.sawmall-shop-currency--woopayments select {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 42px 0 16px;
    color: #333333;
    background-color: #ffffff;
    border: 1px solid #eadfd5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
}

.sawmall-shop-currency__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    color: #333333;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}

.sawmall-shop-currency__toggle:hover,
.sawmall-shop-currency__toggle:focus-visible {
    background: #fcf9f6;
    outline: none;
}

.sawmall-shop-currency.is-open .sawmall-shop-currency__toggle {
    border-color: #e0e0e0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.sawmall-shop-currency__country,
.sawmall-shop-currency__value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
}

.sawmall-shop-currency__country {
    overflow: hidden;
    text-overflow: ellipsis;
}

.sawmall-shop-currency__divider {
    width: 1px;
    height: 16px;
    background: #d8cec6;
    flex: 0 0 auto;
}

.sawmall-shop-currency__menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-top: 0;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.sawmall-shop-currency.is-open .sawmall-shop-currency__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sawmall-shop-currency__menu a {
    display: block;
    padding: 12px 18px;
    color: #333333;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background .2s ease, color .2s ease;
}

.sawmall-shop-currency__menu a:last-child {
    border-bottom: 0;
}

.sawmall-shop-currency__menu a:hover,
.sawmall-shop-currency__menu a:focus-visible {
    color: #8f4f22;
    background: #f8f8f8;
    outline: none;
}

.sawmall-shop-currency--fallback .sawmall-shop-currency__menu {
    padding: 8px;
}

.sawmall-shop-currency__notice {
    margin: 2px 8px 8px;
    color: #806f62;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.sawmall-shop-currency__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 10px;
    color: #333333;
    background: #ffffff;
    border: 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-align: left;
}

.sawmall-shop-currency__option + .sawmall-shop-currency__option {
    margin-top: 2px;
}

.sawmall-shop-currency__option small {
    color: #8b7d72;
    font-size: 11px;
    font-weight: 500;
    text-align: right;
}

.sawmall-shop-currency__option[disabled] {
    cursor: not-allowed;
    opacity: .72;
}

.sawmall-shop-sort select {
    min-height: 52px;
    min-width: 176px;
    padding: 0 42px 0 18px;
    color: #2f2924;
    border: 1px solid #eadfd5;
    border-radius: 999px;
    background-color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 12px 32px rgba(28, 20, 14, 0.06);
}

.woocommerce .sawmall-shop-redesign ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
}

.woocommerce .sawmall-shop-redesign ul.products::before,
.woocommerce .sawmall-shop-redesign ul.products::after {
    display: none;
}

.woocommerce .sawmall-shop-redesign ul.products li.product.sawmall-product-card {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

.sawmall-product-card__inner {
    height: 100%;
    overflow: hidden;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(28, 20, 14, 0.06);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sawmall-product-card__inner:hover {
    border-color: rgba(171, 116, 66, 0.45);
    box-shadow: 0 22px 54px rgba(28, 20, 14, 0.12);
    transform: translateY(-2px);
}

.sawmall-product-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.08;
    overflow: hidden;
    background: #f7f1ea;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    transition: transform 240ms ease;
}

.sawmall-product-card__inner:hover .sawmall-product-card__image img {
    transform: scale(1.035);
}

.woocommerce .sawmall-shop-redesign span.onsale {
    top: 12px;
    left: 12px;
    right: auto;
    min-height: 0;
    min-width: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ab7442;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.sawmall-product-card__body {
    display: grid;
    grid-template-rows: auto minmax(42px, auto) auto auto;
    gap: 8px;
    padding: 16px;
    text-align: center;
}

.sawmall-product-card__category {
    width: max-content;
    max-width: 100%;
    margin: 0 auto;
    color: #ab7442;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__title,
.sawmall-product-card__title {
    min-height: 42px;
    margin: 0;
    padding: 0;
    color: #171310;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.38;
    letter-spacing: 0;
    text-transform: none;
}

.sawmall-product-card__title a {
    display: -webkit-box;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.sawmall-product-card__title a:hover,
.sawmall-product-card__title a:focus {
    color: #ab7442;
    outline: none;
}

.sawmall-product-card__price,
.woocommerce .sawmall-shop-redesign ul.products li.product .price {
    margin: 0;
    color: #171310;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.2;
}

.sawmall-product-card__actions {
    position: relative;
    display: grid;
    grid-template-columns: auto 40px;
    justify-content: center;
    gap: 8px;
    align-items: stretch;
    margin-top: 2px;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart {
    display: block !important;
    position: relative;
    width: 40px !important;
    min-width: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 40px !important;
    overflow: hidden;
}

.sawmall-product-card__details,
.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    height: 40px;
    padding: 8px 16px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
}

.sawmall-product-card__details {
    min-width: 108px;
    color: #87542e;
    border: 1px solid #e2cdbc;
    background: #fbf5f0;
    box-shadow: none;
}

.sawmall-product-card__details:hover,
.sawmall-product-card__details:focus {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
    outline: none;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button {
    display: block !important;
    position: relative;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #2f2924;
    border: 1px solid #eadfd5;
    background: #ffffff;
    font-size: 0 !important;
    box-sizing: border-box !important;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
    vertical-align: top !important;
    transform: translateZ(0); /* Fix compositing layer bug */
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button::before {
    content: "\f07a";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
    text-indent: 0;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button:hover,
.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button:focus {
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
    outline: none;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.loading {
    padding: 0 !important;
    opacity: 1;
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.loading::before {
    opacity: 0;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    animation: sawmall_spin 0.8s infinite linear;
}

@keyframes sawmall_spin {
    to { transform: rotate(360deg); }
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.added {
    display: none !important;
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.added::before {
    content: "\f217"; /* Cart plus icon */
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.button.added::after {
    display: none !important;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.added_to_cart {
    display: inline-flex !important;
    position: relative;
    top: auto;
    left: auto;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    align-items: center;
    justify-content: center;
    background: #ab7442;
    color: #ffffff;
    border: 1px solid #ab7442;
    font-size: 0;
    text-decoration: none;
    border-radius: 7px;
    box-shadow: none;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.added_to_cart::before {
    content: "\f00c";
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
}

.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.added_to_cart:hover,
.woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__cart a.added_to_cart:focus {
    border-color: #2f2924;
    background: #2f2924;
    outline: none;
}

.sawmall-shop-trust-strip {
    display: grid;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #fbf8f4;
}

.sawmall-shop-trust-strip span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    color: #2f2924;
    border: 1px solid rgba(171, 116, 66, 0.14);
    border-radius: 6px;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 8px 18px rgba(28, 20, 14, 0.035);
}

.sawmall-shop-trust-strip i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #ab7442;
    border-radius: 50%;
    background: #f5eee7;
    font-size: 11px;
}

.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination {
    display: flex;
    justify-content: center;
    margin-top: 34px;
    padding-top: 6px;
}

.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(28, 20, 14, 0.045);
}

.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li {
    margin: 0;
    border: 0;
}

.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a,
.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 9px 12px;
    border: 1px solid #e7ddd3;
    border-radius: 6px;
    color: #2f2924;
    background: #ffffff;
    font-weight: 500;
    line-height: 1;
    box-shadow: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li span.current,
.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a:hover,
.woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a:focus {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
    outline: none;
    transform: translateY(-1px);
}

.sawmall-shop-empty {
    padding: 34px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
}

@media (max-width: 1199px) {
    .woocommerce .sawmall-shop-redesign ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .page-title.sawmall-shop-hero {
        min-height: 0;
        padding: 10px 0 !important;
    }

    .sawmall-shop-hero__top {
        display: grid;
        gap: 6px;
    }

    .sawmall-shop-hero__crumbs {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .sawmall-shop-hero__actions,
    .sawmall-shop-hero__actions .sawmall-shop-search,
    .sawmall-shop-hero__actions .sawmall-shop-search input[type="search"] {
        width: 100% !important;
        max-width: none !important;
    }

    .sawmall-shop-hero__actions {
        display: block;
        padding-top: 2px;
    }

    .sawmall-shop-hero__content h1 {
        font-size: 21px;
    }

    .sawmall-shop-hero__intro {
        max-width: none;
        font-size: 15px;
    }

    .sawmall-shop-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sawmall-shop-category-panel {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px;
    }

    .sawmall-shop-sidebar {
        position: static;
        display: none;
    }

    .sawmall-shop-redesign.is-filter-open .sawmall-shop-sidebar {
        display: block;
    }

    .sawmall-shop-toolbar {
        display: none;
    }

    .sawmall-shop-controls {
        justify-content: flex-start;
    }

    .sawmall-shop-mobile-controls {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 82px 42px;
        gap: 10px;
        align-items: center;
        margin: 12px 0 20px;
    }

    .sawmall-shop-mobile-category {
        position: relative;
        min-width: 0;
    }

    .sawmall-shop-mobile-category::after {
        display: none;
    }

    .sawmall-shop-mobile-category-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        height: 42px;
        min-width: 0;
        padding: 0 38px 0 13px;
        border: 1px solid #eadfd5;
        border-radius: 999px;
        color: #2f2924;
        background: #ffffff;
        font-size: 12px;
        font-weight: 600;
        line-height: 42px;
        text-align: left;
        text-indent: 0;
        box-shadow: none;
        cursor: pointer;
    }

    .sawmall-shop-mobile-category-trigger span {
        display: block;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sawmall-shop-mobile-category-trigger i {
        flex: 0 0 auto;
        margin-right: -20px;
        font-size: 12px;
    }

    .sawmall-shop-mobile-category-trigger:focus {
        border-color: #ab7442;
        box-shadow: 0 0 0 3px rgba(171, 116, 66, 0.12);
        outline: none;
    }

    .sawmall-shop-mobile-category-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        z-index: 21;
        display: grid;
        width: min(280px, calc(100vw - 16px));
        max-height: 280px;
        overflow-y: auto;
        padding: 8px;
        border: 1px solid #eadfd5;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(18, 24, 32, 0.16);
    }

    .sawmall-shop-mobile-category-menu[hidden] {
        display: none;
    }

    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link {
        min-height: 36px;
        padding: 9px 10px;
        border-radius: 6px;
        color: #2f2924;
        background: transparent;
        font-size: 12px;
        font-weight: 700;
    }

    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link.is-child {
        padding-left: 22px;
        color: #67594e;
        font-weight: 600;
    }

    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link strong {
        display: none !important;
    }

    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link:hover,
    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link:focus,
    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link.is-active {
        color: #ffffff;
        background: #ab7442;
    }

    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link:hover strong,
    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link:focus strong,
    .sawmall-shop-mobile-category-menu .sawmall-shop-category-link.is-active strong {
        color: #ab7442;
        background: #ffffff;
    }

    .sawmall-shop-mobile-filter-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #eadfd5;
        border-radius: 50%;
        color: #2f2924;
        background: #ffffff;
        font-size: 18px;
        line-height: 1;
        cursor: pointer;
    }

    .sawmall-shop-mobile-filter-button[aria-expanded="true"] {
        color: #ffffff;
        border-color: #ab7442;
        background: #ab7442;
    }

    .sawmall-shop-mobile-currency {
        min-width: 0;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency {
        width: 100%;
        flex: 0 1 auto;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency--woopayments select {
        min-height: 42px;
        padding: 0 30px 0 12px;
        border-radius: 999px;
        font-size: 12px;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__toggle {
        height: 42px;
        justify-content: center;
        gap: 6px;
        padding: 0 9px;
        border-color: #eadfd5;
        border-radius: 999px;
        color: #2f2924;
        font-size: 12px;
        box-shadow: none;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__country,
    .sawmall-shop-mobile-currency .sawmall-shop-currency__divider {
        display: none;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__value {
        flex: 0 1 auto;
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 0;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__value::before {
        content: attr(data-mobile-label);
        font-size: 12px;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency.is-open .sawmall-shop-currency__toggle {
        border-color: #ab7442;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__menu {
        left: 50%;
        z-index: 22;
        width: 156px;
        border-color: #ab7442;
        border-radius: 8px;
        padding: 6px 0;
        box-shadow: 0 8px 24px rgba(18, 24, 32, 0.12);
        transform: translate(-50%, -5px);
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency.is-open .sawmall-shop-currency__menu {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__menu a {
        display: block;
        padding: 10px 16px;
        font-size: 12px;
        font-weight: 700;
        color: #2f2924;
        text-align: center;
        white-space: nowrap;
    }

    .sawmall-shop-mobile-sort-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        z-index: 20;
        display: grid;
        width: min(220px, 100%);
        padding: 8px;
        border: 1px solid #eadfd5;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(18, 24, 32, 0.16);
    }

    .sawmall-shop-mobile-sort-menu[hidden] {
        display: none;
    }

    .sawmall-shop-mobile-sort-menu button {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 38px;
        padding: 9px 12px;
        border: 0;
        border-radius: 6px;
        color: #2f2924;
        background: transparent;
        font-size: 12px;
        font-weight: 750;
        line-height: 1.2;
        text-align: left;
        cursor: pointer;
    }

    .sawmall-shop-mobile-sort-menu button::after {
        content: "\f00c";
        color: transparent;
        font-family: FontAwesome;
        font-size: 11px;
    }

    .sawmall-shop-mobile-sort-menu button:hover,
    .sawmall-shop-mobile-sort-menu button:focus,
    .sawmall-shop-mobile-sort-menu button.is-active {
        color: #ab7442;
        background: #fbf7f2;
        outline: none;
    }

    .sawmall-shop-mobile-sort-menu button.is-active::after {
        color: #ab7442;
    }
}

@media (max-width: 575px) {
    .page-title.sawmall-shop-hero .auto-container {
        width: min(100% - 28px, 1480px);
    }

    .page-title.sawmall-shop-hero {
        border-bottom: 0;
        min-height: 0;
        padding: 8px 0 !important;
    }

    .sawmall-shop-hero__content {
        gap: 6px;
        text-align: center;
    }

    .sawmall-shop-hero__content h1 {
        font-size: 20px;
        line-height: 1.2;
    }

    .sawmall-shop-hero__intro {
        font-size: 14px;
        line-height: 1.65;
    }

    .sawmall-shop-category-panel {
        margin-bottom: 16px;
        padding: 16px;
    }

    .sawmall-shop-category-panel h2 {
        font-size: 22px;
    }

    .sawmall-shop-category-panel__text {
        font-size: 14px;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search input[type="search"] {
        width: 100% !important;
        height: 42px;
        padding: 0 44px 0 15px;
        border-color: #ded2c7;
        border-radius: 999px;
        font-size: 12px;
        box-shadow: none;
    }

    .sawmall-shop-hero__actions,
    .sawmall-shop-hero__actions .sawmall-shop-search {
        width: 100% !important;
        max-width: none !important;
    }

    .sawmall-shop-hero__actions {
        margin-top: 6px;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search button {
        right: 13px;
        font-size: 17px;
    }

    .sawmall-shop-hero__crumbs .page-breadcrumb {
        flex-wrap: wrap;
        row-gap: 4px !important;
    }

    .sawmall-shop-redesign .auto-container {
        width: min(100% - 28px, 1480px);
    }

    .sawmall-shop-redesign {
        padding: 16px 0 44px;
    }

    .sawmall-shop-layout {
        gap: 14px;
    }

    .sawmall-shop-sidebar {
        padding: 12px;
        box-shadow: none;
    }

    .sawmall-shop-heading h1 {
        font-size: 25px;
    }

    .sawmall-shop-heading h2 {
        font-size: 25px;
    }

    .sawmall-shop-controls {
        display: grid;
        grid-template-columns: 1fr;
    }

    .sawmall-shop-mobile-controls {
        grid-template-columns: minmax(0, 1fr) 78px 40px;
        gap: 8px;
        margin: -4px 0 10px;
    }

    .sawmall-shop-mobile-category-trigger,
    .sawmall-shop-mobile-filter-button {
        height: 40px;
    }

    .sawmall-shop-mobile-category-trigger {
        line-height: 40px;
    }

    .sawmall-shop-mobile-filter-button {
        width: 40px;
        font-size: 16px;
    }

    .woocommerce .sawmall-shop-redesign ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
    }

    .sawmall-product-card__inner {
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        transform: none;
    }

    .sawmall-product-card__inner:hover {
        border-color: transparent;
        box-shadow: none;
        transform: none;
    }

    .sawmall-product-card__image {
        aspect-ratio: 1.14 / 1;
        border-radius: 7px;
    }

    .sawmall-product-card__body {
        grid-template-rows: auto auto;
        gap: 2px;
        padding: 4px 0 0;
        text-align: left;
    }

    .sawmall-product-card__category,
    .sawmall-product-card__actions {
        display: none;
    }

    .woocommerce .sawmall-shop-redesign ul.products li.product .sawmall-product-card__title,
    .sawmall-product-card__title {
        min-height: 0;
        font-size: 11px;
        font-weight: 500;
        line-height: 1.25;
    }

    .sawmall-product-card__title a {
        -webkit-line-clamp: 1;
    }

    .sawmall-product-card__price,
    .woocommerce .sawmall-shop-redesign ul.products li.product .price {
        color: #2f6c23;
        font-size: 12px;
        font-weight: 600;
    }

    .woocommerce .sawmall-shop-redesign span.onsale {
        top: 6px;
        left: 6px;
        padding: 4px 7px;
        font-size: 9px;
    }

    .sawmall-shop-trust-strip {
        padding: 10px;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination {
        margin-top: 22px;
        padding-top: 0;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul {
        gap: 5px;
        max-width: 100%;
        padding: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li span {
        min-width: 34px;
        min-height: 34px;
        padding: 8px 10px;
        border-radius: 7px;
        font-size: 11px;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li {
        display: none;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li:has(.current),
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li:has(.prev),
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li:has(.next) {
        display: block;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li span.current {
        min-width: 44px;
        color: #ffffff;
        border-color: #ab7442;
        background: #ab7442;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a.prev,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li a.next {
        min-width: 42px;
        color: #2f2924;
        border-color: #eadfd5;
        background: #ffffff;
    }
}

/* Fix flat sticky header */
.sticky-header {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 1px solid #eee5dc !important;
    transition: all 0.3s ease !important;
    z-index: 9999999 !important;
}

/* Single product redesign */
.sawmall-product-hero:not(.page-title) {
    padding: 20px 0 14px;
    border: 0;
    background: #f9f7f4;
}

.sawmall-product-hero:not(.page-title) .auto-container,
.sawmall-product-detail .auto-container {
    width: min(100% - 64px, 1320px);
    max-width: none;
}

.sawmall-product-hero:not(.page-title) .page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 !important;
    padding: 0 0 10px !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none;
}

.sawmall-product-hero:not(.page-title) .page-breadcrumb li {
    margin: 0 !important;
    color: #6f6258 !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.sawmall-product-hero:not(.page-title) .page-breadcrumb li a {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 !important;
    color: #6f6258 !important;
    text-decoration: none;
    transition: color 160ms ease;
}

.sawmall-product-hero:not(.page-title) .page-breadcrumb li a:hover,
.sawmall-product-hero:not(.page-title) .page-breadcrumb li a:focus {
    color: #ab7442;
    outline: none;
}

.sawmall-product-hero:not(.page-title) .page-breadcrumb li.sawmall-breadcrumb-separator {
    padding: 0 12px !important;
    color: #ab7442 !important;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}

.sawmall-product-detail {
    padding: 28px 0 70px;
    background: #ffffff;
    scroll-margin-top: 132px;
}

.woocommerce .sawmall-single-product {
    margin: 0;
    scroll-margin-top: 132px;
}

.sawmall-single-product__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 460px);
    gap: 28px;
    align-items: start;
}

.sawmall-single-product__gallery {
    position: relative;
    min-width: 0;
    --sawmall-product-gallery-height: clamp(420px, 54vh, 480px);
    --sawmall-product-gallery-stage-max: 1060px;
    overflow: visible;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(28, 20, 14, 0.08);
}

.woocommerce div.product .sawmall-single-product__gallery div.images,
.woocommerce-page div.product .sawmall-single-product__gallery div.images {
    float: none;
    width: 100%;
    margin: 0;
}

.woocommerce div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery,
.woocommerce-page div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery {
    display: grid !important;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    width: 100% !important;
    max-width: 100%;
    float: none !important;
    margin: 0 auto !important;
    padding: 14px;
}

@media (min-width: 1400px) {
    .woocommerce div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery,
    .woocommerce-page div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery {
        max-width: var(--sawmall-product-gallery-stage-max);
    }
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__trigger {
    display: none !important;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-viewport {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    height: var(--sawmall-product-gallery-height) !important;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__wrapper {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    min-height: var(--sawmall-product-gallery-height);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .flex-viewport,
.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__wrapper {
    width: 100% !important;
    height: var(--sawmall-product-gallery-height) !important;
    min-height: 0 !important;
    transform: none !important;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__wrapper {
    display: block !important;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image {
    float: none !important;
    width: 100% !important;
    height: var(--sawmall-product-gallery-height) !important;
    min-height: 0 !important;
    margin-right: 0 !important;
    display: none !important;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image.sawmall-gallery-slide-active {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image {
    min-height: var(--sawmall-product-gallery-height);
    margin: 0 !important;
    background: #ffffff;
}

.woocommerce div.product .sawmall-single-product__gallery div.images .woocommerce-product-gallery__image:nth-child(n+2) {
    display: block;
    width: auto;
    margin: 0;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: var(--sawmall-product-gallery-height);
    cursor: default;
}

.woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: var(--sawmall-product-gallery-height);
    margin: auto;
    padding: 0 !important;
    object-fit: contain;
    object-position: center center;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex !important;
    flex-direction: column;
    align-content: stretch;
    gap: 9px;
    width: 74px !important;
    max-height: var(--sawmall-product-gallery-height);
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    background: transparent;
    list-style: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li {
    float: none !important;
    flex: 0 0 74px;
    width: 74px !important;
    height: 74px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li img {
    display: block;
    width: 74px !important;
    height: 74px !important;
    object-fit: cover;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    background: #ffffff;
    opacity: 1;
}

.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li img.flex-active,
.woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li img:hover {
    border-color: #2f2924;
    box-shadow: none;
}

.sawmall-product-gallery-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    color: #2f2924;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(28, 20, 14, 0.16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.sawmall-product-gallery-nav--prev {
    left: 112px;
}

.sawmall-product-gallery-nav--next {
    right: 24px;
}

@media (min-width: 1400px) {
    .sawmall-product-gallery-nav--prev {
        left: max(112px, calc((100% - var(--sawmall-product-gallery-stage-max)) / 2 + 112px));
    }

    .sawmall-product-gallery-nav--next {
        right: max(24px, calc((100% - var(--sawmall-product-gallery-stage-max)) / 2 + 24px));
    }
}

.sawmall-product-gallery-nav i {
    font-size: 28px;
    line-height: 1;
}

.sawmall-product-gallery-nav:hover,
.sawmall-product-gallery-nav:focus {
    color: #ffffff;
    background: #ab7442;
    outline: none;
    transform: translateY(-50%) scale(1.04);
}

.woocommerce div.product .sawmall-single-product__summary,
.woocommerce-page div.product .sawmall-single-product__summary {
    align-self: start;
    float: none;
    position: sticky;
    top: 118px;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 28px;
    border: 1px solid #e8e1dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(28, 20, 14, 0.06);
}

@media (min-width: 992px) {
    .sawmall-single-product__layout {
        align-items: start;
    }

    .sawmall-single-product__gallery {
        align-self: start;
    }
}

.sawmall-single-product__category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 0;
    color: #8b6a4f;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
}

.sawmall-single-product__category:hover,
.sawmall-single-product__category:focus {
    color: #171310;
    outline: none;
}

.woocommerce div.product .sawmall-single-product__summary .product_title {
    margin: 0 0 14px;
    color: #171310;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.14;
    letter-spacing: 0;
}

.woocommerce div.product .sawmall-single-product__summary .woocommerce-product-rating {
    margin: 0 0 14px;
}

.woocommerce div.product .sawmall-single-product__summary p.price,
.woocommerce div.product .sawmall-single-product__summary span.price {
    margin: 0 0 18px;
    color: #ab7442;
    font-size: 21px;
    font-weight: 850;
    line-height: 1.2;
}

.woocommerce div.product .sawmall-single-product__summary .woocommerce-product-details__short-description {
    margin: 0 0 22px;
    padding-top: 18px;
    border-top: 1px solid #eee5dc;
    color: #62564d;
    font-size: 15px;
    line-height: 1.75;
}

.woocommerce div.product .sawmall-single-product__summary .woocommerce-product-details__short-description p {
    margin: 0 0 12px;
}

.sawmall-single-product__highlights {
    display: grid;
    gap: 7px;
    margin: 0 0 18px;
    padding: 0;
    color: #171310;
    font-size: 14px;
    line-height: 1.45;
}

.sawmall-single-product__highlights h3 {
    margin: 0 0 2px;
    color: #171310;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}

.sawmall-single-product__highlights p {
    margin: 0;
}

.sawmall-single-product__highlights span {
    color: #62564d;
}

.sawmall-single-product__highlights a {
    color: #171310;
    font-weight: 850;
    text-decoration: none;
}

.sawmall-single-product__highlights a:hover,
.sawmall-single-product__highlights a:focus {
    color: #ab7442;
    outline: none;
}

.sawmall-single-product__actions {
    margin: 0 0 20px;
}

.woocommerce div.product .sawmall-single-product__summary form.cart {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

.woocommerce div.product .sawmall-single-product__summary form.cart .quantity {
    display: none !important;
}

.woocommerce div.product .sawmall-single-product__summary form.cart .qty {
    width: 100%;
    height: 52px;
    border: 1px solid #e4ddd7;
    border-radius: 4px;
    color: #171310;
    font-weight: 800;
    text-align: center;
}

.woocommerce div.product .sawmall-single-product__summary form.cart .button {
    grid-column: 1 / -1;
    min-height: 48px;
    width: 100%;
    padding: 14px 18px;
    border: 0;
    border-radius: 4px;
    background: #ab7442;
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: none;
    box-shadow: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.woocommerce div.product .sawmall-single-product__summary form.cart .button:hover,
.woocommerce div.product .sawmall-single-product__summary form.cart .button:focus {
    background: #2f2924;
    outline: none;
    transform: translateY(-1px);
}

.sawmall-single-product__trust {
    display: grid;
    gap: 8px;
    margin: 18px 0;
    padding: 12px;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    background: #ffffff;
}

.sawmall-single-product__trust span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 8px 10px;
    color: #2f2924;
    border: 1px solid #eeeeee;
    border-radius: 6px;
    background: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
}

.sawmall-single-product__trust i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #2f2924;
    border-radius: 50%;
    background: #ffffff;
    font-size: 11px;
}

.sawmall-single-product__meta {
    display: grid;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #e8e1dc;
    color: #5e534c;
    font-size: 12px;
    line-height: 1.55;
}

.sawmall-single-product__meta > span {
    color: #7a6d63;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.sawmall-single-product__meta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sawmall-single-product__meta a {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    color: #2f2924;
    border: 1px solid #e8e1dc;
    border-radius: 999px;
    background: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}

.sawmall-single-product__meta a:hover,
.sawmall-single-product__meta a:focus {
    color: #ab7442;
    border-color: #d8c7b8;
    outline: none;
}

.sawmall-single-product__after {
    margin-top: 46px;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs {
    padding: 0;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs {
    display: flex !important;
    justify-content: center;
    gap: 18px;
    margin: 0 0 24px;
    padding: 0;
    border: 0 !important;
    text-align: center;
    overflow: visible;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs::before {
    display: none !important;
    border: 0 !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #f6f6f6 !important;
    box-shadow: none !important;
    overflow: hidden;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li::after {
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li a {
    display: block !important;
    min-width: 178px;
    padding: 18px 26px !important;
    color: #111111 !important;
    font-size: 15px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    background: transparent !important;
    border: 0 !important;
    outline: 0;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li a::before,
.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li a::after {
    display: none !important;
    content: none !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li:hover {
    background: #eeeeee !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li:hover a {
    color: #111111 !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li.active {
    background: #ab7442 !important;
    box-shadow: inset 0 0 0 999px #ab7442 !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li.active a {
    color: #ffffff !important;
}

.woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel {
    margin: 0;
    padding: 26px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(28, 20, 14, 0.06);
}

.sawmall-more-from-shop {
    margin-top: 36px;
}

.sawmall-more-from-shop__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.sawmall-more-from-shop__header h2 {
    margin: 0;
    color: #171310;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0;
}

.sawmall-more-from-shop__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid #eadfd5;
    border-radius: 999px;
    color: #2f2924;
    background: #ffffff;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.sawmall-more-from-shop__more:hover,
.sawmall-more-from-shop__more:focus {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
    outline: none;
}

.woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid::before,
.woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid::after {
    display: none;
}

.woocommerce .sawmall-more-from-shop ul.products li.product.sawmall-product-card {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    transition: transform 240ms ease;
}

.woocommerce .sawmall-more-from-shop span.onsale {
    top: 10px;
    left: 10px;
    right: auto;
    min-width: 0;
    min-height: 0;
    padding: 7px 10px;
    border-radius: 999px;
    background: #ab7442;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart {
    display: block !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button {
    display: block !important;
    position: relative;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    color: #2f2924;
    border: 1px solid #eadfd5;
    border-radius: 6px;
    background: #ffffff;
    font-size: 0 !important;
    box-sizing: border-box !important;
    vertical-align: top !important;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button::before {
    content: "\f07a";
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: FontAwesome;
    font-size: 14px;
    line-height: 1;
    text-indent: 0;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button:hover,
.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button:focus {
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
    outline: none;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.loading {
    padding: 0 !important;
    opacity: 1;
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.loading::before {
    opacity: 0;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    margin-left: -9px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: sawmall_spin 0.8s infinite linear;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.added {
    color: #ffffff;
    border-color: #ab7442;
    background: #ab7442;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.added::before {
    content: "\f217";
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button.added::after {
    display: none !important;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.added_to_cart {
    display: flex !important;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 6px;
    color: #ffffff;
    background: #ab7442;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: capitalize;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.added_to_cart:hover,
.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.added_to_cart:focus {
    background: #2f2924;
    outline: none;
}

.woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
    gap: 12px;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__inner {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__inner:hover {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__image {
    aspect-ratio: 1.22 / 1;
    border-radius: 7px;
    background: #f5f1ec;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__body {
    display: grid;
    grid-template-rows: auto auto auto;
    gap: 5px;
    padding: 8px 2px 0;
    text-align: left;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__category,
.woocommerce .sawmall-more-from-shop .sawmall-product-card__details,
.woocommerce .sawmall-more-from-shop span.onsale {
    display: none !important;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__title,
.woocommerce .sawmall-more-from-shop .sawmall-product-card__title {
    min-height: 34px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__price,
.woocommerce .sawmall-more-from-shop ul.products li.product .price {
    color: #3c6a2a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.woocommerce .sawmall-more-from-shop .sawmall-product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    height: 34px;
    margin-top: 6px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 160ms ease, visibility 160ms ease;
}

.woocommerce .sawmall-more-from-shop li.product:hover .sawmall-product-card__actions,
.woocommerce .sawmall-more-from-shop li.product:focus-within .sawmall-product-card__actions {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart {
    height: 34px !important;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-width: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    border-color: #2f2924;
    border-radius: 999px;
    color: #2f2924;
    background: #ffffff;
    font-size: 12px !important;
    font-weight: 800;
    line-height: 1;
    text-indent: 0;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button::before {
    display: none;
    content: none;
}

.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button:hover,
.woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__cart a.button:focus {
    color: #ffffff;
    border-color: #2f2924;
    background: #2f2924;
}

@media (max-width: 1199px) {
    .sawmall-single-product__layout {
        grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
    }

    .sawmall-single-product__gallery {
        --sawmall-product-gallery-height: clamp(390px, 52vh, 450px);
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs {
        max-height: var(--sawmall-product-gallery-height);
    }

    .woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .sawmall-product-hero:not(.page-title) .auto-container,
    .sawmall-product-detail .auto-container {
        width: min(100% - 36px, 1480px);
    }

    .sawmall-product-detail {
        padding: 34px 0 54px;
    }

    .sawmall-single-product__layout {
        grid-template-columns: 1fr;
    }

    .sawmall-single-product__gallery {
        width: 100%;
        max-width: 980px;
        margin-right: auto;
        margin-left: auto;
        --sawmall-product-gallery-height: clamp(370px, 50vh, 430px);
        --sawmall-product-gallery-stage-max: 980px;
    }

    .woocommerce div.product .sawmall-single-product__summary,
    .woocommerce-page div.product .sawmall-single-product__summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image a {
        min-height: 0 !important;
        height: auto !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery,
    .woocommerce-page div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 10px;
        padding: 10px;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs {
        max-height: 390px;
        width: 60px !important;
        gap: 8px;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li,
    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li img {
        width: 60px !important;
        height: 60px !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li {
        flex-basis: 60px;
    }

    .sawmall-product-gallery-nav {
        width: 44px;
        height: 44px;
    }

    .sawmall-product-gallery-nav--prev {
        left: 86px;
    }

    .sawmall-product-gallery-nav--next {
        right: 16px;
    }

    .woocommerce div.product .sawmall-single-product__summary,
    .woocommerce-page div.product .sawmall-single-product__summary {
        padding: 22px;
    }

    .woocommerce div.product .sawmall-single-product__summary .product_title {
        font-size: 25px;
    }

    .woocommerce div.product .sawmall-single-product__summary form.cart {
        grid-template-columns: 1fr;
    }

    .woocommerce div.product .sawmall-single-product__summary form.cart .qty {
        width: 100%;
    }

    .sawmall-more-from-shop__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
        grid-template-columns: 1fr;
    }
}

/* Final mobile shop control overrides */
@media (max-width: 575px) {
    .page-title.sawmall-shop-hero .auto-container,
    .sawmall-shop-redesign .auto-container {
        width: calc(100% - 28px) !important;
        max-width: none !important;
    }

    .sawmall-shop-hero__top,
    .sawmall-shop-hero__actions {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
    }

    .page-title.sawmall-shop-hero {
        min-height: 0 !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .sawmall-shop-hero__content {
        text-align: center !important;
    }

    .sawmall-shop-hero__content h1 {
        font-size: 20px !important;
        line-height: 1.2 !important;
    }

    .sawmall-shop-hero__crumbs {
        display: none !important;
    }

    .sawmall-shop-hero__actions {
        margin-top: 6px !important;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search {
        position: relative !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 44px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 42px !important;
        height: 42px !important;
        overflow: hidden !important;
        border: 1px solid #d8c9bb !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        box-shadow: none !important;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search input[type="search"] {
        width: 100% !important;
        max-width: none !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 0 0 15px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #171310 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        font-size: 12px !important;
        line-height: 42px !important;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search input[type="search"]:focus {
        border: 0 !important;
        box-shadow: none !important;
        outline: none !important;
    }

    .sawmall-shop-hero__actions .sawmall-shop-search button {
        position: static !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        color: #171310 !important;
        font-size: 18px !important;
        transform: none !important;
    }

    .sawmall-shop-mobile-category-trigger {
        width: 100% !important;
        max-width: none !important;
        border-color: #eadfd5 !important;
        color: #171310 !important;
        box-sizing: border-box !important;
    }

    .sawmall-shop-mobile-controls {
        grid-template-columns: minmax(0, 1fr) 78px 40px !important;
        gap: 8px !important;
        margin-top: -4px !important;
        margin-bottom: 10px !important;
    }

    .sawmall-shop-mobile-currency {
        grid-column: auto !important;
        min-width: 0 !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__country,
    .sawmall-shop-mobile-currency .sawmall-shop-currency__divider {
        display: none !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__toggle {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 9px !important;
        border-color: #eadfd5 !important;
        border-radius: 999px !important;
        font-size: 12px !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__value {
        font-size: 0 !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__value::before {
        content: attr(data-mobile-label) !important;
        font-size: 12px !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency__menu {
        left: 50% !important;
        width: 156px !important;
        transform: translate(-50%, -5px) !important;
    }

    .sawmall-shop-mobile-currency .sawmall-shop-currency.is-open .sawmall-shop-currency__menu {
        transform: translate(-50%, 0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .sawmall-shop-mobile-category-trigger i,
    .sawmall-shop-mobile-filter-button {
        color: #171310 !important;
    }

    .sawmall-shop-mobile-category-menu {
        border-color: #eadfd5 !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .sawmall-shop-mobile-category-menu::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination {
        display: flex !important;
        justify-content: center !important;
        margin-top: 20px !important;
        padding-bottom: 6px !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        max-width: 100% !important;
        padding: 4px !important;
        overflow: visible !important;
        background: #ffffff !important;
        border-radius: 999px !important;
        box-shadow: none !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li {
        display: none !important;
        border: 0 !important;
        margin: 0 !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li.sawmall-shop-pagination__item--current,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li.sawmall-shop-pagination__item--prev,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li.sawmall-shop-pagination__item--last,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination ul li.sawmall-shop-pagination__item--next {
        display: block !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.current,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.prev,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.next {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 34px !important;
        min-height: 34px !important;
        padding: 0 10px !important;
        border: 1px solid #e6dbd0 !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        color: #2f2924 !important;
        font-size: 12px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.current {
        color: #ffffff !important;
        border-color: #ab7442 !important;
        background: #ab7442 !important;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .sawmall-shop-pagination__item--last .page-numbers::before {
        content: "/";
        margin-right: 8px;
        color: #8b8076;
        font-weight: 700;
    }

    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.prev,
    .woocommerce .sawmall-shop-redesign nav.woocommerce-pagination .page-numbers.next {
        min-width: 36px !important;
        padding: 0 !important;
        font-size: 15px !important;
    }
}

/* Final mobile product detail overrides */
@media (max-width: 575px) {
    .sawmall-product-detail .auto-container,
    .sawmall-product-hero:not(.page-title) .auto-container {
        width: calc(100% - 16px) !important;
        max-width: none !important;
    }

    .sawmall-product-hero:not(.page-title) {
        padding: 14px 0 10px !important;
    }

    .sawmall-product-hero:not(.page-title) .page-breadcrumb {
        padding-bottom: 8px !important;
    }

    .sawmall-product-detail {
        padding: 18px 0 42px !important;
    }

    .sawmall-single-product__gallery {
        border-radius: 8px !important;
        box-shadow: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
    }
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__wrapper {
        height: auto !important;
        min-height: 0 !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery,
    .woocommerce-page div.product .sawmall-single-product__gallery div.images.woocommerce-product-gallery {
        display: grid !important;
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto !important;
        align-content: start !important;
        gap: 10px !important;
        padding: 10px !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-viewport,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__wrapper {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 7px !important;
        background: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 0.82 !important;
        background: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery__image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs {
        grid-column: 1 !important;
        grid-row: 2 !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 8px !important;
        width: 100% !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li {
        flex: 0 0 64px !important;
        width: 64px !important;
        height: 64px !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .flex-control-thumbs li img {
        width: 64px !important;
        height: 64px !important;
        border-radius: 7px !important;
    }

    .sawmall-product-gallery-nav {
        top: 45% !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        font-size: 18px !important;
        box-shadow: 0 8px 20px rgba(18, 24, 32, 0.12) !important;
        transform: translateY(-50%) !important;
    }

    .sawmall-product-gallery-nav i {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    .sawmall-product-gallery-nav--prev {
        left: 12px !important;
    }

    .sawmall-product-gallery-nav--next {
        right: 12px !important;
    }

    .woocommerce div.product .sawmall-single-product__summary,
    .woocommerce-page div.product .sawmall-single-product__summary {
        padding: 18px !important;
        border-radius: 8px !important;
        box-shadow: none !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        border: 1px solid #eee5dc !important;
        border-bottom: 0 !important;
        border-radius: 8px 8px 0 0 !important;
        background: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li {
        width: 100% !important;
        margin: 0 !important;
        background: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li a {
        min-width: 0 !important;
        width: 100% !important;
        padding: 15px 10px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li.active,
    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs ul.tabs li.active a {
        background: #ab7442 !important;
        color: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel {
        margin: 0 0 28px !important;
        padding: 20px 16px !important;
        border-radius: 0 0 8px 8px !important;
        box-shadow: none !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel h2,
    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel h3 {
        font-size: 18px !important;
        line-height: 1.35 !important;
    }

    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel p,
    .woocommerce div.product .sawmall-single-product__after .woocommerce-tabs .panel li {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }

    .sawmall-more-from-shop__header {
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        margin-bottom: 12px !important;
    }

    .sawmall-more-from-shop__header h2 {
        font-size: 18px !important;
    }

    .woocommerce .sawmall-more-from-shop ul.products.sawmall-more-from-shop__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px 8px !important;
    }

    .woocommerce .sawmall-more-from-shop .sawmall-product-card__image {
        aspect-ratio: 1.14 / 1 !important;
        border-radius: 7px !important;
    }

    .woocommerce .sawmall-more-from-shop .sawmall-product-card__body {
        gap: 2px !important;
        padding: 4px 0 0 !important;
    }

    .woocommerce .sawmall-more-from-shop ul.products li.product .sawmall-product-card__title,
    .woocommerce .sawmall-more-from-shop .sawmall-product-card__title {
        min-height: 0 !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .woocommerce .sawmall-more-from-shop .sawmall-product-card__title a {
        -webkit-line-clamp: 1 !important;
    }

    .woocommerce .sawmall-more-from-shop .sawmall-product-card__price,
    .woocommerce .sawmall-more-from-shop ul.products li.product .price {
        font-size: 12px !important;
    }

    .woocommerce .sawmall-more-from-shop .sawmall-product-card__actions {
        display: none !important;
    }
}

/* Keep single-product mobile gallery to one large image at a time. */
@media (max-width: 575px) {
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-mobile-stacked .woocommerce-product-gallery__image,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image {
        display: none !important;
        margin: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        aspect-ratio: 1 / 0.82 !important;
        background: #ffffff !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-mobile-stacked .woocommerce-product-gallery__image.sawmall-gallery-slide-active,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image.sawmall-gallery-slide-active {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-mobile-stacked .woocommerce-product-gallery__image.sawmall-gallery-slide-active a,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image.sawmall-gallery-slide-active a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-height: 0 !important;
        height: 100% !important;
        aspect-ratio: 1 / 0.82 !important;
    }

    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-mobile-stacked .woocommerce-product-gallery__image.sawmall-gallery-slide-active img,
    .woocommerce div.product .sawmall-single-product__gallery .woocommerce-product-gallery.sawmall-gallery-fallback .woocommerce-product-gallery__image.sawmall-gallery-slide-active img {
        width: 100% !important;
        height: 100% !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}

/* Professional mobile navigation drawer */
@media only screen and (max-width: 991px) {
    html.mobile-navigation-pending,
    body.mobile-menu-visible.mobile-navigation-pending {
        overflow: auto !important;
    }

    .main-header .header-upper .upper-right {
        float: none !important;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .main-header .header-lower {
        width: 100%;
        float: none !important;
    }

    .main-header:not(.fixed-header) .header-lower {
        display: none !important;
    }

    .main-header.fixed-header .header-lower {
        background: #b8793f;
        min-height: 52px;
        z-index: 99999;
    }

    body.yms-commerce-mobile-header .main-header:not(.fixed-header) .header-lower {
        display: block !important;
        background: #b8793f;
        min-height: 52px;
        z-index: 99999;
    }

    body.yms-commerce-mobile-header .header-style-one .header-upper .upper-right .info-outer {
        display: none !important;
    }

    .main-header .header-lower .nav-outer {
        width: 100%;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: row-reverse; /* Puts mobile-nav-toggler on the right and outer-box on the left */
        padding: 0 15px;
    }

    /* Prevent clearfix pseudo-elements from becoming flex items */
    .main-header .header-lower .nav-outer::before,
    .main-header .header-lower .nav-outer::after {
        display: none !important;
    }

    /* Hide desktop elements on mobile so they don't break flex layout */
    .main-header .header-lower .nav-outer .main-menu,
    .main-header .header-lower .nav-outer .side-curve {
        display: none !important;
    }

    .main-header .header-lower .outer-box {
        position: static; /* Remove any absolute positioning */
        top: auto;
        display: flex;
        align-items: center;
        margin: 0;
        float: none;
    }
    
    .main-header .header-lower .mobile-nav-toggler {
        position: static;
        margin: 0;
    }

    .main-header .mobile-nav-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        border-radius: 0;
        color: #fff;
        background: transparent;
        cursor: pointer;
        transition: background-color .15s ease;
    }

    .main-header .mobile-nav-toggler:hover,
    .main-header .mobile-nav-toggler:focus-visible {
        color: #fff;
        background: rgba(255, 255, 255, .14);
        outline: 2px solid rgba(255, 255, 255, .72);
        outline-offset: 2px;
    }

    .main-header .mobile-nav-toggler .icon {
        position: relative;
        display: block !important;
        width: 30px !important;
        height: 22px !important;
        color: transparent !important;
        font-size: 0 !important;
        line-height: 0 !important;
        background: transparent !important;
    }

    .main-header .mobile-nav-toggler .icon::before,
    .main-header .mobile-nav-toggler .icon::after {
        position: absolute;
        left: 0;
        width: 30px;
        height: 3px;
        border-radius: 999px;
        background: #ffffff;
        content: "" !important;
    }

    .main-header .mobile-nav-toggler .icon::before {
        top: 1px;
        box-shadow: 0 9px 0 #ffffff;
    }

    .main-header .mobile-nav-toggler .icon::after {
        bottom: 1px;
    }

    body.yms-commerce-mobile-header .main-header:not(.fixed-header) .header-lower {
        display: block !important;
        min-height: 56px !important;
        background: #b8793f !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .nav-outer {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px;
        align-items: center !important;
        min-height: 56px !important;
        height: 56px !important;
        padding: 0 14px !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .outer-box {
        grid-column: 1;
        grid-row: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        position: static !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .mobile-nav-toggler {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        position: static !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .outer-box .cart-box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        position: relative !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .outer-box .cart-box .cart-box-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        line-height: 1 !important;
    }

    body.yms-commerce-mobile-header .main-header .header-lower .outer-box .cart-box .cart-box-btn .total-cart {
        top: 2px !important;
        right: 1px !important;
    }

    body.yms-quote-mobile-header .main-header:not(.fixed-header) .header-lower {
        display: block !important;
        min-height: 56px !important;
        background: #b8793f !important;
        z-index: 99999;
    }

    body.yms-quote-mobile-header .main-header .header-lower .nav-outer {
        display: grid !important;
        grid-template-columns: 44px 1fr 44px;
        align-items: center !important;
        min-height: 56px !important;
        height: 56px !important;
        padding: 0 14px !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .outer-box {
        grid-column: 1;
        grid-row: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 56px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        position: static !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .mobile-nav-toggler {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        position: static !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .outer-box .cart-box {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        position: relative !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .outer-box .cart-box .cart-box-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        line-height: 1 !important;
    }

    body.yms-quote-mobile-header .main-header .header-lower .outer-box .cart-box .cart-box-btn .total-cart {
        top: 2px !important;
        right: 1px !important;
    }

    .mobile-menu {
        width: 100vw;
        max-width: none;
        height: 100%;
        padding-right: 0;
        visibility: hidden;
    }

    .mobile-menu .menu-backdrop {
        background: rgba(17, 13, 10, .48);
        transition: transform .2s ease !important;
    }

    .mobile-menu .menu-box {
        display: flex;
        flex-direction: column;
        width: min(86vw, 360px);
        height: 100%;
        padding: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: none;
        left: auto !important;
        right: 0 !important;
        opacity: 1 !important;
        transform: translateX(100%);
        transition: transform .2s ease !important;
        overflow: hidden;
    }

    .mobile-menu-visible .mobile-menu .menu-box {
        transform: translateX(0);
    }

    .mobile-menu .mCSB_inside > .mCSB_container {
        margin-right: 0;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }

    .mobile-menu .mCSB_scrollTools {
        display: none !important;
    }

    .mobile-menu .mobile-menu__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 88px;
        padding: max(14px, env(safe-area-inset-top)) 16px 14px 20px;
        border-bottom: 1px solid #ece8e4;
    }

    .mobile-menu .nav-logo {
        width: auto;
        max-width: 190px;
        padding: 0;
        text-align: left;
    }

    .mobile-menu .nav-logo img {
        display: block;
        width: auto;
        max-width: 170px;
        max-height: 56px;
    }

    .mobile-menu .close-btn {
        appearance: none;
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        padding: 0;
        color: #3d3129;
        font-size: 17px;
        line-height: 1;
        border: 0;
        border-radius: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        cursor: pointer;
        transform: none;
        transition: color .15s ease, background-color .15s ease;
    }

    .mobile-menu .close-btn:hover,
    .mobile-menu .close-btn:focus-visible {
        color: #fff;
        background: #c66f31;
        outline: none;
    }

    .mobile-menu .mobile-menu__label {
        display: none;
    }

    .mobile-menu .menu-outer {
        padding: 8px 0 0;
    }

    .mobile-menu .navigation {
        margin: 0;
    }

    .mobile-menu .navigation li {
        margin: 0;
        border: 0;
        border-bottom: 1px solid #f0edea;
    }

    .mobile-menu .navigation li > a {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 54px;
        padding: 14px 24px;
        color: #342a24;
        font-size: 15px;
        font-weight: 500;
        line-height: 1.3;
        border: 0;
        border-radius: 0;
        text-transform: none;
        transition: color .15s ease, background-color .15s ease;
    }

    .mobile-menu .navigation li > a::after {
        display: none;
    }

    .mobile-menu .navigation li:hover > a,
    .mobile-menu .navigation li.current > a,
    .mobile-menu .navigation li.is-active > a,
    .mobile-menu .navigation a:focus-visible {
        color: #a85422;
        background: #fbf5f1;
        outline: none;
    }

    .mobile-menu .navigation li.current > a,
    .mobile-menu .navigation li.is-active > a {
        box-shadow: inset 3px 0 0 #c66f31;
    }

    .mobile-menu .mobile-menu__footer {
        display: none;
    }
}

/* YMS footer refinement */
.footer-style-two .footer-bottom.yms-footer-bottom {
    padding: 22px 0;
    background: #a86635;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.footer-style-two .yms-footer-shell {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
}

.footer-style-two .yms-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 260px;
}

.footer-style-two .footer-bottom.yms-footer-bottom .copyright {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.footer-style-two .yms-footer-abn {
    color: rgba(255, 255, 255, .82);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

@media (max-width: 991px) {
    .footer-style-two .yms-footer-shell {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .footer-style-two .yms-footer-brand {
        min-width: 0;
        align-items: center;
    }
}

@media (max-width: 575px) {
    .footer-style-two .footer-bottom.yms-footer-bottom {
        padding: 18px 0;
    }
}

/* Native homepage */
.yms-home-native {
    --yms-ink: #241812;
    --yms-muted: #6d5d53;
    --yms-line: #eadfd6;
    --yms-soft: #fbf6f1;
    --yms-brand: #8f4f22;
    --yms-brand-dark: #7a451f;
    color: var(--yms-ink);
    background: #fff;
    overflow: hidden;
}

.yms-home-native,
.yms-home-native * {
    box-sizing: border-box;
}

body.home .preloader,
body.home .pageloader {
    display: none !important;
}

.yms-home-native a {
    color: inherit;
}

.yms-home-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    background: #1b120d;
}

.yms-home-hero__media {
    position: absolute;
    inset: 0;
}

.yms-home-hero__media::after {
    position: absolute;
    inset: 0;
    content: "";
    background: transparent;
}

.yms-home-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yms-home-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 40px 20px;
}

.yms-home-hero__content {
    max-width: 900px;
    width: 100%;
    text-align: center;
    color: #fff;
}

.yms-home-kicker {
    margin: 0 0 12px;
    color: var(--yms-brand);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.yms-home-hero__content .yms-home-kicker {
    color: #f1be8e;
}

.yms-home-hero h1 {
    margin: 0 0 18px;
    color: #fff;
    font-size: clamp(42px, 5vw, 74px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: 0;
}

.yms-home-hero h1 span {
    display: inline;
}

.yms-home-hero h1 span:last-child {
    display: block;
}

.yms-home-hero p {
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .88);
    font-size: 19px;
    line-height: 1.65;
}

.yms-home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.yms-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    color: #fff !important;
    background: var(--yms-brand);
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
}

.yms-home-button:hover,
.yms-home-button:focus-visible {
    color: #fff !important;
    background: var(--yms-brand-dark);
}

.yms-home-button--ghost {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .42);
}

.yms-home-stats {
    display: grid;
    gap: 1px;
    margin: 0;
    background: rgba(255, 255, 255, .24);
}

.yms-home-stats div {
    padding: 20px;
    background: rgba(255, 255, 255, .94);
}

.yms-home-stats dt {
    color: var(--yms-brand);
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

.yms-home-stats dd {
    margin: 6px 0 0;
    color: var(--yms-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.yms-home-section {
    padding: 92px 0;
}

.yms-home-section:nth-of-type(even) {
    background: var(--yms-soft);
}

.yms-home-section__head {
    max-width: 760px;
    margin: 0 auto 36px;
    text-align: center;
}

.yms-home-section h2,
.yms-home-copy h2 {
    margin: 0 0 16px;
    color: var(--yms-ink);
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: 0;
}

.yms-home-section__head p:not(.yms-home-kicker),
.yms-home-copy p {
    color: var(--yms-muted);
    font-size: 16px;
    line-height: 1.75;
}

.yms-home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 54px;
    align-items: center;
}

.yms-home-checks,
.yms-home-contact-list {
    display: grid;
    gap: 10px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.yms-home-checks li,
.yms-home-contact-list li {
    position: relative;
    padding-left: 24px;
    color: #49392f;
    font-weight: 700;
    line-height: 1.45;
}

.yms-home-checks li::before,
.yms-home-contact-list li::before {
    position: absolute;
    left: 0;
    top: .15em;
    color: var(--yms-brand);
    content: "✓";
    font-weight: 900;
}

.yms-home-link {
    display: inline-flex;
    margin-top: 22px;
    color: var(--yms-brand) !important;
    font-weight: 850;
    text-decoration: none;
}

.yms-home-link:hover,
.yms-home-link:focus-visible {
    color: var(--yms-brand-dark) !important;
    text-decoration: underline;
}

.yms-home-about__image img {
    width: 100%;
    height: auto;
    display: block;
}

.yms-home-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.yms-home-card-grid--services {
    display: grid;
    width: 100%;
    overflow: visible;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.yms-home-card,
.yms-home-testimonial {
    background: #fff;
    border: 1px solid var(--yms-line);
}

.yms-home-services {
    background: #f7f2ec;
}

.yms-home-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    border-radius: 12px;
    flex-direction: column;
    box-shadow: 0 14px 38px rgba(59, 36, 21, .07);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.yms-home-card:hover,
.yms-home-card:focus-within {
    border-color: #ceb9a8;
    box-shadow: 0 22px 48px rgba(59, 36, 21, .12);
    transform: translateY(-4px);
}

.yms-home-card__image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eee4dc;
}

.yms-home-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .24s ease;
}

.yms-home-card:hover .yms-home-card__image img {
    transform: scale(1.035);
}

.yms-home-card__body {
    display: flex;
    min-height: 250px;
    padding: 24px;
    flex: 1;
    flex-direction: column;
}

.yms-home-card h3,
.yms-home-card__body h3,
.yms-home-card__title {
    display: block;
    margin: 0 0 10px;
    color: var(--yms-ink);
    font-size: 19px;
    font-weight: 850;
    line-height: 1.25;
}

.yms-home-card h3 a,
.yms-home-card__title a {
    color: inherit;
    text-decoration: none;
}

.yms-home-card p {
    margin: 0;
    flex: 1;
    color: var(--yms-muted);
    font-size: 14px;
    line-height: 1.65;
}

.yms-home-card__body > .yms-home-link {
    align-self: flex-start;
}

.yms-home-card time {
    display: block;
    margin-bottom: 10px;
    color: var(--yms-brand);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.yms-home-catalog {
    background: #2a1b13 !important;
}

.yms-home-catalog__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: center;
    gap: 44px;
}

.yms-home-catalog h2 {
    color: #fff;
}

.yms-home-catalog .yms-home-kicker {
    color: #f1be8e;
}

.yms-home-catalog p:not(.yms-home-kicker) {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
}

.yms-home-catalog__downloads {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
}

.yms-home-catalog-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.yms-home-catalog-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.yms-home-catalog-card:hover img,
.yms-home-catalog-card:focus-visible img {
    transform: scale(1.03);
}

.yms-home-faq {
    padding: 0;
    background: var(--yms-soft) !important;
    overflow-x: hidden;
}

.yms-home-faq .yms-home-split {
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.yms-home-proof-panel {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 76px 72px;
    background:
        linear-gradient(rgba(21, 13, 9, .72), rgba(21, 13, 9, .82)),
        url("/wp-content/uploads/2020/11/exterior-door.jpeg") center / cover no-repeat;
}

.yms-home-proof-panel::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 50vw;
    background: inherit;
    background-position: left center;
}

.yms-home-proof-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin: 0;
}

.yms-home-proof-stats div {
    position: relative;
    min-height: 214px;
    padding: 0 52px 48px 0;
}

.yms-home-proof-stats div:nth-child(even) {
    padding-left: 52px;
    padding-right: 0;
}

.yms-home-proof-stats div:nth-child(odd) {
    border-right: 1px solid rgba(179, 111, 55, .72);
}

.yms-home-proof-stats div:nth-child(-n+2) {
    border-bottom: 1px solid rgba(179, 111, 55, .44);
}

.yms-home-proof-stats div:nth-child(n+3) {
    padding-top: 48px;
    padding-bottom: 0;
}

.yms-home-proof-stats dt {
    color: #fff;
    font-size: clamp(52px, 6vw, 78px);
    font-weight: 900;
    line-height: .95;
}

.yms-home-proof-stats dt::after {
    display: block;
    width: 56px;
    height: 2px;
    margin: 28px 0 26px;
    background: var(--yms-brand);
    content: "";
}

.yms-home-proof-stats dd {
    max-width: 230px;
    margin: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 750;
    line-height: 1.48;
}

.yms-home-faq__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 560px;
    padding: 70px 0 70px 58px;
}

.yms-home-faq__content > p:not(.yms-home-kicker) {
    margin: 0 0 26px;
    color: var(--yms-muted);
    line-height: 1.7;
}

.yms-home-faq__content h2 {
    margin-bottom: 14px;
    font-size: clamp(26px, 2.4vw, 36px);
}

.yms-home-faq__items {
    display: grid;
    gap: 12px;
}

.yms-home-faq details {
    background: #fff;
    border: 1px solid var(--yms-line);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(28, 20, 16, 0.04);
}

.yms-home-faq summary {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 0 0 0 26px;
    color: var(--yms-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.55;
    list-style: none;
    min-height: 72px;
}

.yms-home-faq summary::-webkit-details-marker {
    display: none;
}

.yms-home-faq summary::after {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    align-self: stretch;
    background: #362f2d;
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    flex-shrink: 0;
}

.yms-home-faq details[open] summary::after {
    content: "-";
    background: #b57a4c;
}

.yms-home-faq__answer {
    padding: 0 26px 24px;
    color: var(--yms-muted);
    font-size: 15px;
    line-height: 1.75;
}

.yms-home-faq__answer p {
    margin: 0 0 12px;
}

.yms-home-faq__answer p:last-child {
    margin-bottom: 0;
}

.yms-home-projects__container {
    max-width: 1060px;
}

.yms-home-project-grid {
    columns: 3 300px;
    column-gap: 22px;
}

.yms-home-project {
    display: inline-block;
    width: 100%;
    margin: 0 0 20px;
    overflow: hidden;
    background: #15100d;
}

.yms-home-project a {
    position: relative;
    display: block;
    color: #fff;
}

.yms-home-project img {
    width: 100%;
    height: auto;
    display: block;
    opacity: .86;
    transition: opacity .2s ease, transform .24s ease;
}

.yms-home-project span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 16px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    line-height: 1.3;
}

.yms-home-project a:hover img,
.yms-home-project a:focus-visible img {
    opacity: 1;
    transform: scale(1.03);
}

.yms-home-testimonial {
    margin: 0;
    position: relative;
    display: flex;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: 34px 30px 28px;
    background: #fff;
    border: 1px solid #ead8c8;
    box-shadow: 0 18px 45px rgba(43, 28, 18, .06);
}

.yms-home-testimonial::before {
    content: "“";
    position: absolute;
    top: 20px;
    left: 28px;
    color: rgba(168, 102, 53, .18);
    font-size: 82px;
    font-weight: 900;
    line-height: 1;
}

.yms-home-testimonial blockquote {
    position: relative;
    z-index: 1;
    min-height: 140px;
    margin: 0 !important;
    padding: 0 0 0 18px !important;
    color: #4c3c32;
    background: transparent !important;
    font-size: 14px;
    line-height: 1.8;
    border-left: 3px solid var(--yms-brand);
    box-shadow: none !important;
}

.yms-home-testimonial blockquote::before,
.yms-home-testimonial blockquote::after {
    display: none !important;
}

.yms-home-testimonial figcaption {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 18px;
    color: var(--yms-ink);
    font-size: 15px;
    font-weight: 900;
    border-top: 1px solid #f0e2d8;
}

.yms-home-testimonial figcaption span {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #67594f;
    margin-top: 6px;
    padding-left: 18px;
}

.yms-home-testimonial figcaption strong {
    font-weight: 900;
}

.yms-home-testimonial figcaption::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    background: var(--yms-brand);
}

.yms-home-testimonials {
    position: relative;
    background:
        linear-gradient(rgba(24, 14, 8, .78), rgba(24, 14, 8, .78)),
        url("/wp-content/uploads/2020/11/image-1.jpg") center / cover no-repeat !important;
}

.yms-home-testimonials .yms-home-section__head h2 {
    color: #fff;
}

.yms-home-testimonials .yms-home-kicker {
    color: #d18a4d;
}

.yms-home-testimonials .yms-home-testimonial {
    border-color: rgba(255, 255, 255, .18);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .18);
}

.yms-home-quote {
    background: #f3ebe4 !important;
}

.yms-home-quote .yms-home-split {
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
    gap: clamp(38px, 6vw, 80px);
}

.yms-home-quote .yms-home-button--ghost {
    border-color: var(--yms-brand);
    background: transparent;
    color: var(--yms-brand-dark) !important;
}

.yms-home-quote .yms-home-button--ghost:hover,
.yms-home-quote .yms-home-button--ghost:focus-visible {
    background: var(--yms-brand-dark);
    color: #fff !important;
}

.yms-home-quote .yms-home-facebook-link {
    width: 48px;
    min-width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border: 1px solid #1877f2;
    background: #1877f2;
    color: #fff !important;
}

.yms-home-quote .yms-home-facebook-link:hover,
.yms-home-quote .yms-home-facebook-link:focus-visible {
    border-color: #0d5fc7;
    background: #0d5fc7;
}

.yms-home-facebook-link .fa {
    font-size: 21px;
    line-height: 1;
}

.yms-home-quote__note {
    max-width: 620px;
    margin-top: 22px;
    padding-left: 18px;
    border-left: 3px solid var(--yms-brand);
    font-size: 14px !important;
}

.yms-home-quote__media {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #d8c9bd;
    box-shadow: 0 28px 70px rgba(71, 47, 31, .16);
}

.yms-home-quote__media::after {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, .62);
    content: "";
    pointer-events: none;
}

.yms-home-quote__image {
    width: 100%;
    height: 100%;
    min-height: 460px;
    display: block;
    object-fit: cover;
}

/* Home title scale: keep hierarchy without letting section headings dominate. */
.yms-home-hero h1 {
    font-size: clamp(34px, 4vw, 59px);
}

.yms-home-about h2,
.yms-home-services h2,
.yms-home-catalog h2 {
    font-size: clamp(24px, 2.4vw, 37px);
}

.yms-home-faq__content h2 {
    font-size: clamp(21px, 1.92vw, 29px);
}

@media (max-width: 1199px) {
    .yms-home-card-grid--services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .yms-home-hero {
        min-height: 100svh;
        min-height: 100vh;
    }

    .yms-home-hero__inner,
    .yms-home-split {
        grid-template-columns: 1fr;
    }

    .yms-home-quote .yms-home-split {
        grid-template-columns: 1fr;
    }

    .yms-home-hero__inner {
        padding-top: 92px;
    }

    .yms-home-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yms-home-card-grid,
    .yms-home-card-grid--services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yms-home-catalog__inner {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .yms-home-faq .yms-home-split {
        grid-template-columns: 1fr;
    }

    .yms-home-proof-panel,
    .yms-home-faq__content {
        min-height: auto;
    }

    .yms-home-faq__content {
        padding: 46px 0 0;
    }

    .yms-home-project-grid {
        columns: 2 240px;
    }
}

@media (max-width: 575px) {
    .yms-home-section {
        padding: 58px 0;
    }

    .yms-home-hero__inner {
        padding: 72px 20px;
    }

    .yms-home-quote__media,
    .yms-home-quote__image {
        min-height: 340px;
    }

    .yms-home-hero h1 {
        font-size: clamp(34px, 11.2vw, 45px);
        line-height: 1.08;
    }

    .yms-home-hero h1 span {
        display: block;
    }

    .yms-home-hero p {
        font-size: 16px;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .yms-home-stats,
    .yms-home-card-grid,
    .yms-home-card-grid--services {
        grid-template-columns: 1fr;
    }

    .yms-home-proof-panel {
        padding: 44px 28px;
    }

    .yms-home-proof-stats {
        grid-template-columns: 1fr;
    }

    .yms-home-proof-stats div,
    .yms-home-proof-stats div:nth-child(even),
    .yms-home-proof-stats div:nth-child(odd),
    .yms-home-proof-stats div:nth-child(-n+2),
    .yms-home-proof-stats div:nth-child(n+3) {
        min-height: auto;
        padding: 0 0 34px;
        border-right: 0;
        border-bottom: 1px solid rgba(179, 111, 55, .42);
    }

    .yms-home-proof-stats div + div {
        padding-top: 34px;
    }

    .yms-home-proof-stats div:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .yms-home-proof-stats dd {
        max-width: none;
        font-size: 18px;
    }

    .yms-home-faq summary {
        min-height: 64px;
        padding-left: 18px;
        font-size: 14px;
    }

    .yms-home-faq summary::after {
        width: 54px;
    }

    .yms-home-faq__answer {
        padding: 0 18px 20px;
        font-size: 14px;
    }

    .yms-home-form {
        padding: 20px;
    }

    .yms-home-catalog-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .yms-home-project-grid {
        columns: 1;
    }
}

/* Keep the product media and summary cards visually balanced on desktop. */
@media (min-width: 992px) {
    .woocommerce div.product:not(.yms-heritage-product) .sawmall-single-product__gallery,
    .woocommerce-page div.product:not(.yms-heritage-product) .sawmall-single-product__gallery {
        --sawmall-product-gallery-height: clamp(625px, 70vh, 630px);
    }

    .woocommerce div.product:not(.yms-heritage-product) .sawmall-single-product__summary,
    .woocommerce-page div.product:not(.yms-heritage-product) .sawmall-single-product__summary {
        min-height: calc(clamp(625px, 70vh, 630px) + 30px);
    }

    .woocommerce div.product.yms-heritage-product .sawmall-single-product__summary,
    .woocommerce-page div.product.yms-heritage-product .sawmall-single-product__summary {
        min-height: calc(clamp(443px, 54vh, 480px) + 30px);
    }

    .woocommerce div.product.yms-heritage-product .sawmall-single-product__gallery,
    .woocommerce-page div.product.yms-heritage-product .sawmall-single-product__gallery {
        --sawmall-product-gallery-height: clamp(443px, 54vh, 480px);
    }

    .woocommerce div.product .sawmall-single-product__summary,
    .woocommerce-page div.product .sawmall-single-product__summary {
        display: flex;
        flex-direction: column;
    }

    .sawmall-single-product__summary .sawmall-single-product__meta {
        margin-top: auto;
    }
}

/* ==========================================================================
   NATIVE BLOG PAGE STYLES
   ========================================================================== */
.yms-blog-page {
    background-color: #fff;
    color: var(--yms-ink);
    font-family: inherit;
}

/* Hero Section */
.yms-blog-page__hero {
    background-color: #1b120d;
    padding: 100px 0 80px;
    text-align: center;
    color: #fff;
}

.yms-blog-page__hero-inner {
    max-width: 800px;
    margin: 0 auto;
}

.yms-blog-page__title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin: 16px 0;
    line-height: 1.1;
    color: #fff;
}

.yms-blog-page__subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin: 0;
}

/* Blog Content & Grid */
.yms-blog-page__content {
    padding: 80px 0;
    background-color: #fbf6f1;
}

.yms-blog-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px 30px;
}

/* Blog Card */
.yms-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yms-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.yms-blog-card__media {
    position: relative;
    padding-top: 60%; /* 5:3 Aspect Ratio */
    background: #eadfd6;
    display: block;
    overflow: hidden;
}

.yms-blog-card__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.yms-blog-card:hover .yms-blog-card__media img {
    transform: scale(1.05);
}

.yms-blog-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--yms-brand);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.yms-blog-card__body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.yms-blog-card__body time {
    font-size: 13px;
    color: var(--yms-brand);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.yms-blog-card__body h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.3;
}

.yms-blog-card__body h2 a {
    color: var(--yms-ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.yms-blog-card__body h2 a:hover {
    color: var(--yms-brand);
}

.yms-blog-card__body p {
    font-size: 15px;
    color: var(--yms-muted);
    line-height: 1.6;
    margin: 0 0 24px;
    flex-grow: 1;
}

.yms-blog-card__link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--yms-ink);
    text-decoration: none;
    transition: color 0.3s ease;
}

.yms-blog-card__link .yms-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.yms-blog-card__link:hover {
    color: var(--yms-brand);
}

.yms-blog-card__link:hover .yms-arrow {
    transform: translateX(4px);
}

/* Pagination */
.yms-blog-pagination {
    margin-top: 60px;
    text-align: center;
}

.yms-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    margin: 0 4px;
    padding: 0 12px;
    background: #fff;
    color: var(--yms-ink);
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.yms-blog-pagination .page-numbers:hover {
    background: var(--yms-brand);
    color: #fff;
}

.yms-blog-pagination .page-numbers.current {
    background: var(--yms-brand);
    color: #fff;
    pointer-events: none;
}

/* Blog CTA */
.yms-blog-page__cta {
    background-color: #241812;
    padding: 80px 0;
    text-align: center;
}

.yms-blog-page__cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.yms-blog-page__cta h2 {
    color: #fff;
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .yms-blog-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .yms-blog-page__grid {
        grid-template-columns: 1fr;
    }
    
    .yms-blog-page__hero {
        padding: 60px 20px;
    }
    
    .yms-blog-page__content {
        padding: 50px 0;
    }
}

/* Native single blog post redesign */
.single-post .page-title.yms-single-post-hero {
    min-height: 190px;
    padding: 42px 0 34px !important;
    background: #ffffff !important;
    background-image: none !important;
    border-bottom: 1px solid rgba(28, 20, 14, 0.08);
    box-shadow: none;
}

.single-post .page-title.yms-single-post-hero::before,
.single-post .page-title.yms-single-post-hero::after {
    display: none !important;
}

.single-post .yms-single-post-hero .auto-container {
    width: min(100% - 64px, 1180px);
    max-width: none;
}

.single-post .yms-single-post-hero .clearfix {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
}

.single-post .yms-single-post-hero .pull-left,
.single-post .yms-single-post-hero .pull-right {
    float: none !important;
}

.single-post .yms-single-post-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #1f1a16;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.single-post .yms-single-post-hero .page-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap;
    justify-content: flex-end !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.single-post .yms-single-post-hero .page-breadcrumb li {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    color: #7a7067 !important;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.single-post .yms-single-post-hero .page-breadcrumb li a {
    color: #6c625a !important;
}

.single-post .yms-single-post-hero .page-breadcrumb li a:hover,
.single-post .yms-single-post-hero .page-breadcrumb li a:focus {
    color: #ab7442 !important;
}

.single-post .yms-single-post-container {
    padding: 56px 0 74px;
    background: #ffffff !important;
}

.single-post .sidebar-page-container.yms-single-post-container {
    background: #ffffff !important;
}

.single-post .yms-single-post-container .auto-container {
    width: min(100% - 64px, 1180px);
    max-width: none;
}

.single-post .yms-single-post .news-detail,
.single-post .yms-single-post .thm-unit-test,
.single-post .yms-single-post .inner-box {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.single-post .yms-single-post__media {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: 8px;
    background: #f7f3ef;
}

.single-post .yms-single-post__media img,
.single-post .yms-single-post__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
}

.single-post .yms-single-post__media figcaption {
    padding: 10px 14px 0;
    color: #82776e;
    font-size: 13px;
    line-height: 1.5;
}

.single-post .yms-single-post .lower-content {
    padding: 0;
}

.single-post .yms-single-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0 0 24px;
    padding: 0 0 20px;
    border-bottom: 1px solid #eee5dc;
}

.single-post .yms-single-post__meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #756b62;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.single-post .yms-single-post__meta li::before {
    display: none;
}

.single-post .yms-single-post__meta span {
    color: #ab7442;
    font-size: 13px;
}

.single-post .yms-single-post__meta a {
    color: #5f554d;
}

.single-post .yms-single-post__meta a:hover,
.single-post .yms-single-post__meta a:focus {
    color: #ab7442;
}

.single-post .yms-single-post__content {
    color: #332d28;
    font-size: 17px;
    line-height: 1.82;
}

.single-post .yms-single-post__content p {
    margin: 0 0 20px;
}

.single-post .yms-single-post__content h2,
.single-post .yms-single-post__content h3,
.single-post .yms-single-post__content h4 {
    margin: 32px 0 14px;
    color: #1f1a16;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.single-post .yms-single-post__content h2 {
    font-size: 28px;
}

.single-post .yms-single-post__content h3 {
    font-size: 23px;
}

.single-post .yms-single-post__content ul,
.single-post .yms-single-post__content ol {
    margin: 0 0 22px 24px;
    padding: 0;
}

.single-post .yms-single-post__content li {
    margin-bottom: 8px;
}

.single-post .post-share-options,
.single-post .author-box,
.single-post .news-posts,
.single-post #comments {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid #eee5dc;
}

.single-post .yms-single-post__nav .clearfix {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.single-post .yms-single-post__nav .pull-left,
.single-post .yms-single-post__nav .pull-right {
    float: none !important;
    width: auto;
    min-height: 100%;
    padding: 18px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
}

.single-post .yms-single-post__nav .next-post {
    text-align: right;
}

.single-post .yms-single-post__nav h4 {
    margin: 0 0 8px;
    color: #1f1a16;
    font-size: 16px;
    line-height: 1.35;
}

.single-post .yms-single-post__nav .arrow {
    color: #ab7442;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.single-post .sidebar-page-container .sidebar-side .sidebar {
    position: sticky;
    top: 108px;
}

.single-post .sidebar-widget {
    overflow: hidden;
    padding: 26px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
}

.single-post .sidebar-title h2,
.single-post .sidebar-widget .sidebar-title h4 {
    color: #2a241f;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.single-post .sidebar-title h2::before,
.single-post .sidebar-title h2::after,
.single-post .sidebar-title::before,
.single-post .sidebar-title::after,
.single-post .sidebar-widget .sidebar-title h4::before,
.single-post .sidebar-widget .sidebar-title h4::after {
    display: none !important;
}

.single-post .sidebar-title {
    margin-bottom: 18px;
    padding-bottom: 0;
}

.single-post .blog-cat li::before {
    display: none !important;
}

.single-post .blog-cat li a {
    padding-left: 0;
}

.single-post .sidebar .search-box .form-group input[type="text"],
.single-post .sidebar .search-box .form-group input[type="search"] {
    border-color: #ded2c7;
    border-radius: 999px;
}

.single-post .sidebar .search-box .form-group button {
    color: #ab7442;
}

@media (max-width: 991px) {
    .single-post .page-title.yms-single-post-hero {
        min-height: 160px;
        padding: 30px 0 26px !important;
    }

    .single-post .yms-single-post-hero .clearfix {
        display: grid;
        gap: 14px;
    }

    .single-post .yms-single-post-hero .page-breadcrumb {
        justify-content: flex-start !important;
    }

    .single-post .yms-single-post-hero h1 {
        font-size: 36px;
    }

    .single-post .sidebar-page-container .sidebar-side .sidebar {
        position: static;
    }
}

@media (max-width: 575px) {
    .single-post .yms-single-post-hero .auto-container,
    .single-post .yms-single-post-container .auto-container {
        width: calc(100% - 28px);
    }

    .single-post .page-title.yms-single-post-hero {
        min-height: 132px;
        padding: 22px 0 18px !important;
    }

    .single-post .yms-single-post-hero h1 {
        font-size: 28px;
        line-height: 1.14;
    }

    .single-post .yms-single-post-hero .pull-right {
        display: none;
    }

    .single-post .yms-single-post-container {
        padding: 30px 0 46px;
    }

    .single-post .yms-single-post__media {
        margin-bottom: 22px;
        border-radius: 7px;
    }

    .single-post .yms-single-post__content {
        font-size: 16px;
        line-height: 1.78;
    }

    .single-post .yms-single-post__content h2 {
        font-size: 24px;
    }

    .single-post .yms-single-post__content h3 {
        font-size: 21px;
    }

    .single-post .yms-single-post__meta {
        gap: 9px 14px;
        margin-bottom: 20px;
        padding-bottom: 16px;
    }

    .single-post .yms-single-post__meta li {
        font-size: 12px;
    }

    .single-post .yms-single-post__nav .clearfix {
        grid-template-columns: 1fr;
    }

    .single-post .yms-single-post__nav .next-post {
        text-align: left;
    }

    .single-post .sidebar-widget {
        padding: 20px;
    }
}

/* Single blog polish pass: quieter editorial layout */
.single-post .page-title.yms-single-post-hero {
    min-height: 132px !important;
    padding: 28px 0 24px !important;
}

.single-post .yms-single-post-hero .auto-container,
.single-post .yms-single-post-container .auto-container {
    width: min(100% - 72px, 1120px);
}

.single-post .yms-single-post-hero .clearfix {
    align-items: center;
}

.single-post .yms-single-post-hero h1 {
    font-size: 38px;
    line-height: 1.12;
}

.single-post .yms-single-post-container {
    padding: 34px 0 64px !important;
}

.single-post .yms-single-post__media {
    margin-bottom: 18px;
    border-radius: 6px;
}

.single-post .yms-single-post__media img,
.single-post .yms-single-post__image {
    aspect-ratio: 16 / 9;
}

.single-post .yms-single-post__meta {
    gap: 8px 14px;
    margin: 0 0 20px !important;
    padding: 12px 14px !important;
    border: 1px solid #eee5dc;
    border-radius: 6px;
    background: #fbfaf8;
}

.single-post .yms-single-post__meta li {
    gap: 6px;
    padding: 0 !important;
    border: 0 !important;
    color: #665d55;
    font-size: 12px;
}

.single-post .yms-single-post__meta li + li {
    margin-left: 0 !important;
}

.single-post .yms-single-post__meta span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    min-width: 15px;
    margin: 0 !important;
    color: #ab7442;
}

.single-post .yms-single-post__content {
    max-width: 720px;
    color: #2f2924;
    font-size: 16px;
    line-height: 1.78;
}

.single-post .yms-single-post__content p {
    margin-bottom: 18px;
}

.single-post .post-share-options {
    margin-top: 22px !important;
    padding: 14px 16px !important;
    border: 1px solid #eee5dc !important;
    border-radius: 6px;
    background: #fbfaf8;
}

.single-post .post-share-options .text-right {
    text-align: left !important;
}

.single-post .post-share-options ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin: 0;
}

.single-post .post-share-options li {
    margin: 0 !important;
}

.single-post .post-share-options li.share {
    color: #2f2924;
    font-weight: 800;
}

.single-post .post-share-options a {
    color: #7a7067;
}

.single-post .post-share-options a:hover,
.single-post .post-share-options a:focus {
    color: #ab7442;
}

.single-post .author-box {
    display: none !important;
}

.single-post .yms-single-post__nav {
    margin-top: 22px !important;
    padding-top: 22px !important;
}

.single-post .yms-single-post__nav .pull-left,
.single-post .yms-single-post__nav .pull-right {
    padding: 16px;
    box-shadow: none;
}

.single-post .comment-form {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #eee5dc;
}

.single-post .comment-form h3,
.single-post #reply-title {
    margin-bottom: 18px;
    color: #1f1a16;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0;
}

.single-post .comment-form .form-control,
.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form textarea {
    border-color: #e4d8cd !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"] {
    height: 50px;
}

.single-post .comment-form textarea {
    min-height: 132px;
}

.single-post .comment-form input[type="submit"],
.single-post .comment-form button[type="submit"],
.single-post .form-submit input[type="submit"] {
    min-width: 176px;
    height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 6px;
    background: #ab7442 !important;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.single-post .comment-form input[type="submit"]:hover,
.single-post .comment-form button[type="submit"]:hover,
.single-post .form-submit input[type="submit"]:hover {
    background: #8f5f34 !important;
}

.single-post .sidebar-widget {
    margin-bottom: 24px;
    padding: 24px;
    border-color: #eee5dc;
    border-radius: 6px;
    background: #ffffff !important;
    box-shadow: none !important;
}

.single-post .sidebar-title {
    margin-bottom: 16px !important;
}

.single-post .sidebar-title h2,
.single-post .sidebar-widget .sidebar-title h4 {
    font-size: 21px;
}

.single-post .widget_categories ul,
.single-post .blog-cat,
.single-post .blog-cat-two {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

.single-post .widget_categories li,
.single-post .blog-cat li,
.single-post .blog-cat-two li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 0 8px !important;
    padding: 12px 14px !important;
    border: 1px solid #eee5dc !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #7a7067;
    font-size: 13px;
    font-weight: 700;
}

.single-post .widget_categories li a,
.single-post .blog-cat li a,
.single-post .blog-cat-two li a {
    display: inline-flex !important;
    padding: 0 !important;
    color: #4b433d !important;
    font-size: 14px;
    font-weight: 700;
}

.single-post .widget_categories li::before,
.single-post .widget_categories li::after,
.single-post .widget_categories li a::before,
.single-post .widget_categories li a::after,
.single-post .blog-cat li::before,
.single-post .blog-cat li::after,
.single-post .blog-cat li a::before,
.single-post .blog-cat li a::after,
.single-post .blog-cat-two li::before,
.single-post .blog-cat-two li::after,
.single-post .blog-cat-two li a::before,
.single-post .blog-cat-two li a::after {
    display: none !important;
    content: none !important;
}

.single-post .widget_tag_cloud {
    background: #ffffff !important;
    background-image: none !important;
    color: #1f1a16 !important;
}

body.single-post #tag_cloud-1.widget_tag_cloud.sidebar-widget {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-color: #eee5dc !important;
    color: #1f1a16 !important;
}

body.single-post #tag_cloud-1.widget_tag_cloud.sidebar-widget * {
    text-shadow: none !important;
}

.single-post .widget_tag_cloud .tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.single-post .widget_tag_cloud .sidebar-title h2,
.single-post .widget_tag_cloud .sidebar-title h4 {
    color: #1f1a16 !important;
}

.single-post .widget_tag_cloud .tagcloud a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0 !important;
    padding: 0 13px !important;
    border: 1px solid #e6dbd0 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #6a5f56 !important;
    font-size: 12px !important;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.single-post .widget_tag_cloud .tagcloud a:hover,
.single-post .widget_tag_cloud .tagcloud a:focus {
    border-color: #ab7442 !important;
    background: #ab7442 !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    .single-post .yms-single-post-hero .auto-container,
    .single-post .yms-single-post-container .auto-container {
        width: calc(100% - 40px);
    }
}

@media (max-width: 575px) {
    .single-post .page-title.yms-single-post-hero {
        min-height: 110px !important;
        padding: 18px 0 !important;
    }

    .single-post .yms-single-post-hero .auto-container,
    .single-post .yms-single-post-container .auto-container {
        width: calc(100% - 28px);
    }

    .single-post .yms-single-post-hero h1 {
        font-size: 26px;
    }

    .single-post .yms-single-post-container {
        padding-top: 24px !important;
    }

    .single-post .yms-single-post__meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .single-post .post-share-options ul {
        gap: 8px 14px;
    }

    .single-post .comment-form input[type="text"],
    .single-post .comment-form input[type="email"] {
        width: 100%;
    }
}

/* Dynamic native pages: About, Privacy, Terms, Refund */
.yms-native-page-hero {
    padding: 44px 0 34px;
    background: #ffffff;
    border-bottom: 1px solid #eee5dc;
}

body.page-template-default .preloader {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.yms-native-page-hero .auto-container,
.yms-native-page .auto-container {
    width: min(100% - 72px, 1080px);
    max-width: none;
}

.yms-native-page-crumbs {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 16px;
    color: #867a70;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.yms-native-page-crumbs a {
    color: #6e635a;
}

.yms-native-page-crumbs a:hover,
.yms-native-page-crumbs a:focus {
    color: #ab7442;
}

.yms-native-page-hero h1 {
    max-width: 780px;
    margin: 0;
    color: #1f1a16;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 0;
}

.yms-native-page-hero p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #62584f;
    font-size: 16px;
    line-height: 1.72;
}

.yms-native-page {
    padding: 42px 0 72px;
    background: #ffffff;
}

.yms-native-page__card {
    max-width: 920px;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.yms-native-page--about .yms-native-page__card {
    max-width: 1080px;
}

.yms-native-page__content {
    color: #332d28;
    font-size: 16px;
    line-height: 1.78;
}

.yms-native-page__content > h2:first-child {
    display: none;
}

.yms-native-page--return-and-refund .yms-native-page__content > h2:nth-child(2),
.yms-native-page__content > h6:empty {
    display: none;
}

.yms-native-page__content h2,
.yms-native-page__content h3,
.yms-native-page__content h4 {
    margin: 34px 0 14px;
    color: #1f1a16;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
}

.yms-native-page__content h2 {
    font-size: 30px;
}

.yms-native-page__content h3 {
    font-size: 24px;
}

.yms-native-page__content h4 {
    font-size: 19px;
}

.yms-native-page__content h6 {
    margin: 0 0 18px;
    color: #7a7067;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.yms-native-page__content p {
    margin: 0 0 18px;
}

.yms-native-page__content a {
    color: #9a6739;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.yms-native-page__content ul,
.yms-native-page__content ol {
    margin: 0 0 22px;
    padding-left: 22px;
}

.yms-native-page__content li {
    margin: 0 0 9px;
    padding-left: 2px;
}

.yms-native-page__content li br {
    display: none;
}

.yms-native-page__content blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #ab7442;
    background: #fbfaf8;
    color: #3a332d;
}

.yms-native-page__content table {
    width: 100%;
    margin: 24px 0;
    border-collapse: collapse;
    border: 1px solid #eee5dc;
}

.yms-native-page__content th,
.yms-native-page__content td {
    padding: 12px 14px;
    border: 1px solid #eee5dc;
    text-align: left;
    vertical-align: top;
}

.yms-native-page__content th {
    background: #fbfaf8;
    color: #1f1a16;
    font-weight: 800;
}

.yms-about-grid,
.yms-about-process,
.yms-about-contact {
    display: grid;
    gap: 18px;
    margin: 30px 0;
}

.yms-about-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.yms-about-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.yms-about-card,
.yms-about-step,
.yms-about-contact {
    padding: 22px;
    border: 1px solid #eee5dc;
    border-radius: 8px;
    background: #ffffff;
}

.yms-about-card h3,
.yms-about-step h3 {
    margin-top: 0;
    font-size: 18px;
}

.yms-about-card p,
.yms-about-step p,
.yms-about-contact p {
    margin-bottom: 0;
}

.yms-about-contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fbfaf8;
}

.yms-about-kicker {
    margin: 0 0 10px;
    color: #ab7442;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .yms-native-page-hero .auto-container,
    .yms-native-page .auto-container {
        width: calc(100% - 40px);
    }

    .yms-about-grid,
    .yms-about-process,
    .yms-about-contact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .yms-native-page-hero {
        padding: 28px 0 24px;
    }

    .yms-native-page-hero .auto-container,
    .yms-native-page .auto-container {
        width: calc(100% - 28px);
    }

    .yms-native-page-hero h1 {
        font-size: 30px;
    }

    .yms-native-page {
        padding: 28px 0 46px;
    }

    .yms-native-page__content {
        font-size: 15px;
        line-height: 1.72;
    }

    .yms-native-page__content h2 {
        font-size: 25px;
    }

    .yms-native-page__content h3 {
        font-size: 21px;
    }

    .yms-about-grid,
    .yms-about-process,
    .yms-about-contact {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .yms-about-card,
    .yms-about-step,
    .yms-about-contact {
        padding: 18px;
    }
}
