/*
Theme Name: Jash Marketing
Theme URI: https://jashmarketing.com/
Author: Jash Marketing
Description: Clean digital bookstore and editorial publication theme built for WooCommerce, SliceWP, Contact Form 7, and Tailwind CSS.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jash-marketing
Tags: e-commerce, digital-downloads, blog, custom-background, featured-images, full-width-template
*/

/* ============================================================
   1. DESIGN TOKENS & LAYERED COLOR ARCHITECTURE
   ============================================================ */
:root {
    --radius: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;

    /* Light Mode Layered Surfaces (Crisp Alabaster & Ice Blue) */
    --background: 210 40% 98.5%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --secondary: 214 45% 95%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 214 35% 94%;
    --muted-foreground: 215.4 16.3% 42%;
    --border: 214.3 31.8% 89%;
    --input: 214.3 31.8% 89%;

    /* Core Brand Blue Anchors (Preserved for Logo Parity) */
    --primary: #0066ff;
    --primary-deep: #0052cc;
    --primary-dark: #003d99;
    --primary-cyan: #00d4ff;
    --primary-indigo: #4f46e5;
    --primary-foreground: #ffffff;
    --accent: #0066ff;
    --accent-foreground: #ffffff;
    --ring: #0066ff;

    /* Status & Semantic Tokens */
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --success: #10b981;
    --warning: #f59e0b;

    /* Contrast & Surface Tokens */
    --surface-ice: #f0f6ff;
    --surface-slate: #f8fafc;
    --surface-navy: #070d1f;
    --surface-navy-card: #0d1630;
    --glass-bg: rgba(255, 255, 255, 0.82);
    --glass-border: rgba(0, 102, 255, 0.16);

    /* Gradients & Shadows */
    --gradient-brand: linear-gradient(135deg, #0052cc 0%, #0066ff 55%, #00b4ff 100%);
    --gradient-dark-navy: radial-gradient(circle at 85% 15%, rgba(0, 102, 255, 0.28) 0%, transparent 45%), radial-gradient(circle at 15% 85%, rgba(79, 70, 229, 0.22) 0%, transparent 45%), linear-gradient(180deg, #070d1f 0%, #0b132b 100%);
    --gradient-hero-mesh: radial-gradient(ellipse 80% 60% at 50% -15%, rgba(0, 102, 255, 0.16) 0%, rgba(0, 212, 255, 0.05) 50%, transparent 80%), linear-gradient(180deg, #f0f6ff 0%, #f8fafc 100%);
    --gradient-glow: radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.22), transparent 65%);
    --shadow-elegant: 0 20px 50px -15px rgba(7, 13, 31, 0.07), 0 4px 20px -4px rgba(0, 102, 255, 0.06);
    --shadow-glow: 0 12px 35px -8px rgba(0, 102, 255, 0.4);
    --shadow-card-hover: 0 24px 48px -12px rgba(0, 102, 255, 0.16);

    /* 2-Tier Clean E-Commerce Typography Stack (Tabular Numbers, Zero Slashed Terminal Zeros) */
    --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dark Mode Overrides */
.dark {
    --background: 224 64% 5%;
    --foreground: 210 40% 98%;
    --card: 224 55% 8%;
    --card-foreground: 210 40% 98%;
    --popover: 224 55% 8%;
    --popover-foreground: 210 40% 98%;
    --secondary: 220 40% 13%;
    --secondary-foreground: 210 40% 98%;
    --muted: 220 40% 13%;
    --muted-foreground: 215 20.2% 68%;
    --border: 218 35% 16%;
    --input: 218 35% 16%;

    --surface-ice: #0c162d;
    --surface-slate: #091124;
    --surface-navy: #050914;
    --surface-navy-card: #0b1329;
    --glass-bg: rgba(11, 19, 41, 0.82);
    --glass-border: rgba(0, 102, 255, 0.28);

    --gradient-hero-mesh: radial-gradient(ellipse 80% 60% at 50% -15%, rgba(0, 102, 255, 0.28) 0%, rgba(79, 70, 229, 0.1) 50%, transparent 80%), linear-gradient(180deg, #070d1f 0%, #050914 100%);
    --shadow-elegant: 0 20px 50px -15px rgba(0, 0, 0, 0.5), 0 4px 20px -4px rgba(0, 102, 255, 0.12);
}

/* ============================================================
   2. BASE TYPOGRAPHY & GLOBAL RESET
   ============================================================ */
html {
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: var(--font-sans);
    overflow-x: hidden;
    transition: background-color 0.25s ease, color 0.25s ease;
}

h1, h2, h3, h4, h5, h6, .font-display {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
}

.font-mono, code, kbd, pre {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   2B. E-COMMERCE PRICE & SALE FORMATTING (FIXES <del> & <ins>)
   ============================================================ */
ins,
.price ins,
.jash-price-stack ins,
.jash-price-lg ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
    text-decoration: none !important;
    background: transparent !important;
}

.jash-price-stack {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 1.125rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    line-height: 1.1;
}

.jash-price-stack ins {
    order: 1;
    font-size: 1.125rem;
    font-weight: 800;
    color: hsl(var(--foreground));
}

.jash-price-stack del {
    order: 2;
    font-size: 0.8rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-decoration: line-through !important;
    opacity: 0.8;
}

.jash-price-lg {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--foreground));
    line-height: 1.1;
}

.jash-price-lg ins {
    order: 1;
    font-size: 2rem;
    font-weight: 800;
    color: hsl(var(--foreground));
}

.jash-price-lg del {
    order: 2;
    font-size: 1.05rem;
    font-weight: 600;
    color: hsl(var(--muted-foreground));
    text-decoration: line-through !important;
    opacity: 0.8;
}

.jash-price-free {
    color: #059669;
    font-weight: 800;
}

.dark .jash-price-free {
    color: #34d399;
}

.jash-product-card {
    box-shadow: 0 4px 20px -4px rgba(7, 13, 31, 0.05);
}

.jash-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px -12px rgba(0, 102, 255, 0.14);
}

::selection {
    background-color: rgba(0, 102, 255, 0.22);
    color: inherit;
}
::-moz-selection {
    background-color: rgba(0, 102, 255, 0.22);
    color: inherit;
}

/* Anchor Scroll Offset for Sticky Command Header */
[id] {
    scroll-margin-top: 6.5rem;
}

/* ============================================================
   3. ARCHITECTURAL SURFACES, GRIDS & CARDS
   ============================================================ */
.bg-gradient-brand {
    background-image: var(--gradient-brand) !important;
}

.bg-gradient-hero {
    background-image: var(--gradient-hero-mesh) !important;
}

.bg-midnight-navy {
    background-image: var(--gradient-dark-navy) !important;
    color: #f8fafc;
}

.bg-surface-ice {
    background-color: var(--surface-ice);
}

.bg-surface-slate {
    background-color: var(--surface-slate);
}

/* Subtle Architectural Grid Overlay */
.bg-grid-blue {
    background-size: 36px 36px;
    background-image: 
        linear-gradient(to right, rgba(0, 102, 255, 0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 102, 255, 0.06) 1px, transparent 1px);
}

.dark .bg-grid-blue {
    background-image: 
        linear-gradient(to right, rgba(0, 102, 255, 0.11) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 102, 255, 0.11) 1px, transparent 1px);
}

/* Glass Panels & Shadows */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
}

.shadow-elegant {
    box-shadow: var(--shadow-elegant) !important;
}

.shadow-glow {
    box-shadow: var(--shadow-glow) !important;
}

/* Bento Card Interactive Hover Architecture */
.bento-card {
    position: relative;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 1.5rem;
    box-shadow: var(--shadow-elegant);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 102, 255, 0.5);
    box-shadow: var(--shadow-card-hover);
}

/* Blog Card: Color Change Only on Hover (No Lift, No Image Crop) */
.jash-blog-card {
    background-color: hsl(var(--card));
    border: 1.5px solid hsl(var(--border));
    border-radius: 1.5rem;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.jash-blog-card:hover {
    border-color: #0066ff;
    transform: none !important;
}

.jash-blog-thumb-wrap {
    width: 100%;
    background-color: hsl(var(--secondary) / 0.4);
    border-bottom: 1px solid hsl(var(--border));
    overflow: hidden;
}

.jash-blog-thumb-wrap img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    transform: none !important;
}

/* Gradient Text Utility */
.text-gradient-brand {
    background: linear-gradient(135deg, #0066ff 0%, #00b4ff 60%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark .text-gradient-brand {
    background: linear-gradient(135deg, #38bdf8 0%, #0066ff 55%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================================
   4. PAGINATION, SCROLLBARS & EDITORIAL POLICIES
   ============================================================ */
.jash-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.jash-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.85rem;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(0, 102, 255, 0.22);
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jash-pagination a.page-numbers:hover {
    border-color: #0066ff;
    color: #0066ff;
    background: rgba(0, 102, 255, 0.06);
}

.jash-pagination .page-numbers.current {
    background: #0066ff;
    color: #ffffff;
    border-color: #0066ff;
}

.jash-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    min-width: 1.75rem;
    padding: 0;
}

/* Legal & Policy Page Editorial Body */
.policy-editorial-body {
    font-size: 0.975rem;
    line-height: 1.85;
    color: hsl(var(--foreground));
    overflow-wrap: anywhere;
    word-break: break-word;
}

.policy-editorial-body h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 900;
    margin-top: 2rem;
    margin-bottom: 0.65rem;
    color: hsl(var(--foreground));
}

.policy-editorial-body h2:first-child {
    margin-top: 0;
}

.policy-editorial-body p {
    margin-bottom: 1.15rem;
    color: hsl(var(--foreground) / 0.9);
}

.policy-editorial-body p:last-child {
    margin-bottom: 0;
}

.policy-editorial-body ul {
    list-style-type: disc;
    padding-left: 1.4rem;
    margin-bottom: 1.25rem;
    color: hsl(var(--foreground) / 0.9);
}

.policy-editorial-body li {
    margin-bottom: 0.45rem;
}

.policy-editorial-body a {
    color: #0066ff;
    font-weight: 700;
    text-decoration: underline;
}

/* Scrollbar Utilities */
.scrollbar-none::-webkit-scrollbar {
    display: none;
}
.scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.shop-pills-scroll::-webkit-scrollbar {
    height: 4px;
}
.shop-pills-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.shop-pills-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.2);
    border-radius: 9999px;
}
.shop-pills-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 255, 0.45);
}

/* Line Clamp Utilities */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================
   5. CONTACT FORM 7 GLOBAL STYLING
   ============================================================ */
.jash-cf7-wrapper .wpcf7 form p,
.contact-cf7-wrapper .wpcf7 form p,
.jash-form-wrapper .wpcf7 form p {
    margin: 0 0 1.25rem 0;
}

.jash-cf7-wrapper .wpcf7-form-control-wrap,
.contact-cf7-wrapper .wpcf7-form-control-wrap,
.jash-form-wrapper .wpcf7-form-control-wrap {
    display: block !important;
    width: 100% !important;
}

.jash-cf7-wrapper .wpcf7 label,
.contact-cf7-wrapper .wpcf7 label,
.jash-form-wrapper .wpcf7 label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: hsl(var(--foreground));
    margin-bottom: 0.4rem;
}

.jash-cf7-wrapper input[type="text"],
.jash-cf7-wrapper input[type="email"],
.jash-cf7-wrapper input[type="tel"],
.jash-cf7-wrapper input[type="url"],
.jash-cf7-wrapper select,
.jash-cf7-wrapper textarea,
.contact-cf7-wrapper .wpcf7 input[type="text"],
.contact-cf7-wrapper .wpcf7 input[type="email"],
.contact-cf7-wrapper .wpcf7 input[type="tel"],
.contact-cf7-wrapper .wpcf7 input[type="url"],
.contact-cf7-wrapper .wpcf7 textarea,
.contact-cf7-wrapper .wpcf7 select,
.jash-form-wrapper input[type="text"],
.jash-form-wrapper input[type="email"],
.jash-form-wrapper input[type="tel"],
.jash-form-wrapper select,
.jash-form-wrapper textarea {
    width: 100% !important;
    padding: 0.85rem 1.1rem !important;
    background-color: hsl(var(--background)) !important;
    border: 1.5px solid rgba(0, 102, 255, 0.22) !important;
    border-radius: 0.85rem !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: hsl(var(--foreground)) !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.jash-cf7-wrapper textarea,
.contact-cf7-wrapper .wpcf7 textarea,
.jash-form-wrapper textarea {
    min-height: 140px !important;
    resize: vertical !important;
}

.jash-cf7-wrapper input::placeholder,
.jash-cf7-wrapper textarea::placeholder,
.contact-cf7-wrapper .wpcf7 input::placeholder,
.contact-cf7-wrapper .wpcf7 textarea::placeholder {
    color: hsl(var(--muted-foreground) / 0.65) !important;
    font-weight: 500 !important;
}

.jash-cf7-wrapper input:focus,
.jash-cf7-wrapper select:focus,
.jash-cf7-wrapper textarea:focus,
.contact-cf7-wrapper .wpcf7 input:focus,
.contact-cf7-wrapper .wpcf7 textarea:focus,
.contact-cf7-wrapper .wpcf7 select:focus,
.jash-form-wrapper input:focus,
.jash-form-wrapper select:focus,
.jash-form-wrapper textarea:focus {
    border-color: #0066ff !important;
    background-color: hsl(var(--card)) !important;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12) !important;
}

.jash-cf7-wrapper input[type="submit"],
.jash-cf7-wrapper .wpcf7-submit,
.contact-cf7-wrapper .wpcf7 input[type="submit"],
.jash-form-wrapper input[type="submit"] {
    width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.95rem !important;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%) !important;
    color: #ffffff !important;
    padding: 0.95rem 1.75rem !important;
    font-family: var(--font-display) !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px -6px rgba(0, 102, 255, 0.35) !important;
    transition: all 0.2s ease !important;
}

@media (min-width: 640px) {
    .jash-cf7-wrapper input[type="submit"],
    .jash-cf7-wrapper .wpcf7-submit {
        width: auto !important;
        min-width: 200px !important;
    }
}

.jash-cf7-wrapper input[type="submit"]:hover,
.jash-cf7-wrapper .wpcf7-submit:hover,
.contact-cf7-wrapper .wpcf7 input[type="submit"]:hover,
.jash-form-wrapper input[type="submit"]:hover {
    opacity: 0.95 !important;
    transform: translateY(-1px) !important;
}

.jash-cf7-wrapper .wpcf7-spinner {
    margin-left: 0.75rem !important;
    vertical-align: middle !important;
}

.wpcf7-not-valid-tip {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #ef4444 !important;
    margin-top: 0.4rem !important;
    display: block !important;
}

.wpcf7 form .wpcf7-response-output {
    margin: 1.5rem 0 0 0 !important;
    padding: 0.9rem 1.25rem !important;
    border-radius: 0.9rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 1.5px solid rgba(16, 185, 129, 0.4) !important;
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10b981 !important;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    border: 1.5px solid rgba(239, 68, 68, 0.4) !important;
    background-color: rgba(239, 68, 68, 0.1) !important;
    color: #ef4444 !important;
}

/* ============================================================
   6. WOOCOMMERCE ACCOUNT, ORDER DETAILS, TABLES & BILLING
   ============================================================ */
/* Full-Width Account & Cart Containers (Hide Left Sidebar) */
.jash-wc-account-wrapper .woocommerce,
.page-editorial-content .woocommerce {
    font-family: var(--font-sans);
    color: hsl(var(--foreground));
}

.jash-wc-account-wrapper .woocommerce-MyAccount-navigation,
.page-editorial-content .woocommerce-MyAccount-navigation {
    display: none !important;
}

.jash-wc-account-wrapper .woocommerce-MyAccount-content,
.page-editorial-content .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Guest Login & Register Side-by-Side Columns (Remove WC clearfix pseudo-elements so CSS Grid aligns both columns in Row 1) */
.jash-wc-account-wrapper #customer_login::before,
.jash-wc-account-wrapper #customer_login::after,
.page-editorial-content #customer_login::before,
.page-editorial-content #customer_login::after,
.woocommerce .u-columns::before,
.woocommerce .u-columns::after,
.woocommerce .col2-set::before,
.woocommerce .col2-set::after {
    display: none !important;
    content: none !important;
}

.jash-wc-account-wrapper #customer_login,
.page-editorial-content #customer_login {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    align-items: start !important;
}

@media (min-width: 768px) {
    .jash-wc-account-wrapper #customer_login,
    .page-editorial-content #customer_login {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.jash-wc-account-wrapper #customer_login .u-column1,
.jash-wc-account-wrapper #customer_login .u-column2,
.page-editorial-content #customer_login .u-column1,
.page-editorial-content #customer_login .u-column2 {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    background: hsl(var(--background)) !important;
    border: 1.5px solid rgba(0, 102, 255, 0.2) !important;
    border-radius: 1.5rem !important;
    padding: 1.75rem 2rem !important;
    box-sizing: border-box !important;
}

.jash-wc-account-wrapper #customer_login h2,
.page-editorial-content #customer_login h2 {
    font-family: var(--font-display) !important;
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: hsl(var(--foreground)) !important;
    margin-top: 0 !important;
    margin-bottom: 1.25rem !important;
    padding-bottom: 0.75rem !important;
    border-bottom: 1px solid hsl(var(--border)) !important;
}

.jash-wc-account-wrapper form.woocommerce-form-login,
.jash-wc-account-wrapper form.woocommerce-form-register,
.page-editorial-content form.woocommerce-form-login,
.page-editorial-content form.woocommerce-form-register {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remember Me Checkbox, Lost Password & Privacy Policy Text */
.jash-wc-account-wrapper label.woocommerce-form-login__rememberme,
.page-editorial-content label.woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 1rem !important;
    cursor: pointer !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
}

.jash-wc-account-wrapper input[type="checkbox"],
.page-editorial-content input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    accent-color: #0066ff !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.jash-wc-account-wrapper .woocommerce-form-login__submit,
.jash-wc-account-wrapper .woocommerce-form-register__submit,
.page-editorial-content .woocommerce-form-login__submit,
.page-editorial-content .woocommerce-form-register__submit {
    width: 100% !important;
    padding: 0.85rem 1.5rem !important;
    font-size: 0.875rem !important;
    margin-top: 0.25rem !important;
}

.jash-wc-account-wrapper .lost_password,
.page-editorial-content .lost_password {
    margin: 1rem 0 0 0 !important;
    text-align: center !important;
}

.jash-wc-account-wrapper .lost_password a,
.page-editorial-content .lost_password a {
    color: #0066ff !important;
    font-size: 0.8125rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.jash-wc-account-wrapper .lost_password a:hover,
.page-editorial-content .lost_password a:hover {
    text-decoration: underline !important;
}

.jash-wc-account-wrapper .woocommerce-privacy-policy-text,
.page-editorial-content .woocommerce-privacy-policy-text {
    font-size: 0.8125rem !important;
    line-height: 1.65 !important;
    color: hsl(var(--muted-foreground)) !important;
    margin-bottom: 1.15rem !important;
}

.jash-wc-account-wrapper .woocommerce-privacy-policy-text p,
.page-editorial-content .woocommerce-privacy-policy-text p {
    font-size: 0.8125rem !important;
    line-height: 1.65 !important;
    color: hsl(var(--muted-foreground)) !important;
    margin-bottom: 0.75rem !important;
}

.jash-wc-account-wrapper .woocommerce-privacy-policy-text a,
.page-editorial-content .woocommerce-privacy-policy-text a,
a.woocommerce-privacy-policy-link {
    color: #0066ff !important;
    font-weight: 700 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

/* Account & Page Form Inputs & Labels */
.jash-wc-account-wrapper .form-row,
.page-editorial-content .form-row {
    margin-bottom: 1.15rem !important;
    padding: 0 !important;
}

.jash-wc-account-wrapper label,
.page-editorial-content label {
    display: block !important;
    font-family: var(--font-display) !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.4rem !important;
    color: hsl(var(--foreground)) !important;
}

.jash-wc-account-wrapper input[type="text"],
.jash-wc-account-wrapper input[type="email"],
.jash-wc-account-wrapper input[type="password"],
.jash-wc-account-wrapper input[type="tel"],
.jash-wc-account-wrapper select,
.jash-wc-account-wrapper textarea,
.page-editorial-content input[type="text"],
.page-editorial-content input[type="email"],
.page-editorial-content input[type="password"],
.page-editorial-content input[type="tel"],
.page-editorial-content select,
.page-editorial-content textarea {
    width: 100% !important;
    padding: 0.85rem 1.1rem !important;
    border-radius: 0.85rem !important;
    border: 1.5px solid rgba(0, 102, 255, 0.22) !important;
    background: hsl(var(--card)) !important;
    color: hsl(var(--foreground)) !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    box-sizing: border-box !important;
}

.jash-wc-account-wrapper input:focus,
.page-editorial-content input:focus {
    outline: none !important;
    border-color: #0066ff !important;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.12) !important;
}

.jash-wc-account-wrapper .password-input,
.page-editorial-content .password-input {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

/* Account & Page Buttons */
.jash-wc-account-wrapper .button,
.jash-wc-account-wrapper button[type="submit"],
.page-editorial-content .button,
.page-editorial-content button[type="submit"],
.jash-confirmation-wrapper table a.button,
.jash-confirmation-wrapper .woocommerce-MyAccount-downloads-file {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    background: linear-gradient(135deg, #0066ff 0%, #0052cc 100%) !important;
    color: #ffffff !important;
    padding: 0.7rem 1.35rem !important;
    border-radius: 0.85rem !important;
    font-family: var(--font-display) !important;
    font-size: 0.8125rem !important;
    font-weight: 800 !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    float: none !important;
}

.jash-wc-account-wrapper .button:hover,
.jash-wc-account-wrapper button[type="submit"]:hover,
.page-editorial-content .button:hover,
.page-editorial-content button[type="submit"]:hover,
.jash-confirmation-wrapper table a.button:hover,
.jash-confirmation-wrapper .woocommerce-MyAccount-downloads-file:hover {
    opacity: 0.95 !important;
    transform: translateY(-1px) !important;
}

/* Notices & Empty State Boxes */
.jash-wc-account-wrapper .woocommerce-message,
.jash-wc-account-wrapper .woocommerce-info,
.page-editorial-content .woocommerce-message,
.page-editorial-content .woocommerce-info {
    background: var(--surface-ice) !important;
    border: 1px solid rgba(0, 102, 255, 0.22) !important;
    color: hsl(var(--foreground)) !important;
    border-radius: 1rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    flex-wrap: wrap !important;
}

.jash-wc-account-wrapper .woocommerce-message .button,
.jash-wc-account-wrapper .woocommerce-info .button,
.page-editorial-content .woocommerce-message .button,
.page-editorial-content .woocommerce-info .button {
    order: 2 !important;
    margin-left: auto !important;
}

.jash-wc-account-wrapper .woocommerce-error,
.page-editorial-content .woocommerce-error {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.35) !important;
    color: #ef4444 !important;
    border-radius: 1rem !important;
    padding: 1rem 1.25rem !important;
    margin-bottom: 1.25rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    list-style: none !important;
}

.jash-wc-account-wrapper .woocommerce-message::before,
.jash-wc-account-wrapper .woocommerce-message::after,
.jash-wc-account-wrapper .woocommerce-info::before,
.jash-wc-account-wrapper .woocommerce-info::after,
.jash-wc-account-wrapper .woocommerce-error::before,
.jash-wc-account-wrapper .woocommerce-error::after,
.page-editorial-content .woocommerce-message::before,
.page-editorial-content .woocommerce-message::after,
.page-editorial-content .woocommerce-info::before,
.page-editorial-content .woocommerce-info::after,
.page-editorial-content .woocommerce-error::before,
.page-editorial-content .woocommerce-error::after {
    display: none !important;
    content: none !important;
}

/* Unified WooCommerce Shop Tables (Orders, Downloads, Receipts, Cart) */
.woocommerce table.shop_table,
.jash-wc-account-wrapper table.shop_table,
.page-editorial-content table.shop_table,
.jash-confirmation-wrapper table,
.jash-confirmation-wrapper table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: 1.5px solid rgba(0, 102, 255, 0.2) !important;
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    margin-bottom: 1.5rem !important;
    background: hsl(var(--card)) !important;
    box-shadow: none !important;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td,
.jash-wc-account-wrapper table.shop_table th,
.jash-wc-account-wrapper table.shop_table td,
.page-editorial-content table.shop_table th,
.page-editorial-content table.shop_table td,
.jash-confirmation-wrapper table th,
.jash-confirmation-wrapper table td {
    padding: 1rem 1.25rem !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid hsl(var(--border)) !important;
    vertical-align: middle !important;
    color: hsl(var(--foreground)) !important;
}

.woocommerce table.shop_table thead th,
.jash-wc-account-wrapper table.shop_table thead th,
.page-editorial-content table.shop_table thead th,
.jash-confirmation-wrapper table thead th {
    background: rgba(0, 102, 255, 0.06) !important;
    font-family: var(--font-display) !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    text-align: left !important;
}

.woocommerce table.shop_table tbody th,
.woocommerce table.shop_table tfoot th,
.jash-wc-account-wrapper table.shop_table tbody th,
.jash-wc-account-wrapper table.shop_table tfoot th,
.page-editorial-content table.shop_table tbody th,
.page-editorial-content table.shop_table tfoot th,
.jash-confirmation-wrapper table tbody th,
.jash-confirmation-wrapper table tfoot th {
    background: transparent !important;
    font-family: var(--font-display) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-align: left !important;
    color: hsl(var(--muted-foreground)) !important;
}

.woocommerce table.shop_table tbody td,
.woocommerce table.shop_table tfoot td,
.jash-wc-account-wrapper table.shop_table tbody td,
.jash-wc-account-wrapper table.shop_table tfoot td,
.page-editorial-content table.shop_table tbody td,
.page-editorial-content table.shop_table tfoot td,
.jash-confirmation-wrapper table tbody td,
.jash-confirmation-wrapper table tfoot td {
    background: transparent !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

.woocommerce table.shop_table td.product-name a {
    color: hsl(var(--foreground)) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: #0066ff !important;
}

.woocommerce table.shop_table tfoot tr:hover,
.woocommerce table.shop_table tbody tr:hover {
    background: rgba(0, 102, 255, 0.02) !important;
}

/* Remove bottom border from the very last row of the table */
.woocommerce table.shop_table tfoot tr:last-child th,
.woocommerce table.shop_table tfoot tr:last-child td,
.woocommerce table.shop_table tbody:last-child tr:last-child th,
.woocommerce table.shop_table tbody:last-child tr:last-child td,
.jash-wc-account-wrapper table.shop_table tfoot tr:last-child th,
.jash-wc-account-wrapper table.shop_table tfoot tr:last-child td,
.jash-wc-account-wrapper table.shop_table tbody:last-child tr:last-child th,
.jash-wc-account-wrapper table.shop_table tbody:last-child tr:last-child td,
.page-editorial-content table.shop_table tfoot tr:last-child th,
.page-editorial-content table.shop_table tfoot tr:last-child td,
.page-editorial-content table.shop_table tbody:last-child tr:last-child th,
.page-editorial-content table.shop_table tbody:last-child tr:last-child td,
.jash-confirmation-wrapper table tfoot tr:last-child th,
.jash-confirmation-wrapper table tfoot tr:last-child td,
.jash-confirmation-wrapper table tbody:last-child tr:last-child th,
.jash-confirmation-wrapper table tbody:last-child tr:last-child td {
    border-bottom: none !important;
}

/* Highlight Total Row */
.woocommerce table.shop_table .order-total th,
.woocommerce table.shop_table .order-total td {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #0066ff !important;
}

/* Order Overview Grid on Confirmation Page */
.jash-confirmation-wrapper ul.order_details {
    list-style: none !important;
    padding: 0 !important;
    margin: 1.5rem 0 !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 1rem !important;
}

.jash-confirmation-wrapper ul.order_details li {
    background: var(--surface-ice) !important;
    border: 1px solid rgba(0, 102, 255, 0.18) !important;
    border-radius: 1rem !important;
    padding: 1rem 1.125rem !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    color: #0066ff !important;
    float: none !important;
    margin: 0 !important;
}

.jash-confirmation-wrapper ul.order_details li strong {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    text-transform: none !important;
    color: hsl(var(--foreground)) !important;
    margin-top: 0.25rem !important;
}

/* Order Info Status Banner (View Order Page) */
.woocommerce p.order-info,
p.order-info {
    background: var(--surface-ice) !important;
    border: 1.5px solid rgba(0, 102, 255, 0.2) !important;
    border-radius: 1rem !important;
    padding: 0.95rem 1.25rem !important;
    margin-bottom: 1.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: hsl(var(--foreground)) !important;
}

.woocommerce p.order-info mark,
p.order-info mark {
    background: rgba(0, 102, 255, 0.12) !important;
    color: #0066ff !important;
    padding: 0.15rem 0.55rem !important;
    border-radius: 0.5rem !important;
    font-weight: 800 !important;
    font-family: var(--font-mono) !important;
}

/* Order Details, Downloads & Billing Section Headings */
.woocommerce .woocommerce-order-details__title,
.woocommerce .woocommerce-order-downloads__title,
.woocommerce .woocommerce-column__title,
.woocommerce-order-details__title,
.woocommerce-order-downloads__title,
.woocommerce-column__title {
    font-family: var(--font-display) !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: hsl(var(--foreground)) !important;
    margin-top: 1.75rem !important;
    margin-bottom: 1rem !important;
    padding-bottom: 0.65rem !important;
    border-bottom: 1px solid hsl(var(--border)) !important;
}

.woocommerce .woocommerce-order-details:first-child .woocommerce-order-details__title,
.woocommerce .woocommerce-order-downloads:first-child .woocommerce-order-downloads__title,
.woocommerce-order-details:first-child .woocommerce-order-details__title,
.woocommerce-order-downloads:first-child .woocommerce-order-downloads__title {
    margin-top: 0 !important;
}

/* Order Again Button Spacing */
.woocommerce p.order-again,
p.order-again {
    margin: 1.25rem 0 2rem 0 !important;
}

/* Billing Address Card */
.woocommerce .woocommerce-customer-details,
.woocommerce-customer-details {
    margin-top: 2rem !important;
    margin-bottom: 0 !important;
}

.woocommerce .woocommerce-customer-details address,
.woocommerce-customer-details address {
    background: var(--surface-ice) !important;
    border: 1.5px solid rgba(0, 102, 255, 0.2) !important;
    border-bottom-width: 1.5px !important;
    border-right-width: 1.5px !important;
    border-radius: 1.25rem !important;
    padding: 1.35rem 1.5rem !important;
    font-style: normal !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    line-height: 1.8 !important;
    color: hsl(var(--foreground)) !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce .woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce .woocommerce-customer-details .woocommerce-customer-details--email,
.woocommerce-customer-details .woocommerce-customer-details--phone,
.woocommerce-customer-details .woocommerce-customer-details--email {
    margin-top: 0.45rem !important;
    margin-bottom: 0 !important;
    color: hsl(var(--muted-foreground)) !important;
    font-weight: 600 !important;
}

/* ============================================================
   7. ACCESSIBILITY, PRINT & REDUCED MOTION
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0066ff;
    outline-offset: 2px;
}

@media print {
    header,
    footer,
    #scroll-to-top,
    .no-print,
    aside {
        display: none !important;
    }
    main {
        padding-top: 0 !important;
    }
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }
}

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