/**
 * Page-Specific Styles — 3D Nexus Creations
 *
 * Cart-specific layout and typography styles.
 * Component-level styles (cards, buttons, qty steppers, order summary,
 * promo toggles, trust badges) are handled by components.css.
 *
 * @package Nexus_Theme
 */


/* ══════════════════════════════════════════════════════════════
   CART PAGE
   ══════════════════════════════════════════════════════════════ */

/* Override WooCommerce page wrapper for cart */
.woocommerce-page.woocommerce-cart .page-body { max-width: 100%; }
.woocommerce-page.woocommerce-cart .page-content { padding: 0; }
.woocommerce-page.woocommerce-cart .page-header { display: none; }

.nexus-cart {
    width: 100%;
    padding: 0 0 40px;
}

/* ── Section heading overrides for cart context ── */
.nexus-cart > .nx-section-heading { padding: 48px 0 36px; }

/* ── Two-Column Layout ── */
.nexus-cart__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--nx-space-xl);
    align-items: start;
}

/* ── Cart Items Column ── */
.nexus-cart__items {
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}

/* ── Individual Cart Item Row ── */
.nexus-cart-item {
    display: grid;
    grid-template-columns: 90px 1fr auto auto auto;
    gap: var(--nx-space-md);
    align-items: center;
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--nx-shadow-sm);
    position: relative;
    transition: box-shadow var(--nx-ease-base);
}
.nexus-cart-item:hover {
    box-shadow: var(--nx-shadow-md);
}

/* Image */
.nexus-cart-item__image {
    width: 90px;
    height: 90px;
    border-radius: var(--nx-radius-sm);
    overflow: hidden;
    background: var(--nx-pastel-lavender);
    flex-shrink: 0;
}
.nexus-cart-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Info */
.nexus-cart-item__info { min-width: 0; }
.nexus-cart-item__name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    margin: 0 0 2px;
    line-height: var(--nx-leading-snug);
}
.nexus-cart-item__name a {
    color: var(--nx-text);
    text-decoration: none;
}
.nexus-cart-item__name a:hover {
    color: var(--nx-color-cta-start);
}
.nexus-cart-item__variation {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0 0 4px;
}
.nexus-cart-item__made-to-order {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    margin: 0;
}
.nexus-cart-item__made-to-order svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* Mobile price (hidden by default) */
.nexus-cart-item__price-mobile { display: none; }

/* Price */
.nexus-cart-item__price {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: 1.1rem;
    color: var(--nx-text);
    white-space: nowrap;
}
.nexus-cart-item__price del {
    color: var(--nx-text-muted);
    font-size: var(--nx-text-base);
}
.nexus-cart-item__price ins { text-decoration: none; }

/* Actions */
.nexus-cart-item__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Edit Button */
.nexus-cart-item__edit {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xs);
    font-weight: var(--nx-weight-semibold);
    color: var(--nx-text-muted);
    background: none;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    cursor: pointer;
    transition: border-color var(--nx-ease-fast), color var(--nx-ease-fast);
}
.nexus-cart-item__edit:hover {
    border-color: var(--nx-color-primary);
    color: var(--nx-color-primary);
}

/* Remove Button */
.nexus-cart-item__remove {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--nx-text-muted);
    transition: opacity var(--nx-ease-fast), background var(--nx-ease-fast), color var(--nx-ease-fast);
    opacity: 0;
}
.nexus-cart-item:hover .nexus-cart-item__remove { opacity: 1; }
.nexus-cart-item__remove:hover {
    background: var(--nx-status-error-bg);
    color: var(--nx-status-error);
}

/* Hidden update button */
.nexus-cart__update-btn { display: none; }

/* ── Order Summary Sidebar ── */
.nexus-cart__summary { position: sticky; top: 100px; }
/* Override nx-card sticky since the wrapper is sticky */
.nexus-cart__summary .nx-card--sticky { position: static; }

/* Checkout Button — extends nx-btn--primary */
.nexus-cart__checkout-btn {
    width: 100%;
    margin-top: var(--nx-space-lg);
    text-decoration: none;
}
.nexus-cart__checkout-arrow {
    font-size: 1.4rem;
    line-height: 1;
}

/* Trust badges wrapper spacing */
.nexus-cart__trust-wrap {
    padding: 18px 0 0;
    margin-top: var(--nx-space-md);
}

/* Continue Shopping */
.nexus-cart__continue { padding: var(--nx-space-lg) 0 0; }
.nexus-cart__continue-link {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-base);
    color: var(--nx-color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--nx-ease-fast);
}
.nexus-cart__continue-link:hover {
    color: var(--nx-color-cta-start);
}

/* ── Upsell Section ── */
.nexus-cart__upsell {
    padding: 40px 0 20px;
    border-top: 1px solid var(--nx-border);
    margin-top: var(--nx-space-xl);
}
.nexus-cart__upsell .nx-section-heading { margin-bottom: var(--nx-space-lg); }
.nexus-cart__upsell-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nx-space-lg);
}

/* Trust Strip Bottom */
.nexus-cart__trust-bottom {
    text-align: center;
    padding: var(--nx-space-lg) 0 var(--nx-space-md);
    border-top: 1px solid var(--nx-border);
    margin-top: var(--nx-space-lg);
}

/* ── Empty Cart ── */
.nexus-cart__empty {
    text-align: center;
    padding: 60px 20px 80px;
}
.nexus-cart__empty-icon {
    color: var(--nx-border);
    margin-bottom: var(--nx-space-lg);
}
.nexus-cart__empty-text {
    font-size: 1.05rem;
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-lg);
}

/* ── Cart Page Responsive ── */
@media (max-width: 900px) {
    .nexus-cart__layout { grid-template-columns: 1fr; }
    .nexus-cart__summary { position: static; }
}
@media (max-width: 640px) {
    .nexus-cart > .nx-section-heading { padding: 36px 0 24px; }

    .nexus-cart-item {
        grid-template-columns: 70px 1fr;
        gap: var(--nx-space-sm);
        padding: 14px;
    }
    .nexus-cart-item__image { width: 70px; height: 70px; }
    .nexus-cart-item__price { display: none; }
    .nexus-cart-item__price-mobile {
        display: block;
        font-family: var(--nx-font-heading);
        font-weight: var(--nx-weight-bold);
        font-size: var(--nx-text-md);
        color: var(--nx-text);
        margin-top: 4px;
    }
    .nexus-cart-item__actions {
        grid-column: 1 / -1;
        justify-content: space-between;
    }
    .nexus-cart-item__remove { opacity: 1; }
    .nexus-cart-item__edit { padding: 0 18px; font-size: var(--nx-text-sm); height: 48px; display: inline-flex; align-items: center; }

    .nexus-cart__upsell-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--nx-space-md);
    }
    .nexus-cart__checkout-btn { font-size: var(--nx-text-md); }
}
@media (max-width: 480px) {
    .nexus-cart__upsell-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--nx-space-sm);
    }
}


/* ══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
   ══════════════════════════════════════════════════════════════ */

/* Override WooCommerce page wrapper for checkout */
.woocommerce-page.woocommerce-checkout .page-body { max-width: 100%; }
.woocommerce-page.woocommerce-checkout .page-content { padding: 0; }
.woocommerce-page.woocommerce-checkout .page-header { display: none; }

.nexus-checkout {
    max-width: var(--nx-container-width);
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ── Section heading overrides for checkout context ── */
.nexus-checkout > .nx-section-heading { padding: 36px 0 28px; }

/* ── Two-Column Layout ── */
.nexus-checkout__layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--nx-space-xl);
}
.nexus-checkout__left { align-self: start; }

/* ── Card overrides for checkout ── */
.nexus-checkout__card {
    margin-bottom: 20px;
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    box-shadow: var(--nx-shadow-sm);
}

/* ── Login prompt ── */
.nexus-checkout__login-prompt {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-md);
}
.nexus-checkout__login-prompt a {
    color: var(--nx-color-primary-light);
    font-weight: var(--nx-weight-semibold);
    text-decoration: underline;
}

/* ── Form Fields (WooCommerce overrides) ── */
.nexus-checkout .form-row {
    margin-bottom: 14px;
    padding: 0;
}
.nexus-checkout .form-row label {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-semibold);
    font-size: var(--nx-text-sm);
    color: var(--nx-text);
    margin-bottom: 6px;
    display: block;
}
.nexus-checkout .form-row label .required {
    color: var(--nx-color-cta-end);
    text-decoration: none;
    border: none;
}
.nexus-checkout .form-row .input-text,
.nexus-checkout .form-row select,
.nexus-checkout .form-row textarea {
    width: 100%;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    padding: 11px 14px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-bg);
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.nexus-checkout .form-row .input-text:focus,
.nexus-checkout .form-row select:focus,
.nexus-checkout .form-row textarea:focus {
    border-color: var(--nx-border-active);
    box-shadow: var(--nx-focus-ring);
}
.nexus-checkout .form-row .input-text:focus-visible,
.nexus-checkout .form-row select:focus-visible,
.nexus-checkout .form-row textarea:focus-visible {
    outline: 2px solid var(--nx-border-focus);
    outline-offset: 2px;
}
.nexus-checkout .form-row textarea {
    resize: vertical;
    min-height: 90px;
}
.nexus-checkout .form-row.woocommerce-invalid .input-text,
.nexus-checkout .form-row.woocommerce-invalid select {
    border-color: var(--nx-status-error);
    box-shadow: 0 0 0 3px rgba(232, 69, 46, 0.08);
}

/* Two-column name fields */
.nexus-checkout .form-row-first,
.nexus-checkout .form-row-last {
    width: 48.5%;
    display: inline-block;
    vertical-align: top;
}
.nexus-checkout .form-row-first { float: left; }
.nexus-checkout .form-row-last { float: right; }
.nexus-checkout .form-row-wide { clear: both; width: 100%; }

/* ── Checkbox field ── */
.nexus-checkout__field--checkbox { margin-bottom: 10px !important; }
.nexus-checkout__checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
}
.nexus-checkout__checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--nx-color-primary);
    border-radius: 4px;
    flex-shrink: 0;
}

/* ── Shipping Address Toggle ── */
.nexus-checkout__shipping-address { display: none; margin-top: var(--nx-space-md); }
#ship-to-different-address-checkbox:checked ~ .nexus-checkout__shipping-address,
.nexus-checkout .shipping_address { display: none; }
.nexus-checkout .shipping_address.active { display: block; }

/* ── Shipping Methods ── */
.nexus-checkout__shipping-methods { padding: 0; }
.nexus-checkout__shipping-methods .woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.nexus-checkout__shipping-methods .woocommerce-shipping-methods li {
    border: 2px solid var(--nx-border);
    border-radius: var(--nx-radius-md);
    padding: 14px 18px;
    cursor: pointer;
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast), background var(--nx-ease-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nexus-checkout__shipping-methods .woocommerce-shipping-methods li:hover {
    border-color: var(--nx-border-active);
    background: var(--nx-pastel-blue);
}
.nexus-checkout__shipping-methods .woocommerce-shipping-methods li:has(input:checked) {
    border-color: var(--nx-color-primary);
    background: var(--nx-pastel-blue);
    box-shadow: var(--nx-focus-ring);
}
.nexus-checkout__shipping-methods .woocommerce-shipping-methods li label {
    cursor: pointer;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-semibold);
    color: var(--nx-text);
    flex: 1;
}
.nexus-checkout__shipping-methods .woocommerce-shipping-methods li input[type="radio"] {
    accent-color: var(--nx-color-primary);
    width: 18px;
    height: 18px;
}

/* ── Payment Section ── */
.nexus-checkout__payment { padding: 0; }
.nexus-checkout__payment .wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}
.nexus-checkout__payment .wc_payment_method {
    border: 2px solid var(--nx-border);
    border-radius: var(--nx-radius-md);
    padding: 16px 18px;
    margin-bottom: 10px;
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
}
.nexus-checkout__payment .wc_payment_method:has(input:checked) {
    border-color: var(--nx-color-primary);
    box-shadow: var(--nx-focus-ring);
}
.nexus-checkout__payment .wc_payment_method label {
    cursor: pointer;
    font-family: var(--nx-font-body);
    font-weight: var(--nx-weight-semibold);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.nexus-checkout__payment .wc_payment_method label img {
    max-height: 24px;
    width: auto;
}
.nexus-checkout__payment .wc_payment_method input[type="radio"] {
    accent-color: var(--nx-color-primary);
    width: 18px;
    height: 18px;
}
.nexus-checkout__payment .payment_box {
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--nx-bg);
    border-radius: var(--nx-radius-sm);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: 1.6;
}
.nexus-checkout__payment .payment_box fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.nexus-checkout__payment .payment_box .form-row {
    margin-bottom: 10px;
}
.nexus-checkout__payment .payment_box .input-text,
.nexus-checkout__payment .payment_box input[type="text"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-surface);
    font-size: var(--nx-text-base);
    font-family: var(--nx-font-body);
    color: var(--nx-text);
    outline: none;
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
}
.nexus-checkout__payment .payment_box .input-text:focus,
.nexus-checkout__payment .payment_box input[type="text"]:focus {
    border-color: var(--nx-border-active);
    box-shadow: var(--nx-focus-ring);
}
.nexus-checkout__payment .payment_box .input-text:focus-visible,
.nexus-checkout__payment .payment_box input[type="text"]:focus-visible {
    outline: 2px solid var(--nx-border-focus);
    outline-offset: 2px;
}

/* Stripe Elements overrides */
.nexus-checkout__payment .StripeElement,
.nexus-checkout__payment .wc-stripe-elements-field {
    padding: 12px 14px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-surface);
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
}
.nexus-checkout__payment .StripeElement--focus,
.nexus-checkout__payment .wc-stripe-elements-field.focused {
    border-color: var(--nx-border-active);
    box-shadow: var(--nx-focus-ring);
}

/* Place Order button (left column, mobile only) */
.nexus-checkout__place-order-btn--mobile { display: none; }

/* ── Coupons section in order summary ── */
.nx-order-summary__coupons {
    margin: var(--nx-space-sm) 0;
    padding: var(--nx-space-sm) 0;
    border-top: 1px solid var(--nx-border);
    border-bottom: 1px solid var(--nx-border);
}
.nx-order-summary__coupons-heading {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--nx-space-xs);
}
.nx-coupon-row {
    display: flex;
    align-items: center;
    gap: var(--nx-space-xs);
    padding: var(--nx-space-xs) 0;
}
.nx-coupon-row__code {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-sm);
    color: var(--nx-text);
    background: var(--nx-surface-muted);
    padding: 2px 8px;
    border-radius: var(--nx-radius-sm);
}
.nx-coupon-row__desc {
    font-size: var(--nx-text-sm);
    color: var(--nx-color-cta-start);
    font-weight: var(--nx-weight-bold);
}
.nx-coupon-row__remove {
    margin-left: auto;
    color: var(--nx-text-muted);
    font-size: 1.2rem;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: color 0.2s ease;
}
.nx-coupon-row__remove:hover,
.nx-coupon-row__remove:focus {
    color: var(--nx-color-error, #e53e3e);
}

/* Hide default place_order styling */
.nexus-checkout .place-order { padding: 0; margin-top: 10px; }

/* ── Place Order Button override ── */
.nexus-checkout__place-order-btn {
    width: 100%;
    margin-bottom: 18px;
}
.nexus-checkout__summary-card .nx-promo {
    margin-bottom: var(--nx-space-lg);
}

/* ── Terms ── */
.nexus-checkout .woocommerce-terms-and-conditions-wrapper {
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    margin-bottom: 14px;
}
.nexus-checkout .woocommerce-terms-and-conditions-wrapper a {
    color: var(--nx-color-primary-light);
    text-decoration: underline;
}

/* ── Order Summary Card overrides ── */
.nexus-checkout__summary-card {
    position: sticky;
    top: 100px;
}
/* Override nx-card sticky since the wrapper handles it */
.nexus-checkout__summary-card.nx-card--sticky { position: sticky; top: 100px; }

/* ── Product List ── */
.nexus-checkout__products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--nx-border);
    margin-bottom: 18px;
}
.nexus-checkout__product {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nexus-checkout__product-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--nx-radius-md);
    background: var(--nx-pastel-lavender);
    position: relative;
}
.nexus-checkout__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--nx-radius-md);
}
.nexus-checkout__product-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    background: var(--nx-color-primary);
    color: #fff;
    font-family: var(--nx-font-heading);
    font-size: 0.72rem;
    font-weight: var(--nx-weight-bold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--nx-surface);
}
.nexus-checkout__product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nexus-checkout__product-name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nexus-checkout__product-variation {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
}
.nexus-checkout__product-price {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-sale);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Trust badges spacing ── */
.nexus-checkout__summary-card .nx-trust-group {
    margin-bottom: 14px;
}

/* ── Secure Microcopy ── */
.nexus-checkout__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 0;
    border-top: 1px solid var(--nx-border);
}
.nexus-checkout__secure-icon {
    font-size: 1.1rem;
    line-height: 1;
}
.nexus-checkout__secure-text {
    display: flex;
    flex-direction: column;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    line-height: 1.4;
    text-align: center;
}

/* ── Checkout Responsive ── */
@media (max-width: 900px) {
    .nexus-checkout__layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .nexus-checkout__right { order: -1; }
    .nexus-checkout__summary-card {
        position: static;
    }
    /* Show mobile Place Order button, hide desktop one */
    .nexus-checkout__place-order-btn--mobile {
        display: flex;
        margin-top: 14px;
    }
    .nexus-checkout__place-order-btn--desktop { display: none !important; }
}
@media (max-width: 600px) {
    .nexus-checkout { padding: 0 14px 40px; }
    .nexus-checkout > .nx-section-heading { padding: 24px 0 18px; }
    .nexus-checkout__card { padding: 20px 16px; border-radius: var(--nx-radius-md); }
    .nexus-checkout__summary-card { padding: 20px 16px; border-radius: var(--nx-radius-md); }
    .nexus-checkout .form-row-first,
    .nexus-checkout .form-row-last {
        width: 100%;
        float: none;
        display: block;
    }
    .nexus-checkout__product-image { width: 50px; height: 50px; }
}


/* ══════════════════════════════════════════════════════════════
   ORDER CONFIRMATION PAGE
   ══════════════════════════════════════════════════════════════ */

/* Override WooCommerce page wrapper for order-received */
.woocommerce-page.woocommerce-order-received .page-body { max-width: 100%; }
.woocommerce-page.woocommerce-order-received .page-content { padding: 0; }
.woocommerce-page.woocommerce-order-received .page-header { display: none; }

.nexus-oc {
    max-width: var(--nx-container-width);
    margin: 0 auto;
    padding: 0 var(--nx-space-lg) 60px;
}

/* ── Status Header (shared by success, error, info) ── */
.nexus-oc__status {
    text-align: center;
    padding: var(--nx-space-2xl) 0 var(--nx-space-lg);
}

.nexus-oc__status-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    margin-bottom: var(--nx-space-md);
}
.nexus-oc__status-icon--success {
    background: var(--nx-status-success-bg);
    color: var(--nx-status-success);
}
.nexus-oc__status-icon--error {
    background: var(--nx-status-error-bg);
    color: var(--nx-status-error);
}
.nexus-oc__status-icon--info {
    background: var(--nx-status-info-bg);
    color: var(--nx-status-info);
}

.nexus-oc__status-title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-3xl);
    font-weight: var(--nx-weight-extrabold);
    color: var(--nx-text);
    margin: 0 0 var(--nx-space-xs);
}

.nexus-oc__status-message {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-md);
    color: var(--nx-text-muted);
    max-width: 480px;
    margin: 0 auto;
    line-height: var(--nx-leading-normal);
}

/* ── Quick Info Bar ── */
.nexus-oc__quick-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--nx-space-lg);
    background: var(--nx-surface);
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-lg);
    padding: var(--nx-space-md) var(--nx-space-xl);
    margin-bottom: var(--nx-space-xl);
    box-shadow: var(--nx-shadow-sm);
}
.nexus-oc__quick-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.nexus-oc__quick-bar-label {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
}
.nexus-oc__quick-bar-value {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
}
.nexus-oc__quick-bar-value--highlight {
    color: var(--nx-color-cta-start);
    font-size: var(--nx-text-lg);
    font-weight: var(--nx-weight-extrabold);
}
.nexus-oc__quick-bar-divider {
    width: 1px;
    height: 36px;
    background: var(--nx-border);
}

/* ── Two-Column Details Row ── */
.nexus-oc__details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-lg);
    align-items: stretch;
    margin-bottom: var(--nx-space-lg);
}
.nexus-oc__details-card,
.nexus-oc__summary-card {
    display: flex;
    flex-direction: column;
}
.nexus-oc__card {
    margin-bottom: 0;
}

/* ── Order Detail Rows ── */
.nexus-oc__detail-rows {
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-sm);
}

.nexus-oc__detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--nx-space-sm);
    border-bottom: 1px solid var(--nx-border);
}
.nexus-oc__detail-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.nexus-oc__detail-label {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
}
.nexus-oc__detail-value {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
}

/* Status pill */
.nexus-oc__status-pill {
    display: inline-block;
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xs);
    font-weight: var(--nx-weight-bold);
    padding: 4px 12px;
    border-radius: var(--nx-radius-pill);
}
.nexus-oc__status-pill--processing,
.nexus-oc__status-pill--on-hold {
    background: var(--nx-status-warning-bg);
    color: var(--nx-status-warning);
}
.nexus-oc__status-pill--completed {
    background: var(--nx-status-success-bg);
    color: var(--nx-status-success);
}
.nexus-oc__status-pill--failed,
.nexus-oc__status-pill--cancelled {
    background: var(--nx-status-error-bg);
    color: var(--nx-status-error);
}
.nexus-oc__status-pill--pending {
    background: var(--nx-pastel-blue);
    color: var(--nx-color-primary-light);
}

/* ── Order Items ── */
.nexus-oc__items {
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-sm);
    padding-bottom: var(--nx-space-md);
    margin-bottom: var(--nx-space-md);
    border-bottom: 1px solid var(--nx-border);
}

.nexus-oc__item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nexus-oc__item-image {
    width: 52px;
    height: 52px;
    border-radius: var(--nx-radius-sm);
    background: var(--nx-pastel-lavender);
    flex-shrink: 0;
    position: relative;
}
.nexus-oc__item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}
.nexus-oc__item-placeholder {
    width: 100%;
    height: 100%;
    background: var(--nx-pastel-lavender);
}

.nexus-oc__item-qty {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    background: var(--nx-color-primary);
    color: var(--nx-text-on-dark);
    font-family: var(--nx-font-heading);
    font-size: 0.65rem;
    font-weight: var(--nx-weight-bold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0 4px;
    border: 2px solid var(--nx-surface);
}

.nexus-oc__item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nexus-oc__item-name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nexus-oc__item-meta {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
}
.nexus-oc__item-price {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    white-space: nowrap;
}

/* ── What Happens Next — Full Width Card ── */
.nexus-oc__next-card {
    margin-bottom: var(--nx-space-lg);
}
.nexus-oc__next-title {
    text-align: center;
}

/* Timeline layout */
.nexus-oc__timeline {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: var(--nx-space-lg) 0 var(--nx-space-xl);
    position: relative;
}

.nexus-oc__timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 200px;
    position: relative;
}

.nexus-oc__timeline-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-surface-muted);
    border: 2px solid var(--nx-border);
    color: var(--nx-text-muted);
    margin-bottom: var(--nx-space-sm);
    position: relative;
    z-index: 1;
}
.nexus-oc__timeline-icon--done {
    background: var(--nx-status-success-bg);
    border-color: var(--nx-status-success);
    color: var(--nx-status-success);
}

/* Dashed connector line between steps */
.nexus-oc__timeline-connector {
    position: absolute;
    top: 22px;
    left: calc(50% + 26px);
    width: calc(100% - 8px);
    height: 0;
    border-top: 2px dashed var(--nx-border);
    z-index: 0;
}
.nexus-oc__timeline-connector--done {
    border-top-color: var(--nx-status-success);
}

.nexus-oc__timeline-label {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin-bottom: 2px;
}
.nexus-oc__timeline-desc {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-snug);
}

/* Reassurance info boxes */
.nexus-oc__next-reassurance-group {
    display: flex;
    gap: var(--nx-space-md);
    margin-top: var(--nx-space-lg);
}
.nexus-oc__next-reassurance {
    display: flex;
    align-items: flex-start;
    gap: var(--nx-space-md);
    border-radius: var(--nx-radius-md);
    padding: var(--nx-space-lg);
    flex: 1;
}
.nexus-oc__next-reassurance--crafted,
.nexus-oc__next-reassurance--tracking {
    background: var(--nx-pastel-peach);
    border: 1px solid rgba(255, 107, 61, 0.15);
}
.nexus-oc__reassurance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--nx-gradient-cta);
    border-radius: 50%;
    color: var(--nx-text-on-cta);
}
.nexus-oc__reassurance-icon svg {
    width: 18px;
    height: 18px;
}
.nexus-oc__reassurance-content {
    flex: 1;
    min-width: 0;
}
.nexus-oc__reassurance-title {
    display: block;
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin-bottom: var(--nx-space-2xs);
}
.nexus-oc__next-reassurance p {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0;
    line-height: var(--nx-leading-normal);
}
.nexus-oc__next-reassurance strong {
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
}

/* ── Help / Support Card ── */
.nexus-oc__help-card {
    margin-bottom: 0;
}
.nexus-oc__help-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--nx-space-xl);
}
.nexus-oc__help-left {
    flex: 1;
}
.nexus-oc__help-title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-lg);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin: 0 0 var(--nx-space-xs);
}
.nexus-oc__help-message {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-normal);
    margin: 0 0 var(--nx-space-md);
}
.nexus-oc__help-actions {
    display: flex;
    align-items: center;
    gap: var(--nx-space-md);
}
.nexus-oc__help-btn {
    border-color: var(--nx-color-primary);
    color: var(--nx-color-primary);
}
.nexus-oc__help-link {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    text-decoration: none;
    transition: color var(--nx-ease-fast);
}
.nexus-oc__help-link:hover {
    color: var(--nx-color-primary-light);
}

.nexus-oc__help-right {
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-sm);
    border-left: 1px dashed var(--nx-border);
    padding-left: var(--nx-space-xl);
    flex-shrink: 0;
}
.nexus-oc__help-info-item {
    display: flex;
    align-items: center;
    gap: var(--nx-space-xs);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
}
.nexus-oc__help-info-icon {
    font-size: 1rem;
    line-height: 1;
}
.nexus-oc__help-info-item strong {
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .nexus-oc__details-row {
        grid-template-columns: 1fr;
        gap: var(--nx-space-lg);
    }
    .nexus-oc__quick-bar {
        flex-direction: column;
        gap: var(--nx-space-sm);
        padding: var(--nx-space-md);
    }
    .nexus-oc__quick-bar-divider {
        width: 100%;
        height: 1px;
    }
    .nexus-oc__help-layout {
        flex-direction: column;
        gap: var(--nx-space-lg);
    }
    .nexus-oc__help-right {
        border-left: none;
        padding-left: 0;
        border-top: 1px dashed var(--nx-border);
        padding-top: var(--nx-space-md);
    }
    .nexus-oc__next-reassurance-group {
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .nexus-oc { padding: 0 14px 40px; }
    .nexus-oc__status { padding: var(--nx-space-xl) 0 var(--nx-space-md); }
    .nexus-oc__status-title { font-size: var(--nx-text-2xl); }
    .nexus-oc__card,
    .nexus-oc__next-card,
    .nexus-oc__help-card {
        padding: 20px 16px;
        border-radius: var(--nx-radius-md);
    }
    .nexus-oc__item-image { width: 46px; height: 46px; }
    .nexus-oc__timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--nx-space-md);
        padding: var(--nx-space-md) 0;
    }
    .nexus-oc__timeline-step {
        flex-direction: row;
        text-align: left;
        gap: var(--nx-space-sm);
        max-width: none;
    }
    .nexus-oc__timeline-icon { margin-bottom: 0; }
    .nexus-oc__timeline-connector { display: none; }
}


/* ══════════════════════════════════════════════════════════════
   QUICK VIEW MODAL — page-specific layout & swatch styles
   Shell handled by nx-modal in components.css
   Quantity stepper handled by nx-qty in components.css
   ══════════════════════════════════════════════════════════════ */

/* ── Loader ── */
.qv-loader,
.cart-edit-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.qv-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--nx-border);
    border-top-color: var(--nx-color-primary);
    border-radius: 50%;
    animation: qvSpin 0.7s linear infinite;
}
@keyframes qvSpin {
    to { transform: rotate(360deg); }
}

/* ── Two-Column Product Layout ── */
.qv-product {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--nx-space-xl);
    align-items: start;
}
.qv-product__image {
    border-radius: var(--nx-radius-md);
    overflow: hidden;
    background: var(--nx-pastel-lavender);
}
.qv-product__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Product Title ── */
.qv-product__title {
    font-family: var(--nx-font-heading);
    font-size: 1.55rem;
    color: var(--nx-color-primary);
    margin: 0 0 6px;
    font-weight: var(--nx-weight-extrabold);
}

/* ── Price ── */
.qv-product__price {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-lg);
    color: var(--nx-text-muted);
    margin-bottom: var(--nx-space-md);
}
.qv-product__price del { color: var(--nx-color-silver); font-size: 0.95rem; }
.qv-product__price ins { text-decoration: none; color: var(--nx-text-muted); }

/* ── Short Description ── */
.qv-product__desc {
    color: var(--nx-text-muted);
    font-size: var(--nx-text-base);
    line-height: var(--nx-leading-relaxed);
    margin-bottom: var(--nx-space-lg);
}
.qv-product__desc p:last-child { margin-bottom: 0; }

/* ── Variation selectors — now handled by nx-variation-* in components.css ── */

/* ── Quantity + Add to Cart row ── */
.qv-product__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 var(--nx-space-md);
    flex-wrap: nowrap;
}

/* ── Add to Cart button overrides (extends nx-btn--primary) ── */
.qv-add-to-cart {
    flex: 1;
    min-width: 0;
    border-radius: var(--nx-radius-md) !important;
}
.qv-add-to-cart.qv-added {
    background: var(--nx-status-success) !important;
    box-shadow: 0 4px 16px rgba(52, 211, 153, 0.35) !important;
}
.qv-add-to-cart.qv-out-of-stock {
    background: var(--nx-color-silver) !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

/* ── Disclaimer ── */
.qv-product__disclaimer {
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    margin: 0;
    padding-top: var(--nx-space-md);
    border-top: 1px solid var(--nx-border);
    line-height: var(--nx-leading-snug);
}

/* ── View Full Details Link ── */
.qv-product__full-link {
    display: block;
    text-align: center;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-base);
    color: var(--nx-color-primary);
    padding: var(--nx-space-md) 0;
    margin-top: var(--nx-space-xs);
    border-top: 1px solid var(--nx-border);
    transition: color var(--nx-ease-fast);
    text-decoration: none;
}
.qv-product__full-link:hover {
    color: var(--nx-color-cta-start);
}

/* ── Validation / States ── */
.qv-variation--error .qv-swatches {
    outline: 2px solid var(--nx-status-error);
    outline-offset: 4px;
    border-radius: var(--nx-radius-sm);
    animation: qvShake 0.4s ease;
}
@keyframes qvShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* ── Quick View Responsive ── */
@media (max-width: 700px) {
    #qv-modal .nx-modal__dialog { width: 96%; max-height: 95vh; border-radius: var(--nx-radius-lg); }
    #qv-modal .nx-modal__body { padding: 20px; }
    .qv-product {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .qv-product__image {
        max-width: 300px;
        margin: 0 auto;
    }
    .qv-product__title { font-size: 1.25rem; }
    .qv-swatches[data-swatch-type="image"] .qv-swatch {
        width: 64px;
    }
    .qv-swatches[data-swatch-type="image"] .qv-swatch img {
        width: 48px;
        height: 48px;
    }
    #qv-modal .nx-variation-tiles--scroll { max-width: calc(96vw - 40px); }
}


/* ══════════════════════════════════════════════════════════════
   SHOP PAGE
   Layout, toolbar, collection cards, grid, and responsive.
   Product cards → components.css (.nx-product-card)
   Pills → components.css (.nx-pill)
   Buttons → components.css (.nx-btn)
   ══════════════════════════════════════════════════════════════ */

.nexus-shop-page {
    padding-bottom: var(--nx-space-3xl);
}

/* ── Shop Hero ── */
.shop-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
    background: var(--nx-bg);
}

/* ── Category Pills (layout only — pill styling in components.css) ── */
.shop-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--nx-space-sm);
    margin-bottom: var(--nx-space-2xl);
}
/* Larger pill sizing for shop context */
.shop-pills .nx-pill {
    padding: 10px 26px;
    font-size: var(--nx-text-sm);
}
/* CTA gradient for active pill on shop page */
.shop-pills .nx-pill--active {
    background: var(--nx-gradient-cta);
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 107, 61, 0.3);
}
.shop-pills .nx-pill:hover {
    background: var(--nx-surface-hover, #f0f3fa);
}
.shop-pills .nx-pill--active:hover {
    background: var(--nx-gradient-cta);
}

/* ── Featured Collections ── */
.shop-collections {
    margin-bottom: var(--nx-space-2xl);
    padding-bottom: var(--nx-space-2xl);
    border-bottom: 1px solid var(--nx-border);
}
.shop-collections__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nx-space-lg);
}

/* ── Shop Toolbar ── */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--nx-space-lg);
    flex-wrap: wrap;
    gap: var(--nx-space-sm);
}
.shop-toolbar__count {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0;
}
.shop-toolbar__sort {
    display: flex;
    align-items: center;
    gap: var(--nx-space-xs);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
}

/* ── Product Grid ── */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nx-space-lg);
    transition: opacity var(--nx-ease-base);
    min-height: 200px;
}
.shop-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ── Load More ── */
.shop-load-more {
    text-align: center;
    padding: var(--nx-space-2xl) 0 var(--nx-space-3xl);
}

/* ── No products ── */
.shop-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--nx-text-muted);
    font-size: var(--nx-text-md);
    padding: var(--nx-space-3xl) 0;
}

/* ── Shop Page Responsive ── */
@media (max-width: 1024px) {
    .shop-grid { grid-template-columns: repeat(3, 1fr); }
    .shop-collections__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .shop-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-md); }
    .shop-collections__grid { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-md); }
    .shop-pills {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .shop-pills::-webkit-scrollbar { display: none; }
    .shop-pills {
        mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    }
}
@media (max-width: 480px) {
    .shop-grid { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-sm); }
    .shop-collections__grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE
   Layout, grid, form card overrides, info panels, alerts.
   Form fields → components.css (.nx-field)
   Cards → components.css (.nx-card)
   Buttons → components.css (.nx-btn)
   Trust badges → components.css (.nx-trust-group)
   ══════════════════════════════════════════════════════════════ */

.contact-page {
    background: var(--nx-bg);
}

/* ── Hero ── */
.contact-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}

/* ── Two-Column Grid ── */
.contact-content {
    padding: 0 0 var(--nx-space-2xl);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-lg);
    align-items: start;
}

/* ── Form Card (extends nx-card) ── */
.contact-form-card {
    padding: var(--nx-space-2xl) var(--nx-space-xl);
    box-shadow: var(--nx-shadow-md);
}
.contact-form-card__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--nx-space-lg);
}

/* ── Submit button spacing ── */
.contact-form .nx-btn {
    margin-top: var(--nx-space-xs);
}

/* ── Response Time ── */
.contact-response-time {
    text-align: center;
    margin-top: var(--nx-space-lg);
    padding-top: var(--nx-space-md);
    border-top: 1px solid var(--nx-border);
}
.contact-response-time__label {
    display: block;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nx-text-muted);
    margin-bottom: 4px;
}
.contact-response-time p {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0;
}

/* ── Success / Error Alerts ── */
.contact-alert {
    border-radius: var(--nx-radius-sm);
    padding: var(--nx-space-md) var(--nx-space-lg);
    text-align: center;
}
.contact-alert p {
    margin: 0;
    font-size: var(--nx-text-sm);
}
.contact-alert--success {
    background: #d8f5ec;
    border: 1px solid var(--nx-status-success);
}
.contact-alert--success p {
    color: #1a6b4a;
}
.contact-alert--error {
    background: #fde8ef;
    border: 1px solid var(--nx-status-error);
    margin-bottom: var(--nx-space-md);
}
.contact-alert--error p,
.contact-alert--error li {
    color: var(--nx-status-error);
    font-weight: var(--nx-weight-semibold);
}
.contact-alert--error ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.contact-alert--error li {
    font-size: var(--nx-text-sm);
    margin-bottom: 4px;
}
.contact-alert--error li:last-child {
    margin-bottom: 0;
}
.contact-alert--warning {
    background: #fff8e1;
    border: 1px solid #f9a825;
    margin-bottom: var(--nx-space-md);
}
.contact-alert--warning p {
    color: #7a5d00;
}

/* ── Right Column: Info Panels ── */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}
.contact-panel {
    padding: var(--nx-space-lg) var(--nx-space-lg);
}
.contact-panel__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-extrabold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-sm);
}
.contact-panel p {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin: 0;
}
.contact-panel__label {
    display: block;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-semibold);
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    margin-bottom: 4px;
}
.contact-panel__email {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-sm);
    color: var(--nx-color-primary);
    text-decoration: none;
    transition: color var(--nx-ease-fast);
}
.contact-panel__email:hover {
    color: var(--nx-color-cta-start);
}

/* ── Panel List ── */
.contact-panel__list {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}
.contact-panel__list li {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin-bottom: var(--nx-space-xs);
}
.contact-panel__list li:last-child {
    margin-bottom: 0;
}
.contact-panel__list a {
    color: var(--nx-color-primary);
    font-weight: var(--nx-weight-bold);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.contact-panel__list a:hover {
    color: var(--nx-color-cta-start);
}

/* ── Bottom Trust Strip ── */
.contact-bottom-strip {
    text-align: center;
    padding: var(--nx-space-lg) 0 var(--nx-space-2xl);
}
.contact-bottom-strip .nx-trust-group {
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-semibold);
}

/* ── Contact Responsive ── */
@media (max-width: 768px) {
    .contact-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--nx-space-lg);
    }
    .contact-form-card {
        padding: var(--nx-space-lg) var(--nx-space-md);
    }
    .contact-panel {
        padding: var(--nx-space-md) var(--nx-space-md);
    }
}


/* ══════════════════════════════════════════════════════════════
   FAQ PAGE
   Layout, section toggling, accordion, contact CTA.
   Pills → components.css (.nx-pill)
   Cards → components.css (.nx-card)
   Buttons → components.css (.nx-btn)
   ══════════════════════════════════════════════════════════════ */

.faq-page {
    background: var(--nx-bg);
}

/* ── Hero ── */
.faq-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
    background: var(--nx-bg);
}

/* ── Category Pills (layout only — pill styling in components.css) ── */
.faq-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--nx-space-sm);
    margin-bottom: var(--nx-space-2xl);
}
/* Larger pill sizing for FAQ context */
.faq-categories .nx-pill {
    padding: 10px 24px;
    font-size: var(--nx-text-sm);
}

/* ── FAQ Body ── */
.faq-body {
    padding-bottom: var(--nx-space-2xl);
}

/* ── FAQ Section (visibility toggle) ── */
.faq-section {
    display: none;
}
.faq-section.is-visible {
    display: block;
    animation: faqFadeIn 0.3s ease;
}
@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Section Card (extends nx-card) ── */
.faq-section__card {
    padding: var(--nx-space-2xl);
    box-shadow: var(--nx-shadow-md);
}
.faq-section__title {
    font-size: var(--nx-text-lg);
    color: var(--nx-color-primary);
    border-bottom-width: 2px;
}

/* ── Accordion ── */
.faq-accordion__item {
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-md);
    margin-bottom: var(--nx-space-sm);
    overflow: hidden;
    transition: box-shadow var(--nx-ease-fast);
}
.faq-accordion__item:last-child {
    margin-bottom: 0;
}
.faq-accordion__item:hover {
    box-shadow: var(--nx-shadow-sm);
}
.faq-accordion__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nx-space-md);
    width: 100%;
    padding: var(--nx-space-md) var(--nx-space-lg);
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-semibold);
    color: var(--nx-text);
    text-align: left;
    line-height: var(--nx-leading-snug);
    transition: background var(--nx-ease-fast);
}
.faq-accordion__question:hover {
    background: rgba(13, 27, 62, 0.02);
}
.faq-accordion__question[aria-expanded="true"] {
    background: rgba(13, 27, 62, 0.03);
}

/* ── Plus / Minus icon ── */
.faq-accordion__icon {
    position: relative;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}
.faq-accordion__icon::before,
.faq-accordion__icon::after {
    content: '';
    position: absolute;
    background: var(--nx-color-primary);
    border-radius: 2px;
    transition: transform var(--nx-ease-base);
}
.faq-accordion__icon::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-accordion__icon::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.faq-accordion__question[aria-expanded="true"] .faq-accordion__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

/* ── Answer panel ── */
.faq-accordion__answer {
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-accordion__answer[hidden] {
    display: none;
}
.faq-accordion__answer p {
    padding: 0 var(--nx-space-lg);
    margin: 0 0 var(--nx-space-sm);
    font-size: var(--nx-text-sm);
    line-height: var(--nx-leading-relaxed);
    color: var(--nx-text-muted);
}
.faq-accordion__answer p:first-child {
    padding-top: 4px;
}
.faq-accordion__answer p:last-child {
    margin-bottom: 0;
    padding-bottom: var(--nx-space-md);
}

/* ── Contact CTA Card (extends nx-card) ── */
.faq-contact {
    padding: var(--nx-space-md) 0 var(--nx-space-3xl);
}
.faq-contact__card {
    text-align: center;
    padding: var(--nx-space-2xl) var(--nx-space-2xl);
    box-shadow: var(--nx-shadow-md);
}
.faq-contact__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xl);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin-bottom: var(--nx-space-sm);
}
.faq-contact__text {
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin-bottom: var(--nx-space-lg);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ── FAQ Page Responsive ── */
@media (max-width: 768px) {
    .faq-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-xl); }
    .faq-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .faq-categories::-webkit-scrollbar { display: none; }
    .faq-categories {
        mask-image: linear-gradient(to right, #000 85%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 85%, transparent 100%);
    }
    .faq-section__card {
        padding: var(--nx-space-lg) var(--nx-space-md);
        border-radius: var(--nx-radius-md);
    }
    .faq-section__title {
        font-size: var(--nx-text-md);
        margin-bottom: var(--nx-space-md);
        padding-bottom: var(--nx-space-sm);
    }
    .faq-accordion__question {
        padding: var(--nx-space-md) var(--nx-space-md);
        font-size: var(--nx-text-sm);
    }
    .faq-accordion__answer p {
        padding: 0 var(--nx-space-md);
        font-size: var(--nx-text-sm);
    }
    .faq-contact__card {
        padding: var(--nx-space-xl) var(--nx-space-lg);
    }
    .faq-contact { padding-bottom: var(--nx-space-3xl); }
}


/* ══════════════════════════════════════════════════════════════
   ABOUT PAGE
   Alternating split-section layout, CTA buttons, trust strip.
   Buttons → components.css (.nx-btn)
   Trust badges → components.css (.nx-trust-group)
   ══════════════════════════════════════════════════════════════ */

.about-page {
    background: var(--nx-bg);
}

/* ── Hero ── */
.about-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}
.about-hero .nx-section-heading__subtitle strong {
    color: var(--nx-color-primary);
    font-weight: var(--nx-weight-bold);
}

/* ── Content Sections ── */
.about-sections {
    padding: 0 0 var(--nx-space-2xl);
}
.about-sections .container {
    max-width: 1000px;
}

/* ── Alternating Row Layout ── */
.about-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-2xl);
    align-items: center;
    padding: var(--nx-space-2xl) 0;
}
.about-row + .about-row {
    border-top: 1px solid var(--nx-border);
}

/* Reverse: swap column order so text appears left, image right */
.about-row--reverse {
    direction: ltr;
}
.about-row--reverse > :first-child {
    order: 2;
}
.about-row--reverse > :last-child {
    order: 1;
}

/* ── Row Image ── */
.about-row__image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--nx-radius-lg);
    box-shadow: var(--nx-shadow-md);
}
.about-row__placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--nx-pastel-lavender);
    border-radius: var(--nx-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-semibold);
}

/* ── Row Text ── */
.about-row__heading {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xl);
    font-weight: var(--nx-weight-extrabold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-sm);
}
.about-row__text p {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin: 0 0 var(--nx-space-md);
}
.about-row__text p:last-child {
    margin-bottom: 0;
}

/* ── CTA Buttons ── */
.about-row__buttons {
    display: flex;
    gap: var(--nx-space-sm);
    flex-wrap: wrap;
    margin-top: var(--nx-space-md);
}

/* ── Trust Strip ── */
.about-trust-strip {
    text-align: center;
    padding: var(--nx-space-lg) 0 var(--nx-space-2xl);
}
.about-trust-strip .nx-trust-group {
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-semibold);
}

/* ── About Page Responsive ── */
@media (max-width: 768px) {
    .about-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
    .about-row {
        grid-template-columns: 1fr;
        gap: var(--nx-space-lg);
        padding: var(--nx-space-xl) 0;
    }
    /* On mobile, always show image above text */
    .about-row--reverse {
        direction: ltr;
    }
    .about-row__image {
        order: -1;
    }
    .about-row__heading { font-size: var(--nx-text-lg); }
    .about-row__buttons {
        flex-direction: column;
    }
    .about-row__buttons .nx-btn {
        text-align: center;
    }
}


/* ══════════════════════════════════════════════════════════════
   HOMEPAGE
   Hero, product grids, collection tiles, featured collection,
   trust cards, reviews, newsletter.
   Product cards → components.css (.nx-product-card)
   Buttons → components.css (.nx-btn)
   Section headings → components.css (.nx-section-heading)
   Trust badges → components.css (.nx-trust-group)
   ══════════════════════════════════════════════════════════════ */

/* ── Shared Section Rhythm ── */
.hp-section {
    padding: var(--nx-space-3xl) 0;
}
.hp-section__footer {
    text-align: center;
    margin-top: var(--nx-space-xl);
}

/* ── Hero ── */
.hp-hero {
    background: #E8ECF4;
    padding: var(--nx-space-3xl) 0 72px;
    position: relative;
    overflow: hidden;
}
.hp-hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--nx-space-2xl);
}
.hp-hero__text {
    position: relative;
    z-index: 1;
}
.hp-hero__headline {
    font-family: var(--nx-font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    line-height: var(--nx-leading-tight);
    margin: 0 0 var(--nx-space-md);
}
.hp-hero__subheadline {
    font-family: var(--nx-font-body);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin: 0 0 var(--nx-space-xl);
    max-width: 480px;
}
.hp-hero__buttons {
    display: flex;
    gap: var(--nx-space-md);
    flex-wrap: wrap;
}
.hp-hero__image {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hp-hero__image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    border-radius: var(--nx-radius-xl);
    background: var(--nx-surface-muted);
    border: 2px dashed var(--nx-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--nx-space-md);
    color: var(--nx-color-silver);
}
.hp-hero__image-placeholder svg { width: 80px; height: 80px; }
.hp-hero__image-placeholder span {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-semibold);
    letter-spacing: 0.04em;
}

/* ── Product Grids (Best Sellers & New Arrivals) ── */
.hp-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--nx-space-lg);
}
.hp-products-grid--four {
    grid-template-columns: repeat(4, 1fr);
}
/* Placeholder product card extras (no real product data) */
.nx-product-card--placeholder .nx-product-card__placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
}
.nx-product-card--placeholder .nx-product-card__placeholder-img svg {
    width: 64px;
    height: 64px;
    opacity: 0.3;
}
.hp-best-sellers { background: var(--nx-bg); }
.hp-new-arrivals { background: var(--nx-bg); }

/* ── Shop by Collection Tiles ── */
.hp-collections {
    background: var(--nx-surface-muted);
}
.hp-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nx-space-lg);
}
.hp-collection-tile {
    display: flex;
    flex-direction: column;
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    background: var(--nx-surface);
    box-shadow: var(--nx-shadow-sm);
    transition: transform var(--nx-ease-base), box-shadow var(--nx-ease-base);
    text-decoration: none;
    color: inherit;
}
.hp-collection-tile:hover {
    transform: translateY(-6px);
    box-shadow: var(--nx-shadow-lg);
}
.hp-collection-tile__image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nx-surface);
    color: var(--nx-color-silver);
}
.hp-collection-tile:nth-child(4n+1) .hp-collection-tile__image { background: var(--nx-pastel-pink); }
.hp-collection-tile:nth-child(4n+2) .hp-collection-tile__image { background: var(--nx-pastel-mint); }
.hp-collection-tile:nth-child(4n+3) .hp-collection-tile__image { background: var(--nx-pastel-blue); }
.hp-collection-tile:nth-child(4n+4) .hp-collection-tile__image { background: var(--nx-pastel-lavender); }
.hp-collection-tile__image img { width: 100%; height: 100%; object-fit: cover; }
.hp-collection-tile__image svg { width: 64px; height: 64px; opacity: 0.3; }
.hp-collection-tile__body {
    padding: 18px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nx-space-sm);
}
.hp-collection-tile__name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0;
}
.hp-collection-tile__cta {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-cta-start);
    white-space: nowrap;
    transition: gap var(--nx-ease-fast);
}
.hp-collection-tile:hover .hp-collection-tile__cta { color: var(--nx-color-cta-end); }

/* ── Featured Collection Spotlight ── */
.hp-featured-collection {
    background: var(--nx-surface-muted);
}
.hp-fc__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--nx-space-2xl);
}
.hp-fc__image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--nx-radius-xl);
    background: var(--nx-surface);
    border: 2px dashed var(--nx-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--nx-space-md);
    color: var(--nx-color-silver);
}
.hp-fc__image-placeholder svg { width: 64px; height: 64px; }
.hp-fc__image-placeholder span {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-semibold);
    letter-spacing: 0.04em;
}
.hp-fc__title {
    font-family: var(--nx-font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-md);
}
.hp-fc__desc {
    font-size: var(--nx-text-md);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin: 0 0 var(--nx-space-xl);
    max-width: 440px;
}

/* ── Why Choose Us Trust Cards ── */
.hp-why-choose-us {
    background: #E8ECF4;
}
.hp-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nx-space-lg);
}
.hp-trust-card {
    text-align: center;
    padding: var(--nx-space-xl) var(--nx-space-lg);
}
.hp-trust-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nx-shadow-md);
}
.hp-trust-card__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--nx-space-lg);
    color: var(--nx-color-cta-start);
}
.hp-trust-card__icon svg { width: 100%; height: 100%; }
.hp-trust-card__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-xs);
}
.hp-trust-card__desc {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin: 0;
}

/* ── Customer Reviews ── */
.hp-customer-reviews {
    background: var(--nx-surface-muted);
}
/* Carousel */
.hp-reviews-carousel {
    position: relative;
}
.hp-reviews-carousel__track {
    position: relative;
    overflow: hidden;
}
.hp-reviews-carousel__page {
    display: none;
    animation: nxReviewFadeIn 0.5s ease;
}
.hp-reviews-carousel__page--active {
    display: block;
}
@keyframes nxReviewFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Dots */
.hp-reviews-carousel__dots {
    display: flex;
    justify-content: center;
    gap: var(--nx-space-xs);
    margin-top: var(--nx-space-lg);
}
.hp-reviews-carousel__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--nx-color-primary);
    background: transparent;
    padding: 4px;
    box-sizing: content-box;
    cursor: pointer;
    transition: background 0.2s ease;
}
.hp-reviews-carousel__dot--active,
.hp-reviews-carousel__dot:hover {
    background: var(--nx-color-primary);
}
/* Grid */
.hp-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nx-space-xl);
}
.hp-review-card {
    text-align: center;
    padding: var(--nx-space-xl) var(--nx-space-lg);
}
.hp-review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nx-shadow-lg);
}
.hp-review-card__stars {
    display: flex;
    justify-content: center;
    margin-bottom: var(--nx-space-md);
}
.hp-review-card__text {
    font-size: var(--nx-text-base);
    line-height: var(--nx-leading-relaxed);
    color: var(--nx-text);
    margin-bottom: var(--nx-space-md);
    font-style: italic;
}
.hp-review-card__author {
    display: block;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-sm);
    color: var(--nx-color-primary);
}
.hp-review-card__product {
    display: block;
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    margin-top: var(--nx-space-xs);
    text-decoration: none;
    transition: color var(--nx-ease-fast);
}
a.hp-review-card__product:hover {
    color: var(--nx-color-primary);
}

/* ── Newsletter ── */
.hp-newsletter {
    background: var(--nx-surface-muted);
    border-top: 1px solid var(--nx-border);
}
.hp-newsletter__layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--nx-space-2xl);
    flex-wrap: wrap;
}
.hp-newsletter__title {
    margin-bottom: 4px;
    font-size: 1.4rem;
}
.hp-newsletter__subtitle {
    color: var(--nx-text-muted);
    margin-bottom: 0;
    font-size: var(--nx-text-base);
}
.hp-newsletter__form-wrap { flex-shrink: 0; }
.hp-newsletter__form {
    display: flex;
    gap: var(--nx-space-xs);
}
.hp-newsletter__input {
    border-radius: var(--nx-radius-pill);
    min-width: 220px;
}
.hp-newsletter__social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: var(--nx-space-xl);
}
.hp-newsletter__social a {
    color: var(--nx-text-muted);
    transition: color var(--nx-ease-fast);
}
.hp-newsletter__social a:hover { color: var(--nx-color-primary); }
.hp-newsletter__social svg { width: 24px; height: 24px; }

/* ── Homepage Responsive ── */
@media (max-width: 1024px) {
    .hp-products-grid--four { grid-template-columns: repeat(3, 1fr); }
    .hp-collection-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-trust-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hp-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-2xl); }
    .hp-hero__split { grid-template-columns: 1fr; gap: var(--nx-space-xl); }
    .hp-hero__image { order: -1; }
    .hp-hero__image-placeholder { max-width: 280px; }
    .hp-hero__text { text-align: center; }
    .hp-hero__headline { font-size: clamp(1.6rem, 5vw, 2.2rem); }
    .hp-hero__subheadline { margin-left: auto; margin-right: auto; }
    .hp-hero__buttons { justify-content: center; }

    .hp-products-grid--four { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-md); }
    .hp-collection-grid { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-md); }

    .hp-fc__split { grid-template-columns: 1fr; gap: var(--nx-space-xl); text-align: center; }
    .hp-fc__image-placeholder { max-width: 400px; margin: 0 auto; }
    .hp-fc__desc { margin-left: auto; margin-right: auto; }

    .hp-trust-grid { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-md); }
    .hp-reviews-grid { grid-template-columns: 1fr; gap: var(--nx-space-md); }

    /* Swipeable review carousel on mobile */
    .hp-reviews-carousel__track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;          /* Firefox */
    }
    .hp-reviews-carousel__track::-webkit-scrollbar { display: none; }
    .hp-reviews-carousel__page {
        display: block;
        flex: 0 0 100%;
        min-width: 100%;
        scroll-snap-align: start;
        animation: none;
    }
    .hp-reviews-carousel__page--active {
        display: block;              /* all pages visible in scroll container */
    }

    .hp-newsletter__layout {
        flex-direction: column;
        text-align: center;
        gap: var(--nx-space-lg);
    }
    .hp-newsletter__form-wrap { width: 100%; }
    .hp-newsletter__form { flex-direction: column; }
    .hp-newsletter__input { min-width: 0; width: 100%; }
}
@media (max-width: 480px) {
    .hp-products-grid--four { grid-template-columns: repeat(2, 1fr); gap: var(--nx-space-sm); }
    .hp-collection-grid { grid-template-columns: 1fr; }
    .hp-trust-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════════
   ANIMAL COLLECTIONS PRODUCT PAGE
   Two-column product layout, image swatches, type pills,
   content card sections, FAQ accordion, reviews, other collections.
   Buttons → components.css (.nx-btn)
   Pills → components.css (.nx-pill)
   Cards → components.css (.nx-card, .nx-collection-card)
   Quantity → components.css (.nx-qty)
   Trust badges → components.css (.nx-trust-group)
   ══════════════════════════════════════════════════════════════ */

/* ── Page wrapper ── */
.ac-product-page,
.sp-product-page { background: var(--nx-bg); }
.ac-product-page .container,
.sp-product-page .container { max-width: 1400px; }

/* ── Above-the-fold two-column layout ── */
.ac-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-3xl);
    align-items: start;
    padding: var(--nx-space-xl) 0 var(--nx-space-3xl);
}

/* ── Gallery (left column) ── */
.ac-gallery { position: sticky; top: calc(var(--header-height) + 24px); }
.ac-gallery .woocommerce-product-gallery { width: 100% !important; }
.ac-gallery .woocommerce-product-gallery__image img {
    border-radius: var(--nx-radius-lg);
    background: var(--nx-pastel-lavender);
}
.ac-gallery .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: var(--nx-space-sm);
    list-style: none;
    padding: 0;
    flex-wrap: wrap;
}
.ac-gallery .flex-control-thumbs li {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.ac-gallery .flex-control-thumbs li img {
    border-radius: var(--nx-radius-sm);
    border: 2px solid var(--nx-border);
    cursor: pointer;
    transition: border-color var(--nx-ease-fast);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ac-gallery .flex-control-thumbs li img.flex-active,
.ac-gallery .flex-control-thumbs li img:hover {
    border-color: var(--nx-color-primary);
}

/* ── Details (right column) ── */
.ac-details { padding-top: var(--nx-space-xs); }
.ac-title {
    font-family: var(--nx-font-heading);
    font-size: 2rem;
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 6px;
    line-height: var(--nx-leading-tight);
}
.ac-intro {
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-lg);
    line-height: var(--nx-leading-relaxed);
}

/* ── Price display ── */
.ac-details .price {
    font-family: var(--nx-font-heading);
    font-size: 1.35rem;
    font-weight: var(--nx-weight-extrabold);
    color: var(--nx-color-cta-start);
    line-height: 1.3;
}

/* Price container spacing — used by both .ac-price (simple) and .nx-price-display (variable) */
.ac-price,
.nx-price-display {
    margin-bottom: var(--nx-space-md);
}
.ac-details .price del { color: var(--nx-text-muted); font-size: 1rem; font-weight: var(--nx-weight-normal); }
.ac-details .price ins { text-decoration: none; }

/* ── FOUC prevention: hide WC variations form until JS initialises ── */
.ac-details .variations_form:not(.ac-variations-form) { visibility: hidden; height: 0; overflow: hidden; }

/* ── Variations form — overall styling ── */
.ac-variations-form .variations {
    width: 100%;
    border: none;
    border-collapse: collapse;
}
.ac-variations-form .variations tr { display: block; margin-bottom: 0; }
.ac-variations-form .variations td,
.ac-variations-form .variations th { display: block; padding: 0; border: none; vertical-align: top; }
.ac-variations-form .variations .label { display: none; }
.ac-variations-form .variations .value { width: 100%; }
.ac-variations-form .variations .reset_variations { display: none !important; }
.ac-variations-form .single_variation_wrap { display: flex; flex-direction: column; }
/* WC variation price hidden — we manage price display via .nx-price-display */
.ac-variations-form .woocommerce-variation { margin-bottom: 0; }
.ac-variations-form .woocommerce-variation-price { display: none; }

/* ── Variation selectors — now handled by nx-variation-* in components.css ── */

/* ── Variations form — vertical stack ── */
.ac-details .cart,
.ac-details form.cart {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

/* ── Quantity + Add to Basket row ── */
.ac-details .woocommerce-variation-add-to-cart,
.ac-details .cart:not(.variations_form) {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: var(--nx-space-xs) 0 var(--nx-space-lg);
    flex-wrap: nowrap;
    border: 2px solid var(--nx-border);
    border-radius: var(--nx-radius-lg);
    overflow: hidden;
    background: var(--nx-surface);
    min-height: 52px;
}
/* Override shared qty stepper to match inline layout */
.ac-details .nx-qty,
.ac-details .quantity {
    border: none;
    border-radius: 0;
    background: var(--nx-surface);
    flex-shrink: 0;
}
.ac-details .nx-qty__btn,
.ac-details .quantity .qty-btn {
    width: 44px;
    height: 100%;
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--nx-text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--nx-ease-fast);
}
.ac-details .nx-qty__btn:hover,
.ac-details .quantity .qty-btn:hover { background: var(--nx-surface-hover); }
.ac-details .nx-qty__input,
.ac-details .quantity input[type="number"] {
    width: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--nx-border);
    border-right: 1px solid var(--nx-border);
    background: transparent;
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    -moz-appearance: textfield;
    outline: none;
    height: 100%;
    border-radius: 0;
}
.ac-details .nx-qty__input:focus-visible,
.ac-details .quantity input[type="number"]:focus-visible {
    outline: 2px solid var(--nx-border-focus);
    outline-offset: 2px;
}
.ac-details .nx-qty__input::-webkit-inner-spin-button,
.ac-details .nx-qty__input::-webkit-outer-spin-button,
.ac-details .quantity input[type="number"]::-webkit-inner-spin-button,
.ac-details .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}
.ac-details .single_add_to_cart_button,
.ac-details button[type="submit"].single_add_to_cart_button {
    flex: 1 1 0%;
    min-width: 0;
    background: var(--nx-gradient-cta) !important;
    color: #fff !important;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-sm);
    padding: var(--nx-space-md) var(--nx-space-lg);
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: background var(--nx-ease-base), filter var(--nx-ease-base), box-shadow var(--nx-ease-base);
    text-align: center;
    letter-spacing: 0.02em;
}
.ac-details .single_add_to_cart_button:hover {
    filter: brightness(1.05);
    box-shadow: 0 4px 20px rgba(255, 107, 61, 0.35);
}
.ac-details .single_add_to_cart_button.disabled,
.ac-details .single_add_to_cart_button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: none;
    box-shadow: none;
}

/* ── Reassurance text (uses trust-badges partial) ── */
.ac-reassurance {
    padding-top: 4px;
}
.ac-reassurance .nx-trust-group {
    font-size: var(--nx-text-xs);
    color: var(--nx-text-muted);
    letter-spacing: 0.01em;
}
.ac-reassurance .nx-trust-sep { color: var(--nx-border); font-weight: 300; }

/* ── Below the fold gray background ── */
.ac-below-fold {
    background: #EDEDED;
    padding: var(--nx-space-2xl) 0 0;
}

/* ── Unified content card (extends nx-card) ── */
.ac-content-card {
    margin-bottom: var(--nx-space-2xl);
    color: var(--nx-text);
    line-height: 1.8;
    overflow: hidden;
}
.ac-content-section {
    padding: var(--nx-space-xl) var(--nx-space-2xl);
    border-bottom: 1px solid var(--nx-border);
}
.ac-content-section--last,
.ac-content-section:last-child {
    border-bottom: none;
}
.ac-content-section__title {
    font-family: var(--nx-font-heading);
    font-size: 1.3rem;
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-md);
    padding-bottom: var(--nx-space-sm);
    border-bottom: 2px solid var(--nx-border);
}
.ac-content-section__body p {
    margin: 0 0 var(--nx-space-sm);
    color: var(--nx-text);
}
.ac-content-section__body p:last-child { margin-bottom: 0; }

/* ── Details tab — two-column layout ── */
.ac-content-section--details {
    background: var(--nx-surface-muted);
}
.ac-details-tab {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0;
}
.ac-details-tab::before {
    content: '';
    grid-column: 2;
    grid-row: 1;
    background: var(--nx-border);
}
.ac-details-tab__col:first-child { padding-right: var(--nx-space-xl); }
.ac-details-tab__col:last-child { padding-left: var(--nx-space-xl); }
.ac-details-tab h3 {
    font-family: var(--nx-font-heading);
    font-size: 1.15rem;
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-md);
}
.ac-details-tab ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--nx-text-muted);
    line-height: 2;
}
.ac-details-tab p {
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
    margin-bottom: var(--nx-space-sm);
}

/* Safety warning callout */
.ac-safety-warning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: var(--nx-space-md);
}
.ac-safety-warning__icon {
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.ac-safety-warning p {
    margin: 0;
    font-weight: var(--nx-weight-semibold);
    color: var(--nx-text);
}

/* ── FAQ accordion ── */
.ac-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.ac-faq-item {
    border: 1px solid #d0d0d0;
    border-left: 3px solid #d0d0d0;
    margin-bottom: 10px;
    background: var(--nx-surface);
    border-radius: var(--nx-radius-sm);
    box-shadow: var(--nx-shadow-xs, 0 1px 4px rgba(0, 0, 0, 0.06));
}
.ac-faq-item:first-child { border-top: 1px solid #d0d0d0; }
.ac-faq-item.is-open {
    border-left-color: var(--nx-color-primary);
    box-shadow: var(--nx-shadow-sm);
}
.ac-faq-item__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--nx-space-md) var(--nx-space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    font-weight: var(--nx-weight-semibold);
    color: var(--nx-text);
    text-align: left;
    transition: color var(--nx-ease-fast);
}
.ac-faq-item__question:hover { color: var(--nx-color-primary-light); }
.ac-faq-item__icon {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--nx-text-muted);
    transition: transform var(--nx-ease-fast);
    flex-shrink: 0;
    margin-left: var(--nx-space-md);
}
.ac-faq-item.is-open .ac-faq-item__icon { transform: rotate(45deg); }
.ac-faq-item__answer {
    padding: 0 var(--nx-space-lg) var(--nx-space-md);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-relaxed);
}
.ac-faq-item__answer p { margin: 0; }

/* ── Reviews section (inside unified card) ── */
.ac-reviews-section {
    padding: var(--nx-space-xl) var(--nx-space-2xl);
    border-top: none;
    margin-top: 0;
}
.ac-reviews-section .ac-content-section__title {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: var(--nx-space-lg);
}
.ac-review-count {
    font-size: var(--nx-text-sm);
    font-weight: 400;
    color: var(--nx-text-muted);
    margin-left: 4px;
}
/* Hide WooCommerce "X reviews for Product" heading */
.ac-reviews-section #reviews > h2,
.ac-reviews-section .woocommerce-Reviews-title {
    display: none !important;
}

/* Review list */
.ac-reviews-section .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--nx-space-xs);
}
.ac-reviews-section .commentlist .comment {
    padding: var(--nx-space-sm) var(--nx-space-lg);
    border: none !important;
    margin: 0;
    list-style: none;
}
.ac-reviews-section .commentlist .avatar,
.ac-reviews-section .commentlist img.avatar { display: none !important; }
.ac-reviews-section .commentlist .comment-text {
    padding: 0 !important;
    border: none !important;
    margin: 0 !important;
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 6px;
}
.ac-reviews-section .commentlist .comment-text .description {
    width: 100%;
    margin-top: 4px;
}
.ac-reviews-section .commentlist .comment-text .meta,
.ac-reviews-section .commentlist .meta {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    margin: 0 !important;
    font-size: var(--nx-text-sm);
    float: none !important;
    position: static !important;
    flex: 1;
}
.ac-reviews-section .commentlist .star-rating {
    color: var(--nx-color-star);
    display: inline-block !important;
    flex-shrink: 0;
    float: none !important;
    position: relative !important;
    order: -1;
    margin: 0 4px 0 0 !important;
    top: auto !important;
    right: auto !important;
    overflow: hidden;
    font-size: 0.85em;
    width: 5.4em;
    height: 1.618em;
    line-height: 1.618;
    font-family: star;
}
.ac-reviews-section .commentlist .star-rating::before {
    content: "\73\73\73\73\73";
    color: var(--nx-color-star);
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    opacity: 0.25;
}
.ac-reviews-section .commentlist .star-rating span {
    overflow: hidden !important;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    padding-top: 1.5em;
}
.ac-reviews-section .commentlist .star-rating span::before {
    content: "\53\53\53\53\53";
    color: var(--nx-color-star);
    top: 0;
    position: absolute;
    left: 0;
}
.ac-reviews-section .commentlist .meta strong,
.ac-reviews-section .commentlist .meta .woocommerce-review__author {
    color: var(--nx-text);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-base);
    order: 0;
}
.ac-reviews-section .commentlist .meta time,
.ac-reviews-section .commentlist .meta .woocommerce-review__published-date {
    margin-left: auto;
    color: var(--nx-text-muted);
    font-size: var(--nx-text-xs);
    flex-shrink: 0;
    order: 1;
}
.ac-reviews-section .commentlist .meta .verified {
    font-size: 0.78rem;
    color: var(--nx-text-muted);
}
.ac-reviews-section .commentlist .meta .woocommerce-review__dash { display: none; }
.ac-reviews-section .commentlist .description p {
    font-style: italic;
    color: var(--nx-text-muted);
    margin: 0;
    line-height: var(--nx-leading-relaxed);
    font-size: var(--nx-text-sm);
}
.ac-reviews-section .commentlist .description p::before { content: '\201C'; }
.ac-reviews-section .commentlist .description p::after { content: '\201D'; }
.ac-reviews-section .woocommerce-noreviews {
    color: var(--nx-text-muted);
    font-size: var(--nx-text-sm);
    margin-bottom: var(--nx-space-xs);
}

/* Write a Review toggle button (extends nx-btn--primary) */
.ac-review-toggle-wrap {
    text-align: center;
    margin-top: var(--nx-space-md);
    padding-top: 0;
    border-top: none;
}

/* ── Write a Review Form ── */
/* Hidden by default, toggled via JS */
.ac-reviews-section .comment-respond {
    display: none;
    padding: var(--nx-space-xl);
    margin-top: var(--nx-space-lg);
    border-top: 1px solid var(--nx-border);
    background: var(--nx-surface-muted);
    border-radius: var(--nx-radius-lg);
}
.ac-reviews-section .comment-respond.is-visible { display: block; }

/* Form title */
.ac-reviews-section .comment-respond .comment-reply-title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-lg);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin-bottom: var(--nx-space-lg);
    padding-top: 0;
    border-top: none;
}
.ac-reviews-section .comment-respond .comment-reply-title small { display: none; }

/* All form field wrappers */
.ac-reviews-section .comment-form p[class*="comment-form-"],
.ac-reviews-section .comment-form .comment-form-rating {
    margin-bottom: var(--nx-space-md);
}

/* Labels — match nx-field__label */
.ac-reviews-section .comment-form label {
    display: block;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-semibold);
    font-size: var(--nx-text-sm);
    color: var(--nx-text);
    margin-bottom: 8px;
}
.ac-reviews-section .comment-form label .required {
    color: var(--nx-status-error);
    text-decoration: none;
    border: none;
}

/* Text inputs — match nx-field__input */
.ac-reviews-section .comment-form input[type="text"],
.ac-reviews-section .comment-form input[type="email"] {
    width: 100%;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    padding: 12px 16px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-surface);
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
}
.ac-reviews-section .comment-form input[type="text"]:focus,
.ac-reviews-section .comment-form input[type="email"]:focus {
    border-color: var(--nx-border-focus);
    box-shadow: var(--nx-focus-ring);
}
.ac-reviews-section .comment-form input[type="text"]:focus-visible,
.ac-reviews-section .comment-form input[type="email"]:focus-visible {
    outline: 2px solid var(--nx-border-focus);
    outline-offset: 2px;
}

/* Name + email side by side on desktop */
.ac-reviews-section .comment-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0 var(--nx-space-md);
}
.ac-reviews-section .comment-form .comment-form-author,
.ac-reviews-section .comment-form .comment-form-email {
    flex: 1 1 calc(50% - var(--nx-space-md) / 2);
    min-width: 200px;
}
.ac-reviews-section .comment-form .comment-form-rating,
.ac-reviews-section .comment-form .comment-form-comment,
.ac-reviews-section .comment-form .form-submit {
    flex: 0 0 100%;
}

/* Textarea — match nx-field textarea */
.ac-reviews-section .comment-form-comment textarea {
    width: 100%;
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    padding: 12px 16px;
    border: 1px solid var(--nx-border);
    border-radius: var(--nx-radius-sm);
    background: var(--nx-surface);
    resize: vertical;
    min-height: 120px;
    outline: none;
    box-sizing: border-box;
    transition: border-color var(--nx-ease-fast), box-shadow var(--nx-ease-fast);
}
.ac-reviews-section .comment-form-comment textarea:focus {
    border-color: var(--nx-border-focus);
    box-shadow: var(--nx-focus-ring);
}
.ac-reviews-section .comment-form-comment textarea:focus-visible {
    outline: 2px solid var(--nx-border-focus);
    outline-offset: 2px;
}

/* Star rating selector — interactive stars replacing WC defaults */
.ac-reviews-section .comment-form-rating select,
.ac-reviews-section .comment-form-rating p.stars {
    display: none !important; /* Hidden, replaced by nx-star-selector */
}
.nx-star-selector {
    display: inline-flex;
    gap: 4px;
    cursor: pointer;
}
.nx-star-selector__star {
    font-size: 1.6rem;
    color: var(--nx-border);
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    line-height: 1;
    -webkit-user-select: none;
    user-select: none;
}
.nx-star-selector__star--active {
    color: var(--nx-color-star);
}
.nx-star-selector__star:hover {
    transform: scale(1.15);
}

/* Submit button — uses nx-btn nx-btn--primary tokens */
.ac-reviews-section .form-submit {
    margin-top: var(--nx-space-sm);
}
.ac-reviews-section .comment-form .form-submit .submit,
.ac-reviews-section .form-submit input[type="submit"],
.ac-reviews-section .form-submit input.submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: var(--nx-gradient-cta) !important;
    color: var(--nx-text-on-cta) !important;
    border: none !important;
    border-radius: var(--nx-radius-pill) !important;
    padding: 12px 32px !important;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-base);
    cursor: pointer;
    box-shadow: var(--nx-shadow-cta);
    transition: transform var(--nx-ease-base), box-shadow var(--nx-ease-base);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.ac-reviews-section .comment-form .form-submit .submit:hover,
.ac-reviews-section .form-submit input[type="submit"]:hover,
.ac-reviews-section .form-submit input.submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--nx-shadow-cta-hover);
}
.ac-reviews-section .comment-form .form-submit .submit:active,
.ac-reviews-section .form-submit input[type="submit"]:active,
.ac-reviews-section .form-submit input.submit:active {
    transform: translateY(0);
}

/* Logged-in / must-log-in notices */
.ac-reviews-section .comment-form .logged-in-as,
.ac-reviews-section .must-log-in {
    flex: 0 0 100%;
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin-bottom: var(--nx-space-md);
}
.ac-reviews-section .must-log-in a,
.ac-reviews-section .logged-in-as a {
    color: var(--nx-color-primary);
    font-weight: var(--nx-weight-semibold);
}

/* Verification required message */
.ac-reviews-section .woocommerce-verification-required {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    text-align: center;
    padding: var(--nx-space-lg);
}

/* Mobile: stack name/email */
@media (max-width: 600px) {
    .ac-reviews-section .comment-form .comment-form-author,
    .ac-reviews-section .comment-form .comment-form-email {
        flex: 0 0 100%;
    }
}

/* ── Explore Other Collections ── */
.ac-other-collections {
    padding: var(--nx-space-xl) 0 var(--nx-space-3xl);
    border-top: none;
    margin-top: 0;
}
.ac-other-collections .nx-section-heading {
    text-align: left;
    margin-bottom: var(--nx-space-lg);
}
.ac-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nx-space-xl);
}
/* Placeholder fallback inside shared card */
.ac-col-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nx-text-muted);
}
.ac-col-card__placeholder svg { width: 48px; height: 48px; opacity: 0.3; }

/* ── Hide product meta on animal page (SKU, Category, Tags) ── */
.ac-product .product_meta { display: none; }

/* ── Variation description (WooCommerce default) ── */
.ac-details .woocommerce-variation-description p {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin-bottom: var(--nx-space-sm);
}
.ac-details .woocommerce-variation-availability p {
    font-size: var(--nx-text-xs);
    font-weight: var(--nx-weight-semibold);
}

/* ── Animal Collection Responsive ── */
@media (max-width: 1024px) {
    .ac-layout { gap: var(--nx-space-xl); }
}
@media (max-width: 768px) {
    .ac-layout { grid-template-columns: 1fr; gap: var(--nx-space-xl); }
    .ac-gallery { position: static; min-width: 0; }
    .ac-details { min-width: 0; }
    .ac-details .nx-variation-tiles--scroll { max-width: calc(100vw - 48px); }
    .ac-title { font-size: 1.6rem; }
    .ac-details-tab { grid-template-columns: 1fr; gap: var(--nx-space-lg); }
    .ac-details-tab::before { display: none; }
    .ac-details-tab__col:first-child { padding-right: 0; padding-bottom: var(--nx-space-lg); border-bottom: 1px solid var(--nx-border); }
    .ac-details-tab__col:last-child { padding-left: 0; }
    .ac-collections-grid { grid-template-columns: repeat(2, 1fr); }
    .ac-content-section { padding: var(--nx-space-lg) var(--nx-space-lg); }
    .ac-reviews-section { padding: var(--nx-space-lg) var(--nx-space-lg); }
}
@media (max-width: 480px) {
    .ac-collections-grid { grid-template-columns: 1fr; }
    .ac-swatch img, .ac-swatch__text-fallback { width: 44px; height: 44px; }
    .ac-swatch { min-width: 56px; }
    .ac-type-pill { padding: 8px 18px; font-size: var(--nx-text-xs); }
}


/* ══════════════════════════════════════════════════════════════
   STANDARD PRODUCT PAGE
   Extends the animal collection layout (ac-* classes) with
   additional selectors for colour swatches and related products.
   ══════════════════════════════════════════════════════════════ */

/* ── Variation selectors — now handled by nx-variation-* in components.css ── */

/* ── Related products grid (4 columns) ── */
.sp-related-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Standard Product Responsive ── */
@media (max-width: 768px) {
    .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .sp-related-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   SHIPPING PAGE
   ========================================================================== */

.shipping-page {
    background: var(--nx-bg);
}

.shipping-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}

/* ── Shared card title ── */
.shipping-card {
    margin-bottom: var(--nx-space-lg);
}

.shipping-card__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xl);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin: 0 0 var(--nx-space-sm);
}

.shipping-card__intro {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-lg);
}

/* ── Process Steps (3-column) ── */
.shipping-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nx-space-lg);
}

.shipping-process__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--nx-surface-muted);
    border-radius: var(--nx-radius-md);
    padding: var(--nx-space-lg) var(--nx-space-md);
    position: relative;
}

.shipping-process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--nx-gradient-cta);
    color: var(--nx-text-on-cta);
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-sm);
    font-weight: var(--nx-weight-bold);
    margin-bottom: var(--nx-space-xs);
}

.shipping-process__name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
    margin-bottom: var(--nx-space-sm);
}

.shipping-process__icon {
    margin-bottom: var(--nx-space-sm);
}

.shipping-process__desc {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: 0;
    line-height: var(--nx-leading-normal);
}

/* ── Delivery Options (2-column) ── */
.shipping-delivery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nx-space-lg);
}

.shipping-delivery__option {
    background: var(--nx-surface-muted);
    border-radius: var(--nx-radius-md);
    padding: var(--nx-space-lg);
}

.shipping-delivery__header {
    display: flex;
    align-items: center;
    gap: var(--nx-space-sm);
    margin-bottom: var(--nx-space-md);
}

.shipping-delivery__flag {
    font-size: 1.6rem;
    line-height: 1;
}

.shipping-delivery__name {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-md);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-text);
}

.shipping-delivery__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-xs);
}

.shipping-delivery__list li {
    display: flex;
    align-items: baseline;
    gap: var(--nx-space-xs);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
}

.shipping-delivery__check {
    color: var(--nx-color-primary-light);
    font-size: var(--nx-text-sm);
    flex-shrink: 0;
}

/* ── Checkout delivery option cards ── */
.shipping-delivery--checkout {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--nx-space-sm);
}
.shipping-delivery--checkout .shipping-delivery__option {
    padding: var(--nx-space-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.shipping-delivery--checkout .shipping-delivery__option:hover {
    border-color: var(--nx-color-primary-light);
}
.shipping-delivery--checkout .shipping-delivery__option--selected,
.shipping-delivery--checkout .shipping-delivery__option:has(input:checked) {
    border-color: var(--nx-color-primary);
    background: var(--nx-pastel-blue);
}
.shipping-delivery--checkout .shipping-delivery__header {
    margin-bottom: var(--nx-space-xs);
}
.shipping-delivery--checkout .shipping-delivery__cost {
    margin-left: auto;
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-extrabold);
    color: var(--nx-color-cta-start);
    font-size: var(--nx-text-md);
}
.shipping-delivery--checkout .nexus-checkout__shipping-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.shipping-delivery--checkout .shipping-delivery__list li {
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
}
.nexus-checkout__no-shipping {
    color: var(--nx-text-muted);
    font-size: var(--nx-text-sm);
}

/* ── Carefully Packaged (split layout) ── */
.shipping-packaging {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--nx-space-xl);
    align-items: center;
}

.shipping-packaging__content p {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0;
    line-height: var(--nx-leading-normal);
}

.shipping-packaging__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--nx-space-xs);
    background: var(--nx-surface-muted);
    border: 2px dashed var(--nx-border);
    border-radius: var(--nx-radius-md);
    padding: var(--nx-space-2xl) var(--nx-space-lg);
    color: var(--nx-text-muted);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    min-height: 180px;
}

/* ── Important Information ── */
.shipping-important__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}

.shipping-important__list li {
    display: flex;
    align-items: baseline;
    gap: var(--nx-space-sm);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    line-height: var(--nx-leading-normal);
}

.shipping-important__icon {
    color: var(--nx-color-cta-start);
    font-size: var(--nx-text-md);
    flex-shrink: 0;
}

/* ── Help Section ── */
.shipping-help {
    text-align: center;
    padding: var(--nx-space-2xl) 0;
}

.shipping-help p {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-lg);
}

.shipping-help a:not(.nx-btn) {
    color: var(--nx-color-primary);
    text-decoration: underline;
}

/* ── Shipping Responsive ── */
@media (max-width: 768px) {
    .shipping-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
    .shipping-process { grid-template-columns: 1fr; gap: var(--nx-space-md); }
    .shipping-delivery { grid-template-columns: 1fr; gap: var(--nx-space-md); }
    .shipping-packaging { grid-template-columns: 1fr; }
    .shipping-packaging__placeholder { min-height: 140px; }
}


/* ==========================================================================
   RETURNS & REFUNDS PAGE
   ========================================================================== */

.returns-page {
    background: var(--nx-bg);
}

.returns-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}

/* ── Card overrides ── */
.returns-card {
    margin-bottom: var(--nx-space-lg);
    padding: 0;
    overflow: hidden;
}

.returns-card__header {
    padding: var(--nx-space-lg) var(--nx-space-lg) 0;
}

.returns-card__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-lg);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0;
}

.returns-card__body {
    padding: var(--nx-space-lg);
}

.returns-card__note {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-color-cta-start);
    margin: var(--nx-space-md) 0 0;
    padding-top: var(--nx-space-md);
    border-top: 1px solid var(--nx-border);
}

/* ── List rows ── */
.returns-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}

.returns-list li {
    display: flex;
    align-items: center;
    gap: var(--nx-space-sm);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    line-height: var(--nx-leading-normal);
}

.returns-list__icon {
    flex-shrink: 0;
    font-size: 1.3rem;
    line-height: 1;
}

.returns-list__icon--check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--nx-status-success);
    color: #fff;
    font-size: 0.75rem;
    font-weight: var(--nx-weight-bold);
}

/* ── CTA section ── */
.returns-cta {
    text-align: center;
    padding: var(--nx-space-xl) 0 var(--nx-space-2xl);
}

/* ── Returns Responsive ── */
@media (max-width: 768px) {
    .returns-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
    .returns-card__header { padding: var(--nx-space-md) var(--nx-space-md) 0; }
    .returns-card__body { padding: var(--nx-space-md); }
}


/* ==========================================================================
   PRIVACY & COOKIE POLICY PAGE
   ========================================================================== */

.privacy-page {
    background: var(--nx-bg);
}

.privacy-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}

/* ── Card styles ── */
.privacy-card {
    margin-bottom: var(--nx-space-lg);
}

.privacy-card__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xl);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-sm);
}

.privacy-card__intro {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-lg);
    line-height: var(--nx-leading-normal);
}

/* ── List rows ── */
.privacy-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}

.privacy-list li {
    display: flex;
    align-items: baseline;
    gap: var(--nx-space-sm);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    line-height: var(--nx-leading-normal);
}

.privacy-list__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--nx-status-success);
    color: #fff;
    font-size: 0.7rem;
    font-weight: var(--nx-weight-bold);
    flex-shrink: 0;
}

/* ── Card subtitle (subsection within a card) ── */
.privacy-card__subtitle {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-lg);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: var(--nx-space-xl) 0 var(--nx-space-xs);
}

/* ── Note text ── */
.privacy-card__note {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: var(--nx-space-md) 0 0;
    font-style: italic;
}

/* ── ICO complaint note ── */
.privacy-card__ico-note {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-sm);
    color: var(--nx-text-muted);
    margin: var(--nx-space-lg) 0 0;
    line-height: var(--nx-leading-normal);
}

.privacy-card__ico-note a {
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.privacy-card__ico-note a:hover {
    color: var(--nx-color-primary-light);
}

/* ── Contact card ── */
.privacy-card--contact {
    text-align: center;
}

.privacy-card--contact .privacy-card__intro {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-card__email {
    margin: 0 0 var(--nx-space-lg);
}

.privacy-card__email a {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.privacy-card__email a:hover {
    color: var(--nx-color-primary-light);
}

/* ── Privacy Responsive ── */
@media (max-width: 768px) {
    .privacy-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
}


/* ==========================================================================
   TERMS & CONDITIONS PAGE
   ========================================================================== */

.terms-page {
    background: var(--nx-bg);
}

.terms-hero {
    text-align: center;
    padding: var(--nx-space-3xl) 0 var(--nx-space-2xl);
}

/* ── Intro paragraph ── */
.terms-intro {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--nx-space-xl);
    line-height: var(--nx-leading-normal);
}

.terms-intro a {
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.terms-intro a:hover {
    color: var(--nx-color-primary-light);
}

/* ── Card styles ── */
.terms-card {
    margin-bottom: var(--nx-space-lg);
}

.terms-card__title {
    font-family: var(--nx-font-heading);
    font-size: var(--nx-text-xl);
    font-weight: var(--nx-weight-bold);
    color: var(--nx-color-primary);
    margin: 0 0 var(--nx-space-md);
}

/* ── Bullet list ── */
.terms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--nx-space-md);
}

.terms-list li {
    position: relative;
    padding-left: var(--nx-space-lg);
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text);
    line-height: var(--nx-leading-normal);
}

.terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--nx-color-primary-light);
}

.terms-list li a {
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.terms-list li a:hover {
    color: var(--nx-color-primary-light);
}

/* ── Contact card ── */
.terms-card--contact {
    text-align: center;
}

.terms-card--contact p {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    margin: 0 0 var(--nx-space-sm);
    line-height: var(--nx-leading-normal);
}

.terms-card--contact a:not(.nx-btn) {
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.terms-card--contact a:not(.nx-btn):hover {
    color: var(--nx-color-primary-light);
}

.terms-card__email {
    margin: 0;
}

.terms-card__email a {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-color-primary);
    text-decoration: underline;
}

.terms-card__email a:hover {
    color: var(--nx-color-primary-light);
}

/* ── Terms Responsive ── */
@media (max-width: 768px) {
    .terms-hero { padding: var(--nx-space-2xl) 0 var(--nx-space-lg); }
}


/* ══════════════════════════════════════════════════════════════
   404 PAGE
   ══════════════════════════════════════════════════════════════ */

.nf-page {
    background: var(--nx-bg);
    padding: var(--nx-space-lg) 0;
    display: flex;
    align-items: center;
}

.nf-page__inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.nf-page__code {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-extrabold);
    font-size: clamp(3.5rem, 12vw, 6rem);
    line-height: 1;
    background: var(--nx-gradient-cta);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 var(--nx-space-2xs);
    letter-spacing: -2px;
}

.nf-page__title {
    font-family: var(--nx-font-heading);
    font-weight: var(--nx-weight-bold);
    font-size: var(--nx-text-xl);
    color: var(--nx-text);
    margin: 0 0 var(--nx-space-xs);
}

.nf-page__desc {
    font-family: var(--nx-font-body);
    font-size: var(--nx-text-base);
    color: var(--nx-text-muted);
    line-height: var(--nx-leading-normal);
    margin: 0 0 var(--nx-space-md);
}

/* Illustration */
.nf-page__illustration {
    max-width: 220px;
    margin: 0 auto var(--nx-space-md);
}

.nf-page__printer-img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA buttons */
.nf-page__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--nx-space-xs);
    margin-bottom: var(--nx-space-md);
}

/* ── 404 Responsive ── */
@media (max-width: 480px) {
    .nf-page { padding: var(--nx-space-2xl) 0; }
    .nf-page__actions { flex-direction: column; align-items: center; }
    .nf-page__actions .nx-btn { width: 100%; max-width: 280px; }
}
