/*
    Theme Name:   Savoy Child
    Theme URI:    http://themeforest.net/item/savoy-minimalist-ajax-woocommerce-theme/12537825
    Description:  Savoy child theme — Korean Beauty Cosmetics Store
    Author:       NordicMade
    Author URI:   http://www.nordicmade.com
    Template:     savoy
    Version:      2.1
*/


/* ═══════════════════════════════════════════════════════════════════════════
   K-BEAUTY DESIGN SYSTEM
   Color Palette: Soft pinks, lavender, mint — clean & feminine
   Typography: Playfair Display (serif headings) + Inter (sans body)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* ── Brand Colors ── */
    --kb-pink:           #f4a6c1;
    --kb-pink-light:     #fce4ec;
    --kb-pink-dark:      #e91e7b;
    --kb-lavender:       #c5b3e6;
    --kb-lavender-light: #ede7f6;
    --kb-mint:           #a8d5ba;
    --kb-mint-light:     #e8f5e9;
    --kb-rose:           #f8bbd0;
    --kb-cream:          #fef9f4;
    --kb-warm-white:     #fffaf7;

    /* ── Neutrals ── */
    --kb-black:          #1a1a2e;
    --kb-dark:           #2d2d3f;
    --kb-gray:           #6b6b7b;
    --kb-gray-light:     #a0a0b0;
    --kb-gray-lighter:   #e8e8ed;
    --kb-white:          #ffffff;

    /* ── Typography ── */
    --kb-font-serif:     'Playfair Display', Georgia, serif;
    --kb-font-sans:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* ── Spacing ── */
    --kb-container:      1280px;
    --kb-radius:         8px;
    --kb-radius-lg:      16px;

    /* ── Shadows ── */
    --kb-shadow-sm:      0 1px 3px rgba(0,0,0,0.06);
    --kb-shadow:         0 2px 8px rgba(0,0,0,0.08);
    --kb-shadow-lg:      0 8px 30px rgba(0,0,0,0.1);

    /* ── Override Savoy Theme Variables ── */
    --nm--color-font-highlight: #e91e7b !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */

body {
    font-family: var(--kb-font-sans) !important;
    color: var(--kb-dark);
    background-color: var(--kb-warm-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--kb-font-serif) !important;
    color: var(--kb-black);
    font-weight: 600;
}

a {
    color: var(--kb-dark);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--kb-pink-dark);
}

/* Override ALL Savoy accent/highlight colors to our pink */
.nm-highlight-text,
.nm-shop-categories a.active,
.nm-shop-categories a:hover,
.nm-shop-filter-btn:hover,
.nm-shop-filter-btn.active,
.nm-shop-browse-wrap a:hover,
.nm-shop-browse-wrap a.active,
.nm-shop-menu a:hover,
.nm-shop-menu a.active,
.nm-infload-link:hover,
.nm-pagination a:hover {
    color: var(--kb-pink-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   TOP BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.kbeauty-top-bar {
    background: linear-gradient(135deg, var(--kb-black) 0%, var(--kb-dark) 100%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    font-family: var(--kb-font-sans);
    letter-spacing: 0.3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 999;
}

/* Hide top bar when mobile menu is open */
.mobile-menu-open .kbeauty-top-bar {
    display: none !important;
}

.kbeauty-top-bar-inner {
    max-width: var(--kb-container);
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.kbeauty-top-bar-left,
.kbeauty-top-bar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.kbeauty-top-bar-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.kbeauty-top-bar-promo {
    font-weight: 500;
    color: var(--kb-pink);
    letter-spacing: 0.5px;
}

.kbeauty-top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.kbeauty-top-bar-item svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.kbeauty-top-bar-divider {
    opacity: 0.3;
    margin: 0 4px;
}

@media (max-width: 768px) {
    .kbeauty-top-bar-left,
    .kbeauty-top-bar-right {
        display: none;
    }
    .kbeauty-top-bar-center {
        position: static;
        transform: none;
        text-align: center;
        width: 100%;
    }
    .kbeauty-top-bar-inner {
        justify-content: center;
        padding: 6px 15px;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   HEADER OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */

/* Top bar height offset for fixed header */
.kbeauty-top-bar ~ #nm-header-placeholder {
    padding-top: 36px !important;
}

#nm-header {
    background: var(--kb-white) !important;
    border-bottom: 1px solid var(--kb-gray-lighter) !important;
    box-shadow: var(--kb-shadow-sm) !important;
    margin-top: 36px !important;
}

/* When scrolled and header becomes sticky */
#nm-header.header-on-scroll,
#nm-header.fixed,
#nm-header.stuck {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .kbeauty-top-bar ~ #nm-header-placeholder {
        padding-top: 32px !important;
    }
    #nm-header {
        margin-top: 32px !important;
    }
}

/* Hide the default logo image */
#nm-header .nm-header-logo img {
    display: none !important;
}

/* Text logo */
#nm-header .nm-header-logo a {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.kbeauty-logo-text {
    font-family: var(--kb-font-serif) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    color: var(--kb-black) !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

@media (max-width: 768px) {
    .kbeauty-logo-text {
        font-size: 18px !important;
        letter-spacing: 2px !important;
    }
}

/* Main navigation styling */
#nm-header .nm-menu a,
#nm-header .nm-main-menu a,
#nm-header .nm-right-menu a {
    font-family: var(--kb-font-sans) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    color: var(--kb-dark) !important;
    transition: color 0.2s ease !important;
}

#nm-header .nm-menu a:hover,
#nm-header .nm-main-menu a:hover,
#nm-header .nm-right-menu a:hover {
    color: var(--kb-pink-dark) !important;
}

/* Header icons — make them match */
#nm-header i,
#nm-header .nm-font {
    color: var(--kb-dark) !important;
    transition: color 0.2s ease !important;
}

#nm-header a:hover i,
#nm-header a:hover .nm-font {
    color: var(--kb-pink-dark) !important;
}

/* Cart count badge */
#nm-header .nm-menu-cart-count {
    background-color: var(--kb-pink-dark) !important;
    color: var(--kb-white) !important;
    font-family: var(--kb-font-sans) !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    line-height: 16px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: -4px !important;
    right: -6px !important;
}

/* Search bar styling */
#nm-header .nm-shop-search-input,
.nm-shop-search input[type="search"] {
    border-radius: 25px !important;
    border: 1px solid var(--kb-gray-lighter) !important;
    background: var(--kb-cream) !important;
    font-family: var(--kb-font-sans) !important;
}

.nm-shop-search input[type="search"]:focus {
    border-color: var(--kb-pink) !important;
    box-shadow: 0 0 0 3px rgba(244, 166, 193, 0.15) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

.kbeauty-footer {
    font-family: var(--kb-font-sans);
    margin-top: 60px;
}

/* ── Footer Main ── */

.kbeauty-footer-main {
    background: var(--kb-black);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 40px;
}

.kbeauty-footer-inner {
    max-width: var(--kb-container);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
}

.kbeauty-footer-heading {
    font-family: var(--kb-font-serif) !important;
    color: var(--kb-white) !important;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.kbeauty-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--kb-pink);
}

.kbeauty-footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.6);
}

/* Social icons */
.kbeauty-footer-social {
    display: flex;
    gap: 10px;
}

.kbeauty-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease;
}

.kbeauty-footer-social a:hover {
    background: var(--kb-pink-dark);
    color: var(--kb-white) !important;
    transform: translateY(-2px);
}

/* Footer links */
.kbeauty-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kbeauty-footer-links li {
    margin-bottom: 10px;
}

.kbeauty-footer-links a {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.kbeauty-footer-links a:hover {
    color: var(--kb-pink) !important;
    padding-left: 4px;
}

/* Contact list */
.kbeauty-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kbeauty-footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.6;
}

.kbeauty-footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

.kbeauty-footer-contact-list a {
    color: rgba(255, 255, 255, 0.65) !important;
    text-decoration: none;
}

.kbeauty-footer-contact-list a:hover {
    color: var(--kb-pink) !important;
}

/* ── Footer Bottom Bar ── */

.kbeauty-footer-bottom {
    background: #111122;
    padding: 20px 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.kbeauty-footer-bottom .kbeauty-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    grid-template-columns: none;
}

.kbeauty-footer-bottom-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kbeauty-footer-abn {
    opacity: 0.7;
}

.kbeauty-footer-bottom-right {
    display: flex;
    align-items: center;
}

.kbeauty-payment-icons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kbeauty-payment-label {
    margin-right: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.6;
}

/* Payment badge pills */
.kb-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    padding: 0 8px;
    border-radius: 4px;
    font-family: var(--kb-font-sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* Mastercard double-circle logo */
.kb-pay-mc {
    background: #252525;
    gap: 0;
    padding: 0 6px;
    position: relative;
    overflow: hidden;
    min-width: 42px;
}
.kb-pay-mc i {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-style: normal;
}
.kb-pay-mc i:last-child {
    margin-left: -5px;
    opacity: 0.85;
}

/* ── Footer Responsive ── */

@media (max-width: 992px) {
    .kbeauty-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
    .kbeauty-footer-bottom .kbeauty-footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .kbeauty-footer-bottom-left {
        flex-direction: column;
        gap: 4px;
    }
    .kbeauty-payment-icons {
        flex-wrap: wrap;
        justify-content: center;
    }
    .kbeauty-payment-label {
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 4px;
    }
}

@media (max-width: 600px) {
    .kbeauty-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
    }
    .kbeauty-footer-about,
    .kbeauty-footer-contact {
        grid-column: 1 / -1;
    }
    .kbeauty-footer-main {
        padding: 40px 0 30px;
    }
    .kbeauty-footer-bottom .kbeauty-footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .kbeauty-footer-bottom-left {
        flex-direction: column;
        gap: 4px;
    }
    .kbeauty-footer-bottom-right {
        width: 100%;
    }
    .kbeauty-payment-icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }
    .kbeauty-payment-label {
        width: 100%;
        text-align: center;
        margin-bottom: 4px;
        margin-right: 0;
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE — PRODUCT CARDS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Product card container */
.products .product,
ul.products li.product {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--kb-radius-lg);
    padding-bottom: 15px;
}

.products .product:hover,
ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--kb-shadow-lg);
}

/* Product image container */
.products .product .nm-shop-loop-thumbnail,
.products .product img {
    border-radius: var(--kb-radius) !important;
    overflow: hidden;
}

/* Product title */
.products .product .woocommerce-loop-product__title,
.products .product .nm-shop-loop-title-link {
    font-family: var(--kb-font-sans) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--kb-dark) !important;
    line-height: 1.5 !important;
}

/* Product price */
.products .product .price {
    font-family: var(--kb-font-sans) !important;
    font-weight: 600 !important;
}

.products .product .price ins,
.products .product .price .woocommerce-Price-amount {
    color: var(--kb-pink-dark) !important;
}

.products .product .price del {
    opacity: 0.45;
    color: var(--kb-gray-light) !important;
}

/* Sale badge — compact pill */
.products .product .onsale,
.nm-shop-loop-badge,
span.onsale {
    background: var(--kb-pink-dark) !important;
    color: var(--kb-white) !important;
    font-family: var(--kb-font-sans) !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    line-height: 1.4 !important;
    min-width: auto !important;
    min-height: auto !important;
}

/* Wishlist icon on product cards */
.products .product .nm-shop-loop-wishlist .nm-wishlist-button {
    color: var(--kb-gray-light) !important;
    transition: color 0.2s ease !important;
}

.products .product .nm-shop-loop-wishlist .nm-wishlist-button:hover,
.products .product .nm-shop-loop-wishlist .nm-wishlist-button.active {
    color: var(--kb-pink-dark) !important;
}

/* Add to cart button */
.products .product .button,
.products .product .add_to_cart_button {
    font-family: var(--kb-font-sans) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   WOOCOMMERCE — SINGLE PRODUCT
   ═══════════════════════════════════════════════════════════════════════════ */

.single-product .product_title {
    font-family: var(--kb-font-serif) !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    color: var(--kb-black) !important;
}

.single-product > .product > .summary .price {
    font-family: var(--kb-font-sans) !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    color: var(--kb-pink-dark) !important;
}

/* Related products — keep prices same size as shop grid */
.single-product .related.products .price,
.single-product .upsells .price {
    font-size: 14px !important;
}

/* Quantity + Add to Cart — side by side layout */
.single-product .summary form.cart {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.single-product .summary form.cart .nm-quantity-wrap {
    width: auto !important;
    border: none !important;
    border-top: none !important;
    border-right: none !important;
    border-left: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

.single-product .summary form.cart .nm-quantity-wrap .quantity {
    display: flex !important;
    align-items: center !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    height: 48px !important;
    background: transparent !important;
}

.single-product .summary form.cart .quantity .nm-qty-minus,
.single-product .summary form.cart .quantity .nm-qty-plus {
    width: 34px !important;
    height: 48px !important;
    line-height: 48px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 11px !important;
    color: var(--kb-dark) !important;
    background: transparent !important;
    border: none !important;
    transition: color 0.15s !important;
    vertical-align: top !important;
}

.single-product .summary form.cart .quantity .nm-qty-minus:hover,
.single-product .summary form.cart .quantity .nm-qty-plus:hover {
    color: var(--kb-pink-dark) !important;
}

.single-product .summary form.cart .quantity .qty {
    width: 32px !important;
    height: 48px !important;
    line-height: 48px !important;
    text-align: center !important;
    border: none !important;
    font-family: var(--kb-font-sans) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--kb-black) !important;
    background: transparent !important;
    -moz-appearance: textfield !important;
    padding: 0 !important;
    margin: 0 !important;
    vertical-align: top !important;
}

.single-product .summary form.cart .quantity .qty::-webkit-outer-spin-button,
.single-product .summary form.cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.single-product .summary .single_add_to_cart_button,
.single-product .summary button.button.alt {
    background: var(--kb-black) !important;
    color: var(--kb-white) !important;
    font-family: var(--kb-font-sans) !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: var(--kb-radius) !important;
    height: 48px !important;
    padding: 0 36px !important;
    flex: 1 !important;
    min-width: 0 !important;
    transition: all 0.3s ease !important;
}

.single-product .summary .single_add_to_cart_button:hover,
.single-product .summary button.button.alt:hover {
    background: var(--kb-pink-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 30, 123, 0.3) !important;
}

@media (max-width: 480px) {
    .single-product .summary .single_add_to_cart_button,
    .single-product .summary button.button.alt {
        padding: 0 20px !important;
        font-size: 12px !important;
    }
}

/* Product tabs */
.woocommerce-tabs .tabs li a,
.nm-product-tabs .tab-title {
    font-family: var(--kb-font-sans) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

.woocommerce-tabs .tabs li.active a,
.nm-product-tabs .tab-title.active {
    color: var(--kb-pink-dark) !important;
    border-color: var(--kb-pink-dark) !important;
}

/* ── Single Product — Trust Block ── */

.kbeauty-sp-trustblock {
    margin-top: 20px;
}

/* Perks row */
.kbeauty-sp-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.kbeauty-sp-perk {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--kb-font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--kb-dark);
    background: var(--kb-cream);
    padding: 8px 12px;
    border-radius: 20px;
}

.kbeauty-sp-perk-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Secure checkout section */
.kbeauty-sp-secure {
    background: var(--kb-cream);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
}

.kbeauty-sp-secure-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--kb-font-sans);
    font-size: 12px;
    color: var(--kb-dark);
    margin-bottom: 12px;
}

.kbeauty-sp-secure-header svg {
    color: #2e7d32;
    flex-shrink: 0;
}

/* Payment grid */
.kbeauty-sp-pay-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.kbeauty-sp-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 4px;
    font-family: var(--kb-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid #e0ddd8;
    background: var(--kb-white);
}

.kbeauty-sp-pay-visa {
    color: #1a1f71;
    font-style: italic;
}

.kbeauty-sp-pay-visa strong {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.kbeauty-sp-pay-mc {
    color: #333;
    font-size: 9px;
    gap: 4px;
}

.kbeauty-sp-pay-mc .mc-circles {
    display: inline-flex;
    width: 22px;
    height: 14px;
    position: relative;
}

.kbeauty-sp-pay-mc .mc-circles::before,
.kbeauty-sp-pay-mc .mc-circles::after {
    content: '';
    position: absolute;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.kbeauty-sp-pay-mc .mc-circles::before {
    left: 0;
    background: #eb001b;
}

.kbeauty-sp-pay-mc .mc-circles::after {
    left: 8px;
    background: #f79e1b;
    opacity: 0.85;
}

.kbeauty-sp-pay-amex {
    background: #006fcf;
    color: #fff;
    border-color: #006fcf;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.kbeauty-sp-pay-paypal {
    color: #003087;
}

.kbeauty-sp-pay-paypal em {
    font-style: italic;
    color: #003087;
    font-weight: 700;
}

.kbeauty-sp-pay-paypal strong {
    color: #009cde;
    font-weight: 700;
}

.kbeauty-sp-pay-afterpay {
    color: #b2fce4;
    background: #000;
    border-color: #000;
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 0.3px;
}

.kbeauty-sp-pay-zip {
    color: #aa8fff;
    background: #1a0826;
    border-color: #1a0826;
}

.kbeauty-sp-pay-zip strong {
    font-size: 12px;
    font-weight: 800;
}

.kbeauty-sp-pay-klarna {
    background: #ffb3c7;
    border-color: #ffb3c7;
    color: #0d0d0d;
    font-weight: 700;
    font-size: 10px;
}

/* Social proof */
.kbeauty-sp-social-proof {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--kb-font-sans);
    font-size: 12px;
    color: var(--kb-gray);
    padding: 4px 0;
}

.kbeauty-sp-stars {
    color: #f5a623;
    font-size: 14px;
    letter-spacing: 1px;
}

@media (max-width: 480px) {
    .kbeauty-sp-perks {
        gap: 6px;
    }

    .kbeauty-sp-perk {
        font-size: 11px;
        padding: 6px 10px;
    }

    .kbeauty-sp-perk-icon {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

/* ── Single Product — Promo Banner ── */

.kbeauty-sp-banner {
    margin: 40px auto;
    max-width: 700px;
}

.kbeauty-sp-banner-inner {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    border-radius: var(--kb-radius-lg);
    padding: 30px 32px;
    overflow: hidden;
}

/* Decorative blurred blobs */
.kbeauty-sp-banner-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    pointer-events: none;
}

.kbeauty-sp-deco-1 {
    width: 200px;
    height: 200px;
    background: var(--kb-pink);
    top: -60px;
    right: -30px;
}

.kbeauty-sp-deco-2 {
    width: 160px;
    height: 160px;
    background: var(--kb-lavender);
    bottom: -50px;
    left: 20%;
}

.kbeauty-sp-deco-3 {
    width: 120px;
    height: 120px;
    background: var(--kb-mint);
    top: 50%;
    right: 25%;
    transform: translateY(-50%);
}

.kbeauty-sp-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.kbeauty-sp-banner-left {
    flex: 1;
    min-width: 0;
}

.kbeauty-sp-banner-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: var(--kb-pink);
    font-family: var(--kb-font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.kbeauty-sp-banner-left h3 {
    font-family: var(--kb-font-serif) !important;
    font-size: 26px;
    font-weight: 700;
    color: #fff !important;
    margin: 0 0 8px;
    line-height: 1.25;
}

.kbeauty-sp-banner-left h3 em {
    font-style: italic;
    color: var(--kb-pink);
}

.kbeauty-sp-banner-left p {
    font-family: var(--kb-font-sans);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px;
    line-height: 1.6;
    max-width: 380px;
}

.kbeauty-sp-banner-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--kb-pink-dark), #c2185b);
    color: #fff !important;
    font-family: var(--kb-font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 11px 26px;
    border-radius: var(--kb-radius);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.kbeauty-sp-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 123, 0.4);
    color: #fff !important;
}

/* Discount badge */
.kbeauty-sp-banner-right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.kbeauty-sp-discount-badge {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--kb-pink-dark), #c2185b);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(233, 30, 123, 0.2), 0 0 30px rgba(233, 30, 123, 0.3);
}

.kbeauty-sp-discount-num {
    font-family: var(--kb-font-sans);
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.kbeauty-sp-discount-label {
    font-family: var(--kb-font-sans);
    font-size: 11px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.kbeauty-sp-discount-sub {
    font-family: var(--kb-font-sans);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .kbeauty-sp-banner {
        margin: 30px 16px;
        max-width: none;
    }

    .kbeauty-sp-banner-inner {
        padding: 24px 20px;
        border-radius: var(--kb-radius);
    }

    .kbeauty-sp-banner-content {
        flex-direction: row;
        text-align: left;
        gap: 16px;
    }

    .kbeauty-sp-banner-left h3 {
        font-size: 18px;
    }

    .kbeauty-sp-banner-left p {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .kbeauty-sp-banner-btn {
        font-size: 11px;
        padding: 9px 18px;
    }

    .kbeauty-sp-discount-badge {
        width: 64px;
        height: 64px;
    }

    .kbeauty-sp-discount-num {
        font-size: 20px;
    }

    .kbeauty-sp-discount-label {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .kbeauty-sp-discount-sub {
        font-size: 10px;
    }
}

/* ── Single Product — Related Products Section ── */

.single-product .related.products,
.single-product .upsells {
    background: var(--kb-cream);
    padding: 40px 30px 50px;
    border-radius: var(--kb-radius-lg);
    margin-top: 10px;
}

.single-product .related.products > h2,
.single-product .upsells > h2,
.kbeauty-section-title {
    font-family: var(--kb-font-serif) !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    color: var(--kb-black) !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    position: relative;
    padding-bottom: 14px;
}

.single-product .related.products > h2::after,
.single-product .upsells > h2::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--kb-pink-dark);
    border-radius: 2px;
    margin: 10px auto 0;
}

@media (max-width: 768px) {
    .single-product .related.products,
    .single-product .upsells {
        padding: 28px 16px 36px;
        border-radius: var(--kb-radius);
    }
}


/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS — GLOBAL
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button {
    font-family: var(--kb-font-sans) !important;
    border-radius: var(--kb-radius) !important;
    transition: all 0.3s ease !important;
}

.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
    background-color: var(--kb-black) !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
    background-color: var(--kb-pink-dark) !important;
}

/* Load More button */
.nm-infload-link a,
.nm-loader-button a,
a.nm-infload-link {
    font-family: var(--kb-font-sans) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: var(--kb-dark) !important;
    border: 2px solid var(--kb-dark) !important;
    border-radius: var(--kb-radius) !important;
    padding: 12px 40px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
}

.nm-infload-link a:hover,
.nm-loader-button a:hover,
a.nm-infload-link:hover {
    background: var(--kb-black) !important;
    color: var(--kb-white) !important;
    border-color: var(--kb-black) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SHOP / CATEGORY PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

/* Category heading */
.woocommerce-products-header__title,
.nm-shop-heading {
    font-family: var(--kb-font-serif) !important;
    font-weight: 600 !important;
    color: var(--kb-black) !important;
}

/* Breadcrumbs / Category tabs */
.woocommerce-breadcrumb,
.nm-breadcrumb,
.nm-shop-categories {
    font-family: var(--kb-font-sans) !important;
    font-size: 13px !important;
}

.woocommerce-breadcrumb a,
.nm-breadcrumb a,
.nm-shop-categories a {
    color: var(--kb-gray) !important;
    font-weight: 400 !important;
    transition: color 0.2s ease !important;
}

.woocommerce-breadcrumb a:hover,
.nm-breadcrumb a:hover,
.nm-shop-categories a:hover {
    color: var(--kb-pink-dark) !important;
}

.nm-shop-categories a.active {
    color: var(--kb-pink-dark) !important;
    font-weight: 600 !important;
}

/* Filter button */
.nm-shop-filter-btn,
.nm-shop-sidebar-btn {
    font-family: var(--kb-font-sans) !important;
    color: var(--kb-gray) !important;
    transition: color 0.2s ease !important;
}

.nm-shop-filter-btn:hover,
.nm-shop-sidebar-btn:hover {
    color: var(--kb-pink-dark) !important;
}

/* Results count */
.woocommerce-result-count,
.nm-shop-results-count {
    font-family: var(--kb-font-sans) !important;
    font-size: 12px !important;
    color: var(--kb-gray-light) !important;
}

/* Filter/sorting */
.woocommerce-ordering select,
.nm-shop-filter select {
    border-radius: var(--kb-radius) !important;
    border: 1px solid var(--kb-gray-lighter) !important;
    font-family: var(--kb-font-sans) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   CART & CHECKOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.woocommerce-cart .cart-collaterals .cart_totals {
    border-radius: var(--kb-radius-lg) !important;
    background: var(--kb-cream) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border-radius: var(--kb-radius) !important;
    border: 1px solid var(--kb-gray-lighter) !important;
    font-family: var(--kb-font-sans) !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--kb-pink) !important;
    box-shadow: 0 0 0 3px rgba(244, 166, 193, 0.15) !important;
}

/* Checkout button */
.wc-proceed-to-checkout .checkout-button,
#place_order {
    background: var(--kb-black) !important;
    border-radius: var(--kb-radius) !important;
    font-family: var(--kb-font-sans) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
#place_order:hover {
    background: var(--kb-pink-dark) !important;
}

/* Cart slide panel */
.nm-cart-panel {
    font-family: var(--kb-font-sans) !important;
}

.nm-cart-panel .nm-cart-panel-title {
    font-family: var(--kb-font-serif) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

.nm-cart-panel .checkout-button,
.nm-cart-panel .button {
    background: var(--kb-black) !important;
    border-radius: var(--kb-radius) !important;
}

.nm-cart-panel .checkout-button:hover,
.nm-cart-panel .button:hover {
    background: var(--kb-pink-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE MENU OVERRIDES
   ═══════════════════════════════════════════════════════════════════════════ */

.nm-mobile-menu {
    font-family: var(--kb-font-sans) !important;
}

.nm-mobile-menu a {
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   WISHLIST BUTTON
   ═══════════════════════════════════════════════════════════════════════════ */

.nm-wishlist-button:hover,
.nm-wishlist-button.active {
    color: var(--kb-pink-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   HERO / BANNER SLIDER
   ═══════════════════════════════════════════════════════════════════════════ */

.nm-hero-slider .nm-banner,
.nm-banner {
    border-radius: var(--kb-radius-lg);
    overflow: hidden;
}

/* Slider dots */
.nm-hero-slider .flickity-page-dots .dot {
    background: var(--kb-gray-lighter) !important;
}

.nm-hero-slider .flickity-page-dots .dot.is-selected {
    background: var(--kb-pink-dark) !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SCROLLBAR (WEBKIT)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE SEARCH BAR
   ═══════════════════════════════════════════════════════════════════════════ */

.kbeauty-mobile-search {
    display: none;
}

@media (max-width: 768px) {
    /* Hide the header search icon on mobile */
    #nm-header .nm-menu-search {
        display: none !important;
    }

    /* Show the mobile search bar */
    .kbeauty-mobile-search {
        display: block;
        background: var(--kb-white);
        padding: 0 12px 8px;
        position: relative;
        z-index: 999;
        border-bottom: 1px solid #f0ebe6;
    }

    /* Hide search bar when mobile menu is open */
    .mobile-menu-open .kbeauty-mobile-search {
        display: none !important;
    }

    .kbeauty-mobile-search form {
        display: flex;
        align-items: center;
        background: #f5f0eb;
        border: none;
        border-radius: 8px;
        padding: 0 12px;
        height: 34px;
        transition: background 0.2s, box-shadow 0.2s;
    }

    .kbeauty-mobile-search form:focus-within {
        background: #fef9f4;
        box-shadow: 0 0 0 1.5px var(--kb-pink);
    }

    .kbeauty-mobile-search .kbeauty-mobile-search-icon {
        flex-shrink: 0;
        color: #9a928a;
        margin-right: 8px;
        display: flex;
        align-items: center;
    }

    .kbeauty-mobile-search .kbeauty-mobile-search-icon svg {
        width: 15px;
        height: 15px;
    }

    .kbeauty-mobile-search input[type="search"] {
        flex: 1;
        border: none !important;
        background: transparent !important;
        outline: none !important;
        box-shadow: none !important;
        font-family: var(--kb-font-sans) !important;
        font-size: 13px !important;
        color: var(--kb-black) !important;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        line-height: 34px !important;
        -webkit-appearance: none;
    }

    .kbeauty-mobile-search input[type="search"]::placeholder {
        color: #9a928a !important;
        font-size: 13px;
    }

    .kbeauty-mobile-search input[type="search"]::-webkit-search-cancel-button {
        -webkit-appearance: none;
    }

    /* ── Mobile banner slider improvements ── */
    .nm-hero-slider .nm-banner,
    .nm-banner-slider .nm-banner,
    .nm-banner {
        border-radius: 10px !important;
    }

    /* Prevent banner title truncation on mobile */
    .nm-banner-text-inner h1,
    .nm-banner-text-inner .nm-banner-title {
        font-size: 22px !important;
        line-height: 1.25 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }

    .nm-banner .nm-banner-text-inner {
        padding: 14px 16px !important;
    }

    .nm-banner-text-inner p,
    .nm-banner-text-inner .nm-banner-subtitle {
        font-size: 13px !important;
    }

    .nm-banner-link,
    .nm-banner .button {
        font-size: 12px !important;
        padding: 8px 20px !important;
        border-radius: 8px !important;
    }

    /* Make banner images fill properly on mobile */
    .nm-banner-img img {
        object-fit: cover !important;
        min-height: 180px !important;
    }

    /* More prominent slider dots on mobile */
    .nm-hero-slider .flickity-page-dots {
        bottom: 10px !important;
    }

    .nm-hero-slider .flickity-page-dots .dot {
        width: 7px !important;
        height: 7px !important;
        margin: 0 4px !important;
    }
}


::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--kb-cream);
}

::-webkit-scrollbar-thumb {
    background: var(--kb-gray-lighter);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--kb-pink);
}
