/* Store pages only: cart, checkout, order received (thank you).
   Moved from the Simple Custom CSS & JS plugin on 2026-10-31. These rules
   restyle WooCommerce's own block components, so most need !important to
   beat WooCommerce's stylesheet. Loaded only on store pages. */

/* Thank You Page CSS */
/* ---- Page background ---- */
body.woocommerce-order-received main,
body.woocommerce-order-received .wp-block-post-content,
body.woocommerce-order-received .entry-content {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8fdf6 100%) !important;
    min-height: 100vh;
}

/* ---- Main layout wrapper ---- */
body.woocommerce-order-received main.wp-block-group {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

/* ================================================================
   ORDER STATUS HERO — "Order completed" heading block
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-status {
    background: #111114 !important;
    border-radius: 20px !important;
    padding: 48px 48px 44px !important;
    margin-bottom: 32px !important;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Decorative glow blob */
body.woocommerce-order-received .wc-block-order-confirmation-status::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: rgba(21, 219, 149, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

/* Success checkmark badge */
body.woocommerce-order-received .wc-block-order-confirmation-status::after {
    content: '✓';
    position: absolute;
    top: 40px;
    right: 48px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #15db95, #0abf7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 8px 24px rgba(21, 219, 149, 0.4);
    line-height: 56px;
    text-align: center;
}

/* h1 heading */
body.woocommerce-order-received .wc-block-order-confirmation-status h1 {
    color: #ffffff !important;
    font-size: clamp(28px, 3vw, 42px) !important;
    font-weight: 800 !important;
    margin: 0 0 12px 0 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
}

/* Subtitle paragraph */
body.woocommerce-order-received .wc-block-order-confirmation-status p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 17px !important;
    margin: 0 !important;
    line-height: 1.5 !important;
}

/* ================================================================
   ORDER SUMMARY — Order #, Date, Total, Email pills
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-summary {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 8px 32px rgba(17, 17, 20, 0.07),
                inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    padding: 0 !important;
    margin-bottom: 32px !important;
    overflow: hidden !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
    padding: 24px 28px !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item:last-child {
    border-right: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__key {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    display: block !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item__value {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #000 !important;
    display: block !important;
}

/* ================================================================
   SECTION HEADINGS (Order details, Related subscriptions, Downloads, Billing)
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-totals-wrapper h2,
body.woocommerce-order-received .wc-block-order-confirmation-downloads-wrapper h2,
body.woocommerce-order-received .wc-block-order-confirmation-billing-address-wrapper h2,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information-wrapper h2,
body.woocommerce-order-received .wc-block-order-confirmation-totals header h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #000 !important;
    margin-bottom: 16px !important;
    margin-top: 36px !important;
    padding-left: 14px !important;
    border-left: 4px solid #15db95 !important;
    line-height: 1.3 !important;
}

/* ================================================================
   ORDER DETAILS TABLE — Product / Total
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 32px !important;
    box-shadow: 0 8px 32px rgba(17, 17, 20, 0.06) !important;
}

/* thead */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table thead tr th {
    padding: 16px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: transparent !important;
    border: none !important;
}

/* tbody rows */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tbody tr td {
    padding: 16px 24px !important;
    color: #334155 !important;
    font-size: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: none !important;
    background: #ffffff !important;
    vertical-align: middle !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table tbody tr:hover td {
    background: #f8faff !important;
}

/* Product link */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tbody tr td a {
    color: #15db95 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-totals__table tbody tr td a:hover {
    color: #15db95 !important;
}

/* Product quantity badge */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table .product-quantity {
    background: rgba(17, 17, 20, 0.08) !important;
    color: #111114 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-left: 4px !important;
}

/* tfoot — Discount, Total rows */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr td {
    padding: 14px 24px !important;
    color: #000 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    border-top: 2px solid #e2e8f0 !important;
    border-bottom: none !important;
}

/* Last tfoot row (Total) - stronger */
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child th,
body.woocommerce-order-received .wc-block-order-confirmation-totals__table tfoot tr:last-child td {
    background: linear-gradient(135deg, #e8fdf6, #f0f4ff) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    border-top: 2px solid #15db95 !important;
}

/* ================================================================
   RELATED SUBSCRIPTIONS TABLE
   ================================================================ */
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions,
body.woocommerce-order-received table.woocommerce-orders-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 32px !important;
    box-shadow: 0 8px 32px rgba(17, 17, 20, 0.06) !important;
}

/* thead */
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions thead tr th,
body.woocommerce-order-received table.woocommerce-orders-table thead tr th {
    padding: 16px 20px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions thead tr th span,
body.woocommerce-order-received table.woocommerce-orders-table thead tr th span {
    background: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* tbody rows — td AND th (WooCommerce uses th scope=row) */
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr td,
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr th,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr td,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr th {
    padding: 16px 20px !important;
    color: #475569 !important;
    font-size: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: none !important;
    background: #ffffff !important;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    vertical-align: middle !important;
}

body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr:hover td,
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr:hover th,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr:hover td,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr:hover th {
    background: #f8faff !important;
}

/* Subscription/Order ID links */
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr td a,
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions tbody tr th a,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr td a,
body.woocommerce-order-received table.woocommerce-orders-table tbody tr th a {
    color: #15db95 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Active status text */
body.woocommerce-order-received table tbody tr td.subscription-status,
body.woocommerce-order-received table tbody tr td.order-status {
    color: #047a52 !important;
    font-weight: 700 !important;
}

/* View button */
body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions .woocommerce-button,
body.woocommerce-order-received table.woocommerce-orders-table .woocommerce-button,
body.woocommerce-order-received table a.button.view {
        background: #15db95 !important;
    color: #ffffff !important;
    border: solid 1px #15db95 !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 10px 20px !important;
    text-align: center;
}

body.woocommerce-order-received table.woocommerce-MyAccount-subscriptions .woocommerce-button:hover,
body.woocommerce-order-received table a.button.view:hover {
    background: #15db95 !important;
    border-color: #15db95 !important;
    color: #fff !important;
    transform: scale(1.08);
}

/* ================================================================
   DOWNLOADS TABLE
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-downloads__table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    margin-bottom: 32px !important;
    box-shadow: 0 8px 32px rgba(17, 17, 20, 0.06) !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-downloads__table thead tr th {
    padding: 16px 24px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    background: transparent !important;
    border: none !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-downloads__table tbody tr td {
    padding: 16px 24px !important;
    color: #334155 !important;
    font-size: 14px !important;
    border-top: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    vertical-align: middle !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-downloads__table tbody tr:hover td {
    background: #f8faff !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-downloads__table tbody tr td a {
    color: #15db95 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(17, 17, 20, 0.3) !important;
    transition: color 0.2s ease !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-downloads__table tbody tr td a:hover {
    color: #15db95 !important;
    border-bottom-color: #15db95 !important;
}

/* ================================================================
   BILLING ADDRESS
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-billing-address-wrapper address,
body.woocommerce-order-received .wc-block-order-confirmation-billing-address-wrapper p,
body.woocommerce-order-received .wp-block-woocommerce-order-confirmation-billing-address address {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    padding: 24px 28px !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    box-shadow: 0 4px 20px rgba(17, 17, 20, 0.05) !important;
    font-style: normal !important;
    margin-bottom: 32px !important;
}

/* ================================================================
   FOOTER NOTE — "View the status of your subscription..."
   ================================================================ */
body.woocommerce-order-received .wc-block-order-confirmation-additional-information-wrapper p,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information p {
    font-size: 14px !important;
    color: #64748b !important;
    margin-top: 16px !important;
}

body.woocommerce-order-received .wc-block-order-confirmation-additional-information-wrapper a,
body.woocommerce-order-received .wc-block-order-confirmation-additional-information a {
    color: #15db93 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(17, 17, 20, 0.3) !important;
    transition: color 0.2s ease !important;
}

.wc-block-order-confirmation-billing-address {
    padding: 0;
    border: none;
}

/* Cart Page Css */

/* ─── MAIN CART LAYOUT ────────────────────────────────────────── */
.nf-cart-section .wc-block-components-sidebar-layout.wc-block-cart {
    gap: 32px !important;
    align-items: start !important;
    flex-wrap: nowrap;
}

/* ─── CART TABLE WRAPPER ──────────────────────────────────────── */
.nf-cart-section .wc-block-cart__main {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow:
        0 20px 60px rgba(17, 17, 20, 0.07),
        0 4px 15px rgba(17, 17, 20, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    overflow: hidden !important;
    padding: 0;
}

.nf-cart-section .wc-block-cart-items__header th {
    padding: 16px 20px !important;
    font-weight: 700 !important;
    letter-spacing: 0.9px !important;
}

/* ─── CART ITEM ROWS ──────────────────────────────────────────── */
.nf-cart-section .wc-block-cart-items__row {
    border-bottom: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    transition: background 0.2s ease !important;
}

.nf-cart-section .wc-block-cart-items__row:last-child {
    border-bottom: none !important;
}

.nf-cart-section .wc-block-cart-items__row td {
    padding: 20px !important;
    vertical-align: middle !important;
    background: transparent !important;
    color: #000 !important;
}

/* ─── PRODUCT IMAGE CELL ──────────────────────────────────────── */
.nf-cart-section .wc-block-cart-item__image {
    width: 90px !important;
}

.nf-cart-section .wc-block-cart-item__image img {
    object-fit: cover !important;
    border-radius: 12px !important;
    border: 1px solid #e5e7eb !important;
    display: block;
}

/* ─── PRODUCT NAME & DETAILS ──────────────────────────────────── */
.nf-cart-section .wc-block-components-product-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #000 !important;
    text-decoration: none !important;
    display: block !important;
    margin-bottom: 6px !important;
    transition: color 0.2s !important;
}

.nf-cart-section .wc-block-components-product-name:hover {
    color: #15db95 !important;
}

.nf-cart-section .wc-block-cart-item__prices {
    margin-bottom: 10px !important;
}

.nf-cart-section .wc-block-cart-item__prices .price,
.nf-cart-section .wc-block-cart-item__prices .wc-block-components-product-price {
    font-size: 16px !important;
    font-weight: 500 !important;
}

/* Product variation / meta (License: Monthly) */
.nf-cart-section .wc-block-components-product-details {
    margin-bottom: 10px;
}

.nf-cart-section .wc-block-components-product-details span {
    font-size: 14px !important;
}

.nf-cart-section .wc-block-components-product-details__name {
    font-weight: 600 !important;
    color: #64748b !important;
}

.nf-cart-section .wc-block-components-product-details span.wc-block-components-product-details__value {
    display: inline-block !important;
    background: hsl(235deg 85% 35% / 7%) !important;
    color: #111114 !important;
    font-weight: 700 !important;
    padding: 2px 8px !important;
    border-radius: 50px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    margin-left: 4px !important;
}

/* ─── QUANTITY SELECTOR ───────────────────────────────────────── */
.nf-cart-section .wc-block-components-quantity-selector {
    align-items: center !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
}

.nf-cart-section .wc-block-components-quantity-selector__input {
    width: 44px !important;
    height: 25px !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    background: #ffffff !important;
    outline: none !important;
    -moz-appearance: textfield !important;
}

.nf-cart-section .wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.nf-cart-section .wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.nf-cart-section .wc-block-components-quantity-selector__button {
    width: 36px !important;
    height: 36px !important;
    background: #f8fafc !important;
    border: none !important;
    color: #111114 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
}

.nf-cart-section .wc-block-components-quantity-selector__button:hover:not([disabled]) {
    background: #111114 !important;
    color: #ffffff !important;
}

.nf-cart-section .wc-block-components-quantity-selector__button[disabled] {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
}

/* ─── REMOVE BUTTON ──────────────────────────────────────────── */
.nf-cart-section .wc-block-cart-item__remove-link {
    background: rgba(239, 68, 68, 0.1) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    color: #ef4444 !important;
    flex-shrink: 0 !important;
}

.nf-cart-section .wc-block-cart-item__remove-link:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
}

.nf-cart-section .wc-block-cart-item__remove-link svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

/* ─── ITEM TOTAL (right column) ──────────────────────────────── */
.nf-cart-section .wc-block-cart-item__total .price,
.nf-cart-section .wc-block-cart-item__total .wc-block-components-product-price {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/* ─── ORDER SUMMARY SIDEBAR ──────────────────────────────────── */
.nf-cart-section .wc-block-cart__sidebar {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        0 20px 60px rgba(17, 17, 20, 0.07),
        0 4px 15px rgba(17, 17, 20, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    overflow: hidden !important;
    position: sticky !important;
    top: 80px !important;
    padding: 30px;
}

/* ─── CART TOTALS TITLE ──────────────────────────────────────── */
.nf-cart-section .wc-block-cart__totals-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    position: relative !important;
    text-transform: capitalize;
}

/* ─── COUPON SECTION ──────────────────────────────────────────── */
.nf-cart-section .wp-block-woocommerce-cart-order-summary-coupon-form-block {
    padding: 0px !important;
}

.nf-cart-section .wc-block-components-panel__button {
    font-size: 14px;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 12px 0 !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.2s !important;
}

.nf-cart-section .wc-block-components-panel__button:hover {
    color: #15db95 !important;
}

.nf-cart-section .wc-block-components-panel__content {
    margin-bottom: 12px;
}

.nf-cart-section .wc-block-components-panel__content .wc-block-components-totals-coupon__button.contained {
	width: 100% !important;
    padding: 12px 20px !important;
    background: var(--wp--preset--color--custom-gree) !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 24px rgba(21, 219, 149, 0.35) !important;
    text-decoration: none !important;
    display: flex !important;
    gap: 8px !important;
}

.nf-cart-section .wc-block-components-panel__content .wc-block-components-totals-coupon__button.contained:hover {
    background: #15db95;
	transform: scale(1.08) !important;
    box-shadow: 0 10px 32px rgba(21, 219, 149, 0.45) !important;
    color: #ffffff !important;
}

.nf-cart-section .wc-block-components-panel__content input#wc-block-components-totals-coupon__input-coupon:focus {
    outline: none;
}

/* ─── RECURRING SUBSCRIPTION TOTALS ─────────────────────────── */
.nf-cart-section .wcs-recurring-totals-panel__title .wc-block-components-totals-item__label {
    color: #111114 !important;
}

.nf-cart-section .wc-block-components-totals-item__description {
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 2px !important;
}

.nf-cart-section .wcs-recurring-totals-panel__details .wc-block-components-panel__button {
    font-size: 12px !important;
    padding: 6px 0 !important;
    color: #64748b !important;
}

/* ─── PROCEED TO CHECKOUT BUTTON ─────────────────────────────── */
.nf-cart-section .wc-block-cart__submit-button,
.nf-cart-section .wc-block-cart__submit-button.wp-element-button {
    width: 100% !important;
    padding: 12px 20px !important;
    background: var(--wp--preset--color--custom-gree) !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 24px rgba(21, 219, 149, 0.35) !important;
    text-decoration: none !important;
    display: flex !important;
    gap: 8px !important;
}

.nf-cart-section .wc-block-cart__submit-button:hover,
.nf-cart-section .wc-block-cart__submit-button.wp-element-button:hover {
    transform: scale(1.08) !important;
    box-shadow: 0 10px 32px rgba(21, 219, 149, 0.45) !important;
    color: #ffffff !important;
}

/* ─── EMPTY CART STATE ───────────────────────────────────────── */
.nf-cart-section .wp-block-woocommerce-empty-cart-block {
    padding: 60px 40px !important;
    background: rgba(255, 255, 255, 0.88) !important;
    border-radius: 20px !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 20px 60px rgba(17, 17, 20, 0.07) !important;
}

/* Checkout Page Css */

.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment .wc-block-components-express-payment__title-container .wc-block-components-express-payment__title,
.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment-continue-rule {
    font-size: 18px;
    font-weight: 600;
}

/* ─── MAIN CHECKOUT LAYOUT ────────────────────────────────────── */
.nf-checkout-section .wc-block-checkout {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: start !important;
}

/* ─── MAIN FORM PANEL ─────────────────────────────────────────── */
.nf-checkout-section .wc-block-checkout__main {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid #e5e7eb !important;
    box-shadow:
        0 20px 60px rgba(17, 17, 20, 0.07),
        0 4px 15px rgba(17, 17, 20, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    padding: 30px !important;
    overflow: hidden !important;
    margin-right: 20px;
}

/* ─── SIDEBAR / ORDER SUMMARY ─────────────────────────────────── */
.nf-checkout-section .wc-block-checkout__sidebar {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.95) !important;
    box-shadow:
        0 20px 60px rgba(17, 17, 20, 0.07),
        0 4px 15px rgba(17, 17, 20, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1) !important;
    overflow: hidden !important;
    position: sticky !important;
    top: 80px !important;
    padding: 30px !important;
    min-width: 340px !important;
    max-width: 380px !important;
    margin-left: 20px;
}

/* ─── INPUT FIELDS ────────────────────────────────────────────── */
.nf-checkout-section .wc-block-components-text-input input,
.nf-checkout-section input[type="text"],
.nf-checkout-section input[type="email"],
.nf-checkout-section input[type="tel"],
.nf-checkout-section input[type="password"],
.nf-checkout-section textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    background: #ffffff !important;
    outline: none !important;
    transition: all 0.2s !important;
    font-family: inherit !important;
}

.nf-checkout-section .wc-block-components-text-input input:focus,
.nf-checkout-section input[type="text"]:focus,
.nf-checkout-section input[type="email"]:focus,
.nf-checkout-section input[type="tel"]:focus {
    border-color: #000 !important;
}

.nf-checkout-section input#wc-block-components-checkout-contact-information__phone-input:focus,
.nf-checkout-section input#wc-block-components-checkout-contact-information__email-input:focus {
    outline: none !important;
}

/* ─── SELECT DROPDOWNS ────────────────────────────────────────── */
.nf-checkout-section .wc-blocks-components-select__select,
.nf-checkout-section select {
    width: 100% !important;
    padding: 21px 40px 20px 16px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    background: #ffffff !important;
    outline: none !important;
    cursor: pointer !important;
    transition: border-color 0.2s !important;
    font-family: inherit !important;
    height: 62px;
}

.nf-checkout-section .wc-blocks-components-select__select:focus,
.nf-checkout-section select:focus {
    border-color: #111114 !important;
    box-shadow: 0 0 0 4px rgba(17, 17, 20, 0.07) !important;
}

/* ─── CHECKBOX ────────────────────────────────────────────────── */
.nf-checkout-section .wc-block-components-checkbox__label {
    font-size: 13px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

/* ───  PAYMENT METHODS ────────────────────────────────────────── */
.nf-checkout-section .wc-block-components-payment-method-label {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 18px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    background: #ffffff !important;
    margin-bottom: 8px !important;
}

.nf-checkout-section .wc-block-components-payment-method-label:hover {
    border-color: #111114 !important;
    background: #f8faff !important;
}

/* ─── ORDER SUMMARY ITEMS ────────────────────────────────────── */
.nf-checkout-section .wc-block-components-order-summary-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

.nf-checkout-section .wc-block-components-order-summary-item:last-child {
    border-bottom: none !important;
}

.nf-checkout-section .wc-block-components-order-summary-item__image img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    object-fit: cover !important;
    border: 1px solid #e2e8f0 !important;
}

.nf-checkout-section .wc-block-components-order-summary-item__individual-price {
    font-size: 12px !important;
    margin-top: 2px !important;
}

.nf-checkout-section .wc-block-components-order-summary-item__total-price {
    margin-left: auto !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #111114 !important;
    white-space: nowrap !important;
}

/* ─── COUPON FORM ────────────────────────────────────────────── */
.nf-checkout-section .wc-block-components-totals-coupon {
    border: none !important;
    padding: 0 !important;
}

.nf-checkout-section .wc-block-components-panel__button {
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    padding: 12px 0 !important;
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.2s !important;
}

.nf-checkout-section .wc-block-components-panel__content {
    margin-bottom: 12px !important;
}

.nf-checkout-section .wc-block-components-panel__content .wc-block-components-totals-coupon__button.contained {
    padding: 12px 20px !important;
}

.nf-checkout-section .wc-block-components-panel__content input:focus {
    outline: none !important;
}

/* ─── TOTALS ROWS ─────────────────────────────────────────────── */
.nf-checkout-section .wc-block-components-totals-wrapper {
    padding: 0px !important;
}

.nf-checkout-section .wc-block-components-totals-item {
    padding: 12px 0px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    font-size: 14px !important;
}

.nf-checkout-section .wc-block-components-totals-item:last-child {
    border-bottom: none !important;
}

.nf-checkout-section .wc-block-components-totals-item__label {
    font-weight: 500 !important;
}

/* ─── FOOTER TOTAL ROW ───────────────────────────────────────── */
.nf-checkout-section .wc-block-components-totals-footer-item {
    border-bottom: none !important;
    padding: 16px 0 !important;
    margin: 0 !important;
}

.nf-checkout-section .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #111114 !important;
}

.nf-checkout-section .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax-value,
.nf-checkout-section .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #111114 !important;
    letter-spacing: -0.02em !important;
}

/* ─── RECURRING SUBSCRIPTION TOTALS ─────────────────────────── */
.nf-checkout-section .wcs-recurring-totals-panel__title .wc-block-components-totals-item__label {
    color: #111114 !important;
    font-weight: 700 !important;
}

.nf-checkout-section .wcs-recurring-totals-panel__title .wc-block-formatted-money-amount {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #15db95 !important;
}

.nf-checkout-section .wcs-recurring-totals-panel__details .wc-block-components-panel__button {
    font-size: 12px !important;
    padding: 6px 0 !important;
}

/* ─── PLACE ORDER BUTTON ─────────────────────────────────────── */
.nf-checkout-section .wc-block-checkout__place-order .wc-block-components-button,
.nf-checkout-section .wc-block-components-checkout-place-order-button {
    transition: all 0.3s ease !important;
}

.nf-checkout-section .wc-block-checkout__place-order .wc-block-components-button:hover,
.nf-checkout-section .wc-block-components-checkout-place-order-button:hover {
    transform: scale(1.03) !important;
    box-shadow: 0 10px 32px rgba(21, 219, 149, 0.45) !important;
    color: #ffffff !important;
    background: #15db95;
}

/* ─── PRIVACY / TERMS NOTICE ─────────────────────────────────── */
.nf-checkout-section .wc-block-checkout__terms {
    font-size: 12px !important;
    color: #94a3b8 !important;
    text-align: center !important;
    margin-top: 12px !important;
    line-height: 1.5 !important;
}

.nf-checkout-section .wc-block-checkout__terms a {
    color: #15db95 !important;
    font-weight: 600 !important;
}

/* ─── VALIDATION ERRORS ──────────────────────────────────────── */
.nf-checkout-section .wc-block-components-validation-error {
    font-size: 12px !important;
    color: #ef4444 !important;
    font-weight: 500 !important;
    margin-top: 4px !important;
}

.nf-checkout-section .wc-block-components-text-input.has-error input {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.07) !important;
}

/* ─── STORE NOTICES ───────────────────────────────────────────── */
.nf-checkout-section .wc-block-store-notices {
    margin-bottom: 16px !important;
}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-block {
    border: none;
}

.nf-checkout-section .wc-block-components-form .wc-block-components-text-input label, .nf-checkout-section .wc-block-components-text-input label {
    top: 25px;
    left: 16px;
}

.nf-checkout-section .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill+label, .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active label,.nf-checkout-section .wc-block-components-text-input input:-webkit-autofill+label, .nf-checkout-section .wc-block-components-text-input.is-active label {
    top: 4px;
}

.nf-checkout-section .wc-blocks-components-select .wc-blocks-components-select__label {
    left: 16px;
}

.nf-checkout-section .wc-block-components-order-summary.is-large {padding: 0;}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title .wc-block-components-checkout-order-summary__title-text {
    margin: 0 0 5px 0;
}

.nf-checkout-section input#wc-block-components-totals-coupon__input-coupon {
    background-color: #fff !important;
    border: 1px solid 
color-mix(in srgb, currentColor 80%, transparent)!important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
    color: #2b2d2f !important;
    font-family: inherit !important;
    font-size: inherit !important;
    font-size: 16px !important;
    font-style: inherit !important;
    font-weight: inherit !important;
    height: 50px !important;
    letter-spacing: inherit;
    line-height: inherit !important;
    line-height: 25px !important;
    margin: 0 !important;
    min-height: 0 !important;
    padding: 16px 12px !important;
    text-decoration: inherit !important;
    text-transform: inherit !important;
    width: 100% !important;
}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-coupon-form-block label {
    top: 25px;
}

.nf-checkout-section .wc-block-components-text-input input:focus, .nf-checkout-section input[type="text"]:focus, .nf-checkout-section input[type="email"]:focus, .nf-checkout-section input[type="tel"]:focus, .nf-checkout-section input[type="password"]:focus, .nf-checkout-section textarea:focus {
    padding: 16px 16px 7px 16px !important;
}

.nf-checkout-section .wc-block-components-form .wc-block-components-text-input input:-webkit-autofill, .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=email], .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=number], .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=password], .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=tel], .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=text], .nf-checkout-section .wc-block-components-form .wc-block-components-text-input.is-active input[type=url], .nf-checkout-section .wc-block-components-text-input input:-webkit-autofill, .nf-checkout-section .wc-block-components-text-input.is-active input[type=email], .nf-checkout-section .wc-block-components-text-input.is-active input[type=number], .nf-checkout-section .wc-block-components-text-input.is-active input[type=password], .nf-checkout-section .wc-block-components-text-input.is-active input[type=tel], .nf-checkout-section .wc-block-components-text-input.is-active input[type=text], .nf-checkout-section .wc-block-components-text-input.is-active input[type=url] {
    padding: 16px 16px 7px 16px !important;
}

.nf-checkout-section .wcs-recurring-totals-panel__details {
    padding: 0 !important;
}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
    border: none;
}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper .wc-block-components-order-summary {
    padding: 0;
}

.nf-checkout-section .wp-block-woocommerce-checkout-order-summary-totals-block {
    padding-bottom: 0;
}

@media (max-width: 768px) {
    body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
        grid-template-columns: 1fr 1fr !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-summary-list-item {
        border-bottom: 1px solid #e2e8f0 !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-status {
        padding: 32px 28px !important;
    }

    body.woocommerce-order-received .wc-block-order-confirmation-status::after {
        display: none !important;
    }

    body.woocommerce-order-received main.wp-block-group {
        padding-top: 32px !important;
        padding-bottom: 48px !important;
    }
    .nf-cart-section .wc-block-components-sidebar-layout.wc-block-cart {
        flex-direction: column !important;
    }

    .nf-cart-section .wc-block-cart__main,
    .nf-cart-section .wc-block-cart__sidebar {
        width: 100% !important;
        border-radius: 16px !important;
    }

    .nf-cart-section .wc-block-cart__sidebar {
        position: static !important;
    }

    .nf-cart-section .wc-block-cart-items__header th {
        padding: 12px 14px !important;
        font-size: 12px !important;
    }

    .nf-cart-section .wc-block-cart-items__row td {
        padding: 20px !important;
    }

    .nf-cart-section .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax-value {
        font-size: 20px !important;
    }

    .nf-cart-section .wp-block-post-title {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }

    .nf-cart-section .wc-block-cart-item__image {
        width: 68px !important;
    }

    .nf-cart-section .wc-block-cart-item__image img {
        width: 58px !important;
        height: 58px !important;
    }
    .nf-checkout-section .wc-block-checkout {
        flex-direction: column !important;
    }

    .nf-checkout-section .wc-block-checkout__sidebar {
        position: static !important;
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 16px !important;
        margin-left: 0;
        margin-top: 15px;
    }

    .nf-checkout-section .wc-block-checkout__main {
        width: 100% !important;
        border-radius: 16px !important;
        padding: 20px !important;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .nf-checkout-section .wp-block-post-title {
        font-size: 26px !important;
        margin-bottom: 24px !important;
    }

    .nf-checkout-section .wc-block-components-totals-footer-item .wc-block-components-totals-footer-item-tax-value {
        font-size: 20px !important;
    }
	
	.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment .wc-block-components-express-payment__title-container .wc-block-components-express-payment__title,
	.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment-continue-rule {
    font-size: 16px;
}
}

@media (max-width: 747px) {
    .nf-checkout-section .wc-block-checkout__sidebar{
        display: none;
    }
}
@media (max-width: 480px) {
    body.woocommerce-order-received .wc-block-order-confirmation-summary-list {
        grid-template-columns: 1fr !important;
    }
    .nf-checkout-section .wc-block-checkout__main {
        padding: 16px !important;
        border-radius: 14px !important;
    }

    .nf-checkout-section .wc-block-checkout__sidebar {
        padding: 20px !important;
        border-radius: 14px !important;
    }
	.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment .wc-block-components-express-payment__title-container .wc-block-components-express-payment__title,
	.nf-checkout-section .wc-block-checkout__main .wc-block-components-express-payment-continue-rule {
    font-size: 14px;
}
}