/* EZSoft Custom Styles — Visual Overhaul */

/* ===== Animated Gradient Keyframes ===== */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -40px) scale(1.1); }
    50% { transform: translate(-20px, -60px) scale(0.95); }
    75% { transform: translate(40px, -20px) scale(1.05); }
}

@keyframes floatOrbReverse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-40px, 30px) scale(1.05); }
    50% { transform: translate(30px, 50px) scale(0.9); }
    75% { transform: translate(-20px, 10px) scale(1.1); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

@keyframes subtleDrift {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

/* ===== Global Body: Subtle Dot Grid ===== */
body.ezsoft-theme {
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle, #cbd5e1 0.7px, transparent 0.7px);
    background-size: 28px 28px;
}

/* ===== Full-width sections: remove side gaps ===== */
body.ezsoft-theme .is-layout-constrained > .alignfull {
    max-width: none;
    margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
    margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
}

/* Ensure no max-width constraint on full-width groups */
.alignfull {
    width: 100% !important;
    max-width: 100% !important;
}

/* WooCommerce shop: full-width background */
.woocommerce-page .site-content,
.woocommerce-page .entry-content,
.woocommerce-page main > .wp-block-group {
    max-width: 100%;
}

/* WooCommerce shop content constrained */
.woocommerce-page .woocommerce {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ===== Page Headers (internal pages) ===== */
.ezsoft-page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #172554 65%, #1e293b 100%) !important;
    background-size: 250% 250% !important;
    animation: gradientShift 14s ease infinite;
}

.ezsoft-page-header::before {
    content: "";
    position: absolute;
    top: -30%;
    left: 60%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, rgba(13,148,136,0.05) 45%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 7s ease-in-out infinite;
}

.ezsoft-page-header::after {
    content: "";
    position: absolute;
    bottom: -25%;
    left: 15%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatOrbReverse 10s ease-in-out infinite;
}

.ezsoft-page-header > * {
    position: relative;
    z-index: 1;
}

.ezsoft-page-header h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 16px rgba(13,148,136,0.25);
}

.ezsoft-page-header p {
    color: #94a3b8 !important;
}

/* Shop page header (injected via PHP) */
.ezsoft-shop-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 35%, #172554 65%, #1e293b 100%);
    background-size: 250% 250%;
    animation: gradientShift 14s ease infinite;
    padding: 80px 24px;
    text-align: center;
    margin-bottom: 40px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.ezsoft-shop-header::before {
    content: "";
    position: absolute;
    top: -30%;
    right: 20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(13,148,136,0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: pulseGlow 7s ease-in-out infinite;
}

.ezsoft-shop-header::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrbReverse 9s ease-in-out infinite;
}

.ezsoft-shop-header h1 {
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 12px;
    text-shadow: 0 2px 16px rgba(13,148,136,0.25);
}

.ezsoft-shop-header p {
    position: relative;
    z-index: 1;
    color: #94a3b8;
    font-size: 18px;
    margin: 0;
}

/* ===== Hero Section ===== */
.ezsoft-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #0f2744 60%, #1a1e3a 100%) !important;
    background-size: 300% 300% !important;
    animation: gradientShift 12s ease infinite;
}

/* Teal glow orb — top center */
.ezsoft-hero::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13,148,136,0.35) 0%, rgba(13,148,136,0.08) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 6s ease-in-out infinite;
    transform: translateX(-50%);
}

/* Purple/blue secondary glow orb — bottom right */
.ezsoft-hero::after {
    content: "";
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, rgba(99,102,241,0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 10s ease-in-out infinite;
}

.ezsoft-hero > * {
    position: relative;
    z-index: 1;
}

.ezsoft-hero h1 {
    color: #ffffff !important;
    text-shadow: 0 2px 20px rgba(13,148,136,0.3);
}

.ezsoft-hero p {
    color: #cbd5e1 !important;
}

/* Decorative grid lines overlay on hero */
.ezsoft-hero .wp-block-group__inner-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ===== Products Section (white bg) ===== */
.wp-block-group:not(.ezsoft-hero):not(.has-accent-background-color):not(.has-secondary-background-color):not(.ezsoft-cta) {
    position: relative;
    background-color: #ffffff;
}

/* ===== Product Cards ===== */
.ezsoft-card {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.ezsoft-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

.ezsoft-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 60px rgba(13, 148, 136, 0.1),
        0 8px 24px rgba(30, 41, 59, 0.08);
}

.ezsoft-card:hover::before {
    opacity: 1;
}

/* Badges */
.ezsoft-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ezsoft-badge--popular {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
}

.ezsoft-badge--free {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
}

.ezsoft-badge--pro {
    background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
    color: #3730a3;
}

/* ===== Features / "Why Choose" Section ===== */
.has-accent-background-color {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, #f0fdfa 0%, #ecfdf5 40%, #f0f9ff 100%) !important;
}

/* Decorative circles behind features */
.has-accent-background-color::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -80px;
    width: 250px;
    height: 250px;
    border: 2px solid rgba(13,148,136,0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 14s ease-in-out infinite;
}

.has-accent-background-color::after {
    content: "";
    position: absolute;
    bottom: -40px;
    right: -60px;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(13,148,136,0.08);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrbReverse 12s ease-in-out infinite;
}

.has-accent-background-color > * {
    position: relative;
    z-index: 1;
}

/* ===== CTA Section ===== */
.ezsoft-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 40%, #172554 70%, #1e293b 100%) !important;
    background-size: 250% 250% !important;
    animation: gradientShift 15s ease infinite;
}

.ezsoft-cta::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13,148,136,0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: floatOrbReverse 8s ease-in-out infinite;
}

.ezsoft-cta::after {
    content: "";
    position: absolute;
    top: 30%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: floatOrb 9s ease-in-out infinite;
}

.ezsoft-cta > * {
    position: relative;
    z-index: 1;
}

.ezsoft-cta h2 {
    color: #ffffff !important;
    text-shadow: 0 2px 16px rgba(13,148,136,0.2);
}

.ezsoft-cta p {
    color: #94a3b8 !important;
}

/* ===== WP Buttons — Glow on hover ===== */
.wp-block-button__link {
    transition: all 0.3s ease;
}

.wp-block-button__link:hover {
    box-shadow: 0 4px 20px rgba(13,148,136,0.35);
    transform: translateY(-1px);
}

.is-style-outline .wp-block-button__link:hover {
    box-shadow: 0 4px 20px rgba(13,148,136,0.2);
    background: rgba(13,148,136,0.08) !important;
}

/* Hide WooCommerce default page title, result count and sorting */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    display: none;
}

/* Hide default Shop page title (we have our header) */
.woocommerce-page .wp-block-query-title,
.woocommerce-page .woocommerce-products-header__title,
body.post-type-archive-product .page-title,
body.post-type-archive-product .woocommerce-products-header,
.woocommerce-shop .woocommerce-products-header {
    display: none;
}

/* ===== WooCommerce Product Cards (Shop Page) ===== */
.woocommerce ul.products li.product {
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.woocommerce ul.products li.product::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow:
        0 16px 48px rgba(13,148,136,0.08),
        0 6px 20px rgba(30, 41, 59, 0.06);
}

.woocommerce ul.products li.product:hover::before {
    opacity: 1;
}

.woocommerce ul.products li.product a img {
    border-radius: 12px;
    margin-bottom: 12px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #1e293b;
    font-weight: 700;
    font-size: 17px;
    padding: 8px 0 4px;
}

.woocommerce ul.products li.product .price {
    color: #0d9488;
    font-weight: 700;
    font-size: 18px;
}

.woocommerce ul.products li.product .button {
    background-color: #0d9488;
    color: #fff;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s ease;
    margin-top: 12px;
    display: block;
    box-sizing: border-box;
}

.woocommerce ul.products li.product .button:hover {
    background-color: #0f766e;
    color: #fff;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

/* Single product */
.woocommerce div.product .price {
    color: #0d9488;
    font-size: 1.5em;
}

.woocommerce div.product .single_add_to_cart_button {
    background-color: #0d9488;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.woocommerce div.product .single_add_to_cart_button:hover {
    background-color: #0f766e;
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}

/* Cart & checkout buttons */
.woocommerce .cart .button,
.woocommerce .checkout .button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background-color: #0d9488;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.woocommerce .cart .button:hover,
.woocommerce .checkout .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background-color: #0f766e;
    color: #fff;
}

/* Free product badge */
.woocommerce ul.products li.product .price ins,
.woocommerce div.product .price ins {
    text-decoration: none;
}

/* ===== WooCommerce My Account — Login Form ===== */
.woocommerce-account .woocommerce {
    max-width: 1000px;
    margin: 0 auto;
}

/* Login form card */
.woocommerce-account:not(.logged-in) .woocommerce {
    max-width: 480px;
    margin: 0 auto;
}

.woocommerce form.woocommerce-form-login,
.woocommerce form.woocommerce-form-register {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.woocommerce form.woocommerce-form-login::before,
.woocommerce form.woocommerce-form-register::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Login section heading */
.woocommerce-account h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

/* Form labels */
.woocommerce form .form-row label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
    display: block;
}

/* Form inputs */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-account .woocommerce input[type="text"],
.woocommerce-account .woocommerce input[type="email"],
.woocommerce-account .woocommerce input[type="password"] {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-account .woocommerce input[type="text"]:focus,
.woocommerce-account .woocommerce input[type="email"]:focus,
.woocommerce-account .woocommerce input[type="password"]:focus {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
    outline: none;
}

/* Remember me checkbox */
.woocommerce form .form-row .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
}

.woocommerce form .form-row .woocommerce-form__input-checkbox {
    accent-color: #0d9488;
    width: 18px;
    height: 18px;
}

/* Login / submit button */
.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit,
.woocommerce form.woocommerce-form-register .woocommerce-form-register__submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.woocommerce form.woocommerce-form-login .woocommerce-form-login__submit:hover,
.woocommerce form.woocommerce-form-register .woocommerce-form-register__submit:hover {
    background: linear-gradient(135deg, #0f766e, #115e59);
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
    transform: translateY(-1px);
}

/* Lost password link */
.woocommerce form.woocommerce-form-login .woocommerce-LostPassword a {
    color: #0d9488;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.woocommerce form.woocommerce-form-login .woocommerce-LostPassword a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* ===== WooCommerce My Account — Dashboard (Logged In) ===== */
.woocommerce-account.logged-in .woocommerce {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 32px;
    align-items: flex-start;
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Navigation sidebar — override WooCommerce float layout */
.woocommerce-MyAccount-navigation {
    float: none !important;
    width: 240px !important;
    min-width: 240px !important;
    flex: 0 0 240px !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 8px 0;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
    position: relative;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    color: #475569;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: #f0fdfa;
    color: #0d9488;
    border-left-color: #0d9488;
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #f0fdfa;
    color: #0d9488;
    font-weight: 700;
    border-left-color: #0d9488;
}

/* Nav icons via ::before */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard a::before {
    content: "\2302";
    font-size: 20px;
    line-height: 1;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--orders a::before {
    content: "\1F4E6";
    font-size: 16px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--downloads a::before {
    content: "\2B07";
    font-size: 16px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-address a::before {
    content: "\1F4CD";
    font-size: 16px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: "\2699";
    font-size: 18px;
}
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: "\2190";
    font-size: 18px;
}

/* Logout item — subtle red */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    margin-top: 4px;
    padding-top: 18px;
}

.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: #ef4444;
    background: #fef2f2;
    border-left-color: #ef4444;
}

/* Content area — override WooCommerce float layout */
.woocommerce-MyAccount-content {
    float: none !important;
    width: auto !important;
    flex: 1 1 0% !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
    min-height: 300px;
}

.woocommerce-MyAccount-content > p:first-child {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
}

.woocommerce-MyAccount-content a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.woocommerce-MyAccount-content a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table,
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-MyAccount-content table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-MyAccount-content table tbody td {
    padding: 14px 16px;
    color: #1e293b;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.woocommerce-MyAccount-content table tbody tr:last-child td {
    border-bottom: none;
}

.woocommerce-MyAccount-content table tbody tr:hover {
    background: #f8fafc;
}

/* WooCommerce info/notice boxes */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0d9488;
    border-radius: 10px;
    padding: 16px 20px;
    background: #f0fdfa;
    color: #1e293b;
    font-size: 15px;
}

.woocommerce-MyAccount-content .woocommerce-info::before {
    color: #0d9488;
}

/* Edit account form */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset legend {
    font-weight: 700;
    color: #1e293b;
    padding: 0 8px;
}

/* Save button in account forms */
.woocommerce-MyAccount-content button.woocommerce-Button,
.woocommerce-MyAccount-content input[type="submit"] {
    padding: 14px 32px;
    background: linear-gradient(135deg, #0d9488, #0f766e);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-MyAccount-content button.woocommerce-Button:hover,
.woocommerce-MyAccount-content input[type="submit"]:hover {
    background: linear-gradient(135deg, #0f766e, #115e59);
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
    transform: translateY(-1px);
}

/* Address cards */
.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    background: #f8fafc;
}

.woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

/* Hide default page title on my-account (we have fancy header) */
.woocommerce-account .wp-block-post-title,
.woocommerce-account .entry-title {
    display: none;
}

/* ===== WooCommerce Lost Password Form ===== */
.woocommerce form.woocommerce-ResetPassword {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.06);
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.woocommerce form.woocommerce-ResetPassword::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* ===== Account page responsive ===== */
@media (max-width: 782px) {
    .woocommerce-account.logged-in .woocommerce {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .woocommerce-MyAccount-navigation {
        border-radius: 12px;
    }

    .woocommerce-MyAccount-navigation ul {
        display: flex;
        overflow-x: auto;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    .woocommerce-MyAccount-navigation ul li a {
        padding: 12px 16px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        font-size: 14px;
    }

    .woocommerce-MyAccount-navigation ul li a:hover,
    .woocommerce-MyAccount-navigation ul li.is-active a {
        border-left-color: transparent;
        border-bottom-color: #0d9488;
    }

    .woocommerce-MyAccount-content {
        padding: 24px 20px;
    }

    .woocommerce form.woocommerce-form-login,
    .woocommerce form.woocommerce-form-register {
        padding: 28px 20px;
    }
}

/* ===== Footer ===== */
footer a,
.wp-block-group:last-child a {
    transition: color 0.2s ease;
}

footer .is-style-no-bullets,
.is-style-no-bullets {
    list-style: none;
    padding-left: 0;
}

/* ===== SVG Icons in Features — hover lift ===== */
.has-accent-background-color .wp-block-column {
    transition: transform 0.3s ease;
}

.has-accent-background-color .wp-block-column:hover {
    transform: translateY(-4px);
}

/* ===== Navigation bar ===== */
.wp-block-navigation a {
    transition: color 0.2s ease;
}

/* ===== Accessibility ===== */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 782px) {
    .ezsoft-hero {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    .ezsoft-hero h1 {
        font-size: 32px !important;
    }

    .ezsoft-hero p {
        font-size: 16px !important;
    }

    .wp-block-columns {
        gap: 16px;
    }

    .ezsoft-card {
        margin-bottom: 16px;
    }

    .ezsoft-hero::after,
    .has-accent-background-color::before,
    .has-accent-background-color::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .ezsoft-hero h1 {
        font-size: 28px !important;
    }

    .wp-block-buttons {
        flex-direction: column;
    }

    .wp-block-button {
        width: 100%;
    }
}

/* ===== WooCommerce Cart Page (Block-based) ===== */

/* Hide default page title on cart/checkout */
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .wp-block-post-title,
.woocommerce-checkout .entry-title {
    display: none;
}

/* Cart layout — constrain width */
.woocommerce-cart .wp-block-woocommerce-cart,
.woocommerce-checkout .wp-block-woocommerce-checkout {
    max-width: 1200px;
    margin: 0 auto;
}

/* Cart main items area */
.wc-block-cart__main {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
    overflow: hidden;
    position: relative;
}

.wc-block-cart__main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 1;
}

/* Cart items table */
.wc-block-cart-items {
    width: 100%;
    border-collapse: collapse;
}

.wc-block-cart-items thead th,
.wc-block-cart-items__header th {
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

/* Cart item rows */
.wc-block-cart-items__row {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.wc-block-cart-items__row:last-child {
    border-bottom: none;
}

.wc-block-cart-items__row:hover {
    background: #f8fafc;
}

/* Cart item cells */
.wc-block-cart-item__image {
    padding: 20px;
    width: 100px;
}

.wc-block-cart-item__image img {
    border-radius: 12px;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.wc-block-cart-item__product {
    padding: 20px 16px;
}

.wc-block-cart-item__total {
    padding: 20px;
    text-align: right;
}

/* Product name in cart */
.wc-block-cart-items .wc-block-components-product-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-block-cart-items .wc-block-components-product-name:hover {
    color: #0d9488;
}

/* Product price in cart */
.wc-block-cart-items .wc-block-components-product-price__value {
    color: #0d9488;
    font-weight: 700;
    font-size: 16px;
}

/* Item total price */
.wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

/* Remove button */
.wc-block-cart-item__remove-link {
    color: #94a3b8 !important;
    font-size: 13px;
    text-decoration: none !important;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.wc-block-cart-item__remove-link:hover {
    color: #ef4444 !important;
}

/* Cart sidebar (totals) */
.wc-block-cart__sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
}

/* Cart totals title */
.wc-block-cart__totals-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Totals items */
.wc-block-components-totals-item__label {
    color: #475569;
    font-size: 15px;
    font-weight: 500;
}

.wc-block-components-totals-item__value {
    color: #1e293b;
    font-weight: 600;
}

/* Footer total (grand total) */
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px;
    font-weight: 800;
    color: #0d9488;
}

/* Coupon panel */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

/* Proceed to checkout button */
.wc-block-cart__submit-button {
    width: 100%;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none !important;
}

.wc-block-cart__submit-button:hover {
    background: linear-gradient(135deg, #0f766e, #115e59) !important;
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
    transform: translateY(-1px);
}

/* Empty cart state */
.wp-block-woocommerce-empty-cart-block {
    text-align: center;
    padding: 60px 24px;
}

.wc-block-cart__empty-cart__title {
    color: #1e293b;
    font-size: 28px !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.wp-block-woocommerce-empty-cart-block .wp-block-separator {
    margin: 32px auto;
    max-width: 80px;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-woocommerce-empty-cart-block .wc-block-grid__product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(30, 41, 59, 0.08);
}

/* WooCommerce notice banners (success/error) */
.wc-block-components-notice-banner.is-success {
    background: #f0fdfa;
    border: 1px solid #99f6e4;
    border-left: 4px solid #0d9488;
    border-radius: 10px;
    padding: 16px 20px;
    color: #1e293b;
    margin-bottom: 24px;
}

.wc-block-components-notice-banner.is-success svg {
    fill: #0d9488;
}

.wc-block-components-notice-banner.is-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    border-radius: 10px;
    padding: 16px 20px;
    color: #1e293b;
    margin-bottom: 24px;
}

.wc-block-components-notice-banner.is-error svg {
    fill: #ef4444;
}

/* ===== WooCommerce Checkout Page (Block-based) ===== */

/* Checkout main form area */
.wc-block-checkout__main {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
    position: relative;
    overflow: hidden;
}

.wc-block-checkout__main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d9488, #06b6d4, #0d9488);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 1;
}

/* Checkout step sections */
.wc-block-components-checkout-step {
    border: none;
    padding: 0;
    margin-bottom: 32px;
}

.wc-block-components-checkout-step__title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1e293b;
    margin-bottom: 4px;
}

.wc-block-components-checkout-step__content {
    padding-top: 16px;
}

/* Checkout text inputs */
.wc-block-components-text-input input,
.wc-block-checkout .wc-blocks-components-select__select {
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    color: #1e293b;
    background: #f8fafc !important;
    transition: all 0.2s ease;
}

.wc-block-components-text-input input:focus,
.wc-block-checkout .wc-blocks-components-select__select:focus {
    border-color: #0d9488 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1) !important;
    outline: none;
}

/* Checkout text input labels */
.wc-block-components-text-input label {
    color: #475569;
    font-size: 14px;
    font-weight: 500;
}

.wc-block-components-text-input.is-active label {
    color: #0d9488;
}

/* Select dropdowns */
.wc-blocks-components-select__label {
    color: #475569 !important;
    font-size: 13px;
    font-weight: 500;
}

.wc-blocks-components-select__container {
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.wc-blocks-components-select__container:focus-within {
    border-color: #0d9488;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

/* Checkboxes */
.wc-block-components-checkbox__input {
    accent-color: #0d9488;
    width: 18px;
    height: 18px;
}

.wc-block-components-checkbox__label {
    color: #475569;
    font-size: 14px;
}

/* Guest checkout notice */
.wc-block-checkout__guest-checkout-notice {
    color: #64748b;
    font-size: 13px;
    margin-top: 4px;
}

/* Payment method section */
.wc-block-checkout__payment-method {
    margin-top: 16px;
}

/* Error notice in checkout (no payment methods etc) */
.wc-block-checkout .wc-block-components-notice-banner {
    border-radius: 10px;
    margin-bottom: 16px;
}

/* Checkout order note */
.wc-block-checkout__add-note {
    color: #475569;
    font-size: 14px;
}

/* Terms text */
.wc-block-checkout__terms {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
}

.wc-block-checkout__terms a {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

.wc-block-checkout__terms a:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Checkout sidebar (order summary) */
.wc-block-checkout__sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(30, 41, 59, 0.04);
}

/* Sticky sidebar */
.wc-block-checkout__sidebar.is-sticky {
    position: sticky;
    top: 24px;
}

/* Order summary title */
.wc-block-components-checkout-order-summary__title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    padding: 0 0 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 16px;
}

.wc-block-components-checkout-order-summary__title-text {
    font-weight: 700;
}

.wc-block-components-checkout-order-summary__title-price {
    color: #0d9488;
    font-weight: 700;
}

/* Order summary items */
.wc-block-components-order-summary-item {
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.wc-block-components-order-summary-item:last-child {
    border-bottom: none;
}

.wc-block-components-order-summary-item__image img {
    border-radius: 8px;
}

.wc-block-components-order-summary-item .wc-block-components-product-name {
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

.wc-block-components-order-summary-item__total-price {
    color: #1e293b;
    font-weight: 600;
}

.wc-block-components-order-summary-item__quantity {
    background: #0d9488 !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 50%;
}

/* Checkout totals */
.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.wc-block-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 20px;
    font-weight: 800;
    color: #0d9488;
}

/* Place order button */
.wc-block-components-checkout-place-order-button {
    width: 100%;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wc-block-components-checkout-place-order-button:hover {
    background: linear-gradient(135deg, #0f766e, #115e59) !important;
    box-shadow: 0 6px 24px rgba(13, 148, 136, 0.3);
    transform: translateY(-1px);
}

/* Return to cart link */
.wc-block-components-checkout-return-to-cart-button {
    color: #0d9488;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wc-block-components-checkout-return-to-cart-button:hover {
    color: #0f766e;
    text-decoration: underline;
}

/* Checkout actions row */
.wc-block-checkout__actions_row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

/* Address card (saved addresses) */
.wc-block-components-address-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
}

.wc-block-components-address-card__edit {
    color: #0d9488 !important;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.wc-block-components-address-card__edit:hover {
    color: #0f766e !important;
}

/* ===== Cart/Checkout Mobile Responsive ===== */
@media (max-width: 782px) {
    /* Cart */
    .wc-block-cart__main {
        border-radius: 12px;
    }

    .wc-block-cart__sidebar {
        border-radius: 12px;
        padding: 20px;
    }

    .wc-block-cart-item__image {
        padding: 16px 12px;
        width: 80px;
    }

    .wc-block-cart-item__image img {
        width: 60px;
        height: 60px;
    }

    .wc-block-cart-item__product {
        padding: 16px 8px;
    }

    .wc-block-cart-item__total {
        padding: 16px 12px;
    }

    .wc-block-cart-items .wc-block-components-product-name {
        font-size: 14px;
    }

    /* Checkout */
    .wc-block-checkout__main {
        padding: 24px 16px;
        border-radius: 12px;
    }

    .wc-block-checkout__sidebar {
        padding: 20px;
        border-radius: 12px;
    }

    .wc-block-components-checkout-step__title {
        font-size: 18px !important;
    }

    .wc-block-checkout__actions_row {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .wc-block-components-checkout-return-to-cart-button {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wc-block-cart-items__header {
        display: none;
    }

    .wc-block-cart-items__row {
        display: flex;
        flex-wrap: wrap;
        padding: 16px;
        gap: 8px;
    }

    .wc-block-cart-item__image {
        width: 70px;
        padding: 0;
    }

    .wc-block-cart-item__image img {
        width: 70px;
        height: 70px;
    }

    .wc-block-cart-item__product {
        flex: 1;
        padding: 0;
        min-width: 0;
    }

    .wc-block-cart-item__total {
        width: 100%;
        padding: 8px 0 0;
        text-align: left;
        border-top: 1px solid #f1f5f9;
    }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    .ezsoft-hero,
    .ezsoft-cta {
        animation: none !important;
    }

    .ezsoft-hero::before,
    .ezsoft-hero::after,
    .ezsoft-cta::before,
    .ezsoft-cta::after,
    .has-accent-background-color::before,
    .has-accent-background-color::after {
        animation: none !important;
    }

    .ezsoft-card,
    .woocommerce ul.products li.product,
    .wp-block-button__link,
    .woocommerce-MyAccount-navigation ul li a,
    .woocommerce form.woocommerce-form-login .woocommerce-form-login__submit {
        transition: none !important;
    }

    .woocommerce form.woocommerce-form-login::before,
    .woocommerce-MyAccount-navigation::before,
    .wc-block-cart__main::before,
    .wc-block-checkout__main::before {
        animation: none !important;
    }

    .wc-block-cart__submit-button,
    .wc-block-components-checkout-place-order-button {
        transition: none !important;
    }
}

/* ===== WooCommerce Mini-Cart Drawer ===== */
.wc-block-mini-cart__title {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    padding: 20px 24px 16px;
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}

.wc-block-mini-cart__title .wp-block-woocommerce-mini-cart-title-items-counter-block {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    margin-left: 4px;
}

/* Product items table in mini-cart */
.wc-block-mini-cart-items .wc-block-cart-items__header {
    display: none;
}

.wc-block-mini-cart-items .wc-block-cart-items__row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.wc-block-mini-cart-items .wc-block-cart-item__image {
    width: 64px;
    min-width: 64px;
    padding: 0;
}

.wc-block-mini-cart-items .wc-block-cart-item__image img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
}

.wc-block-mini-cart-items .wc-block-cart-item__product {
    flex: 1;
    padding: 0;
    min-width: 0;
}

.wc-block-mini-cart-items .wc-block-components-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

/* Hide product description in mini-cart */
.wc-block-mini-cart-items .wc-block-components-product-metadata {
    display: none;
}

/* Price in mini-cart */
.wc-block-mini-cart-items .wc-block-cart-item__prices .wc-block-components-product-price__value {
    color: #0d9488;
    font-weight: 600;
    font-size: 14px;
}

/* Quantity selector in mini-cart */
.wc-block-mini-cart-items .wc-block-components-quantity-selector {
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: inline-flex;
    overflow: hidden;
}

.wc-block-mini-cart-items .wc-block-components-quantity-selector__button {
    background: #f8fafc;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
    color: #475569;
    transition: background 0.2s ease;
}

.wc-block-mini-cart-items .wc-block-components-quantity-selector__button:hover {
    background: #f0fdfa;
    color: #0d9488;
}

.wc-block-mini-cart-items .wc-block-components-quantity-selector__input {
    width: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #e2e8f0;
    border-right: 1px solid #e2e8f0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* Remove link in mini-cart */
.wc-block-mini-cart-items .wc-block-cart-item__remove-link {
    font-size: 12px;
    color: #94a3b8 !important;
    margin-top: 4px;
    display: inline-block;
}

.wc-block-mini-cart-items .wc-block-cart-item__remove-link:hover {
    color: #ef4444 !important;
}

/* Total price column in mini-cart */
.wc-block-mini-cart-items .wc-block-cart-item__total {
    padding: 0;
    text-align: right;
    min-width: 70px;
}

.wc-block-mini-cart-items .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

/* Mini-cart footer */
.wc-block-mini-cart__footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.wc-block-mini-cart__footer-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__label {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.wc-block-mini-cart__footer-subtotal .wc-block-components-totals-item__value {
    font-size: 18px;
    font-weight: 700;
    color: #0d9488;
}

.wc-block-mini-cart__footer .wc-block-components-totals-item__description {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 16px;
}

/* Mini-cart footer buttons */
.wc-block-mini-cart__footer-actions {
    display: flex;
    gap: 12px;
}

.wc-block-mini-cart__footer-cart {
    flex: 1;
    padding: 12px 16px !important;
    background: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wc-block-mini-cart__footer-cart:hover {
    border-color: #0d9488 !important;
    color: #0d9488 !important;
    background: #f0fdfa !important;
}

.wc-block-mini-cart__footer-checkout {
    flex: 1;
    padding: 12px 16px !important;
    background: linear-gradient(135deg, #0d9488, #0f766e) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.wc-block-mini-cart__footer-checkout:hover {
    background: linear-gradient(135deg, #0f766e, #115e59) !important;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.3);
}

/* ===== Language Switcher ===== */
.ezsoft-lang-switcher {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(30, 41, 59, 0.12), 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    max-height: 48px;
}

.ezsoft-lang-switcher.open {
    max-height: 200px;
    border-radius: 12px;
}

.ezsoft-lang-switcher ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ezsoft-lang-switcher ul li {
    margin: 0;
    padding: 0;
}

.ezsoft-lang-switcher ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    text-decoration: none;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.ezsoft-lang-switcher ul li:last-child a {
    border-bottom: none;
}

.ezsoft-lang-switcher ul li a:hover {
    background: #f0fdfa;
    color: #0d9488;
}

.ezsoft-lang-switcher ul li.current-lang a {
    color: #0d9488;
    font-weight: 700;
    background: #f0fdfa;
}

.ezsoft-lang-switcher ul li a img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
}

/* Hide non-current languages by default, show on open */
.ezsoft-lang-switcher ul li:not(.current-lang) {
    display: none;
}

.ezsoft-lang-switcher.open ul li:not(.current-lang) {
    display: block;
}

@media (max-width: 480px) {
    .ezsoft-lang-switcher {
        bottom: 16px;
        right: 16px;
    }
}
