:root {
    --kcp-primary: #24310f;
    --kcp-accent: #a85518;
    --kcp-page: #fbfaf7;
    --kcp-text: #171713;
    --kcp-muted: #6f6d67;
    --kcp-border: #e7e2da;
    --kcp-soft: #f7f4ef;
    --kcp-white: #fff;
    --kcp-success: #20753d;
    --kcp-error: #b42318;
    --kcp-radius: 5px;
    --kcp-shadow: 0 16px 45px rgba(35, 27, 18, .055);
}

body.kcp-premium-checkout {
    background: var(--kcp-page);
}

/* Checkout-only chrome: Hermes' vertical header is replaced by this compact bar. */
body.kcp-premium-checkout #masthead,
body.kcp-premium-checkout .site-header,
body.kcp-premium-checkout .header-container,
body.kcp-premium-checkout .header-wrapper,
body.kcp-premium-checkout .header-sticky,
body.kcp-premium-checkout .sticky-header,
body.kcp-premium-checkout .header-sidebar,
body.kcp-premium-checkout .main-menu-sidebar,
body.kcp-premium-checkout .vertical-menu,
body.kcp-premium-checkout .vertical-menu-container,
body.kcp-premium-checkout .side-menu,
body.kcp-premium-checkout .right-menu,
body.kcp-premium-checkout .left-menu,
body.kcp-premium-checkout .mega_main_menu.primary,
body.kcp-premium-checkout .mobile-menu-container {
    display: none !important;
}

body.kcp-premium-checkout #page,
body.kcp-premium-checkout .site,
body.kcp-premium-checkout .wrapper,
body.kcp-premium-checkout .page-wrapper,
body.kcp-premium-checkout .main-wrapper,
body.kcp-premium-checkout .main-container,
body.kcp-premium-checkout .site-content,
body.kcp-premium-checkout .content-area,
body.kcp-premium-checkout .main-content,
body.kcp-premium-checkout .col-main {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.kcp-premium-checkout .main-container > .container > .row,
body.kcp-premium-checkout .site-content > .container > .row {
    display: block !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.kcp-checkout-header,
.kcp-checkout-header * {
    box-sizing: border-box;
}

.kcp-checkout-header {
    position: relative;
    z-index: 100;
    width: 100%;
    border-bottom: 1px solid #ece7df;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 4px 18px rgba(32, 25, 18, .035);
}

.kcp-header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 34px;
    width: min(1440px, calc(100% - 48px));
    min-height: 78px;
    margin: 0 auto;
}

.kcp-brand {
    display: inline-flex;
    align-items: center;
    min-width: 142px;
    color: #111 !important;
    text-decoration: none !important;
}

.kcp-brand-image {
    display: block;
    width: auto;
    max-width: 170px;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.kcp-brand-word {
    color: #111;
    font-size: 29px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .12em;
}

.kcp-brand-word span {
    color: var(--kcp-accent);
}

.kcp-checkout-nav {
    min-width: 0;
}

.kcp-checkout-nav .kcp-nav-list {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(18px, 2.4vw, 38px);
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kcp-checkout-nav .kcp-nav-list > li {
    position: relative;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    white-space: nowrap;
}

.kcp-checkout-nav .kcp-nav-list > li:nth-child(n+7) {
    display: none !important;
}

.kcp-checkout-nav .kcp-nav-list > li > a {
    display: block;
    padding: 29px 0 27px !important;
    color: #1b1a17 !important;
    background: transparent !important;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;
    text-transform: none;
}

.kcp-checkout-nav .kcp-nav-list > li > a:hover {
    color: var(--kcp-accent) !important;
}

.kcp-checkout-nav .sub-menu,
.kcp-checkout-nav .mega_dropdown {
    display: none !important;
}

.kcp-header-secure {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #4e4b45;
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.kcp-header-secure svg {
    width: 17px;
    height: 17px;
    fill: var(--kcp-accent);
}

body.kcp-premium-checkout.kcp-hide-theme-title .woocommerce-breadcrumb,
body.kcp-premium-checkout.kcp-hide-theme-title .breadcrumbs,
body.kcp-premium-checkout.kcp-hide-theme-title .breadcrumb,
body.kcp-premium-checkout.kcp-hide-theme-title .page-title,
body.kcp-premium-checkout.kcp-hide-theme-title .entry-title,
body.kcp-premium-checkout.kcp-hide-theme-title .entry-header,
body.kcp-premium-checkout.kcp-hide-theme-title .page-banner,
body.kcp-premium-checkout.kcp-hide-theme-title .breadcrumbs-wrapper {
    display: none !important;
}

body.kcp-premium-checkout .site-content,
body.kcp-premium-checkout .main-container,
body.kcp-premium-checkout .page-content,
body.kcp-premium-checkout .entry-content,
body.kcp-premium-checkout .woocommerce {
    width: 100%;
    max-width: none;
}

body.kcp-premium-checkout .main-container > .container,
body.kcp-premium-checkout .site-content > .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body.kcp-premium-checkout #secondary,
body.kcp-premium-checkout .sidebar,
body.kcp-premium-checkout .widget-area {
    display: none !important;
}

.kcp-page,
.kcp-page * {
    box-sizing: border-box;
}

.kcp-page {
    color: var(--kcp-text);
    background: linear-gradient(180deg, #fff 0, var(--kcp-page) 72%, #f8f4ed 100%);
    padding: 42px 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.kcp-container {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto;
}

.kcp-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 28px;
}

.kcp-page-heading h1 {
    margin: 4px 0 5px;
    color: var(--kcp-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.kcp-page-heading p {
    margin: 0;
    color: var(--kcp-muted);
    font-size: 16px;
}

.kcp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--kcp-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.kcp-eyebrow svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.kcp-back-cart,
.kcp-login-link,
.kcp-order-heading a {
    color: var(--kcp-accent) !important;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.kcp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.58fr) minmax(390px, .92fr);
    gap: 32px;
    align-items: start;
}

.kcp-main-column,
.kcp-sidebar-column,
.kcp-sidebar-inner {
    min-width: 0;
}

.kcp-card,
.kcp-side-card,
.kcp-order-card {
    border: 1px solid var(--kcp-border);
    border-radius: var(--kcp-radius);
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--kcp-shadow);
}

.kcp-card {
    margin-bottom: 22px;
    padding: 30px;
}

.kcp-section-heading {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: start;
    margin-bottom: 24px;
}

.kcp-section-heading h2,
.kcp-order-heading h2,
.kcp-side-card h2 {
    margin: 0;
    color: var(--kcp-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    font-weight: 600;
    line-height: 1.25;
}

.kcp-section-heading h2 span {
    color: var(--kcp-accent);
}

.kcp-section-heading p {
    margin: 5px 0 0;
    color: var(--kcp-muted);
    font-size: 13px;
}

.kcp-section-icon {
    color: var(--kcp-accent);
    line-height: 0;
}

.kcp-section-icon svg,
.kcp-trust-item svg,
.kcp-side-benefit svg,
.kcp-help-bar svg,
.kcp-coupon-label svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.kcp-login-link {
    white-space: nowrap;
    margin-top: 3px;
}

.kcp-customer-details .woocommerce-billing-fields > h3,
.kcp-customer-details .woocommerce-additional-fields > h3 {
    display: none;
}

.kcp-customer-details .col2-set,
.kcp-customer-details .col-1,
.kcp-customer-details .col-2,
.kcp-customer-details .woocommerce-billing-fields,
.kcp-customer-details .woocommerce-shipping-fields,
.kcp-customer-details .woocommerce-additional-fields {
    width: 100% !important;
    float: none !important;
}

.kcp-customer-details .woocommerce-billing-fields__field-wrapper,
.kcp-customer-details .woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
}

.kcp-customer-details .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 0 17px !important;
    padding: 0 !important;
}

.kcp-customer-details .form-row-wide,
.kcp-customer-details #billing_address_1_field,
.kcp-customer-details #billing_address_2_field,
.kcp-customer-details #shipping_address_1_field,
.kcp-customer-details #shipping_address_2_field,
.kcp-customer-details #billing_company_field,
.kcp-customer-details #shipping_company_field {
    grid-column: 1 / -1;
}

.kcp-page form .form-row label {
    display: block;
    margin-bottom: 7px;
    color: #3f3d38;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.kcp-page form .form-row label .required {
    color: var(--kcp-accent);
}

.kcp-page input[type="text"],
.kcp-page input[type="email"],
.kcp-page input[type="tel"],
.kcp-page input[type="password"],
.kcp-page input[type="number"],
.kcp-page select,
.kcp-page textarea,
.kcp-page .select2-container .select2-selection--single,
.kcp-page .wc-stripe-elements-field,
.kcp-page .wc-stripe-iban-element-field {
    width: 100%;
    min-height: 48px;
    margin: 0;
    border: 1px solid #dcd7cf !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--kcp-text);
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.kcp-page input[type="text"],
.kcp-page input[type="email"],
.kcp-page input[type="tel"],
.kcp-page input[type="password"],
.kcp-page input[type="number"],
.kcp-page select,
.kcp-page textarea {
    padding: 12px 14px !important;
}

.kcp-page .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 46px;
    padding-left: 14px;
}

.kcp-page .select2-container .select2-selection--single .select2-selection__arrow {
    height: 46px;
}

.kcp-page input:focus,
.kcp-page select:focus,
.kcp-page textarea:focus,
.kcp-page .select2-container--focus .select2-selection {
    outline: none;
    border-color: var(--kcp-accent) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--kcp-accent) 13%, transparent) !important;
}

.kcp-page .woocommerce-invalid input,
.kcp-page .woocommerce-invalid select,
.kcp-page .woocommerce-invalid .select2-selection {
    border-color: var(--kcp-error) !important;
}

.kcp-shipping-address-fields {
    margin-top: 4px;
}

.kcp-shipping-address-fields #ship-to-different-address {
    margin: 4px 0 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
}

.kcp-shipping-address-fields #ship-to-different-address label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.kcp-shipping-address-fields .woocommerce-additional-fields {
    margin-top: 10px;
}

.kcp-shipping-address-fields textarea {
    min-height: 105px;
    resize: vertical;
}

.kcp-shipping-loading,
.kcp-shipping-message {
    padding: 18px;
    border: 1px dashed #d9d1c6;
    border-radius: 4px;
    background: var(--kcp-soft);
    color: var(--kcp-muted);
    font-size: 13px;
}

.kcp-shipping-loading span {
    display: inline-block;
    width: 11px;
    height: 11px;
    margin-right: 8px;
    border: 2px solid #d7d0c6;
    border-top-color: var(--kcp-accent);
    border-radius: 50%;
    animation: kcp-spin .8s linear infinite;
}

@keyframes kcp-spin { to { transform: rotate(360deg); } }

.kcp-shipping-package + .kcp-shipping-package {
    margin-top: 18px;
}

.kcp-shipping-package-title {
    margin: 0 0 10px;
    font-size: 13px;
}

.kcp-shipping-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.kcp-shipping-option {
    position: relative;
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    width: 100%;
    min-height: 96px;
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--kcp-border) !important;
    border-radius: 5px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--kcp-text) !important;
    cursor: pointer;
    text-align: left;
    text-transform: none !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.kcp-shipping-option:hover,
.kcp-shipping-option:focus-visible,
.kcp-shipping-option.is-selected {
    border-color: var(--kcp-accent) !important;
    background: #fdf8f3 !important;
    box-shadow: 0 7px 18px rgba(84, 49, 18, .07) !important;
    outline: none;
}

.kcp-choice-dot {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid #a9a49c;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 18px;
}

.kcp-shipping-option.is-selected .kcp-choice-dot {
    border-color: var(--kcp-accent);
}

.kcp-shipping-option.is-selected .kcp-choice-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--kcp-accent);
}

.kcp-shipping-option-content {
    display: block;
    min-width: 0;
    color: var(--kcp-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.kcp-shipping-option-content .woocommerce-Price-amount {
    float: right;
    margin-left: 12px;
    color: var(--kcp-text);
    font-weight: 750;
    white-space: nowrap;
}

.kcp-shipping-option-content img {
    width: auto;
    max-width: 76px;
    max-height: 30px;
    margin-right: 8px;
    vertical-align: middle;
}

.kcp-payment-card #payment {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.kcp-payment-card #payment::before,
.kcp-payment-card #payment::after {
    display: none;
}

.kcp-payment-card #payment .wc_payment_methods {
    margin: 0 0 17px !important;
    padding: 0 !important;
    border: 1px solid var(--kcp-border);
    border-radius: 5px;
    background: #fff;
    list-style: none !important;
    overflow: hidden;
}

.kcp-payment-card #payment .wc_payment_method {
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--kcp-border);
    list-style: none !important;
}

.kcp-payment-card #payment .wc_payment_method:last-child {
    border-bottom: 0;
}

.kcp-payment-card #payment .wc_payment_method {
    position: relative;
    overflow: hidden;
}

.kcp-payment-card #payment .wc_payment_method > input[name="payment_method"] {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

.kcp-payment-card #payment .wc_payment_method > label {
    position: relative;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    margin: 0 !important;
    padding: 16px 18px 16px 52px !important;
    color: var(--kcp-text) !important;
    cursor: pointer;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
    text-align: left;
}

.kcp-payment-card #payment .wc_payment_method > label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 19px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #a9a49c;
    border-radius: 50%;
    background: #fff;
    transform: translateY(-50%);
}

.kcp-payment-card #payment .wc_payment_method > label::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 23px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--kcp-accent);
    opacity: 0;
    transform: translateY(-50%);
}

.kcp-payment-card #payment .wc_payment_method.is-selected > label {
    background: #fdf8f3 !important;
}

.kcp-payment-card #payment .wc_payment_method.is-selected > label::before {
    border-color: var(--kcp-accent);
}

.kcp-payment-card #payment .wc_payment_method.is-selected > label::after {
    opacity: 1;
}

.kcp-payment-card #payment .wc_payment_method label img {
    display: inline-block !important;
    float: none !important;
    width: auto !important;
    max-width: 70px !important;
    max-height: 26px !important;
    margin: 0 0 0 auto !important;
    object-fit: contain;
    vertical-align: middle;
}

.kcp-payment-card #payment .wc_payment_method label img + img {
    margin-left: 7px !important;
}

.kcp-payment-card #payment .payment_box {
    width: 100%;
    margin: 0 !important;
    padding: 20px !important;
    border-top: 1px solid var(--kcp-border);
    border-radius: 0 !important;
    background: #fcfbf9 !important;
    color: var(--kcp-text);
}

.kcp-payment-card #payment .payment_box::before {
    display: none !important;
}

.kcp-payment-card #payment .payment_box p:last-child {
    margin-bottom: 0;
}

.kcp-payment-card .place-order {
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-payment-card .woocommerce-terms-and-conditions-wrapper {
    margin: 12px 0 15px;
    color: var(--kcp-muted);
    font-size: 12px;
}

.kcp-payment-card .woocommerce-terms-and-conditions-wrapper a {
    color: var(--kcp-accent);
    text-decoration: underline;
}

.kcp-payment-card #place_order {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0 !important;
    padding: 16px 24px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: linear-gradient(100deg, #1d270e, var(--kcp-primary)) !important;
    box-shadow: 0 10px 24px rgba(36, 49, 15, .16);
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .01em;
    text-transform: uppercase;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.kcp-payment-card #place_order::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 9px;
    background: currentColor;
    clip-path: path("M4 7V5a4 4 0 0 1 8 0v2h1.5A1.5 1.5 0 0 1 15 8.5v6A1.5 1.5 0 0 1 13.5 16h-11A1.5 1.5 0 0 1 1 14.5v-6A1.5 1.5 0 0 1 2.5 7H4Zm2 0h4V5a2 2 0 0 0-4 0v2Z");
}

.kcp-payment-card #place_order:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(36, 49, 15, .22);
}

.kcp-payment-card #place_order:disabled {
    opacity: .62;
    cursor: wait;
}

.kcp-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 26px;
    padding: 24px 16px;
    border: 1px solid var(--kcp-border);
    border-radius: var(--kcp-radius);
    background: rgba(255,255,255,.74);
}

.kcp-trust-item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    color: var(--kcp-accent);
    text-align: center;
}

.kcp-trust-item strong {
    color: var(--kcp-text);
    font-size: 12px;
}

.kcp-trust-item small {
    color: var(--kcp-muted);
    font-size: 11px;
}

body.kcp-sticky-summary .kcp-sidebar-inner {
    position: sticky;
    top: 28px;
}

.admin-bar.kcp-sticky-summary .kcp-sidebar-inner {
    top: 60px;
}

.kcp-order-card {
    overflow: hidden;
}

.kcp-order-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 24px 24px 20px;
    border-bottom: 1px solid var(--kcp-border);
}

.kcp-order-heading h2 {
    font-size: 19px;
}

.kcp-order-products {
    padding: 20px 24px;
}

.kcp-order-product {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.kcp-order-product + .kcp-order-product {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--kcp-border);
}

.kcp-product-image {
    width: 78px;
    height: 78px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--kcp-soft);
}

.kcp-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.kcp-product-copy h3 {
    margin: 1px 0 6px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.kcp-product-copy p,
.kcp-product-copy small,
.kcp-product-copy span {
    display: block;
    margin: 0 0 3px;
    color: var(--kcp-muted);
    font-size: 11px;
    line-height: 1.45;
}

.kcp-product-meta dl,
.kcp-product-meta p {
    margin: 3px 0;
    font-size: 11px;
}

.kcp-product-price {
    margin-top: 2px;
    white-space: nowrap;
    font-size: 13px;
}

.kcp-coupon-box {
    margin: 0 24px 20px;
    padding: 13px;
    border: 1px solid #e8ded2;
    border-radius: 4px;
    background: #fcf8f3;
}

.kcp-coupon-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--kcp-accent);
    font-size: 12px;
    font-weight: 600;
}

.kcp-coupon-label svg {
    width: 18px;
    height: 18px;
}

.kcp-coupon-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.kcp-coupon-controls input {
    min-height: 42px !important;
    padding: 10px 11px !important;
    font-size: 12px !important;
}

.kcp-coupon-controls .button,
.kcp-remove-coupon {
    min-height: 42px;
    padding: 9px 15px !important;
    border: 1px solid #d7d0c8 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: var(--kcp-text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.kcp-coupon-message {
    display: none;
    margin-top: 9px;
    font-size: 11px;
}

.kcp-coupon-message.is-error,
.kcp-coupon-message.is-success {
    display: block;
}

.kcp-coupon-message.is-error { color: var(--kcp-error); }
.kcp-coupon-message.is-success { color: var(--kcp-success); }

.kcp-order-totals {
    padding: 20px 24px 24px;
    border-top: 1px solid var(--kcp-border);
}

.kcp-total-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    color: #3b3935;
    font-size: 13px;
}

.kcp-total-row strong {
    color: var(--kcp-text);
    font-weight: 700;
}

.kcp-coupon-row {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

.kcp-coupon-row .woocommerce-remove-coupon {
    display: none;
}

.kcp-remove-coupon {
    min-height: auto;
    padding: 4px 7px !important;
    color: var(--kcp-accent) !important;
}

.kcp-grand-total {
    margin: 18px 0 4px;
    padding-top: 17px;
    border-top: 1px solid var(--kcp-border);
    font-size: 18px;
    font-weight: 700;
}

.kcp-grand-total .includes_tax {
    display: none;
}

.kcp-tax-note {
    color: var(--kcp-muted);
    font-size: 10px;
}

.kcp-shipping-source {
    position: absolute !important;
    left: -100000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

#order_review,
.kcp-sidebar-column .woocommerce-checkout-review-order,
.kcp-sidebar-column .woocommerce-checkout-review-order-table,
.kcp-order-card {
    display: block !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: auto !important;
}

.kcp-sidebar-column .blockUI.blockOverlay {
    border-radius: var(--kcp-radius);
    background: rgba(255, 255, 255, .76) !important;
}

.kcp-order-heading,
.kcp-order-products,
.kcp-coupon-box,
.kcp-order-totals,
.kcp-order-product,
.kcp-product-copy,
.kcp-total-row {
    min-width: 0;
    max-width: 100%;
}

.kcp-product-copy,
.kcp-product-copy h3,
.kcp-product-meta {
    overflow-wrap: anywhere;
}

/* Stripe/PayPal fields must not inherit the old theme's floats and narrow widths. */
.kcp-payment-card #payment .payment_box,
.kcp-payment-card #payment .payment_box form,
.kcp-payment-card #payment .payment_box fieldset,
.kcp-payment-card #payment .payment_box .form-row,
.kcp-payment-card #payment .payment_box .wc-stripe-elements-field,
.kcp-payment-card #payment .payment_box .stripe-source-errors,
.kcp-payment-card #payment .payment_box #wc-stripe-cc-form {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

.kcp-payment-card #payment .payment_box .form-row {
    clear: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}

.kcp-payment-card #payment .payment_box .form-row-first,
.kcp-payment-card #payment .payment_box .form-row-last {
    width: calc(50% - 7px) !important;
}

.kcp-payment-card #payment .payment_box .form-row-first {
    float: left !important;
}

.kcp-payment-card #payment .payment_box .form-row-last {
    float: right !important;
}

.kcp-payment-card #payment .payment_box .form-row-wide {
    clear: both !important;
}

.kcp-payment-card #payment .payment_box label {
    display: block !important;
    width: 100% !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    font-size: 12px !important;
}

.kcp-payment-card #payment .payment_box input,
.kcp-payment-card #payment .payment_box select,
.kcp-payment-card #payment .payment_box .wc-stripe-elements-field {
    min-height: 44px !important;
    border: 1px solid #ded8d0 !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.kcp-side-card {
    margin-top: 22px;
    padding: 25px 24px;
}

.kcp-side-card h2 {
    margin-bottom: 20px;
    font-size: 19px;
}

.kcp-side-benefit {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
}

.kcp-side-benefit + .kcp-side-benefit {
    margin-top: 19px;
}

.kcp-side-benefit > span {
    color: var(--kcp-accent);
    line-height: 0;
}

.kcp-side-benefit strong,
.kcp-side-benefit small {
    display: block;
}

.kcp-side-benefit strong {
    margin-bottom: 4px;
    font-size: 12px;
}

.kcp-side-benefit small {
    color: var(--kcp-muted);
    font-size: 11px;
    line-height: 1.45;
}

.kcp-review-card {
    text-align: center;
}

.kcp-stars {
    margin-bottom: 8px;
    color: var(--kcp-accent);
    font-size: 21px;
    letter-spacing: 2px;
}

.kcp-review-card strong {
    font-size: 13px;
}

.kcp-review-card p {
    margin: 12px 0 7px;
    color: var(--kcp-muted);
    font-size: 12px;
}

.kcp-review-card small {
    color: var(--kcp-success);
}

.kcp-help-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    padding: 22px;
    border-top: 1px solid var(--kcp-border);
    background: rgba(255,255,255,.68);
    color: var(--kcp-muted);
    text-align: center;
}

.kcp-help-bar span {
    color: var(--kcp-accent);
    line-height: 0;
}

.kcp-help-bar p {
    margin: 0;
    font-size: 13px;
}

.kcp-help-bar a {
    color: var(--kcp-text);
    font-weight: 700;
}

.kcp-page .woocommerce-error,
.kcp-page .woocommerce-info,
.kcp-page .woocommerce-message,
body.kcp-premium-checkout > .woocommerce-notices-wrapper .woocommerce-error,
body.kcp-premium-checkout > .woocommerce-notices-wrapper .woocommerce-info,
body.kcp-premium-checkout > .woocommerce-notices-wrapper .woocommerce-message {
    width: min(1440px, calc(100% - 48px));
    margin: 0 auto 18px !important;
    border: 1px solid var(--kcp-border);
    border-top: 3px solid var(--kcp-accent);
    border-radius: 4px;
    background: #fff;
    color: var(--kcp-text);
    box-shadow: none;
}

.kcp-page .blockUI.blockOverlay {
    background: rgba(255,255,255,.7) !important;
}

@media (max-width: 1180px) {
    .kcp-header-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 22px;
    }

    .kcp-checkout-nav .kcp-nav-list {
        gap: 18px;
    }

    .kcp-checkout-nav .kcp-nav-list > li:nth-child(n+6) {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .kcp-layout {
        grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr);
        gap: 22px;
    }

    .kcp-card { padding: 24px; }
    .kcp-shipping-options { grid-template-columns: 1fr; }
    .kcp-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
}

@media (max-width: 860px) {
    .kcp-header-inner {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        width: min(100% - 28px, 720px);
        padding: 15px 0 10px;
    }

    .kcp-brand {
        min-width: 0;
        margin-right: auto;
    }

    .kcp-brand-image {
        max-width: 145px;
        max-height: 40px;
    }

    .kcp-brand-word {
        font-size: 25px;
    }

    .kcp-header-secure {
        font-size: 11px;
    }

    .kcp-checkout-nav {
        order: 3;
        width: 100%;
        margin-top: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .kcp-checkout-nav .kcp-nav-list {
        justify-content: flex-start;
        gap: 22px;
        width: max-content;
        min-width: 100%;
    }

    .kcp-checkout-nav .kcp-nav-list > li,
    .kcp-checkout-nav .kcp-nav-list > li:nth-child(n+6) {
        display: block !important;
    }

    .kcp-checkout-nav .kcp-nav-list > li:nth-child(n+7) {
        display: none !important;
    }

    .kcp-checkout-nav .kcp-nav-list > li > a {
        padding: 8px 0 10px !important;
        font-size: 12px;
    }

    .kcp-page { padding-top: 26px; }
    .kcp-container { width: min(100% - 28px, 720px); }
    .kcp-page-heading { align-items: flex-start; flex-direction: column; }
    .kcp-layout { display: flex; flex-direction: column; }
    .kcp-main-column, .kcp-sidebar-column { width: 100%; }
    .kcp-sidebar-column { order: -1; }
    body.kcp-sticky-summary .kcp-sidebar-inner { position: static; }
    .kcp-reassurance-card, .kcp-review-card { display: none; }
    .kcp-order-products { display: none; }
    .kcp-order-heading { border-bottom: 0; }
    .kcp-coupon-box { margin-top: 0; }
}

@media (max-width: 620px) {
    .kcp-container { width: min(100% - 20px, 560px); }
    .kcp-page-heading h1 { font-size: 34px; }
    .kcp-card { padding: 20px 16px; }
    .kcp-section-heading { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
    .kcp-section-heading .kcp-login-link { grid-column: 2; margin-top: 2px; }
    .kcp-customer-details .woocommerce-billing-fields__field-wrapper,
    .kcp-customer-details .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
    .kcp-customer-details .form-row { grid-column: 1 !important; }
    .kcp-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 8px; }
    .kcp-order-heading, .kcp-order-totals { padding-left: 16px; padding-right: 16px; }
    .kcp-coupon-box { margin-left: 16px; margin-right: 16px; }
    .kcp-coupon-controls { grid-template-columns: 1fr; }
    .kcp-coupon-controls .button { width: 100%; }
    .kcp-payment-card #payment .payment_box .form-row-first,
    .kcp-payment-card #payment .payment_box .form-row-last {
        float: none !important;
        width: 100% !important;
    }
    .kcp-help-bar { align-items: flex-start; padding-left: 10px; padding-right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .kcp-page *, .kcp-page *::before, .kcp-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.0 — native WooCommerce shipping + safe summary. */
/* ========================================================================== */

body.kcp-premium-checkout .kcp-native-review {
    display: none !important;
}

body.kcp-premium-checkout .back-to-top,
body.kcp-premium-checkout .back-to-top-wrapper,
body.kcp-premium-checkout .scroll-to-top,
body.kcp-premium-checkout .scrollup,
body.kcp-premium-checkout #back-top,
body.kcp-premium-checkout #back-to-top,
body.kcp-premium-checkout .to-top,
body.kcp-premium-checkout a[href="#top"].back-to-top,
body.kcp-premium-checkout .sticky-menu-right,
body.kcp-premium-checkout .right-fixed-menu {
    display: none !important;
}

/* The visible summary is an independent fragment and must never receive the
   blockUI overlay used by the native hidden order review. */
#kcp-order-summary {
    position: relative;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
}

#kcp-order-summary > .blockUI,
#kcp-order-summary > .blockOverlay,
#kcp-order-summary > .blockMsg {
    display: none !important;
}

/* Kraftie 2.1 shipping selector: one visible card per carrier, while the
   actual package inputs remain in the form for WooCommerce and pickup plugins. */
.kcp-shipping-host,
.kcp-shipping-host * {
    box-sizing: border-box;
}

.kcp-shipping-options {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-shipping-option {
    position: relative;
    display: grid !important;
    grid-template-columns: 18px minmax(105px, 132px) minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
    width: 100%;
    min-width: 0;
    min-height: 108px;
    margin: 0 !important;
    padding: 17px 18px !important;
    border: 1px solid var(--kcp-border) !important;
    border-radius: 7px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--kcp-text) !important;
    cursor: pointer;
    text-align: left;
    text-transform: none !important;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.kcp-shipping-option:hover,
.kcp-shipping-option:focus-within,
.kcp-shipping-option.is-selected {
    border-color: var(--kcp-accent) !important;
    background: #fdf8f3 !important;
    box-shadow: 0 8px 22px rgba(84, 49, 18, .08) !important;
}

.kcp-shipping-option.is-selected {
    transform: translateY(-1px);
}

.kcp-shipping-option > input.kcp-shipping-choice,
.kcp-shipping-option--native > input.shipping_method {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

.kcp-choice-dot {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1.5px solid #a9a49c;
    border-radius: 50%;
    background: #fff;
    flex: 0 0 18px;
}

.kcp-shipping-option.is-selected .kcp-choice-dot {
    border-color: var(--kcp-accent);
}

.kcp-shipping-option.is-selected .kcp-choice-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--kcp-accent);
}

.kcp-shipping-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
    height: 48px;
}

.kcp-shipping-logo img {
    display: block !important;
    float: none !important;
    width: auto !important;
    max-width: 132px !important;
    height: auto !important;
    max-height: 46px !important;
    margin: 0 !important;
    object-fit: contain;
}

.kcp-shipping-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.kcp-shipping-copy strong {
    color: var(--kcp-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.kcp-shipping-copy small {
    color: var(--kcp-muted);
    font-size: 12px;
    font-weight: 450;
    line-height: 1.45;
}

.kcp-shipping-price {
    color: var(--kcp-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}

.kcp-shipping-package-block + .kcp-shipping-package-block {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--kcp-border);
}

.kcp-shipping-package-title {
    margin: 0 0 10px;
    color: var(--kcp-text);
    font-size: 13px;
    font-weight: 800;
}

/* Native rate inputs are intentionally kept in the DOM. Carrier extensions
   attach their point-relay controls through woocommerce_after_shipping_rate. */
.kcp-native-shipping-controls {
    width: 100%;
    margin-top: 14px;
}

.kcp-native-shipping-package {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kcp-native-shipping-package + .kcp-native-shipping-package {
    margin-top: 8px !important;
}

.kcp-native-rate {
    display: none;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.kcp-native-rate.is-active {
    display: block;
}

.kcp-native-rate-head {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.kcp-native-rate-extra,
.kcp-native-rate-extra--fallback {
    display: none;
    width: 100%;
    margin: 12px 0 0;
    padding: 15px;
    border: 1px solid var(--kcp-border);
    border-radius: 6px;
    background: #fff;
    color: var(--kcp-text);
}

.kcp-native-rate.is-active .kcp-native-rate-extra,
.kcp-native-rate-extra--fallback.is-active {
    display: block;
}

.kcp-native-rate-extra:empty,
.kcp-native-rate-extra--fallback:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Keep every control injected by Colissimo or WCMultiShipping usable. */
.kcp-shipping-host .select2-container,
.kcp-shipping-host select,
.kcp-shipping-host button,
.kcp-shipping-host .button,
.kcp-shipping-host a,
.kcp-shipping-host [class*="relay"],
.kcp-shipping-host [class*="pickup"],
.kcp-shipping-host [class*="point"],
.kcp-shipping-host [id*="relay"],
.kcp-shipping-host [id*="pickup"],
.kcp-shipping-host [id*="point"] {
    max-width: 100%;
}

.kcp-shipping-host .button,
.kcp-shipping-host button {
    white-space: normal;
}

.kcp-shipping-host .shipping-calculator-button {
    color: var(--kcp-accent) !important;
}

/* Labels possibly generated by carrier extensions/native fragments. */
.kcp-shipping-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
}

.kcp-carrier-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.kcp-carrier-logo img {
    display: block !important;
    width: auto !important;
    max-width: 116px !important;
    height: auto !important;
    max-height: 38px !important;
    margin: 0 !important;
    object-fit: contain;
}

.kcp-shipping-label-text {
    min-width: 0;
}

/* Payment methods: deterministic radio alignment independent of Hermes. */
.kcp-payment-card #payment .wc_payment_method > label {
    box-sizing: border-box !important;
    min-width: 0;
    padding-left: 52px !important;
    padding-right: 16px !important;
}

.kcp-payment-card #payment .wc_payment_method > label::before {
    left: 18px !important;
}

.kcp-payment-card #payment .wc_payment_method > label::after {
    left: 22px !important;
}

.kcp-payment-card #payment .wc_payment_method > label img:first-of-type {
    margin-left: auto !important;
}

.kcp-payment-card #payment .wc_payment_method > label img:not(:first-of-type) {
    margin-left: 6px !important;
}

.kcp-payment-card #payment .wc_payment_method > label svg,
.kcp-payment-card #payment .wc_payment_method > label .payment_method_icon {
    flex: 0 0 auto;
    margin-left: auto;
}

.kcp-payment-card #payment .payment_box {
    overflow: hidden;
}

/* Keep products visible on mobile and stack carrier cards cleanly. */
@media (max-width: 1100px) {
    .kcp-shipping-options {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 860px) {
    .kcp-order-card .kcp-order-products {
        display: block !important;
    }

    .kcp-order-card .kcp-order-heading {
        border-bottom: 1px solid var(--kcp-border) !important;
    }

    .kcp-order-card .kcp-coupon-box {
        margin-top: 0;
    }
}

@media (max-width: 620px) {
    .kcp-shipping-option {
        grid-template-columns: 18px 94px minmax(0, 1fr) !important;
        gap: 10px;
        min-height: 98px;
        padding: 14px !important;
    }

    .kcp-shipping-logo {
        height: 42px;
    }

    .kcp-shipping-logo img {
        max-width: 94px !important;
        max-height: 40px !important;
    }

    .kcp-shipping-copy strong {
        font-size: 14px;
    }

    .kcp-shipping-price {
        grid-column: 3;
        margin-top: -2px;
        font-size: 14px;
    }

    .kcp-native-rate-extra,
    .kcp-native-rate-extra--fallback {
        padding: 12px;
    }

    .kcp-carrier-logo img {
        max-width: 92px !important;
    }

    .kcp-order-product {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
    }

    .kcp-product-image {
        width: 64px;
        height: 64px;
    }

    .kcp-product-price {
        grid-column: 2;
        margin-top: 4px;
        white-space: normal;
    }

    .kcp-order-heading {
        align-items: flex-start;
    }

    .kcp-order-heading h2 {
        font-size: 18px;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.2 — hotfix desktop/mobile chrome + shipping UI. */
/* ========================================================================== */

body.kcp-premium-checkout {
    overflow-x: hidden;
}

/* Hide any remaining Hermes/mobile header pieces on checkout. */
body.kcp-premium-checkout .header-mobile,
body.kcp-premium-checkout .mobile-header,
body.kcp-premium-checkout .mobile-header-wrapper,
body.kcp-premium-checkout .mobile-navigation,
body.kcp-premium-checkout .mobile-nav,
body.kcp-premium-checkout .nav-mobile,
body.kcp-premium-checkout .menu-toggle,
body.kcp-premium-checkout .header-toggle,
body.kcp-premium-checkout .header-icons,
body.kcp-premium-checkout .header-icon,
body.kcp-premium-checkout .search-toggle,
body.kcp-premium-checkout .account-toggle,
body.kcp-premium-checkout .mobile-tools,
body.kcp-premium-checkout .offcanvas-menu,
body.kcp-premium-checkout .offcanvas-toggle,
body.kcp-premium-checkout .mainmenu-area,
body.kcp-premium-checkout .header-bottom,
body.kcp-premium-checkout .header-bottom-area,
body.kcp-premium-checkout .topbar,
body.kcp-premium-checkout .top-bar,
body.kcp-premium-checkout .site-topbar,
body.kcp-premium-checkout .header-top,
body.kcp-premium-checkout .header-top-area {
    display: none !important;
}

.kcp-checkout-header,
.kcp-checkout-header .kcp-header-inner,
.kcp-checkout-header .kcp-brand,
.kcp-checkout-header .kcp-checkout-nav,
.kcp-checkout-header .kcp-header-secure {
    box-sizing: border-box !important;
}

.kcp-header-inner {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    align-items: center !important;
}

.kcp-brand img,
.kcp-brand .kcp-brand-image,
.kcp-brand .custom-logo {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 220px !important;
    height: auto !important;
    max-height: 52px !important;
    object-fit: contain !important;
    float: none !important;
}

.kcp-brand-word {
    display: inline-block !important;
    line-height: 1 !important;
}

.kcp-checkout-nav,
.kcp-checkout-nav ul,
.kcp-checkout-nav li {
    list-style: none !important;
}

.kcp-checkout-nav ul.kcp-nav-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(16px, 2vw, 30px) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-checkout-nav ul.kcp-nav-list > li {
    display: block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-checkout-nav ul.kcp-nav-list > li > a {
    display: block !important;
    padding: 28px 0 26px !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.kcp-header-secure svg,
.kcp-eyebrow svg,
.kcp-section-icon svg {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
}

.kcp-section-icon svg,
.kcp-trust-item svg,
.kcp-side-benefit svg,
.kcp-help-bar svg,
.kcp-coupon-label svg {
    width: 25px !important;
    height: 25px !important;
    max-width: 25px !important;
    max-height: 25px !important;
}

.kcp-page-heading,
.kcp-page-heading > div,
.kcp-section-heading,
.kcp-order-heading,
.kcp-customer-details,
.kcp-customer-details .woocommerce-billing-fields__field-wrapper,
.kcp-customer-details .woocommerce-shipping-fields__field-wrapper,
.kcp-order-product,
.kcp-order-card,
.kcp-card,
.kcp-side-card,
.kcp-layout,
.kcp-main-column,
.kcp-sidebar-column {
    min-width: 0 !important;
}

.kcp-page-heading h1 {
    padding-left: 2px;
}

/* Shipping cards: keep only the premium cards visible; native inputs stay hidden. */
.kcp-native-shipping-controls,
.kcp-native-shipping-controls * {
    box-sizing: border-box !important;
}

.kcp-native-shipping-package,
.kcp-native-shipping-package li,
.kcp-native-rate {
    list-style: none !important;
}

.kcp-native-rate {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-native-rate-head,
.kcp-native-rate-head *,
.kcp-native-rate > label,
.kcp-native-rate > input,
.kcp-native-shipping-package > label,
.kcp-native-shipping-package > input {
    position: absolute !important;
    left: -100000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.kcp-native-rate:not(.is-active) > .kcp-native-rate-extra {
    display: none !important;
}

.kcp-native-rate.is-active > .kcp-native-rate-extra {
    display: block !important;
}

.kcp-shipping-option {
    overflow: hidden;
}

.kcp-shipping-option .kcp-shipping-copy strong,
.kcp-shipping-option .kcp-shipping-copy small,
.kcp-shipping-option .kcp-shipping-price {
    overflow-wrap: anywhere;
}

.kcp-shipping-option .kcp-shipping-logo img {
    max-width: 138px !important;
    max-height: 42px !important;
}

.kcp-payment-card #payment .wc_payment_methods,
.kcp-payment-card #payment .wc_payment_method,
.kcp-payment-card #payment .payment_box {
    overflow: hidden !important;
}

.kcp-payment-card #payment .wc_payment_method > label {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    white-space: normal !important;
}

.kcp-payment-card #payment .wc_payment_method > label img {
    flex: 0 0 auto;
}

@media (max-width: 860px) {
    .kcp-header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        width: min(100% - 20px, 720px) !important;
        min-height: 64px !important;
        padding: 10px 0 !important;
    }

    .kcp-brand img,
    .kcp-brand .kcp-brand-image,
    .kcp-brand .custom-logo {
        max-width: 190px !important;
        max-height: 44px !important;
    }

    .kcp-checkout-nav {
        display: none !important;
    }

    .kcp-header-secure {
        display: inline-flex !important;
        margin-left: auto !important;
        font-size: 11px !important;
    }

    .kcp-page-heading {
        margin-top: 0 !important;
    }

    .kcp-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .kcp-sidebar-column {
        order: -1;
    }

    .kcp-shipping-option {
        grid-template-columns: 18px 88px minmax(0, 1fr) !important;
        gap: 10px !important;
        padding: 14px !important;
        min-height: 92px !important;
    }

    .kcp-shipping-price {
        grid-column: 3 !important;
        justify-self: start !important;
        margin-top: 0 !important;
    }

    .kcp-shipping-option .kcp-shipping-logo img {
        max-width: 96px !important;
        max-height: 36px !important;
    }
}

@media (max-width: 620px) {
    .kcp-container {
        width: min(100% - 16px, 560px) !important;
    }

    .kcp-card,
    .kcp-side-card,
    .kcp-order-card {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .kcp-order-heading,
    .kcp-order-totals {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .kcp-coupon-box {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    .kcp-header-secure span {
        display: none !important;
    }

    .kcp-header-secure svg {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px !important;
        max-height: 18px !important;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.3 — Hermes shell reset + burger-only mobile nav. */
/* ========================================================================== */

html.kcp-checkout-shell-active,
body.kcp-premium-checkout,
body.kcp-premium-checkout.kcp-checkout-shell-active {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
    transform: none !important;
}

body.kcp-premium-checkout .kcp-theme-shell-reset {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
}

body.kcp-premium-checkout #page,
body.kcp-premium-checkout .site,
body.kcp-premium-checkout .wrapper,
body.kcp-premium-checkout .page-wrapper,
body.kcp-premium-checkout .body-wrapper,
body.kcp-premium-checkout .site-wrapper,
body.kcp-premium-checkout .content-wrapper,
body.kcp-premium-checkout #main,
body.kcp-premium-checkout .site-main,
body.kcp-premium-checkout .main-area,
body.kcp-premium-checkout .page-area,
body.kcp-premium-checkout .main-container,
body.kcp-premium-checkout .site-content,
body.kcp-premium-checkout .content-area,
body.kcp-premium-checkout .main-content,
body.kcp-premium-checkout .col-main,
body.kcp-premium-checkout article.page,
body.kcp-premium-checkout .entry-content,
body.kcp-premium-checkout .woocommerce {
    left: auto !important;
    right: auto !important;
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
}

/* Some Hermes layouts reserve the vertical header width on the body shell. */
body.kcp-premium-checkout[class*="header-left"],
body.kcp-premium-checkout[class*="header-sidebar"],
body.kcp-premium-checkout[class*="vertical-header"],
body.kcp-premium-checkout[class*="sidebar-header"] {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.kcp-checkout-header,
.kcp-page {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.kcp-menu-toggle {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 9px;
    border: 1px solid #e6e0d7;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: var(--kcp-primary);
    cursor: pointer;
}

.kcp-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.kcp-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.kcp-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.kcp-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
    .kcp-checkout-header {
        position: relative;
        z-index: 1000;
    }

    .kcp-header-inner {
        position: relative;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: min(100% - 20px, 720px) !important;
        min-height: 66px !important;
        margin: 0 auto !important;
        padding: 10px 0 !important;
    }

    .kcp-brand {
        margin: 0 auto 0 0 !important;
    }

    .kcp-brand img,
    .kcp-brand .kcp-brand-image,
    .kcp-brand .custom-logo {
        width: auto !important;
        max-width: 178px !important;
        height: auto !important;
        max-height: 42px !important;
    }

    .kcp-menu-toggle {
        display: inline-flex !important;
        flex: 0 0 42px;
        order: 3;
    }

    .kcp-header-secure {
        display: none !important;
    }

    #kcp-checkout-nav.kcp-checkout-nav {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1001 !important;
        width: 100% !important;
        max-height: calc(100vh - 66px) !important;
        margin: 0 !important;
        padding: 10px 20px 16px !important;
        overflow-y: auto !important;
        border-top: 1px solid #ece7df;
        border-bottom: 1px solid #e3ddd4;
        background: #fff !important;
        box-shadow: 0 16px 28px rgba(30, 24, 18, .12);
    }

    #kcp-checkout-nav.kcp-checkout-nav.is-open {
        display: block !important;
    }

    #kcp-checkout-nav .kcp-nav-list {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    #kcp-checkout-nav .kcp-nav-list > li,
    #kcp-checkout-nav .kcp-nav-list > li:nth-child(n+6),
    #kcp-checkout-nav .kcp-nav-list > li:nth-child(n+7) {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border-bottom: 1px solid #eee9e2;
        list-style: none !important;
    }

    #kcp-checkout-nav .kcp-nav-list > li:last-child {
        border-bottom: 0;
    }

    #kcp-checkout-nav .kcp-nav-list > li > a {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 13px 2px !important;
        color: var(--kcp-text) !important;
        font-size: 14px !important;
        font-weight: 650 !important;
        text-decoration: none !important;
    }

    body.kcp-mobile-menu-open {
        overflow: hidden !important;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.4 — checkout outside the Hermes sidebar shell.  */
/* ========================================================================== */

html.kcp-detached-checkout,
body.kcp-detached-checkout {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
}

body.kcp-detached-checkout::before,
body.kcp-detached-checkout::after {
    display: none !important;
    content: none !important;
}

body.kcp-detached-checkout > .kcp-checkout-header,
body.kcp-detached-checkout > .kcp-page,
body.kcp-detached-checkout > .kcp-detached-footer,
body.kcp-detached-checkout > .kcp-detached-notices {
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transform: none !important;
}

body.kcp-detached-checkout > .kcp-checkout-header {
    z-index: 1000 !important;
}

body.kcp-detached-checkout > .kcp-page {
    z-index: 1 !important;
}

body.kcp-detached-checkout > .kcp-detached-footer {
    z-index: 1 !important;
    display: block !important;
}

body.kcp-detached-checkout .kcp-detached-theme-root,
body.kcp-detached-checkout .kcp-legacy-left-overlay {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Desktop: Kraftie's checkout-only horizontal navigation. */
@media (min-width: 861px) {
    body.kcp-detached-checkout .kcp-menu-toggle {
        display: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav.kcp-checkout-nav {
        position: static !important;
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        gap: clamp(18px, 2.4vw, 38px) !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list > li {
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        list-style: none !important;
    }
}

/* Mobile: no horizontal menu; the same main menu opens from the burger only. */
@media (max-width: 860px) {
    body.kcp-detached-checkout .kcp-menu-toggle {
        display: inline-flex !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav.kcp-checkout-nav {
        display: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav.kcp-checkout-nav.is-open {
        display: block !important;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.5 — final navigation and checkbox refinements.  */
/* ========================================================================== */

/* Desktop checkout header: keep the main menu horizontal and expose the
   existing WordPress child items as proper dropdowns. */
@media (min-width: 861px) {
    body.kcp-detached-checkout .kcp-checkout-header,
    body.kcp-detached-checkout .kcp-header-inner,
    body.kcp-detached-checkout #kcp-checkout-nav,
    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list,
    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list > li {
        overflow: visible !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list > li.menu-item-has-children {
        position: relative !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list > li.menu-item-has-children > a {
        display: inline-flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .kcp-nav-list > li.menu-item-has-children > a::after {
        content: "⌄";
        display: inline-block;
        margin-top: -3px;
        color: var(--kcp-accent);
        font-size: 12px;
        line-height: 1;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown {
        position: absolute !important;
        top: calc(100% - 10px) !important;
        left: -18px !important;
        z-index: 1200 !important;
        display: block !important;
        width: max-content !important;
        min-width: 225px !important;
        max-width: 320px !important;
        margin: 0 !important;
        padding: 10px !important;
        border: 1px solid #e8e1d8 !important;
        border-radius: 5px !important;
        background: #fff !important;
        box-shadow: 0 18px 38px rgba(32, 24, 16, .14) !important;
        list-style: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(7px) !important;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav li:hover > .sub-menu,
    body.kcp-detached-checkout #kcp-checkout-nav li:focus-within > .sub-menu,
    body.kcp-detached-checkout #kcp-checkout-nav li:hover > .mega_dropdown,
    body.kcp-detached-checkout #kcp-checkout-nav li:focus-within > .mega_dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu li,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown li {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        list-style: none !important;
        white-space: normal !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu li + li,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown li + li {
        border-top: 1px solid #f1ede7 !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu a,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown a {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 10px 11px !important;
        color: #26231f !important;
        background: transparent !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        text-decoration: none !important;
        text-transform: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu a:hover,
    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu a:focus,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown a:hover,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown a:focus {
        color: var(--kcp-accent) !important;
        background: #fcf7f1 !important;
        outline: none !important;
    }

    body.kcp-detached-checkout #kcp-checkout-nav .sub-menu .sub-menu,
    body.kcp-detached-checkout #kcp-checkout-nav .mega_dropdown .sub-menu {
        top: -11px !important;
        left: calc(100% - 2px) !important;
    }
}

/* Mobile uses Hermes' ordinary header and burger. The checkout-only desktop
   header must not create a second logo, menu or lock panel. */
@media (max-width: 860px) {
    body.kcp-premium-checkout .kcp-checkout-header,
    body.kcp-detached-checkout > .kcp-checkout-header,
    body.kcp-premium-checkout #kcp-checkout-nav,
    body.kcp-premium-checkout .kcp-menu-toggle,
    body.kcp-premium-checkout .kcp-header-secure {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    body.kcp-detached-checkout > .kcp-page {
        margin-top: 0 !important;
    }
}

/* WooCommerce and Hermes both style these checkboxes. Force one clean,
   accessible flex row so the box never sits on top of its wording. */
body.kcp-premium-checkout #ship-to-different-address,
body.kcp-premium-checkout #ship-to-different-address label,
body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper,
body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper .form-row,
body.kcp-premium-checkout .woocommerce-form__label-for-checkbox,
body.kcp-premium-checkout .woocommerce-form__label-for-checkbox.checkbox,
body.kcp-premium-checkout .wc-stripe-save-source,
body.kcp-premium-checkout .wc-stripe-save-source label {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    float: none !important;
    clear: both !important;
    width: auto !important;
    max-width: 100% !important;
    min-height: 20px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    transform: none !important;
}

body.kcp-premium-checkout #ship-to-different-address label,
body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox,
body.kcp-premium-checkout .wc-stripe-save-source label,
body.kcp-premium-checkout label[for="wc-stripe-new-payment-method"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    cursor: pointer !important;
    color: #3f3d38 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

body.kcp-premium-checkout #ship-to-different-address input[type="checkbox"],
body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper input[type="checkbox"],
body.kcp-premium-checkout .wc-stripe-save-source input[type="checkbox"],
body.kcp-premium-checkout #wc-stripe-new-payment-method {
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: inline-block !important;
    flex: 0 0 17px !important;
    width: 17px !important;
    min-width: 17px !important;
    max-width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    max-height: 17px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    border: 1px solid #aaa39a !important;
    border-radius: 2px !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    pointer-events: auto !important;
    transform: none !important;
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
}

body.kcp-premium-checkout #ship-to-different-address .woocommerce-form__label-for-checkbox > span,
body.kcp-premium-checkout .woocommerce-terms-and-conditions-checkbox-text,
body.kcp-premium-checkout .wc-stripe-save-source label > span,
body.kcp-premium-checkout label[for="wc-stripe-new-payment-method"] > span {
    position: static !important;
    display: block !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

body.kcp-premium-checkout .woocommerce-terms-and-conditions-wrapper .form-row.validate-required {
    margin: 14px 0 16px !important;
    padding: 0 !important;
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.6 — independent shipment per creator/package.   */
/* ========================================================================== */

.kcp-shipping-package-block.has-multiple-packages {
    margin: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--kcp-border);
    border-radius: 7px;
    background: #fff;
}

.kcp-shipping-package-block.has-multiple-packages + .kcp-shipping-package-block.has-multiple-packages {
    margin-top: 18px !important;
    padding-top: 18px !important;
    border-top: 1px solid var(--kcp-border) !important;
}

.kcp-shipping-package-heading {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 11px;
    align-items: start;
    margin: 0 0 14px;
    padding: 0 0 14px;
    border-bottom: 1px solid #eee9e2;
}

.kcp-shipping-package-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--kcp-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.kcp-shipping-package-copy {
    min-width: 0;
}

.kcp-shipping-package-title {
    margin: 0 0 3px !important;
    color: var(--kcp-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.25;
}

.kcp-shipping-package-copy p,
.kcp-shipping-package-copy small {
    display: block;
    margin: 0;
    color: var(--kcp-muted);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.kcp-shipping-package-copy small {
    margin-top: 2px;
}

.kcp-shipping-package-block .kcp-shipping-options--native {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.kcp-shipping-package-block .kcp-native-rate-extra--fallback {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    margin: 0 !important;
}

.kcp-shipping-package-block .kcp-native-rate-extra--fallback.is-active {
    display: block !important;
    margin-top: 2px !important;
}

.kcp-shipping-package-block .kcp-native-rate-extra--fallback:not(.is-active) {
    display: none !important;
}

.kcp-shipping-package-block .kcp-native-rate-extra--fallback .button,
.kcp-shipping-package-block .kcp-native-rate-extra--fallback button {
    width: auto !important;
    max-width: 100% !important;
}

@media (max-width: 1100px) {
    .kcp-shipping-package-block .kcp-shipping-options--native {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 620px) {
    .kcp-shipping-package-block.has-multiple-packages {
        padding: 14px !important;
    }

    .kcp-shipping-package-heading {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 9px;
    }

    .kcp-shipping-package-number {
        width: 27px;
        height: 27px;
        font-size: 12px;
    }

    .kcp-shipping-package-title {
        font-size: 16px !important;
    }
}

.kcp-pickup-context {
    margin: 0 0 9px !important;
    color: var(--kcp-muted) !important;
    font-size: 11px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.7 — premium cart page.                          */
/* ========================================================================== */

body.kcp-premium-cart {
    overflow-x: hidden;
    background: var(--kcp-page);
}

body.kcp-premium-cart .woocommerce-breadcrumb,
body.kcp-premium-cart .breadcrumbs,
body.kcp-premium-cart .breadcrumb,
body.kcp-premium-cart .page-title,
body.kcp-premium-cart .entry-title,
body.kcp-premium-cart .entry-header,
body.kcp-premium-cart .page-banner,
body.kcp-premium-cart .breadcrumbs-wrapper {
    display: none !important;
}

body.kcp-premium-cart .kcp-detached-theme-root,
html.kcp-detached-cart .kcp-detached-theme-root,
body.kcp-detached-cart .kcp-detached-theme-root,
body.kcp-premium-cart .kcp-legacy-left-overlay {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.kcp-premium-cart .kcp-page,
body.kcp-premium-cart .kcp-page * {
    box-sizing: border-box;
}

.kcp-cart-page {
    min-height: 70vh;
}

.kcp-cart-page-heading {
    align-items: flex-end;
}

.kcp-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(360px, .8fr);
    gap: 30px;
    align-items: start;
}

.kcp-cart-main-column,
.kcp-cart-sidebar-column,
.kcp-cart-form,
.kcp-cart-items-card,
.kcp-cart-items,
.kcp-cart-item,
.kcp-cart-item-copy {
    min-width: 0;
}

.kcp-cart-items-card {
    padding: 0;
    overflow: hidden;
}

.kcp-cart-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    border-bottom: 1px solid var(--kcp-border);
}

.kcp-cart-card-heading h2 {
    margin: 0;
    color: var(--kcp-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 650;
    line-height: 1.25;
}

.kcp-cart-card-heading span {
    color: var(--kcp-muted);
    font-size: 12px;
    font-weight: 650;
    white-space: nowrap;
}

.kcp-cart-items {
    padding: 0 26px;
}

.kcp-cart-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 26px 0;
    border-bottom: 1px solid var(--kcp-border);
}

.kcp-cart-item:last-child {
    border-bottom: 0;
}

.kcp-cart-item-image {
    width: 132px;
    height: 132px;
    overflow: hidden;
    border: 1px solid #eee8e0;
    border-radius: 6px;
    background: #faf8f5;
}

.kcp-cart-item-image a,
.kcp-cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
}

.kcp-cart-item-image img {
    object-fit: contain;
}

.kcp-cart-item-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.kcp-cart-item-title-row h2 {
    margin: 0 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 650;
    line-height: 1.25;
}

.kcp-cart-item-title-row h2 a {
    color: var(--kcp-text) !important;
    text-decoration: none !important;
}

.kcp-cart-item-title-row h2 a:hover {
    color: var(--kcp-accent) !important;
}

.kcp-cart-item-title-row p,
.kcp-cart-item-title-row small {
    display: block;
    margin: 0 0 4px;
    color: var(--kcp-muted);
    font-size: 12px;
    line-height: 1.45;
}

.kcp-cart-item-subtotal {
    color: var(--kcp-text);
    font-size: 16px;
    font-weight: 800;
    white-space: nowrap;
}

.kcp-cart-item-meta {
    margin-top: 12px;
    color: var(--kcp-muted);
    font-size: 11px;
}

.kcp-cart-item-meta dl,
.kcp-cart-item-meta p {
    margin: 0;
}

.kcp-cart-item-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 24px;
    margin-top: 22px;
}

.kcp-cart-unit-price,
.kcp-cart-quantity {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.kcp-cart-unit-price span,
.kcp-cart-quantity > span {
    color: var(--kcp-muted);
    font-size: 11px;
    font-weight: 650;
}

.kcp-cart-unit-price strong {
    color: var(--kcp-text);
    font-size: 13px;
}

.kcp-cart-quantity .quantity {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.kcp-cart-quantity input.qty {
    width: 76px !important;
    min-width: 76px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px !important;
    border: 1px solid #dcd6ce !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: var(--kcp-text) !important;
    font-size: 13px !important;
    text-align: center !important;
}

.kcp-cart-remove {
    margin-left: auto;
    padding: 9px 0;
    color: var(--kcp-accent) !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}

.kcp-cart-actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 26px;
    border-top: 1px solid var(--kcp-border);
    background: #fbfaf8;
}

.kcp-cart-coupon {
    flex: 1 1 470px;
    max-width: 560px;
}

.kcp-cart-coupon > label {
    display: block;
    margin: 0 0 7px;
    color: #3f3d38;
    font-size: 12px;
    font-weight: 650;
}

.kcp-cart-coupon > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px;
}

.kcp-cart-coupon input {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid #dcd6ce !important;
    border-radius: 4px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.kcp-cart-coupon-button,
.kcp-update-cart {
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--kcp-primary) !important;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

.kcp-update-cart {
    flex: 0 0 auto;
    background: #807f75 !important;
}

.kcp-update-cart:disabled {
    opacity: .45 !important;
}

body.kcp-sticky-summary .kcp-cart-sidebar-column .kcp-sidebar-inner,
body.kcp-premium-cart .kcp-cart-sidebar-column .kcp-sidebar-inner {
    position: sticky;
    top: 24px;
}

.kcp-cart-totals-card {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

.kcp-cart-totals-card .cart_totals {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.kcp-cart-totals-card .cart_totals > h2 {
    margin: 0 !important;
    padding: 23px 24px 18px !important;
    border-bottom: 1px solid var(--kcp-border);
    color: var(--kcp-text) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 22px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
}

.kcp-cart-totals-card .shop_table {
    width: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
    background: #fff !important;
}

.kcp-cart-totals-card .shop_table tr {
    border-bottom: 1px solid var(--kcp-border) !important;
}

.kcp-cart-totals-card .shop_table th,
.kcp-cart-totals-card .shop_table td {
    padding: 17px 24px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--kcp-text) !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    text-align: left !important;
    vertical-align: top !important;
}

.kcp-cart-totals-card .shop_table th {
    width: 35%;
    font-weight: 650 !important;
}

.kcp-cart-totals-card .shop_table td {
    text-align: right !important;
}

.kcp-cart-totals-card .shop_table .order-total th,
.kcp-cart-totals-card .shop_table .order-total td {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
}

.kcp-cart-totals-card .shop_table .includes_tax,
.kcp-cart-totals-card .shop_table small {
    display: block;
    margin-top: 4px;
    color: var(--kcp-muted) !important;
    font-size: 10px !important;
}

.kcp-cart-totals-card .woocommerce-shipping-methods {
    display: grid !important;
    gap: 9px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    text-align: left !important;
}

.kcp-cart-totals-card .woocommerce-shipping-methods li {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr) !important;
    gap: 9px !important;
    align-items: start !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 11px !important;
    border: 1px solid #e6e0d8 !important;
    border-radius: 5px !important;
    background: #fff !important;
    list-style: none !important;
    text-align: left !important;
}

.kcp-cart-totals-card .woocommerce-shipping-methods li:has(input:checked) {
    border-color: var(--kcp-accent) !important;
    background: #fdf8f3 !important;
}

.kcp-cart-totals-card .woocommerce-shipping-methods input.shipping_method {
    position: static !important;
    display: block !important;
    width: 17px !important;
    height: 17px !important;
    margin: 2px 0 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    appearance: auto !important;
    -webkit-appearance: radio !important;
}

.kcp-cart-totals-card .woocommerce-shipping-methods label {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--kcp-text) !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.kcp-cart-totals-card .kcp-shipping-label {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.kcp-cart-totals-card .kcp-carrier-logo img {
    max-width: 74px !important;
    max-height: 24px !important;
}

.kcp-cart-totals-card .shipping-calculator-button {
    display: inline-block !important;
    margin-top: 10px !important;
    color: var(--kcp-accent) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

.kcp-cart-totals-card .shipping-calculator-form {
    margin-top: 13px !important;
    padding: 14px !important;
    border: 1px solid var(--kcp-border) !important;
    border-radius: 5px !important;
    background: #faf8f5 !important;
}

.kcp-cart-totals-card .shipping-calculator-form .form-row {
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.kcp-cart-totals-card .shipping-calculator-form input,
.kcp-cart-totals-card .shipping-calculator-form select,
.kcp-cart-totals-card .shipping-calculator-form .select2-selection {
    width: 100% !important;
    min-height: 42px !important;
    border: 1px solid #dcd6ce !important;
    border-radius: 4px !important;
    background: #fff !important;
}

.kcp-cart-totals-card .wc-proceed-to-checkout {
    margin: 0 !important;
    padding: 20px 24px 24px !important;
    background: #fff !important;
}

.kcp-cart-totals-card .checkout-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 13px 18px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--kcp-primary) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
}

.kcp-cart-totals-card .checkout-button::before {
    content: "🔒";
    margin-right: 8px;
    font-size: 12px;
}

body.kcp-premium-cart .woocommerce-notices-wrapper,
body.kcp-detached-cart .kcp-detached-notices {
    width: min(1440px, calc(100% - 48px)) !important;
    margin: 18px auto 0 !important;
}

@media (max-width: 1100px) {
    .kcp-cart-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(320px, .85fr);
        gap: 22px;
    }

    .kcp-cart-item {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 18px;
    }

    .kcp-cart-item-image {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 860px) {
    body.kcp-premium-cart .kcp-cart-header,
    body.kcp-detached-cart > .kcp-cart-header,
    body.kcp-premium-cart #kcp-checkout-nav,
    body.kcp-premium-cart .kcp-header-secure {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .kcp-cart-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    .kcp-cart-sidebar-column {
        order: -1;
        width: 100%;
    }

    body.kcp-premium-cart .kcp-cart-sidebar-column .kcp-sidebar-inner {
        position: static !important;
    }

    .kcp-cart-sidebar-column .kcp-reassurance-card {
        display: none;
    }

    .kcp-cart-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .kcp-cart-page .kcp-container {
        width: min(100% - 16px, 560px) !important;
    }

    .kcp-cart-card-heading {
        align-items: flex-start;
        padding: 19px 16px;
    }

    .kcp-cart-card-heading h2 {
        font-size: 19px;
    }

    .kcp-cart-items {
        padding: 0 16px;
    }

    .kcp-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 13px;
        padding: 20px 0;
    }

    .kcp-cart-item-image {
        width: 82px;
        height: 82px;
    }

    .kcp-cart-item-title-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .kcp-cart-item-title-row h2 {
        font-size: 17px;
    }

    .kcp-cart-item-subtotal {
        font-size: 14px;
    }

    .kcp-cart-item-bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        margin-top: 16px;
    }

    .kcp-cart-remove {
        grid-column: 1 / -1;
        justify-self: start;
        margin-left: 0;
        padding: 0;
    }

    .kcp-cart-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 18px 16px;
    }

    .kcp-cart-coupon {
        flex-basis: auto;
        width: 100%;
        max-width: none;
    }

    .kcp-cart-coupon > div {
        grid-template-columns: 1fr;
    }

    .kcp-update-cart,
    .kcp-cart-coupon-button {
        width: 100% !important;
    }

    .kcp-cart-totals-card .shop_table th,
    .kcp-cart-totals-card .shop_table td {
        padding: 14px 16px !important;
    }

    .kcp-cart-totals-card .cart_totals > h2 {
        padding: 19px 16px 16px !important;
        font-size: 20px !important;
    }

    .kcp-cart-totals-card .wc-proceed-to-checkout {
        padding: 18px 16px 20px !important;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.8 — panier simple, sans livraison ni récapitulatif. */
/* ========================================================================== */

body.kcp-premium-cart .kcp-cart-layout {
    display: block !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: 0 auto !important;
}

body.kcp-premium-cart .kcp-cart-main-column {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

body.kcp-premium-cart .kcp-cart-sidebar-column,
body.kcp-premium-cart .kcp-cart-totals-card {
    display: none !important;
}

.kcp-cart-checkout-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
    margin: 20px 0 0;
}

.kcp-cart-checkout-button,
.kcp-cart-checkout-button.button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    min-width: 250px;
    min-height: 54px;
    padding: 15px 28px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: var(--kcp-primary) !important;
    color: #fff !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
}

.kcp-cart-checkout-button:hover,
.kcp-cart-checkout-button:focus-visible {
    background: #172009 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.kcp-cart-checkout-button svg {
    width: 17px !important;
    height: 17px !important;
    fill: currentColor !important;
}

.kcp-cart-checkout-cta small {
    color: var(--kcp-muted);
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 620px) {
    .kcp-cart-checkout-cta {
        align-items: stretch;
    }

    .kcp-cart-checkout-button,
    .kcp-cart-checkout-button.button {
        width: 100% !important;
        min-width: 0 !important;
    }

    .kcp-cart-checkout-cta small {
        text-align: center;
    }
}

/* ========================================================================== */
/* Kraftie Checkout Premium 2.9 — panier centré, mise à jour automatique.      */
/* ========================================================================== */

body.kcp-premium-cart .kcp-cart-page .kcp-container {
    width: min(1440px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.kcp-premium-cart .kcp-cart-layout,
body.kcp-premium-cart .kcp-cart-main-column,
body.kcp-premium-cart .kcp-cart-form,
body.kcp-premium-cart .kcp-cart-items-card {
    float: none !important;
    width: 100% !important;
    max-width: 1040px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.kcp-premium-cart .kcp-cart-layout {
    display: block !important;
}

body.kcp-premium-cart .kcp-cart-main-column {
    display: block !important;
}

body.kcp-premium-cart .kcp-cart-items-card {
    overflow: hidden !important;
}

body.kcp-premium-cart .kcp-cart-actions {
    justify-content: center !important;
}

body.kcp-premium-cart .kcp-cart-coupon {
    flex: 0 1 640px !important;
    width: 100% !important;
    max-width: 640px !important;
    margin: 0 auto !important;
}

body.kcp-premium-cart .kcp-update-cart--hidden {
    position: absolute !important;
    left: -100000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body.kcp-premium-cart .kcp-cart-checkout-cta {
    align-items: center !important;
    width: 100% !important;
    max-width: 1040px !important;
    margin: 24px auto 0 !important;
    text-align: center !important;
}

body.kcp-premium-cart .kcp-cart-checkout-button,
body.kcp-premium-cart .kcp-cart-checkout-button.button {
    min-width: 310px !important;
    min-height: 56px !important;
    padding: 16px 34px !important;
    border: 1px solid var(--kcp-accent) !important;
    border-radius: 6px !important;
    background: var(--kcp-accent) !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(168, 85, 24, .18) !important;
    font-size: 15px !important;
    letter-spacing: .01em !important;
}

body.kcp-premium-cart .kcp-cart-checkout-button:hover,
body.kcp-premium-cart .kcp-cart-checkout-button:focus-visible {
    border-color: #8d4512 !important;
    background: #8d4512 !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(141, 69, 18, .24) !important;
}

.kcp-cart-checkout-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    transition: transform .2s ease;
}

.kcp-cart-checkout-button:hover .kcp-cart-checkout-arrow,
.kcp-cart-checkout-button:focus-visible .kcp-cart-checkout-arrow {
    transform: translateX(3px);
}

body.kcp-premium-cart .kcp-cart-form.is-updating .kcp-cart-items-card {
    opacity: .72;
    pointer-events: none;
    transition: opacity .2s ease;
}

@media (max-width: 620px) {
    body.kcp-premium-cart .kcp-cart-page .kcp-container {
        width: min(100% - 16px, 560px) !important;
    }

    body.kcp-premium-cart .kcp-cart-checkout-button,
    body.kcp-premium-cart .kcp-cart-checkout-button.button {
        width: 100% !important;
        min-width: 0 !important;
    }
}
