/*
Theme Name: E-Meniu Custom
Theme URI: https://e-meniu.ro
Author: Antigravity
Description: A custom theme replicating the e-meniuro staging design. Clean, fast, and block-based.
Version: 1.1
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Brand Colors - Compassion/Nature Palette */
    --brand-primary: #6F7F63;
    /* New Primary Green */
    --brand-dark: #5F6F56;
    /* Darker Green */
    --brand-light: #EBF0E6;
    /* Soft Backgrounds */

    /* UNIFIED THEME VARIABLES */
    --bg-section-unified: #F5EFE6;
    /* Solid Unified Beige (Warm) */
    --color-brand-sage: #6F7F63;
    /* Deep Green for Titles */
    --color-brand-sage-light: #6F7F63;
    /* Primary Green */
    --color-text-body-green: #4A4F41;
    /* Slightly warmer/greener body text */
    --color-heading-unified: #6F7F63;
    /* Primary Green from Step Badges */

    /* Neutrals & Backgrounds */
    --bg-sand: #F5EFE6;
    --bg-warm: #EFE6DA;
    --bg-cream: #FBF8F2;
    --bg-light-gray: #F2F2F0;

    --border-warm: #E7E0D6;
    --border-input: #DED6CB;
    --separator: #DED6CB;
    --focus-ring: #B7D7B9;

    /* Typography Colors */
    --text-body: var(--color-text-body-green);
    /* Unified Body Text */
    --text-heading: var(--color-brand-sage);
    /* Unified Heading Text */
    --text-sub: #6F6A63;

    /* Mappings */
    --brand-sage: var(--color-brand-sage);
    /* Alias for consistency */
    --bg-light: var(--bg-cream);
    --primary-color: var(--brand-primary);
    --accent-color: var(--brand-primary);
    --text-color: var(--text-body);
    --bg-light: var(--bg-cream);

    /* Fonts */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', sans-serif;

    /* UI Components */
    --shadow-card: 0 4px 20px rgba(74, 79, 65, 0.08);
    /* Unified sage shadow */
    --shadow-hover: 0 10px 25px rgba(74, 79, 65, 0.15);
    --radius-card: 16px;
    --radius-btn: 6px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-section-unified);
    /* Global Beige */
    /* Global Side Decorations - Fixed to Viewport */
    background-image: url('assets/images/bg-sage-bokeh-sides.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    /* Fixes image to screen so it doesn't repeat or scroll */
    background-size: cover;
    /* Ensures it covers the full viewport */
    line-height: 1.6;
    font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.25;
}

/* Utilities */
.container {
    max-width: 1280px;
    /* Slightly wider for modern layout */
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--brand-primary);
    color: var(--brand-primary);
    /* Sage green text color */
    background-color: transparent;
    /* Transparent background */
    text-decoration: none;
    border-radius: var(--radius-btn);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--brand-primary);
    /* Sage green border */
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--brand-primary);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(153, 168, 120, 0.3);
}

/* Primary Button (Filled - for header) */
.btn-primary {
    background-color: var(--color-brand-sage-light) !important;
    color: #FFFFFF !important;
    border: 1px solid var(--color-brand-sage-light);
}

.btn-primary:hover {
    background-color: var(--color-brand-sage) !important;
    /* Darker sage on hover */
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 79, 65, 0.25);
}

/* Secondary Button (Outline) */
.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary);
}

.btn-secondary:hover {
    background-color: var(--brand-light);
    color: var(--brand-dark);
}

/* Link Styles */
a {
    color: var(--brand-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--brand-dark);
}

/* Header & Navigation */
header,
header.site-header {
    background-color: var(--bg-section-unified) !important;
    /* Force keep color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Stronger shadow for scrolling visibility */
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Header Links Unification */
.main-navigation ul li a,
.header-actions .account-link,
.header-actions .cart-link,
.lang-text-switcher a,
.nav-menu a {
    color: var(--color-brand-sage-light) !important;
    /* Matches 'Intra in cont' button green */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    /* Bold per previous requests */
}

.main-navigation ul li a:hover,
.header-actions a:hover,
.lang-text-switcher a:hover,
.nav-menu a:hover {
    color: var(--brand-dark) !important;
}

/* Fix: Ensure 'Intra in cont' button text remains white */
.nav-menu a.btn,
.nav-menu a.button,
.header-actions a.btn,
a.btn-primary {
    color: #FFFFFF !important;
}

header .container {
    display: flex;
    justify-content: flex-start;
    /* Start logo and menu from left */
    align-items: center;
    padding: 0 20px;
    /* Reverted padding to standard */
    max-width: 95%;
    /* Allow it to spread wider than the standard container */
    height: 100%;
}

.logo,
.custom-logo-link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-brand-sage-light) !important;
    /* Match button green */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 0;
    /* No right margin needed due to flexgap/justify-content */
    flex-shrink: 0;
}

.custom-logo-link img {
    max-height: 65px;
    /* Increased from 45px */
    width: auto;
    display: block;
}

/* Specific logo spacing for laptop/desktop */
@media (min-width: 1024px) {
    .custom-logo-link {
        margin-left: 40px;
    }
}

/* Navigation - Occupy Space */
/* Navigation - Occupy Space */
.main-nav {
    flex-grow: 1;
    display: flex;
    /* Ensures flex behavior */
    justify-content: flex-end;
    /* Force align content right */
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
    /* Reduced to fit larger logo */
    margin: 0;
    padding: 0;
    width: 100%;
    /* Full width to allow auto margin calculations */
    /* justify-content: flex-end; Removed to let margins handle layout */
}

/* Center Menu Items Trick:
   1. First menu item (Acasa) gets margin-left: auto (pushes away from logo)
   2. Switcher gets margin-left: auto (pushes away from menu)
   Result: Menu items centered in available space.
*/
/* Auto margins removed to allow cohesive right alignment via flexbox */
.nav-menu>li:first-child {
    margin-left: 0;
}

.nav-menu li.nav-lang-switcher {
    margin-left: 0;
}

/* Push the Language Switcher (and effectively the button after it) to the far right */
/* Push the Language Switcher (and effectively the button after it) to the far right */
/* Cleaned up duplicate rule */

/* Language Switcher Text Style */
.nav-menu a {
    text-decoration: none;
    color: var(--brand-primary);
    /* Sage green color for all menu items */
    font-weight: 700;
    /* Bold text per user request */
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--brand-dark);
    /* Darker sage on hover */
}

/* Language Switcher Text Style */
.lang-text-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-heading);
    /* Reverted to match default menu color */
    /* Ensure parent color is correct */
    font-weight: 700;
}

.lang-text-switcher a {
    text-decoration: none;
    color: var(--brand-primary);
    /* Sage green color for language switcher */
    transition: color 0.2s ease;
    text-transform: uppercase;
    font-weight: 700;
}

.lang-text-switcher a.active-lang {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    /* Optional distinction */
}

.lang-text-switcher a:hover {
    color: var(--brand-dark);
    /* Darker sage on hover */
}

.lang-sep {
    color: var(--color-brand-sage-light) !important;
    /* Match button green */
    font-size: 0.9rem;
    margin: 0 2px;
    font-weight: 700;
}

.nav-menu a:hover {
    color: var(--brand-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hamburger Animation */
.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
/* Hero Section */
/* Hero Section - Full Width Background Layout */
.hero-section-new {
    background-color: var(--bg-cream);
    /* Fallback */
    position: relative;
    overflow: hidden;
    margin-top: -1px;
    padding: 30px 0;
    /* Reduced vertical space */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.hero-section-new .container {
    width: 100%;
}

/* Gradient Overlay - Subtle beige gradient for text readability */
.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(245, 239, 230, 0.75) 0%,
            rgba(245, 239, 230, 0.45) 25%,
            rgba(245, 239, 230, 0.2) 50%,
            rgba(245, 239, 230, 0) 70%);
    z-index: 1;
}



.hero-grid {
    /* Removed grid layout, just a wrapper now if needed, effectively display block */
    display: block;
    position: relative;
    z-index: 2;
    /* Above overlay */
}

.hero-footer-link {
    margin-top: 25px;
    padding-left: 0;
}

.hero-footer-link a {
    color: var(--text-sub);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
}

.hero-footer-link a:hover {
    color: var(--brand-primary);
}

.hero-content {
    max-width: 500px;
    /* Limit width to left side - Reduced from 600px per user feedback */
    padding-left: 180px;
    /* Increased to move text further to the right */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-heading);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-sub);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

/* Hide the image container if it exists in markup (we will remove it from PHP likely, but safe to hide) */
.hero-image {
    display: none;
}


/* Responsive */
@media (max-width: 992px) {
    .hero-section-new {
        background-position: 70% center;
        /* Shift image to see person on smaller screens */
        padding: 80px 0;
    }

    .hero-section-new::before {
        background: linear-gradient(180deg,
                rgba(251, 248, 242, 0.9) 0%,
                rgba(251, 248, 242, 0.9) 60%,
                rgba(251, 248, 242, 0.4) 100%);
        /* Vertical gradient for stacked/tablet feel */
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }
}

.hero-section-v2 {
    background-color: #E8DED0;
    position: relative;
    overflow: hidden;
    padding: 0;
    background-size: 95%;
    background-position: left 23%;
    background-repeat: no-repeat;
    min-height: 850px;
    display: flex;
    align-items: center;
}

.hero-section-v2 .container {
    display: flex;
    justify-content: flex-end;
    /* Keep the block towards the right */
    width: 100%;
}

/* Gradient Overlay for V2 - Flipped to right side */
.hero-section-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(232, 222, 208, 0.95) 0%, rgba(232, 222, 208, 0.95) 20%, rgba(232, 222, 208, 0.75) 40%, rgba(232, 222, 208, 0.35) 60%, rgba(232, 222, 208, 0) 80%);
    z-index: 1;
}

/* Decorative blurry gradient elements on the right */
.hero-section-v2::after {
    content: '';
    position: absolute;
    right: -100px;
    top: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(153, 168, 120, 0.25) 0%, rgba(153, 168, 120, 0.05) 40%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    border-radius: 50%;
}

.hero-section-v2 .hero-content-v2 {
    max-width: 680px;
    position: relative;
    z-index: 2;
    padding-top: 40px;
    padding-bottom: 40px;
    padding-right: 0;
    margin: 0 calc(10% + 75px) 0 auto !important;
    /* Shifted 75px further left as requested */
    text-align: center !important;
    align-items: center !important;
    display: flex;
    flex-direction: column;
}

.hero-content-v2 h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #5E5C55;
    /* Match Header Text */
    font-weight: 700;
    text-shadow: 0 2px 15px rgba(255, 255, 255, 0.8), 0 0 1px rgba(0, 0, 0, 0.1);
}

.hero-content-v2 p {
    font-size: 1.15rem;
    color: #8A887F;
    /* Match Header Text */
    margin-bottom: 35px;
    line-height: 1.6;
    text-shadow: 0.2px 0.2px 0.2px #000;
}

.btn-primary-v2 {
    background-color: #6F7F63;
    color: #FFFFFF;
    padding: 15px 40px;
    border-radius: 10px;
    /* Match Header Radius */
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(111, 127, 99, 0.22);
    /* Match Header Shadow */
    border: 1px solid #6F7F63;
    display: inline-block;
}

.btn-primary-v2:hover {
    background-color: #5F6F56;
    border-color: #5F6F56;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(46, 125, 50, 0.30);
    color: #fff !important;
}

/* Hero Badges - Premium Styling */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
    align-items: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white */
    backdrop-filter: blur(8px);
    /* Glass effect */
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 125, 50, 0.15);
    /* Subtle brand border */
    color: var(--brand-dark);
    /* Dark legible text */
    padding: 8px 18px;
    border-radius: 30px;
    /* Pill shape */
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-1px);
    border-color: rgba(46, 125, 50, 0.3);
}

/* Hero Actions & Secondary Button */
.hero-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-secondary-v2 {
    background: transparent;
    color: #6F7F63;
    /* Match Header Secondary Text */
    border: 2px solid #6F7F63;
    /* Match Header Secondary Border */
    padding: 13px 35px;
    /* Match height of primary */
    border-radius: 10px;
    /* Match Header Radius */
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary-v2:hover {
    background-color: #E8F3EA;
    /* Match Header Secondary Hover BG */
    /* Match Header Secondary Hover Text */
    border-color: #6F7F63;
    transform: translateY(-2px);
}

/* Mobile Adjustments for Hero */
@media (max-width: 768px) {
    .hero-badges {
        justify-content: center;
        gap: 8px;
    }

    .hero-actions {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
    }

    .btn-primary-v2,
    .btn-secondary-v2 {
        width: auto;
        padding: 12px 20px;
        /* Smaller padding */
        font-size: 1rem;
    }
}





.hero-footer-link-v2 {
    margin-top: 25px;
}

.hero-footer-link-v2 a {
    color: var(--text-sub);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font-heading);
    transition: all 0.2s ease;
}

.hero-footer-link-v2 a:hover {
    color: var(--brand-primary);
}

/* Responsive for V2 */
@media (max-width: 992px) {
    .hero-section-v2 {
        background-position: center center;
        padding: 30px 0;
        min-height: auto;
        padding: 40px 0;
    }

    .hero-section-v2 .hero-content-v2 {
        max-width: 75%;
        /* Adjusted width as requested */
        text-align: center !important;
        margin: 0 auto !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.9);
        padding: 25px;
        border-radius: 12px;
    }

    .hero-content-v2 h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .hero-content-v2 p {
        font-size: 1rem;
    }
}

/* Trust Banner Section */
.trust-banner {
    background-color: #E8DED0;
    /* Warm beige matching the screenshot */
    padding: 25px 0;
    /* Space between hero and banner */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center the content horizontally */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-avatar {
    flex-shrink: 0;
}

.trust-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trust-text h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    /* Normal weight instead of 600 for elegance */
    color: #3d3d3d;
    /* Darker gray for better contrast on beige */
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.trust-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #3d3d3d;
    /* Darker gray for better readability */
}

.trust-feature svg {
    flex-shrink: 0;
    stroke: var(--brand-primary);
    width: 18px;
    height: 18px;
}

.trust-feature span {
    font-weight: 400;
    /* Normal weight for cleaner look */
}

/* Responsive */
@media (max-width: 768px) {
    .trust-banner {
        padding: 20px 0;
    }

    .trust-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .trust-avatar img {
        width: 70px;
        height: 70px;
    }

    .trust-text h3 {
        font-size: 1rem;
    }

    .trust-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .trust-feature {
        font-size: 0.9rem;
    }
}



/* Plan Comparison Section - Elegant Design */
.plan-comparison-section {
    padding: 80px 0;
    /* Soft Paper-like texture or color */
    background: radial-gradient(circle at center, #FDFBF7 0%, #F5F1E8 100%);
    position: relative;
}

/* Optional: Add a subtle grain/texture overlay if supported, otherwise just the gradient is fine */
.plan-comparison-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.plan-comparison-section .container {
    position: relative;
    z-index: 1;
}

.comparison-title {
    text-align: center;
    font-family: 'DM Serif Display', serif;
    /* Elegant Serif */
    color: #4A4F41;
    /* Deep Olive/Sage Green */
    font-size: 2.8rem;
    /* Larger and impactful */
    margin-bottom: 50px;
    font-weight: 400;
    /* Serif usually looks better at normal weight */
    letter-spacing: -0.02em;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    /* Softer rounded corners */
    box-shadow: 0 10px 40px rgba(74, 79, 65, 0.08);
    /* Soft shadow */
    background-color: transparent;
    /* Wrapper is transparent */
}

.comparison-table {
    width: 100%;
    min-width: 700px;
    /* Ensure it doesn't break on small screens */
    border-collapse: separate;
    /* Allows border-radius on elements */
    border-spacing: 0;
    background-color: #FFFFFF;
}

/* Header Styling */
.comparison-table th {
    padding: 24px;
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: #4A4F41;
    text-align: center;
    border-bottom: 1px solid rgba(74, 79, 65, 0.1);
}

/* Empty top-left cell */
.comparison-table th:first-child {
    background-color: #F8F6F2;
    /* Lightest beige */
    border-top-left-radius: 16px;
    text-align: left;
    width: 30%;
}

/* Basic Column Header */
.comparison-table th:nth-child(2) {
    background-color: #F2EFE9;
    /* Mid beige */
    width: 35%;
}

/* Premium Column Header */
.comparison-table th:nth-child(3) {
    background-color: #E6E2D8;
    /* Darker/Warmer beige */
    border-top-right-radius: 16px;
    width: 35%;
}

/* Cell Styling */
.comparison-table td {
    padding: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #5D6156;
    /* Softer text color */
    text-align: center;
    border-bottom: 1px solid rgba(74, 79, 65, 0.06);
    /* Very subtle separators */
    transition: background-color 0.2s ease;
}

/* Feature Name Column */
.comparison-table td.feature-name {
    text-align: left;
    font-weight: 500;
    font-family: 'DM Serif Display', serif;
    /* Or keep sans-serif depending on preference, screenshot looks like sans or slab? sticking to DM Serif feels more 'screenshot 2' elegant */
    font-family: 'Inter', sans-serif;
    /* Actually screenshot 2 looks like sans for rows */
    color: #4A4F41;
    /* Darker for labels */
    background-color: #FDFCFB;
    /* Very slightly off-white */
    padding-left: 24px;
}

/* Row Hover Effect */
.comparison-table tr:hover td {
    background-color: #FAF9F6;
}

/* Remove bottom border for last row cells */
.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.comparison-table tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}


/* Checkmarks */
.comparison-table svg {
    width: 22px;
    height: 22px;
    stroke: #6F7F63;
    /* Sage Green */
    stroke-width: 2.5;
}

/* Highlight Text (Last rows) */
.highlight-text {
    color: #8C7E6A;
    /* Gold/Bronze accent */
    font-weight: 600;
    font-size: 0.95rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plan-comparison-section {
        padding: 30px 0;
    }

    .comparison-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    /* Compact Table Styling for Mobile */
    .comparison-table-wrapper {
        margin: 0;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        overflow-x: visible;
        /* Disable scroll */
    }

    .comparison-table {
        min-width: 100%;
        /* Remove 700px constraint */
        width: 100%;
        table-layout: fixed;
        /* Equal or controlled column widths */
    }

    .comparison-table th:first-child,
    .comparison-table th:nth-child(3),
    .comparison-table tr:last-child td:first-child,
    .comparison-table tr:last-child td:last-child {
        border-radius: 0;
    }

    .comparison-table td,
    .comparison-table th {
        padding: 12px 4px;
        /* Tighter padding */
        font-size: 0.85rem;
        /* Smaller font */
        word-wrap: break-word;
        hyphens: auto;
    }

    .comparison-table th {
        font-size: 0.9rem;
        padding: 15px 4px;
        vertical-align: bottom;
    }

    .comparison-table td.feature-name {
        padding-left: 8px;
        /* Slightly more padding for text */
        font-size: 0.8rem;
        line-height: 1.3;
    }

    /* Adjust Column Widths for Mobile */
    .comparison-table th:first-child {
        width: 34%;
    }

    .comparison-table th:nth-child(2),
    .comparison-table th:nth-child(3) {
        width: 33%;
    }
}



/* How It Works Section - Reimagined Journey Path */
.how-it-works-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #fdfbf7 0%, #f5efe6 40%, #f8f4ed 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative organic shapes */
.how-it-works-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(111, 127, 99, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    z-index: 0;
}

.how-it-works-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    z-index: 0;
}

.how-it-works-section .container {
    position: relative;
    z-index: 2;
}

.how-it-works-section .category-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #3a4b35 0%, #5d7052 50%, #4a5c40 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

/* Section subtitle */
.how-it-works-section .category-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #6F7F63, transparent);
    border-radius: 2px;
}

/* Steps container with connecting path */
.steps-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    padding: 20px 0;
}

/* Connecting line between cards */
.steps-wrapper::before {
    content: '';
    position: absolute;
    top: 90px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(111, 127, 99, 0.2) 10%,
            rgba(111, 127, 99, 0.3) 50%,
            rgba(111, 127, 99, 0.2) 90%,
            transparent 100%);
    border-radius: 2px;
    z-index: 0;
}

/* Journey Step Cards */
.step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px 28px 36px;
    text-align: center;
    position: relative;
    box-shadow:
        0 8px 32px rgba(111, 127, 99, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    overflow: visible;
}

/* Card glow on hover */
.step-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(111, 127, 99, 0.2) 0%, rgba(212, 175, 55, 0.1) 50%, rgba(111, 127, 99, 0.15) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow:
        0 24px 56px rgba(111, 127, 99, 0.18),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

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

/* Large floating number badge */
.step-badge {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    background: linear-gradient(145deg, #5d7052 0%, #6F7F63 50%, #7a8a68 100%);
    color: #fff;
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow:
        0 8px 24px rgba(93, 112, 82, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    border: 4px solid #fff;
    z-index: 10;
    transition: all 0.4s ease;
    line-height: 1;
}

.step-card:hover .step-badge {
    transform: translateX(-50%) scale(1.1);
    box-shadow:
        0 12px 32px rgba(93, 112, 82, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

/* Image container with soft treatment */
.step-image {
    width: 140px;
    height: 140px;
    margin: 20px auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8f5f0 0%, #f0ebe3 100%);
    padding: 12px;
    box-shadow:
        inset 0 2px 8px rgba(0, 0, 0, 0.04),
        0 4px 16px rgba(111, 127, 99, 0.08);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.step-card:hover .step-image img {
    transform: scale(1.08);
}

/* Typography */
.step-title {
    font-family: 'DM Serif Display', serif;
    color: #3a4b35;
    font-size: 1.35rem;
    margin: 0 0 12px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.step-desc {
    font-family: 'Inter', sans-serif;
    color: #5a6a5a;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Vertical arrows hidden as we focus on cards */
.step-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #A3AFA0;
    font-size: 2rem;
    padding: 0 10px;
}

/* Custom CTA Button */
/* Custom CTA Button & Section matching .why-cta */
.how-works-cta {
    margin-top: 60px;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.3) 100%);
    padding: 50px 40px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        0 20px 40px rgba(74, 93, 62, 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    /* Inner highlight */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.5s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    overflow: hidden;
}

.how-works-cta:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(74, 93, 62, 0.15),
        inset 0 0 0 2px rgba(255, 255, 255, 0.9);
}

/* Subtle shine across the background of the glass card */
.how-works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.8),
            transparent);
    transform: skewX(-20deg);
    transition: 0.7s ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.how-works-cta:hover::before {
    left: 150%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.cta-floating-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    border-radius: inherit;
}

.cta-sparkle {
    position: absolute;
    color: #FACC15;
    /* Golden yellow */
    opacity: 0;
    font-size: 1.5rem;
}

.cta-s1 {
    top: 15%;
    left: 15%;
    animation: twinkle 4s infinite 0.5s;
}

.cta-s2 {
    top: 70%;
    right: 10%;
    font-size: 2rem;
    color: #fff;
    opacity: 0.2;
    animation: floatSlow 6s infinite alternate;
}

.cta-s3 {
    bottom: 20%;
    left: 30%;
    animation: twinkle 5s infinite 2s;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }

    100% {
        opacity: 0;
        transform: scale(0.5) rotate(360deg);
    }
}

@keyframes floatSlow {
    from {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }

    to {
        transform: translateY(-20px) rotate(15deg);
        opacity: 0.6;
    }
}

.how-works-cta .cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2F3B25;
    /* Deep elegant green */
    font-weight: 600;
    letter-spacing: -0.01em;
    /* Precise tracking */
    margin-bottom: 30px;
    line-height: 1.25;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.6);
    /* Soft pop out of glass */
    text-wrap: balance;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.cta-divider-wrapper {
    margin: 5px 0 10px;
    /* Tighter spacing for the separator */
    text-align: center;
}

.cta-separator-img {
    height: auto;
    width: 280px;
    /* Slightly wider for the cropped separator */
    max-width: 85%;
    opacity: 0.8;
    display: inline-block;
}

/* Premium Green Button matching reference with extra gloss */
.btn-premium-green {
    background: linear-gradient(180deg, #4A7D42 0%, #2E5228 100%) !important;
    color: #FFFFFF !important;
    padding: 18px 60px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: none;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Complex shadow for 3D effect + Glow */
    box-shadow:
        0 4px 15px rgba(46, 82, 40, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 10;
}

/* Glassy shine effect */
.btn-premium-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.btn-premium-green:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(46, 82, 40, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 10px 20px rgba(255, 255, 255, 0.15);
    background: #5F6F56 !important;
}

.cta-bottom-decoration {
    margin-top: 35px;
    /* More space for the leafy decoration */
    opacity: 1;
}

.cta-leafy-img {
    width: 320px;
    /* Adjust as needed for the cropped image */
    max-width: 90%;
    height: auto;
}

.how-works-cta .btn-how-works {
    background-color: #5F6F56 !important;
    /* Darker Sage Green */
    color: #FFFFFF !important;
    padding: 16px 48px;
    border-radius: 4px;
    /* Minimal radius */
    font-weight: 700;
    font-size: 0.95rem;
    /* Slightly smaller, more elegant */
    letter-spacing: 2px;
    /* Increased tracking */
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(63, 74, 52, 0.15);
}

.btn-how-works:hover {
    background-color: #5F6F56 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(63, 74, 52, 0.25);
    color: #fff !important;
}



/* Responsive - How It Works */
@media (max-width: 1024px) {
    .how-it-works-section {
        padding: 80px 0 100px;
    }

    .how-it-works-section .category-title {
        font-size: 2.4rem;
        margin-bottom: 60px;
    }

    .steps-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
        padding-top: 20px;
        max-width: 400px;
    }

    /* Hide connecting line on mobile */
    .steps-wrapper::before {
        display: none;
    }

    .step-separator {
        display: none;
    }

    .step-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .step-badge {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    .step-image {
        width: 120px;
        height: 120px;
    }
}



/* Features Section */
.features {
    padding: 30px 0;
    background: white;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Plans Section - Premium & Airy Override */
.plans-section,
.plans {
    padding: 30px 0;
    background-color: #F9F9F9;
}

.plans-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.plan-category {
    text-align: center;
}

.category-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
}

.category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.plan-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: stretch;
}

/* Modern Card Styles */
.plan-card,
.plan-card-modern {
    background: #ffffff;
    border-radius: var(--radius-card);
    padding: 50px 40px;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.plan-card:hover,
.plan-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Premium Card Highlight */
.premium-card {
    border: 2px solid var(--accent-color);
    background: linear-gradient(to bottom right, #FFFCF9, #FFFFFF);
}

.plan-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background-color: var(--accent-color);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(162, 175, 127, 0.3);
}

.card-header h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.card-header .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 35px;
    font-family: var(--font-heading);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
    text-align: left;
}

.plan-features li {
    margin-bottom: 18px;
    padding-left: 35px;
    position: relative;
    color: #666;
    font-size: 1.05rem;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.plan-card .btn,
.plan-card-modern .btn-modern,
.btn-block {
    display: block;
    width: 100%;
    padding: 18px;
    border-radius: var(--radius-btn);
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.95rem;
}

.basic-card .btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.basic-card .btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.premium-card .btn-primary {
    background: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(38, 21, 5, 0.2);
}

.premium-card .btn-primary:hover {
    background: #3e2b19;
    border-color: #3e2b19;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(38, 21, 5, 0.25);
}

/* Main Navigation */
.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-lang-switcher {
    margin-left: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    width: 100%;
    justify-content: flex-end;
    /* Align all items to the right */
    gap: 15px;
    /* Add space between menu items */
}

.nav-menu li {
    margin-left: 0;
}

/* Base Nav Link Styles */
.nav-menu li a:not(.btn-header-primary):not(.btn-header-secondary) {
    text-decoration: none;
    color: #2C3328;
    font-weight: 500;
    font-size: 1.125rem;
    transition: color 0.3s ease;
}

.nav-menu li a:not(.btn-header-primary):not(.btn-header-secondary):hover {
    color: #5F6F56;
}

/* Header Buttons Premium Styles */
/* Header Buttons Premium Styles - Made Global */
.btn-header-primary,
.nav-menu li a.btn-header-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    background-color: #6F7F63 !important;
    color: #FFFFFF !important;
    border: 1px solid #6F7F63 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 8px 18px rgba(111, 127, 99, 0.22);
    transition: all 0.3s ease;
}

.btn-header-primary:hover,
.nav-menu li a.btn-header-primary:hover {
    background-color: #5F6F56 !important;
    border-color: #5F6F56 !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(111, 127, 99, 0.30);
    color: #FFFFFF !important;
}

/* New CTA Header Style - Premium Creative Version */
.btn-cta-header-style {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 45px;
    background: linear-gradient(135deg, #4A5D3E 0%, #304026 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 100px;
    /* Perfect pill shape */
    font-size: 1.15rem;
    /* Restored size */
    font-weight: 600;
    /* Restored elegant weight */
    text-decoration: none !important;
    box-shadow:
        0 10px 20px rgba(48, 64, 38, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 2;
    /* Heartbeat animation for attention restored */
    animation: btnHeartbeat 2s infinite;
}

@keyframes btnHeartbeat {
    0% {
        transform: scale(1);
    }

    5% {
        transform: scale(1.03);
    }

    10% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.03);
    }

    20% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

/* Animated gradient background on hover */
.btn-cta-header-style::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, #5F7A4D 0%, #4A5D3E 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: inherit;
}

/* Elegant sweep shine effect always running slowly */
.btn-cta-header-style::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: slowShine 3s infinite;
    z-index: 10;
}

@keyframes slowShine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-cta-header-style:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 30px rgba(48, 64, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    color: #FFFFFF !important;
}

.btn-cta-header-style:hover::before {
    opacity: 1;
    /* Fade in lighter gradient */
}

/* Removed arrow classes */

.nav-menu li a.btn-header-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 24px;
    background-color: transparent !important;
    color: #6F7F63 !important;
    border: 2px solid #6F7F63 !important;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.nav-menu li a.btn-header-secondary:hover {
    background-color: #E8F3EA !important;
    border-color: #6F7F63 !important;
    color: #5F6F56 !important;
}

/* Upcoming Plans Redesign - Premium */
.upcoming-plans-section {
    margin-top: 60px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.upcoming-card {
    background: #ffffff;
    padding: 50px 30px;
    border-radius: var(--radius-card);
    text-align: center;
    box-shadow: var(--shadow-card);
    border: none;
    /* Removed dashed border */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.upcoming-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.upcoming-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

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

.upcoming-icon {
    color: var(--primary-color);
    margin-bottom: 30px;
    background: #F4F7F6;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.upcoming-card:hover .upcoming-icon {
    background: var(--accent-color);
    color: #fff;
    transform: scale(1.1);
}

.upcoming-card h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 600;
}

.btn-notify {
    background: transparent;
    border: 2px solid var(--text-color);
    /* Darker border for visibility */
    color: var(--text-color);
    padding: 12px 30px;
    border-radius: var(--radius-btn);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-notify:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 992px) {

    .plan-cards-row,
    .upcoming-grid {
        grid-template-columns: 1fr;
    }

    .plans-grid-wrapper {
        gap: 60px;
    }

    .plan-card {
        padding: 30px 20px;
    }
}


/* Contact Section */
.contact {
    padding: 30px 0;
    background: white;
    border-top: 1px solid #eee;
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    font-family: inherit;
    background: #fafafa;
}

.contact-form button {
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
/* === PREMIUM FOOTER STYLES (Light Luxury) === */
.footer-premium {
    background-color: #F9F7F2;
    /* Luminous Cream */
    color: #4A4F41;
    /* Dark Olive Text */
    padding: 50px 0 20px;
    font-family: 'Inter', sans-serif;
    border-top: 1px solid #E6E2D8;
    /* Soft Beige Border */
}

.footer-premium .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

/* Brand Column */
/* Brand Column - Logo */
.footer-logo {
    display: block;
    margin-bottom: 25px;
    width: 100%;
}

.footer-logo img {
    max-width: 180px !important;
    /* Larger logo */
    height: auto;
    width: auto;
    display: block;
    filter: none;
    /* Keep original colors since background is cream */
}

/* Fallback Text Logo in Footer if image fails */
.footer-logo .text-logo {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: #2C3328;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: block;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 1rem;
    line-height: 1.6;
    color: #5D6156;
    /* Softer text */
    margin-bottom: 25px;
    max-width: 280px;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FFFFFF;
    border: 1px solid #E6E2D8;
    border-radius: 12px;
    color: #2E7D32;
    /* Sage Green Icon */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 10px rgba(74, 79, 65, 0.05);
}

.footer-social a:hover {
    background: #2E7D32;
    color: #FFFFFF;
    border-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(125, 140, 97, 0.25);
}

/* Columns & Headings */
.footer-heading {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    color: #2C3328;
    /* Dark Sage */
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a,
.footer-contact li {
    color: #5D6156;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    font-weight: 400;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #2C3328;
    /* Darker on hover */
    padding-left: 5px;
    /* Subtle nudge effect */
}

.contact-schedule {
    color: #8C9485 !important;
    font-size: 0.9rem !important;
    margin-top: 15px;
    font-style: italic;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(74, 79, 65, 0.08);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    position: relative;
    width: 100%;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: #8C9485;
    line-height: 1.5;
    max-width: 700px;
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #8C9485;
    font-weight: 500;
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .brand-col {
        grid-column: span 2;
        /* Ensure specific overrides for 900px don't break 600px logic */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .footer-premium {
        padding: 60px 0 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr 1fr !important;
        gap: 10px;
        text-align: left;
    }

    .brand-col {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center;
    }

    .brand-col .footer-social {
        justify-content: center;
    }

    .footer-heading::after {
        content: '';
        display: block;
        width: 40px;
        height: 2px;
        background: #E6E2D8;
        margin: 10px 0 0;
        /* Left align separator for links */
    }

    .footer-links li,
    .footer-contact li {
        display: block !important;
        width: 100%;
    }

    /* Prevent email/phone overflow */
    .footer-contact a {
        word-break: break-all;
        font-size: 0.85rem;
    }

    /* Ensure logo fits and is centered */
    .footer-logo {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-bottom: 20px;
    }

    .footer-logo a {
        display: inline-block !important;
        margin: 0 !important;
        /* Remove desktop margin */
    }

    .footer-logo img {
        max-width: 140px !important;
        /* Slightly smaller logo */
        margin: 0 auto !important;
        display: block !important;
    }

    /* Smaller fonts for mobile 3-column layout */
    .footer-links a,
    .footer-contact li,
    .footer-contact a {
        font-size: 0.75rem !important;
        /* 12px */
        line-height: 1.4;
    }

    .footer-heading {
        font-size: 1rem;
        /* Smaller heading */
        margin-bottom: 15px;
    }
}

/* Newsletter Popup Styles - Ultra Premium */
.newsletter-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 10, 5, 0.4);
    /* High quality dark dim */
    backdrop-filter: blur(12px);
    /* Heavy background blur */
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.newsletter-popup.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.popup-content {
    background: rgba(255, 255, 255, 0.98);
    /* Almost solid white for readability */
    padding: 60px 50px;
    border-radius: 30px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    position: relative;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    animation: popupSlideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Glass effect for header if desired, but sticking to clean premium card */

@keyframes popupSlideUp {
    from {
        transform: translateY(60px) scale(0.95);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    font-size: 28px;
    font-weight: 300;
    color: #99A878;
    /* Sage accent */
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(162, 175, 127, 0.1);
}

.close-btn:hover {
    color: #fff;
    background: #99A878;
    transform: rotate(90deg);
}

.popup-header h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2.6rem;
    font-family: 'DM Serif Display', serif;
    /* Using the premium serif font */
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.popup-header p {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

#newsletter-form {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    width: 100%;
}

#newsletter-form input[type="email"] {
    flex: 1;
    width: auto;
    /* Allow flex to control width */
    padding: 16px 20px;
    border: 1px solid #E0E0E0;
    border-radius: 12px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
    background: #F9F9F9;
    font-family: var(--font-body);
    outline: none;
    color: var(--primary-color);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

#newsletter-form input[type="email"]::placeholder {
    color: #aaa;
}

#newsletter-form input[type="email"]:focus {
    border-color: #99A878;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(153, 168, 120, 0.15);
}

#newsletter-form button.btn {
    width: auto;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    padding: 16px 24px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    background: #99A878;
    color: #fff;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 8px 20px rgba(153, 168, 120, 0.25);
    margin-top: 0;
    white-space: nowrap;
}

#newsletter-form button.btn:hover {
    background: #889669;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(153, 168, 120, 0.4);
}

/* Language Switcher - Premium Styling */
.language-switcher {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.language-switcher__flat {
    display: none;
}

.language-switcher__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    border-radius: 100px;
    /* Pill shape */
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    outline: none;
}

.language-switcher__toggle:hover {
    border-color: var(--accent-color);
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.language-switcher__toggle:active {
    transform: translateY(-1px) scale(0.98);
}

.language-switcher.is-open .language-switcher__toggle {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.language-switcher__flag {
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.language-switcher__toggle:hover .language-switcher__flag {
    transform: scale(1.1);
}

.language-switcher__name {
    letter-spacing: 1px;
}

.language-switcher__arrow {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition: transform 0.3s ease;
}

.language-switcher.is-open .language-switcher__arrow {
    transform: rotate(180deg);
}

.language-switcher__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 140px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.95);
    transform-origin: top right;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1100;
}

.language-switcher.is-open .language-switcher__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.language-switcher__option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.language-switcher__option:hover {
    background: rgba(39, 174, 96, 0.08);
    color: var(--accent-color);
    padding-left: 20px;
}

.language-switcher__option:active {
    background: rgba(39, 174, 96, 0.15);
}

/* Staggered entrance animation for options */
.language-switcher.is-open .language-switcher__option {
    animation: slideIn 0.3s ease forwards;
    opacity: 0;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.language-switcher.is-open .language-switcher__option:nth-child(1) {
    animation-delay: 0.1s;
}

.language-switcher.is-open .language-switcher__option:nth-child(2) {
    animation-delay: 0.15s;
}

.language-switcher.is-open .language-switcher__option:nth-child(3) {
    animation-delay: 0.2s;
}

/* Final CTA Section - Premium Image Banner */
.final-cta-section {
    background: url('./assets/images/cta_banner_premium_sage.png') no-repeat center center;
    background-size: cover;
    min-height: 450px;
    /* Ensure sufficient height for the image */
    padding: 0;
    /* Remove padding as we rely on aspect ratio/min-height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Remove the green overlay as requested to show the vibrant original image */
.final-cta-section::before {
    display: none;
}

/* Ensure text is visible and legible on the new background */
.final-cta-content {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    /* Add a slight dark shadow behind text container for legibility without full filter */
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Clickable Banner Hover Effect */
.final-cta-banner-link {
    display: block;
    text-decoration: none;
    overflow: hidden;
}

.final-cta-banner-link:hover .final-cta-section {
    transform: scale(1.02);
}

.final-cta-banner-link:hover .final-cta-section::before {
    background: linear-gradient(135deg, rgba(94, 112, 69, 0.8) 0%, rgba(125, 140, 97, 0.6) 100%);
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    color: #fff !important;
    font-family: 'DM Serif Display', serif;
    font-size: 3.5rem;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 2px 5px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 1.25rem;
    margin-bottom: 45px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.6);
    /* Legibility shadow */
}

/* Dummy button style to look like a button but is just visual */
.btn-cta-premium-dummy {
    background-color: #fff;
    color: var(--brand-primary);
    padding: 20px 45px;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    display: inline-block;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.final-cta-banner-link:hover .btn-cta-premium-dummy {
    background-color: var(--brand-primary);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ===================================================
   PREMIUM MOBILE MENU — Ultra-Luxury Fullscreen Nav
   =================================================== */

/* Desktop: hide mobile-only elements */
.mobile-menu-close,
.mobile-menu-deco,
.mobile-menu-footer,
.mobile-menu-logo-wrapper,
.mobile-only {
    display: none !important;
}

.desktop-nav-extras {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

/* Desktop cart + CTA styles (maintained from original) */
.desktop-nav-extras .cart-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-brand-sage) !important;
}

.desktop-nav-extras .btn-header-primary {
    background-color: var(--color-brand-sage-light);
    color: #FFFFFF !important;
    border: 1px solid var(--color-brand-sage-light);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.desktop-nav-extras .btn-header-primary:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 79, 65, 0.25);
}

.desktop-nav-extras .btn-header-secondary {
    background-color: transparent;
    border: 1px solid var(--brand-primary);
    color: var(--brand-primary) !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.desktop-nav-extras .btn-header-secondary:hover {
    background-color: var(--brand-light);
    color: var(--brand-dark) !important;
}

/* =============================================
   MOBILE BREAKPOINT — Premium Menu
   ============================================= */
@media (max-width: 768px) {

    /* --- Body lock when menu open --- */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    /* --- Hide desktop extras on mobile --- */
    .desktop-nav-extras {
        display: none !important;
    }

    /* --- Explicitly show mobile elements --- */
    .mobile-only {
        display: block !important;
    }

    .mobile-menu-footer {
        display: flex !important;
    }

    .mobile-menu-logo-wrapper {
        display: block !important;
    }

    /* --- Overlay backdrop --- */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(74, 79, 65, 0.15);
        backdrop-filter: blur(12px) saturate(120%);
        -webkit-backdrop-filter: blur(12px) saturate(120%);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-overlay.is-active {
        opacity: 1;
        visibility: visible;
    }

    /* --- Hamburger Toggle --- */
    .mobile-menu-toggle {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 10001;
    }

    .hamburger-line {
        background-color: var(--color-brand-sage) !important;
        transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        transform-origin: center;
    }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* --- Sticky Header fix --- */
    header,
    header.site-header {
        position: sticky !important;
        top: 0 !important;
        width: 100% !important;
        z-index: 99999;
    }

    header .container {
        justify-content: space-between;
    }

    /* --- Fix Hero Alignment on Mobile --- */
    body .hero-section-v2 .container,
    .hero-section-v2 .container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .hero-content,
    .hero-content-v2 {
        width: calc(100% - 16px) !important;
        max-width: 96% !important;
        margin: 0 auto !important;
        padding: 25px 15px !important;
        text-align: center;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(15px);
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(74, 79, 65, 0.08);
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        float: none !important;
    }

    /* ===========================================
       THE PREMIUM FULLSCREEN MENU (1:1 REDESIGN)
       =========================================== */

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: #f6f5ef url('assets/images/mobile-menu-botanical-bg.png') no-repeat center center;
        background-size: cover;
        z-index: 10000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        padding: 5vh 24px 3vh;
        overflow: hidden;

        /* Initial hidden state */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    /* Open state */
    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
    }

    /* Logo inside mobile menu */
    .mobile-menu-logo-wrapper {
        position: absolute;
        top: 24px;
        left: 28px;
        font-family: 'DM Serif Display', serif;
        font-size: 1.6rem;
        color: var(--color-brand-sage);
        z-index: 10010;
        letter-spacing: 0.5px;
    }

    .mobile-menu-logo-img {
        max-height: 40px;
        width: auto;
        display: block;
    }

    /* --- Navigation Items --- */
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        width: 100%;
        position: relative;
        z-index: 2;
        padding: 0;
        margin: auto 0;
        padding-top: 10vh;
        /* space from top logo/X */
    }

    .nav-menu li.nav-item {
        width: 100%;
        text-align: center;
        position: relative;
        margin: 0;
        padding: 18px 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu li.nav-item:not(:nth-last-child(2))::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 25%;
        width: 50%;
        height: 1px;
        background: rgba(111, 127, 99, 0.15);
    }

    .nav-menu li.nav-item a {
        font-family: 'DM Serif Display', serif;
        font-size: 2rem !important;
        color: var(--color-brand-sage) !important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        letter-spacing: 0.5px;
        font-weight: 400;
        position: relative;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1;
    }

    .nav-menu li.nav-item a svg.chevron-icon {
        position: absolute;
        right: -45px;
        top: 50%;
        transform: translateY(-45%);
        /* Optically centered with text baseline */
        opacity: 0.4;
        color: var(--color-brand-sage);
    }

    /* --- Language Switcher --- */
    .nav-lang-switcher {
        margin-top: 10px !important;
        padding-top: 15px;
        border: none;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .lang-text-switcher {
        font-family: 'Inter', sans-serif;
        font-size: 0.85rem;
        letter-spacing: 3px;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .lang-text-switcher a {
        font-size: 0.85rem !important;
        display: inline-block !important;
        padding: 6px 8px !important;
        color: rgba(111, 127, 99, 0.5) !important;
        font-weight: 500 !important;
        font-family: 'Inter', sans-serif !important;
        border: none;
        transition: all 0.3s ease;
        border-radius: 4px;
    }

    .lang-text-switcher a.active-lang {
        color: var(--color-brand-sage) !important;
        font-weight: 700 !important;
        background: rgba(111, 127, 99, 0.08);
        position: relative;
    }

    .lang-text-switcher a:hover:not(.active-lang) {
        color: var(--color-brand-sage) !important;
        background: rgba(111, 127, 99, 0.05);
    }

    .lang-sep {
        color: rgba(111, 127, 99, 0.25) !important;
        font-size: 0.8rem;
    }

    /* --- Mobile Menu Footer (Cart + CTAs) --- */
    .mobile-menu-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        margin-top: 10px;
        padding-bottom: env(safe-area-inset-bottom, 20px);
        position: relative;
        z-index: 2;
    }

    /* Cart in mobile menu */
    .mobile-menu-cart {
        display: flex;
        justify-content: center;
    }

    .mobile-menu-cart .cart-link {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--color-brand-sage) !important;
        padding: 8px 16px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .mobile-menu-cart .cart-count {
        background: var(--color-brand-sage);
        color: #fff;
        font-size: 0.65rem;
        width: 16px;
        height: 16px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        line-height: 1;
        margin-top: -10px;
        /* pull badge up to match screenshot */
        margin-left: -5px;
        /* overlap with cart icon slightly */
    }

    /* CTA buttons */
    .mobile-menu-ctas {
        display: flex;
        gap: 10px;
        width: 100%;
    }

    .btn-mobile-primary {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 10px;
        background: #738066;
        /* Match screenshot green */
        color: #FFFFFF !important;
        border: 1px solid #738066;
        border-radius: 100px;
        /* pill shape */
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
    }

    .btn-mobile-secondary {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 10px;
        background: transparent;
        color: #738066 !important;
        border: 1px solid #738066;
        border-radius: 100px;
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        font-weight: 500;
        text-decoration: none;
    }

    /* --- Hide old nav elements on mobile --- */
    .nav-cart,
    .nav-btn {
        display: none !important;
    }

    /* Old dropdown language switcher hide */
    .language-switcher,
    .language-switcher__toggle,
    .language-switcher__dropdown {
        display: none !important;
    }
}

/* ========================================
   RECIPE SYSTEM STYLES
   ======================================== */

/* Recipe Cards Grid */
.recipe-cards,
.recipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.recipe-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.recipe-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.recipe-card-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.recipe-card-content {
    padding: 20px;
}

.recipe-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.recipe-card-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.recipe-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #777;
}

.recipe-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.meta-badge {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.recipe-card-difficulty {
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.difficulty-usor {
    background: #d4edda;
    color: #155724;
}

.difficulty-mediu {
    background: #fff3cd;
    color: #856404;
}

.difficulty-dificil {
    background: #f8d7da;
    color: #721c24;
}

/* Recipe Archive */
.archive-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.archive-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.archive-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.recipe-archive {
    padding: 30px 0;
}

.recipe-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid #ddd;
    border-radius: 25px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.no-recipes {
    text-align: center;
    padding: 60px 20px;
}

.no-recipes p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

/* Single Recipe Page */
.recipe-hero {
    position: relative;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
}

.recipe-hero-content {
    position: relative;
    z-index: 2;
}

.recipe-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    color: white
}

.recipe-excerpt {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.recipe-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 12px;
    display: inline-flex;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.meta-item .icon {
    font-size: 1.5rem;
}

.recipe-content {
    padding: 30px 0;
}

.recipe-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
}

.recipe-section {
    margin-bottom: 50px;
}

.recipe-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
}

.ingredients-list {
    list-style: none;
    padding: 0;
}

.ingredients-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}

.ingredients-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.recipe-steps {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
}

.recipe-steps li {
    counter-increment: step-counter;
    margin-bottom: 25px;
    padding-left: 60px;
    position: relative;
    line-height: 1.8;
}

.recipe-steps li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Sidebar Cards */
.nutrition-card,
.time-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.nutrition-card h3,
.time-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.nutrition-note {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 20px;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nutrition-item {
    background: var(--bg-light);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.nutrition-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
}

.nutrition-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.time-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.time-item.total {
    border-bottom: none;
    border-top: 2px solid var(--accent-color);
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 700;
}

.time-label {
    color: #666;
}

.time-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Related Recipes */
.related-recipes {
    background: var(--bg-light);
    padding: 30px 0;
}

.related-recipes h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

/* Recipes CTA */
/* .recipes-cta removed to allow custom styling in template */
.recipes-cta {
    text-align: center;
    margin-top: 60px;
}

/* Responsive */
@media (max-width: 768px) {

    .recipe-cards,
    .recipe-grid {
        grid-template-columns: 1fr;
    }

    .recipe-layout {
        grid-template-columns: 1fr;
    }

    .recipe-hero h1 {
        font-size: 2rem;
    }

    .archive-hero h1 {
        font-size: 2rem;
    }

    .recipe-meta-bar {
        flex-direction: column;
        gap: 15px;
    }

    .nutrition-grid {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
}

/* ---------------------------------------------------------
   CUSTOM LOGIN / REGISTER - ULTRA PREMIUM
--------------------------------------------------------- */
.custom-login-wrapper {
    max-width: 680px;
    width: 100%;
    margin: 80px auto;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 70px 80px;
    border-radius: 28px;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(122, 155, 142, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset,
        0 1px 2px rgba(122, 155, 142, 0.05) inset;
    border: 1.5px solid rgba(122, 155, 142, 0.15);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Subtle gradient overlay */
.custom-login-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            var(--brand-sage) 0%,
            var(--brand-dark) 50%,
            var(--brand-sage) 100%);
    opacity: 0.6;
}

.custom-login-container h2 {
    font-family: 'Outfit', var(--font-heading), sans-serif;
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 48px;
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.2;
}

/* Tabs */
.login-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(122, 155, 142, 0.15);
    gap: 20px;
}

.tab-btn {
    flex: 1;
    max-width: 200px;
    background: none;
    border: none;
    padding: 18px 28px;
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-size: 1.05rem;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    position: relative;
    letter-spacing: 0.3px;
}

.tab-btn.active {
    color: var(--brand-dark);
    border-bottom-color: var(--brand-sage);
    font-weight: 700;
}

.tab-btn:hover:not(.active) {
    color: var(--brand-sage);
    transform: translateY(-1px);
}

.login-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.login-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form Elements */
.woocommerce-form-row {
    margin-bottom: 24px;
}

.woocommerce-form-row label {
    display: block;
    margin-bottom: 12px;
    color: var(--brand-dark);
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: none;
}

.woocommerce-Input {
    width: 100%;
    padding: 18px 22px;
    border: 1px solid rgba(122, 155, 142, 0.2);
    border-radius: 16px;
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-dark);
}

.woocommerce-Input:focus {
    border-color: var(--brand-sage);
    outline: none;
    box-shadow:
        0 0 0 5px rgba(122, 155, 142, 0.12),
        0 6px 16px rgba(122, 155, 142, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.woocommerce-form-login__submit,
.woocommerce-form-register__submit {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2d5d50 100%) !important;
    color: #fff !important;
    padding: 20px 36px !important;
    border-radius: 16px !important;
    font-family: 'Outfit', var(--font-heading), sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-top: 16px;
    border: none !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer;
    box-shadow:
        0 10px 25px rgba(47, 93, 80, 0.3),
        0 4px 12px rgba(47, 93, 80, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    animation: loginButtonPulse 3s infinite ease-in-out;
}

.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover {
    background: linear-gradient(135deg, var(--brand-sage) 0%, #8ba89d 100%) !important;
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 16px 35px rgba(122, 155, 142, 0.35),
        0 6px 16px rgba(122, 155, 142, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    animation: none;
}

/* Login Button Pulse Animation */
@keyframes loginButtonPulse {
    0% {
        box-shadow: 0 10px 25px rgba(47, 93, 80, 0.3),
            0 4px 12px rgba(47, 93, 80, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        transform: scale(1);
    }

    50% {
        box-shadow: 0 14px 32px rgba(47, 93, 80, 0.4),
            0 6px 16px rgba(47, 93, 80, 0.25),
            0 0 0 1px rgba(255, 255, 255, 0.12) inset;
        transform: scale(1.01);
    }

    100% {
        box-shadow: 0 10px 25px rgba(47, 93, 80, 0.3),
            0 4px 12px rgba(47, 93, 80, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset;
        transform: scale(1);
    }
}

/* Separator */
.social-login-separator {
    text-align: center;
    margin: 28px 0 20px;
    position: relative;
}

.social-login-separator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            transparent,
            rgba(122, 155, 142, 0.2) 20%,
            rgba(122, 155, 142, 0.2) 80%,
            transparent);
    z-index: 0;
}

.social-login-separator span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 24px;
    color: rgba(0, 0, 0, 0.45);
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* Nextend Social Login (Plugin Styling Override) */
.nsl-container-block .nsl-button-google {
    background-color: #fff !important;
    color: #757575 !important;
    border: 1px solid #ddd !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    transition: all 0.3s !important;
}

.nsl-container-block .nsl-button-google:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-1px);
}

/* Custom Google OAuth Login Button */
.google-login-container {
    margin-top: 28px;
    width: 100%;
}

.google-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.9);
    color: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(122, 155, 142, 0.2);
    border-radius: 16px;
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.google-login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.google-login-button:hover::before {
    left: 100%;
}


.google-login-button:hover {
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(122, 155, 142, 0.3);
    background: rgba(255, 255, 255, 0.95);
}


.google-login-button svg {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    transition: transform 0.3s;
}

.google-login-button:hover svg {
    transform: scale(1.1);
}


.google-login-button span {
    color: rgba(0, 0, 0, 0.75);
    font-family: 'Outfit', var(--font-heading), sans-serif;
    font-weight: 600;
}

/* ========================================
   MOBILE RESPONSIVE - LOGIN/REGISTER
   ======================================== */
@media (max-width: 768px) {

    /* WooCommerce default columns - make full width on mobile */
    .woocommerce-account .u-column1,
    .woocommerce-account .u-column2,
    .woocommerce-account .col-1,
    .woocommerce-account .col-2,
    .woocommerce form .col2-set .col-1,
    .woocommerce form .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
        margin-right: 0 !important;
    }

    /* Hide register column on mobile - show only via tabs */
    .woocommerce-account .u-column2 {
        display: none;
    }

    /* Container optimization for mobile */
    .custom-login-wrapper {
        max-width: 100%;
        margin: 20px auto;
        padding: 24px 16px;
        border-radius: 16px;
    }

    /* Remove excessive padding from nested containers */
    .custom-login-container {
        padding: 0 !important;
    }

    .login-panel {
        padding: 0 !important;
    }

    form.login-form-flex,
    .woocommerce-form-login,
    .woocommerce-form-register {
        padding: 0 !important;
        width: 100% !important;
    }

    /* Title hierarchy - reduce size */
    .custom-login-container h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    /* Tab navigation - optimize for mobile */
    .login-tabs {
        margin-bottom: 24px;
    }

    .tab-btn {
        padding: 12px 10px;
        font-size: 0.95rem;
    }

    /* Form fields - better touch targets */
    .woocommerce-form-row {
        margin-bottom: 16px;
    }

    .woocommerce-form-row label {
        margin-bottom: 6px;
        font-size: 0.9rem;
    }

    .woocommerce-Input {
        padding: 14px 16px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        min-height: 48px;
        /* Better touch target */
    }

    /* Submit buttons - full width on mobile */
    .woocommerce-form-login__submit,
    .woocommerce-form-register__submit {
        width: 100% !important;
        padding: 16px !important;
        font-size: 1.05rem !important;
        margin-top: 8px;
        min-height: 52px;
        /* Better touch target */
    }

    /* Social login separator - reduce spacing */
    .social-login-separator {
        margin: 24px 0 16px;
    }

    .social-login-separator span {
        font-size: 0.85rem;
        padding: 0 12px;
    }

    /* Social login buttons - full width */
    .nsl-container-block {
        margin-bottom: 16px;
    }

    .nsl-container-block .nsl-button {
        width: 100% !important;
        padding: 14px 16px !important;
        min-height: 48px;
        justify-content: center;
    }

    /* Lost password link - better visibility */
    .woocommerce-LostPassword.lost_password {
        text-align: center;
        margin-top: 16px;
        margin-bottom: 0;
    }

    .woocommerce-LostPassword.lost_password a {
        font-size: 0.9rem;
        display: inline-block;
        padding: 8px 0;
    }

    /* Remember me checkbox - optimize spacing */
    .login-remember-container {
        margin-bottom: 12px;
    }

    .login-remember-container label {
        font-size: 0.9rem;
    }
}

/* ========================================
   WOOCOMMERCE MY ACCOUNT STYLES
   ======================================== */

/* ========================================
   WOOCOMMERCE MY ACCOUNT STYLES (PREMIUM)
   ======================================== */

.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sidebar Navigation - PREMIUM */
.woocommerce-MyAccount-navigation {
    flex: 0 0 280px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid rgba(122, 155, 142, 0.1);
    animation: slideInLeft 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

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

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    color: #555;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.woocommerce-MyAccount-navigation ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--brand-sage);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background: linear-gradient(135deg, rgba(122, 155, 142, 0.08) 0%, rgba(122, 155, 142, 0.05) 100%);
    color: var(--brand-dark);
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(122, 155, 142, 0.1);
}

.woocommerce-MyAccount-navigation ul li a:hover::after {
    transform: scaleY(1);
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, var(--brand-sage) 0%, #8ba89d 100%);
    color: white;
    box-shadow:
        0 10px 30px rgba(122, 155, 142, 0.35),
        0 4px 12px rgba(122, 155, 142, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 20px rgba(122, 155, 142, 0.2);
    border-color: transparent;
    transform: translateX(4px);
}

.woocommerce-MyAccount-navigation ul li.is-active a::after {
    transform: scaleY(1);
    background: rgba(255, 255, 255, 0.3);
}

/* Account Content Area - PREMIUM */
.woocommerce-MyAccount-content {
    flex: 1;
    min-width: 320px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 55px;
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.03),
        0 8px 20px rgba(0, 0, 0, 0.02),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(122, 155, 142, 0.1);
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-MyAccount-content h2 {
    font-size: 2rem;
    color: var(--brand-dark);
    margin-bottom: 12px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--brand-sage) 0%, rgba(122, 155, 142, 0.3) 50%, transparent 100%);
    border-image-slice: 1;
    padding-bottom: 22px;
    margin-bottom: 35px;
    letter-spacing: -0.5px;
    font-weight: 700;
}

.woocommerce-MyAccount-content p {
    color: #555;
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 25px;
}

/* Greetings / Dashboard Text */
.woocommerce-MyAccount-content p strong {
    color: var(--brand-dark);
    font-weight: 600;
}

/* Links in content */
.woocommerce-MyAccount-content a {
    color: var(--brand-sage);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--brand-sage);
    transition: all 0.2s;
}

.woocommerce-MyAccount-content a:hover {
    color: var(--brand-dark);
    border-bottom-style: solid;
}

/* Form Styles Override */
.woocommerce-Address-title h3 {
    font-size: 1.4rem;
    color: var(--brand-dark);
}

.woocommerce-EditAccountForm fieldset {
    border: 0.5px solid #eee;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    background: var(--bg-light);
}

.woocommerce-EditAccountForm legend {
    font-weight: 600;
    padding: 0 15px;
    color: var(--brand-dark);
}

/* Orders Table - Premium */
.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-orders-table th {
    text-align: left;
    padding: 18px 20px;
    background: #f8f9fa;
    color: #444;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #eee;
}

.woocommerce-orders-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    background: #fff;
    transition: background 0.2s;
}

.woocommerce-orders-table__row:last-child td {
    border-bottom: none;
}

.woocommerce-orders-table__row:hover td {
    background: #fafafa;
}

.woocommerce-orders-table__cell-order-number a {
    font-weight: 600;
    border-bottom: none;
}

.woocommerce-orders-table__cell-order-status {
    font-weight: 500;
}

/* Status Badges */
.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-status.processing {
    background: #e3f2fd;
    color: #1976d2;
}

.order-status.completed {
    background: #e8f5e9;
    color: #388e3c;
}

.order-status.on-hold {
    background: #fff3e0;
    color: #f57c00;
}

.order-status.cancelled {
    background: #ffebee;
    color: #d32f2f;
}

/* Buttons - PREMIUM */
.woocommerce-Button.button,
.woocommerce-orders-table__cell-order-actions .button {
    background: linear-gradient(135deg, var(--brand-sage) 0%, #8ba89d 100%) !important;
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    border: none !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow:
        0 6px 18px rgba(122, 155, 142, 0.3),
        0 2px 8px rgba(122, 155, 142, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    text-transform: none !important;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.woocommerce-Button.button::before,
.woocommerce-orders-table__cell-order-actions .button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.woocommerce-Button.button:hover::before,
.woocommerce-orders-table__cell-order-actions .button:hover::before {
    width: 300px;
    height: 300px;
}

.woocommerce-Button.button:hover,
.woocommerce-orders-table__cell-order-actions .button:hover {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2d5d50 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(47, 93, 80, 0.35),
        0 4px 12px rgba(47, 93, 80, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 0 25px rgba(122, 155, 142, 0.2);
}

/* Addresses */
.woocommerce-Address {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #eee;
    height: 100%;
    transition: transform 0.3s ease;
}

.woocommerce-Address:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.woocommerce-Address address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 30px;
    }

    .woocommerce-MyAccount-navigation {
        flex: 1;
        width: 100%;
        margin-bottom: 10px;
        position: static;
        padding: 20px;
    }

    .woocommerce-MyAccount-navigation ul {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
        /* Scrollbar hiding */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        display: none;
    }

    .woocommerce-MyAccount-navigation ul li a {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.9rem;
        background: #f5f5f5;
    }

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

/* ========================================
   PREMIUM DASHBOARD GRID
   ======================================== */
.dashboard-welcome {
    margin-bottom: 40px;
}

.dashboard-welcome h2 {
    font-size: 2rem;
    color: var(--brand-dark);
}

.dashboard-welcome .highlight {
    color: var(--brand-sage);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(122, 155, 142, 0.15);
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.03),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-sage) 0%, #8ba89d 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dashboard-card:hover::before {
    transform: scaleX(1);
}

.dashboard-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 20px rgba(122, 155, 142, 0.15),
        0 0 0 1px rgba(122, 155, 142, 0.2) inset;
    border-color: var(--brand-sage);
}

.card-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(122, 155, 142, 0.1) 0%, rgba(122, 155, 142, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--brand-dark);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(122, 155, 142, 0.1);
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-sage), #8ba89d);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}

.dashboard-card:hover .card-icon::before {
    opacity: 1;
}

.dashboard-card:hover .card-icon {
    background: transparent;
    color: #fff;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 20px rgba(122, 155, 142, 0.3);
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    color: var(--brand-dark);
    font-weight: 700;
    letter-spacing: -0.3px;
    transition: color 0.3s;
}

.dashboard-card:hover .card-content h3 {
    color: var(--brand-sage);
}

.card-content p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

.card-arrow {
    position: absolute;
    bottom: 25px;
    right: 30px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
    font-size: 1.2rem;
    color: var(--brand-sage);
}

.dashboard-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* SIDEBAR ICONS (Pseudo-elements) */
.woocommerce-MyAccount-navigation ul li a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.woocommerce-MyAccount-navigation ul li a:hover::before,
.woocommerce-MyAccount-navigation ul li.is-active a::before {
    opacity: 1;
}

/* SVG Data URIs for Icons */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="3" y="3" width="7" height="7"></rect><rect x="14" y="3" width="7" height="7"></rect><rect x="14" y="14" width="7" height="7"></rect><rect x="3" y="14" width="7" height="7"></rect></svg>');
}

.woocommerce-MyAccount-navigation-link--orders a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="16.5" y1="9.4" x2="7.5" y2="4.21"></line><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path></svg>');
}

.woocommerce-MyAccount-navigation-link--downloads a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>');
}

.woocommerce-MyAccount-navigation-link--edit-address a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"></path><circle cx="12" cy="10" r="3"></circle></svg>');
}

.woocommerce-MyAccount-navigation-link--edit-account a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>');
}

.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23d32f2f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>');
}

/* Rețete Favorite - Heart icon */
.woocommerce-MyAccount-navigation-link--retete-favorite a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"></path></svg>');
}

/* Planurile Mele - Download icon */
.woocommerce-MyAccount-navigation-link--planurile-mele a::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232F5D50" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"></path><polyline points="7 10 12 15 17 10"></polyline><line x1="12" y1="15" x2="12" y2="3"></line></svg>');
}

/* ========================================
   PHASE 3: PREMIUM FORM STYLING
   ======================================== */

/* ========================================
   ULTRA PREMIUM FORM FIELDS - FLOATING LABEL SYSTEM
   ======================================== */

/* Form Row Container */
.woocommerce form .form-row {
    margin-bottom: 36px;
    position: relative;
}

/* Floating Label System - Premium Animation */
.woocommerce form .form-row label {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: #8b9aa8;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-transform: none;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 6px;
    z-index: 2;
    opacity: 1;
}

/* Required Asterisk - Elegant Style */
.woocommerce form .form-row .required {
    color: #ff6b6b;
    margin-left: 3px;
    font-size: 1em;
    font-weight: 600;
}

/* Ultra Premium Input Fields - Neumorphism + Gradient Border */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    box-sizing: border-box;
    width: 100%;
    padding: 24px 22px 12px 22px;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 16px;
    font-size: 1.05rem;
    color: #1a2332;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    position: relative;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(122, 155, 142, 0.08);
}

/* Gradient Border Effect - Hidden by default */
.woocommerce form .form-row .input-text::before,
.woocommerce form .form-row select::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, var(--brand-sage), #8ba89d, var(--brand-sage));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
}

/* Hover State - Subtle Lift */
.woocommerce form .form-row .input-text:hover,
.woocommerce form .form-row select:hover {
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(122, 155, 142, 0.08),
        inset 0 0 0 1px rgba(122, 155, 142, 0.15);
    transform: translateY(-2px);
}

/* Focus State - Floating Label + Gradient Border Reveal */
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
.woocommerce form .form-row .input-text:not(:placeholder-shown),
.woocommerce form .form-row select:not(:placeholder-shown) {
    outline: none;
    padding-top: 28px;
    padding-bottom: 8px;
    box-shadow:
        0 8px 32px rgba(122, 155, 142, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08),
        inset 0 0 0 1px var(--brand-sage);
}

/* Floating Label Animation on Focus/Filled */
.woocommerce form .form-row .input-text:focus+label,
.woocommerce form .form-row select:focus+label,
.woocommerce form .form-row .input-text:not(:placeholder-shown)+label,
.woocommerce form .form-row select:not(:placeholder-shown)+label {
    top: 12px;
    transform: translateY(0);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-sage);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, transparent 0%, transparent 45%, #ffffff 45%, #ffffff 55%, transparent 55%);
}

/* Placeholder - Transparent for Floating Label System */
.woocommerce form .form-row .input-text::placeholder {
    color: transparent;
    opacity: 0;
}

.woocommerce form .form-row .input-text:focus::placeholder {
    color: #bbb;
    opacity: 0.6;
    transition: opacity 0.3s ease 0.1s;
}

/* Custom Select Dropdown Arrow - PREMIUM */
.woocommerce form .form-row select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%237A9B8E" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    padding-right: 45px;
    cursor: pointer;
}

/* 2. Address Cards Redesign */
.woocommerce-Address {
    background: #fff !important;
    /* Override previous gray */
    padding: 0 !important;
    /* Reset padding for header/body split */
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce-Address:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.woocommerce-Address-title {
    background: #f8f9fa;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce-Address-title h3 {
    margin: 0;
    font-size: 1.1rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-dark);
}

.woocommerce-Address-title .edit {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--brand-sage);
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid var(--brand-sage);
    border-radius: 20px;
    transition: all 0.2s;
}

.woocommerce-Address-title .edit:hover {
    background: var(--brand-sage);
    color: #fff;
}

.woocommerce-Address address {
    padding: 25px;
    font-style: normal;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.8 !important;
    flex-grow: 1;
}

/* 3. Address Editing Form Layout */
.woocommerce-address-fields__field-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-row {
    flex: 1 0 100%;
}

/* Half width for name fields and city/postcode */
.form-row.form-row-first,
.form-row.form-row-last {
    flex: 1 0 calc(50% - 10px);
}

/* Tablet adjustments */
@media (max-width: 768px) {

    .form-row.form-row-first,
    .form-row.form-row-last {
        flex: 1 0 100%;
    }
}

/* Save Address Button */
.woocommerce-address-fields p button,
.woocommerce-EditAccountForm p button {
    width: 100%;
    margin-top: 10px;
    padding: 16px !important;
    font-size: 1rem !important;
}

/* ========================================
   PHASE 4: ULTRA-PREMIUM POLISH
   ======================================== */

/* 1. FLOATING LABELS (Material/Apple Style) */
.woocommerce form .form-row {
    position: relative;
    padding-top: 10px;
    /* Space for floating label */
}

/* Hide default label position */
.woocommerce form .form-row label {
    position: absolute;
    top: 26px;
    left: 20px;
    font-size: 1rem;
    color: #888;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 10;
    margin: 0;
    padding: 0 4px;
}

/* Input Styles for Float */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
    padding: 16px 18px 6px 18px;
    /* More padding bottom */
    height: 56px;
    border: 1px solid #d1d5db;
    background: #fff;
}

/* Float State (Focus or Has Value) - Using JS classes on parent */
.woocommerce form .form-row.is-focused label,
.woocommerce form .form-row.has-value label {
    top: 2px;
    left: 14px;
    font-size: 0.75rem;
    color: var(--brand-sage);
    font-weight: 700;
    background: #fff;
    /* Mask line behind */
    z-index: 20;
}

/* Ensure Login Form Labels specifically behave - FORCED OVERRIDE */
.woocommerce-form-login .form-row label,
.woocommerce-form-register .form-row label {
    top: 26px;
    /* Match generic start position */
    left: 20px;
    opacity: 1;
    /* Ensure visible */
}

.woocommerce-form-login .form-row.is-focused label,
.woocommerce-form-login .form-row.has-value label,
.woocommerce-form-register .form-row.is-focused label,
.woocommerce-form-register .form-row.has-value label {
    top: 2px !important;
    left: 14px !important;
    font-size: 0.75rem !important;
    background: #fff !important;
    z-index: 30 !important;
    opacity: 1 !important;
}

/* Fix for Selects (Always floated effectively) */
.woocommerce form .form-row select~label,
.woocommerce form .form-row.has-value select~label {
    /* Selects usually have values selected by default (country), so we keep it floated or assume title behavior */
    top: 2px !important;
    left: 14px !important;
    font-size: 0.75rem !important;
    background: #fff;
    z-index: 20;
}

/* 2. REIMAGINED ADDRESS CARDS ("Glass/Premium" Look) */
.woocommerce-Address {
    border: none !important;
    background: linear-gradient(145deg, #ffffff, #f9fafb) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.woocommerce-Address::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand-sage);
    opacity: 0;
    transition: opacity 0.3s;
}

.woocommerce-Address:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.woocommerce-Address:hover::before {
    opacity: 1;
}

/* Header Redesign */
.woocommerce-Address-title {
    background: transparent;
    border-bottom: 1px dashed #e5e7eb;
    padding: 25px 30px;
}

.woocommerce-Address-title h3 {
    font-size: 1.4rem !important;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111;
}

/* "Edit" Button as a Floating Action Pill */
.woocommerce-Address-title .edit {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: #eff6ff;
    /* Light blue/sage tint */
    color: var(--brand-dark);
    border: none;
    padding: 8px 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.woocommerce-Address-title .edit:hover {
    background: var(--brand-dark);
    color: #fff;
    box-shadow: 0 5px 15px rgba(47, 93, 80, 0.3);
    transform: translateY(-1px);
}

/* Content Body */
.woocommerce-Address address {
    padding: 30px;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.6;
}

/* 3. TACTILE "SAVE" BUTTONS */
.woocommerce-address-fields p button,
.woocommerce-EditAccountForm p button {
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-sage) 100%) !important;
    box-shadow: 0 4px 6px rgba(47, 93, 80, 0.2);
    border-radius: 12px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.woocommerce-address-fields p button:hover,
.woocommerce-EditAccountForm p button:hover {
    box-shadow: 0 10px 15px -3px rgba(47, 93, 80, 0.3);
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Clean up required stars */
.required {
    display: none !important;
    /* Minimal look, relying on HTML5 validation visual cues if needed, or JS */
}

/* ========================================
   PHASE 5: PREMIUM BANNER OVERHAUL
   ======================================== */

/* Target only the Custom My Account Page Template */
body.page-template-tpl-my-account .page-header {
    background-color: #ffffff !important;
    /* Force white over gray */
    background-image: linear-gradient(to bottom, #ffffff 0%, #fdfdfd 100%);
    padding: 80px 0 50px;
    /* Generous vertical spacing */
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration (optional aura) */
body.page-template-tpl-my-account .page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(122, 155, 142, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    /* Brand sage hint */
    pointer-events: none;
    z-index: 0;
}

body.page-template-tpl-my-account .page-header .page-title {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    /* Larger, hero-like title */
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -1px;
    margin: 0;
    padding-bottom: 15px;
}

/* Optional: Add a subtle underline element */
body.page-template-tpl-my-account .page-header .page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-sage);
    margin: 20px auto 0;
    border-radius: 2px;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    body.page-template-tpl-my-account .page-header {
        padding: 50px 0 30px;
        margin-bottom: 30px;
    }

    body.page-template-tpl-my-account .page-header .page-title {
        font-size: 2.5rem;
    }
}

/* ========================================
   PHASE 6: PREMIUM DOWNLOADS SECTION
   ======================================== */

/* 1. Downloads Page - Empty State Premium Styling */
.woocommerce-MyAccount-content .woocommerce-info,
.woocommerce-MyAccount-content .woocommerce-message {
    background: linear-gradient(135deg, rgba(122, 155, 142, 0.08) 0%, rgba(122, 155, 142, 0.04) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(122, 155, 142, 0.15);
    border-left: 3px solid var(--brand-sage);
    border-radius: 16px;
    padding: 35px 40px;
    margin-bottom: 30px;
    color: var(--brand-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.02),
        0 4px 12px rgba(122, 155, 142, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    position: relative;
    overflow: hidden;
    animation: slideInDown 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.woocommerce-MyAccount-content .woocommerce-info::before,
.woocommerce-MyAccount-content .woocommerce-message::before {
    content: '📦';
    font-size: 2.5rem;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
}

.woocommerce-MyAccount-content .woocommerce-info::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-sage) 0%, transparent 100%);
}

/* Button inside info/message box */
.woocommerce-MyAccount-content .woocommerce-info .button,
.woocommerce-MyAccount-content .woocommerce-message .button {
    margin-top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--brand-sage) 0%, #8ba89d 100%) !important;
    color: white !important;
    padding: 14px 32px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow:
        0 6px 18px rgba(122, 155, 142, 0.3),
        0 2px 8px rgba(122, 155, 142, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    text-decoration: none;
}

.woocommerce-MyAccount-content .woocommerce-info .button:hover,
.woocommerce-MyAccount-content .woocommerce-message .button:hover {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2d5d50 100%) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 30px rgba(47, 93, 80, 0.35),
        0 4px 12px rgba(47, 93, 80, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
}

/* 2. Downloads Table - Premium Styling (if downloads exist) */
.woocommerce-MyAccount-downloads {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 40px;
    border: 0.5px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.woocommerce-MyAccount-downloads thead {
    background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
}

.woocommerce-MyAccount-downloads th {
    text-align: left;
    padding: 20px 24px;
    color: var(--brand-dark);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    border-bottom: 1px solid rgba(122, 155, 142, 0.15);
}

.woocommerce-MyAccount-downloads td {
    padding: 20px 24px;
    border-bottom: 0.5px solid #f0f0f0;
    color: #555;
    font-size: 0.95rem;
    background: #fff;
    transition: background 0.2s;
}

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

.woocommerce-MyAccount-downloads tbody tr:hover td {
    background: rgba(122, 155, 142, 0.03);
}

/* Download button in table */
.woocommerce-MyAccount-downloads .download-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--brand-sage) 0%, #8ba89d 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(122, 155, 142, 0.15);
}

.woocommerce-MyAccount-downloads .download-file:hover {
    background: linear-gradient(135deg, var(--brand-dark) 0%, #2d5d50 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 93, 80, 0.2);
}

/* ========================================
   PHASE 7: ACCOUNT DETAILS FORM ENHANCEMENTS
   ======================================== */

/* ========================================
   ULTRA PREMIUM FIELDSET - PASSWORD SECTION
   ======================================== */

.woocommerce-EditAccountForm fieldset {
    background: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 48px 44px;
    margin-bottom: 44px;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.02),
        0 2px 8px rgba(0, 0, 0, 0.01),
        inset 0 0 0 1px rgba(122, 155, 142, 0.05);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.woocommerce-EditAccountForm fieldset:hover {
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.03),
        0 4px 16px rgba(122, 155, 142, 0.04),
        inset 0 0 0 1px rgba(122, 155, 142, 0.08);
    transform: translateY(-3px);
}

/* Elegant Top Accent Line */
.woocommerce-EditAccountForm fieldset::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-sage) 0%, #8ba89d 100%);
    border-radius: 20px 20px 0 0;
}

/* Premium Legend Badge */
.woocommerce-EditAccountForm legend {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 24px;
    color: var(--brand-dark);
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(122, 155, 142, 0.15);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    display: inline-block;
    transition: all 0.3s ease;
}

.woocommerce-EditAccountForm legend:hover {
    border-color: var(--brand-sage);
    box-shadow:
        0 4px 12px rgba(122, 155, 142, 0.12),
        0 2px 6px rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

/* 2. Form Row Spacing in Account Form */
.woocommerce-EditAccountForm .form-row {
    margin-bottom: 28px;
}

/* 3. Save Button Enhancement */
.woocommerce-EditAccountForm .woocommerce-Button {
    width: 100%;
    margin-top: 20px;
    padding: 18px !important;
    font-size: 1.1rem !important;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-sage) 100%) !important;
    box-shadow:
        0 8px 20px rgba(47, 93, 80, 0.25),
        0 4px 10px rgba(47, 93, 80, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    border-radius: 12px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    font-weight: 700 !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    background: linear-gradient(135deg, #1e4a3d 0%, var(--brand-dark) 100%) !important;
    box-shadow:
        0 12px 30px rgba(47, 93, 80, 0.35),
        0 6px 15px rgba(47, 93, 80, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 0 30px rgba(122, 155, 142, 0.2);
    transform: translateY(-3px) scale(1.01);
}

/* 4. Password Strength Indicator Enhancement */
.woocommerce-password-strength {
    margin-top: 12px;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s;
}

.woocommerce-password-strength.strong {
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.woocommerce-password-strength.good {
    background: rgba(139, 195, 74, 0.1);
    color: #558b2f;
    border: 1px solid rgba(139, 195, 74, 0.3);
}

.woocommerce-password-strength.medium {
    background: rgba(255, 152, 0, 0.1);
    color: #e65100;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.woocommerce-password-strength.weak,
.woocommerce-password-strength.short {
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

/* ========================================
   PHASE 8: FINAL POLISH & FIXES
   ======================================== */

/* 1. Language Switcher Height Fix */
.language-switcher__dropdown {
    z-index: 9999 !important;
    /* Force on top of everything */
}

/* 2. Global Premium Forms (Login & Register Scope) */
.woocommerce form .form-row,
.woocommerce-form-row {
    position: relative;
    margin-bottom: 20px;
}

/* Ensure Floating Labels work on Login/Register too */
.woocommerce form.login .form-row label,
.woocommerce form.register .form-row label {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 1rem;
    color: #888;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 10;
    margin: 0;
    padding: 0 4px;
}

.woocommerce form.login .form-row .input-text,
.woocommerce form.register .form-row .input-text {
    padding: 24px 18px 8px 18px !important;
    height: 56px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    font-size: 1rem;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Focus / Active State for Login/Register */
.woocommerce form.login .form-row .input-text:focus~label,
.woocommerce form.login .form-row .input-text:not(:placeholder-shown)~label,
.woocommerce form.register .form-row .input-text:focus~label,
.woocommerce form.register .form-row .input-text:not(:placeholder-shown)~label {
    top: 6px;
    left: 14px;
    font-size: 0.75rem;
    color: var(--brand-sage);
    font-weight: 700;
    background: #fff;
}

/* 3. LOGIN TABS STYLING (The "App Switcher" Look) */
.custom-login-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.login-tabs {
    display: flex;
    background: #f5f7fa;
    padding: 4px;
    margin: 20px 20px 0;
    border-radius: 14px;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #fff;
    color: var(--brand-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.login-panel {
    padding: 40px;
    display: none;
    animation: fadeIn 0.4s ease;
}

.login-panel.active {
    display: block;
}

.login-panel h2 {
    font-size: 1.8rem;
    color: var(--brand-dark);
    text-align: center;
    margin-bottom: 30px;
}

/* Social Login Separator */
.social-login-separator {
    text-align: center;
    margin-top: 30px;
    position: relative;
}

.social-login-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
}

.social-login-separator span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #999;
    font-size: 0.85rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   PHASE 7: RESPONSIVE FORMS & WIDTHS
   ======================================== */


/* 1. WIDER LOGIN CONTAINER - REMOVED */
/* Using ultra-premium design from lines 2890-3130 instead */


/* 2. ROBUST FLOATING LABELS (JS-BASED) */

/* Reset positioning for all known structures */
.woocommerce form .form-row {
    display: flex;
    flex-direction: column;
    position: relative;
    padding-top: 15px !important;
    /* Reserve space for label */
}

/* Force label to be absolute (EXCEPT checkbox labels) */
.woocommerce form .form-row label:not(.woocommerce-form__label-for-checkbox) {
    position: absolute;
    top: 26px;
    left: 20px;
    font-size: 1rem;
    color: #888;
    background: transparent;
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 20;
    margin: 0;
    padding: 0 4px;
    line-height: 1;
    width: auto;
}

/* The "Floated" State - Triggered by JS classes .has-value or .is-focused */
.woocommerce form .form-row.has-value label:not(.woocommerce-form__label-for-checkbox),
.woocommerce form .form-row.is-focused label:not(.woocommerce-form__label-for-checkbox) {
    top: 6px !important;
    left: 14px !important;
    font-size: 0.75rem !important;
    color: var(--brand-sage);
    font-weight: 700;
    background: #fff;
    z-index: 25;
}

/* Specific Fix for Login Button Row */
.woocommerce form .form-row:has(.woocommerce-form-login__submit),
.woocommerce form .form-row:has(#rememberme) {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 10px !important;
    flex-wrap: wrap;
    /* Safe wrapping for mobile */
    gap: 15px;
}

/* Mobile fallback if :has isn't fully supported or for older stacking */
@media (max-width: 480px) {
    .woocommerce form .form-row:has(.woocommerce-form-login__submit) {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .woocommerce-form-login__submit {
        width: 100%;
        margin-top: 10px;
    }
}

/* Fix Remember Me Label */
.woocommerce-form__label-for-checkbox {
    position: relative !important;
    cursor: pointer;
    font-size: 0.9rem !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: auto !important;
    left: 0 !important;
}

/* Adjust Input Padding to accommodate label */
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea,
.woocommerce-input-wrapper .input-text {
    padding: 24px 18px 8px 18px !important;
    height: 56px;
    min-height: 56px;
}

/* Specific Fix for Address Wrapper (Billing/Shipping) */
/* If label is sibling to .woocommerce-input-wrapper, we target it via parent .form-row */
.woocommerce-input-wrapper {
    width: 100%;
}

/* Ensure wrapper doesn't hide label if z-index issues arise */
.woocommerce-input-wrapper {
    z-index: 10;
}

/* Hide required asterisk as per premium request */
.required {
    display: none;
}

/* ========================================
   PHASE 7.5: REMOVED - Conflicting with ultra-premium design
   ======================================== */

/* Old rules removed - now using ultra-premium design from lines 2890-3130 */


/* 2. FIX PASSWORD FIELD OVERLAP & GREEN HOVER */
/* The toggle button was covering the whole input */
.woocommerce form .password-input {
    position: relative;
    display: block;
}

.woocommerce form .show-password-input {
    display: none !important;
    /* Hide WooCommerce default password toggle to prevent duplicate icons */
}

.woocommerce-password-strength {
    position: absolute !important;
    top: 50% !important;
    right: 15px !important;
    transform: translateY(-50%) !important;
    left: auto !important;
    width: 40px !important;
    height: 40px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 3. PREVENT LABEL/TEXT OVERLAP */
/* Hide default placeholders so they don't clash with floating labels */
.woocommerce form .form-row .input-text::placeholder,
.woocommerce form .form-row select::placeholder,
.woocommerce form .form-row textarea::placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Hide Select2 Placeholder to prevent clash with Floating Label */
.select2-container .select2-selection__placeholder {
    color: transparent !important;
    opacity: 0 !important;
}

/* Show placeholder ONLY if we want to (optional, but for now transparent is cleaner for floating labels) */
/* If we want the label to act as the placeholder, we keep the real placeholder hidden. */

/* Adjust Floated Label Position */

/* Adjust Floated Label Position */
.woocommerce form .form-row.has-value label,
.woocommerce form .form-row.is-focused label {
    top: 8px !important;
    /* Pushed down slightly to sit on border or just inside */
    left: 18px !important;
    font-size: 0.75rem !important;
    background: #fff;
    /* Mask line behind it */
    padding: 0 5px;
    z-index: 50 !important;
    /* Above everything */
    height: auto;
    line-height: 1;
}

/* 4. SELECT2 & DROPDOWN FIXES */
/* Ensure Select2 rendering doesn't hide label */
.select2-container--default .select2-selection--single {
    height: 56px !important;
    display: flex;
    align-items: center;
    padding-left: 10px;
    border: 1px solid #ddd;
    border-radius: 12px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 56px !important;
    padding-top: 10px !important;
    /* Make room for label */
}

/* Force label above Select2 */
.woocommerce form .form-row.has-value .select2-container+label,
.woocommerce form .form-row.has-value label {
    z-index: 100 !important;
}

/* Ensure Input Text has room */
.woocommerce form .form-row .input-text {
    padding-top: 24px !important;
    /* Room for label */
    padding-bottom: 8px !important;
}

/* 5. SPECIFIC FIX FOR SELECT2 OVERLAP */
/* Move label higher for dropdowns as they have different inner padding */
.woocommerce form .form-row.form-row-select.has-value label,
.woocommerce form .form-row.form-row-select.is-focused label {
    top: -2px !important;
    /* Move higher than standard inputs */
    left: 12px !important;
    background: linear-gradient(to bottom, transparent 50%, #fff 50%);
    /* Gradient mask if needed */
    background: #fff;
    padding: 0 4px;
}

/* ========================================
   HOMEPAGE RESTRUCTURING (NEW SECTIONS)
   ======================================== */

/* --- Hero Buttons --- */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.hero .btn {
    padding: 14px 28px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    font-weight: 700;
}

.hero .btn-primary {
    background-color: #99A878;
    color: white !important;
    border: 2px solid #99A878;
}

.hero .btn-primary:hover {
    background-color: #8a9a6a;
    border-color: #8a9a6a;
}

.hero .btn-secondary {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid white;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-color: white;
}

/* --- Plans Grid Structure --- */
.plans-grid-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.plan-category h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    width: 100%;
}

.plan-category h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 15px auto 0;
}

.plan-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Premium Card Modification */
.plan-card-modern.premium-card {
    border: 2px solid var(--accent-color);
    position: relative;
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

.btn-modern.filled {
    background: var(--brand-dark);
    color: white;
}

.btn-modern.filled:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- Upcoming Plans --- */
.upcoming-plans-section {
    text-align: center;
    margin-top: 20px;
}

.upcoming-plans-section h3 {
    margin-bottom: 40px;
    font-size: 1.8rem;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.upcoming-card {
    background: white;
    padding: 40px 20px;
    border: 1px dashed #ccc;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upcoming-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.upcoming-card h4 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 1.2rem;
}

.btn-notify {
    background: transparent;
    border: 1px solid var(--text-color);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-notify:hover {
    background: var(--brand-dark);
    color: white;
    border-color: var(--brand-dark);
}

/* ---/* Why E-meniu (previously .why-section) */
.why-emeniu {
    padding: 30px 0;
    /* Continue the gradient theme but slightly different to distinguish */
    background: radial-gradient(circle at center, #FDFBF7 0%, #FAF6F0 100%);
    position: relative;
    border-top: 1px solid rgba(74, 79, 65, 0.05);
}

.why-emeniu .category-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    color: #4A4F41;
    text-align: center;
    margin-bottom: 60px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 252, 245, 0) 50%, rgba(255, 252, 245, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

.why-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/card-footer-botanical-airy.png');
    background-size: cover;
    background-position: center;
    opacity: 0.85;
    /* Increased opacity as requested */
    z-index: 0;
    pointer-events: none;
    display: block;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(153, 168, 120, 0.12);
}

.why-card .why-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.why-card .why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    /* Sage Green Filter: Matches #5e7045 approx */
    filter: brightness(0) saturate(100%) invert(38%) sepia(13%) saturate(996%) hue-rotate(63deg) brightness(96%) contrast(89%);
    opacity: 1;
    mix-blend-mode: multiply;
}

/* Why Card Text Styling - Premium Enhancements */
.why-card h4 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    /* Slightly larger for clarity */
    color: #2C3328;
    /* Darker heading color for contrast */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.why-card p {
    font-size: 1rem;
    color: #555;
    /* Softer text color */
    line-height: 1.6;
    margin-bottom: 0;
}

/* New CTA Section Styling - Ultra Premium */
.why-cta {
    margin-top: 50px;
    /* Reduced separation */
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    padding: 40px 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(74, 79, 65, 0.05);
    /* Subtle shadow using brand color tone */
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
    /* Frosted glass effect */
    text-align: center;
    /* Entry animation */
    animation: fadeInUp 0.8s ease-out forwards;
}

.why-cta .cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2C3328;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.3;
}

.why-cta .btn-primary-v2 {
    padding: 18px 45px;
    font-size: 1.1rem;
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.25);
    /* Green shadow for button */
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.why-cta .btn-primary-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.35);
}

.why-card h4 {
    font-size: 1.45rem;
    margin-bottom: 10px;
    color: #3A4A30;
    font-family: 'DM Serif Display', serif;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.why-card p {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    padding: 0 10px;
    font-weight: 500;
}


/* --- About Me Section --- */
/* --- About Me Section --- */
.about-section {
    padding: 50px 0;
    background: #fff;
    /* Clean white background */
}

.about-wrapper {
    display: flex;
    align-items: stretch;
    /* Ensure equal height */
    gap: 60px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.about-content {
    flex: 1.2;
    /* Text takes slightly more space */
    min-width: 300px;
}

.about-image {
    flex: 0.8;
    /* Image takes slightly less */
    min-width: 280px;
    display: flex;
    /* Allow filling height */
    align-items: stretch;
}

.about-image img {
    width: 100%;
    height: 100%;
    /* Force height match */
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    /* Maintain aspect ratio */
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
    /* Justify text */
    margin-bottom: 20px;
}

/* Authority Checklist */
.about-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.about-checklist li {
    font-size: 1.05rem;
    font-weight: 600;
    /* Bold authority */
    color: #2C3328;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    display: flex;
    align-items: center;
}

.about-checklist li::before {
    content: "✔";
    color: #6F7F63;
    /* Sage Green Check */
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

/* Discrete CTA */
.btn-discrete-cta {
    display: inline-block;
    color: #6F7F63;
    /* Primary Theme Color */
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid #6F7F63;
    /* Underline style */
    padding-bottom: 2px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-discrete-cta:hover {
    color: #2C3328;
    border-color: #2C3328;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column-reverse;
        /* Text top on mobile, or bottom? usually Text first, Image second. But design asked "Text + Image". Let's stick to column Normal. */
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-text {
        text-align: left;
    }
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-text {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

.btn-text:hover {
    border-color: var(--accent-color);
}

/* --- Recipes Section --- */
/* --- Recipes Section --- */
.recipes-section {
    padding: 30px 0;
    background-color: #FFFCF5;
    /* Cream background to match theme */
    position: relative;
}

.section-top h2 {
    font-size: 2rem;
    color: #3A4A30;
    font-family: 'Merriweather', serif;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    font-family: 'Inter', sans-serif;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 30px;
    margin-bottom: 50px;
    max-width: 1200px;
    /* Align with other sections */
    margin-left: auto;
    margin-right: auto;
}

/* Responsive grid */
@media (max-width: 992px) {
    .recipes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Hide desktop filters and pagination on mobile */
    .recipes-filter,
    .pagination,
    .recipes-pagination {
        display: none !important;
    }

    .recipes-grid {
        display: flex !important;
        /* Override grid */
        grid-template-columns: none !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        gap: 16px;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        margin-right: -24px;
        /* Counteract container padding */
        padding-right: 24px;
        margin-left: -10px;
        /* Slight bleed left too */
        padding-left: 24px;
        /* Start padding */
    }

    .recipes-grid::-webkit-scrollbar {
        display: none;
    }

    .recipe-card {
        flex: 0 0 85% !important;
        width: 85% !important;
        max-width: 300px;
        /* Cap width */
        scroll-snap-align: center;
        margin-bottom: 0 !important;
        /* Remove bottom margin in carousel */
    }
}

.recipe-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(153, 168, 120, 0.15);
    /* Sage border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* ... existing code ... */

.btn-cta-plans {
    background-color: #6F7F63;
    color: #ffffff;
    padding: 16px 50px;
    border-radius: 8px;
    /* Greatly reduced radius */
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(111, 127, 99, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    animation: btnHeartbeat 3s infinite ease-in-out;
    /* Heartbeat animation */
}

.btn-cta-plans:hover {
    background-color: #5F6F56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 127, 99, 0.4);
    color: #ffffff !important;
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(153, 168, 120, 0.15);
    border-color: #99A878;
}

.recipe-img {
    height: 220px;
    background-color: var(--bg-section-unified);
    /* Placeholder bg */
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    position: relative;
}

.recipe-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.recipe-card:hover .recipe-img img {
    transform: scale(1.05);
}

/* Recipe Info - Column Layout */
.recipe-info {
    padding: 24px 25px;
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    flex-grow: 1;
    /* Ensure it fills height */
}

.recipe-info h4 {
    margin: 0;
    font-size: 1.2rem;
    /* Larger and cleaner */
    line-height: 1.3;
    font-weight: 700;
    color: #2C3328;
    font-family: 'DM Serif Display', serif;
    /* Beautiful Serif */
    width: 100%;
    min-height: 3.1em;
}

.recipe-info h4 a {
    color: #2C3328;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recipe-info h4 a:hover {
    color: #6F7F63;
}

/* Recipe Badge */
.recipe-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ffffff;
    color: #2C3328;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    /* Soft pill shape */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    font-family: 'Inter', sans-serif;
}

/* Card Button - Primary Style */
/* Card Button - Primary Style */
.btn-recipe-card {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 24px;
    background-color: #6F7F63;
    /* Primary Green */
    color: #ffffff !important;
    border-radius: 8px;
    /* Slightly rounded */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    /* Push to bottom if needed */
    width: 100%;
    align-self: stretch;
    /* Keep CTA aligned across cards */
    box-shadow: 0 4px 12px rgba(111, 127, 99, 0.2);
}

.btn-recipe-card:hover {
    background-color: #5F6F56;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(111, 127, 99, 0.3);
    color: #ffffff !important;
    text-decoration: none;
}

/* Bottom CTA Section */
.recipes-bottom-cta {
    background-color: #FDFBF7;
    border-radius: 20px;
    padding: 50px 30px;
    max-width: 650px;
    /* Constrained width */
    margin: 60px auto 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.recipes-bottom-cta .cta-question {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #2C3328;
    margin-bottom: 25px;
    line-height: 1.2;
}

.btn-cta-plans {
    background-color: #6F7F63;
    color: #ffffff;
    padding: 16px 45px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(111, 127, 99, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
    animation: premiumPulse 2.5s infinite;
    /* Pulse animation */
}

.btn-cta-plans:hover {
    background-color: #5F6F56;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 127, 99, 0.4);
    color: #ffffff !important;
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
}

.faq-answer {
    display: none;
    padding-top: 15px;
    color: #666;
}

.faq-item:hover .faq-answer {
    display: block;
}

/* --- Responsive Adjustments for New Sections --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-wrapper {
        flex-direction: column-reverse;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }
}

/* === Premium Plan Cards Design (Revamped) === */

.active-plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.upcoming-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.plan-card-screenshot {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    /* Softer, floating shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Apple-like ease */
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
    /* Subtle definition */
    height: 100%;
}

.plan-card-screenshot:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
    /* Lift effect */
}

.card-image-area {
    height: 250px;
    /* Taller image area */
    background-size: cover;
    background-position: center;
    width: 100%;
    position: relative;
}

/* Gradient overlay on image for better text contrast if needed */
.card-image-area::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.05), transparent);
}

.card-content-area {
    padding: 35px;
    /* More breathing room */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-content-area h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    /* Tighter, cleaner title */
    color: #2c3e50;
}

.plan-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* === Refined Pricing Block === */
.pricing-row-dual {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
    border-top: 1px solid #f0f0f0;
    /* Subtle divider instead of box background */
    padding-top: 20px;
}

.price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align */
}

.p-label {
    font-size: 0.75rem;
    color: #a0a0a0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
}

.p-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #333;
    font-family: 'Inter', sans-serif;
    /* Ensure modern font */
}

/* === Premium Buttons === */
.action-buttons-dual {
    display: flex;
    gap: 15px;
}

.action-buttons-dual .btn {
    flex: 1;
    padding: 14px 20px;
    /* Slightly plumper buttons */
    font-size: 0.95rem;
    border-radius: 12px;
    /* Smooth rounded rects */
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Primary Button (Sage Green) */
.btn-buy-now {
    background: #99A878;
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(153, 168, 120, 0.3);
    /* Colored shadow match */
}

.btn-buy-now:hover {
    background: #839165;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(131, 145, 101, 0.4);
}

/* Secondary Button (Outline) */
.btn-view-details {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: #777;
}

.btn-view-details:hover {
    border-color: #99A878;
    color: #99A878;
    background: transparent;
}

/* Arrow animation for details button */
.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover i {
    transform: translateX(4px);
}


/* === Coming Soon Styles === */
.coming-soon-card .card-image-area {
    filter: grayscale(100%);
    position: relative;
}

.coming-soon-card .card-image-area::after {
    content: "COMING SOON";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 18px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: auto;
    height: auto;
}

.coming-soon-card h3 {
    color: #aaa !important;
}

.btn-notify-full {
    width: 100%;
    background: #f5f5f5;
    color: #888;
    border: none !important;
    justify-content: center;
    margin-top: auto;
    box-shadow: none;
}

.btn-notify-full:hover {
    background: #e0e0e0;
    color: #666;
    transform: none;
}

@media (max-width: 992px) {

    .active-plans-grid,
    .upcoming-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Refined Plans Section Typography
   ======================================== */

.plans-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.plans-section .section-header,
.recipes-section .section-header {
    margin-bottom: 70px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.plans-section .section-title,
.recipes-section .section-title {
    font-size: 3rem;
    /* Larger, clearer */
    font-weight: 800;
    color: var(--primary-color, #2c3e50);
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.plans-section .section-subtitle,
.recipes-section .section-subtitle {
    font-size: 1.25rem;
    color: #666;
    font-weight: 400;
    margin-top: 0;
    opacity: 0.9;
}

/* Category Titles (Planuri Active, In Curand) */
.category-title {
    text-align: center;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: var(--primary-color, #333);
    margin-bottom: 50px !important;
    position: relative;
    padding-bottom: 20px;
    display: table;
    margin-left: auto;
    margin-right: auto;
    width: auto;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #99A878;
    /* Sage Green */
    border-radius: 2px;
}

/* Spacing adjustments */
.upcoming-plans-section {
    margin-top: 80px;
    padding-top: 40px;
}

/* ========================================
   FAQ SECTION STYLES
   ======================================== */
/* ========================================
   FAQ SECTION STYLES
   ======================================== */
.faq-section {
    padding: 30px 0;
    /* Standardized to 100px */
    margin-bottom: 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 25px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h4 {
    font-size: 1.15rem;
    color: #1a1a1a;
    font-weight: 700;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #99A878;
    /* Sage Green */
    font-weight: 400;
    line-height: 1;
}

.faq-answer {
    display: none;
    padding-top: 15px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

.text-center {
    text-align: center;
    margin-top: 32px;
}

/* --- Active Plans Split Section --- */
.plans-split-section {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    /* Spacing from banner */
    padding-bottom: 100px;
    /* Standardized */
}

.plans-split-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.plans-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.plans-section-header .section-title {
    font-size: 3rem;
    /* Increased size to match Comparison title */
    margin-bottom: 20px;
}

.plans-section-header .section-subtitle {
    font-size: 1.25rem;
    /* Increased size */
    opacity: 0.9;
}

.plan-pair-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
    justify-content: center;
}

.plan-split-card {
    background: #FFFFFF;
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    border-radius: 8px;
    /* Slightly squarer as per screenshot */
    padding: 40px 35px;
    box-shadow: 0 5px 20px rgba(74, 79, 65, 0.08);
    /* Soft shadow */
    position: relative;
    border: 1px solid rgba(74, 79, 65, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-split-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(74, 79, 65, 0.12);
}

/* Specific Border/Bg nuances if needed */
.premium-card {
    background-color: #FAF9F6;
    /* Very subtle difference if desired, or keep white */
}

/* Badge */
.plan-badge-best {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #8C9975;
    /* Sage Green */
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 18px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 8px;
    /* Match card corner */
    text-transform: none;
    /* As per screenshot "Cel mai ales" */
}

/* Typography */
.plan-title {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: var(--color-brand-sage);
    /* Dark Olive */
    margin-bottom: 12px;
}

.plan-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text-body-green);
    margin-bottom: 30px;
    min-height: 48px;
    /* Align content */
}

/* Features List */
.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
    /* Push footer down */
}

.plan-features-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #4A4F41;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

.plan-features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: #6F7F63;
    /* Dark Green check */
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer / Price / Actions */
.plan-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.plan-price {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: #2F3329;
}

.btn-split-basic,
.btn-split-premium {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-split-basic {
    background-color: #6F7F63;
    /* Sage Green */
    color: #fff;
    border: 1px solid #6F7F63;
}

.btn-split-basic:hover {
    background-color: #5F6F56;
    border-color: #5F6F56;
    color: #fff !important;
}

.btn-split-premium {
    background-color: #6F7F63;
    color: #fff;
    border: 1px solid #6F7F63;
}

.btn-split-premium:hover {
    background-color: #5F6F56;
    color: #fff !important;
}

.link-example {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    text-decoration: underline;
    font-family: 'Inter', sans-serif;
}

.link-example:hover {
    color: #3A3F33;
}

/* --- Unified Chromatics for Sections --- */
.plans-split-section,
.plan-comparison-section,
.how-it-works-section,
.why-emeniu,
.about-section,
.recipes-section,
.faq-section,
.contact-modern {
    display: block;
    background: transparent;
    /* Let body background show through */
    color: var(--text-body-green);
    position: relative;
}

/* Testimonials Section Styling */
.testimonials-section {
    padding: 60px 0;
    /* Increased from 60px */
    /* Transparent background to show global sage bokeh */
}

.testimonials-section .section-title {
    margin-bottom: 80px !important;
    /* Specific spacing request */
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.85);
    /* Glass effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-warm);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.client-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    margin-right: 20px;
    overflow: hidden;
    border: 3px solid var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.client-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    margin: 0;
    padding: 0;
}

.client-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-heading-unified);
    font-family: 'DM Serif Display', serif;
}

.client-location {
    font-size: 0.85rem;
    color: #666;
    display: block;
    margin-bottom: 4px;
}

.client-rating {
    color: #FFB400;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.6;
}

/* Mobile Testimonials Carousel Override */
@media (max-width: 768px) {
    .testimonials-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 30px;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox hide scrollbar */
        /* Bleed edge-to-edge on mobile */
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 40px;
        /* Extra padding at the end so the last card doesn't stick to the edge */
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
        /* Safari/Chrome hide scrollbar */
    }

    .testimonials-grid .testimonial-card {
        flex: 0 0 85%;
        /* Take up 85% of viewport width */
        max-width: 320px;
        scroll-snap-align: center;
        /* Align to center for 85% width */
        height: auto;
        transform: scale(0.98);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .testimonials-grid .testimonial-card:first-child {
        transform: scale(1);
    }
}

/* Unified Typography for these sections */
.plans-split-section h1,
.plans-split-section h2,
.plans-split-section h3,
.plan-comparison-section h1,
.plan-comparison-section h2,
.plan-comparison-section h3,
.how-it-works-section h1,
.how-it-works-section h2,
.how-it-works-section h3,
.why-emeniu h1,
.why-emeniu h2,
.why-emeniu h3,
.why-emeniu h4,
.about-section h1,
.about-section h2,
.about-section h3,
.testimonials-section h1,
.testimonials-section h2,
.testimonials-section h3,
.testimonials-section h4,
.recipes-section h1,
.recipes-section h2,
.recipes-section h3,
.recipes-section h4,
.faq-section h1,
.faq-section h2,
.faq-section h3,
.faq-section h4,
.contact-modern h1,
.contact-modern h2,
.contact-modern h3 {
    color: var(--color-heading-unified) !important;
    font-family: 'DM Serif Display', serif;
}

/* Force consistent sizing for Section Titles */
.plans-split-section .plan-title,
/* Exception: Card titles are smaller, but main title is .section-title handled above */
.plans-section-header .section-title,
.plan-comparison-section .section-title,
.how-it-works-section .section-title,
.why-emeniu .category-title,
.about-section h2,
.recipes-section .section-top h2,
.faq-list h2,
.contact-modern h2 {
    font-size: 3rem !important;
}

/* Keep body text 'Inter' */
.plans-split-section p,
.plan-comparison-section p,
.how-it-works-section p,
.why-emeniu p,
.about-section p,
.recipes-section p,
.faq-section p,
.contact-modern p {
    font-family: 'Inter', sans-serif;
    color: var(--text-body-green);
}

/* Responsive */
@media (max-width: 850px) {
    .plan-pair-container {
        flex-direction: column;
        align-items: center;
    }

    .plan-split-card {
        width: 100%;
        max-width: 400px;
    }
}

/* ============================================
   LEGAL PAGES STYLES (Privacy Policy, Terms)
   ============================================ */

/* Remove sticky header on legal pages */
.legal-page header.site-header,
body.page-template-page-politica-cookies header.site-header,
body.page-template-page-privacy-policy header.site-header,
body.page-template-page-terms-and-conditions header.site-header {
    position: relative !important;
}

/* Clean minimal design */
.legal-page {
    background: #F8F8F6;
    min-height: 100vh;
}

/* Remove sticky header on legal pages */
.legal-page header.site-header {
    position: relative !important;
}

.legal-content {
    max-width: 800px;
    margin: 40px auto 80px;
    padding: 60px 70px 80px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.legal-content .legal-page-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: #2C3328;
    margin: 0 0 10px 0;
    font-weight: 400;
    line-height: 1.3;
}

.legal-content .legal-page-meta {
    font-size: 0.9rem;
    color: #8C9485;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #E8E6E1;
}

.legal-content .legal-page-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legal-content .legal-page-meta svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.legal-intro {
    background: #F9F8F5;
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 3px solid #6F7F63;
    margin-bottom: 40px;
}

.legal-intro p {
    font-size: 1rem;
    line-height: 1.75;
    color: #5D6156;
    margin: 0;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid #E6E2D8;
}

.legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.legal-section h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: #2C3328;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: -0.3px;
}

.legal-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #4A4F41;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #5D6156;
    margin-bottom: 20px;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.legal-section ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5D6156;
}

.legal-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #2E7D32;
    font-weight: 700;
    font-size: 1.2rem;
}

.legal-section ol {
    margin: 20px 0;
    padding-left: 0;
    counter-reset: legal-counter;
    list-style: none;
}

.legal-section ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #5D6156;
    counter-increment: legal-counter;
}

.legal-section ol li::before {
    content: counter(legal-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: #6F7F63;
    font-weight: 700;
    font-size: 1.1rem;
}

.legal-section a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.legal-section a:hover {
    color: #2E7D32;
    border-bottom-color: #2E7D32;
}

.legal-section strong {
    color: #2C3328;
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .legal-content {
        padding: 40px 25px 50px;
        margin: 20px 15px 60px;
        border-radius: 12px;
    }

    .legal-content .legal-page-title {
        font-size: 1.7rem;
    }

    .legal-content .legal-page-meta {
        margin-bottom: 30px;
        padding-bottom: 25px;
    }

    .legal-intro {
        padding: 20px;
    }

    .legal-intro p {
        font-size: 0.95rem;
    }

    .legal-section {
        margin-bottom: 35px;
        padding-bottom: 30px;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.1rem;
    }

    .legal-section p,
    .legal-section ul li,
    .legal-section ol li {
        font-size: 0.95rem;
    }
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 24px 30px;
    box-shadow: 0 -4px 20px rgba(44, 51, 40, 0.15);
    z-index: 9999;
    display: none;
    border-top: 3px solid #6F7F63;
    animation: slideUp 0.4s ease-out;
}

.cookie-consent-banner.is-visible {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4A4F41;
    margin: 0;
}

.cookie-consent-text a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.cookie-consent-text a:hover {
    border-bottom-color: #2E7D32;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.cookie-consent-btn.accept {
    background: #6F7F63;
    color: #FFFFFF;
}

.cookie-consent-btn.accept:hover {
    background: #5A6B50;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(111, 127, 99, 0.3);
}

.cookie-consent-btn.reject {
    background: transparent;
    color: #5D6156;
    border: 2px solid #D1CCC2;
}

.cookie-consent-btn.reject:hover {
    border-color: #8C9485;
    color: #2C3328;
}

.cookie-consent-btn.settings {
    background: transparent;
    color: #6F7F63;
    border: 2px solid #6F7F63;
}

.cookie-consent-btn.settings:hover {
    background: #F9F7F2;
}

@media (max-width: 768px) {
    .cookie-consent-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .cookie-consent-actions {
        width: 100%;
        justify-content: center;
    }

    .cookie-consent-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* ========================================
   LOGIN FORM FLEXBOX REORDERING
   ======================================== */

/* Main login form container - use flexbox for reordering */
form.login-form-flex {
    display: flex !important;
    flex-direction: column !important;
}

/* Username field - order 1 */
.login-field-username {
    order: 1 !important;
    margin-bottom: 8px !important;
}

/* Password field - order 2 */
.login-field-password {
    order: 2 !important;
    margin-bottom: 8px !important;
}

/* Remember me checkbox - order 3 */
.login-remember-container {
    order: 3 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Submit button (Autentificare) - order 4 */
.login-submit-container {
    order: 4 !important;
    margin-bottom: 12px !important;
}

/* Forgot password link - order 5 (right after submit button) */
.login-lost-password-container {
    order: 5 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

/* Social Login Section - order 6 */
.heateor_sl_outer_login_container {
    order: 6 !important;
    margin: 0 0 24px 0 !important;
    clear: both !important;
}

/* "Or continue with" separator - order 7 */
.login-separator-container {
    order: 7 !important;
    display: none !important;
    /* Hide since we have separator in social login */
}

/* ========================================
   SOCIAL LOGIN STYLING
   ======================================== */

/* Add elegant separator line before social login */
.heateor_sl_outer_login_container::before {
    content: "";
    display: block !important;
    width: 100% !important;
    height: 1px !important;
    background: linear-gradient(to right, transparent, #e0e0e0 20%, #e0e0e0 80%, transparent) !important;
    margin: 0 0 20px 0 !important;
}

/* Style the title "Sau continua cu google" */
.heateor_sl_title {
    font-family: 'Inter', sans-serif !important;
    font-size: 18px !important;
    color: #8a9b7a !important;
    margin-bottom: 14px !important;
    text-align: center !important;
    display: block !important;
    font-weight: 400 !important;
}

/* Container for login icons */
.heateor_sl_login_container {
    margin: 0 !important;
    text-align: center !important;
}

/* Individual login icon list */
.heateor_sl_login_ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.heateor_sl_login_ul li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
/* ========================================
   GOOGLE BUTTON - ULTRA-SPECIFIC OVERRIDES
   Force circular design over Heateor inline styles
   ======================================== */

/* Ultra-specific selectors to override inline styles */
.heateor_sl_login_ul li i.heateorSiLoginBtn,
.heateor_sl_login_ul li .heateorSiLoginBtn,
i.heateorSiLoginBtn.heateorSiGoogleBackground,
li i.heateorSiLoginBtn {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    border-radius: 50% !important;
    border: none !important;
    border-width: 0px !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #fafbf9 100%) !important;
}

/* Force remove any Heateor background images */
.heateor_sl_login_ul li i.heateorSiLoginBtn.heateorSiGoogleBackground,
i.heateorSiLoginBtn.heateorSiGoogleBackground {
    background: linear-gradient(135deg, #ffffff 0%, #fafbf9 100%) !important;
    background-color: #ffffff !important;
}

/* ========================================
   GOOGLE BUTTON - ENHANCED DESIGN
   ======================================== */

.heateorSiLoginBtn,
i.theChampLogin,
i.theChampLoginButton {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    padding: 18px !important;
    background: linear-gradient(135deg, #ffffff 0%, #fafbf9 100%) !important;
    border: none !important;
    border-radius: 50% !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    outline: none !important;
    box-shadow: 0 4px 16px rgba(107, 124, 93, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 -2px 4px rgba(0, 0, 0, 0.02) !important;
    position: relative !important;
}

/* Remove any default Heateor styles */
.heateorSiLoginBtn {
    background-color: #ffffff !important;
    background-image: none !important;
}

/* Hover state - ultra-premium elevation */
.heateorSiLoginBtn:hover,
i.theChampLogin:hover,
i.theChampLoginButton:hover {
    box-shadow: 0 12px 32px rgba(107, 124, 93, 0.2),
        0 6px 16px rgba(107, 124, 93, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 -2px 6px rgba(107, 124, 93, 0.08) !important;
    transform: translateY(-4px) scale(1.05) !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0f4ed 100%) !important;
}

/* Active/pressed state - tactile feedback */
.heateorSiLoginBtn:active {
    transform: translateY(-1px) scale(0.95) !important;
    box-shadow: 0 4px 12px rgba(107, 124, 93, 0.15),
        inset 0 2px 8px rgba(107, 124, 93, 0.12) !important;
    transition: all 0.1s ease !important;
}

/* Google icon inside button */
.heateorSiLoginBtn img,
.theChampLogin img,
.theChampLoginButton img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.12)) !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

/* Icon hover animation */
.heateorSiLoginBtn:hover img,
.theChampLogin:hover img,
.theChampLoginButton:hover img {
    transform: scale(1.1) rotate(5deg) !important;
}

/* Remove blue border/outline */
.heateorSiLoginBtn:focus,
.heateorSiLoginBtn:active {
    outline: none !important;
    border-color: #6b7c5d !important;
}

/* Google background override */
.heateorSiGoogleBackground,
.heateorSiLoginBtn.heateorSiGoogleBackground {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 480px) {

    .heateorSiLoginBtn,
    i.theChampLogin,
    i.theChampLoginButton {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        min-height: 64px !important;
        padding: 16px !important;
        border-radius: 50% !important;
    }

    .heateorSiLoginBtn img,
    .theChampLogin img,
    .theChampLoginButton img {
        width: 32px !important;
        height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
}

/* ========================================
   GOOGLE BUTTON - ULTRA-SPECIFIC OVERRIDES
   Force circular design over Heateor inline styles
   ======================================== */

/* Ultra-specific selectors to override inline styles */
.heateor_sl_login_ul li i.heateorSiLoginBtn,
.heateor_sl_login_ul li .heateorSiLoginBtn,
i.heateorSiLoginBtn.heateorSiGoogleBackground,
li i.heateorSiLoginBtn {
    width: 72px !important;
    height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    border-radius: 50% !important;
    border: none !important;
    border-width: 0px !important;
    border-style: none !important;
    background-image: linear-gradient(135deg, #ffffff 0%, #fafbf9 100%) !important;
}

/* Force remove any Heateor background images */
.heateor_sl_login_ul li i.heateorSiLoginBtn.heateorSiGoogleBackground,
i.heateorSiLoginBtn.heateorSiGoogleBackground {
    background: linear-gradient(135deg, #ffffff 0%, #fafbf9 100%) !important;
    background-color: #ffffff !important;
}

/* Force circular on hover */
.heateor_sl_login_ul li i.heateorSiLoginBtn:hover,
.heateor_sl_login_ul li .heateorSiLoginBtn:hover,
i.heateorSiLoginBtn.heateorSiGoogleBackground:hover {
    border-radius: 50% !important;
    border: none !important;
}

/* --- Pricing Plans Section - Reimagined Botanical Luxury --- */
.pricing-plans-section {
    padding: 100px 0 120px;
    background: linear-gradient(180deg, #fdfbf7 0%, #f8f4ed 50%, #fdfbf7 100%);
    max-width: 100%;
    margin: 0;
    position: relative;
    overflow: hidden;
}

/* Organic background blobs */
.pricing-plans-section::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(111, 127, 99, 0.07) 0%, transparent 70%);
    border-radius: 60% 40% 55% 45%;
    top: -100px;
    left: -80px;
    animation: floatBlobHome 18s ease-in-out infinite;
    z-index: 0;
}

.pricing-plans-section::after {
    content: '';
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    border-radius: 45% 55% 40% 60%;
    bottom: -80px;
    right: -60px;
    animation: floatBlobHome 14s ease-in-out infinite reverse;
    z-index: 0;
}

@keyframes floatBlobHome {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(15px, -12px) rotate(4deg);
    }

    66% {
        transform: translate(-8px, 8px) rotate(-2deg);
    }
}

.pricing-plans-section .container {
    position: relative;
    z-index: 2;
}

.pricing-plans-section .section-title {
    margin-bottom: 50px;
}

.pricing-plans-section .category-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.8rem;
    background: linear-gradient(135deg, #3a4b35 0%, #5d7052 50%, #4a5c40 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
    align-items: stretch;
}

/* Card base - Glassmorphism botanical */
.pricing-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 44px 36px;
    box-shadow:
        0 4px 24px rgba(111, 127, 99, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible;
}

/* Subtle inner glow */
.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 24px 56px rgba(111, 127, 99, 0.16),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Basic card specific */
.pricing-card.basic-card {
    background: rgba(255, 255, 255, 0.82);
}

/* Premium card - elevated treatment */
.pricing-card.premium-card {
    background: linear-gradient(165deg, #fefefe 0%, #faf8f5 100%);
    border: 2px solid rgba(111, 127, 99, 0.22);
    box-shadow:
        0 8px 40px rgba(111, 127, 99, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    animation: none;
    z-index: 2;
}

/* Premium glow border on hover */
.pricing-card.premium-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(111, 127, 99, 0.3) 0%, rgba(212, 175, 55, 0.12) 50%, rgba(111, 127, 99, 0.2) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-card.premium-card:hover::after {
    opacity: 1;
}

/* Badge - Floating botanical leaf style */
.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #5d7052 0%, #6F7F63 50%, #7a8a68 100%);
    color: #fff;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow:
        0 6px 20px rgba(93, 112, 82, 0.35),
        0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.popular-badge::before {
    content: '★';
    font-size: 0.85em;
}

/* Typography - Premium feel */
.plan-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.2rem;
    color: #3a4b35;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.pricing-card.premium-card .plan-title {
    background: linear-gradient(135deg, #3a4b35 0%, #5d7052 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.plan-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #5a6a5a;
    margin-bottom: 28px;
    font-weight: 500;
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

/* Features list - Refined treatment */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.plan-features li {
    font-size: 1rem;
    color: #4a5c40;
    margin-bottom: 14px;
    padding-left: 32px;
    position: relative;
    line-height: 1.5;
    font-weight: 500;
    transition: all 0.3s ease;
}

.plan-features li:hover {
    padding-left: 36px;
    color: #3a4b35;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #6F7F63 0%, #5d7052 100%);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(111, 127, 99, 0.25);
    transition: transform 0.3s ease;
}

.plan-features li:hover::before {
    transform: scale(1.1);
}

.plan-action {
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

/* CTA Buttons - Distinctive luxury styling */
.btn-pricing-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f7f5f2 0%, #ece8e1 100%);
    color: #4a5c40 !important;
    text-decoration: none !important;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(111, 127, 99, 0.15);
    position: relative;
    overflow: hidden;
}

.btn-pricing-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-pricing-primary:hover::before {
    left: 100%;
}

.btn-pricing-primary:hover {
    background: linear-gradient(135deg, #fff 0%, #f7f5f2 100%);
    border-color: #6F7F63;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(111, 127, 99, 0.18);
    color: #3a4b35 !important;
}

/* Premium button - Full sage treatment */
.pricing-card.premium-card .btn-pricing-primary {
    background: linear-gradient(135deg, #5d7052 0%, #6F7F63 50%, #7a8a68 100%);
    color: #fff !important;
    border: 2px solid transparent;
    box-shadow:
        0 8px 28px rgba(93, 112, 82, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.pricing-card.premium-card .btn-pricing-primary:hover {
    background: linear-gradient(135deg, #4a5c40 0%, #5d7052 50%, #6F7F63 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 36px rgba(93, 112, 82, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: #fff !important;
}

/* Footer & Disclaimer */
.pricing-footer {
    margin-top: 48px;
}

.pricing-footer .preview-link {
    background: rgba(93, 112, 82, 0.08);
    border: 2px solid rgba(93, 112, 82, 0.25);
    color: #5d7052;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 50px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.pricing-footer .preview-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.pricing-footer .preview-link:hover::before {
    left: 100%;
}

.pricing-footer .preview-link::after {
    content: '👀';
    font-size: 0.9em;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.pricing-footer .preview-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.pricing-footer .preview-link:hover {
    background: rgba(93, 112, 82, 0.15);
    border-color: rgba(93, 112, 82, 0.4);
    color: #4a5c40;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(93, 112, 82, 0.2);
}

.pricing-footer .disclaimer-text {
    font-size: 0.9rem;
    color: #6a7a5a;
    opacity: 0.85;
    margin-top: 12px;
}

/* Responsive - Mobile first Premium */
@media (max-width: 768px) {
    .pricing-plans-section {
        padding: 80px 0 100px;
    }

    .pricing-plans-section .category-title {
        font-size: 2.2rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 0 16px;
        max-width: 420px;
    }

    .pricing-card {
        padding: 36px 28px;
    }

    .pricing-card.premium-card {
        order: -1;
        /* Premium first on mobile */
        margin-top: 8px;
    }

    .popular-badge {
        font-size: 0.68rem;
        padding: 8px 18px;
    }

    .plan-title {
        font-size: 1.85rem;
    }
}

/* --- Trust Bar Styling --- */
.trust-bar {
    background-color: #E9E4D9;
    /* Beige/Sand from palette */
    padding: 20px 0;
    margin-top: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 200px;
    /* Responsive flex basis */
    justify-content: center;
}

.trust-icon {
    color: #2F3A2F;
    font-size: 1.2rem;
    font-weight: bold;
}

.trust-text {
    font-size: 0.95rem;
    color: #2F3A2F;
    font-weight: 600;
}

/* --- Premium Footer Styling --- */
.footer-premium.dark-footer {
    background-color: #0F2A1B;
    color: #FFFFFF;
    padding-top: 50px;
}

.footer-premium .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    /* 4 columns setup */
    gap: 40px;
    margin-bottom: 20px;
}

.footer-col h4.footer-heading {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'DM Serif Display', serif;
}

/* Brand Column */
.footer-logo .brand-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.8rem;
    color: #FFFFFF;
    display: block;
    margin-bottom: 15px;
}

.footer-desc {
    color: #E8F3EA;
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-contact a {
    color: #E8F3EA;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #FFFFFF;
    text-decoration: underline;
    opacity: 1;
}

/* Contact Column */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #5F6F56;
    transform: translateY(-3px);
}

/* Legal Bar (Above Bottom) */
.footer-legal-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    text-align: center;
}

.footer-legal-bar .legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.footer-legal-bar .legal-links a {
    color: #E8F3EA;
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.7;
}

.footer-legal-bar .legal-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    text-align: center;
}

.footer-disclaimer p {
    font-size: 0.8rem;
    color: rgba(232, 243, 234, 0.6);
    margin-bottom: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-items {
        justify-content: flex-start;
    }

    .footer-legal-bar .legal-links {
        flex-direction: column;
        gap: 10px;
    }
}

.background-position {
    background-position-y: center;
}

/* Force Trust Bar Color Revert - Appending to override safely */
.trust-bar {
    background-color: #E8F3EA !important;
}

/* CTA Subtitle Width Adjustment for Large Screens */
@media (min-width: 992px) {
    .cta-subtitle {
        width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* CTA Subtitle Width Adjustment for Large Screens */
@media (min-width: 992px) {
    .cta-subtitle {
        width: 760px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Contact Form Compact Spacing */
.contact-form-modern .form-group {
    margin-bottom: 15px !important;
}

.contact-form-modern label {
    margin-bottom: 6px !important;
    display: block;
}

.contact-form-modern .form-check {
    margin-bottom: 20px !important;
}

/* ========================================
   KOALA UI INSPIRED - ACCOUNT DETAILS
   Two-column layout with icon labels
   ======================================== */

/* Clean fieldset - remove heavy styling */
.woocommerce-EditAccountForm fieldset {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 40px 0 !important;
    margin-bottom: 40px !important;
    box-shadow: none !important;
    border-bottom: 1px solid #e8e8e8 !important;
}

.woocommerce-EditAccountForm fieldset:last-of-type {
    border-bottom: none !important;
}

.woocommerce-EditAccountForm fieldset:hover {
    box-shadow: none !important;
    transform: none !important;
}

.woocommerce-EditAccountForm fieldset::before {
    display: none !important;
}

/* Section Headers - Clean and Simple */
.woocommerce-EditAccountForm legend {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    padding: 0 !important;
    margin-bottom: 32px !important;
    color: #2c3e2e !important;
    letter-spacing: -0.3px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: block !important;
    width: 100% !important;
}

.woocommerce-EditAccountForm legend:hover {
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Two-Column Grid Layout */
.woocommerce-EditAccountForm .form-row {
    display: grid !important;
    grid-template-columns: 200px 1fr !important;
    gap: 24px !important;
    align-items: center !important;
    margin-bottom: 24px !important;
    padding: 16px 0 !important;
}

/* Helper text styling */
.woocommerce-EditAccountForm .description {
    font-style: italic !important;
    font-size: 0.9rem !important;
    color: #888 !important;
    grid-column: 2 !important;
    /* Move to second column */
    margin-top: -10px !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
}

/* Label with Icon */
.woocommerce-EditAccountForm .form-row label {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: #555 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 100% !important;
    /* Center vertically */
}

/* Icons before labels */
.woocommerce-EditAccountForm .form-row label::before {
    content: '' !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    opacity: 0.7 !important;
    flex-shrink: 0 !important;
}

/* User icon for name fields */
.woocommerce-EditAccountForm .form-row-first label[for="account_first_name"]::before,
.woocommerce-EditAccountForm .form-row-last label[for="account_last_name"]::before,
.woocommerce-EditAccountForm label[for="account_display_name"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236F7F63" stroke-width="2"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"></path><circle cx="12" cy="7" r="4"></circle></svg>') !important;
}

/* Email icon */
.woocommerce-EditAccountForm label[for="account_email"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236F7F63" stroke-width="2"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"></path><polyline points="22,6 12,13 2,6"></polyline></svg>') !important;
}

/* Lock icon for passwords */
.woocommerce-EditAccountForm label[for="password_current"]::before,
.woocommerce-EditAccountForm label[for="password_1"]::before,
.woocommerce-EditAccountForm label[for="password_2"]::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%236F7F63" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"></rect><path d="M7 11V7a5 5 0 0 1 10 0v4"></path></svg>') !important;
}

/* Clean Input Styling */
.woocommerce-EditAccountForm .woocommerce-Input,
.woocommerce-EditAccountForm input[type="text"],
.woocommerce-EditAccountForm input[type="email"],
.woocommerce-EditAccountForm input[type="password"] {
    width: 100% !important;
    padding: 12px 16px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    background: #fafafa !important;
    font-size: 0.95rem !important;
    color: #333 !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

.woocommerce-EditAccountForm .woocommerce-Input:focus,
.woocommerce-EditAccountForm input[type="text"]:focus,
.woocommerce-EditAccountForm input[type="email"]:focus,
.woocommerce-EditAccountForm input[type="password"]:focus {
    border-color: #6F7F63 !important;
    background: #fff !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(111, 127, 99, 0.1) !important;
    transform: none !important;
}

/* Save Button */
.woocommerce-EditAccountForm .woocommerce-Button {
    width: auto !important;
    margin-top: 32px !important;
    padding: 14px 32px !important;
    font-size: 1rem !important;
    background: #6F7F63 !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(111, 127, 99, 0.2) !important;
    text-shadow: none !important;
    cursor: pointer !important;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover {
    background: #2F5D50 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(111, 127, 99, 0.3) !important;
}

/* Password Strength */
.woocommerce-password-strength {
    margin-top: 8px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

/* Required asterisk */
.woocommerce-EditAccountForm .required {
    color: #6F7F63 !important;
    text-decoration: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .woocommerce-EditAccountForm .form-row {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 16px 0 !important;
    }

    .woocommerce-EditAccountForm .description {
        grid-column: 1 !important;
        margin-top: 4px !important;
    }

    .woocommerce-EditAccountForm .form-row label {
        padding-top: 0 !important;
    }

    .woocommerce-EditAccountForm legend {
        font-size: 1.1rem !important;
        margin-bottom: 24px !important;
    }

    .woocommerce-EditAccountForm .woocommerce-Button {
        width: 100% !important;
    }
}

/* =========================================
   KOALA UI ACCOUNT LAYOUT
   ========================================= */

/* Main Container */
.koala-account-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #333;
}

/* Header */
.koala-header {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

h2.koala-page-title {
    font-family: 'Merriweather', 'Georgia', serif;
    /* Serif as per Koala UI */
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin: 0;
}

/* Sections */
.koala-section {
    margin-bottom: 40px;
}

h3.koala-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 24px;
    border-bottom: none;
}

/* Form Rows & Grid */
.koala-form-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 24px;
}

/* Labels */
.koala-form-row label {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

/* Icons (SVG Backgrounds) */
.koala-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.icon-user {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>');
}

.icon-tag {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"/><line x1="7" y1="7" x2="7.01" y2="7"/></svg>');
}

.icon-mail {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>');
}

.icon-lock {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg>');
}

.icon-key {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 1 1-7.778 7.778 5.5 5.5 0 0 1 7.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"/></svg>');
}

.icon-check-circle {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/></svg>');
}

/* Inputs */
.koala-input-wrapper {
    width: 100%;
    position: relative;
    /* For password toggle positioning */
}

input.koala-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    /* Rounded corners like Koala */
    background: #fff;
    color: #333;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

input.koala-input:focus {
    border-color: #6F7F63;
    /* Brand Sage Green */
    box-shadow: 0 0 0 4px rgba(111, 127, 99, 0.1);
    /* Subtle brand glow */
    outline: none;
}

/* Helper Text */
.koala-helper-text {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
}

/* Divider */
hr.koala-divider {
    border: 0;
    height: 1px;
    background: #eee;
    margin: 40px 0;
}

/* Actions */
.koala-form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
}

.koala-btn-primary {
    background: #FC5830;
    /* Koala Orange - Using it as requested for "exact" match */
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.koala-btn-primary:hover {
    background: #e44e2a;
}

/* Responsive */
@media (max-width: 768px) {
    .koala-form-row {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 8px;
    }

    h2.koala-page-title {
        font-size: 2rem;
    }
}

/* Password Toggle */
.koala-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23888" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"/><circle cx="12" cy="12" r="3"/></svg>');
    opacity: 0.5;
    transition: opacity 0.2s;
    z-index: 2;
}

.koala-password-toggle:hover {
    opacity: 0.8;
}

.koala-password-toggle.visible {
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"/><line x1="1" y1="1" x2="23" y2="23"/></svg>');
    opacity: 0.9;
}

/* Ensure password input has padding for the icon */
.koala-input[type="password"],
.koala-input[type="text"] {
    /* When toggled to text */
    padding-right: 40px;
}

/* Newsletter Checkbox */
.koala-checkbox-wrapper {
    display: flex;
    align-items: center;
}

.koala-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #555;
    user-select: none;
}

.koala-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #FC5830;
    /* Koala Orange */
    cursor: pointer;
    margin: 0;
}

/* Hide Generic Page Header on Account Pages (User Request) */
.woocommerce-account .page-header {
    display: none;
}

/* 1. More separation from header */
.woocommerce-account .woocommerce {
    margin-top: 80px;
    /* More breathing room */
}

/* 2. Beautify Sidebar Navigation */
.woocommerce-MyAccount-navigation {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Soft premium shadow */
    border: 1px solid #f0f0f0;
}

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

.woocommerce-MyAccount-navigation li {
    margin-bottom: 8px;
    border-bottom: 1px solid #f9f9f9;
}

.woocommerce-MyAccount-navigation li:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.woocommerce-MyAccount-navigation li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: #555;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    /* Clean sans */
}

.woocommerce-MyAccount-navigation li a:hover {
    background: #f8f9fa;
    color: #6F7F63;
    /* Brand Sage */
    transform: translateX(4px);
}

.woocommerce-MyAccount-navigation li.is-active a {
    background: #6F7F63;
    /* Brand Sage */
    color: #fff;
    box-shadow: 0 4px 12px rgba(111, 127, 99, 0.2);
}

/* Icons via ::before (Overriding default theme icons if any, or adding new ones) */
/* Planurile mele */
.woocommerce-MyAccount-navigation-link--my-plans a::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
    transition: all 0.2s;
}

.woocommerce-MyAccount-navigation-link--my-plans.is-active a::before,
.woocommerce-MyAccount-navigation-link--my-plans a:hover::before {
    filter: brightness(0) invert(1);
    /* Turn white on active/hover */
    opacity: 1;
}

/* Handle hover specifically where background is light */
.woocommerce-MyAccount-navigation-link--my-plans a:hover::before {
    filter: none;
    stroke: #6F7F63;
    /* If SVG allows, otherwise just Opacity 1 */
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%236F7F63" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/></svg>');
}

/* Edit Account */
.woocommerce-MyAccount-navigation-link--edit-account a::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

.woocommerce-MyAccount-navigation-link--edit-account.is-active a::before {
    filter: brightness(0) invert(1);
    opacity: 1;
}

/* Logout */
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="%23333" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"/><polyline points="16 17 21 12 16 7"/><line x1="21" y1="12" x2="9" y2="12"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.6;
}

/* 3. Main Content Decoration */
.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px !important;
    /* Override default */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    /* Deeper shadow */
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
    /* For decorative blob */
}

/* Decorative background blob */
.woocommerce-MyAccount-content::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(111, 127, 99, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.koala-account-container {
    position: relative;
    z-index: 1;
    /* Content above decoration */
}

/* 4. Fix Blue WooCommerce Info Box (User Request) */
.woocommerce-account .woocommerce-info {
    background-color: #F7F9F6;
    /* Very light sage/white */
    color: #4A5A40;
    /* Darker sage for text */
    border-top: 3px solid #6F7F63;
    /* Brand Sage accent */
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-weight: 500;
}

.woocommerce-account .woocommerce-info::before {
    color: #6F7F63;
    /* Icon color */
}

/* Button inside info box */
.woocommerce-account .woocommerce-info .button {
    background-color: #6F7F63 !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.woocommerce-account .woocommerce-info .button:hover {
    background-color: #5a6650 !important;
}

/* Ensure no other blue leaks through */
.woocommerce-info a {
    color: #6F7F63;
    font-weight: 600;
}

/* FORCE OVERRIDE for Info Box Colors (User Request x2) */
.woocommerce-account .woocommerce-info {
    background-color: #F7F9F6 !important;
    color: #4A5A40 !important;
    border-top-color: #6F7F63 !important;
}

.woocommerce-account .woocommerce-info::before {
    color: #6F7F63 !important;
}

/* Mobile Optimizations for Account Page */
@media (max-width: 768px) {

    /* Reduce top margin spacing */
    .woocommerce-account .woocommerce {
        margin-top: 30px;
    }

    /* Reduce card padding to save screen space */
    .woocommerce-MyAccount-content {
        padding: 20px !important;
    }

    /* Adjust sidebar for mobile */
    .woocommerce-MyAccount-navigation {
        margin-bottom: 24px;
        padding: 16px;
    }

    .woocommerce-MyAccount-navigation li a {
        padding: 12px;
        font-size: 14px;
    }

    /* Ensure form grid stacks vertically (already in place roughly, but reinforcing) */
    .koala-form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    /* Adjust input wrapper width if needed */
    .koala-input-wrapper {
        width: 100%;
    }

    /* Newsletter checkbox text wrap */
    .newsletter-label {
        font-size: 14px;
        line-height: 1.4;
    }
}

/* ============================
   RECIPE FAVORITES FEATURE
   ============================ */
.recipe-favorite-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #ccc;
    /* Default inactive color */
}

/* Hover state */
.recipe-favorite-toggle:hover {
    background: #fff;
    transform: scale(1.1);
    color: #ff6b6b;
    /* Slight tint on hover */
}

/* Active (Favorited) state */
.recipe-favorite-toggle.active {
    color: #e63946;
    /* Red heart */
    background: #fff;
}

.recipe-favorite-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    /* Outline by default */
    stroke: currentColor;
    stroke-width: 2px;
    transition: all 0.2s;
}

.recipe-favorite-toggle.active svg {
    fill: currentColor;
    /* Filled heart when active */
    stroke: none;
}

/* Position adjustment for specific contexts if needed */
.single-recipe-favorite {
    position: relative;
    /* Reset absolute if placed inline */
    top: auto;
    right: auto;
    display: inline-flex;
    margin-left: 12px;
    background: #f0f0f0;
    width: 44px;
    height: 44px;
}

.single-recipe-favorite:hover {
    background: #e6e6e6;
}

/* Navigation Cart Icon */
.nav-cart {
    margin-right: 15px;
}

.nav-cart .cart-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-brand-sage-light) !important;
    transition: color 0.3s ease;
}

.nav-cart .cart-link:hover {
    color: var(--brand-dark) !important;
}

.nav-cart .cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #d9534f;
    color: white;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    border: 1px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --- CART DRAWER STYLES --- */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    /* Top notch */
    visibility: hidden;
    transition: visibility 0.3s;
}

.cart-drawer.is-open {
    visibility: visible;
}

.cart-drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-drawer.is-open .cart-drawer-overlay {
    opacity: 1;
}

.cart-drawer-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 90%;
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
}

.cart-drawer.is-open .cart-drawer-content {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    background: var(--bg-cream);
}

.cart-drawer-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--color-brand-sage);
}

.close-drawer {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-sub);
    padding: 5px;
}

.widget_shopping_cart_content {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}

/* WooCommerce Mini Cart Styles - MOVED TO style-cart-drawer.css */

/* Prevent scroll on body when drawer open */
body.drawer-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════
   MAIN CART PAGE - VERTICAL CARD DESIGN
   ═══════════════════════════════════════════════════════════════ */

.woocommerce-cart .woocommerce,
.woocommerce-cart .wp-block-woocommerce-cart {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* Hide default page title */
.woocommerce-cart h1.entry-title {
    display: none;
}

/* Two Column Layout */
.woocommerce-cart .woocommerce-cart-form {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* ─────────────────────────────────────────────────────────────────
   LEFT SIDE - Vertical Product Cards (Force Override)
   ───────────────────────────────────────────────────────────────── */

/* Force override for WC Blocks cart structure */
.wc-block-cart .wc-block-cart__main,
.woocommerce-cart .shop_table {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

.woocommerce-cart .shop_table thead,
.wc-block-cart .wc-block-cart-items__header {
    display: none !important;
}

.woocommerce-cart .shop_table tbody,
.wc-block-cart .wc-block-cart-items {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    border: none !important;
    padding: 0 !important;
}

/* Each product row becomes a vertical card */
.woocommerce-cart .shop_table tbody tr,
.wc-block-cart .wc-block-cart-items__row {
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 24px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(111, 127, 99, 0.08) !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: relative !important;
    gap: 0 !important;
}

/* Remove button - positioned top right */
.woocommerce-cart .shop_table .product-remove,
.wc-block-cart .wc-block-cart-item__remove-link {
    position: absolute !important;
    top: 16px !important;
    right: 16px !important;
    z-index: 10 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
}

.woocommerce-cart .product-remove a.remove,
.wc-block-cart .wc-block-cart-item__remove-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    color: transparent !important;
    font-size: 0 !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    text-indent: -9999px !important;
}

.woocommerce-cart .product-remove a.remove::before,
.wc-block-cart .wc-block-cart-item__remove-link::before {
    content: "" !important;
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    text-indent: 0 !important;
}

.woocommerce-cart .product-remove a.remove:hover,
.wc-block-cart .wc-block-cart-item__remove-link:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.1) !important;
}

.woocommerce-cart .product-remove a.remove:hover::before,
.wc-block-cart .wc-block-cart-item__remove-link:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* Force all table cells to be full-width block elements */
.woocommerce-cart .shop_table tbody tr td,
.woocommerce-cart .shop_table tbody tr th {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Product Image - Large, full width at top */
.woocommerce-cart .shop_table .product-thumbnail,
.woocommerce-cart .shop_table td:first-child,
.wc-block-cart .wc-block-cart-item__image {
    display: block !important;
    order: 1 !important;
    padding: 0 !important;
    border: none !important;
    background: #f8f7f5 !important;
    width: 100% !important;
    flex-shrink: 0 !important;
}

.woocommerce-cart .product-thumbnail a,
.wc-block-cart .wc-block-cart-item__image a {
    display: block !important;
}

.woocommerce-cart .product-thumbnail img,
.wc-block-cart .wc-block-cart-item__image img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.woocommerce-cart .shop_table tbody tr:hover .product-thumbnail img,
.wc-block-cart .wc-block-cart-items__row:hover .wc-block-cart-item__image img {
    transform: scale(1.02) !important;
}

/* Product Info Container - Below image */
.woocommerce-cart .shop_table .product-name,
.wc-block-cart .wc-block-cart-item__product {
    order: 2 !important;
    padding: 20px 24px 8px !important;
    border: none !important;
    background: #fff !important;
    text-align: center !important;
    width: 100% !important;
    flex: none !important;
}

.woocommerce-cart .product-name a,
.wc-block-cart .wc-block-components-product-name {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    color: #2E3828 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: block !important;
    text-align: center !important;
}

.woocommerce-cart .product-name a:hover,
.wc-block-cart .wc-block-components-product-name:hover {
    color: #6F7F63 !important;
}

/* Price - Large and centered */
.woocommerce-cart .shop_table .product-price,
.wc-block-cart .wc-block-cart-item__prices {
    order: 3 !important;
    padding: 8px 24px 20px !important;
    border: none !important;
    background: #fff !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
}

.woocommerce-cart .product-price .amount,
.woocommerce-cart .product-price,
.wc-block-cart .wc-block-components-product-price {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important;
    color: #6F7F63 !important;
    text-align: center !important;
    display: block !important;
}

/* Variation Badge - Centered */
.woocommerce-cart .product-name .variation,
.wc-block-cart .wc-block-components-product-details {
    margin-top: 12px !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: wrap !important;
}

.woocommerce-cart .product-name .variation dt,
.wc-block-cart .wc-block-components-product-details__name {
    display: inline !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    color: #888 !important;
}

.woocommerce-cart .product-name .variation dd {
    margin: 0 !important;
    display: inline !important;
}

.woocommerce-cart .product-name .variation dd p,
.wc-block-cart .wc-block-components-product-details__value {
    display: inline-block !important;
    margin: 0 !important;
    padding: 8px 20px !important;
    background: linear-gradient(135deg, #5A6B50 0%, #6F7F63 100%) !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 2px 10px rgba(111, 127, 99, 0.2) !important;
}

/* Hide quantity and subtotal columns (classic cart) */
.woocommerce-cart .shop_table .product-quantity,
.woocommerce-cart .shop_table .product-subtotal {
    display: none !important;
}

/* Hide actions row */
.woocommerce-cart .shop_table .actions,
.woocommerce-cart .actions,
.woocommerce-cart .coupon {
    display: none !important;
}

/* ─────────────────────────────────────────────────────────────────
   RIGHT SIDE - "Sumar comandă" Sidebar
   ───────────────────────────────────────────────────────────────── */
.woocommerce-cart .cart-collaterals {
    margin-top: 0;
}

.woocommerce-cart .cart_totals {
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: none;
    background: #fff;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(111, 127, 99, 0.08);
}

.woocommerce-cart .cart_totals>h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2E3828;
    margin: 0 0 24px 0;
    padding: 0;
    border: none;
    letter-spacing: -0.5px;
}

/* Coupon Section - Styled as accordion */
.woocommerce-cart .cart_totals .woocommerce-checkout-coupon-form,
.woocommerce-cart .cart_totals .coupon-toggle {
    margin-bottom: 20px;
    border: 1px solid rgba(111, 127, 99, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    margin-bottom: 0;
}

.woocommerce-cart .cart_totals th,
.woocommerce-cart .cart_totals td {
    padding: 16px 0;
    border: none;
    font-family: "Inter", sans-serif;
}

.woocommerce-cart .cart_totals th {
    font-weight: 500;
    color: #666;
    font-size: 0.95rem;
}

.woocommerce-cart .cart_totals td {
    text-align: right;
    font-weight: 600;
    color: #2E3828;
}

/* Total Row */
.woocommerce-cart .cart_totals .order-total th {
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid rgba(111, 127, 99, 0.1);
}

.woocommerce-cart .cart_totals .order-total td {
    padding-top: 20px;
    border-top: 1px solid rgba(111, 127, 99, 0.1);
}

.woocommerce-cart .cart_totals .order-total .amount {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E3828;
}

/* Checkout Button */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 20px;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #6F7F63 0%, #5A6B50 100%);
    color: #fff !important;
    padding: 18px 24px;
    border-radius: 14px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(111, 127, 99, 0.25);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(111, 127, 99, 0.35);
}

/* Secure Payment Badge */
.woocommerce-cart .wc-proceed-to-checkout::after {
    content: "🔒 Plată 100% securizată";
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 16px;
    font-family: "Inter", sans-serif;
}

/* ─────────────────────────────────────────────────────────────────
   RELATED PRODUCTS SECTION - "Planuri relationate"
   ───────────────────────────────────────────────────────────────── */
.cart-related-products {
    max-width: 1100px;
    padding: 40px 20px 0;
    border-top: 1px solid rgba(111, 127, 99, 0.1);
    grid-column: 1 / -1;
    /* Span full width in grid */
}

/* When inside article, use full width */
article.type-page .cart-related-products {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

.cart-related-products h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #2E3828;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
}

.cart-related-products .products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove clearfix pseudo-elements that break grid layout */
.cart-related-products .products::before,
.cart-related-products .products::after {
    display: none !important;
    content: none !important;
}

.cart-related-products .product,
.cart-related-products ul.products li.product,
.cart-related-products .products>li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(111, 127, 99, 0.08) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    clear: none !important;
}

.cart-related-products .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
}

.cart-related-products .product a.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
}

.cart-related-products .product img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
}

.cart-related-products .product .woocommerce-loop-product__title {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #2E3828 !important;
    padding: 16px 20px 8px !important;
    margin: 0 !important;
    text-align: center !important;
}

.cart-related-products .product .price {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #6F7F63 !important;
    padding: 0 20px 20px !important;
    display: block !important;
    text-align: center !important;
}

.cart-related-products .product .button {
    display: none !important;
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE - Mobile
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .woocommerce-cart .woocommerce-cart-form {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .woocommerce-cart .cart_totals {
        position: static;
    }

    .woocommerce-cart .product-thumbnail img {
        height: 220px;
    }

    .cart-related-products .products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .woocommerce-cart .woocommerce,
    .woocommerce-cart .wp-block-woocommerce-cart {
        margin: 20px 12px;
        padding: 20px 16px;
        border-radius: 24px;
    }

    .woocommerce-cart .product-thumbnail img {
        height: 180px;
    }

    .woocommerce-cart .product-name a {
        font-size: 1.2rem;
    }

    .woocommerce-cart .product-price .amount {
        font-size: 1.5rem;
    }

    .woocommerce-cart .cart_totals {
        padding: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   WOOCOMMERCE CART BLOCK - ULTRA PREMIUM DESIGN
   ═══════════════════════════════════════════════════════════════ */

/* Keyframe Animations */
@keyframes cartFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cartShimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes cartPulse {

    0%,
    100% {
        box-shadow: 0 4px 30px rgba(111, 127, 99, 0.15);
    }

    50% {
        box-shadow: 0 8px 50px rgba(111, 127, 99, 0.25);
    }
}

@keyframes cartFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

@keyframes cartGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(111, 127, 99, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(111, 127, 99, 0.5);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes checkmarkBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

@keyframes cartCardSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Container */
.wc-block-cart {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* Inner wrapper - force 2 column layout */
.wc-block-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: 1fr 400px !important;
    gap: 60px !important;
    align-items: start !important;
}

/* Left Column - Products */
.wc-block-cart .wc-block-cart__main {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
    animation: cartCardSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    opacity: 0;
    transform: translateY(30px);
}

/* Hide the redundant header */
.wc-block-cart .wc-block-cart-items__header {
    display: none !important;
}

/* Cart Items Container - Remove extra borders */
.wc-block-cart .wc-block-cart-items {
    padding: 0 !important;
    border: none !important;
}

/* Remove all inner table borders/lines */
.wc-block-cart .wc-block-cart-items table,
.wc-block-cart .wc-block-cart-items tr,
.wc-block-cart .wc-block-cart-items td,
.wc-block-cart .wc-block-cart-items th {
    border: none !important;
    border-collapse: collapse !important;
}

/* ═══════════════════════════════════════════════════════════════
   CART LOADING STATE - Hide skeleton placeholders
   ═══════════════════════════════════════════════════════════════ */

/* Hide loading skeleton rows until real content loads */
.wc-block-cart.is-loading .wc-block-cart-items__row,
.wc-block-cart .wc-block-cart-items__row:empty,
.wc-block-cart .wc-block-cart-items__row:not(:has(.wc-block-cart-item__image img)) {
    display: none !important;
}

/* Alternative: Show only 1 subtle loading indicator */
.wc-block-cart.is-loading .wc-block-cart__main::before {
    content: "Se încarcă..." !important;
    display: block !important;
    text-align: center !important;
    padding: 40px !important;
    color: #999 !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.9rem !important;
}

/* Hide table header during loading */
.wc-block-cart .wc-block-cart-items__header {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   CART ITEM CARD - PREMIUM HORIZONTAL LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* Individual Cart Item Row - Card Container */
.wc-block-cart .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 140px 1fr auto 60px !important;
    gap: 24px !important;
    align-items: center !important;
    padding: 24px !important;
    background: linear-gradient(145deg, #ffffff 0%, #fdfcfa 100%) !important;
    border-radius: 20px !important;
    box-shadow:
        0 6px 24px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(111, 127, 99, 0.1) !important;
    margin-bottom: 16px !important;
    position: relative !important;
    transition: all 0.1s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    margin-right: 30px;
    animation: cartItemSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    opacity: 0;
    transform: translateX(-30px) scale(0.97);
}

.wc-block-cart .wc-block-cart-items__row:nth-child(2) {
    animation-delay: 0.1s !important;
}

.wc-block-cart .wc-block-cart-items__row:nth-child(3) {
    animation-delay: 0.2s !important;
}

.wc-block-cart .wc-block-cart-items__row:nth-child(4) {
    animation-delay: 0.3s !important;
}

@keyframes cartItemSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-30px) scale(0.97);
    }

    60% {
        transform: translateX(5px) scale(1.01);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.wc-block-cart .wc-block-cart-items__row:last-child {
    margin-bottom: 0 !important;
}

.wc-block-cart .wc-block-cart-items__row:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Product Image - Square thumbnail on left */
.wc-block-cart .wc-block-cart-item__image {
    order: 1 !important;
    width: 140px !important;
    height: 140px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    position: relative !important;
}

.wc-block-cart .wc-block-cart-item__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    transition: transform 0.4s ease !important;
}

.wc-block-cart .wc-block-cart-items__row:hover .wc-block-cart-item__image img {
    transform: scale(1.05) !important;
}

/* Product Info Section - Center */
.wc-block-cart .wc-block-cart-item__product {
    order: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 0 !important;
}

/* Wrap for product info - stack vertically */
.wc-block-cart .wc-block-cart-item__wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

/* Product Name */
.wc-block-cart .wc-block-components-product-name {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    color: #2E3828 !important;
    text-decoration: none !important;
    line-height: 1.3 !important;
    transition: color 0.3s ease !important;
}

.wc-block-cart .wc-block-components-product-name:hover {
    color: #5A6B50 !important;
}

/* Hide product price in center (we show it on right) */
.wc-block-cart .wc-block-cart-item__prices {
    display: none !important;
}

/* Variation Badge - Premium pill */
.wc-block-cart .wc-block-components-product-details {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 4px 0 0 0 !important;
}

.wc-block-cart .wc-block-components-product-metadata {
    margin: 0 !important;
}

.wc-block-cart .wc-block-components-product-details__name {
    display: none !important;
}

.wc-block-cart .wc-block-components-product-details__value {
    display: inline-block !important;
    padding: 10px 24px !important;
    background: linear-gradient(135deg, #5A6B50 0%, #6F7F63 100%) !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    box-shadow: 0 4px 12px rgba(90, 107, 80, 0.3) !important;
}

/* Confidence Badges - Under variant */
.wc-block-cart .wc-block-cart-item__product::after {
    content: "✓ Acces instant  ✓ Format PDF  ✓ Fără abonament" !important;
    display: block !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.75rem !important;
    color: #6F7F63 !important;
    margin-top: 8px !important;
    letter-spacing: 0.2px !important;
    white-space: nowrap !important;
}

/* Price Column - Right side */
.wc-block-cart .wc-block-cart-item__total {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    padding-right: 0 !important;
}

.wc-block-cart .wc-block-cart-item__total .wc-block-components-product-price {
    font-family: "Playfair Display", Georgia, serif !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    color: #2E3828 !important;
}

/* Remove Button - Circle on right */
.wc-block-cart .wc-block-cart-item__quantity {
    display: none !important;
}

.wc-block-cart .wc-block-components-quantity-selector {
    display: none !important;
}

.wc-block-cart .wc-block-cart-item__remove-link:not(.remove-btn-repositioned) {
    display: none !important;
}

.wc-block-cart .remove-btn-repositioned {
    order: 4 !important;
    grid-column: 4 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    background: #f8f8f8 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 50% !important;
    font-size: 0 !important;
    color: transparent !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart .remove-btn-repositioned:hover {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
    transform: scale(1.1) !important;
}

.wc-block-cart .remove-btn-repositioned::before {
    content: "" !important;
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

.wc-block-cart .remove-btn-repositioned:hover {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
}

.wc-block-cart .remove-btn-repositioned:hover::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='3 6 5 6 21 6'%3E%3C/polyline%3E%3Cpath d='M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2'%3E%3C/path%3E%3C/svg%3E") !important;
}

/* ─────────────────────────────────────────────────────────────────
   RIGHT SIDEBAR - Cart Totals
   ───────────────────────────────────────────────────────────────── */
.wc-block-cart .wc-block-cart__sidebar {
    background: linear-gradient(145deg, #ffffff 0%, #fdfcfa 100%) !important;
    border-radius: 28px !important;
    padding: 32px !important;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(111, 127, 99, 0.12) !important;
    position: sticky !important;
    top: 100px !important;
    animation: sidebarSlideIn 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    overflow: hidden !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.4s ease !important;
}

.wc-block-cart .wc-block-cart__sidebar:hover {
    transform: translateY(-4px) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9) !important;
}

@keyframes sidebarSlideIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }

    60% {
        transform: translateY(-8px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Premium top accent line with shimmer */
.wc-block-cart .wc-block-cart__sidebar::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(90deg, #6F7F63 0%, #8B9B7F 25%, #C9A962 50%, #8B9B7F 75%, #6F7F63 100%) !important;
    background-size: 200% 100% !important;
    border-radius: 28px 28px 0 0 !important;
    animation: accentShimmer 3s ease-in-out infinite !important;
}

@keyframes accentShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Sidebar Title - Animated with Icon */
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart .wp-block-woocommerce-cart-totals-block h2,
.wc-block-cart .wc-block-components-sidebar h2 {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    color: #2E3828 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border: none !important;
    letter-spacing: -0.3px !important;
    text-transform: none !important;
    animation: titleFadeIn 0.6s ease 0.1s forwards !important;
    opacity: 0;
    transform: translateX(-10px);
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Cart icon before title */
.wc-block-cart .wc-block-cart__totals-title::before,
.wc-block-cart .wp-block-woocommerce-cart-totals-block h2:first-of-type::before {
    content: "" !important;
    display: inline-flex !important;
    width: 32px !important;
    height: 32px !important;
    background: linear-gradient(135deg, #6F7F63 0%, #5A6B50 100%) !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") center/18px no-repeat, linear-gradient(135deg, #6F7F63 0%, #5A6B50 100%) !important;
    -webkit-mask: none !important;
    position: relative !important;
}

.wc-block-cart .wc-block-cart__totals-title::before,
.wc-block-cart .wp-block-woocommerce-cart-totals-block h2:first-of-type::before {
    background: linear-gradient(135deg, #6F7F63 0%, #5A6B50 100%) !important;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2L3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' y1='6' x2='21' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") !important;
    mask-size: 18px !important;
    -webkit-mask-size: 18px !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-position: center !important;
    -webkit-mask-position: center !important;
}

@keyframes titleFadeIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Remove decorative line */
.wc-block-cart .wc-block-cart__totals-title::after,
.wc-block-cart .wc-block-components-sidebar h2::after {
    display: none !important;
}

/* Coupon Accordion - Animated */
.wc-block-cart .wc-block-components-totals-coupon,
.wc-block-cart .wc-block-components-panel {
    border: none !important;
    margin-bottom: 20px !important;
    background: linear-gradient(135deg, #f9f9f7 0%, #f5f4f2 100%) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(111, 127, 99, 0.1) !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    animation: couponFadeIn 0.5s ease 0.3s forwards !important;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes couponFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wc-block-cart .wc-block-components-panel:hover {
    background: linear-gradient(135deg, #ffffff 0%, #fdfcfa 100%) !important;
    box-shadow: 0 6px 20px rgba(111, 127, 99, 0.12) !important;
    transform: translateY(-2px) !important;
    border-color: rgba(111, 127, 99, 0.2) !important;
}

.wc-block-cart .wc-block-components-panel__button {
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    color: #555 !important;
    padding: 18px 20px !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart .wc-block-components-panel__button:hover {
    color: #6F7F63 !important;
    padding-left: 25px !important;
}

.wc-block-cart .wc-block-components-panel__button svg {
    color: #6F7F63 !important;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.wc-block-cart .wc-block-components-panel__button:hover svg {
    transform: translateY(2px) !important;
}

.wc-block-cart .wc-block-components-panel--opened .wc-block-components-panel__button svg {
    transform: rotate(180deg) !important;
}

/* Coupon Input and Button */
.wc-block-cart .wc-block-components-totals-coupon__content {
    padding: 0 20px 20px !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content form {
    display: flex !important;
    gap: 10px !important;
    align-items: stretch !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content form>* {
    min-width: 0 !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content input[type="text"],
.wc-block-cart .wc-block-components-text-input input {
    flex: 1 !important;
    padding: 14px 18px !important;
    border: 2px solid rgba(111, 127, 99, 0.15) !important;
    border-radius: 12px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.95rem !important;
    color: #2E3828 !important;
    background: #fff !important;
    transition: all 0.3s ease !important;
    outline: none !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content input[type="text"]:focus,
.wc-block-cart .wc-block-components-text-input input:focus {
    border-color: #6F7F63 !important;
    box-shadow: 0 0 0 3px rgba(111, 127, 99, 0.1) !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content input[type="text"]::placeholder,
.wc-block-cart .wc-block-components-text-input input::placeholder {
    color: #999 !important;
}

/* Text input label styling */
.wc-block-cart .wc-block-components-text-input {
    flex: 1 1 60% !important;
    min-width: 120px !important;
}

.wc-block-cart .wc-block-components-text-input label {
    font-family: "Inter", sans-serif !important;
    font-size: 0.85rem !important;
    color: #888 !important;
}

/* Coupon Apply Button */
.wc-block-cart .wc-block-components-totals-coupon__content button,
.wc-block-cart .wc-block-components-button:not(.wc-block-components-checkout-place-order-button) {
    flex: 0 0 auto !important;
    padding: 14px 20px !important;
    background: linear-gradient(135deg, #6F7F63 0%, #5A6B50 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 12px !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-transform: none !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content button:hover,
.wc-block-cart .wc-block-components-button:not(.wc-block-components-checkout-place-order-button):hover {
    background: linear-gradient(135deg, #5A6B50 0%, #4A5A42 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(90, 107, 80, 0.3) !important;
}

.wc-block-cart .wc-block-components-totals-coupon__content button:disabled,
.wc-block-cart .wc-block-components-button:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Totals Items */
.wc-block-cart .wc-block-components-totals-item {
    padding: 18px 0 !important;
    border: none !important;
    position: relative !important;
}

.wc-block-cart .wc-block-components-totals-item__label {
    font-family: "Inter", sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.95rem !important;
    color: #888 !important;
}

.wc-block-cart .wc-block-components-totals-item__value {
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #2E3828 !important;
}

/* Total Row - Clean Design */
.wc-block-cart .wc-block-components-totals-footer-item {
    padding: 20px 0 !important;
    margin: 16px 0 0 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
}

.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-family: "Inter", sans-serif !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #666 !important;
}

.wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-cart .wc-block-components-totals-footer-item .wc-block-formatted-money-amount {
    font-family: "Playfair Display", Georgia, serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #2E3828 0%, #6F7F63 50%, #2E3828 100%) !important;
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: priceShimmer 3s ease-in-out infinite !important;
}

@keyframes priceShimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 200% center;
    }
}

/* Checkout Button - Premium Animated */
.wc-block-cart .wc-block-cart__submit-button,
.wc-block-cart .wc-block-components-checkout-place-order-button,
.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block a {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    background: linear-gradient(135deg, #6F7F63 0%, #5A6B50 50%, #4A5A42 100%) !important;
    background-size: 200% 200% !important;
    color: #fff !important;
    padding: 20px 28px !important;
    border-radius: 16px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow:
        0 6px 24px rgba(111, 127, 99, 0.35),
        0 2px 8px rgba(111, 127, 99, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    margin-top: 24px !important;
    position: relative !important;
    overflow: hidden !important;
    animation: buttonPulse 2.5s ease-in-out infinite, buttonGradient 4s ease infinite !important;
}

/* Shine effect */
.wc-block-cart .wc-block-cart__submit-button::before,
.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block a::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
    animation: buttonShine 3s ease-in-out infinite !important;
}

.wc-block-cart .wc-block-cart__submit-button:hover,
.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block a:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow:
        0 12px 40px rgba(111, 127, 99, 0.45),
        0 4px 16px rgba(111, 127, 99, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    animation: none !important;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 6px 24px rgba(111, 127, 99, 0.35), 0 2px 8px rgba(111, 127, 99, 0.2);
    }

    50% {
        box-shadow: 0 8px 32px rgba(111, 127, 99, 0.45), 0 4px 12px rgba(111, 127, 99, 0.25);
    }
}

@keyframes buttonGradient {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }

    20%,
    100% {
        left: 100%;
    }
}

.wc-block-cart .wc-block-cart__submit-button:active,
.wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block a:active {
    transform: translateY(0) !important;
}

/* Secure Payment Badge - Animated */
.wc-block-cart .wc-block-cart__submit-container::after {
    content: "🔒 Plată 100% securizată" !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-align: center !important;
    font-size: 0.8rem !important;
    color: #6F7F63 !important;
    margin-top: 18px !important;
    padding: 10px 16px !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 500 !important;
    background: linear-gradient(135deg, rgba(111, 127, 99, 0.08) 0%, rgba(111, 127, 99, 0.04) 100%) !important;
    border-radius: 10px !important;
    animation: securityFadeIn 0.6s ease 0.5s forwards !important;
    opacity: 0;
    transform: translateY(5px);
}

@keyframes securityFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Trust Indicators */
.wc-block-cart .wc-block-cart__submit-container {
    position: relative !important;
}

/* ─────────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .wc-block-cart {
        padding: 16px !important;
    }

    .wc-block-cart .wc-block-components-sidebar-layout {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .wc-block-cart .wc-block-cart__main,
    .wc-block-cart .wc-block-cart__sidebar {
        border-radius: 20px !important;
    }

    .wc-block-cart .wc-block-cart-items__row {
        padding: 24px !important;
        gap: 20px !important;
    }

    .wc-block-cart .wc-block-cart-item__image img {
        width: 100px !important;
        height: 100px !important;
    }

    .wc-block-cart .wc-block-components-product-name {
        font-size: 1.2rem !important;
    }

    .wc-block-cart .wc-block-cart-item__prices .wc-block-components-product-price {
        font-size: 1.4rem !important;
    }
}

/* --- CART REFINEMENTS (User Request) --- */

/* Hide Quantity Selectors on main cart page only (not mini-cart drawer - shows price there) */
.woocommerce-cart .quantity,
.product-quantity input.qty {
    display: none !important;
}

/* Ensure Variation Attributes are visible */
.product-name .variation {
    display: block !important;
    font-size: 0.9em;
    color: #666;
    margin-top: 5px;
}

.product-name .variation dd {
    margin: 0;
    padding: 0;
    display: inline;
}

.product-name .variation dt {
    display: inline;
    font-weight: 600;
}

/* Fix table alignment after hiding quantity */
.product-quantity {
    width: 60px;
    /* Keep column but empty */
    text-align: center;
}

/* Make sure cart item name is bold */
.product-name a {
    font-weight: 700;
    color: var(--color-text-body-green);
    text-decoration: none;
}

/* About Section Button Styling */
.about-actions-discrete {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.about-actions-discrete .btn {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .about-actions-discrete {
        flex-direction: column;
        width: 100%;
    }

    .about-actions-discrete .btn {
        width: 100%;
        text-align: center;
    }

    /* Newsletter Popup - Stack form elements on mobile */
    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input[type="email"] {
        width: 100%;
    }

    #newsletter-form button.btn {
        width: 100%;
    }

    .popup-content {
        padding: 40px 24px;
    }
}

/* ============================================
   Global Toast / Snackbar Notifications
   ============================================ */

/* Hide empty snackbar container */
.wc-block-components-notice-snackbar-list:empty {
    display: none !important;
}

/* Snackbar list positioning */
.wc-block-components-notice-snackbar-list {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
    max-width: 420px !important;
    width: calc(100% - 40px) !important;
}

/* RESET all inner wrappers - remove backgrounds */
.wc-block-components-notice-snackbar-list *,
.wc-block-components-notice-snackbar-list>div,
.wc-block-components-notice-snackbar-list>div>div {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

/* Style ONLY the main notice banner */
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner {
    background: #8BA07D !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15) !important;
    padding: 14px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* Hide the default SVG icon */
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner>svg {
    display: none !important;
}

/* Text content */
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner__content {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    flex: 1 !important;
    padding: 0 !important;
}

/* Dismiss X button */
.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .wc-block-components-button {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 4px !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    font-size: 1.2rem !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    opacity: 0.7 !important;
    transition: opacity 0.2s ease !important;
    min-width: unset !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
}

.wc-block-components-notice-snackbar-list .wc-block-components-notice-banner .wc-block-components-button:hover {
    background: transparent !important;
    opacity: 1 !important;
}

/* =====================================================
   CUSTOM CHECKOUT PAGE - Show Normal Header, Hide Old Elements
   ===================================================== */

/* KEEP the normal site header visible - removed hiding rules */

/* Hide site footer */
body.woocommerce-checkout .site-footer,
body.woocommerce-checkout footer.site-footer,
body.woocommerce-checkout #colophon,
body.woocommerce-checkout .footer-container,
body.woocommerce-checkout #wpadminbar,
body.woocommerce-checkout .woocommerce-store-notice,
body.woocommerce-checkout .cart-drawer,
body.woocommerce-checkout .cart-drawer-overlay,
body.woocommerce-checkout .cookie-consent-banner {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

/* Hide the old checkout page header and express payment section */
body.woocommerce-checkout .checkout-page-header,
body.woocommerce-checkout .checkout-page-section>.checkout-container>.checkout-page-header,
body.woocommerce-checkout .express-payment-card,
body.woocommerce-checkout .checkout-page-section:not(.emeniu-checkout-wrapper) {
    display: none !important;
}

/* Hide any wrapper containers around the checkout content - reset styles */
body.woocommerce-checkout .site-content-contain,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout #primary,
body.woocommerce-checkout #main,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .page-content,
body.woocommerce-checkout article {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    background: transparent !important;
}

/* Remove any page title from WordPress */
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .entry-title,
body.woocommerce-checkout .woocommerce-products-header__title {
    display: none !important;
}

/* Fix body styles for custom checkout */
body.woocommerce-checkout {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, #F5EFE6 0%, #FDF9F3 50%, #F0EBE3 100%) !important;
}

/* Remove any breadcrumbs */
body.woocommerce-checkout .woocommerce-breadcrumb {
    display: none !important;
}

/* Keep main nav visible on checkout - removed hiding rules */

/* Outline Button Style */
.btn.btn-outline-v2 {
    background: transparent !important;
    border: 2px solid var(--brand-primary) !important;
    color: var(--brand-primary) !important;
    padding: 16px 32px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-btn);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
    font-size: 16px;
}

.btn.btn-outline-v2:hover {
    background: var(--brand-primary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

/* Trust Banner Additional Text */
.trust-credentials {
    font-size: 14px;
    color: var(--text-sub);
    margin: 5px 0 0 0;
    font-weight: 500;
}

.trust-payment {
    font-size: 13px;
    color: var(--brand-primary);
    margin: 3px 0 8px 0;
    font-weight: 600;
}

/* Elegant Modal - Magazine Editorial Design */
.modal-overlay-elegant {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(111, 127, 99, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay-elegant.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.modal-container-elegant {
    background: #F5EFE6;
    border-radius: 24px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow:
        0 32px 64px rgba(111, 127, 99, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    animation: modalElegantSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(111, 127, 99, 0.1);
}

@keyframes modalElegantSlideIn {
    0% {
        transform: scale(0.92) translateY(30px);
        opacity: 0;
    }

    60% {
        transform: scale(1.01) translateY(-5px);
        opacity: 0.8;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Header with Refined Typography */
.modal-header-elegant {
    position: relative;
    padding: 48px 48px 32px;
    background: linear-gradient(135deg, #F5EFE6 0%, #F8F3EA 100%);
    border-radius: 24px 24px 0 0;
}

.modal-header-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.modal-title-elegant {
    font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    font-size: 2.75rem;
    font-weight: 400;
    color: #6F7F63;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 2px rgba(111, 127, 99, 0.1);
}

.modal-subtitle-elegant {
    font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    font-size: 1.35rem;
    color: #5A6B56;
    margin-bottom: 12px;
    font-weight: 400;
    font-style: italic;
}

.modal-description-elegant {
    font-family: var(--font-body);
    font-size: 16px;
    color: #6F6A63;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.modal-close-elegant {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(111, 127, 99, 0.2);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6F7F63;
}

.modal-close-elegant:hover {
    background: #6F7F63;
    color: white;
    transform: scale(1.05);
    border-color: #6F7F63;
}

/* Modal Body with 2x2 Grid */
.modal-body-elegant {
    padding: 0 48px 48px;
    background: #F5EFE6;
}

.plan-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}


/* Feature Cards - Clean White Cards - Mixed Alignment */
.feature-card-elegant {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow:
        0 8px 32px rgba(111, 127, 99, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(111, 127, 99, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6F7F63 0%, #8A9B7D 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card-elegant:hover {
    transform: translateY(-4px);
    box-shadow:
        0 16px 48px rgba(111, 127, 99, 0.12),
        0 4px 16px rgba(0, 0, 0, 0.08);
}

.feature-card-elegant:hover::before {
    opacity: 1;
}

/* Icons - Olive Green - Centered */
.feature-icon-elegant {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6F7F63 0%, #8A9B7D 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: white;
    box-shadow: 0 4px 16px rgba(111, 127, 99, 0.25);
}

/* Typography - Title Centered, Content Left-aligned */
.feature-title-elegant {
    font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    font-size: 1.25rem;
    color: #6F7F63;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.feature-content-elegant {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    color: #6F6A63;
    text-align: left;
    width: 100%;
    align-self: stretch;
}

.feature-content-elegant ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-content-elegant li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 24px;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.feature-content-elegant li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #6F7F63 0%, #8A9B7D 100%);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(111, 127, 99, 0.3);
}

.feature-content-elegant li:hover {
    color: #5A6B56;
    transform: translateX(2px);
}

.feature-content-elegant li:hover::before {
    background: linear-gradient(135deg, #8A9B7D 0%, #9BAF8E 100%);
    box-shadow: 0 3px 6px rgba(111, 127, 99, 0.4);
    transform: scale(1.2);
}

.feature-content-elegant li em {
    color: #5A6B56;
    font-weight: 500;
    font-style: italic;
    position: relative;
}

.feature-content-elegant li:last-child {
    margin-bottom: 0;
}

.feature-content-elegant li:last-child::before {
    background: linear-gradient(135deg, #D4AF37 0%, #E6C757 100%);
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.4);
}

.feature-content-elegant li:last-child:hover::before {
    background: linear-gradient(135deg, #E6C757 0%, #F4D55E 100%);
    box-shadow: 0 3px 6px rgba(212, 175, 55, 0.5);
}

.feature-content-elegant p {
    margin-bottom: 12px;
}

.feature-content-elegant p:last-child {
    margin-bottom: 0;
}

.feature-impact {
    color: #5A6B56 !important;
    font-weight: 500;
    font-style: italic;
}

/* Elegant CTA */
.modal-cta-elegant {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(248, 243, 234, 0.9) 100%);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    border: 1px solid rgba(111, 127, 99, 0.1);
    backdrop-filter: blur(10px);
}

.cta-content-elegant {
    max-width: 500px;
    margin: 0 auto;
}

.cta-message-elegant {
    font-family: 'DM Serif Display', 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    color: #6F7F63;
    margin-bottom: 28px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
}

.btn-elegant-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #6F7F63 0%, #8A9B7D 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 24px rgba(111, 127, 99, 0.3);
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-elegant-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(111, 127, 99, 0.4);
    background: linear-gradient(135deg, #5A6B56 0%, #6F7F63 100%);
    color: white;
}

.btn-elegant-cta svg {
    transition: transform 0.3s ease;
}

.btn-elegant-cta:hover svg {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-container-elegant {
        max-width: 95%;
        margin: 20px auto;
        max-height: 95vh;
    }

    .modal-header-elegant,
    .modal-body-elegant {
        padding-left: 24px;
        padding-right: 24px;
    }

    .modal-header-elegant {
        padding-top: 36px;
        padding-bottom: 24px;
    }

    .modal-body-elegant {
        padding-bottom: 36px;
    }

    .modal-title-elegant {
        font-size: 2rem;
    }

    .modal-subtitle-elegant {
        font-size: 1.1rem;
    }

    .plan-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 36px;
    }


    .feature-card-elegant {
        padding: 24px 20px;
    }

    .feature-icon-elegant {
        width: 48px;
        height: 48px;
    }

    .modal-cta-elegant {
        padding: 32px 20px;
    }

    .cta-message-elegant {
        font-size: 1.2rem;
    }

    .btn-elegant-cta {
        padding: 16px 32px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .modal-overlay-elegant {
        padding: 20px 10px;
    }

    .modal-title-elegant {
        font-size: 1.75rem;
    }

    .modal-subtitle-elegant {
        font-size: 1rem;
    }

    .modal-description-elegant {
        font-size: 14px;
    }
}