/* ============================================
   NEWDS.CO - WooCommerce Styles
   ============================================ */

/* ---------- Star Rating Fix ---------- */
.woocommerce .star-rating {
    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1;
    overflow: hidden;
    position: relative;
    height: 1.2em;
    width: 5.4em;
    letter-spacing: 2px;
}
.woocommerce .star-rating::before {
    content: "☆☆☆☆☆" !important;
    color: #ccc;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    font-family: inherit !important;
}
.woocommerce .star-rating span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;
}
.woocommerce .star-rating span::before {
    content: "★★★★★" !important;
    color: #f5a623;
    top: 0;
    left: 0;
    position: absolute;
    font-family: inherit !important;
}

/* ---------- General ---------- */
.woocommerce .nw-container,
.woocommerce-page .nw-container {
    max-width: 1024px;
}

/* ---------- Product Grid ---------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
li.nw-product-card {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    list-style: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.woocommerce ul.products li.product:hover,
li.nw-product-card:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* ---------- Product Card ---------- */
.nw-product-card {
    width: 100%;
}

.nw-product-card__image {
    position: relative;
    background: #f8f7f6;
    border-radius: 0;
    overflow: hidden;
}

.nw-product-card__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.nw-product-card__slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease;
}

.nw-product-card__slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: block;
}

.nw-product-card__slide.is-active {
    opacity: 1;
}

.nw-product-card__slide img,
.nw-product-card .nw-product-card__slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.nw-featured__item .nw-product-card,
.nw-featured__item .nw-product-card__image,
.nw-featured__item .nw-product-card__slider {
    width: 100% !important;
}

.nw-product-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #ffffff;
}

.nw-product-card__dots {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 8px;
}

.nw-product-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #d4d0cc;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}

.nw-product-card__dot.is-active {
    background: #8D7865;
}

.nw-product-card__dot:hover {
    background: #8a857f;
}

.nw-product-card__add {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    color: #8D7865 !important;
    text-decoration: none !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer;
    padding: 0 !important;
    width: auto !important;
    text-transform: none !important;
}

.nw-product-card__add:hover {
    opacity: 0.6 !important;
    background: none !important;
    color: #8D7865 !important;
}

.nw-product-card__add svg {
    color: #8D7865;
}

.nw-product-card__add svg path {
    fill: #8D7865;
}

/* Added to cart state */
.nw-product-card__add--added {
    color: #2e7d32 !important;
}
.nw-product-card__add--added svg {
    color: #2e7d32 !important;
    stroke: #2e7d32;
}
.nw-product-card__add--added svg path,
.nw-product-card__add--added svg line,
.nw-product-card__add--added svg polyline {
    stroke: #2e7d32;
    fill: none;
}

.nw-product-card__info {
    text-align: center;
    padding: 0;
}

.nw-product-card__info a {
    text-decoration: none;
}

.nw-product-card__name {
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    letter-spacing: 2px;
    color: #8D7865;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.nw-product-card__price {
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: #8D7865;
}

.nw-product-card__price del {
    color: #999 !important;
    font-size: 13px !important;
    margin-right: 6px;
}

.nw-product-card__price ins {
    text-decoration: none !important;
}

/* Hide default WooCommerce elements rendered by hooks */
.nw-product-card .star-rating,
.nw-product-card > .woocommerce-loop-product__title,
.nw-product-card > .price,
.nw-product-card > .button,
.nw-product-card > a > .woocommerce-loop-product__title,
.nw-product-card > a > img,
.nw-product-card > a.woocommerce-LoopProduct-link > img,
.nw-product-card .added_to_cart,
.nw-product-card > .onsale,
.nw-product-card > span.onsale {
    display: none !important;
}

/* ---------- Single Product ---------- */

/* Product Gallery Thumbnails - Single Line Slider */
/* (Primary styles handled via inline CSS in functions.php for highest priority) */

.woocommerce div.product .product_title {
    font-family: "Montserrat", sans-serif !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-family: "Montserrat", sans-serif !important;
    font-size: 24px !important;
    color: #8D7865 !important;
    font-weight: 600 !important;
}

.woocommerce div.product .single_add_to_cart_button {
    font-family: "Montserrat", sans-serif !important;
    background-color: #8D7865 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 32px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.woocommerce div.product .single_add_to_cart_button:hover {
    background-color: #333 !important;
}

/* ---------- Cart ---------- */
.woocommerce .cart .button,
.woocommerce .checkout-button {
    font-family: "Montserrat", sans-serif !important;
    background-color: #8D7865 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 24px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Breadcrumbs ---------- */
.woocommerce .woocommerce-breadcrumb {
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    color: #999 !important;
    padding: 16px 0 !important;
    margin: 0 0 20px !important;
}

.woocommerce .woocommerce-breadcrumb a {
    color: #666666 !important;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    color: #8D7865 !important;
    opacity: 1 !important;
}

/* ---------- Sale Badge ---------- */
.woocommerce span.onsale {
    background-color: #8D7865 !important;
    color: #fff !important;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    padding: 4px 10px !important;
    border-radius: 3px !important;
    min-height: auto !important;
    min-width: auto !important;
    line-height: 1.4 !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .woocommerce .woocommerce-breadcrumb {
        margin-bottom: 0 !important;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }

    .nw-product-card__name {
        font-size: 13px !important;
        letter-spacing: 1.5px;
    }

    .nw-product-card__price {
        font-size: 14px;
    }

    .nw-product-card__add span {
        font-size: 11px;
    }

    .nw-product-card__actions {
        padding: 10px 12px;
    }

    .woocommerce div.product .product_title {
        font-size: 22px !important;
    }

    .woocommerce div.product div.images .flex-control-thumbs li,
    .woocommerce-product-gallery .flex-control-thumbs li {
        flex: 0 0 60px !important;
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products {
        gap: 25px;
    }
}


/* ---------- Pagination ---------- */
.woocommerce nav.woocommerce-pagination {
    margin: 50px 0 20px;
    text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: none !important;
    padding: 0;
    margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50% !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #8D7865;
    background: transparent !important;
    transition: all 0.3s ease;
}
.woocommerce nav.woocommerce-pagination ul li span.current {
    background: #8D7865 !important;
    color: #ffffff !important;
}
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: rgba(141, 120, 101, 0.1) !important;
    color: #8D7865 !important;
    opacity: 1 !important;
}

/* Prev/Next arrows */
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
    font-size: 0;
    width: 48px;
    height: 48px;
    position: relative;
}
.woocommerce nav.woocommerce-pagination ul li a.prev::after,
.woocommerce nav.woocommerce-pagination ul li a.next::after {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2.5px solid #8D7865;
    border-bottom: 2.5px solid #8D7865;
}
.woocommerce nav.woocommerce-pagination ul li a.prev::after {
    transform: rotate(135deg);
    margin-left: 4px;
}
.woocommerce nav.woocommerce-pagination ul li a.next::after {
    transform: rotate(-45deg);
    margin-right: 4px;
}

/* Disabled prev (first page) */
.woocommerce nav.woocommerce-pagination ul li:first-child span.current ~ a.prev,
.woocommerce nav.woocommerce-pagination ul li a.prev[href="#"] {
    opacity: 0.4;
    pointer-events: none;
}

/* Make prev arrow lighter when on first page */
.woocommerce nav.woocommerce-pagination ul li:first-child a.prev {
    opacity: 0.4;
}

@media (max-width: 768px) {
    .woocommerce nav.woocommerce-pagination ul {
        gap: 2px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .woocommerce nav.woocommerce-pagination ul li a,
    .woocommerce nav.woocommerce-pagination ul li span {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    .woocommerce nav.woocommerce-pagination ul li a.prev,
    .woocommerce nav.woocommerce-pagination ul li a.next {
        width: 28px;
        height: 28px;
    }
    .woocommerce nav.woocommerce-pagination ul li a.prev::after,
    .woocommerce nav.woocommerce-pagination ul li a.next::after {
        width: 12px;
        height: 12px;
    }
}


/* ---------- Shop Header & Filter ---------- */
.nw-shop__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
}
.nw-shop__title {
    font-family: "Montserrat", sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #8D7865;
    text-transform: uppercase;
}
.nw-shop__empty {
    text-align: center;
    padding: 60px 0;
    color: #888;
    font-size: 14px;
}

/* Filter Button */
.nw-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #8D7865;
    position: relative;
}
.nw-filter-btn:hover {
    opacity: 0.7;
}
.nw-filter-btn span:not(.nw-filter-btn__count) {
    display: none;
}
.nw-filter-btn__count {
    background: #8D7865;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    position: absolute;
    top: 2px;
    right: -4px;
}

/* Filter Panel - Slide from right */
.nw-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.nw-filter-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.nw-filter-panel {
    position: fixed;
    top: 0;
    right: -380px;
    width: 380px;
    height: 100vh;
    background: #ffffff;
    z-index: 10001;
    padding: 0;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}
.nw-filter-panel.is-open {
    right: 0;
}
.nw-filter-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #f0eeec;
    flex-shrink: 0;
}
.nw-filter-panel__heading {
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #8D7865;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.nw-filter-panel__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #8D7865;
    display: flex;
    align-items: center;
}
@keyframes nw-filter-slide {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.nw-filter-panel__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    padding-bottom: 24px;
}
.nw-filter-panel__group {
    flex: 1;
    min-width: 180px;
}
.nw-filter-panel__title {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8D7865;
    margin-bottom: 12px;
}
.nw-filter-panel__options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.nw-filter-panel__option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 6px 0;
}
.nw-filter-panel__option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #c4b9ad;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}
.nw-filter-panel__option input[type="radio"]:checked {
    border-color: #8D7865;
}
.nw-filter-panel__option input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 6px;
    height: 6px;
    background: #8D7865;
    border-radius: 50%;
}
.nw-filter-panel__option span {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #666666;
}
.nw-filter-panel__option--sub {
    padding-left: 24px;
}
.nw-filter-panel__option--sub span {
    font-size: 12px;
    color: #666666;
}
.nw-filter-panel__suboptions {
    padding-left: 0;
}

/* Size chips */
.nw-filter-panel__options--sizes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
}
.nw-filter-panel__chip {
    cursor: pointer;
}
.nw-filter-panel__chip input[type="radio"] {
    display: none;
}
.nw-filter-panel__chip span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #e0dcd8;
    border-radius: 20px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #666666;
    transition: all 0.2s ease;
}
.nw-filter-panel__chip input[type="radio"]:checked + span {
    background: #8D7865;
    border-color: #8D7865;
    color: #fff;
}
.nw-filter-panel__chip:hover span {
    border-color: #8D7865;
}

/* Actions - fixed bottom */
.nw-filter-panel__actions {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    background: #ffffff;
    border-top: 1px solid #f0eeec;
    z-index: 10;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}
.nw-filter-panel__apply {
    background: #8D7865;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    flex: 1;
    text-align: center;
}
.nw-filter-panel__apply:hover {
    background: #7a6856;
}
.nw-filter-panel__clear {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #888;
    text-decoration: underline;
}
.nw-filter-panel__clear:hover {
    color: #8D7865;
    opacity: 1;
}

@media (max-width: 768px) {
    .nw-shop__header {
        margin-bottom: 16px;
        padding-bottom: 12px;
    }
    .nw-shop__title {
        font-size: 16px;
        letter-spacing: 2px;
    }
    .nw-filter-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    .nw-filter-panel {
        width: 100%;
        right: -100%;
    }
    .nw-filter-panel__form {
        gap: 20px;
    }
    .nw-filter-panel__group {
        min-width: 100%;
    }
}


/* Shop page - no top padding */
.nw-main.nw-shop {
    padding-top: 0;
}


/* ============================================
   VARIABLE PRODUCT - Button Selectors
   ============================================ */
.nw-variations-form .variations {
    display: none !important;
}
.nw-variations {
    margin-bottom: 20px;
}
.nw-variations__group {
    margin-bottom: 20px;
}
.nw-variations__label {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8D7865;
    margin-bottom: 10px;
    margin-top: 20px;
}
.nw-variations__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.nw-variations__btn {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #666666;
    background: #ffffff;
    border: 1px solid #e0dcd8;
    border-radius: 4px;
    padding: 10px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.nw-variations__btn:hover {
    border-color: #8D7865;
    color: #8D7865;
}
.nw-variations__btn.is-selected {
    background: #8D7865;
    border-color: #8D7865;
    color: #ffffff;
}
.nw-variations__btn.is-unavailable {
    opacity: 0.4;
    text-decoration: line-through;
    pointer-events: none;
}

/* Selected items with quantity */
.nw-selections {
    margin-bottom: 20px;
}
.nw-selection-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #faf9f8;
    border: 1px solid #f0eeec;
    border-radius: 6px;
    margin-bottom: 8px;
}
.nw-selection-item__label {
    flex: 1;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #8D7865;
}
.nw-selection-item__qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #e0dcd8;
    border-radius: 4px;
    overflow: hidden;
}
.nw-selection-item__qty button {
    width: 32px;
    height: 32px;
    border: none;
    background: #faf9f8;
    color: #8D7865;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.nw-selection-item__qty button:hover {
    background: #f0eeec;
}
.nw-selection-item__qty input {
    width: 36px;
    height: 32px;
    border: none;
    border-left: 1px solid #e0dcd8;
    border-right: 1px solid #e0dcd8;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    color: #8D7865;
    padding: 0;
    -moz-appearance: textfield;
}
.nw-selection-item__qty input::-webkit-inner-spin-button,
.nw-selection-item__qty input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.nw-selection-item__remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #cc6666;
    padding: 4px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s ease;
}
.nw-selection-item__remove:hover {
    opacity: 0.7;
}

/* Add to cart button */
.nw-add-to-cart-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    background: #8D7865 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 14px 28px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    transition: background 0.3s ease !important;
    width: 100%;
    justify-content: center;
}
.nw-add-to-cart-btn:hover {
    background: #7a6856 !important;
}
.nw-add-to-cart-btn svg {
    color: #ffffff;
}
.nw-add-to-cart-btn svg path {
    fill: #ffffff;
}

.nw-variations__footer {
    padding-top: 10px;
}
.nw-variations__footer .single_add_to_cart_button,
.nw-variations__footer .nw-add-to-cart-btn {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
}

@media (max-width: 768px) {
    .nw-variations__btn {
        padding: 8px 14px;
        font-size: 12px;
    }
    .nw-selection-item {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ============================================
   MY ACCOUNT PAGE
   ============================================ */
.woocommerce-account .woocommerce {
    font-family: "Montserrat", sans-serif;
}

/* Page Title */
.woocommerce-account .entry-title,
.woocommerce-account h1,
.woocommerce-account h2 {
    font-family: "Montserrat", sans-serif !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #2c2c2c !important;
    margin-bottom: 24px !important;
}

/* Login/Register headings */
.woocommerce-account h2 {
    font-size: 16px !important;
    letter-spacing: 1.5px;
    color: #8D7865 !important;
    margin-bottom: 20px !important;
}

/* Form container */
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
    border: 1px solid #f0eeec !important;
    border-radius: 10px !important;
    padding: 28px !important;
    margin-bottom: 30px !important;
    box-shadow: none !important;
}

/* Labels */
.woocommerce-account form label {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
    margin-bottom: 6px !important;
}

/* Inputs */
.woocommerce-account form input[type="text"],
.woocommerce-account form input[type="email"],
.woocommerce-account form input[type="password"],
.woocommerce-account form input[type="tel"],
.woocommerce-account form select,
.woocommerce-account form textarea {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
    width: 100% !important;
    color: #2c2c2c !important;
    background: #fff !important;
    transition: border-color 0.2s ease;
    box-shadow: none !important;
    outline: none !important;
}
.woocommerce-account form input:focus,
.woocommerce-account form textarea:focus,
.woocommerce-account form select:focus {
    border-color: #8D7865 !important;
}

/* Buttons */
.woocommerce-account form .button,
.woocommerce-account form input[type="submit"],
.woocommerce-account .woocommerce-Button {
    font-family: "Montserrat", sans-serif !important;
    background: #8D7865 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: none !important;
    letter-spacing: 0.5px;
}
.woocommerce-account form .button:hover,
.woocommerce-account form input[type="submit"]:hover,
.woocommerce-account .woocommerce-Button:hover {
    background: #7a6856 !important;
    opacity: 1 !important;
}

/* Remember me checkbox */
.woocommerce-account .woocommerce-form__label-for-checkbox {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #666 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Lost password link */
.woocommerce-account .woocommerce-LostPassword a,
.woocommerce-account a.lost_password {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #8D7865 !important;
    text-decoration: none;
}
.woocommerce-account .woocommerce-LostPassword a:hover {
    color: #2c2c2c !important;
}

/* My Account Navigation (logged in) */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #f0eeec;
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid #f0eeec;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #666 !important;
    padding: 14px 20px !important;
    display: block;
    text-decoration: none;
    transition: all 0.2s ease;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #8D7865 !important;
    background: #faf9f8;
    opacity: 1 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a {
    color: #8D7865 !important;
    font-weight: 600 !important;
    background: #faf9f8;
}

/* My Account Content */
.woocommerce-account .woocommerce-MyAccount-content {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    color: #555 !important;
    line-height: 1.7;
}
.woocommerce-account .woocommerce-MyAccount-content p {
    font-family: "Montserrat", sans-serif !important;
}
.woocommerce-account .woocommerce-MyAccount-content a {
    color: #8D7865 !important;
    text-decoration: none;
}
.woocommerce-account .woocommerce-MyAccount-content a:hover {
    color: #2c2c2c !important;
    opacity: 1 !important;
}

/* Orders table */
.woocommerce-account table.woocommerce-orders-table {
    font-family: "Montserrat", sans-serif !important;
    border: 1px solid #f0eeec !important;
    border-radius: 10px;
    overflow: hidden;
}
.woocommerce-account table.woocommerce-orders-table th {
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #2c2c2c !important;
    background: #faf9f8 !important;
    padding: 14px 16px !important;
}
.woocommerce-account table.woocommerce-orders-table td {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    padding: 14px 16px !important;
    border-top: 1px solid #f0eeec !important;
}

/* Responsive My Account */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-form-login,
    .woocommerce-account .woocommerce-form-register {
        padding: 20px !important;
        border-radius: 8px !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        margin-bottom: 24px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 16px !important;
        font-size: 13px !important;
    }
}


/* ============================================
   NOTICES & MESSAGES
   ============================================ */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    padding: 16px 20px !important;
    margin: 0 0 20px !important;
    border: none !important;
    border-radius: 8px !important;
    border-top: none !important;
    background: #faf9f8 !important;
    color: #2c2c2c !important;
    list-style: none !important;
    display: flex;
    align-items: center;
    gap: 12px;
}
.woocommerce-message {
    border-left: 3px solid #8D7865 !important;
}
.woocommerce-info {
    border-left: 3px solid #8D7865 !important;
}
.woocommerce-error {
    border-left: 3px solid #c62828 !important;
    background: #fff5f5 !important;
}
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before {
    color: #8D7865 !important;
    position: static !important;
    margin: 0 !important;
    flex-shrink: 0;
}
.woocommerce-error::before {
    color: #c62828 !important;
}
.woocommerce-error a.button,
.woocommerce-info a.button,
.woocommerce-message a.button {
    font-family: "Montserrat", sans-serif !important;
    background: #8D7865 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    margin-left: auto !important;
    float: none !important;
}
.woocommerce-error a.button:hover,
.woocommerce-info a.button:hover,
.woocommerce-message a.button:hover {
    background: #7a6856 !important;
}
.woocommerce-error li,
.woocommerce-info li,
.woocommerce-message li {
    list-style: none !important;
}

@media (max-width: 768px) {
    .woocommerce-error,
    .woocommerce-info,
    .woocommerce-message {
        font-size: 13px !important;
        padding: 14px 16px !important;
        flex-wrap: wrap;
    }
    .woocommerce-error a.button,
    .woocommerce-info a.button,
    .woocommerce-message a.button {
        margin-left: 0 !important;
        margin-top: 8px;
        width: 100%;
        text-align: center;
    }
}


/* Cart Items - Remove borders */
.is-large.wc-block-cart .wc-block-cart-items,
.is-large.wc-block-cart .wc-block-cart-items td,
.is-large.wc-block-cart .wc-block-cart-items th,
.is-large.wc-block-cart .wc-block-cart-items tr,
.is-large.wc-block-cart .wc-block-cart-items table {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
}


/* WooCommerce Block Buttons */
.wc-block-components-button:not(.is-link) {
    background: #8D7865 !important;
    color: #ffffff !important;
}
.wc-block-components-button:not(.is-link):hover {
    background: #7a6856 !important;
    color: #ffffff !important;
}


/* ============================================
   SHIPPING TYPE FIELD (Checkout)
   ============================================ */
.newds-shipping-field {
    margin: 20px 0;
    padding: 0;
}
.newds-shipping-field__title {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #2c2c2c;
    margin: 0 0 14px 0;
}
.newds-shipping-field__options {
    display: flex;
    gap: 12px;
}
.newds-shipping-option {
    flex: 1;
    display: block;
    position: relative;
    cursor: pointer;
    border: 1.5px solid #e0dcd8;
    border-radius: 8px;
    padding: 12px 14px;
    transition: all 0.2s ease;
    background: #fff;
}
.newds-shipping-option:hover {
    border-color: #8D7865;
}
.newds-shipping-option.active,
.newds-shipping-option:has(input:checked) {
    border-color: #8D7865;
    background: #faf9f8;
}
.newds-shipping-option input[type="radio"] {
    display: none;
}
.newds-shipping-option__content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.newds-shipping-option__icon {
    font-size: 20px;
    flex-shrink: 0;
}
.newds-shipping-option__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.newds-shipping-option__text strong {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
}
.newds-shipping-option__text span {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    color: #888;
}
.newds-shipping-option__price {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #8D7865;
    flex-shrink: 0;
    white-space: nowrap;
}
.newds-shipping-option__free {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    color: #2e7d32;
    margin-top: 6px;
}

@media (max-width: 768px) {
    .newds-shipping-field__options {
        flex-direction: column;
        gap: 10px;
    }
    .newds-shipping-option {
        padding: 14px;
    }
}


/* ============================================
   INTERNATIONAL SHIPPING POPUP
   ============================================ */
.newds-intl-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.newds-intl-popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.newds-intl-popup__modal {
    position: relative;
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}
.newds-intl-popup__icon {
    font-size: 36px;
    margin-bottom: 12px;
}
.newds-intl-popup__title {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.newds-intl-popup__msg {
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 16px 0;
}
.newds-intl-popup__note {
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    line-height: 1.6;
    color: #8D7865;
    background: #faf9f8;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 0 0 20px 0;
}
.newds-intl-popup__actions {
    display: flex;
    gap: 10px;
}
.newds-intl-popup__btn {
    flex: 1;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.newds-intl-popup__btn--domestic {
    background: #ffffff;
    color: #8D7865;
    border: 1.5px solid #8D7865;
}
.newds-intl-popup__btn--domestic:hover {
    background: #faf9f8;
}
.newds-intl-popup__btn--agree {
    background: #8D7865;
    color: #ffffff;
    border: 1.5px solid #8D7865;
}
.newds-intl-popup__btn--agree:hover {
    background: #7a6856;
}

@media (max-width: 768px) {
    .newds-intl-popup__modal {
        padding: 24px;
    }
    .newds-intl-popup__actions {
        flex-direction: column;
    }
}


/* ============================================
   CHECKOUT ORDER REVIEW TABLE
   ============================================ */
.woocommerce-checkout-review-order-table,
.woocommerce table.shop_table.woocommerce-checkout-review-order-table {
    font-family: "Montserrat", sans-serif !important;
    border: none !important;
    border-radius: 10px !important;
    background: #faf9f8 !important;
    padding: 20px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}
.woocommerce-checkout-review-order-table thead {
    display: none;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    font-family: "Montserrat", sans-serif !important;
    border: none !important;
    padding: 10px 0 !important;
    vertical-align: middle;
}
.woocommerce-checkout-review-order-table tbody tr {
    border-bottom: 1px solid #f0eeec;
}
.woocommerce-checkout-review-order-table tbody tr:last-child {
    border-bottom: none;
}
.woocommerce-checkout-review-order-table .product-name {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
}
.woocommerce-checkout-review-order-table .product-name .product-quantity {
    color: #8D7865 !important;
    font-weight: 600;
}
.woocommerce-checkout-review-order-table .product-total {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #8D7865 !important;
    text-align: right !important;
}
.woocommerce-checkout-review-order-table tfoot tr {
    border-top: 1px solid #e0dcd8;
}
.woocommerce-checkout-review-order-table tfoot tr:first-child {
    border-top: 2px solid #e0dcd8;
}
.woocommerce-checkout-review-order-table tfoot th {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #666 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.woocommerce-checkout-review-order-table tfoot td {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-align: right !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total th {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
}
.woocommerce-checkout-review-order-table tfoot .order-total td {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #8D7865 !important;
}

/* Checkout Place Order Button */
#place_order,
.woocommerce #place_order {
    font-family: "Montserrat", sans-serif !important;
    background: #8D7865 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 16px 28px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    width: 100% !important;
    cursor: pointer;
    transition: background 0.3s ease;
}
#place_order:hover,
.woocommerce #place_order:hover {
    background: #7a6856 !important;
}

/* Checkout Section Headings */
.woocommerce-checkout h3,
.woocommerce-checkout #order_review_heading {
    font-family: "Montserrat", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #2c2c2c !important;
    margin-bottom: 16px !important;
}

@media (max-width: 768px) {
    .woocommerce-checkout-review-order-table,
    .woocommerce table.shop_table.woocommerce-checkout-review-order-table {
        padding: 16px !important;
    }
    .woocommerce-checkout-review-order-table tfoot .order-total td {
        font-size: 16px !important;
    }
}


/* ============================================
   PAYMENT METHODS SECTION
   ============================================ */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background: #faf9f8 !important;
    border-radius: 10px !important;
    border: none !important;
    padding: 0 !important;
    overflow: hidden;
}
#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    font-family: "Montserrat", sans-serif !important;
    padding: 16px 20px !important;
    margin: 0 !important;
    border: none !important;
    list-style: none !important;
}
#add_payment_method #payment ul.payment_methods li,
.woocommerce-cart #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0eeec !important;
    line-height: 1.6 !important;
}
#add_payment_method #payment ul.payment_methods li:last-child,
.woocommerce-cart #payment ul.payment_methods li:last-child,
.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: none !important;
}
#add_payment_method #payment ul.payment_methods li label,
.woocommerce-cart #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li label {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
    cursor: pointer;
}
#add_payment_method #payment ul.payment_methods li input[type="radio"],
.woocommerce-cart #payment ul.payment_methods li input[type="radio"],
.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
    margin-right: 10px !important;
    accent-color: #8D7865;
}
#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #666 !important;
    background: #f0eeec !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    margin: 10px 0 0 !important;
    line-height: 1.6 !important;
}
#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
    border-color: transparent transparent #f0eeec transparent !important;
}
#add_payment_method #payment div.form-row,
.woocommerce-cart #payment div.form-row,
.woocommerce-checkout #payment div.form-row {
    padding: 16px 20px !important;
}
/* Payment method images */
#add_payment_method #payment ul.payment_methods li img,
.woocommerce-cart #payment ul.payment_methods li img,
.woocommerce-checkout #payment ul.payment_methods li img {
    max-height: 24px !important;
    margin-left: 8px !important;
    vertical-align: middle !important;
}

@media (max-width: 768px) {
    #add_payment_method #payment ul.payment_methods,
    .woocommerce-cart #payment ul.payment_methods,
    .woocommerce-checkout #payment ul.payment_methods {
        padding: 12px 16px !important;
    }
    #add_payment_method #payment ul.payment_methods li label,
    .woocommerce-cart #payment ul.payment_methods li label,
    .woocommerce-checkout #payment ul.payment_methods li label {
        font-size: 13px !important;
    }
}


/* Select2 Dropdowns - Match text input styles */
.select2-container .select2-selection {
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 8px !important;
    height: auto !important;
    padding: 10px 14px !important;
    background: #fff !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    color: #2c2c2c !important;
    transition: border-color 0.2s ease;
}
.select2-container .select2-selection:focus,
.select2-container.select2-container--open .select2-selection {
    border-color: #8D7865 !important;
    outline: none !important;
    box-shadow: none !important;
}
.select2-container .select2-selection .select2-selection__rendered {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    color: #2c2c2c !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}
.select2-container .select2-selection .select2-selection__placeholder {
    color: #999 !important;
}
.select2-container .select2-dropdown {
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden;
}
.select2-container .select2-dropdown .select2-results__option {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #2c2c2c !important;
    padding: 10px 14px !important;
}
.select2-container .select2-dropdown .select2-results__option--highlighted {
    background: #faf9f8 !important;
    color: #8D7865 !important;
}
.select2-container .select2-dropdown .select2-results__option[aria-selected="true"] {
    background: #8D7865 !important;
    color: #ffffff !important;
}
.select2-container .select2-search--dropdown .select2-search__field {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    outline: none !important;
}
.select2-container .select2-search--dropdown .select2-search__field:focus {
    border-color: #8D7865 !important;
}


/* ============================================
   CHECKOUT PAYMENT SECTION
   ============================================ */
.woocommerce-checkout-payment,
#payment.woocommerce-checkout-payment {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-top: 24px !important;
}
.woocommerce-checkout-payment .wc_payment_methods,
#payment .wc_payment_methods {
    background: #ffffff !important;
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 10px !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    overflow: hidden;
}
.woocommerce-checkout-payment .wc_payment_methods li,
#payment .wc_payment_methods li {
    padding: 14px 20px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0eeec !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
}
.woocommerce-checkout-payment .wc_payment_methods li:last-child,
#payment .wc_payment_methods li:last-child {
    border-bottom: none !important;
}
.woocommerce-checkout-payment .wc_payment_methods li label,
#payment .wc_payment_methods li label {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #2c2c2c !important;
    flex: 1;
    order: 1 !important;
}
.woocommerce-checkout-payment .wc_payment_methods li input[type="radio"],
#payment .wc_payment_methods li input[type="radio"] {
    accent-color: #8D7865;
    margin-right: 0 !important;
    margin-left: 10px !important;
    order: 2 !important;
}
.woocommerce-checkout-payment .wc_payment_methods li .payment_box,
#payment .wc_payment_methods li .payment_box {
    width: 100% !important;
    order: 3 !important;
}
.woocommerce-checkout-payment .payment_box,
#payment .payment_box {
    background: #faf9f8 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    margin: 10px 0 0 !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #666 !important;
    line-height: 1.6 !important;
}
.woocommerce-checkout-payment .payment_box::before,
#payment .payment_box::before {
    display: none !important;
}
.woocommerce-checkout-payment .form-row.place-order,
#payment .form-row.place-order {
    padding: 0 !important;
    margin: 0 !important;
}
.woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper {
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    color: #666 !important;
    margin-bottom: 16px !important;
}
.woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper a {
    color: #8D7865 !important;
}
.woocommerce-checkout-payment .woocommerce-privacy-policy-text p {
    font-family: "Montserrat", sans-serif !important;
    font-size: 12px !important;
    color: #888 !important;
    line-height: 1.6;
}
.woocommerce-checkout-payment .woocommerce-privacy-policy-text a {
    color: #8D7865 !important;
}


/* ============================================
   CHECKOUT FIELDS - Optional/Required Labels
   ============================================ */
/* Style the optional label text */
.wc-block-components-text-input label .optional,
.wc-block-checkout .wc-block-components-text-input label .optional,
.woocommerce-checkout .form-row .optional {
    font-family: "Montserrat", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #999;
    font-style: italic;
}

/* Checkout form fields */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select-control select {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    border: 1.5px solid #e0dcd8 !important;
    border-radius: 8px !important;
    color: #2c2c2c !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-text-input textarea:focus {
    border-color: #8D7865 !important;
    box-shadow: none !important;
}
.wc-block-components-text-input label {
    font-family: "Montserrat", sans-serif !important;
    font-size: 13px !important;
    color: #666 !important;
}

/* Required asterisk */
.wc-block-components-text-input label .required,
.woocommerce-checkout .form-row .required {
    color: #c62828 !important;
}

/* Checkout headings */
.wc-block-checkout__form .wc-block-components-checkout-step__heading,
.wc-block-checkout .wc-block-components-title {
    font-family: "Montserrat", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}


/* WP Element Button - Secondary style */
:root :where(.wp-element-button, .wp-block-button__link) {
    background: #ffffff !important;
    color: #8D7865 !important;
    border: 1.5px solid #8D7865 !important;
    border-radius: 8px !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}
:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    background: #8D7865 !important;
    color: #ffffff !important;
    border-color: #8D7865 !important;
}


/* Size Guide Link */
.nw-size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #8D7865;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #e0dcd8;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.nw-size-guide-link:hover {
    background: #faf9f8;
    border-color: #8D7865;
    color: #8D7865;
    opacity: 1;
}
.nw-size-guide-link svg {
    color: #8D7865;
}
