﻿﻿﻿/*
Theme Name: Raicraft Child
Theme URI: https://elementor.com/
Description: A Raicraft storefront child theme for Hello Elementor.
Author: Raicraft
Author URI: https://raicraft.com/
Template: hello-elementor
Version: 1.0.7
Text Domain: hello-elementor-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* --- Custom Variables & Styling Tokens --- */
:root {
    --brand-pink: #FF1A58;
    --brand-pink-hover: #D60C41;
    --whatsapp-green: #25D366;
    --whatsapp-green-hover: #0b8043;
    --text-main: #222222;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-700: #374151;
    --gray-800: #1F2937;
    
    --font-sans: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-serif: 'Arsenal', Georgia, Cambria, serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    
    --border-radius-pill: 9999px;
    --border-radius-card: 12px;
}

/* --- Related product buttons and cart page refinement 2026-07-06 --- */
body.single-product section.related.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-product section.related.products > h2,
body.single-product section.related.products .products {
    margin-top: 0 !important;
}

body.single-product section.related.products ul.products {
    align-items: stretch !important;
}

body.single-product section.related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

body.single-product section.related.products ul.products li.product .price {
    margin-top: auto !important;
}

body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product a.add_to_cart_button,
body.single-product section.related.products ul.products li.product a.product_type_simple {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    margin-top: 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--brand-pink) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 11px 14px !important;
}

body.single-product section.related.products ul.products li.product .button::before,
body.single-product section.related.products ul.products li.product .button::after {
    display: none !important;
}

.raicraft-simple-commerce {
    width: min(760px, calc(100% - 28px)) !important;
}

.raicraft-cart-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 32px;
}

.raicraft-cart-icon {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f6;
}

.raicraft-cart-icon::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 14px;
    width: 16px;
    height: 14px;
    border: 2px solid var(--brand-pink);
    border-radius: 3px;
}

.raicraft-cart-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 10px;
    width: 8px;
    height: 7px;
    border: 2px solid var(--brand-pink);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.raicraft-cart-hero h1 {
    margin: 0;
    color: #0f172a;
    font-family: var(--font-serif);
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.raicraft-cart-hero p {
    margin: 5px 0 0;
    color: #8b95a5;
    font-size: 13px;
    line-height: 1.35;
}

.raicraft-cart-panel {
    border: 1px solid #111827 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    padding: 24px !important;
}

.raicraft-cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 16px;
    color: #243142;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.raicraft-cart-panel-head a {
    color: #9aa3b2 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: none;
}

.raicraft-simple-cart-list {
    gap: 0 !important;
}

.raicraft-simple-cart-item {
    position: relative;
    grid-template-columns: 96px minmax(0, 1fr) minmax(126px, auto) !important;
    align-items: center !important;
    gap: 22px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f4 !important;
    border-radius: 0 !important;
    padding: 28px 0 !important;
}

.raicraft-simple-thumb {
    width: 96px !important;
    height: 96px !important;
    border: 1px solid #edf0f4;
    border-radius: 16px !important;
    background: #fafafa !important;
}

.raicraft-cart-brand {
    color: var(--brand-pink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.raicraft-simple-product-name {
    font-size: 14px !important;
    font-weight: 800 !important;
}

.raicraft-cart-size {
    display: inline-flex !important;
    width: fit-content;
    border: 1px solid #ffd2df;
    border-radius: 999px;
    background: #fff0f5;
    color: var(--brand-pink) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    padding: 4px 9px;
}

.raicraft-cart-actions {
    display: grid;
    justify-items: end;
    gap: 18px;
}

.raicraft-cart-actions .raicraft-simple-remove {
    color: #c8ced8 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1;
}

.raicraft-cart-line-price {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.raicraft-cart-line-price small {
    color: #9aa3b2;
    font-size: 11px;
    font-weight: 800;
}

.raicraft-cart-line-price strong {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.raicraft-cart-qty {
    display: grid;
    grid-template-columns: 44px 46px 44px;
    align-items: center;
    height: 34px;
    border: 1px solid #d9dee8;
    border-radius: 12px;
    overflow: hidden;
}

.raicraft-cart-qty a,
.raicraft-cart-qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.raicraft-cart-qty span {
    color: #263244;
}

.raicraft-simple-total {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 18px 0 14px !important;
    padding: 0 !important;
}

.raicraft-simple-primary {
    border-radius: 8px !important;
}

@media (max-width: 640px) {
    .raicraft-cart-hero {
        margin-bottom: 22px;
    }

    .raicraft-cart-panel {
        border-radius: 18px !important;
        padding: 18px !important;
    }

    .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 22px 0 !important;
    }

    .raicraft-simple-thumb {
        width: 82px !important;
        height: 82px !important;
    }

    .raicraft-cart-actions {
        grid-column: 1 / -1;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
    }

    .raicraft-cart-line-price {
        justify-items: end;
    }

    .raicraft-cart-qty {
        grid-template-columns: 36px 42px 36px;
        width: 114px;
    }
}

/* --- Raicraft live refinement pass 2026-07-05 --- */
body.single-product .raicraft-after-price-note {
    max-width: 470px;
    margin: 10px 0 18px !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

body.single-product .raicraft-after-cart-cards,
body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 14px !important;
    margin-bottom: 10px !important;
}

body.single-product .raicraft-after-cart-card {
    gap: 8px !important;
    align-items: center !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

body.single-product .raicraft-after-cart-card span:last-child {
    font-weight: 400 !important;
}

body.single-product .raicraft-card-icon {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    font-weight: 700 !important;
}

body.single-product .raicraft-product-detail-tabs,
body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 16px 14px !important;
}

body.single-product .raicraft-product-tab-labels {
    gap: 14px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
}

body.single-product .raicraft-product-tab-labels::-webkit-scrollbar {
    display: none;
}

body.single-product .raicraft-product-tab-labels label {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

body.single-product .raicraft-product-tab-panel ul {
    margin-top: 10px !important;
}

body.single-product .raicraft-product-tab-panel li {
    font-weight: 400 !important;
}

body.single-product .raicraft-panel-ingredients ul {
    gap: 5px !important;
}

body.single-product .raicraft-panel-ingredients li {
    padding: 6px 9px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

body.single-product .product_meta,
body.single-product .summary.entry-summary .product_meta,
body.single-product .raicraft-mobile-info-frame .product_meta {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 2px 0 0 !important;
    margin: 8px 0 0 !important;
}

body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
    display: inline !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-components-sidebar-layout,
.woocommerce-checkout .wc-block-components-main {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout .raicraft-checkout-visible-fields {
    display: grid !important;
    gap: 12px !important;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-state-input {
    margin: 0 0 12px !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox label,
.woocommerce-checkout .wc-block-components-country-input label,
.woocommerce-checkout .wc-block-components-state-input label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox input,
.woocommerce-checkout .wc-block-components-country-input input,
.woocommerce-checkout .wc-block-components-state-input input,
.woocommerce-checkout .wc-block-components-text-input textarea {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #dfe5ee !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    padding: 12px 14px !important;
}

.woocommerce-checkout .wc-block-components-text-input textarea,
.woocommerce-checkout [name$="address_1"] {
    min-height: 86px !important;
}

.woocommerce-checkout .raicraft-checkout-helper {
    display: block;
    margin-top: -6px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

.woocommerce-checkout .wc-block-components-address-form__email,
.woocommerce-checkout .wc-block-components-address-form__last_name,
.woocommerce-checkout .wc-block-components-address-form__company,
.woocommerce-checkout .wc-block-components-address-form__address_2,
.woocommerce-checkout .wc-block-components-address-form__city,
.woocommerce-checkout .wc-block-components-address-form__state,
.woocommerce-checkout .wc-block-components-address-form__postcode,
.woocommerce-checkout .wc-block-components-checkbox,
.woocommerce-checkout .wc-block-checkout__contact-fields,
.woocommerce-checkout .wc-block-checkout__shipping-fields,
.woocommerce-checkout .wc-block-checkout__add-note,
.woocommerce-checkout .wc-blocks-components-select__container:has(select[name="billing-country"]),
.woocommerce-checkout .wc-blocks-components-select__container:has(select[name="shipping-country"]),
.woocommerce-checkout .wc-blocks-components-select__container:has(select[name="billing-state"]),
.woocommerce-checkout .wc-blocks-components-select__container:has(select[name="shipping-state"]) {
    display: none !important;
}

.woocommerce-checkout .wc-block-components-address-form__first_name,
.woocommerce-checkout .wc-block-components-address-form__address_1,
.woocommerce-checkout .wc-block-components-address-form__phone {
    display: block !important;
}

.woocommerce-checkout .wc-block-components-address-form__first_name label,
.woocommerce-checkout .wc-block-components-address-form__address_1 label,
.woocommerce-checkout .wc-block-components-address-form__phone label {
    font-size: 0 !important;
}

.woocommerce-checkout .wc-block-components-address-form__first_name label::before {
    content: "FULL NAME *";
    font-size: 10px;
}

.woocommerce-checkout .wc-block-components-address-form__phone label::before {
    content: "PHONE NUMBER *";
    font-size: 10px;
}

.woocommerce-checkout .wc-block-components-address-form__address_1 label::before {
    content: "FULL DELIVERY ADDRESS *";
    font-size: 10px;
}

@media (max-width: 768px) {
    body.single-product .raicraft-mobile-info-frame {
        margin: 10px 0 14px !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards,
    body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs {
        margin-bottom: 10px !important;
    }

    body.single-product .raicraft-product-detail-tabs {
        overflow: hidden !important;
    }

    body.single-product .raicraft-product-tab-panel li {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    body.single-product .raicraft-panel-ingredients li {
        font-size: 11px !important;
    }
}

/* --- Related product buttons and cart page refinement 2026-07-06 final override --- */
body.single-product section.related.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-product section.related.products > h2,
body.single-product section.related.products .products {
    margin-top: 0 !important;
}

body.single-product section.related.products ul.products {
    align-items: stretch !important;
}

body.single-product section.related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

body.single-product section.related.products ul.products li.product .price {
    margin-top: auto !important;
}

body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product a.add_to_cart_button,
body.single-product section.related.products ul.products li.product a.product_type_simple {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    margin-top: 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--brand-pink) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 11px 14px !important;
}

body.single-product section.related.products ul.products li.product .button::before,
body.single-product section.related.products ul.products li.product .button::after {
    display: none !important;
}

.raicraft-simple-commerce {
    width: min(760px, calc(100% - 28px)) !important;
}

.raicraft-cart-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 32px;
}

.raicraft-cart-icon {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f6;
}

.raicraft-cart-icon::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 14px;
    width: 16px;
    height: 14px;
    border: 2px solid var(--brand-pink);
    border-radius: 3px;
}

.raicraft-cart-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 10px;
    width: 8px;
    height: 7px;
    border: 2px solid var(--brand-pink);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.raicraft-cart-hero h1 {
    margin: 0;
    color: #0f172a;
    font-family: var(--font-serif);
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.raicraft-cart-hero p {
    margin: 5px 0 0;
    color: #8b95a5;
    font-size: 13px;
    line-height: 1.35;
}

.raicraft-cart-panel {
    border: 1px solid #111827 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    padding: 24px !important;
}

.raicraft-cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 16px;
    color: #243142;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.raicraft-cart-panel-head a {
    color: #9aa3b2 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: none;
}

.raicraft-simple-cart-list {
    gap: 0 !important;
}

.raicraft-simple-cart-item {
    position: relative;
    grid-template-columns: 96px minmax(0, 1fr) minmax(126px, auto) !important;
    align-items: center !important;
    gap: 22px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f4 !important;
    border-radius: 0 !important;
    padding: 28px 0 !important;
}

.raicraft-simple-thumb {
    width: 96px !important;
    height: 96px !important;
    border: 1px solid #edf0f4;
    border-radius: 16px !important;
    background: #fafafa !important;
}

.raicraft-cart-brand {
    color: var(--brand-pink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.raicraft-simple-product-name {
    font-size: 14px !important;
    font-weight: 800 !important;
}

.raicraft-cart-size {
    display: inline-flex !important;
    width: fit-content;
    border: 1px solid #ffd2df;
    border-radius: 999px;
    background: #fff0f5;
    color: var(--brand-pink) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    padding: 4px 9px;
}

.raicraft-cart-actions {
    display: grid;
    justify-items: end;
    gap: 18px;
}

.raicraft-cart-actions .raicraft-simple-remove {
    color: #c8ced8 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1;
}

.raicraft-cart-line-price {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.raicraft-cart-line-price small {
    color: #9aa3b2;
    font-size: 11px;
    font-weight: 800;
}

.raicraft-cart-line-price strong {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.raicraft-cart-qty {
    display: grid;
    grid-template-columns: 44px 46px 44px;
    align-items: center;
    height: 34px;
    border: 1px solid #d9dee8;
    border-radius: 12px;
    overflow: hidden;
}

.raicraft-cart-qty a,
.raicraft-cart-qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.raicraft-cart-qty span {
    color: #263244;
}

.raicraft-simple-total {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 18px 0 14px !important;
    padding: 0 !important;
}

.raicraft-simple-primary {
    border-radius: 8px !important;
}

@media (max-width: 640px) {
    .raicraft-cart-hero {
        margin-bottom: 22px;
    }

    .raicraft-cart-panel {
        border-radius: 18px !important;
        padding: 18px !important;
    }

    .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 22px 0 !important;
    }

    .raicraft-simple-thumb {
        width: 82px !important;
        height: 82px !important;
    }

    .raicraft-cart-actions {
        grid-column: 1 / -1;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
    }

    .raicraft-cart-line-price {
        justify-items: end;
    }

    .raicraft-cart-qty {
        grid-template-columns: 36px 42px 36px;
        width: 114px;
    }
}

/* --- Raicraft simple cart and checkout replacement 2026-07-05 --- */
.raicraft-simple-commerce {
    width: min(720px, calc(100% - 28px));
    margin: 28px auto 48px;
    color: #0f172a;
}

.raicraft-simple-panel {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 24px;
}

.raicraft-simple-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.raicraft-simple-head h1 {
    margin: 0;
    color: #0f172a;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.raicraft-simple-head a,
.raicraft-simple-remove {
    color: var(--brand-pink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.raicraft-simple-empty,
.raicraft-simple-error {
    margin: 0;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
}

.raicraft-simple-empty {
    background: #f8fafc;
    color: #475569;
}

.raicraft-simple-error {
    margin-bottom: 16px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #be123c;
}

.raicraft-simple-cart-list {
    display: grid;
    gap: 12px;
}

.raicraft-simple-cart-item {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid #edf0f4;
    border-radius: 8px;
    padding: 10px;
}

.raicraft-simple-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    border-radius: 8px;
    background: #f8fafc;
    overflow: hidden;
}

.raicraft-simple-thumb img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.raicraft-simple-item-main {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.raicraft-simple-product-name {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.raicraft-simple-item-main span {
    color: #64748b;
    font-size: 12px;
}

.raicraft-simple-item-main strong {
    color: #0f172a;
    font-size: 14px;
}

.raicraft-simple-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0;
    border-radius: 8px;
    background: #fff7fa;
    padding: 14px 16px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 800;
}

.raicraft-simple-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-pink);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.raicraft-simple-checkout-form {
    display: grid;
    gap: 14px;
}

.raicraft-simple-checkout-form label {
    display: grid;
    gap: 7px;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.raicraft-simple-checkout-form label span {
    color: var(--brand-pink);
}

.raicraft-simple-checkout-form input,
.raicraft-simple-checkout-form textarea {
    width: 100%;
    border: 1px solid #dfe5ee;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    outline: 0;
    padding: 13px 14px;
}

.raicraft-simple-checkout-form textarea {
    min-height: 92px;
    resize: vertical;
}

.raicraft-simple-checkout-form small {
    margin-top: -3px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
    text-transform: none;
}

@media (max-width: 520px) {
    .raicraft-simple-commerce {
        width: calc(100% - 24px);
        margin: 18px auto 36px;
    }

    .raicraft-simple-panel {
        padding: 18px 14px;
    }

    .raicraft-simple-cart-item {
        grid-template-columns: 68px minmax(0, 1fr);
    }

    .raicraft-simple-thumb {
        width: 68px;
        height: 68px;
    }

    .raicraft-simple-remove {
        grid-column: 2;
        justify-self: start;
    }
}

/* --- Base Customizations --- */
body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-sans);
    font-weight: 700;
}

/* Enforce serif for special brand headings or Arsenal selectors */
.font-serif, 
.brand-serif-title {
    font-family: var(--font-serif);
}

.brand-logo-img {
    max-width: 180px;
    max-height: 48px;
    object-fit: contain;
}

/* Add custom animations */
@keyframes slideIn {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}





/* --- Raicraft live polish: clearer header, products, sidebar and buttons --- */
.bb-header,
.bb-header-container,
.categories-nav {
    background: #ffffff;
    color: #111827;
}

.bb-header {
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
}

.site-logo a,
.brand-logo-text,
.nav-icon,
.header-actions a,
.cat-pill,
.mega-menu-list a {
    color: #111827 !important;
}

.cat-pill {
    border: 1px solid #d1d5db;
    background: #ffffff;
    font-weight: 700;
}

.cat-pill:hover,
.cat-pill:focus {
    border-color: var(--brand-pink);
    color: var(--brand-pink) !important;
    background: #fff5f8;
}

.product-single-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
    gap: 36px;
    align-items: start;
}

.product-gallery,
.product-info-wrap,
.filter-sidebar,
.woocommerce .widget,
.woocommerce-cart-form,
.cart-collaterals .cart_totals {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.product-gallery,
.product-info-wrap {
    padding: 24px;
}

.main-img-wrap {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    overflow: hidden;
}

.main-img-wrap img,
.woocommerce div.product div.images img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

.product-single-title,
.woocommerce div.product .product_title {
    color: #111827;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.18;
    margin: 10px 0 14px;
}

.product-brand,
.woocommerce .woocommerce-breadcrumb a,
.breadcrumbs a {
    color: var(--brand-pink);
    font-weight: 700;
}

.product-single-meta,
.woocommerce-product-details__short-description,
.accordion-content,
.woocommerce div.product p.stock {
    color: #374151;
    font-size: 15px;
    line-height: 1.7;
}

.price-box,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--brand-pink);
    font-size: 26px;
    font-weight: 800;
}

.action-box,
.woocommerce div.product form.cart {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 18px;
}

.qty-input,
.woocommerce .quantity .qty {
    min-height: 46px;
    border: 1px solid #cbd5e1 !important;
    color: #111827;
    background: #ffffff;
    font-weight: 700;
}

.btn-buy-now,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce button.button.alt,
.woocommerce input.button,
.btn-add-bag {
    min-height: 46px;
    border-radius: 8px !important;
    background: var(--brand-pink) !important;
    color: #ffffff !important;
    border: 1px solid var(--brand-pink) !important;
    font-weight: 800 !important;
    padding: 12px 20px !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.btn-buy-now:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button:hover,
.btn-add-bag:hover {
    background: #111827 !important;
    border-color: #111827 !important;
    color: #ffffff !important;
}

.product-card,
.woocommerce ul.products li.product,
.products-grid .product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.05);
}

.product-card img,
.woocommerce ul.products li.product img {
    background: #f9fafb;
    object-fit: contain;
}

.product-card a,
.woocommerce ul.products li.product a {
    color: #111827;
}

.product-card .price,
.woocommerce ul.products li.product .price {
    color: var(--brand-pink) !important;
    font-weight: 800;
}

.filter-sidebar {
    padding: 20px;
    color: #111827;
}

.filter-sidebar label,
.filter-sidebar a,
.filter-sidebar h3,
.filter-sidebar h4 {
    color: #111827;
}

.single-product .site-main,
.woocommerce-page .site-main {
    background: #ffffff;
}

@media (max-width: 767px) {
    .product-single-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product-gallery,
    .product-info-wrap {
        padding: 16px;
    }

    .main-img-wrap {
        min-height: 300px;
    }

    .action-box,
    .woocommerce div.product form.cart {
        align-items: stretch;
        flex-direction: column;
    }

    .qty-input,
    .woocommerce .quantity .qty,
    .btn-buy-now,
    .woocommerce button.button.alt {
        width: 100%;
    }
}

/* --- Raicraft mobile responsiveness repair 2026-07-05 --- */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

.bb-header-container,
.container,
.site-main,
.woocommerce,
.woocommerce-page {
    box-sizing: border-box;
}

.mobile-menu-toggle,
.search-icon-btn,
.action-icon,
.raicraft-drawer-close,
.raicraft-cart-close,
.raicraft-qty-btn {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.mobile-menu-toggle {
    color: #111827 !important;
    background: transparent !important;
    border: 0 !important;
}

.mobile-menu-toggle span,
.mobile-menu-toggle::before,
.mobile-menu-toggle::after {
    background: #111827 !important;
}

.search-icon-btn,
.search-icon-btn svg,
.search-bar-wrap button,
.search-bar-wrap button svg {
    color: #111827 !important;
    fill: none !important;
    stroke: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

form.cart .quantity.raicraft-qty-ready,
.woocommerce-cart-form .quantity.raicraft-qty-ready {
    display: inline-grid !important;
    grid-template-columns: 42px minmax(48px, 64px) 42px;
    align-items: center;
    min-height: 46px;
    border: 1px solid #d1d5db !important;
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

form.cart .quantity.raicraft-qty-ready .qty,
.woocommerce-cart-form .quantity.raicraft-qty-ready .qty {
    width: 100% !important;
    min-height: 44px;
    border: 0 !important;
    border-left: 1px solid #e5e7eb !important;
    border-right: 1px solid #e5e7eb !important;
    border-radius: 0 !important;
    text-align: center;
    box-shadow: none !important;
}

.raicraft-qty-btn {
    width: 42px;
    height: 44px;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff5f8 !important;
    color: var(--brand-pink) !important;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    padding: 0 !important;
}

.raicraft-qty-btn:hover,
.raicraft-qty-btn:focus {
    background: var(--brand-pink) !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 72px;
    }

    .bb-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .bb-header .container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .bb-header .header-row {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) 44px 44px;
        grid-template-rows: 44px;
        align-items: center;
        gap: 4px;
        min-height: 54px !important;
        height: 54px !important;
        padding: 5px 0 !important;
    }

    .bb-header-container {
        min-height: 50px;
        display: grid !important;
        grid-template-columns: 44px 1fr 44px;
        align-items: center;
        gap: 6px;
        width: 100%;
        padding: 8px 12px !important;
    }

    .site-logo,
    .brand-logo,
    .brand-logo-text {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: center;
        min-width: 0;
        font-size: 18px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .mobile-menu-toggle {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start;
        width: 42px !important;
        height: 42px !important;
    }

    .header-actions {
        grid-column: 4 !important;
        grid-row: 1 !important;
        justify-self: end;
        display: flex !important;
        align-items: center;
        gap: 6px;
        width: 42px !important;
        height: 42px !important;
        order: 0 !important;
        overflow: visible !important;
    }

    .action-icon {
        width: 38px;
        height: 38px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .search-bar-wrap {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: 42px !important;
        max-width: 100%;
        margin: 0;
        order: 0 !important;
        justify-self: end;
        position: relative;
    }

    .search-bar-wrap:not(.mobile-search-open) {
        width: 42px;
        justify-self: end;
    }

    .search-bar-wrap:not(.mobile-search-open) form {
        width: 42px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .search-bar-wrap:not(.mobile-search-open) .search-submit {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .search-bar-wrap .search-submit svg,
    .search-bar-wrap .search-icon-btn svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        display: block !important;
        overflow: visible !important;
    }

    .search-bar-wrap.mobile-search-open {
        position: fixed;
        left: 10px;
        right: 10px;
        top: 58px;
        z-index: 1100;
        background: #ffffff;
        border-radius: 8px;
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.16);
        padding: 8px;
        width: auto !important;
    }

    .search-bar-wrap.mobile-search-open form,
    .search-bar-wrap.mobile-search-open .search-input {
        width: 100%;
    }

    .raicraft-search-results {
        left: 0;
        right: 0;
        max-height: calc(100vh - 132px);
        overflow-y: auto;
    }

    .product-single-layout,
    .woocommerce div.product {
        display: flex !important;
        flex-direction: column !important;
        width: 100%;
        max-width: 100%;
    }

    .product-gallery,
    .woocommerce div.product div.images {
        order: 1;
        width: 100% !important;
        margin: 0 0 14px !important;
    }

    .product-info-wrap,
    .woocommerce div.product div.summary,
    .summary.entry-summary {
        order: 2;
        width: 100% !important;
        margin: 0 !important;
    }

    .product_meta,
    .posted_in,
    .sku_wrapper {
        order: 60 !important;
        display: block;
        width: 100%;
        margin: 12px 0 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .summary.entry-summary .raicraft-after-cart-cards {
        order: 40 !important;
    }

    .summary.entry-summary .raicraft-product-detail-tabs {
        order: 50 !important;
    }

    .summary.entry-summary .product_meta {
        order: 60 !important;
    }

    .raicraft-product-detail-tabs {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .raicraft-product-tab-labels {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding-bottom: 2px;
    }

    .raicraft-product-tab-panel,
    .raicraft-product-tab-panel p,
    .raicraft-product-tab-panel li {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .woocommerce div.product form.cart,
    .action-box {
        display: grid !important;
        grid-template-columns: minmax(132px, auto) 1fr;
        gap: 10px;
        align-items: stretch;
        width: 100%;
    }

    .woocommerce div.product form.cart .button,
    .single_add_to_cart_button,
    .btn-buy-now {
        width: 100% !important;
        min-width: 0;
    }

    .mobile-bottom-nav {
        max-width: 100vw;
        overflow: hidden;
    }
}

/* --- Raicraft live polish pass: cart, breadcrumbs, search, checkout 2026-07-05 --- */
.breadcrumbs,
.woocommerce-breadcrumb,
.product-breadcrumb,
.raicraft-product-breadcrumb {
    display: block !important;
    width: min(1180px, calc(100% - 32px));
    margin: 16px auto 10px !important;
    padding: 0 !important;
    text-align: left !important;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.breadcrumbs .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 !important;
}

.breadcrumbs a,
.woocommerce-breadcrumb a,
.product-breadcrumb a,
.raicraft-product-breadcrumb a,
.raicraft-product-brand-row a {
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
    text-decoration: none !important;
}

.price-box,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

@media (min-width: 769px) {
    .bb-header .search-bar-wrap {
        display: flex !important;
        align-items: center;
        min-width: 360px;
        max-width: 520px;
        position: relative;
    }

    .bb-header .search-bar-wrap form {
        display: flex !important;
        width: 100%;
        align-items: center;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        overflow: hidden;
    }

    .bb-header .search-input {
        display: block !important;
        flex: 1;
        min-width: 0;
        height: 44px;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 14px;
        color: #111827;
        background: transparent;
    }

    .bb-header .search-icons {
        display: flex !important;
        align-items: center;
        gap: 4px;
        margin-right: 4px;
    }

    .bb-header .search-icon-btn,
    .bb-header .search-submit,
    .bb-header .action-icon,
    .bb-header .skin-analyzer-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #111827 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .bb-header .search-icon-btn,
    .bb-header .search-submit {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .bb-header svg {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        min-height: 20px !important;
        color: currentColor !important;
        stroke: currentColor !important;
        fill: none;
    }
}

body.single-product .summary.entry-summary .raicraft-after-cart-cards,
body.single-product .summary.entry-summary .raicraft-product-detail-tabs,
body.single-product .summary.entry-summary .product_meta,
body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards,
body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs,
body.single-product .raicraft-mobile-info-frame .product_meta {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04) !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
}

body.single-product .raicraft-mobile-info-frame {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
}

body.single-product .raicraft-panel-ingredients ul {
    display: flex !important;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.single-product .raicraft-panel-ingredients li {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    border: 1px solid #edf0f4 !important;
    border-radius: 999px !important;
    background: #fbfbfc !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

body.single-product .raicraft-panel-ingredients li::before {
    content: none !important;
}

@media (min-width: 769px) {
    body.single-product .product-info-wrap,
    body.single-product div.product div.summary,
    body.single-product .summary.entry-summary {
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.single-product .raicraft-after-cart-cards,
    body.single-product .raicraft-product-detail-tabs,
    body.single-product .product_meta {
        margin-top: 16px !important;
    }
}

.woocommerce-cart-form .product-thumbnail img,
.woocommerce-cart-form img.raicraft-cart-product-image,
.cart_item .product-thumbnail img {
    display: block !important;
    width: 82px !important;
    height: 82px !important;
    max-width: 82px !important;
    object-fit: contain !important;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    padding: 6px;
}

.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout form.checkout,
.woocommerce-checkout-review-order {
    border: 1px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05) !important;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.woocommerce-checkout #billing_first_name_field,
.woocommerce-checkout #billing_phone_field,
.woocommerce-checkout #billing_address_1_field {
    display: block !important;
    width: 100% !important;
}

.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout #billing_last_name_field,
.woocommerce-checkout #billing_company_field,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field,
.woocommerce-checkout #billing_email_field {
    display: none !important;
}

@media (max-width: 768px) {
    .wp-block-woocommerce-cart.alignwide,
    .wc-block-components-sidebar-layout,
    .wc-block-components-main,
    .wc-block-components-sidebar,
    .wc-block-cart-items,
    .wc-block-cart__submit,
    .wp-block-woocommerce-cart-order-summary-block,
    .wc-block-components-totals-wrapper,
    .wc-block-components-totals-item {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .wp-block-woocommerce-cart.alignwide {
        margin-top: 14px !important;
    }

    .wc-block-components-sidebar-layout.wc-block-cart {
        display: block !important;
    }

    .wc-block-cart-items__row {
        display: grid !important;
        grid-template-columns: 86px minmax(0, 1fr) !important;
        gap: 10px 12px !important;
        width: 100% !important;
        padding: 14px 0 !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .wc-block-cart-item__image {
        grid-column: 1 !important;
        grid-row: 1 / span 3 !important;
        width: 86px !important;
        padding: 0 !important;
    }

    .wc-block-cart-item__image img {
        display: block !important;
        width: 82px !important;
        height: 82px !important;
        object-fit: contain !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        padding: 6px !important;
    }

    .wc-block-cart-item__product {
        grid-column: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
    }

    .wc-block-cart-item__total {
        display: none !important;
    }

    .wc-block-cart-item__wrap {
        width: 100% !important;
        min-width: 0 !important;
    }

    .wc-block-components-product-name {
        color: #111827 !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        border: 0 !important;
    }

    .wc-block-components-sidebar {
        margin-top: 16px !important;
        padding: 14px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        background: #ffffff !important;
    }

    .wc-block-cart__submit-button {
        width: 100% !important;
        min-height: 48px !important;
        border-radius: 8px !important;
        background: #111827 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    .woocommerce-cart-form,
    .cart-collaterals .cart_totals {
        padding: 12px !important;
        overflow: hidden;
    }

    .woocommerce-cart-form table.shop_table,
    .woocommerce-cart-form table.shop_table tbody,
    .woocommerce-cart-form table.shop_table tr,
    .woocommerce-cart-form table.shop_table td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    .woocommerce-cart-form table.shop_table thead {
        display: none !important;
    }

    .woocommerce-cart-form table.shop_table tr.cart_item {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px 12px;
        padding: 14px 0 !important;
        border-bottom: 1px solid #e5e7eb !important;
    }

    .woocommerce-cart-form table.shop_table td {
        border: 0 !important;
        padding: 0 !important;
    }

    .woocommerce-cart-form td.product-remove {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .woocommerce-cart-form td.product-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 4;
    }

    .woocommerce-cart-form td.product-name,
    .woocommerce-cart-form td.product-price,
    .woocommerce-cart-form td.product-quantity,
    .woocommerce-cart-form td.product-subtotal {
        grid-column: 2;
    }

    .woocommerce-cart-form td.product-name a {
        color: #111827 !important;
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
    }

    .woocommerce-cart-form .quantity.raicraft-qty-ready {
        max-width: 132px;
    }
}

@media (max-width: 420px) {
    .woocommerce div.product form.cart,
    .action-box {
        grid-template-columns: 1fr;
    }

    form.cart .quantity.raicraft-qty-ready,
    .woocommerce-cart-form .quantity.raicraft-qty-ready {
        width: 100%;
        grid-template-columns: 46px 1fr 46px;
    }

    .product-single-title,
    .woocommerce div.product .product_title {
        font-size: 22px;
    }
}

/* --- Raicraft mobile product detail placement 2026-07-05 --- */
@media (max-width: 768px) {
    body.single-product .woocommerce-breadcrumb,
    body.single-product .breadcrumbs,
    body.single-product .product-breadcrumb,
    body.single-product .raicraft-product-breadcrumb {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: min(100% - 32px, 720px) !important;
        max-width: min(100% - 32px, 720px) !important;
        height: auto !important;
        margin: 14px auto 8px !important;
        padding: 0 !important;
        color: #6b7280 !important;
        font-size: 13px !important;
        line-height: 1.5 !important;
        gap: 6px;
        flex-wrap: wrap;
        text-align: left;
    }

    body.single-product .woocommerce-breadcrumb a,
    body.single-product .breadcrumbs a,
    body.single-product .product-breadcrumb a,
    body.single-product .raicraft-product-breadcrumb a {
        color: var(--brand-pink) !important;
        font-weight: 700;
        text-decoration: none;
    }

    body.single-product .raicraft-mobile-info-frame {
        order: 20 !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 22px !important;
        padding: 18px 14px 16px !important;
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        box-shadow: 0 8px 20px rgba(17, 24, 39, 0.05) !important;
    }

    body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards,
    body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs,
    body.single-product .raicraft-mobile-info-frame .product_meta {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 18px 20px;
        margin-bottom: 28px !important;
    }

    body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs {
        margin-bottom: 28px !important;
        overflow: hidden;
    }

    body.single-product .raicraft-mobile-info-frame .product_meta {
        padding-top: 0 !important;
        border-top: 0 !important;
        color: #111827 !important;
    }

    body.single-product .raicraft-mobile-info-frame .product_meta .sku_wrapper {
        display: none !important;
    }

    body.single-product section.related.products {
        order: 90 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
    }

    body.single-product form.cart {
        order: 10 !important;
        display: grid !important;
        grid-template-columns: minmax(118px, 132px) minmax(0, 1fr);
        gap: 10px;
        align-items: stretch;
    }

    body.single-product form.cart .quantity.raicraft-qty-ready,
    body.single-product.woocommerce div.product form.cart .quantity.raicraft-qty-ready,
    body.single-product form.cart .quantity {
        display: grid !important;
        grid-template-columns: 38px minmax(42px, 1fr) 38px !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 118px !important;
        max-width: 132px !important;
        height: 46px !important;
        min-height: 46px !important;
        border: 1px solid #d1d5db !important;
        border-radius: 8px !important;
        background: #ffffff !important;
        overflow: hidden !important;
    }

    body.single-product form.cart .quantity.raicraft-qty-ready .raicraft-qty-btn,
    body.single-product form.cart .quantity .raicraft-qty-btn,
    body.single-product form.cart .raicraft-qty-minus,
    body.single-product form.cart .raicraft-qty-plus {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 38px !important;
        height: 44px !important;
        min-width: 38px !important;
        min-height: 44px !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #fff5f8 !important;
        color: var(--brand-pink) !important;
        font-size: 20px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        padding: 0 !important;
        position: static !important;
    }

    body.single-product form.cart .quantity input.qty,
    body.single-product.woocommerce div.product form.cart .quantity .qty {
        display: block !important;
        width: 100% !important;
        height: 44px !important;
        min-height: 44px !important;
        border: 0 !important;
        border-left: 1px solid #e5e7eb !important;
        border-right: 1px solid #e5e7eb !important;
        border-radius: 0 !important;
        text-align: center !important;
        font-weight: 800 !important;
        color: #111827 !important;
        background: #ffffff !important;
        box-shadow: none !important;
        padding: 0 !important;
        -moz-appearance: textfield;
    }

    body.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
    body.single-product form.cart .quantity input.qty::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
}

/* --- Raicraft final live refinement overrides 2026-07-05 --- */
body.single-product .raicraft-after-price-note {
    max-width: 470px;
    margin: 10px 0 18px !important;
    color: #475569 !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

body.single-product .raicraft-after-cart-cards,
body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    padding: 14px !important;
    margin-bottom: 10px !important;
}

body.single-product .raicraft-after-cart-card,
body.single-product .raicraft-after-cart-card span:last-child {
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

body.single-product .raicraft-after-cart-card {
    gap: 8px !important;
    align-items: center !important;
}

body.single-product .raicraft-card-icon {
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    font-weight: 700 !important;
}

body.single-product .raicraft-product-detail-tabs,
body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 16px 14px !important;
}

body.single-product .raicraft-product-tab-labels {
    gap: 14px !important;
    overflow-x: auto !important;
    scrollbar-width: none;
}

body.single-product .raicraft-product-tab-labels::-webkit-scrollbar {
    display: none;
}

body.single-product .raicraft-product-tab-labels label {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
}

body.single-product .raicraft-product-tab-panel ul {
    margin-top: 10px !important;
}

body.single-product .raicraft-product-tab-panel li {
    font-weight: 400 !important;
}

body.single-product .raicraft-panel-ingredients ul {
    gap: 5px !important;
}

body.single-product .raicraft-panel-ingredients li {
    padding: 6px 9px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
}

body.single-product .product_meta,
body.single-product .summary.entry-summary .product_meta,
body.single-product .raicraft-mobile-info-frame .product_meta {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 2px 0 0 !important;
    margin: 8px 0 0 !important;
}

body.single-product .product_meta .posted_in,
body.single-product .product_meta .tagged_as {
    display: inline !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .wp-block-woocommerce-checkout,
.woocommerce-checkout .wc-block-components-sidebar-layout,
.woocommerce-checkout .wc-block-components-main {
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-checkout .raicraft-checkout-visible-fields {
    display: grid !important;
    gap: 12px !important;
}

.woocommerce-checkout .wc-block-components-text-input,
.woocommerce-checkout .wc-block-components-combobox,
.woocommerce-checkout .wc-block-components-country-input,
.woocommerce-checkout .wc-block-components-state-input {
    margin: 0 0 12px !important;
}

.woocommerce-checkout .wc-block-components-text-input label,
.woocommerce-checkout .wc-block-components-combobox label,
.woocommerce-checkout .wc-block-components-country-input label,
.woocommerce-checkout .wc-block-components-state-input label {
    display: block !important;
    margin: 0 0 6px !important;
    color: #64748b !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.woocommerce-checkout .wc-block-components-text-input input,
.woocommerce-checkout .wc-block-components-combobox input,
.woocommerce-checkout .wc-block-components-country-input input,
.woocommerce-checkout .wc-block-components-state-input input,
.woocommerce-checkout .wc-block-components-text-input textarea {
    width: 100% !important;
    min-height: 48px !important;
    border: 1px solid #dfe5ee !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    box-shadow: none !important;
    padding: 12px 14px !important;
}

.woocommerce-checkout .wc-block-components-text-input textarea,
.woocommerce-checkout [name$="address_1"] {
    min-height: 86px !important;
}

.woocommerce-checkout .raicraft-checkout-helper {
    display: block;
    margin-top: -6px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 700;
}

@media (max-width: 768px) {
    body.single-product .raicraft-mobile-info-frame {
        margin: 10px 0 14px !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    body.single-product .raicraft-mobile-info-frame .raicraft-after-cart-cards,
    body.single-product .raicraft-mobile-info-frame .raicraft-product-detail-tabs {
        margin-bottom: 10px !important;
    }

    body.single-product .raicraft-product-detail-tabs {
        overflow: hidden !important;
    }

    body.single-product .raicraft-product-tab-panel li {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }

    body.single-product .raicraft-panel-ingredients li {
        font-size: 11px !important;
    }
}

/* --- Related product buttons and cart page refinement 2026-07-06 live-last --- */
body.single-product section.related.products {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-product section.related.products > h2,
body.single-product section.related.products .products {
    margin-top: 0 !important;
}

body.single-product section.related.products ul.products {
    align-items: stretch !important;
}

body.single-product section.related.products ul.products li.product {
    display: flex !important;
    flex-direction: column !important;
}

body.single-product section.related.products ul.products li.product .price {
    margin-top: auto !important;
}

body.single-product section.related.products ul.products li.product .button,
body.single-product section.related.products ul.products li.product a.add_to_cart_button,
body.single-product section.related.products ul.products li.product a.product_type_simple {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 42px !important;
    margin-top: 10px !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--brand-pink) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 11px 14px !important;
}

body.single-product section.related.products ul.products li.product .button::before,
body.single-product section.related.products ul.products li.product .button::after {
    display: none !important;
}

.raicraft-simple-commerce {
    width: min(760px, calc(100% - 28px)) !important;
}

.raicraft-cart-hero {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 6px 0 32px;
}

.raicraft-cart-icon {
    position: relative;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f6;
}

.raicraft-cart-icon::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 14px;
    width: 16px;
    height: 14px;
    border: 2px solid var(--brand-pink);
    border-radius: 3px;
}

.raicraft-cart-icon::after {
    content: "";
    position: absolute;
    left: 16px;
    top: 10px;
    width: 8px;
    height: 7px;
    border: 2px solid var(--brand-pink);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.raicraft-cart-hero h1 {
    margin: 0;
    color: #0f172a;
    font-family: var(--font-serif);
    font-size: clamp(26px, 5vw, 34px);
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.raicraft-cart-hero p {
    margin: 5px 0 0;
    color: #8b95a5;
    font-size: 13px;
    line-height: 1.35;
}

.raicraft-cart-panel {
    border: 1px solid #111827 !important;
    border-radius: 22px !important;
    box-shadow: none !important;
    padding: 24px !important;
}

.raicraft-cart-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #edf0f4;
    padding-bottom: 16px;
    color: #243142;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.raicraft-cart-panel-head a {
    color: #9aa3b2 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: none;
}

.raicraft-simple-cart-list {
    gap: 0 !important;
}

.raicraft-simple-cart-item {
    position: relative;
    grid-template-columns: 96px minmax(0, 1fr) minmax(126px, auto) !important;
    align-items: center !important;
    gap: 22px !important;
    border: 0 !important;
    border-bottom: 1px solid #edf0f4 !important;
    border-radius: 0 !important;
    padding: 28px 0 !important;
}

.raicraft-simple-thumb {
    width: 96px !important;
    height: 96px !important;
    border: 1px solid #edf0f4;
    border-radius: 16px !important;
    background: #fafafa !important;
}

.raicraft-cart-brand {
    color: var(--brand-pink) !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.raicraft-simple-product-name {
    font-size: 14px !important;
    font-weight: 800 !important;
}

.raicraft-cart-size {
    display: inline-flex !important;
    width: fit-content;
    border: 1px solid #ffd2df;
    border-radius: 999px;
    background: #fff0f5;
    color: var(--brand-pink) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2;
    padding: 4px 9px;
}

.raicraft-cart-actions {
    display: grid;
    justify-items: end;
    gap: 18px;
}

.raicraft-cart-actions .raicraft-simple-remove {
    color: #c8ced8 !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1;
}

.raicraft-cart-line-price {
    display: grid;
    justify-items: end;
    gap: 4px;
}

.raicraft-cart-line-price small {
    color: #9aa3b2;
    font-size: 11px;
    font-weight: 800;
}

.raicraft-cart-line-price strong {
    color: #111827;
    font-size: 15px;
    font-weight: 900;
}

.raicraft-cart-qty {
    display: grid;
    grid-template-columns: 44px 46px 44px;
    align-items: center;
    height: 34px;
    border: 1px solid #d9dee8;
    border-radius: 12px;
    overflow: hidden;
}

.raicraft-cart-qty a,
.raicraft-cart-qty span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #64748b;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.raicraft-cart-qty span {
    color: #263244;
}

.raicraft-simple-total {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 18px 0 14px !important;
    padding: 0 !important;
}

.raicraft-simple-primary {
    border-radius: 8px !important;
}

@media (max-width: 640px) {
    .raicraft-cart-hero {
        margin-bottom: 22px;
    }

    .raicraft-cart-panel {
        border-radius: 18px !important;
        padding: 18px !important;
    }

    .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        gap: 14px !important;
        padding: 22px 0 !important;
    }

    .raicraft-simple-thumb {
        width: 82px !important;
        height: 82px !important;
    }

    .raicraft-cart-actions {
        grid-column: 1 / -1;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        justify-items: stretch;
        gap: 12px;
    }

    .raicraft-cart-line-price {
        justify-items: end;
    }

    .raicraft-cart-qty {
        grid-template-columns: 36px 42px 36px;
        width: 114px;
    }
}

/* --- Cart trash icon polish 2026-07-06 --- */
.raicraft-clear-bag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.raicraft-clear-bag::before,
.raicraft-cart-actions .raicraft-simple-remove::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 13px;
    border: 2px solid currentColor;
    border-top: 0;
    border-radius: 0 0 3px 3px;
    box-sizing: border-box;
}

.raicraft-clear-bag::after,
.raicraft-cart-actions .raicraft-simple-remove::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 2px;
    border-radius: 99px;
    background: currentColor;
}

.raicraft-clear-bag {
    position: relative;
}

.raicraft-clear-bag::after {
    left: 0;
    top: 50%;
    transform: translateY(-9px);
}

.raicraft-cart-actions .raicraft-simple-remove {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 0 !important;
}

.raicraft-cart-actions .raicraft-simple-remove::after {
    left: 5px;
    top: 4px;
}

/* --- Clear empty cart state 2026-07-06 --- */
.raicraft-empty-cart-card {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 22px;
    border: 1px dashed #d8dee8;
    border-radius: 18px;
    background: #fff7fa;
    padding: 34px 18px;
    text-align: center;
}

.raicraft-empty-cart-card strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
}

.raicraft-empty-cart-card p {
    max-width: 360px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.raicraft-empty-cart-card .raicraft-simple-primary {
    width: min(220px, 100%) !important;
    margin-top: 4px;
}

/* --- Force cart page visibility 2026-07-06 --- */
body.woocommerce-cart,
body.woocommerce-cart .site,
body.woocommerce-cart #page,
body.woocommerce-cart #content,
body.woocommerce-cart .site-main,
body.woocommerce-cart main.raicraft-simple-commerce,
body.woocommerce-cart .raicraft-cart-hero,
body.woocommerce-cart .raicraft-cart-panel,
body.woocommerce-cart .raicraft-empty-cart-card {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.woocommerce-cart main.raicraft-simple-commerce {
    min-height: 320px !important;
    margin: 28px auto 48px !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

body.woocommerce-cart .raicraft-cart-hero {
    display: flex !important;
}

body.woocommerce-cart .raicraft-cart-panel {
    background: #ffffff !important;
    color: #0f172a !important;
}

/* --- Fix cart panel offscreen position 2026-07-06 --- */
body.woocommerce-cart .raicraft-cart-panel,
body.woocommerce-cart section.raicraft-cart-panel,
body.woocommerce-cart .raicraft-simple-panel.raicraft-cart-panel {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    transform: none !important;
    translate: none !important;
    overflow: visible !important;
    z-index: auto !important;
}

body.woocommerce-cart main.raicraft-simple-commerce {
    display: block !important;
    min-height: 0 !important;
    overflow: visible !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart main.raicraft-simple-commerce {
        width: calc(100% - 28px) !important;
        margin: 18px auto 88px !important;
    }

    body.woocommerce-cart .raicraft-cart-hero {
        margin-bottom: 16px !important;
    }

    body.woocommerce-cart .raicraft-cart-panel {
        padding: 18px 14px !important;
    }
}

/* --- Cart row alignment to screenshot 2026-07-06 --- */
body.woocommerce-cart .raicraft-simple-cart-item {
    display: grid !important;
    grid-template-columns: 96px minmax(0, 1fr) minmax(116px, auto) !important;
    grid-template-rows: auto auto !important;
    column-gap: 22px !important;
    row-gap: 14px !important;
    align-items: center !important;
    padding: 28px 0 !important;
}

body.woocommerce-cart .raicraft-simple-thumb {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    align-self: center !important;
}

body.woocommerce-cart .raicraft-simple-item-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    align-self: center !important;
    min-width: 0 !important;
}

body.woocommerce-cart .raicraft-cart-actions {
    display: contents !important;
}

body.woocommerce-cart .raicraft-cart-actions .raicraft-simple-remove {
    grid-column: 3 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    align-self: start !important;
}

body.woocommerce-cart .raicraft-cart-line-price {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: end !important;
    align-self: end !important;
    text-align: right !important;
}

body.woocommerce-cart .raicraft-cart-qty {
    grid-column: 2 !important;
    grid-row: 2 !important;
    justify-self: start !important;
    align-self: end !important;
    display: grid !important;
    grid-template-columns: 34px 38px 34px !important;
    width: 106px !important;
    height: 34px !important;
    border: 1px solid #d9dee8 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

body.woocommerce-cart .raicraft-cart-qty a,
body.woocommerce-cart .raicraft-cart-qty span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) minmax(94px, auto) !important;
        column-gap: 12px !important;
        row-gap: 12px !important;
        padding: 22px 0 !important;
    }

    body.woocommerce-cart .raicraft-simple-thumb {
        width: 82px !important;
        height: 82px !important;
    }

    body.woocommerce-cart .raicraft-simple-product-name {
        font-size: 13px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price small {
        font-size: 10px !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price strong {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    body.woocommerce-cart .raicraft-cart-qty {
        grid-template-columns: 30px 34px 30px !important;
        width: 94px !important;
        height: 32px !important;
    }
}

@media (max-width: 430px) {
    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 76px minmax(0, 1fr) !important;
    }

    body.woocommerce-cart .raicraft-simple-thumb {
        width: 76px !important;
        height: 76px !important;
    }

    body.woocommerce-cart .raicraft-cart-actions .raicraft-simple-remove {
        grid-column: 2 !important;
        grid-row: 1 !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price {
        grid-column: 2 !important;
        grid-row: 2 !important;
    }

    body.woocommerce-cart .raicraft-cart-qty {
        grid-column: 2 !important;
        grid-row: 3 !important;
    }
}

/* --- Cart pixel alignment final 2026-07-06 --- */
body.woocommerce-cart .raicraft-cart-panel {
    border: 1px solid #111827 !important;
    border-radius: 22px !important;
    padding: 24px !important;
}

body.woocommerce-cart .raicraft-cart-panel-head {
    padding: 0 0 16px !important;
    min-height: 32px !important;
    border-bottom: 1px solid #edf0f4 !important;
}

body.woocommerce-cart .raicraft-simple-cart-item {
    grid-template-columns: 96px minmax(0, 1fr) minmax(118px, auto) !important;
    grid-template-rows: minmax(88px, auto) 36px !important;
    column-gap: 22px !important;
    row-gap: 12px !important;
    min-height: 156px !important;
    padding: 28px 0 !important;
    align-items: start !important;
}

body.woocommerce-cart .raicraft-simple-thumb {
    width: 96px !important;
    height: 96px !important;
    align-self: start !important;
    margin-top: 0 !important;
}

body.woocommerce-cart .raicraft-simple-item-main {
    align-self: start !important;
    gap: 7px !important;
    padding-top: 0 !important;
}

body.woocommerce-cart .raicraft-cart-brand {
    font-size: 11px !important;
    letter-spacing: 0 !important;
    line-height: 1.1 !important;
}

body.woocommerce-cart .raicraft-simple-product-name {
    color: #111827 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .raicraft-cart-size {
    margin-top: 2px !important;
    padding: 4px 9px !important;
    border: 1px solid #ffd2df !important;
    border-radius: 999px !important;
    background: #fff0f5 !important;
    color: var(--brand-pink) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
}

body.woocommerce-cart .raicraft-cart-actions .raicraft-simple-remove {
    align-self: start !important;
    margin-top: 0 !important;
}

body.woocommerce-cart .raicraft-cart-line-price {
    align-self: end !important;
    padding-bottom: 0 !important;
    gap: 3px !important;
}

body.woocommerce-cart .raicraft-cart-line-price small {
    color: #9aa3b2 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

body.woocommerce-cart .raicraft-cart-line-price strong {
    color: #111827 !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
}

body.woocommerce-cart .raicraft-cart-qty {
    align-self: end !important;
    margin-bottom: 0 !important;
}

body.woocommerce-cart .raicraft-simple-total {
    margin: 18px 0 14px !important;
    font-size: 15px !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .raicraft-cart-panel {
        padding: 18px 14px !important;
    }

    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) minmax(92px, auto) !important;
        grid-template-rows: minmax(82px, auto) 34px !important;
        column-gap: 12px !important;
        row-gap: 10px !important;
        min-height: 138px !important;
        padding: 22px 0 !important;
    }

    body.woocommerce-cart .raicraft-simple-thumb {
        width: 82px !important;
        height: 82px !important;
    }

    body.woocommerce-cart .raicraft-simple-item-main {
        gap: 6px !important;
    }

    body.woocommerce-cart .raicraft-simple-product-name {
        font-size: 13px !important;
        line-height: 1.34 !important;
    }

    body.woocommerce-cart .raicraft-cart-size {
        font-size: 9px !important;
        padding: 4px 8px !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price small {
        font-size: 10px !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price strong {
        font-size: 15px !important;
    }
}

/* --- Cart quantity plus visibility final 2026-07-06 --- */
body.woocommerce-cart .raicraft-cart-qty {
    overflow: visible !important;
    background: #ffffff !important;
    border: 1px solid #d9dee8 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .raicraft-cart-qty a,
body.woocommerce-cart .raicraft-cart-qty span {
    min-width: 0 !important;
    width: auto !important;
    color: #64748b !important;
    background: #ffffff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-align: center !important;
    text-indent: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child {
    color: #64748b !important;
    display: inline-flex !important;
}

body.woocommerce-cart .raicraft-cart-line-price {
    min-width: 104px !important;
}

/* --- Cart quantity fixed columns final 2026-07-06 --- */
body.woocommerce-cart .raicraft-cart-qty {
    display: grid !important;
    grid-template-columns: 32px 32px 32px !important;
    width: 96px !important;
    height: 32px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
    overflow: hidden !important;
}

body.woocommerce-cart .raicraft-cart-qty a,
body.woocommerce-cart .raicraft-cart-qty span {
    display: flex !important;
    width: 32px !important;
    height: 30px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    color: #64748b !important;
    background: #ffffff !important;
    line-height: 1 !important;
}

body.woocommerce-cart .raicraft-cart-qty span {
    color: #111827 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child {
    position: relative !important;
    color: transparent !important;
    font-size: 0 !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child::before {
    content: "+" !important;
    display: flex !important;
    width: 32px !important;
    height: 30px !important;
    align-items: center !important;
    justify-content: center !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

body.woocommerce-cart .raicraft-cart-actions .raicraft-simple-remove {
    justify-self: end !important;
}

/* --- Cart real plus visible final 2026-07-06 --- */
body.woocommerce-cart .raicraft-cart-qty a:last-child {
    color: #64748b !important;
    font-size: 15px !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child::before {
    content: none !important;
    display: none !important;
}

/* --- Cart mobile completion final 2026-07-06 --- */
body.woocommerce-cart main.raicraft-simple-commerce {
    padding-bottom: 140px !important;
}

body.woocommerce-cart .raicraft-cart-qty {
    display: grid !important;
    grid-template-columns: 40px 40px 40px !important;
    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;
    height: 34px !important;
    overflow: hidden !important;
}

body.woocommerce-cart .raicraft-cart-qty a,
body.woocommerce-cart .raicraft-cart-qty span {
    display: flex !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 32px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
}

body.woocommerce-cart .raicraft-cart-qty a {
    color: #64748b !important;
    font-size: 16px !important;
    font-weight: 800 !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child {
    color: #64748b !important;
    font-size: 16px !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart main.raicraft-simple-commerce {
        padding: 18px 14px 150px !important;
    }

    body.woocommerce-cart .raicraft-cart-hero {
        margin: 0 0 16px !important;
        gap: 12px !important;
    }

    body.woocommerce-cart .raicraft-cart-hero h1 {
        font-size: 26px !important;
        line-height: 1.05 !important;
    }

    body.woocommerce-cart .raicraft-cart-panel {
        padding: 18px 14px !important;
        border-radius: 20px !important;
        overflow: visible !important;
    }

    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) 98px !important;
        grid-template-rows: auto 38px !important;
        column-gap: 10px !important;
        row-gap: 12px !important;
        min-height: 158px !important;
        padding: 22px 0 !important;
    }

    body.woocommerce-cart .raicraft-simple-item-main {
        min-width: 0 !important;
        gap: 6px !important;
    }

    body.woocommerce-cart .raicraft-simple-product-name {
        font-size: 12px !important;
        line-height: 1.35 !important;
    }

    body.woocommerce-cart .raicraft-cart-actions {
        min-width: 98px !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price {
        min-width: 98px !important;
        text-align: right !important;
    }

    body.woocommerce-cart .raicraft-cart-qty {
        grid-column: 2 / 3 !important;
        justify-self: start !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 380px) {
    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 76px minmax(0, 1fr) 88px !important;
        column-gap: 8px !important;
    }

    body.woocommerce-cart .raicraft-simple-thumb {
        width: 76px !important;
        height: 76px !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price {
        min-width: 88px !important;
    }
}

/* --- Cart checkout bottom nav clearance final 2026-07-06 --- */
body.woocommerce-cart .mobile-bottom-nav,
body.woocommerce-checkout .mobile-bottom-nav {
    display: none !important;
}

body.woocommerce-cart main.raicraft-simple-commerce,
body.woocommerce-checkout main.raicraft-simple-commerce {
    padding-bottom: 48px !important;
}

/* --- Cart checkout verification final pass 2026-07-06 --- */
body.woocommerce-cart .raicraft-simple-cart-item {
    position: relative !important;
}

body.woocommerce-cart .raicraft-simple-item-main {
    padding-right: 34px !important;
}

body.woocommerce-cart .raicraft-cart-actions .raicraft-simple-remove {
    position: absolute !important;
    top: 22px !important;
    right: 8px !important;
    width: 28px !important;
    height: 28px !important;
    z-index: 3 !important;
    color: #9aa3b2 !important;
    background: #ffffff !important;
    border: 0 !important;
}

body.woocommerce-cart .raicraft-cart-qty {
    display: grid !important;
    grid-template-columns: 44px 44px 44px !important;
    width: 132px !important;
    min-width: 132px !important;
    max-width: 132px !important;
    height: 36px !important;
    border: 1px solid #d9dee8 !important;
    border-radius: 12px !important;
    background: #fff !important;
    overflow: hidden !important;
}

body.woocommerce-cart .raicraft-cart-qty a,
body.woocommerce-cart .raicraft-cart-qty span {
    display: flex !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #111827 !important;
    background: #fff !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-indent: 0 !important;
}

body.woocommerce-cart .raicraft-cart-qty a {
    font-size: 18px !important;
}

body.woocommerce-cart .raicraft-cart-qty span {
    font-size: 15px !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child {
    color: #111827 !important;
    font-size: 18px !important;
}

body.woocommerce-cart .raicraft-cart-qty a:last-child::before {
    content: none !important;
    display: none !important;
}

.raicraft-order-verify {
    display: grid;
    gap: 18px;
    justify-items: stretch;
    text-align: center;
}

.raicraft-order-verify .raicraft-verify-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 2px;
    border-radius: 16px;
    background: #fff0f6;
    position: relative;
}

.raicraft-order-verify .raicraft-verify-icon::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 20px;
    width: 20px;
    height: 17px;
    border: 2px solid #ff1b63;
    border-top: 0;
    border-radius: 0 0 5px 5px;
}

.raicraft-order-verify .raicraft-verify-icon::after {
    content: "";
    position: absolute;
    left: 19px;
    top: 14px;
    width: 14px;
    height: 11px;
    border: 2px solid #ff1b63;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
}

.raicraft-order-verify h2 {
    margin: 0;
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.1;
    text-transform: uppercase;
}

.raicraft-order-verify > p {
    margin: -8px auto 2px;
    max-width: 420px;
    color: #98a1b2;
    font-size: 14px;
    line-height: 1.55;
}

.raicraft-verify-step {
    display: grid;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    text-align: left;
}

.raicraft-verify-step-ok {
    border: 1px solid #86efac;
    background: #effdf4;
}

.raicraft-verify-step-code {
    border: 1px solid #ffc4d6;
    background: #fff7fa;
}

.raicraft-verify-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #98a1b2;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.raicraft-verify-row span {
    border-radius: 999px;
    background: #dcfce7;
    color: #16a34a;
    padding: 6px 10px;
}

.raicraft-verify-row button {
    border: 0;
    background: transparent;
    color: #ff1b63;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.raicraft-math-line {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
}

.raicraft-math-line b {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #1f1f1f;
    box-shadow: 0 3px 0 rgba(0, 0, 0, .25);
    color: #ffffff;
    font-size: 24px;
    letter-spacing: 4px;
}

.raicraft-math-line i {
    color: #98a1b2;
    font-style: normal;
    font-size: 22px;
    font-weight: 900;
}

.raicraft-math-line input,
.raicraft-verify-step input {
    min-height: 46px;
    border: 1px solid #dfe5ef;
    border-radius: 12px;
    background: #ffffff;
    text-align: center;
    color: #111827;
    font-size: 18px;
    font-weight: 900;
}

.raicraft-code-display {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffc4d6;
    border-radius: 12px;
    background: repeating-linear-gradient(45deg, #fff, #fff 7px, #ffe3ec 8px, #ffe3ec 10px);
    color: #ff1b63;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 8px;
}

.raicraft-verify-step label {
    display: grid;
    gap: 8px;
    color: #98a1b2;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.raicraft-verify-cancel {
    border: 0;
    background: transparent;
    color: #98a1b2;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

body.woocommerce-cart .joinchat,
body.woocommerce-cart .chaty-widget,
body.woocommerce-cart #chaty-widget,
body.woocommerce-cart .ht_ctc_chat,
body.woocommerce-cart .tawk-min-container,
body.woocommerce-cart .crisp-client,
body.woocommerce-cart .intercom-lightweight-app,
body.woocommerce-cart .fb_dialog,
body.woocommerce-cart .tidio-chat,
body.woocommerce-cart .e-floating-buttons,
body.woocommerce-checkout .joinchat,
body.woocommerce-checkout .chaty-widget,
body.woocommerce-checkout #chaty-widget,
body.woocommerce-checkout .ht_ctc_chat,
body.woocommerce-checkout .tawk-min-container,
body.woocommerce-checkout .crisp-client,
body.woocommerce-checkout .intercom-lightweight-app,
body.woocommerce-checkout .fb_dialog,
body.woocommerce-checkout .tidio-chat,
body.woocommerce-checkout .e-floating-buttons {
    display: none !important;
}

@media (max-width: 767px) {
    body.woocommerce-cart .raicraft-simple-cart-item {
        grid-template-columns: 82px minmax(0, 1fr) !important;
        grid-template-rows: auto auto auto !important;
        padding-right: 34px !important;
    }

    body.woocommerce-cart .raicraft-cart-actions {
        display: contents !important;
    }

    body.woocommerce-cart .raicraft-cart-line-price {
        grid-column: 2 / 3 !important;
        justify-self: start !important;
        text-align: left !important;
        margin-top: 6px !important;
    }

    body.woocommerce-cart .raicraft-cart-qty {
        grid-column: 2 / 3 !important;
        justify-self: start !important;
        margin-top: 8px !important;
    }

    .raicraft-math-line {
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
    }

    .raicraft-code-display {
        letter-spacing: 5px;
        font-size: 20px;
    }
}
