/**
 * frontend.css — Consolidated frontend stylesheet
 * Covers: root app, customer module, fieldworker module
 * Generated by consolidation of individual CSS files
 */

/* ============================================================
 * WCAG 2.1 AA - Skip Link (2.4.1 Bypass Blocks)
 * ============================================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 12px 24px;
    background: var(--primary-color) !important;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 0 0 8px 0;
    display: inline-block;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--pliq-gold);
    outline-offset: 2px;
}

/* ============================================================
 * site.css
 * ============================================================ */
/* ======================
   Orange Design System
   ==================== */

/* Color Palette - Orange Theme */
:root {
    --primary-color: #E06030;        /* WCAG 2.1 AA: 4.6:1 white text (was #ff6b35) */
    --primary-dark: #C44D22;         /* WCAG 2.1 AA: 5.4:1 white text (was #e55a2b) */
    --primary-light: #ff9e7a;
    --secondary-color: #f7931e;
    --accent-color: #ffcc00;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-muted: #767676;     /* WCAG 2.1 AA: 4.65:1 on white (was #999999) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.2s ease;

    /* Beauty aliases – map to primary colors (overridable by themes) */
    --beauty-primary: var(--primary-color);
    --beauty-primary-light: var(--primary-light);
    --beauty-purple: var(--secondary-color);
    --beauty-purple-light: var(--accent-color);
}

/* Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* Improved Container */
main > .container {
    padding: 80px 15px 30px;
}

/* Card-based Design System */
.card {
    background: var(--bg-primary);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--beauty-primary-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--beauty-primary);
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--beauty-primary-light);
    padding: 1rem 1.5rem;
}

/* Button Styling */
.btn {
    border-radius: var(--border-radius);
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

/* Navigation Enhancement */
#header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: var(--shadow-md);
}

#header .navbar {
    padding: 0.5rem 0;
    min-height: auto;
    flex-wrap: nowrap;
}

#header .container {
    flex-wrap: nowrap;
}

#header .navbar-brand {
    font-weight: 700;
    color: #ffffff !important;
    font-size: 1.5rem;
    padding: 0.25rem 0.5rem;
    display: flex;
    align-items: center;
}

#header .navbar-brand img {
    max-height: 45px;
    width: auto;
}

#header .navbar-collapse {
    flex-grow: 1;
    justify-content: space-between;
}

#header .navbar-nav {
    flex-wrap: nowrap;
}

#header .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.4rem 0.55rem !important;
    margin: 0 0.05rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
    font-size: 0.85rem;
}

#header .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

#header .dropdown-toggle::after {
    color: rgba(255, 255, 255, 0.7);
}

/* Country Selector as Nav-Link */
.country-selector-wrapper {
    display: flex;
    align-items: center;
}

.country-selector-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 0.55rem !important;
    font-size: 0.85rem;
}

.country-selector-btn .country-flag {
    font-size: 1.1rem;
    line-height: 1;
}

.country-selector-btn .country-name {
    font-size: 0.85rem;
    white-space: nowrap;
}

.country-dropdown-list .dropdown-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.country-dropdown-list .dropdown-item.active {
    background: var(--beauty-primary);
    color: white;
}

/* Design switcher active state */
.design-switcher-btn.active {
    background: var(--beauty-primary);
    color: white;
}

/* Navbar right-side items group */
#header .navbar-nav .nav-item:last-child {
    margin-left: 0.25rem;
}

.navbar-nav .dropdown-menu {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* Footer Enhancement */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 3rem 0;
    border-top: 3px solid var(--primary-color);
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.footer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 8px !important;
    padding: 0.6rem 0.9rem !important;
    border: 2px solid #ced4da !important;
    background: #f8f9fa !important;
    transition: var(--transition);
    color: var(--text-primary) !important;
}

.form-control:hover, .form-select:hover {
    border-color: #adb5bd !important;
}

.form-control:focus, .form-select:focus {
    border-color: var(--beauty-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(214, 51, 132, 0.25) !important;
    background: #fff !important;
}

.form-label {
    font-weight: 600 !important;
    color: var(--text-primary) !important;
    margin-bottom: 0.4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Textarea */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Product Dashboard Form Sections */
.product-form-container h5 {
    color: var(--beauty-primary) !important;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: 2px solid rgba(214, 51, 132, 0.15);
    padding-bottom: 8px;
    margin-top: 1.5rem !important;
    margin-bottom: 1.2rem !important;
}

/* Prevent label wrapping in two-column layout */
.product-form-container .col-md-6 .form-label,
.product-form-container .col-md-4 .form-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Error state */
.has-error .form-control,
.has-error .form-select {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.03) !important;
}

/* Backend Form Layout */
.backend-form {
    padding: 1.5rem;
}

.backend-form .form-group {
    margin-bottom: 1.25rem;
}

.backend-form .form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.backend-form .form-control,
.backend-form .form-select,
.backend-form .form-textarea {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.backend-form .form-control:focus,
.backend-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

/* Responsive two-column layout for forms */
@media (min-width: 768px) {
    .backend-form .form-row {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -0.75rem;
    }

    .backend-form .form-col {
        flex: 1 0 0;
        padding: 0 0.75rem;
        min-width: 0;
    }

    .backend-form .form-col-full {
        flex: 1 0 100%;
    }

    .backend-form .form-col-half {
        flex: 0 0 50%;
    }

    .backend-form .form-col-third {
        flex: 0 0 33.333333%;
    }

    .backend-form .form-col-quarter {
        flex: 0 0 25%;
    }
}

/* Specific field styling for better visibility */
.backend-form .form-field {
    margin-bottom: 1.25rem;
}

.backend-form .form-field .form-label {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
}

.backend-form .form-field .form-control,
.backend-form .form-field .form-select {
    width: 100%;
    display: block;
}

.backend-form .form-field .form-textarea {
    width: 100%;
    min-height: 120px;
    display: block;
}

/* Table Styling */
.table {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--beauty-primary), var(--beauty-purple));
    color: white;
}

.table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: var(--beauty-purple-light);
}

/* Alert Styling */
.alert {
    border-radius: var(--border-radius);
    border-left: 4px solid var(--beauty-primary);
    box-shadow: var(--shadow-sm);
}

.alert-success {
    border-color: #28a745;
    background-color: #d4edda;
}

.alert-danger {
    border-color: #dc3545;
    background-color: #f8d7da;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Icons */
.fa,
.fas,
.far,
.fal,
.fab {
    transition: var(--transition);
}

/* Utility Classes */
.text-primary {
    color: var(--beauty-primary) !important;
}

.bg-primary {
    background-color: var(--beauty-primary) !important;
}

.bg-light {
    background-color: var(--bg-secondary) !important;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Mobile Responsive */
@media(max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    #header .navbar {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    }

    #header .navbar-collapse {
        background: rgba(0, 0, 0, 0.15);
        border-radius: var(--border-radius);
        padding: 1rem;
        margin-top: 0.5rem;
    }

    #header .navbar-nav {
        flex-wrap: wrap;
    }

    #header .nav-link {
        white-space: normal;
        padding: 0.75rem 1rem !important;
    }

    .country-selector-btn .country-name {
        display: inline;
    }
}

/* Sorting Icons */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px var(--beauty-primary);
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px var(--beauty-primary);
    border-bottom-width: 0;
}

/* Grid View */
.grid-view th {
    white-space: nowrap;
}

/* ======================
   Address Card Styling
   ====================== */
.address-card {
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.address-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.address-card .card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
}

.address-card .card-body {
    padding: 1rem 1.25rem;
}

.address-card .card-body h6 {
    font-size: 1rem;
    color: var(--text-primary);
}

.address-card .card-footer {
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.hint-block {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.error-summary {
    color: #dc3545;
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    padding: 1rem 1.5rem;
    margin: 0 0 1.5rem 0;
    border-radius: var(--border-radius);
}

/* Logout Button */
.nav li > form > button.logout {
    padding-top: 7px;
    color: var(--text-secondary);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: var(--beauty-primary);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.modal-content {
    padding: 10px;
}

.ck-editor__editable_inline {
    min-height: 400px;
}

.product-dashboard .inline-edit-trigger {
    width: 100%;
}

/* ======================
   Impersonation Banner
   ==================== */
.impersonation-banner {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeeba 100%);
    border-bottom: 2px solid #ffc107;
    color: #856404;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    animation: bannerSlideDown 0.3s ease-out;
}

.impersonation-banner .fas.fa-user-secret {
    font-size: 1.1rem;
    color: #ffc107;
}

.impersonation-banner strong {
    color: #664d03;
}

.impersonation-banner .btn-dark {
    background: #495057;
    border-color: #495057;
    font-weight: 500;
    transition: all 0.2s ease;
}

.impersonation-banner .btn-dark:hover {
    background: #343a40;
    border-color: #343a40;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

@keyframes bannerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 576px) {
    .impersonation-banner {
        text-align: center;
    }
    .impersonation-banner > .container {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ======================   Navbar Badge Counters
   ==================== */

/* Hide badge counters by default — shown via JS when count > 0 */
#cartCount,
#messageCount {
    display: none;
    min-width: 1.2em;
    text-align: center;
    font-size: 0.75em;
    line-height: 1;
    padding: 0.2em 0.45em;
}

/* Pulse animation when count increases */
@keyframes badge-pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.4);
    }
    100% {
        transform: scale(1);
    }
}

.badge-pulse {
    animation: badge-pulse 0.6s ease-in-out;
}

/* ============================================================
 * Nested Dropdowns (3-level navbar)
 * Yii2 Nav widget renders: .dropdown-menu > div.dropdown > a.dropdown-toggle + div.dropdown-submenu.dropdown-menu
 * ============================================================ */

/* Level-3 submenu: position to the right */
.dropdown-menu > div.dropdown > .dropdown-submenu.dropdown-menu {
    position: absolute;
    top: -0.5rem;
    left: 100%;
    margin-left: 0.125rem;
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    z-index: 1060;
}

.dropdown-menu > div.dropdown > .dropdown-submenu.dropdown-menu.show {
    display: block;
}

/* Arrow indicator for nested toggle items */
.dropdown-menu > div.dropdown > .dropdown-item.dropdown-toggle::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900;
    font-style: normal;
    display: inline-block !important;
    border: none !important;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    transition: transform 0.15s ease;
}

/* Nested dropdown wrapper: whitespace text nodes removed by JS (site.js) */
.dropdown-menu > div.dropdown > .dropdown-item {
    display: block;
    position: relative;
}

.dropdown-menu > div.dropdown > .dropdown-item.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(90deg) !important;
}

/* On small screens: show sub-menu inline */
@media (max-width: 991.98px) {
    .dropdown-menu > div.dropdown > .dropdown-submenu.dropdown-menu {
        position: static !important;
        margin-left: 0;
        margin-top: 0.25rem;
        display: none;
        box-shadow: none;
        border: none;
        background: rgba(0, 0, 0, 0.05);
        padding-left: 1rem;
    }

    .dropdown-menu > div.dropdown > .dropdown-submenu.dropdown-menu.show {
        display: block;
    }

    .dropdown-menu > div.dropdown > .dropdown-item.dropdown-toggle::after {
        content: "\f078";
    }

    .dropdown-menu > div.dropdown > .dropdown-item.dropdown-toggle[aria-expanded="true"]::after {
        content: "\f077";
        transform: none !important;
    }
}
/* ============================================================
 * pliq-landing-enhanced.css
 * ============================================================ */
/* ========================================
   PLIQ LANDING PAGE ENHANCED
   "Treat Everybody Good" – Feminin, Warm, Einladend
   ======================================== */

/* ============================================
   1. FARBPALETTE & GRUNDLAGEN
   ============================================ */

:root {
    /* Warme, feminine Palette */
    --pliq-blush: #FADADD;           /* Zartrosa – Zartheit */
    --pliq-rose: #F4A0B5;            /* Rosenrosa – Liebe (backgrounds, gradients) */
    --pliq-rose-text: #C46B8A;       /* Rosenrosa für Text – WCAG 2.1 AA: 3.9:1 on white */
    --pliq-mauve: #C97B9A;           /* Mauve – Eleganz */
    --pliq-lavender: #B8A9C9;        /* Lavendel – Ruhe */
    --pliq-gold: #E8C547;            /* Warmes Gold – Wert */
    --pliq-cream: #FFF8F0;           /* Creme – Wärme */
    --pliv-mint: #A8D5BA;            /* Sanftes Mint – Frische */
    --pliq-peach: #FFDAB9;           /* Pfirsich – Freundlichkeit */
    --pliq-text: #4A3F4F;            /* Warmes Dunkel – Lesbarkeit */
    --pliq-text-light: #7A6E7D;      /* Weicheres Grau */
    --pliq-white: #FFFFFF;
    
    /* Schatten */
    --pliq-shadow-soft: 0 4px 20px rgba(244, 160, 181, 0.15);
    --pliq-shadow-medium: 0 8px 32px rgba(244, 160, 181, 0.2);
    --pliq-shadow-hover: 0 12px 40px rgba(244, 160, 181, 0.25);
    
    /* Animationen */
    --pliq-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --pliq-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. HERO SECTION – MAGISCH & EINLADEND
   ============================================ */

.landing-hero {
    background: linear-gradient(160deg, #FADADD 0%, #F4A0B5 35%, #E8A0BF 65%, #D4A0C7 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Dekorative Blütenelemente */
.landing-hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 25s ease-in-out infinite;
}

.landing-hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite reverse;
}

/* SVG-Blütenmuster Overlay */
.landing-hero .hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M60 20 C60 20, 75 35, 75 50 C75 65, 60 70, 60 70 C60 70, 45 65, 45 50 C45 35, 60 20, 60 20Z' fill='%23ffffff'/%3E%3Cpath d='M60 70 C60 70, 75 85, 75 100 C75 115, 60 120, 60 120 C60 120, 45 115, 45 100 C45 85, 60 70, 60 70Z' fill='%23ffffff' transform='rotate(45 60 95)'/%3E%3Cpath d='M60 70 C60 70, 75 85, 75 100 C75 115, 60 120, 60 120 C60 120, 45 115, 45 100 C45 85, 60 70, 60 70Z' fill='%23ffffff' transform='rotate(-45 60 95)'/%3E%3Ccircle cx='60' cy='70' r='8' fill='%23ffffff'/%3E%3C/svg%3E");
    background-size: 120px 120px;
    animation: patternDrift 60s linear infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-10px, -20px) scale(0.98); }
    75% { transform: translate(15px, 10px) scale(1.02); }
}

@keyframes patternDrift {
    from { transform: translateX(0) translateY(0); }
    to { transform: translateX(-120px) translateY(-120px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
    max-width: 800px;
}

/* Glitzernder Sternenhintergrund */
.hero-content::before {
    content: '✦ ✦ ✦';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    letter-spacing: 20px;
    opacity: 0.6;
    color: white;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(42px, 6vw, 76px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: -1px;
}

/* "Treat Everybody Good" als Untertitel */
.hero-title-sub {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(20px, 3vw, 32px);
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
    font-style: italic;
    letter-spacing: 2px;
}

.hero-quote {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(16px, 2.2vw, 22px);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
    position: relative;
    padding: 0 20px;
}

.hero-quote::before {
    content: '❝';
    font-size: 40px;
    position: absolute;
    left: -10px;
    top: -15px;
    opacity: 0.4;
}

/* Animierte CTA-Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn-glow {
    background: linear-gradient(135deg, var(--pliq-gold) 0%, #F0D060 100%);
    color: var(--pliq-text);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 18px 44px;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--pliq-smooth);
    box-shadow: 0 6px 25px rgba(232, 197, 71, 0.4), inset 0 1px 0 rgba(255,255,255,0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-glow::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;
}

.btn-glow:hover::before {
    left: 100%;
}

.btn-glow:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 35px rgba(232, 197, 71, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-lavender {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    color: var(--pliq-mauve);
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    padding: 18px 44px;
    font-size: 17px;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.4s var(--pliq-smooth);
    box-shadow: 0 6px 25px rgba(255,255,255,0.2);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-lavender:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 35px rgba(255,255,255,0.35);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.9) 100%);
    color: var(--pliq-text);
}

/* ============================================
   3. STATS SECTION – ELEGANT & WARM
   ============================================ */

.stats-section {
    background: linear-gradient(135deg, var(--pliq-cream) 0%, #FFF0F5 50%, #F5E6FF 100%);
    padding: 70px 20px;
    position: relative;
}

/* Dekorative Linie oben */
.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--pliq-rose), transparent);
    border-radius: 2px;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
    padding: 20px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '✦';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pliq-rose);
    opacity: 0.3;
    font-size: 20px;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--pliq-mauve) 0%, var(--pliq-rose) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--pliq-text-light);
    letter-spacing: 0.5px;
}

/* ============================================
   4. PRODUKT-SEKTION – VERSPIELT & LADEND
   ============================================ */

.landing-section {
    padding: 90px 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(34px, 4.5vw, 48px);
    font-weight: 700;
    color: var(--pliq-text);
    text-align: center;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* Blumige Unterstreichung */
.section-title::after {
    content: '';
    display: block;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--pliq-blush), var(--pliq-rose), var(--pliq-lavender), var(--pliq-mint));
    margin: 14px auto 0;
    border-radius: 2px;
    position: relative;
}

/* Kleines Herz in der Mitte der Linie */
.section-title::before {
    content: '♥';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16px;
    color: var(--pliq-rose);
    opacity: 0.6;
}

.section-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    color: var(--pliq-text-light);
    text-align: center;
    max-width: 600px;
    margin: 40px auto 60px;
    line-height: 1.7;
}

/* Produkt-Grid */
.products-section {
    background: linear-gradient(180deg, var(--pliq-cream) 0%, #FFFFFF 100%);
}

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

/* Produkt-Karten – Eleganz trifft Verspieltheit */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--pliq-shadow-soft);
    transition: all 0.5s var(--pliq-smooth);
    margin-bottom: 20px;
    border: 1px solid rgba(244, 160, 181, 0.1);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pliq-blush), var(--pliq-rose), var(--pliq-lavender));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--pliq-shadow-hover);
}

/* Produkt-Bild mit elegantem Gradient */
.product-image {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Verschiedene Gradient-Hintergründe für jede Produkt-Karte */
.product-card:nth-child(1) .product-image {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE4EF 50%, #FADADD 100%);
}

.product-card:nth-child(2) .product-image {
    background: linear-gradient(135deg, #FFF5EE 0%, #FFE8D6 50%, #FFDAB9 100%);
}

.product-card:nth-child(3) .product-image {
    background: linear-gradient(135deg, #F0FFF4 0%, #E8F5E9 50%, #C8E6C9 100%);
}

/* Produkt-Emoji als dekoratives Element */
.product-image span {
    font-size: 80px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
    transition: transform 0.5s var(--pliq-bounce);
}

.product-card:hover .product-image span {
    transform: scale(1.15) rotate(5deg);
}

/* Dekorative Blüten-Ecken */
.product-image::after {
    content: '🌸';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 0.8;
    transform: rotate(15deg) scale(1.2);
}

.product-info {
    padding: 32px;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--pliq-text);
    margin-bottom: 12px;
}

.product-description {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--pliq-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--pliq-rose-text);    /* WCAG 2.1 AA compliant */
    margin-bottom: 20px;
}

.product-info .btn-glow {
    padding: 14px 36px;
    font-size: 15px;
    width: 100%;
    text-align: center;
}

/* ============================================
   5. OPPORTUNITY-SEKTION – MAGISCH
   ============================================ */

.opportunity-section {
    background: linear-gradient(160deg, var(--pliq-rose) 0%, #D4A0BF 40%, #C97B9A 70%, #B8A9C9 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.opportunity-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M40 10 L45 25 L60 25 L48 35 L52 50 L40 40 L28 50 L32 35 L20 25 L35 25 Z' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    background-size: 80px 80px;
    animation: patternDrift 45s linear infinite;
}

.opportunity-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.opportunity-section .section-title {
    color: white;
}

.opportunity-section .section-title::after {
    background: linear-gradient(90deg, rgba(255,255,255,0.6), rgba(255,255,255,0.9), rgba(255,255,255,0.6));
}

.opportunity-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.opportunity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.opportunity-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s var(--pliq-smooth);
    text-align: center;
}

.opportunity-card:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.opportunity-card-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.5s var(--pliq-bounce);
}

.opportunity-card:hover .opportunity-card-icon {
    transform: scale(1.2) rotate(-5deg);
}

.opportunity-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.opportunity-card-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.9;
}

/* CTA in Opportunity Section */
.opportunity-section .btn-glow {
    font-size: 18px;
    padding: 20px 50px;
    margin-top: 20px;
}

/* ============================================
   6. COMMUNITY-SEKTION – WARM & PERSONLICH
   ============================================ */

.community-section {
    background: linear-gradient(180deg, #FFFFFF 0%, var(--pliq-cream) 100%);
}

.community-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--pliq-shadow-soft);
    transition: all 0.5s var(--pliq-smooth);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(244, 160, 181, 0.08);
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pliq-shadow-hover);
}

.community-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    position: relative;
    overflow: hidden;
}

/* Verschiedene sanfte Hintergründe */
.community-card:nth-child(1) .community-image {
    background: linear-gradient(135deg, #FFE4EF, #FADADD);
}

.community-card:nth-child(2) .community-image {
    background: linear-gradient(135deg, #E8F5E9, #F0FFF4);
}

.community-card:nth-child(3) .community-image {
    background: linear-gradient(135deg, #FFF0F5, #FFE8D6);
}

/* Blumige Dekoration */
.community-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(244,160,181,0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.community-content {
    padding: 28px;
    flex-grow: 1;
}

.community-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--pliq-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.community-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--pliq-rose), var(--pliq-lavender));
    border-radius: 2px;
}

.community-author {
    font-weight: 600;
    color: var(--pliq-mauve);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

/* ============================================
   6b. PARTY-SEKTION – EINLADEND & FESTLICH
   ============================================ */

.party-section {
    background: linear-gradient(160deg, #FFF0F5 0%, #FCE4EC 25%, #F3E5F5 50%, #E8EAF6 75%, #F0F4FF 100%);
    position: relative;
    overflow: hidden;
}

/* Dekorative Konfetti-Elemente */
.party-section::before {
    content: '🎈 🎀 ✦ 🎁 ✦ 🎀 🎈';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 18px;
    letter-spacing: 12px;
    opacity: 0.35;
    animation: gentlePulse 4s ease-in-out infinite;
}

.party-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='2' fill='rgba(244,160,181,0.15)'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    pointer-events: none;
}

.party-content {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
}

.party-section .section-subtitle {
    max-width: 700px;
}

/* Party Steps Grid */
.party-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.party-step-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 40px 28px 32px;
    text-align: center;
    border: 1px solid rgba(244, 160, 181, 0.15);
    box-shadow: var(--pliq-shadow-soft);
    transition: all 0.5s var(--pliq-smooth);
    position: relative;
}

.party-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.party-step-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--pliq-rose), var(--pliq-blush));
}
.party-step-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--pliq-lavender), var(--pliq-rose));
}
.party-step-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--pliq-gold), var(--pliq-peach));
}

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

.party-step-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--pliq-shadow-hover);
    background: rgba(255, 255, 255, 0.95);
}

/* Step Number Badge */
.party-step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.party-step-card:nth-child(1) .party-step-number {
    background: linear-gradient(135deg, var(--pliq-rose), var(--pliq-mauve));
}
.party-step-card:nth-child(2) .party-step-number {
    background: linear-gradient(135deg, var(--pliq-lavender), var(--pliq-rose));
}
.party-step-card:nth-child(3) .party-step-number {
    background: linear-gradient(135deg, var(--pliq-gold), #F0D060);
}

/* Step Icon */
.party-step-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.5s var(--pliq-bounce);
}

.party-step-card:hover .party-step-icon {
    transform: scale(1.2) rotate(-8deg);
}

.party-step-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--pliq-text);
    margin-bottom: 10px;
}

.party-step-text {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: var(--pliq-text-light);
    line-height: 1.7;
}

/* Party CTA */
.party-cta {
    text-align: center;
}

.btn-party-finder {
    font-size: 20px !important;
    padding: 22px 55px !important;
    animation: gentlePulse 3s ease-in-out infinite;
}

.btn-party-finder:hover {
    animation: none;
}

/* ============================================
   7. CTA-SEKTION – AUFRUF ZUM HANDELN
   ============================================ */

.cta-section {
    background: linear-gradient(160deg, var(--pliq-cream) 0%, #FFF0F5 50%, #F5E6FF 100%);
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.cta-section::before {
    content: '✦ ✦ ✦ ✦ ✦';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    letter-spacing: 15px;
    opacity: 0.4;
    color: var(--pliq-rose);
}

.cta-section .section-title {
    margin-bottom: 16px;
}

.cta-section .btn-glow,
.cta-section .btn-lavender {
    font-size: 18px;
    padding: 22px 55px;
}

/* ============================================
   8. FOOTER – WARM & EINLADEND
   ============================================ */

#footer {
    background: linear-gradient(160deg, #3D2B3D 0%, #2D1F2F 50%, #1F1525 100%);
    color: rgba(255, 255, 255, 0.8);
    padding: 50px 0 30px;
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pliq-blush), var(--pliq-rose), var(--pliq-lavender), var(--pliq-mint), var(--pliq-gold));
}

#footer h5 {
    color: var(--pliq-blush);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

#footer h5::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--pliq-rose);
    margin-top: 8px;
    border-radius: 1px;
}

#footer p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 0.95rem;
}

#footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--pliq-transition);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.5rem;
}

#footer a:hover {
    color: var(--pliq-blush);
    transform: translateX(3px);
}

#footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
    justify-content: center;
}

#footer .footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

#footer .footer-bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Footer Button Styling */
#footer .btn-sm {
    background: linear-gradient(135deg, var(--pliq-rose) 0%, var(--pliq-mauve) 100%);
    color: white !important;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#footer .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 160, 181, 0.3);
    color: white !important;
}

/* ============================================
   9. NAVBAR ENHANCEMENTS
   ============================================ */

/* Header rules moved to site.css (base) and design CSS files (themes)
   This section removed to allow design switcher to work properly */

/* Warenkorb-Badge */
#cartCount {
    background: linear-gradient(135deg, var(--pliq-gold), #F0D060);
    color: var(--pliq-text) !important;
    border: 2px solid #FFFFFF;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
}

/* ============================================
   10. ANIMATIONEN & ZUSATZEFFEKTE
   ============================================ */

/* Fade-In beim Scrollen */
.fade-in-up {
    animation: fadeInUp 0.8s var(--pliq-smooth) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gestaffelte Animationen für Grid-Elemente */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.25s; }
.product-card:nth-child(3) { animation-delay: 0.4s; }

.opportunity-card:nth-child(1) { animation-delay: 0.1s; }
.opportunity-card:nth-child(2) { animation-delay: 0.2s; }
.opportunity-card:nth-child(3) { animation-delay: 0.3s; }
.opportunity-card:nth-child(4) { animation-delay: 0.4s; }

.community-card:nth-child(1) { animation-delay: 0.1s; }
.community-card:nth-child(2) { animation-delay: 0.25s; }
.community-card:nth-child(3) { animation-delay: 0.4s; }

.party-step-card:nth-child(1) { animation-delay: 0.1s; }
.party-step-card:nth-child(2) { animation-delay: 0.25s; }
.party-step-card:nth-child(3) { animation-delay: 0.4s; }

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.25s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

/* Sanftes Pulsieren für wichtige Elemente */
@keyframes gentlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Glitzer-Effekt für den Hero */
@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.hero-content::before {
    animation: sparkle 3s ease-in-out infinite;
}

/* ============================================
   11. RESPONSIVE ANPASSUNGEN
   ============================================ */

@media (max-width: 992px) {
    .landing-hero {
        min-height: 70vh;
    }
    
    .hero-content {
        padding: 30px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-glow, .btn-lavender {
        width: 100%;
        max-width: 300px;
    }
    
    .stats-container {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item {
        margin: 15px 0;
    }
    
    .community-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .opportunity-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .party-steps {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        gap: 40px;
    }
    
    #header .navbar-collapse {
        background: linear-gradient(135deg, var(--pliq-blush) 0%, var(--pliq-rose) 50%, var(--pliq-mauve) 100%);
        padding: 1.5rem;
        border-radius: 16px;
        margin-top: 0.75rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    .landing-section {
        padding: 60px 15px;
    }
    
    .landing-hero {
        min-height: 60vh;
    }
    
    .product-info {
        padding: 24px;
    }
    
    .opportunity-card {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 60px 15px;
    }
}

/* ============================================
   12. UTILITY KLASSEN
   ============================================ */

.text-pliq-rose { color: var(--pliq-rose) !important; }
.text-pliq-mauve { color: var(--pliq-mauve) !important; }
.text-pliq-gold { color: var(--pliq-gold) !important; }
.text-pliq-lavender { color: var(--pliq-lavender) !important; }

.bg-pliq-cream { background-color: var(--pliq-cream) !important; }
.bg-pliq-blush { background-color: var(--pliq-blush) !important; }

.shadow-pliq { box-shadow: var(--pliq-shadow-soft) !important; }
.shadow-pliq-hover:hover { box-shadow: var(--pliq-shadow-hover) !important; }

/* ============================================================
 * product-index.css
 * ============================================================ */
/**
 * Product Index – Product Catalog Styles
 *
 * Dedicated styles for the product catalog index page.
 * Uses .product-index- prefix to avoid conflicts with other design themes.
 */

/* ===== Title ===== */
.product-index-title {
    font-size: 2rem;
    font-weight: 700;
    color: #f0a;
    margin-bottom: 0.5rem;
}

.product-index-category {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* ===== Filter Bar ===== */
.product-index-filters {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.product-index-filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1rem 1.5rem;
}

.product-index-filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-index-filter-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
}

/* Product Type Buttons */
.product-index-type-buttons .btn {
    font-size: 0.85rem;
    border-radius: 4px;
}

.product-index-type-buttons .btn-outline-primary {
    color: #f0a;
    border-color: #f0a;
}

.product-index-type-buttons .btn-outline-primary:hover {
    background: #f0a;
    color: #fff;
}

.product-index-type-buttons .btn-primary {
    background: #f0a;
    border-color: #f0a;
    color: #fff;
}

.product-index-type-buttons .btn-primary:hover {
    background: #d08;
    border-color: #d08;
    color: #fff;
}

/* Search */
.product-index-filter-search {
    margin-left: auto;
    flex: 1 1 280px;
    max-width: 350px;
    gap: 0.25rem;
}

.product-index-search-input {
    border-color: #ddd;
    border-radius: 4px 0 0 4px;
}

.product-index-search-btn {
    border-radius: 0 4px 4px 0;
    background: #f0a;
    border-color: #f0a;
}

.product-index-search-btn:hover {
    background: #d08;
    border-color: #d08;
}

/* Selects */
.product-index-category-select,
.product-index-sort-select {
    min-width: 160px;
    border-color: #ddd;
}

.product-index-category-select:focus,
.product-index-sort-select:focus {
    border-color: #f0a;
    box-shadow: 0 0 0 0.15rem rgba(255, 0, 170, 0.15);
}

/* ===== Product Cards ===== */
.product-index-grid {
    margin-top: 0;
}

.product-index-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.product-index-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Card Image */
.product-index-card-image {
    height: 220px;
    overflow: hidden;
    background: #f8f8f8;
}

.product-index-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

/* Card Placeholder (No Image) */
.product-index-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fce4f6 0%, #f3e8ff 50%, #fce4f6 100%);
}

.product-index-placeholder-icon {
    font-size: 3rem;
    color: #f0a;
    opacity: 0.4;
}

/* Card Body */
.product-index-card-body {
    padding: 1rem 1.25rem;
}

.product-index-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.product-index-card-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.15s ease;
}

.product-index-card-title a:hover {
    color: #f0a;
    text-decoration: none;
}

.product-index-card-teaser {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card Price */
.product-index-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f0a;
    margin-bottom: 0.75rem;
}

.product-index-card-price span {
    font-size: 0.75rem;
    font-weight: 400;
    color: #999;
}

/* Card Actions */
.product-index-card-actions {
    margin-top: auto;
}

.product-index-btn-cart {
    width: 100%;
    background: #f0a;
    border-color: #f0a;
    font-size: 0.875rem;
}

.product-index-btn-cart:hover {
    background: #d08;
    border-color: #d08;
}

.product-index-btn-oos {
    background: #6c757d;
    border-color: #6c757d;
    opacity: 0.7;
    cursor: not-allowed;
}

.product-index-btn-oos:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.product-index-btn-details {
    width: 100%;
    font-size: 0.875rem;
    color: #f0a;
    border-color: #f0a;
}

.product-index-btn-details:hover {
    background: #f0a;
    color: #fff;
}

/* ===== Empty State ===== */
.product-index-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #888;
}

.product-index-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.product-index-empty h3 {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.product-index-empty p {
    font-size: 0.95rem;
}

/* ===== Pagination ===== */
.product-index-pagination {
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.product-index-pagination .page-link {
    color: #f0a;
    border-color: #eee;
}

.product-index-pagination .page-item.active .page-link {
    background: #f0a;
    border-color: #f0a;
    color: #fff;
}

.product-index-pagination .page-link:hover {
    background: #fce4f6;
    color: #d08;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
    .product-index-filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .product-index-filter-group {
        justify-content: space-between;
    }

    .product-index-filter-search {
        margin-left: 0;
        max-width: none;
    }

    .product-index-type-buttons {
        flex-wrap: wrap;
        gap: 0.25rem;
    }

    .product-index-type-buttons .btn {
        flex: 1 1 auto;
        font-size: 0.78rem;
        padding: 0.3rem 0.5rem;
    }

    .product-index-category-select,
    .product-index-sort-select {
        width: 100%;
    }

    .product-index-card-image {
        height: 180px;
    }
}

@media (max-width: 575.98px) {
    .product-index-title {
        font-size: 1.5rem;
    }

    .product-index-filters {
        padding: 0.75rem 1rem;
    }

    .product-index-filter-label {
        display: none;
    }

    .product-index-card-image {
        height: 160px;
    }

    .product-index-card-body {
        padding: 0.75rem 1rem;
    }

    .product-index-card-title {
        font-size: 0.88rem;
    }

    .product-index-card-teaser {
        -webkit-line-clamp: 2;
        font-size: 0.8rem;
    }
}

/* ============================================================
 * basket.css
 * ============================================================ */
/* Basket / Warenkorb Styles */

.basket-container {
    padding: 20px 0;
}

.basket-items {
    max-height: 800px;
    overflow-y: auto;
}

.basket-item {
    transition: box-shadow 0.3s ease;
}

.basket-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.basket-item-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.basket-item-attributes {
    font-size: 0.85rem;
}

.basket-item-attributes .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

.basket-item-price {
    font-size: 1.1rem;
}

.basket-item-price h5 {
    font-weight: 600;
    color: #28a745;
}

.basket-summary {
    font-size: 0.95rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.summary-row.total-row {
    font-size: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #dee2e6;
}

/* Quantity controls */
.quantity-display {
    text-align: center;
    font-weight: 600;
    background-color: #f8f9fa;
}

.btn-group .btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .basket-item {
        margin-bottom: 1rem;
    }
    
    .basket-item-price {
        text-align: left;
        margin-top: 1rem;
    }
    
    .summary-row {
        font-size: 0.9rem;
    }
    
    .summary-row.total-row {
        font-size: 1.1rem;
    }
}

/* Loading state */
.basket-item.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Error state */
.basket-item.error {
    border-left: 4px solid #dc3545;
}

.basket-item.error .basket-item-title {
    color: #dc3545;
}

/* ============================================================
 * princess-finder.css
 * ============================================================ */
/**
 * Princess Finder Styles
 */

.princess-finder-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #fce4ec 0%, #f3e5f5 50%, #e8eaf6 100%);
    padding: 40px 20px;
}

.pf-container {
    max-width: 700px;
    margin: 0 auto;
}

/* Header */
.pf-header {
    text-align: center;
    margin-bottom: 40px;
}

.pf-header h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.pf-header p {
    font-size: 16px;
    color: #666;
}

/* Search Form */
.pf-search-form {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pf-input-group {
    display: flex;
    gap: 10px;
}

.pf-input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.pf-input:focus {
    outline: none;
    border-color: #e91e8f;
}

.pf-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

/* Buttons */
.pf-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pf-btn-primary {
    background: linear-gradient(135deg, #e91e8f, #9b59b6);
    color: white;
}

.pf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 143, 0.4);
}

.pf-btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.pf-btn-secondary:hover {
    background: #e0e0e0;
}

.pf-btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.pf-btn-icon {
    font-size: 18px;
}

/* Results */
.pf-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pf-results-header h2 {
    font-size: 22px;
    color: #333;
    margin: 0;
}

.pf-results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pf-princess-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pf-princess-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.pf-princess-info h3 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 18px;
}

.pf-princess-info p {
    margin: 3px 0;
    color: #888;
    font-size: 14px;
}

.pf-princess-distance {
    color: #9b59b6;
    font-weight: 600;
}

.pf-princess-actions {
    flex-shrink: 0;
    margin-left: 15px;
}

/* Modal */
.pf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.pf-modal {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.pf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.pf-modal-header h3 {
    margin: 0;
    color: #333;
}

.pf-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
}

.pf-modal-close:hover {
    color: #333;
}

.pf-modal-body {
    padding: 25px;
}

/* Form */
.pf-form-group {
    margin-bottom: 18px;
}

.pf-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

/* Captcha */
.pf-captcha-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pf-captcha-image {
    flex-shrink: 0;
}

.pf-captcha-input {
    flex: 1;
}

/* Messages */
.pf-error {
    color: #d32f2f;
    background: #ffebee;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
}

.pf-success {
    color: #2e7d32;
    background: #e8f5e9;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
}

/* Loading */
.pf-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive */
@media (max-width: 600px) {
    .pf-input-group {
        flex-direction: column;
    }

    .pf-princess-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .pf-princess-actions {
        margin-left: 0;
    }
}

/* ============================================================
 * messaging.css
 * ============================================================ */
/**
 * Messaging Styles – Shared across fieldworker, customer, staff
 */

.msg-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.msg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e8f;
}

.msg-header h1 {
    margin: 0;
    font-size: 24px;
    color: #333;
}

.msg-unread-badge {
    background: #e91e8f;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.msg-back-link {
    color: #9b59b6;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 8px;
}

.msg-back-link:hover {
    text-decoration: underline;
}

/* Badges */
.msg-type-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    background: #f3e5f5;
    color: #9b59b6;
    margin-left: 10px;
}

.msg-status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    background: #e8eaf6;
    color: #5c6bc0;
}

/* Empty State */
.msg-empty {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.msg-empty-hint {
    font-size: 14px;
    color: #bbb;
}

/* Conversation List */
.msg-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.msg-card {
    background: white;
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid transparent;
    transition: transform 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.msg-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.msg-card.msg-unread {
    border-left-color: #e91e8f;
    background: #fce4ec;
}

.msg-card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.msg-card-title {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.msg-card-title a {
    color: #333;
    text-decoration: none;
}

.msg-card-title a:hover {
    color: #e91e8f;
}

.msg-card-from {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.msg-card-preview {
    margin: 8px 0 4px 0;
    font-size: 14px;
    color: #888;
    line-height: 1.4;
}

.msg-card-date {
    font-size: 12px;
    color: #aaa;
}

/* Thread */
.msg-thread {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.msg-bubble {
    max-width: 80%;
    padding: 14px 18px;
    border-radius: 16px;
    position: relative;
}

.msg-mine {
    align-self: flex-end;
    background: linear-gradient(135deg, #e91e8f, #9b59b6);
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-theirs {
    align-self: flex-start;
    background: white;
    color: #333;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.msg-bubble-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 12px;
}

.msg-mine .msg-sender {
    color: rgba(255, 255, 255, 0.8);
}

.msg-mine .msg-time {
    color: rgba(255, 255, 255, 0.6);
}

.msg-theirs .msg-sender {
    color: #9b59b6;
    font-weight: 600;
}

.msg-theirs .msg-time {
    color: #aaa;
}

.msg-body {
    line-height: 1.5;
    white-space: pre-wrap;
}

.msg-metadata {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
}

.msg-mine .msg-metadata span {
    color: rgba(255, 255, 255, 0.9);
}

.msg-theirs .msg-metadata span {
    color: #666;
}

/* Reply Form */
.msg-reply-form {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 15px 0;
}

.msg-reply-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s;
}

.msg-reply-input:focus {
    outline: none;
    border-color: #e91e8f;
}

.msg-reply-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.msg-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.msg-btn-primary {
    background: linear-gradient(135deg, #e91e8f, #9b59b6);
    color: white;
}

.msg-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 30, 143, 0.4);
}

.msg-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.msg-error {
    color: #d32f2f;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 600px) {
    .msg-bubble {
        max-width: 95%;
    }

    .msg-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* ============================================================
 * fieldworker.css
 * ============================================================ */
/**
 * Fieldworker Dashboard - Styles
 * CSS-Datei für das Fieldworker Modul
 */

.fieldworker-dashboard {
    padding: 20px;
}

/* Chart Container */
#chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

/* Date Range Input Group */
.input-group .form-control {
    border-right: none;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .input-group-text {
    border-left: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Card Titles */
.card-title {
    font-weight: 600;
    margin-bottom: 0;
}

/* Loading Indicator */
.chart-loading {
    display: none;
    text-align: center;
    padding: 40px;
}

.chart-loading.active {
    display: block;
}

/* Empty State */
.text-empty {
    font-style: italic;
    color: #999;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .fieldworker-dashboard {
        padding: 10px;
    }

    #chart-container {
        height: 250px;
    }
}

/* Hierarchy Card Improvements */
.team-hierarchy .card {
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-hierarchy .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.team-hierarchy .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Expand/Collapse Button */
.expand-btn {
    transition: all 0.2s ease;
}

.expand-btn:hover {
    background-color: rgba(0, 123, 255, 0.1);
    transform: scale(1.05);
}

/* Badge Styles */
.badge {
    font-weight: 500;
    padding: 5px 10px;
}

/* Team Overview Cards */
.team-overview .card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-overview .card-body {
    padding: 20px;
}

.team-overview h4 {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 1rem;
}

.team-overview h2 {
    margin-bottom: 0;
}

/* Team Members Display */
.team-member .member-info {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.team-member .member-info p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.team-member .member-info strong {
    color: #495057;
}

/* Children Container */
.team-member-children {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid #e0e0e0;
}

.team-member-children .card {
    margin-bottom: 10px;
    border: 1px solid #f0f0f0;
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .stat-card {
        padding: 10px;
        margin-bottom: 10px;
    }

    .stat-card h4 {
        font-size: 0.9rem;
    }

    .stat-card h2 {
        font-size: 1.5rem;
    }

    .team-member-children {
        padding-left: 10px;
    }
}

/* Print Styles */
@media print {
    .fieldworker-dashboard .card {
        break-inside: avoid;
    }

    .chart-container {
        page-break-inside: avoid;
    }
}

/* ============================================================
 * WCAG 2.1 AA – Accessibility Fixes
 * ============================================================ */

/* Screen-reader only (visually hidden but accessible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Landing page – inline style replacements */
.hero-btn-spaced {
    margin-left: 16px;
}

.product-card-btn {
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title-white {
    color: #ffffff;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.9);
}

.opportunity-cta-wrapper {
    text-align: center;
    margin-top: 60px;
}

.cta-buttons-wrapper {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-lg {
    font-size: 18px;
    padding: 20px 60px;
}

/* Country modal – WCAG compliant hint text color */
.country-modal-hint {
    color: #767676 !important;  /* WCAG 2.1 AA: 4.65:1 on white */
}

.country-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px;
}

/* Footer – inline style replacements */
.footer-title {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
}

.footer-links-wrapper {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-link-btn {
    background: var(--beauty-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ============================================
   Promoted Products Carousel Widget
   ============================================ */

.promoted-products-carousel {
    margin-bottom: 1.25rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.promoted-product-slide {
    display: flex;
    flex-direction: row;
    min-height: 240px;
    background: #ffffff;
}

/* Image Side */
.promoted-product-image-side {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.promoted-product-image-side img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.promoted-product-placeholder {
    width: 100%;
    height: 100%;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 5rem;
}

/* Content Side */
.promoted-product-content-side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: #ffffff;
}

.promoted-badge {
    display: inline-block;
    align-self: flex-start;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #ffffff;
    border-radius: 20px;
    padding: 0.3rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.promoted-product-name {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.promoted-product-teaser {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.75rem;
    flex-grow: 1;
}

.promoted-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.promoted-product-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.promoted-product-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.promoted-btn-cart {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    transition: var(--transition);
}

.promoted-btn-cart:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.promoted-btn-details {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.3rem;
    border-radius: 6px;
    transition: var(--transition);
}

.promoted-btn-details:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.promoted-btn-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.promoted-btn-link:hover {
    color: var(--primary-color);
}

/* Carousel controls */
.promoted-products-carousel .carousel-control-prev,
.promoted-products-carousel .carousel-control-next {
    background-image: none !important;
    width: 50px;
    opacity: 0;
    transition: var(--transition);
    z-index: 5;
}

.promoted-products-carousel:hover .carousel-control-prev,
.promoted-products-carousel:hover .carousel-control-next {
    opacity: 0.5;
}

.promoted-products-carousel .carousel-control-prev:hover,
.promoted-products-carousel .carousel-control-next:hover {
    opacity: 0.9;
}

.promoted-products-carousel .carousel-control-prev-icon,
.promoted-products-carousel .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Carousel indicators */
.promoted-products-carousel .carousel-indicators {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-bottom: 0;
    padding: 0.75rem;
    justify-content: center;
    background: linear-gradient(to top, rgba(0,0,0,0.15), transparent);
    z-index: 5;
}

.promoted-products-carousel .carousel-indicators [data-bs-target] {
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    width: 10px;
    height: 10px;
    margin: 0 4px;
    transition: var(--transition);
    opacity: 1;
}

.promoted-products-carousel .carousel-indicators .active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    width: 24px;
}

/* Single product (no carousel behavior) */
.promoted-products-carousel.carousel-static .carousel-item {
    display: flex;
}

/* Responsive */
@media (max-width: 767.98px) {
    .promoted-product-slide {
        flex-direction: column;
        min-height: auto;
    }

    .promoted-product-image-side {
        min-height: 200px;
    }

    .promoted-product-image-side img {
        min-height: 200px;
    }

    .promoted-product-placeholder {
        min-height: 200px;
    }

    .promoted-product-content-side {
        padding: 1.5rem;
    }

    .promoted-product-name {
        font-size: 1.3rem;
    }

    .promoted-product-teaser {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .promoted-product-price {
        font-size: 1.2rem;
    }

    .promoted-products-carousel .carousel-control-prev,
    .promoted-products-carousel .carousel-control-next {
        display: none;
    }
}

/* =================================================================
   Promoted Products Carousel — Animations
   ================================================================= */

/* --- Keyframes --- */

@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Carousel item base (hidden until active) --- */

.promoted-products-carousel .carousel-item {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.promoted-products-carousel .carousel-item:not(.active) {
    opacity: 0;
}

/* --- Animate content children when the slide becomes active --- */

.promoted-products-carousel .carousel-item.active .promoted-product-badge,
.promoted-products-carousel .carousel-item.active .promoted-product-name,
.promoted-products-carousel .carousel-item.active .promoted-product-teaser,
.promoted-products-carousel .carousel-item.active .promoted-product-price,
.promoted-products-carousel .carousel-item.active .promoted-product-actions {
    animation: fadeInSlideUp 0.5s ease forwards;
}

/* Staggered delays — elements appear in reading order */

.promoted-products-carousel .carousel-item.active .promoted-product-badge {
    animation-delay: 0.05s;
}

.promoted-products-carousel .carousel-item.active .promoted-product-name {
    animation-delay: 0.15s;
}

.promoted-products-carousel .carousel-item.active .promoted-product-teaser {
    animation-delay: 0.25s;
}

.promoted-products-carousel .carousel-item.active .promoted-product-price {
    animation-delay: 0.35s;
}

.promoted-products-carousel .carousel-item.active .promoted-product-actions {
    animation-delay: 0.45s;
}

/* --- Image side — scale-in on active --- */

.promoted-products-carousel .carousel-item .promoted-product-image-side {
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.promoted-products-carousel .carousel-item:not(.active) .promoted-product-image-side {
    opacity: 0;
    transform: scale(0.92);
}

.promoted-products-carousel .carousel-item.active .promoted-product-image-side {
    animation: fadeInScale 0.6s ease forwards;
}

/* --- Content side — initial state before animation kicks in --- */

.promoted-products-carousel .carousel-item .promoted-product-badge,
.promoted-products-carousel .carousel-item .promoted-product-name,
.promoted-products-carousel .carousel-item .promoted-product-teaser,
.promoted-products-carousel .carousel-item .promoted-product-price,
.promoted-products-carousel .carousel-item .promoted-product-actions {
    opacity: 0;
}

/* --- Controls — smooth fade --- */

.promoted-products-carousel .carousel-control-prev,
.promoted-products-carousel .carousel-control-next {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}

.promoted-products-carousel:hover .carousel-control-prev,
.promoted-products-carousel:hover .carousel-control-next {
    opacity: 1;
}

.promoted-products-carousel .carousel-control-prev {
    transform: translateX(-8px);
}

.promoted-products-carousel .carousel-control-next {
    transform: translateX(8px);
}

.promoted-products-carousel:hover .carousel-control-prev,
.promoted-products-carousel:hover .carousel-control-next {
    transform: translateX(0);
}

/* --- Indicators — subtle pulse on active --- */

@keyframes indicatorPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 200, 100, 140), 0.4);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 200, 100, 140), 0);
    }
}

.promoted-products-carousel .carousel-indicators .active {
    animation: indicatorPulse 2s ease-in-out infinite;
}
/* ========================================
   Suggest Module – Pliq Design
   ======================================== */

.suggest-index h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

/* ---- Child selection cards ---- */
.suggest-child-card {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: var(--pliq-radius-sm, 8px);
    transition: all 0.2s ease;
    padding: 0.75rem 1rem;
    background: var(--pliq-off-white, #F8F8F8);
}

.suggest-child-card:hover {
    background: var(--pliq-primary-light, #E8A8CC);
    border-color: var(--pliq-blush, #FAB1E2);
}

.suggest-child-card.selected {
    background: var(--pliq-primary-light, #E8A8CC);
    border-color: var(--pliq-primary, #C6519F);
    box-shadow: 0 0 0 3px rgba(198, 81, 159, 0.15);
}

.suggest-child-card .child-name {
    font-weight: 600;
    color: var(--pliq-charcoal, #2F3034);
}

.suggest-child-card .child-email {
    font-size: 0.85rem;
    color: var(--pliq-slate, #6D6E71);
}

.suggest-child-card .child-id-badge {
    font-size: 0.75rem;
    background: var(--pliq-primary, #C6519F);
    color: #fff;
}

.suggest-child-card.selected .child-id-badge {
    background: var(--pliq-primary-dark, #A84182);
}

/* ---- Card headers ---- */
.suggest-index .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.suggest-index .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

/* ---- Submit button ---- */
.suggest-submit-btn {
    background: var(--pliq-primary, #C6519F);
    border-color: var(--pliq-primary, #C6519F);
    color: #fff;
    border-radius: var(--pliq-radius-cta, 10px);
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    transition: all 0.2s ease;
}

.suggest-submit-btn:hover {
    background: var(--pliq-primary-dark, #A84182);
    border-color: var(--pliq-primary-dark, #A84182);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 81, 159, 0.3);
}

.suggest-submit-btn:disabled {
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* ---- Inline feedback ---- */
.suggest-feedback {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--pliq-radius-sm, 8px);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    animation: suggestFadeIn 0.3s ease;
}

.suggest-feedback.success {
    display: block;
    background: rgba(25, 135, 84, 0.1);
    border: 1px solid rgba(25, 135, 84, 0.3);
    color: #198754;
}

.suggest-feedback.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

@keyframes suggestFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Selection hint ---- */
.suggest-selection-hint {
    font-size: 0.85rem;
    color: var(--pliq-slate, #6D6E71);
    font-style: italic;
    margin-bottom: 0.75rem;
}

/* ---- My suggestions page ---- */
.suggest-my h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.suggest-my .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.suggest-my .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.suggest-my .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

.suggest-my .notes-cell {
    max-width: 250px;
    word-wrap: break-word;
}

/* ---- Commission index page ---- */
.commission-index h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.commission-index .summary-card {
    border: 1px solid var(--pliq-blush, #FAB1E2);
    border-radius: var(--pliq-radius-sm, 8px);
    transition: all 0.2s ease;
}

.commission-index .summary-card:hover {
    box-shadow: 0 4px 12px rgba(198, 81, 159, 0.15);
    transform: translateY(-2px);
}

.commission-index .summary-card h2 {
    color: var(--pliq-primary, #C6519F);
    font-weight: 700;
}

.commission-index .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.commission-index .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.commission-index .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.commission-index .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* Empty state */
.suggest-empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.suggest-empty-state .empty-icon {
    font-size: 3rem;
    color: var(--pliq-primary-light, #E8A8CC);
    margin-bottom: 1rem;
}

.suggest-empty-state .empty-text {
    color: var(--pliq-slate, #6D6E71);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   Media Module – Cards & Upload
   ======================================== */

/* ---- Media card ---- */
.media-card {
    border: 1px solid rgba(198, 81, 159, 0.15);
    border-radius: var(--pliq-radius-sm, 8px);
    overflow: hidden;
    transition: all 0.2s ease;
    background: #fff;
}

.media-card:hover {
    box-shadow: 0 4px 16px rgba(198, 81, 159, 0.12);
    transform: translateY(-2px);
}

/* Preview area */
.media-card-preview {
    width: 100%;
    height: 180px;
    background: var(--pliq-off-white, #F8F8F8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.media-card-preview .media-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-icon-placeholder {
    font-size: 3rem;
    color: var(--pliq-primary-light, #E8A8CC);
}

/* Card body */
.media-card-name {
    font-weight: 600;
    color: var(--pliq-charcoal, #2F3034);
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.media-card-meta {
    display: flex;
    align-items: center;
}

.media-delete-form {
    margin: 0;
}

.media-delete-btn {
    font-size: 0.8rem;
}

.media-delete-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

/* ========================================
   Order Module – Summary Cards, Tables
   ======================================== */

/* ---- Summary cards ---- */
.summary-card {
    border: 1px solid rgba(198, 81, 159, 0.15);
    border-radius: var(--pliq-radius-sm, 8px);
    transition: all 0.2s ease;
    background: #fff;
}

.summary-card:hover {
    box-shadow: 0 4px 12px rgba(198, 81, 159, 0.15);
    transform: translateY(-2px);
}

.summary-card .card-body {
    padding: 1.25rem;
    text-align: center;
}

.summary-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pliq-slate, #6D6E71);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
}

.summary-total .summary-value { color: var(--pliq-primary, #C6519F); }
.summary-amount .summary-value { color: #198754; }
.summary-pending .summary-value { color: #fd7e14; }
.summary-completed .summary-value { color: #0dcaf0; }

/* ---- Order index page ---- */
.order-index h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.order-index .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.order-index .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.order-index .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.order-index .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* ---- Order detail page ---- */
.order-view h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.order-view .detail-table th {
    color: var(--pliq-slate, #6D6E71);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 40%;
    padding: 0.5rem 0;
}

.order-view .detail-table td {
    font-weight: 500;
    padding: 0.5rem 0;
}

.order-view .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.order-view .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* ========================================
   Commission Detail Page
   ======================================== */

.commission-view h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.commission-view .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.commission-view .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.commission-view .detail-table th {
    color: var(--pliq-slate, #6D6E71);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    width: 40%;
    padding: 0.5rem 0;
}

.commission-view .detail-table td {
    font-weight: 500;
    padding: 0.5rem 0;
}

.commission-view .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.commission-view .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* Summary table */
.commission-view .summary-table th {
    font-size: 0.9rem;
    color: var(--pliq-slate, #6D6E71);
    padding: 0.5rem 0;
}

.commission-view .summary-table td {
    font-weight: 600;
    padding: 0.5rem 0;
}

.commission-view .summary-table tr.border-top td,
.commission-view .summary-table tr.border-top th {
    border-top: 2px solid var(--pliq-blush, #FAB1E2) !important;
    padding-top: 0.75rem;
}

/* ========================================
   Breadcrumbs – Unified Fieldworker Style
   ======================================== */

.order-index .breadcrumb,
.commission-index .breadcrumb,
.commission-view .breadcrumb,
.customers-index .breadcrumb,
.customer-view .breadcrumb,
.customer-form .breadcrumb,
.suggest-index .breadcrumb,
.suggest-my .breadcrumb,
.fieldworker-dashboard .breadcrumb,
.message-index .breadcrumb,
.message-view .breadcrumb {
    background: none !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.order-index .breadcrumb li,
.commission-index .breadcrumb li,
.commission-view .breadcrumb li,
.customers-index .breadcrumb li,
.customer-view .breadcrumb li,
.customer-form .breadcrumb li,
.suggest-index .breadcrumb li,
.suggest-my .breadcrumb li,
.fieldworker-dashboard .breadcrumb li,
.message-index .breadcrumb li,
.message-view .breadcrumb li {
    display: inline;
    padding: 0 !important;
}

.order-index .breadcrumb li a,
.commission-index .breadcrumb li a,
.commission-view .breadcrumb li a,
.customers-index .breadcrumb li a,
.customer-view .breadcrumb li a,
.customer-form .breadcrumb li a,
.suggest-index .breadcrumb li a,
.suggest-my .breadcrumb li a,
.fieldworker-dashboard .breadcrumb li a,
.message-index .breadcrumb li a,
.message-view .breadcrumb li a {
    color: var(--pliq-primary, #C6519F) !important;
    text-decoration: none;
    font-weight: 500;
}

.order-index .breadcrumb li a:hover,
.commission-index .breadcrumb li a:hover,
.commission-view .breadcrumb li a:hover,
.customers-index .breadcrumb li a:hover,
.customer-view .breadcrumb li a:hover,
.customer-form .breadcrumb li a:hover,
.suggest-index .breadcrumb li a:hover,
.suggest-my .breadcrumb li a:hover,
.fieldworker-dashboard .breadcrumb li a:hover,
.message-index .breadcrumb li a:hover,
.message-view .breadcrumb li a:hover {
    color: var(--pliq-primary-dark, #A84182) !important;
    text-decoration: underline;
}

.order-index .breadcrumb li.active,
.commission-index .breadcrumb li.active,
.commission-view .breadcrumb li.active,
.customers-index .breadcrumb li.active,
.customer-view .breadcrumb li.active,
.customer-form .breadcrumb li.active,
.suggest-index .breadcrumb li.active,
.suggest-my .breadcrumb li.active,
.fieldworker-dashboard .breadcrumb li.active,
.message-index .breadcrumb li.active,
.message-view .breadcrumb li.active {
    color: var(--pliq-slate, #6D6E71) !important;
}

.order-index .breadcrumb li + li::before,
.commission-index .breadcrumb li + li::before,
.commission-view .breadcrumb li + li::before,
.customers-index .breadcrumb li + li::before,
.customer-view .breadcrumb li + li::before,
.customer-form .breadcrumb li + li::before,
.suggest-index .breadcrumb li + li::before,
.suggest-my .breadcrumb li + li::before,
.fieldworker-dashboard .breadcrumb li + li::before,
.message-index .breadcrumb li + li::before,
.message-view .breadcrumb li + li::before {
    content: "›" !important;
    color: var(--pliq-primary, #C6519F) !important;
    opacity: 0.6;
    font-size: 1.1rem;
    font-weight: 700;
}

/* ========================================
   Customer Module – Index, View, Form
   ======================================== */

.customers-index h1,
.customer-view h1,
.customer-form h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

/* ---- Customer index page ---- */
.customers-index .summary-card {
    border: 1px solid var(--pliq-blush, #FAB1E2);
    border-radius: var(--pliq-radius-sm, 8px);
    transition: all 0.2s ease;
}

.customers-index .summary-card:hover {
    box-shadow: 0 4px 12px rgba(198, 81, 159, 0.15);
    transform: translateY(-2px);
}

.customers-index .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.customers-index .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.customers-index .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.customers-index .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* ---- Customer view page ---- */
.customer-view .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.customer-view .card-header h5 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

.customer-view .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.customer-view .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.04);
}

/* ---- Customer form page ---- */
.customer-form .card-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.08), rgba(255, 206, 235, 0.15));
    border-bottom: 2px solid var(--pliq-blush, #FAB1E2);
}

.customer-form .card-header h5 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0;
}

/* ========================================
   Commission Level Groups
   ======================================== */
.commission-level-group {
    border-bottom: 1px solid rgba(198, 81, 159, 0.1);
}
.commission-level-group:last-child {
    border-bottom: none;
}
.commission-level-header {
    background: linear-gradient(135deg, rgba(198, 81, 159, 0.06), rgba(255, 206, 235, 0.12));
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--pliq-primary, #C6519F);
}
.commission-level-header strong {
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.8rem;
}
.commission-level-header .float-end {
    color: var(--pliq-charcoal, #2F3034);
    font-size: 1rem;
}

/* ---- Summary card: active ---- */
.summary-active .summary-value { color: var(--pliq-primary, #C6519F); }

/* ---- Message index page ---- */
.message-index h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.message-index .card-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--beauty-primary-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--beauty-primary);
}

.message-index .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 0;
}

.message-index .table thead th {
    color: var(--pliq-primary, #C6519F);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--beauty-primary-light);
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
}

.message-index .table tbody tr:hover {
    background: rgba(198, 81, 159, 0.05);
}

/* ---- Message view page ---- */
.message-view h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.message-view .card-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--beauty-primary-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--beauty-primary);
}

.message-view .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ---- Fieldworker Dashboard ---- */
.fieldworker-dashboard h1 {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
}

.fieldworker-dashboard .card-header {
    background: var(--bg-secondary);
    border-bottom: 2px solid var(--beauty-primary-light);
    padding: 1.5rem;
    font-weight: 600;
    color: var(--beauty-primary);
}

.fieldworker-dashboard .card-header .card-title {
    color: var(--pliq-primary, #C6519F);
    font-family: var(--pliq-font-heading, 'Open Sans Condensed', sans-serif);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ============================================================
   PRODUCT COUNTDOWN – Promo Timer Widget
   ============================================================ */

/* Card with countdown-to-start: greyed out */
.product-index-card.countdown-to-start {
    opacity: 0.65;
    pointer-events: none;
    position: relative;
}

.product-index-card.countdown-to-start:hover {
    transform: none;
    box-shadow: none;
}

/* Full card overlay (countdown to start) */
.product-countdown-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(252, 228, 246, 0.92) 0%, rgba(243, 232, 255, 0.92) 50%, rgba(252, 228, 246, 0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.product-countdown-overlay-content {
    text-align: center;
    padding: 1.5rem;
}

.product-countdown-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: countdown-pulse 2s ease-in-out infinite;
}

.product-countdown-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #C6519F;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: #9333ea;
    font-variant-numeric: tabular-nums;
}

.product-countdown-timer .countdown-separator {
    color: #C6519F;
    margin: 0 2px;
}

/* Badge (countdown to end – ending soon) */
.product-countdown-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: linear-gradient(135deg, #C6519F 0%, #9333ea 100%);
    color: #fff;
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 2px 8px rgba(198, 81, 159, 0.4);
    animation: countdown-badge-pulse 2s ease-in-out infinite;
    white-space: nowrap;
}

.product-countdown-badge-icon {
    font-size: 0.85rem;
}

.product-countdown-badge-label {
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.65rem;
}

.product-countdown-badge-timer {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    margin-left: 0.2rem;
}

/* Animations */
@keyframes countdown-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
}

@keyframes countdown-badge-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(198, 81, 159, 0.4); }
    50% { box-shadow: 0 2px 16px rgba(147, 51, 234, 0.6); }
}

/* Responsive: smaller timers on mobile */
@media (max-width: 576px) {
    .product-countdown-overlay {
        background: linear-gradient(135deg, rgba(252, 228, 246, 0.95) 0%, rgba(243, 232, 255, 0.95) 100%);
    }

    .product-countdown-icon {
        font-size: 2rem;
    }

    .product-countdown-label {
        font-size: 0.85rem;
    }

    .product-countdown-timer {
        font-size: 1.3rem;
    }

    .product-countdown-badge {
        top: 0.35rem;
        right: 0.35rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.6rem;
    }

    .product-countdown-badge-label {
        display: none; /* Hide label on small screens, keep timer */
    }

    .product-countdown-badge-icon {
        font-size: 0.75rem;
    }
}

/* ============================================================
   PRODUCT DETAIL PAGE – Countdown Widget
   ============================================================ */

.product-view-countdown-start {
    background: linear-gradient(135deg, rgba(252, 228, 246, 0.95) 0%, rgba(243, 232, 255, 0.95) 100%);
    border: 2px solid #C6519F;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.product-view-countdown-start .product-view-countdown-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    animation: countdown-pulse 2s ease-in-out infinite;
}

.product-view-countdown-start .product-view-countdown-label {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #C6519F;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.product-view-countdown-start .product-view-countdown-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9333ea;
    font-variant-numeric: tabular-nums;
}

.product-view-countdown-end {
    background: linear-gradient(135deg, #C6519F 0%, #9333ea 100%);
    color: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    animation: countdown-badge-pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(198, 81, 159, 0.3);
}

.product-view-countdown-end .product-view-countdown-badge-icon {
    font-size: 1.3rem;
}

.product-view-countdown-end .product-view-countdown-label {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-view-countdown-end .product-view-countdown-timer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   VARIANT COUNTDOWN BADGES (on Master/Bundle detail page)
   ============================================================ */

.variant-countdown-badge {
    font-size: 0.85rem;
    margin-left: 0.4rem;
    vertical-align: middle;
}

.variant-countdown-start {
    animation: countdown-pulse 2s ease-in-out infinite;
}

.variant-countdown-end {
    animation: countdown-badge-pulse 2s ease-in-out infinite;
}

/* ===== Extracted inline styles (M2 migration) ===== */

/* Environment banner (was inline in views/layouts/main.php) */
.env-banner {
    background: repeating-linear-gradient(135deg, #dc3545, #dc3545 10px, #b02a37 10px, #b02a37 20px);
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Large status icons (checkout success/error) */
.icon-xl {
    font-size: 80px;
}

/* Country modal overlay */
.country-modal-overlay {
    display: flex;
}

/* Sparkle emoji (site index) */
.sparkle-icon {
    font-size: 60px;
    color: #6A5ACD;
}

/* Basket quantity input width */
.basket-qty-input {
    width: 60px;
}

/* ========================================================================
   Gift Card Designer (Basket)
   ======================================================================== */

/* Pink button variants */
.btn-pink {
    color: #fff;
    background: linear-gradient(135deg, var(--pliq-rose) 0%, var(--pliq-mauve) 100%);
    border-color: var(--pliq-mauve);
}
.btn-pink:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--pliq-mauve) 0%, #a06080 100%);
    border-color: #a06080;
}

.btn-outline-pink {
    color: var(--pliq-mauve);
    border-color: var(--pliq-rose);
}
.btn-outline-pink:hover {
    color: #fff;
    background-color: var(--pliq-rose);
    border-color: var(--pliq-mauve);
}

/* Giftcard Background Image Thumbnail Grid */
.gc-bg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    max-height: 180px;
    overflow-y: auto;
    padding: 4px;
}

.gc-bg-thumb {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.gc-bg-thumb:hover {
    border-color: #adb5bd;
}

.gc-bg-thumb.active {
    border-color: var(--pliq-rose);
    box-shadow: 0 0 0 2px rgba(244, 160, 181, 0.35);
}

/* Personalize button */
.giftcard-personalize-btn {
    font-size: 0.85rem;
}

.giftcard-neutral-badge {
    font-size: 0.75rem;
}
