/* ===========================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   =========================================== */
:root {
    /* Giftwrap Primary Palette */
    --giftwrap-primary: #046bd2;
    --giftwrap-primary-light: #84bcf8;
    --giftwrap-primary-dark: #012c59;
    --giftwrap-secondary: #0099cc;
    --giftwrap-secondary-light: #85abe8;
    --giftwrap-secondary-dark: #034c95;
    --giftwrap-accent: #ffc107;
    --giftwrap-danger: #f21632;
    --giftwrap-success: #4caf50;
    --giftwrap-gray: #f5f5f5;
    --giftwrap-text: #49506f;
    --giftwrap-darkblue: #1b2b4d;
    --giftwrap-lightblue: #1c94c6;
    --giftwrap-red: #e7333c;
    --giftwrap-green: #4caf50;
    --bg-giftwrap-red: #f21632;

    /* Tailwind / ShadCN Framework Tokens */
    --border: #d1d5db;
    --input: #d1d5db;
    --ring: var(--giftwrap-lightblue);
    --background: #f0f5fa;
    --foreground: var(--giftwrap-text);
    --primary: var(--giftwrap-darkblue);
    --primary-foreground: #ffffff;
    --secondary: var(--giftwrap-red);
    --secondary-foreground: #ffffff;
    --destructive: var(--giftwrap-red);
    --destructive-foreground: #ffffff;
    --muted: var(--giftwrap-gray);
    --muted-foreground: var(--giftwrap-text);
    --accent: #ffc107;
    --accent-foreground: #111111;
    --popover: #ffffff;
    --popover-foreground: var(--giftwrap-text);
    --card: #ffffff;
    --card-foreground: var(--giftwrap-text);
    --radius: 0.5rem;
}

/* ===========================================
   2. BASE RESET & TYPOGRAPHY
   =========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--giftwrap-text);
    background-color: var(--background);
    line-height: 1.5;
}

/* Custom Font Sizes */
.text-display-xl {
    font-size: 100px;
    line-height: 1.1;
}
.text-display-lg {
    font-size: 30px;
    line-height: 1.2;
}
.text-heading-md {
    font-size: 20px;
    line-height: 1.3;
}
.text-body-xl {
    font-size: 25px;
    line-height: 1.4;
}
.text-body-lg {
    font-size: 15px;
    line-height: 1.5;
}
.text-body-md {
    font-size: 12px;
    line-height: 1.6;
}
.text-body-sm {
    font-size: 15px;
    line-height: 1.6;
}

/* ===========================================
   3. KEYFRAME ANIMATIONS
   =========================================== */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
@keyframes shine {
    0% {
        transform: scale(0) rotate(45deg);
        opacity: 0;
    }
    80% {
        transform: scale(0) rotate(45deg);
        opacity: 0.5;
    }
    81% {
        transform: scale(4) rotate(45deg);
        opacity: 1;
    }
    100% {
        transform: scale(50) rotate(45deg);
        opacity: 0;
    }
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}
@keyframes gradient {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}
@keyframes gradient-bg {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes dots {
    0%,
    20% {
        content: "";
    }
    40% {
        content: ".";
    }
    60% {
        content: "..";
    }
    80%,
    100% {
        content: "...";
    }
}

/* ===========================================
   4. UTILITY CLASSES
   =========================================== */
.text-gradient {
    background: linear-gradient(45deg, var(--giftwrap-red), var(--giftwrap-lightblue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}
.levitating {
    animation: levitate 3s ease-in-out infinite;
}
.marquee {
    animation: marquee 25s linear infinite;
}

.loader {
    border-top-color: var(--giftwrap-red);
    animation: spinner 0.6s linear infinite;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--giftwrap-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.hover-scale {
    transition: transform 0.3s ease;
}
.hover-scale:hover {
    transform: scale(1.05);
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===========================================
   5. CARD & PRODUCT STYLES
   =========================================== */
.product-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}
.product-card:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

.product-card-enhanced {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}
.product-card-enhanced:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   6. SCROLL ANIMATIONS
   =========================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.animate,
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
.animate-on-scroll.slide-left {
    transform: translateX(-50px);
}
.animate-on-scroll.slide-left.animate {
    transform: translateX(0);
}
.animate-on-scroll.slide-right {
    transform: translateX(50px);
}
.animate-on-scroll.slide-right.animate {
    transform: translateX(0);
}

.stagger-1 {
    animation-delay: 0.1s;
}
.stagger-2 {
    animation-delay: 0.2s;
}
.stagger-3 {
    animation-delay: 0.3s;
}
.stagger-4 {
    animation-delay: 0.4s;
}
.stagger-5 {
    animation-delay: 0.5s;
}

/* ===========================================
   7. BUTTONS
   =========================================== */
.cta-btn-primary {
    background-color: var(--giftwrap-lightblue);
    color: #fff;
    transition: 0.2s ease;
}
.cta-btn-primary:hover {
    background-color: var(--giftwrap-darkblue);
}
.cta-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}
.cta-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid white;
    color: white;
}
.cta-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ===========================================
   8. HERO SCROLLER
   =========================================== */
.hero-scroller {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #f5f5f5;
}
.hero-scroller.fullscreen {
    height: 100vh;
}

.control-panel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 30;
    display: flex;
    gap: 0.5rem;
}
.control-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.control-btn:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}
.control-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

.banner-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
}
.banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    opacity: 0;
    transform: rotateY(45deg) scale(0.8) translateZ(-100px);
}
.banner.active {
    opacity: 1;
    transform: rotateY(0) scale(1) translateZ(0);
}
.banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cta-container {
    position: absolute;
    inset-x: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cta-container.hidden {
    transform: translateY(100%);
    opacity: 0;
}
.cta-container.left {
    align-items: flex-start;
    text-align: left;
}
.cta-container.right {
    align-items: flex-end;
    text-align: right;
}
.cta-container.center {
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-container {
        inset-y: 0;
        bottom: auto;
        padding: 3rem;
    }
    .cta-container.left {
        left: 0;
        right: auto;
    }
    .cta-container.right {
        right: 0;
        left: auto;
    }
    .cta-container.hidden {
        transform: translateX(-100%);
        opacity: 0;
    }
    .cta-container.right.hidden {
        transform: translateX(100%);
    }
}

.cta-content {
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    padding: 1.5rem;
    border-radius: 0.75rem;
    max-width: 24rem;
    position: relative;
    animation: fadeIn 0.5s ease;
}
.cta-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background-color: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cta-close:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}
.cta-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
    .cta-title {
        font-size: 2rem;
    }
}
.cta-subtitle {
    font-size: 1rem;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

.nav-arrow-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4rem;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-arrow-container:hover {
    opacity: 1;
}
.nav-arrow-container-left {
    left: 0;
}
.nav-arrow-container-right {
    right: 0;
}
.nav-arrow {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.nav-arrow:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: scale(1.1);
}
.nav-arrow svg {
    width: 2rem;
    height: 2rem;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 20;
}
.progress-bar-fill {
    height: 100%;
    background-color: white;
    width: 0%;
    transition: width 0.1s linear;
}

.dots-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}
.dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}
.dot.active {
    width: 2rem;
    background-color: white;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
}
.floating-element {
    position: absolute;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    opacity: 0;
}
@media (min-width: 768px) {
    .floating-element {
        width: 3rem;
        height: 3rem;
    }
}

/* ===========================================
   9. HEADER COMPONENTS
   =========================================== */
.header-input {
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    padding: 0 0.75rem;
    font-size: 0.875rem;
    outline: none;
    transition: all 0.2s ease-in-out;
}
.header-input:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    height: 2.5rem;
    padding: 0 1rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}

.header-sheet-content {
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: var(--background);
    z-index: 100;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 1rem;
    overflow-y: auto;
}
.header-sheet-content.open {
    transform: translateX(0);
}

.header-sheet-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    display: none;
}
.header-sheet-overlay.open {
    display: block;
}

.header-dropdown-menu-content {
    position: absolute;
    z-index: 50;
    min-width: 8rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: var(--popover);
    color: var(--popover-foreground);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.25rem;
    display: none;
}
.header-dropdown-menu-content.open {
    display: block;
}

.header-dropdown-menu-item {
    display: flex;
    width: 100%;
    cursor: pointer;
    align-items: center;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: var(--giftwrap-text);
}
.header-dropdown-menu-item:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.header-navigation-menu-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.header-navigation-menu-item {
    position: relative;
}

.header-navigation-menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 0.375rem;
    font-size: 18px;
    font-weight: 400;
    height: 2.25rem;
    padding: 0 1rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: white;
}
.header-navigation-menu-trigger:hover,
.header-navigation-menu-trigger:focus {
    background-color: var(--giftwrap-darkblue);
    outline: none;
}

.header-navigation-menu-content {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 50;
    min-width: 25rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border);
    background-color: var(--popover);
    color: var(--popover-foreground);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    display: none;
}
.header-navigation-menu-content.open {
    display: block;
}

.header-navigation-menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.header-navigation-menu-content .list-item {
    display: block;
    padding: 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease-in-out;
    text-decoration: none;
}
.header-navigation-menu-content .list-item:hover {
    background-color: var(--accent);
}
.header-navigation-menu-content .list-item div {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    color: var(--giftwrap-text);
}
.header-navigation-menu-content .list-item p {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
    color: var(--giftwrap-text);
}

/* ===========================================
   10. FLOATING BUTTONS & CHATBOT
   =========================================== */
.floating-buttons-container {
    position: fixed;
    bottom: 20px;
    z-index: 1000;
    display: flex;
    gap: 15px;
    align-items: center;
}
.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}
.floating-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}
.floating-btn svg {
    width: 24px;
    height: 24px;
    z-index: 2;
}
.floating-btn.help {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}
.floating-btn.scroll-top {
    background: linear-gradient(135deg, var(--giftwrap-red) 0%, var(--giftwrap-lightblue) 100%);
}

.chatbot-modal {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transform: translateY(100%) scale(0.8);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
}
.chatbot-modal.open {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--giftwrap-lightblue), var(--giftwrap-darkblue));
    color: white;
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}
.chatbot-header h3 {
    margin: 0;
}
.chatbot-header button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
}

.chatbot-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chatbot-input {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.chatbot-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 14px;
}
.chatbot-input button {
    background: var(--giftwrap-lightblue);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.chatbot-input button:hover {
    background-color: var(--giftwrap-darkblue);
}

.chat-message {
    margin-bottom: 15px;
    animation: fadeInUp 0.3s ease;
    display: flex;
    max-width: 90%;
}
.chat-message.bot {
    justify-content: flex-start;
}
.chat-message.user {
    justify-content: flex-end;
    margin-left: auto;
}

.chat-bubble {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 100%;
    word-wrap: break-word;
}
.chat-bubble.bot,
.chat-message.bot .chat-bubble {
    background: #f0f0f0;
    color: #333;
    border-bottom-left-radius: 5px;
}
.chat-bubble.user,
.chat-message.user .chat-bubble {
    background: var(--giftwrap-lightblue);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-error-message {
    color: var(--giftwrap-red);
    font-size: 0.875rem;
    text-align: center;
    padding: 5px 0;
}

/* ===========================================
   11. SCROLL TO TOP
   =========================================== */
#scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background-color: var(--giftwrap-darkblue);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 50;
}
#scroll-to-top:hover {
    transform: scale(1.1);
}

/* ===========================================
   12. UTILITY CLASSES
   =========================================== */
.hidden {
    display: none !important;
}
.overflow-hidden {
    overflow: hidden;
}
.opacity-0 {
    opacity: 0;
}
.opacity-100 {
    opacity: 1;
}
.invisible {
    visibility: hidden;
}
.visible {
    visibility: visible;
}
.rotate-180 {
    transform: rotate(180deg);
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===========================================
   13. RESPONSIVE
   =========================================== */
@media (max-width: 768px) {
    .floating-buttons-container {
        bottom: 15px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
    }
    .floating-btn svg {
        width: 20px;
        height: 20px;
    }
    .chatbot-modal {
        left: 10px;
        right: 10px;
        width: auto;
        bottom: 80px;
        height: calc(100vh - 100px);
        max-height: 500px;
    }
    .hero-scroller {
        height: 400px;
    }
}

/* Root dashboard spacing – this just ensures the slot fills nicely */
.dashboard-root {
    width: 100%;
}

/* =========================================================
   Design Tokens (matching Admin design system)
   ======================================================= */
:root {
    --primary-hue: 220;
    --primary-saturation: 100%;
    --accent-hue: 340;
    --accent-saturation: 95%;

    --primary: hsl(var(--primary-hue), var(--primary-saturation), 50%);
    --primary-light: hsl(var(--primary-hue), var(--primary-saturation), 90%);
    --primary-dark: hsl(var(--primary-hue), var(--primary-saturation), 30%);
    --accent: hsl(var(--accent-hue), var(--accent-saturation), 50%);
    --accent-light: hsl(var(--accent-hue), var(--accent-saturation), 90%);
    --accent-dark: hsl(var(--accent-hue), var(--accent-saturation), 30%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-dark: #111827;

    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-card: #ffffff;

    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark theme – picked up from AdminLayout toggling .dark-mode */
.dark-mode {
    --primary: hsl(var(--primary-hue), calc(var(--primary-saturation) - 20%), 60%);
    --primary-light: hsl(var(--primary-hue), calc(var(--primary-saturation) - 30%), 25%);
    --primary-dark: hsl(var(--primary-hue), calc(var(--primary-saturation) - 10%), 70%);
    --accent: hsl(var(--accent-hue), calc(var(--accent-saturation) - 20%), 60%);
    --accent-light: hsl(var(--accent-hue), calc(var(--accent-saturation) - 30%), 25%);
    --accent-dark: hsl(var(--accent-hue), calc(var(--accent-saturation) - 10%), 70%);
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    --text: #f9fafb;
    --text-light: #d1d5db;
    --text-lighter: #9ca3af;
    --text-dark: #f3f4f6;

    --background: #111827;
    --background-alt: #1f2937;
    --background-card: #1f2937;

    --border: #374151;
    --border-light: #4b5563;
    --border-dark: #6b7280;

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* =========================================================
   Stats Grid
   ======================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-card {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.dark-mode .stat-value {
    color: var(--text);
}

.stat-change {
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    margin-top: 0.35rem;
    gap: 0.25rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.stat-icon.primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.stat-icon.success {
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.stat-icon.warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--warning);
}

.stat-icon.danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.stat-footer {
    margin-top: 0.25rem;
}

.stat-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* =========================================================
   Charts & Top Products
   ======================================================= */
.chart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 1024px) {
    .chart-grid {
        grid-template-columns: 2fr 1.2fr;
    }
}

.chart-card {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.75rem;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dark-mode .chart-title {
    color: var(--text);
}

.chart-subtitle {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.chart-actions {
    display: flex;
    gap: 0.25rem;
}

.chart-action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.35rem 0.45rem;
    border-radius: 999px;
    transition: background-color 0.15s, color 0.15s;
}

.chart-action-btn:hover {
    background-color: var(--background-alt);
    color: var(--text);
}

.chart-body {
    margin-top: 0.5rem;
}

.chart-placeholder {
    min-height: 14rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--border-light);
    background: var(--background-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 0.85rem;
}

/* Top products */
.top-product-list {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.top-product-empty {
    font-size: 0.85rem;
    color: var(--text-light);
    padding: 0.5rem 0;
}

.top-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    border-bottom: 1px solid var(--border-light);
}

.top-product-item:last-child {
    border-bottom: none;
}

.top-product-main {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-product-image {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    object-fit: cover;
}

.top-product-info {
    display: flex;
    flex-direction: column;
}

.top-product-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.dark-mode .top-product-name {
    color: var(--text);
}

.top-product-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.top-product-sales {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* =========================================================
   Table / Recent Orders
   ======================================================= */
.table-container {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-header {
    padding: 0.9rem 1.35rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.table-title {
    font-size: 1rem;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 0.7rem 1.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    background-color: var(--background-alt);
    white-space: nowrap;
}

td {
    padding: 0.8rem 1.35rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text);
}

.dark-mode td {
    color: var(--text);
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: var(--background-alt);
}

.empty-row {
    text-align: center;
    color: var(--text-light);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-badge.cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-badge.draft {
    background-color: var(--background-alt);
    color: var(--text-light);
}

/* Buttons / links */
.pagination-btn {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--text);
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.15s;
}

.pagination-btn:hover {
    background-color: var(--background-alt);
    border-color: var(--primary);
}

.link-primary {
    color: var(--info);
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

.dashboard-root {
    --primary: #2563eb;
    --primary-light: #eff6ff;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --text: #111827;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-dark: #030712;

    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-card: #ffffff;

    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;

    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px rgba(15, 23, 42, 0.08);

    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Dark mode overrides when <html class="dark"> */
html.dark .dashboard-root {
    --text: #f9fafb;
    --text-light: #d1d5db;
    --text-lighter: #9ca3af;
    --text-dark: #f9fafb;

    --background: #020617;
    --background-alt: #020617;
    --background-card: #020617;

    --border: #1f2937;
    --border-light: #111827;
    --border-dark: #374151;
}

/* =========================
   Stats cards
   ========================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-change {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.stat-icon.success {
    background-color: rgba(16, 185, 129, 0.12);
    color: var(--success);
}

.stat-icon.warning {
    background-color: rgba(245, 158, 11, 0.12);
    color: var(--warning);
}

.stat-icon.danger {
    background-color: rgba(239, 68, 68, 0.12);
    color: var(--danger);
}

.stat-footer {
    margin-top: 0.5rem;
}

.stat-subtext {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* =========================
   Charts + Top Products
   ========================= */

.chart-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .chart-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.chart-card {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chart-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.chart-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.chart-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.chart-actions {
    display: flex;
    gap: 0.5rem;
}

.chart-action-btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    background-color: var(--background);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.15s ease;
}

.chart-action-btn:hover {
    background-color: var(--background-alt);
    color: var(--text-dark);
}

.chart-body {
    padding: 1.5rem;
}

.chart-placeholder {
    height: 16rem;
    border-radius: 0.75rem;
    border: 1px dashed var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: var(--text-light);
    background-image: repeating-linear-gradient(
            -45deg,
            var(--background),
            var(--background) 10px,
            var(--background-alt) 10px,
            var(--background-alt) 20px
    );
}

/* Top Products */

.top-product-list {
    padding: 0.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.top-product-empty {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.top-product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.top-product-item:last-child {
    border-bottom: none;
}

.top-product-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.top-product-image {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    background-color: var(--background-alt);
}

.top-product-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.top-product-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-product-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.top-product-sales {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

/* =========================
   Table / Recent Orders
   ========================= */

.table-container {
    background-color: var(--background-card);
    border-radius: 0.75rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.table-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.table-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

thead {
    background-color: var(--background-alt);
}

th {
    text-align: left;
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

td {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text);
}

tbody tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: var(--background-alt);
}

.empty-row {
    text-align: center;
    padding: 1.5rem;
    color: var(--text-light);
}

.link-primary {
    color: var(--info);
    font-weight: 500;
    text-decoration: none;
}

.link-primary:hover {
    text-decoration: underline;
}

/* Status badges */

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-badge.cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-badge.draft {
    background-color: var(--background-alt);
    color: var(--text-light);
}

/* Buttons – reused in header & table */

.pagination-btn {
    padding: 0.4rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
    background-color: var(--background);
    color: var(--text);
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.pagination-btn:hover {
    background-color: var(--background-alt);
    border-color: var(--primary);
}

/* Reuse your global admin styles (dashboard-root, stats-grid, table-container, etc.)
   Add any tiny tweaks here if needed. */
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.page-actions .primary-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.table-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.table-search-input {
    min-width: 220px;
}

.table-select {
    margin-left: 0.75rem;
}
.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) {
    .quote-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}
.card-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}
.card-body {
    padding: 1rem;
}
.card-title {
    font-size: 0.95rem;
    font-weight: 600;
}
.card-subtitle {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

/* Summary grid */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}
.summary-label {
    font-size: 0.75rem;
    color: #6b7280;
}
.summary-value {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Workflow */
.workflow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.workflow-item + .workflow-item {
    margin-top: 0.5rem;
}
.workflow-button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    background: #f9fafb;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.workflow-button:hover {
    background: #edf2ff;
    border-color: #d1d5db;
}
.workflow-button.is-done {
    background: #ecfdf3;
    border-color: #bbf7d0;
}
.workflow-icon {
    font-size: 0.9rem;
    color: #4b5563;
}
.workflow-text {
    flex: 1;
}
.workflow-label {
    font-size: 0.85rem;
    font-weight: 500;
}
.workflow-note {
    font-size: 0.75rem;
    color: #6b7280;
}
.workflow-state-icon {
    color: #16a34a;
}

/* Documents */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.75rem;
}
.doc-item {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    background: #f9fafb;
}
.doc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.doc-icon {
    font-size: 0.9rem;
    color: #4b5563;
}
.doc-label {
    font-size: 0.85rem;
    font-weight: 500;
}
.doc-status-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.doc-status {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
}
.doc-status-ok {
    background: #dcfce7;
    color: #166534;
}
.doc-status-missing {
    background: #fee2e2;
    color: #b91c1c;
}
.doc-actions {
    display: flex;
    gap: 0.5rem;
}

/* Profit table */
.profit-name-cell {
    max-width: 320px;
}
.profit-name {
    font-size: 0.85rem;
    font-weight: 500;
}
.profit-notes {
    font-size: 0.75rem;
    color: #6b7280;
    white-space: pre-line;
    margin-top: 0.25rem;
}
.profit-strong {
    font-weight: 600;
}
.profit-summary {
    margin-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
}
.profit-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}
.profit-summary-total {
    font-weight: 600;
}

/* Actions grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.action-column {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    background: #f9fafb;
}
.action-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.action-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.action-list li + li {
    margin-top: 0.15rem;
}

/* Basic tweaks */
.page-title {
    font-size: 1.4rem;
    font-weight: 700;
}
.text-muted {
    font-weight: 500;
    color: #6b7280;
    margin-left: 0.25rem;
}
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.table-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.table-search-input {
    min-width: 240px;
}

.table-select {
    margin-left: 0.75rem;
}

.mono-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
    font-size: 0.8rem;
}

.docs-dots {
    display: flex;
    gap: 0.25rem;
}
.doc-dot {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.05rem 0.35rem;
    border-radius: 999px;
}
.doc-dot-ok {
    background: #dcfce7;
    color: #166534;
}
.doc-dot-missing {
    background: #fee2e2;
    color: #b91c1c;
}

.inline-actions {
    display: inline-flex;
    align-items: center;
}

/* dropdown */
.status-menu {
    position: absolute;
    margin-top: 0.25rem;
    right: 1rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    z-index: 40;
}
.status-menu-column {
    min-width: 150px;
}
.status-menu-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.35rem;
}
.status-menu-item {
    width: 100%;
    text-align: left;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    color: #374151;
}
.status-menu-item:hover {
    color: #1d4ed8;
}
.page-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Filter layout */
.filters-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem 1rem;
}
@media (max-width: 1024px) {
    .filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .filters-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.filter-field {
    display: flex;
    flex-direction: column;
}
.filter-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 0.2rem;
}
.filter-input {
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
}
.filter-actions {
    display: flex;
    align-items: flex-end;
}
.filter-checkbox {
    justify-content: space-between;
}

/* Table spacing so it’s not squashed */
.table-responsive {
    overflow-x: auto;
}
.quotes-table {
    width: 100%;
    min-width: 1150px; /* give Profit Information room */
    table-layout: auto;
}
.profit-info-cell {
    max-width: 280px;
    font-size: 0.8rem;
}
.profit-more {
    font-size: 0.75rem;
    color: #6b7280;
    margin-left: 0.25rem;
}

.mono-text {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    'Liberation Mono', 'Courier New', monospace;
    font-size: 0.8rem;
}

/* Status dropdown */
.status-menu {
    position: absolute;
    right: 0;
    margin-top: 0.4rem;
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.18);
    z-index: 40;
}
.status-menu-column {
    min-width: 150px;
}
.status-menu-heading {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 0.35rem;
}
.status-menu-item {
    width: 100%;
    text-align: left;
    font-size: 0.8rem;
    padding: 0.25rem 0;
    color: #374151;
}
.status-menu-item:hover {
    color: #1d4ed8;
}

.quote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
    gap: 1.5rem;
}
@media (max-width: 1024px) {
    .quote-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
}
.page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}
.text-muted {
    color: #9ca3af;
}

/* Summary */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
    font-size: 0.85rem;
}
@media (max-width: 640px) {
    .summary-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.summary-label {
    font-size: 0.75rem;
    color: #6b7280;
}
.summary-value {
    font-weight: 600;
    color: #111827;
}

/* Workflow */
.workflow-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.workflow-button {
    width: 100%;
    text-align: left;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.workflow-button:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}
.workflow-button.is-done {
    border-color: #22c55e;
    background: #ecfdf3;
}
.workflow-icon {
    width: 1.25rem;
}
.workflow-text {
    flex: 1;
}
.workflow-label {
    font-weight: 600;
}
.workflow-note {
    font-size: 0.75rem;
    color: #6b7280;
}
.workflow-state-icon {
    color: #16a34a;
}

/* Documents */
.docs-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
}
.doc-item {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.6rem 0.75rem;
}
.doc-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}
.doc-icon {
    color: #2563eb;
}
.doc-label {
    font-weight: 600;
}
.doc-status-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.doc-status {
    font-size: 0.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
}
.doc-status-ok {
    background: #ecfdf3;
    color: #15803d;
}
.doc-status-missing {
    background: #fef2f2;
    color: #b91c1c;
}
.doc-actions {
    display: flex;
    gap: 0.5rem;
}

/* Profit table */
.table-responsive {
    overflow-x: auto;
}
.profit-table {
    width: 100%;
    min-width: 1000px;
    table-layout: auto;
}
.profit-name-cell {
    max-width: 320px;
}
.profit-name {
    font-weight: 600;
}
.profit-notes {
    font-size: 0.78rem;
    color: #6b7280;
}
.profit-strong {
    font-weight: 700;
}

/* Profit summary */
.profit-summary {
    margin-top: 1rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.profit-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
}
.profit-summary-total {
    font-weight: 700;
}

/* Actions grid */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
@media (max-width: 900px) {
    .actions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .actions-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
.action-column {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 0.9rem;
}
.action-title {
    font-weight: 600;
    margin-bottom: 0.4rem;
}
.action-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.empty-row {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: #6b7280;
}

/* Shell around pm content so it feels like other cards */
.card-shell {
    background: var(--background-card, #ffffff);
    border-radius: 0.75rem;
    border: 1px solid var(--border, #e2e8f0);
    box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

/* Basic dashboard layout helpers (aligned with other admin pages) */
.dashboard-root {
    padding: 1.5rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.page-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
}

.primary-btn {
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: var(--primary, #0066ff);
    border: none;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.primary-btn:hover {
    filter: brightness(1.1);
}

.ghost-btn {
    padding: 0.5rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border, #e2e8f0);
    background: transparent;
    color: var(--text-light, #64748b);
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.ghost-btn:hover {
    background: var(--background-tertiary, #f8fafc);
    color: var(--text-primary, #1e293b);
}

/* Stats cards – simplified version of the working context */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1rem;
}

.stat-card {
    background-color: var(--background-card, #ffffff);
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: var(--shadow, 0 1px 3px rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.stat-title {
    font-size: 0.8rem;
    color: var(--text-light, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-footer {
    font-size: 0.75rem;
    color: var(--text-light, #6b7280);
}

.stat-subtext {
    font-size: 0.75rem;
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.primary {
    background-color: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.stat-icon.success {
    background-color: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.stat-icon.warning {
    background-color: rgba(245, 158, 11, 0.16);
    color: #f59e0b;
}

.stat-icon.danger {
    background-color: rgba(239, 68, 68, 0.16);
    color: #ef4444;
}

/* Existing pm-* styles (trimmed to essentials, aligned with working context) */
.pm-container {
    padding: 1.25rem;
}

.pm-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pm-toolbar {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    flex-wrap: wrap;
}

.pm-search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.pm-search-box i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light, #64748b);
}

.pm-search-input {
    width: 100%;
    padding: 0.625rem 0.75rem 0.625rem 2.5rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 6px;
    background: var(--background-tertiary, #f8fafc);
    color: var(--text-primary, #1e293b);
    font-size: 14px;
}

.pm-search-input:focus {
    outline: none;
    border-color: var(--primary, #0066ff);
    background: var(--background, #ffffff);
}

.pm-select {
    padding: 0.625rem 2rem 0.625rem 0.75rem;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 6px;
    background: var(--background-tertiary, #f8fafc);
    color: var(--text-primary, #1e293b);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.pm-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.pm-view-toggle {
    display: flex;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 6px;
    overflow: hidden;
}

.pm-view-btn {
    padding: 0.5rem 0.875rem;
    border: none;
    background: var(--background-tertiary, #f8fafc);
    color: var(--text-light, #64748b);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.pm-view-btn.active {
    background: var(--primary, #0066ff);
    color: white;
}

.pm-btn-icon {
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: var(--background-tertiary, #f8fafc);
    color: var(--text-light, #64748b);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pm-btn-icon:hover {
    background: var(--background-card, #ffffff);
    color: var(--primary, #0066ff);
}

.pm-btn-danger:hover {
    background: var(--danger, #ef4444);
    color: #ffffff;
}

/* Grid view */
.pm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pm-card {
    background: var(--background-card, #ffffff);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s;
}

.pm-card:hover {
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    transform: translateY(-2px);
}

.pm-card-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--background-tertiary, #f8fafc);
}

.pm-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-card-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.pm-card:hover .pm-card-overlay {
    opacity: 1;
}

.pm-card-content {
    padding: 1rem;
}

.pm-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.pm-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin: 0;
    line-height: 1.4;
}

.pm-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 13px;
}

.pm-sku {
    color: var(--text-light, #64748b);
}

.pm-price {
    font-weight: 600;
    color: var(--primary, #0066ff);
}

.pm-card-description {
    font-size: 14px;
    color: var(--text-light, #64748b);
    margin: 0 0 0.75rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-badge {
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-badge-in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.pm-badge-low-stock {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.pm-badge-out-of-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Table view */
.pm-table-container {
    background: var(--background-card, #ffffff);
    border-radius: 12px;
    border: 1px solid var(--border, #e2e8f0);
    overflow: hidden;
}

.pm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.pm-table thead {
    background: var(--background-tertiary, #f8fafc);
}

.pm-table th {
    padding: 0.875rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.pm-table td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--border, #e2e8f0);
    color: var(--text-light, #64748b);
}

.pm-table tbody tr:hover {
    background: var(--background-tertiary, #f8fafc);
}

.pm-table-product {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pm-table-image {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border, #e2e8f0);
}

.pm-table-name {
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.125rem;
}

.pm-table-desc {
    font-size: 12px;
    color: var(--text-light, #64748b);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pm-price-value {
    font-weight: 600;
    color: var(--primary, #0066ff);
}

/* Empty & loading */
.pm-empty,
.pm-loading {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-light, #64748b);
}

.pm-empty i {
    font-size: 64px;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.pm-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary, #1e293b);
    margin-bottom: 0.5rem;
}

.pm-loading i {
    font-size: 40px;
    margin-bottom: 1rem;
    color: var(--primary, #0066ff);
}.dashboard-root {
     min-height: calc(100vh - 80px);
 }

.page-header {
    @apply mb-6;
}

.page-title {
    @apply text-2xl font-bold text-gray-900 dark:text-white;
}

.page-subtitle {
    @apply text-sm text-gray-600 dark:text-gray-400 mt-1;
}

.page-actions {
    @apply flex items-center gap-3;
}

table {
    @apply min-w-full divide-y divide-gray-200 dark:divide-gray-700;
}

th {
    @apply px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-400 uppercase tracking-wider;
}

td {
    @apply px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-gray-100;
}

tbody tr {
    @apply hover:bg-gray-50 dark:hover:bg-gray-900 transition-colors;
}

/* Custom scrollbar for sidebar */
.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.dark .sidebar-content::-webkit-scrollbar-track {
    background: #374151;
}

.dark .sidebar-content::-webkit-scrollbar-thumb {
    background: #4b5563;
}

.dark .sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* Admin Design System - Based on GiftWrap Finance Assistant */
:root {
    /* Base colors - can be customized */
    --primary-hue: 220;
    --primary-saturation: 100%;
    --accent-hue: 340;
    --accent-saturation: 95%;

    /* Light theme */
    --primary: hsl(var(--primary-hue), var(--primary-saturation), 50%);
    --primary-light: hsl(var(--primary-hue), var(--primary-saturation), 90%);
    --primary-dark: hsl(var(--primary-hue), var(--primary-saturation), 30%);
    --accent: hsl(var(--accent-hue), var(--accent-saturation), 50%);
    --accent-light: hsl(var(--accent-hue), var(--accent-saturation), 90%);
    --accent-dark: hsl(var(--accent-hue), var(--accent-saturation), 30%);
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    --text: #1f2937;
    --text-light: #6b7280;
    --text-lighter: #9ca3af;
    --text-dark: #111827;

    --background: #ffffff;
    --background-alt: #f9fafb;
    --background-card: #ffffff;

    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --border-dark: #d1d5db;

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Dark theme */
.dark-mode {
    --primary: hsl(var(--primary-hue), calc(var(--primary-saturation) - 20%), 60%);
    --primary-light: hsl(var(--primary-hue), calc(var(--primary-saturation) - 30%), 25%);
    --primary-dark: hsl(var(--primary-hue), calc(var(--primary-saturation) - 10%), 70%);
    --accent: hsl(var(--accent-hue), calc(var(--accent-saturation) - 20%), 60%);
    --accent-light: hsl(var(--accent-hue), calc(var(--accent-saturation) - 30%), 25%);
    --accent-dark: hsl(var(--accent-hue), calc(var(--accent-saturation) - 10%), 70%);
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;
    --info: #2563eb;

    --text: #f9fafb;
    --text-light: #d1d5db;
    --text-lighter: #9ca3af;
    --text-dark: #f3f4f6;

    --background: #111827;
    --background-alt: #1f2937;
    --background-card: #1f2937;

    --border: #374151;
    --border-light: #4b5563;
    --border-dark: #6b7280;

    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background-color: var(--background-card);
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.stat-title {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-change {
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    margin-top: 0.25rem;
}

.stat-change.positive {
    color: var(--success);
}

.stat-change.negative {
    color: var(--danger);
}

.stat-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon.primary {
    background-color: var(--primary-light);
    color: var(--primary);
}

.stat-icon.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.stat-icon.warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.stat-icon.danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* Tables */
.table-container {
    background-color: var(--background-card);
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.table-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.table-title {
    font-size: 1rem;
    font-weight: 600;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.table-filters {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    background-color: var(--background-alt);
}

td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.875rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover {
    background-color: var(--background-alt);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.active,
.status-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.status-badge.pending {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.status-badge.inactive,
.status-badge.cancelled {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.status-badge.draft {
    background-color: var(--background-alt);
    color: var(--text-light);
}

/* Action buttons in tables */
.action-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: var(--background-alt);
    color: var(--text);
}

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

.action-btn.danger:hover {
    color: var(--danger);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    color: var(--text);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--background-alt);
    border-color: var(--primary);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

/* Custom scrollbar for modal */
.max-h-\[90vh\]::-webkit-scrollbar {
    width: 6px;
}

.max-h-\[90vh\]::-webkit-scrollbar-track {
    background: transparent;
}

.max-h-\[90vh\]::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.5);
    border-radius: 3px;
}

.max-h-\[90vh\]::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.7);
}

.dark .max-h-\[90vh\]::-webkit-scrollbar-thumb {
    background: rgba(75, 85, 99, 0.5);
}

.dark .max-h-\[90vh\]::-webkit-scrollbar-thumb:hover {
    background: rgba(75, 85, 99, 0.7);
}
/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom utility classes */
.text-giftwrap-red { color: #e7333c; }
.text-giftwrap-darkblue { color: #1b2b4d; }
.text-giftwrap-lightblue { color: #1c94c6; }
.bg-giftwrap-red { background-color: #e7333c; }
.bg-giftwrap-darkblue { background-color: #1b2b4d; }
.bg-giftwrap-lightblue { background-color: #1c94c6; }
.from-giftwrap-red { --tw-gradient-from: #e7333c; }
.to-giftwrap-lightblue { --tw-gradient-to: #1c94c6; }
.to-giftwrap-darkblue { --tw-gradient-to: #1b2b4d; }

/* Section padding */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Blog hero height */
.blog-hero {
    height: 40vh;
}

@media (min-width: 768px) {
    .blog-hero {
        height: 50vh;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

/* Accessibility improvements */
a:focus, button:focus {
    outline: 2px solid #1c94c6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .seo-hidden-content {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .blog-hero,
    .cta-section,
    aside {
        display: none;
    }
}
/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.stagger-1.animated { transition-delay: 0.1s; }
.stagger-2.animated { transition-delay: 0.2s; }
.stagger-3.animated { transition-delay: 0.3s; }
.stagger-4.animated { transition-delay: 0.4s; }
.stagger-5.animated { transition-delay: 0.5s; }
.stagger-6.animated { transition-delay: 0.6s; }

/* Hover effects */
.value-card:hover {
    transform: translateY(-5px);
}

.leadership-card:hover {
    transform: translateY(-8px);
}

/* Custom utility classes */
.text-giftwrap-red { color: #e7333c; }
.text-giftwrap-darkblue { color: #1b2b4d; }
.text-giftwrap-lightblue { color: #1c94c6; }
.text-giftwrap-green { color: #4caf50; }
.bg-giftwrap-red { background-color: #e7333c; }
.bg-giftwrap-darkblue { background-color: #1b2b4d; }
.bg-giftwrap-lightblue { background-color: #1c94c6; }
.bg-giftwrap-gray { background-color: #f5f5f5; }
.from-giftwrap-red { --tw-gradient-from: #e7333c; }
.to-giftwrap-lightblue { --tw-gradient-to: #1c94c6; }
.to-giftwrap-darkblue { --tw-gradient-to: #1b2b4d; }

/* Text gradient */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Section padding */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .hero-video-container {
        height: 50vh;
    }
}

/* Accessibility improvements */
a:focus, button:focus {
    outline: 2px solid #1c94c6;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .seo-hidden-content {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

    .hero-video-container,
    .cta-section {
        display: none;
    }
}

.category-sidebar-item {
    @apply transition-all duration-200;
}

.category-sidebar-item:hover {
    @apply transform translate-x-1;
}

.section-padding {
    @apply py-12 md:py-16 lg:py-20;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

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

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.breadcrumb {
    @apply bg-gray-50 py-3 border-b border-gray-100;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 50vh;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }
}.category-sidebar-item {
     @apply transition-all duration-200;
 }

.category-sidebar-item:hover {
    @apply transform translate-x-1;
}

.section-padding {
    @apply py-12 md:py-16 lg:py-20;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

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

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.blog-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.breadcrumb {
    @apply bg-gray-50 py-3 border-b border-gray-100;
}

/* Custom styles for price range sliders */
input[type="range"] {
    @apply appearance-none h-2 bg-gray-200 rounded-lg outline-none;
}

input[type="range"]::-webkit-slider-thumb {
    @apply appearance-none w-4 h-4 bg-giftwrap-red rounded-full cursor-pointer;
}

input[type="range"]::-moz-range-thumb {
    @apply w-4 h-4 bg-giftwrap-red rounded-full cursor-pointer border-0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        height: 50vh;
    }

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

:root {
    --primary: #00A7CE;
    --primary-dark: #0095B8;
    --secondary: #002B5C;
    --secondary-dark: #001B3C;
    --accent: #FF0000;
    --accent-dark: #E00000;
    --light: #FFFFFF;
    --dark: #111827;
    --gray: #6B7280;
    --gray-light: #F3F4F6;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--gray-light);
    color: var(--dark);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Canvas and 3D elements */
#scene-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Main content */
.main-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

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

.logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.error-code {
    position: relative;
    font-size: 12rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--light);
    margin-bottom: 1rem;
    line-height: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.error-code::before {
    content: "404";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--light);
    transform: translateZ(-10px);
    opacity: 0.5;
    filter: blur(8px);
}

.error-code::after {
    content: "404";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: var(--primary);
    transform: translateZ(20px);
    opacity: 0.7;
    filter: blur(4px);
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.error-message {
    font-size: 1.25rem;
    color: var(--light);
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.typed-cursor {
    color: var(--light);
}

/* Search section */
.search-section {
    position: relative;
    margin-top: -100px;
    padding: 2rem;
    z-index: 10;
}

.search-container {
    background-color: var(--light);
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--primary);
}

.search-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300A7CE' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: -1;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.search-input-container {
    position: relative;
    flex-grow: 1;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--gray-light);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-button {
    background-color: var(--primary);
    color: var(--light);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: var(--primary-dark);
}

/* Popular pages */
.popular-pages {
    margin-bottom: 2rem;
}

.pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.75rem;
}

.page-link {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--dark);
    transition: background-color 0.3s;
}

.page-link:hover {
    background-color: var(--gray-light);
}

.page-link-icon {
    margin-right: 0.5rem;
    color: var(--primary);
}

/* Help section */
.help-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-light);
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.help-item {
    display: flex;
    align-items: flex-start;
}

.help-icon {
    margin-right: 0.75rem;
    color: var(--primary);
    margin-top: 0.25rem;
}

.help-content h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.help-content p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Quick actions */
.quick-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: var(--light);
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.action-button-icon {
    margin-right: 0.5rem;
}

.action-home {
    background-color: var(--secondary);
}

.action-home:hover {
    background-color: var(--secondary-dark);
}

.action-products {
    background-color: var(--primary);
}

.action-products:hover {
    background-color: var(--primary-dark);
}

.action-contact {
    background-color: var(--accent);
}

.action-contact:hover {
    background-color: var(--accent-dark);
}

.action-back {
    background-color: var(--gray);
}

.action-back:hover {
    background-color: var(--dark);
}

/* Gift box animations */
.gift-box {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1;
    animation: float 10s infinite ease-in-out;
}

.gift-box::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent);
    transform: translateY(-50%);
}

.gift-box::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 100%;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.gift-lid {
    position: absolute;
    width: 70px;
    height: 20px;
    background-color: var(--primary-dark);
    border-radius: 5px;
    top: -15px;
    left: -5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gift-lid::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: var(--accent);
    transform: translateY(-50%);
}

.gift-lid::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 10px;
    height: 100%;
    background-color: var(--accent);
    transform: translateX(-50%);
}

.gift-box:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    transform: scale(0.8) rotate(15deg);
}

.gift-box:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    transform: scale(1.2) rotate(-10deg);
}

.gift-box:nth-child(3) {
    top: 30%;
    left: 70%;
    animation-delay: 4s;
    transform: scale(0.7) rotate(20deg);
}

.gift-box:nth-child(4) {
    top: 70%;
    left: 30%;
    animation-delay: 6s;
    transform: scale(1.1) rotate(-5deg);
}

.gift-box:nth-child(5) {
    top: 40%;
    left: 40%;
    animation-delay: 8s;
    transform: scale(0.9) rotate(8deg);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Ribbon */
.ribbon {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ribbon-strip {
    position: absolute;
    background-color: var(--accent);
    opacity: 0.7;
    transform-origin: 0 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .error-code {
        font-size: 8rem;
    }

    .error-title {
        font-size: 2rem;
    }

    .error-message {
        font-size: 1rem;
    }

    .search-form {
        flex-direction: column;
    }

    .search-button {
        width: 100%;
    }

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

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

/* Confetti */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--primary);
    opacity: 0.8;
    z-index: 1;
    animation: confetti-fall 10s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Cartoon character */
.cartoon-character {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 150px;
    height: 150px;
    z-index: 3;
}

.character-body {
    position: absolute;
    bottom: 0;
    width: 100px;
    height: 120px;
    background-color: var(--primary);
    border-radius: 50% 50% 40% 40%;
    overflow: hidden;
    animation: character-bounce 3s infinite ease-in-out;
}

.character-face {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 60px;
    background-color: var(--light);
    border-radius: 50%;
}

.character-eye {
    position: absolute;
    width: 15px;
    height: 20px;
    background-color: var(--dark);
    border-radius: 50%;
    top: 15px;
}

.character-eye-left {
    left: 15px;
}

.character-eye-right {
    right: 15px;
}

.character-mouth {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 10px;
    background-color: var(--accent);
    border-radius: 0 0 10px 10px;
}

.character-arm {
    position: absolute;
    width: 20px;
    height: 60px;
    background-color: var(--primary);
    border-radius: 10px;
    top: 30px;
}

.character-arm-left {
    left: -15px;
    transform-origin: top center;
    animation: arm-wave-left 2s infinite ease-in-out;
}

.character-arm-right {
    right: -15px;
    transform-origin: top center;
    animation: arm-wave-right 2s infinite ease-in-out;
}

@keyframes character-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes arm-wave-left {
    0%, 100% {
        transform: rotate(-20deg);
    }
    50% {
        transform: rotate(20deg);
    }
}

@keyframes arm-wave-right {
    0%, 100% {
        transform: rotate(20deg);
    }
    50% {
        transform: rotate(-20deg);
    }
}

/* Speech bubble */
.speech-bubble {
    position: absolute;
    top: -80px;
    right: 0;
    background-color: var(--light);
    padding: 15px;
    border-radius: 20px;
    max-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: speech-appear 10s infinite;
}

.speech-bubble::after {
    content: "";
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--light);
}

@keyframes speech-appear {
    0%, 90%, 100% {
        opacity: 0;
        transform: translateY(10px);
    }
    10%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation */
.loading-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 5px;
    background-color: var(--primary);
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}.contact-hero {
     background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
 }

.breadcrumb {
    @apply bg-gray-50 py-3 border-b border-gray-100;
}

.section-padding {
    @apply py-12 md:py-16 lg:py-20;
}

/* Form field focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    ring: 2px;
}

/* Loading spinner */
.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero {
        height: 40vh;
    }
}

/* Print styles */
@media print {
    .breadcrumb, .contact-hero, form button, .map-section {
        display: none;
    }

    .contact-info, .business-hours {
        break-inside: avoid;
    }
}.contact-hero {
     position: relative;
     min-height: 40vh;
 }

.seo-hidden-content {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.breadcrumb {
    background-color: #f8f9fa;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.section-padding {
    padding: 4rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 0;
    }

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

input:focus, textarea:focus, select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

button {
    transition: all 0.3s ease;
}

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

.bg-green-50, .bg-red-50 {
    animation: fadeIn 0.3s ease;
}

#recaptcha-container {
    min-height: 78px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .lg\:grid-cols-3, .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .md\:grid-cols-2, .md\:grid-cols-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .md\:grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.quote-hero {
    min-height: 40vh;
}

@media (min-width: 768px) {
    .quote-hero {
        min-height: 50vh;
    }
}

/* Smooth transitions for form steps */
.form-step-enter-active,
.form-step-leave-active {
    transition: all 0.3s ease;
}

.form-step-enter-from,
.form-step-leave-to {
    opacity: 0;
    transform: translateX(20px);
}

/* File upload hover effect */
.file-upload:hover {
    border-color: var(--giftwrap-red);
    background-color: rgba(220, 38, 38, 0.05);
}
.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Custom scrollbar for schedule sections */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation for driver status */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.driver-online {
    animation: pulse 2s infinite;
}

/* Responsive table */
@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
/* Base Container */
.floating-action-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.floating-action-container--mobile {
    bottom: 1rem;
    right: 1rem;
}

/* Main Toggle Button */
.floating-action-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary, #1c94c6), var(--color-primary-dark, #0d7cab));
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(28, 148, 198, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10001;
}

.floating-action-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(28, 148, 198, 0.4);
}

.floating-action-main:active {
    transform: scale(0.95);
}

.floating-action-main:focus-visible {
    outline: 2px solid var(--color-primary-light, #2da8e0);
    outline-offset: 2px;
}

.floating-action-main--active {
    background: linear-gradient(135deg, var(--color-accent, #e7333c), #c53030);
    box-shadow: 0 4px 12px rgba(231, 51, 60, 0.3);
}

.floating-action-main--active:hover {
    box-shadow: 0 6px 16px rgba(231, 51, 60, 0.4);
}

.floating-action-main--pulse {
    animation: pulse 2s infinite;
}

.floating-action-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.floating-action-main:hover .floating-action-icon {
    transform: rotate(90deg);
}

/* Close Button */
.floating-action-close {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10001;
}

.floating-action-close:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #4b5563, #374151);
}

.floating-action-close:focus-visible {
    outline: 2px solid var(--color-primary-light, #2da8e0);
    outline-offset: 2px;
}

.floating-action-close-icon {
    width: 24px;
    height: 24px;
}

/* Actions Container */
.floating-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    position: relative;
    z-index: 10000;
}

/* Individual Action Items */
.floating-action-item {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.floating-action-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 50px;
    border: 2px solid var(--color-gray-200, #e5e7eb);
    color: var(--color-gray-700, #374151);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    position: relative;
}

.floating-action-button:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: var(--color-primary, #1c94c6);
    color: var(--color-primary, #1c94c6);
}

.floating-action-button:focus-visible {
    outline: 2px solid var(--color-primary-light, #2da8e0);
    outline-offset: 2px;
}

.floating-action-button--pulse {
    animation: pulse-gentle 2s infinite;
}

.floating-action-button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.floating-action-label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
    text-align: left;
}

.floating-action-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--color-accent, #e7333c);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badge-pop 0.3s ease;
}

/* Specific action colors */
.floating-action-item--quote .floating-action-button:hover {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-color: #f59e0b;
    color: #92400e;
}

.floating-action-item--chat .floating-action-button:hover {
    background: linear-gradient(135deg, #dbeafe, #93c5fd);
    border-color: #3b82f6;
    color: #1e40af;
}

.floating-action-item--whatsapp .floating-action-button:hover {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-color: #10b981;
    color: #065f46;
}

.floating-action-item--phone .floating-action-button:hover {
    background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
    border-color: #8b5cf6;
    color: #5b21b6;
}

.floating-action-item--email .floating-action-button:hover {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    border-color: #f87171;
    color: #991b1b;
}

.floating-action-item--share .floating-action-button:hover {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #0ea5e9;
    color: #075985;
}

.floating-action-item--print .floating-action-button:hover {
    background: linear-gradient(135deg, #f5f5f4, #e7e5e4);
    border-color: #78716c;
    color: #44403c;
}

.floating-action-item--accessibility .floating-action-button:hover {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    border-color: #eab308;
    color: #854d0e;
}

/* Accessibility Panel */
.floating-accessibility-panel {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 1rem;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 320px;
    max-width: 90vw;
    z-index: 10002;
    overflow: hidden;
}

.floating-accessibility-header {
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-primary, #1c94c6), var(--color-primary-dark, #0d7cab));
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.floating-accessibility-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.floating-accessibility-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s;
}

.floating-accessibility-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.floating-accessibility-close svg {
    width: 20px;
    height: 20px;
}

.floating-accessibility-content {
    padding: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.floating-accessibility-option {
    margin-bottom: 1rem;
}

.floating-accessibility-option:last-child {
    margin-bottom: 0;
}

.floating-accessibility-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.floating-accessibility-label:hover {
    background: var(--color-gray-100, #f3f4f6);
}

.floating-accessibility-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 0.75rem;
    cursor: pointer;
}

.floating-accessibility-text {
    flex: 1;
    font-size: 0.875rem;
    color: var(--color-gray-700, #374151);
}

.floating-accessibility-slider {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.floating-accessibility-slider-btn {
    width: 32px;
    height: 32px;
    border-radius: 0.375rem;
    border: 1px solid var(--color-gray-300, #d1d5db);
    background: white;
    color: var(--color-gray-700, #374151);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.floating-accessibility-slider-btn:hover {
    background: var(--color-gray-100, #f3f4f6);
    border-color: var(--color-primary, #1c94c6);
    color: var(--color-primary, #1c94c6);
}

.floating-accessibility-slider-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-gray-700, #374151);
    min-width: 48px;
    text-align: center;
}

.floating-accessibility-reset {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-gray-100, #f3f4f6);
    border: 1px solid var(--color-gray-300, #d1d5db);
    border-radius: 0.5rem;
    color: var(--color-gray-700, #374151);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}

.floating-accessibility-reset:hover {
    background: var(--color-gray-200, #e5e7eb);
    border-color: var(--color-gray-400, #9ca3af);
}

/* Backdrop */
.floating-action-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 148, 198, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(28, 148, 198, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(28, 148, 198, 0);
    }
}

@keyframes pulse-gentle {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes badge-pop {
    0% {
        transform: scale(0);
    }
    70% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slide-up-enter-active,
.slide-up-leave-active {
    transition: all 0.3s ease;
}

.slide-up-enter-from,
.slide-up-leave-to {
    opacity: 0;
    transform: translateY(10px);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-action-button,
    .floating-action-main,
    .floating-action-close,
    .floating-action-item,
    .floating-accessibility-panel {
        transition: none !important;
    }

    .floating-action-main--pulse,
    .floating-action-button--pulse {
        animation: none !important;
    }
}

/* High contrast mode */
:global(.high-contrast) .floating-action-button {
    border-width: 3px;
}

:global(.high-contrast) .floating-action-button:hover {
    border-width: 4px;
}

/* Large text mode */
:global(.large-text) .floating-action-label,
:global(.large-text) .floating-accessibility-text {
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 640px) {
    .floating-action-container {
        bottom: 1rem;
        right: 1rem;
    }

    .floating-action-main,
    .floating-action-close {
        width: 48px;
        height: 48px;
    }

    .floating-action-icon,
    .floating-action-close-icon {
        width: 20px;
        height: 20px;
    }

    .floating-action-button {
        min-width: 160px;
        padding: 0.625rem 0.875rem;
    }

    .floating-accessibility-panel {
        right: -0.5rem;
        width: calc(100vw - 2rem);
    }
}

/* Print styles */
@media print {
    .floating-action-container {
        display: none !important;
    }
}

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

/* No scroll class */
:global(.no-scroll) {
    overflow: hidden;
}
/* Slowed down marquee animation to 100s */
@keyframes marquee-slow {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.animate-marquee-slow {
    animation: marquee-slow 100s linear infinite;
}

.animate-marquee-slow:hover {
    animation-play-state: paused;
}

/* Slide in animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideInDown {
    animation: slideInDown 0.5s ease-out;
}

/* Focus styles for accessibility */
*:focus-visible {
    outline: 2px solid #1c94c6;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid #1c94c6;
    outline-offset: 2px;
}

/* Active navigation link */
.router-link-active {
    font-weight: 600;
}

.app-footer {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

/* Top Section */
.footer-top {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 20px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-section {
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4cc9f0, #4361ee);
}

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

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-link:hover {
    color: #4cc9f0;
    padding-left: 8px;
}

.footer-link::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-link:hover::before {
    left: 0;
    opacity: 1;
}

/* Contact Section */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.contact-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #4cc9f0;
}

.contact-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #4cc9f0;
}

/* Bottom Section */
.footer-bottom {
    padding: 30px 0;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-legal {
    flex: 1;
    display: flex;
    justify-content: center;
}

.legal-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.legal-link:hover {
    color: #ffffff;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #4cc9f0;
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

.footer-payments {
    display: flex;
    align-items: center;
}

.payment-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.payment-icon {
    font-size: 20px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    cursor: default;
}

.payment-icon:hover {
    opacity: 1;
}

/* Action Buttons Container */
.footer-actions {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.footer-action-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }

    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        order: 2;
    }

    .footer-payments {
        order: 3;
    }

    .footer-copyright {
        order: 1;
    }

    .legal-nav {
        gap: 15px;
    }

    .footer-actions {
        right: 15px;
        bottom: 15px;
        gap: 10px;
    }

    .footer-action-button {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .footer-actions {
        right: 10px;
        bottom: 10px;
    }

    .footer-action-button {
        width: 45px;
        height: 45px;
    }
}

/* Accessibility Support */
@media (prefers-reduced-motion: reduce) {
    .footer-link,
    .legal-link,
    .footer-action-button {
        transition: none;
    }
}

.high-contrast .app-footer {
    background: #000000;
    border-top: 2px solid #ffffff;
}

.high-contrast .footer-link,
.high-contrast .legal-link,
.high-contrast .contact-link {
    color: #ffffff;
    text-decoration: underline;
}

.high-contrast .footer-link:hover,
.high-contrast .legal-link:hover,
.high-contrast .contact-link:hover {
    color: #ffff00;
}
/* Base Styles - Preserved */
.floating-action-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
}

.floating-action-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.floating-action-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.floating-action-main--active {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.floating-action-main--pulse {
    animation: pulse 2s infinite;
}

.floating-action-close {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(240, 147, 251, 0.4);
}

.floating-actions {
    position: absolute;
    bottom: 70px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-action-item {
    opacity: 0;
    transform: translateY(20px);
}

.floating-action-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: white;
    border: none;
    border-radius: 50px;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    min-width: 160px;
    text-align: left;
}

.floating-action-button:hover {
    transform: translateX(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-action-button--pulse {
    animation: pulse 2s infinite;
}

.floating-action-label {
    white-space: nowrap;
}

.floating-action-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 12px;
    font-weight: 600;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-action-button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Cart Button Styles */
.floating-action-item--cart .floating-action-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

/* WhatsApp Button Styles */
.floating-action-item--whatsapp .floating-action-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

/* Live Chat Button Styles */
.floating-action-item--chat .floating-action-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

/* WhatsApp Chat Modal */
.whatsapp-chat-modal {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 380px;
    height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

.whatsapp-chat-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.whatsapp-messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f0f2f5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-message {
    display: flex;
    animation: slideIn 0.3s ease;
}

.whatsapp-message.bot {
    justify-content: flex-start;
}

.whatsapp-message.user {
    justify-content: flex-end;
}

.whatsapp-message-bubble {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: 12px;
    word-wrap: break-word;
    white-space: pre-line;
}

.whatsapp-message.bot .whatsapp-message-bubble {
    background: white;
    color: #1f2937;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-message.user .whatsapp-message-bubble {
    background: #25D366;
    color: white;
    border-bottom-right-radius: 4px;
}

.whatsapp-message-time {
    font-size: 11px;
    opacity: 0.7;
    display: block;
    margin-top: 4px;
    text-align: right;
}

/* Cart Summary in Chat */
.cart-summary {
    background: white;
    border: 1px solid #e5e7eb;
    max-width: 85%;
}

.cart-items-list {
    max-height: 150px;
    overflow-y: auto;
    margin: 10px 0;
    padding-right: 5px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-name {
    font-size: 14px;
    color: #4b5563;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 600;
    color: #059669;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 2px solid #e5e7eb;
    margin-top: 8px;
    font-size: 16px;
    color: #111827;
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}

.checkout-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    align-items: center;
    padding: 14px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.payment-options {
    background: white;
    border: 1px solid #e5e7eb;
}

.payment-option-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.payment-option-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.whatsapp-input-area {
    padding: 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    align-items: center;
}

.whatsapp-message-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s;
}

.whatsapp-message-input:focus {
    border-color: #25D366;
}

.whatsapp-message-input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

.whatsapp-send-button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #25D366;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.whatsapp-send-button:hover:not(:disabled) {
    background: #128C7E;
    transform: scale(1.05);
}

.whatsapp-send-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.whatsapp-quick-actions {
    padding: 12px 16px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quick-action-btn {
    padding: 8px 12px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    font-size: 12px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-action-btn:hover {
    background: #e5e7eb;
}

/* Backdrop */
.floating-action-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Accessibility Panel */
.floating-accessibility-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 300px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

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

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chat-modal-enter-active,
.chat-modal-leave-active {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chat-modal-enter-from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

.chat-modal-leave-to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .floating-action-container {
        bottom: 16px;
        right: 16px;
    }

    .floating-action-container--mobile {
        bottom: 80px;
    }

    .whatsapp-chat-modal {
        width: calc(100vw - 32px);
        height: calc(100vh - 140px);
        right: 16px;
        bottom: 90px;
    }

    .floating-actions {
        bottom: 60px;
    }

    .floating-accessibility-panel {
        width: calc(100vw - 32px);
        right: 16px;
    }
}

@media (max-width: 480px) {
    .floating-action-button {
        min-width: 140px;
        padding: 10px 14px;
        font-size: 13px;
    }

    .whatsapp-chat-modal {
        height: calc(100vh - 100px);
    }

    .whatsapp-quick-actions {
        justify-content: center;
    }

    .cart-items-list {
        max-height: 100px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .floating-action-main,
    .floating-action-button,
    .whatsapp-message,
    .chat-modal-enter-active,
    .chat-modal-leave-active {
        transition: none;
        animation: none;
    }
}

/* Screen Reader Only */
.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;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

.animate-scroll {
    animation: scroll 40s linear infinite;
}

.hover\:pause:hover {
    animation-play-state: paused;
}

@media (max-width: 640px) {
    .animate-scroll {
        animation: scroll 30s linear infinite;
    }
}

@media (min-width: 1024px) {
    .animate-scroll {
        animation: scroll 50s linear infinite;
    }
}.shadow-subtle {
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.04);
}

.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

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

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
}

.prose {
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}
/* Slowed down marquee animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow 100s linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

/* Slide in animations */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-slideInDown {
  animation: slideInDown 0.5s ease-out;
}

.animate-slideInUp {
  animation: slideInUp 0.5s ease-out;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Accessibility focus styles */
*:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Smooth transitions */
.header-transition {
  transition: all 0.3s ease-in-out;
}

/* Mobile menu backdrop blur for iOS */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #mobile-menu {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
  }
}

/* Responsive improvements */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .floating-action-bar {
    display: none !important;
  }
}
/* Slowed down marquee animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow 100s linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

/* Accessibility focus styles */
*:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile menu backdrop blur for iOS */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #mobile-menu {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
  }
}

/* Responsive improvements */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Router link active state */
.router-link-active {
  font-weight: 600;
}/* Slowed down marquee animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

/* Accessibility focus styles */
*:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
  outline-style: solid;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile menu backdrop blur for iOS */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #mobile-menu {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
  }
}

/* Smooth transitions */
.header-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive improvements */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Improve tap targets on mobile */
  button, 
  a, 
  .router-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Prevent text size adjustment */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .floating-action-bar,
  .announcement-bar {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}

/* Loading animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Router link active state */
.router-link-active:not(.logo-link) {
  position: relative;
  font-weight: 600;
}

.router-link-active:not(.logo-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Improve focus for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Prevent horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: rgba(28, 148, 198, 0.3);
  color: inherit;
}

/* Improve form elements */
input, textarea, select {
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.15s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
  border-color: #1c94c6;
  box-shadow: 0 0 0 3px rgba(28, 148, 198, 0.1);
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-balance {
  text-wrap: balance;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .dark-mode-support {
    color-scheme: dark;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .high-contrast {
    border: 2px solid currentColor;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-marquee-slow,
  .animate-spin,
  .animate-pulse {
    animation: none !important;
  }
}
@keyframes marquee-slow {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow linear infinite;
}

.animate-marquee-slow:hover {
  animation-play-state: paused;
}

/* Accessibility focus styles */
*:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
  outline-style: solid;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Mobile menu backdrop blur for iOS */
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
  #mobile-menu {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98);
  }
}

/* Smooth transitions */
.header-transition {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive improvements */
@media (max-width: 640px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Improve tap targets on mobile */
  button, 
  a, 
  .router-link {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Prevent text size adjustment */
  input,
  select,
  textarea {
    font-size: 16px !important;
  }
  
  /* Adjust action buttons for mobile */
  .fixed.bottom-4.right-4 {
    bottom: 1rem;
    right: 1rem;
  }
  
  .fixed.bottom-4.right-4 button {
    width: 50px;
    height: 50px;
    padding: 0.75rem;
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .floating-action-bar,
  .announcement-bar,
  .fixed.bottom-4.right-4 {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  a {
    color: black !important;
    text-decoration: underline !important;
  }
}

/* Loading animations */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Router link active state */
.router-link-active:not(.logo-link) {
  position: relative;
  font-weight: 600;
}

.router-link-active:not(.logo-link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: currentColor;
  border-radius: 1px;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Improve focus for keyboard navigation */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 10000;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

/* Prevent horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: rgba(28, 148, 198, 0.3);
  color: inherit;
}

/* Improve form elements */
input, textarea, select {
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: all 0.15s ease-in-out;
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
  border-color: #1c94c6;
  box-shadow: 0 0 0 3px rgba(28, 148, 198, 0.1);
}

/* Utility classes */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-balance {
  text-wrap: balance;
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Action button animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.floating-button:hover {
  animation: float 2s ease-in-out infinite;
}

/* Dark mode support (optional) */
@media (prefers-color-scheme: dark) {
  .dark-mode-support {
    color-scheme: dark;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .high-contrast {
    border: 2px solid currentColor;
  }
  
  .fixed.bottom-4.right-4 button {
    border: 2px solid white;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .animate-marquee-slow,
  .animate-spin,
  .animate-pulse,
  .floating-button {
    animation: none !important;
  }
}

/* Action buttons always visible */
.fixed.bottom-4.right-4 {
  z-index: 10000 !important;
}

.fixed.bottom-4.right-4 button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fixed.bottom-4.right-4 button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fixed.bottom-4.right-4 button:active {
  transform: scale(0.95);
}

/* Ensure buttons are visible on mobile */
@media (max-width: 768px) {
  .fixed.bottom-4.right-4 {
    padding: 0.5rem;
  }
  
  .fixed.bottom-4.right-4 button {
    width: 50px;
    height: 50px;
    padding: 0.75rem;
  }
}

/* Ensure buttons don't overlap with content */
main {
  margin-bottom: 5rem;
}

@media (max-width: 768px) {
  main {
    margin-bottom: 6rem;
  }
}

/* WhatsApp button specific styling */
.bg-\[#25D366\] {
  background-color: #25D366;
}

.bg-\[#25D366\]:hover {
  background-color: #128C7E;
}
.shadow-subtle {
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 12px rgba(0,0,0,.04);
}

.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

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

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
}

.prose {
  line-height: 1.75;
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul, .prose ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}
/* =============================
   ULTRA BASE
============================= */
.about-page{
  position:relative;
  isolation:isolate;
  --mx:-999px;
  --my:-999px;
  --hx:0;
  background:
    radial-gradient(1200px 600px at 30% 10%, rgba(28,148,198,0.10), transparent 55%),
    radial-gradient(900px 500px at 75% 25%, rgba(231,51,60,0.08), transparent 55%),
    #ffffff;
}
.about-page[data-hyper="1"]{
  background:
    radial-gradient(1200px 700px at 30% 10%, rgba(28,148,198,0.14), transparent 55%),
    radial-gradient(900px 560px at 75% 25%, rgba(231,51,60,0.12), transparent 55%),
    radial-gradient(600px 360px at calc(50% + (var(--hx) * 80px)) 30%, rgba(255,255,255,0.06), transparent 65%),
    #ffffff;
}

/* Cursor glow */
.cursor-glow{
  position:absolute;
  inset:-20%;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(300px 300px at var(--mx) var(--my), rgba(28,148,198,0.20), transparent 60%),
    radial-gradient(240px 240px at calc(var(--mx) + 90px) calc(var(--my) + 40px), rgba(231,51,60,0.18), transparent 60%),
    radial-gradient(420px 420px at 50% 20%, rgba(255,255,255,0.05), transparent 70%);
  transform:translateZ(0);
  transition: filter 220ms ease;
}
.about-page[data-hyper="1"] .cursor-glow{
  filter:saturate(1.2) contrast(1.05);
}

/* HUD */
.hud{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:60;
  width:min(320px, 92vw);
  background:rgba(255,255,255,0.78);
  border:1px solid rgba(15,23,42,0.10);
  backdrop-filter: blur(12px);
  border-radius:18px;
  box-shadow:0 18px 70px rgba(15,23,42,0.12);
  padding:12px;
}
.hud-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;}
.hud-title{display:flex;align-items:center;gap:10px;font-weight:900;color:rgba(15,23,42,0.85);font-size:12px;letter-spacing:.3px;text-transform:uppercase;}
.hud-dot{width:10px;height:10px;border-radius:999px;background:rgba(15,23,42,0.15);box-shadow:0 0 0 rgba(28,148,198,0);}
.hud-dot.on{background:rgba(28,148,198,0.65);box-shadow:0 0 0 10px rgba(28,148,198,0.10);}

.hud-btn{
  width:34px;height:34px;border-radius:12px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(15,23,42,0.04);
  font-weight:900;color:rgba(15,23,42,0.75);
  transition: transform 160ms ease, background 160ms ease;
}
.hud-btn:hover{transform:translateY(-1px);background:rgba(15,23,42,0.06);}

.hud-row{display:flex;gap:8px;flex-wrap:wrap;}
.hud-row--thin{margin-top:10px}
.hud-pill{
  padding:8px 10px;border-radius:999px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(255,255,255,0.70);
  font-weight:900;font-size:12px;color:rgba(15,23,42,0.75);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.hud-pill.on{
  background:rgba(28,148,198,0.12);
  border-color:rgba(28,148,198,0.24);
}
.hud-pill:hover{transform:translateY(-1px);}

.hud-link{
  font-size:12px;font-weight:900;
  color:rgba(15,23,42,0.70);
  padding:6px 8px;border-radius:10px;
  border:1px solid rgba(15,23,42,0.08);
  background:rgba(255,255,255,0.55);
}
.hud-link:hover{background:rgba(255,255,255,0.75);}

.hud-mini{margin-top:10px;}
.hud-mini-label{font-size:11px;font-weight:900;color:rgba(15,23,42,0.55);text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px;}
.hud-mini-bar{height:8px;border-radius:999px;background:rgba(15,23,42,0.08);overflow:hidden;}
.hud-mini-fill{height:100%;border-radius:999px;background:linear-gradient(90deg, rgba(231,51,60,0.70), rgba(28,148,198,0.70));}

/* Palette */
.palette-backdrop{position:fixed;inset:0;background:rgba(15,23,42,0.48);z-index:70;}
.palette{
  position:fixed;
  left:50%;
  top:14%;
  transform:translateX(-50%);
  width:min(640px, 92vw);
  background:rgba(255,255,255,0.92);
  border:1px solid rgba(15,23,42,0.12);
  border-radius:18px;
  box-shadow:0 30px 120px rgba(0,0,0,0.25);
  z-index:80;
  overflow:hidden;
}
.palette-head{display:flex;align-items:center;gap:10px;padding:12px 12px;border-bottom:1px solid rgba(15,23,42,0.08);}
.palette-kbd{
  font-size:11px;font-weight:900;
  padding:4px 8px;border-radius:10px;
  background:rgba(15,23,42,0.06);
  border:1px solid rgba(15,23,42,0.10);
  color:rgba(15,23,42,0.7);
}
.palette-title{font-weight:1000;color:rgba(15,23,42,0.80);margin-left:auto;margin-right:auto;}
.palette-x{
  width:34px;height:34px;border-radius:12px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(15,23,42,0.04);
}
.palette-input{
  width:100%;
  padding:12px 14px;
  border:none;outline:none;
  font-size:14px;
  background:rgba(255,255,255,0.70);
  border-bottom:1px solid rgba(15,23,42,0.08);
}
.palette-list{max-height:320px;overflow:auto;}
.palette-item{
  width:100%;
  text-align:left;
  padding:12px 14px;
  border-bottom:1px solid rgba(15,23,42,0.06);
  background:transparent;
}
.palette-item:hover, .palette-item.active{background:rgba(28,148,198,0.08);}
.palette-item-title{font-weight:1000;color:rgba(15,23,42,0.80);}
.palette-item-desc{font-size:12px;color:rgba(15,23,42,0.58);margin-top:2px;}

/* Constellation */
.constellation{opacity:.55;mix-blend-mode:screen;pointer-events:none;}
.const-line{opacity:.35;transition:opacity 220ms ease, stroke-width 220ms ease;}
.const-line.hot{opacity:.90;stroke-width:1.6;}
.const-node{fill:rgba(255,255,255,0.55);transition:transform 220ms ease, fill 220ms ease, opacity 220ms ease;transform-origin:center;opacity:.65;}
.const-node.hot{fill:rgba(255,255,255,0.95);opacity:1;transform:scale(1.06);}

/* Mesh */
.mesh-path{stroke-dasharray:8 10;animation:meshMove 8s linear infinite;opacity:.85;}
.mesh-path--2{animation-duration:10s;opacity:.7;}
.mesh-path--3{animation-duration:12s;opacity:.55;}
@keyframes meshMove{
  0%{stroke-dashoffset:0;transform:translateY(0px);}
  50%{stroke-dashoffset:120;transform:translateY(-6px);}
  100%{stroke-dashoffset:240;transform:translateY(0px);}
}

/* Hero overlay + emblem */
.hero-overlay{
  background:
    radial-gradient(900px 480px at 50% 40%, rgba(255,255,255,0.10), transparent 60%),
    linear-gradient(90deg, rgba(15,23,42,0.72), rgba(231,51,60,0.18));
  mix-blend-mode: overlay;
}
.hero-emblem{position:absolute;inset:0;z-index:12;display:grid;place-items:center;opacity:.55;}
.hero-emblem-svg{
  width:min(340px, 60vw);
  height:auto;
  transform:translateY(10px);
  filter:drop-shadow(0 20px 90px rgba(0,0,0,0.25));
  animation:emblemFloat 6.5s ease-in-out infinite;
}
@keyframes emblemFloat{
  0%,100%{transform:translateY(10px) rotate(-1deg);}
  50%{transform:translateY(0px) rotate(1deg);}
}

/* Typewriter */
.tw{white-space:pre-wrap;}
.tw-caret{opacity:.9;animation:caret 1s steps(1) infinite;}
@keyframes caret{50%{opacity:0;}}

/* Scroll badge */
.scroll-badge{display:inline-flex;}
.scroll-badge-inner{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 14px;border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}

/* Pulse dot */
.pulse-dot{
  width:9px;height:9px;border-radius:999px;
  background:rgba(255,255,255,0.9);
  box-shadow:0 0 0 rgba(255,255,255,0.25);
  animation:pulse 1.6s ease-out infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(255,255,255,0.25);opacity:.9;}
  70%{box-shadow:0 0 0 16px rgba(255,255,255,0);opacity:1;}
  100%{box-shadow:0 0 0 0 rgba(255,255,255,0);opacity:.9;}
}

/* Hyper badge */
.hyper-badge{
  margin-top:14px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.18);
  font-weight:1000;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:12px;
  animation:hyperPulse 1.4s ease-in-out infinite;
}
@keyframes hyperPulse{
  0%,100%{transform:translateY(0);opacity:.85;}
  50%{transform:translateY(-2px);opacity:1;}
}

/* Divider */
.section-divider svg{width:100%;height:80px;display:block;}
.divider-fill{fill:rgba(28,148,198,0.06);animation:dividerWave 7.5s ease-in-out infinite;transform-origin:center;}
@keyframes dividerWave{0%,100%{transform:translateY(0px);}50%{transform:translateY(6px);}}

/* Tilt cards */
.tilt-card{
  position:relative;
  transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition:transform 220ms ease, box-shadow 220ms ease;
  will-change:transform;
}
.tilt-card::after{
  content:"";
  position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(240px 240px at var(--sx,50%) var(--sy,50%), rgba(255,255,255,0.22), rgba(255,255,255,0.06) 35%, transparent 70%);
  opacity:0;transition:opacity 180ms ease;
}
.tilt-card:hover::after{opacity:1;}

/* Cards */
.stats-card{
  background:#fff;border:1px solid rgba(15,23,42,0.06);
  border-radius:18px;padding:18px 12px 16px;
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
}
.timeline-card{
  background:#fff;border:1px solid rgba(15,23,42,0.06);
  border-radius:18px;padding:18px 18px 16px;
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
  cursor:pointer;
}
.timeline-card.active{
  outline:2px solid rgba(231,51,60,0.25);
  box-shadow:0 24px 80px rgba(231,51,60,0.10);
}

/* Badge pills */
.badge-pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(15,23,42,0.08);
  background:rgba(255,255,255,0.85);
  color:rgba(15,23,42,0.82);
  font-weight:900;font-size:12px;
  box-shadow:0 10px 30px rgba(15,23,42,0.06);
}

/* Timeline scrubber */
.timeline-scrubber{
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,0.90);
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
}
.timeline-scrubber-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.timeline-scrubber-title{font-weight:1000;color:rgba(15,23,42,0.86);}
.timeline-scrubber-sub{margin-left:10px;font-size:12px;font-weight:900;color:rgba(15,23,42,0.55);}
.timeline-scrubber-actions{display:flex;gap:8px;flex-wrap:wrap;}
.ts-btn{
  padding:8px 10px;border-radius:12px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(15,23,42,0.04);
  font-weight:1000;font-size:12px;color:rgba(15,23,42,0.74);
}
.ts-btn:hover{background:rgba(15,23,42,0.06);}
.ts-range{width:100%;margin-top:12px;}
.timeline-focus{margin-top:12px;padding:12px;border-radius:14px;border:1px solid rgba(15,23,42,0.08);background:rgba(28,148,198,0.06);}
.tf-year{font-weight:1000;color:rgba(231,51,60,0.90);}
.tf-title{font-weight:1000;color:rgba(15,23,42,0.86);margin-top:2px;}
.tf-desc{color:rgba(15,23,42,0.68);margin-top:6px;}
.tf-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;}
.tf-tag{font-size:11px;font-weight:900;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,0.8);border:1px solid rgba(15,23,42,0.08);}

/* Flow controls */
.flow-controls{display:flex;gap:8px;flex-wrap:wrap;}
.flow-btn{
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(255,255,255,0.70);
  font-weight:1000;font-size:12px;color:rgba(15,23,42,0.75);
}
.flow-btn:hover{background:rgba(255,255,255,0.88);}

/* Flow path */
.flow-path{transition:stroke-dashoffset 520ms cubic-bezier(.2,.8,.2,1);}
.flow-dot{
  fill:rgba(255,255,255,0.9);
  stroke:rgba(231,51,60,0.65);
  stroke-width:2;
  filter:drop-shadow(0 0 10px rgba(28,148,198,0.25));
  offset-path: path("M40,80 C180,25 240,135 360,80 C500,15 560,145 700,80 C780,40 830,60 880,80");
  offset-distance: 0%;
  animation:flowTravel 6.5s linear infinite;
}
@keyframes flowTravel{
  0%{offset-distance:0%;opacity:.7;}
  10%{opacity:1;}
  100%{offset-distance:100%;opacity:.85;}
}
.flow-nodes circle{
  fill:rgba(15,23,42,0.08);
  stroke:rgba(15,23,42,0.16);
  stroke-width:1;
  cursor:pointer;
  transition:transform 180ms ease, fill 180ms ease, stroke 180ms ease;
}
.flow-nodes circle.active{
  fill:rgba(231,51,60,0.14);
  stroke:rgba(231,51,60,0.55);
}
.flow-node:hover circle{
  fill:rgba(231,51,60,0.12);
  stroke:rgba(231,51,60,0.45);
  transform:scale(1.06);
}
.flow-nodes text{
  font-size:12px;
  fill:rgba(15,23,42,0.88);
  font-weight:900;
  text-anchor:middle;
  cursor:pointer;
}

/* Brand DNA */
.dna-pills{display:flex;gap:8px;flex-wrap:wrap;}
.dna-btn{
  padding:8px 12px;border-radius:999px;
  border:1px solid rgba(15,23,42,0.10);
  background:rgba(15,23,42,0.04);
  font-weight:1000;font-size:12px;color:rgba(15,23,42,0.74);
}
.dna-btn:hover{background:rgba(15,23,42,0.06);}

.dna-grid{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
}
@media (min-width: 920px){
  .dna-grid{grid-template-columns: 380px 1fr;align-items:stretch;}
}
.dna-surface{
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.92);
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
  padding:10px;
}
.dna-radar{width:100%;height:auto;touch-action:none;}
.dna-point{
  fill:rgba(231,51,60,0.92);
  stroke:rgba(255,255,255,0.90);
  stroke-width:2;
  filter: drop-shadow(0 10px 18px rgba(231,51,60,0.22));
}
.dna-point.grab{cursor:grabbing;}
.dna-readout{
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.92);
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
  padding:14px;
}
.dna-readout-title{font-weight:1000;color:rgba(15,23,42,0.84);margin-bottom:10px;}
.dna-meters{display:flex;flex-direction:column;gap:10px;}
.dna-meter-top{display:flex;justify-content:space-between;align-items:center;}
.dna-meter-label{font-weight:1000;color:rgba(15,23,42,0.75);font-size:12px;}
.dna-meter-val{font-weight:1000;color:rgba(231,51,60,0.80);font-size:12px;}
.dna-meter-bar{height:10px;border-radius:999px;background:rgba(15,23,42,0.08);overflow:hidden;}
.dna-meter-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(231,51,60,0.70), rgba(28,148,198,0.70));
}
.dna-blurb{margin-top:12px;padding-top:12px;border-top:1px solid rgba(15,23,42,0.08);}
.dna-blurb-kicker{font-weight:1000;font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:rgba(15,23,42,0.55);}
.dna-blurb-text{margin-top:6px;color:rgba(15,23,42,0.72);line-height:1.45;}

/* Before/After */
.ba{
  border:1px solid rgba(15,23,42,0.08);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,0.92);
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
}
.ba-title{font-weight:1000;color:rgba(15,23,42,0.84);}
.ba-sub{color:rgba(15,23,42,0.62);font-size:13px;margin-top:4px;margin-bottom:10px;}
.ba-wrap{
  position:relative;
  height:170px;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,0.08);
  background:linear-gradient(90deg, rgba(231,51,60,0.06), rgba(28,148,198,0.06));
  user-select:none;
  touch-action:none;
}
.ba-side{
  position:absolute;inset:0;
  padding:14px;
  display:flex;flex-direction:column;gap:10px;
}
.ba-left{
  background:rgba(231,51,60,0.08);
  width:50%;
  border-right:1px solid rgba(255,255,255,0.45);
}
.ba-right{
  background:rgba(28,148,198,0.08);
}
.ba-chip{
  width:max-content;
  padding:6px 10px;border-radius:999px;
  font-weight:1000;font-size:11px;
  background:rgba(255,255,255,0.65);
  border:1px solid rgba(15,23,42,0.10);
  color:rgba(15,23,42,0.74);
}
.ba-chip--right{margin-left:auto;}
.ba-list{margin:0;padding-left:18px;color:rgba(15,23,42,0.74);font-weight:800;font-size:12px;line-height:1.55;}
.ba-handle{
  position:absolute;top:0;bottom:0;
  width:4px;
  transform:translateX(-2px);
  background:rgba(255,255,255,0.85);
  box-shadow:0 0 0 6px rgba(255,255,255,0.25);
  pointer-events:none;
}

/* Orbit */
.orbit-wrap{
  position:relative;
  width:min(460px, 92vw);
  height:min(460px, 92vw);
  border-radius:999px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(320px 320px at 50% 40%, rgba(28,148,198,0.30), rgba(15,23,42,0.86)),
    radial-gradient(220px 220px at 65% 35%, rgba(231,51,60,0.22), transparent 65%);
  box-shadow:0 30px 120px rgba(15,23,42,0.22);
}
.orbit-core{
  width:220px;height:220px;border-radius:999px;
  display:grid;place-items:center;text-align:center;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  box-shadow:inset 0 0 30px rgba(28,148,198,0.16);
  z-index:2;
}
.orbit-core-title{font-weight:1000;color:rgba(255,255,255,0.96);font-size:14px;}
.orbit-core-sub{color:rgba(255,255,255,0.78);font-size:12px;margin-top:6px;}

.orbit-ring{
  position:absolute;inset:46px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 0 18px rgba(28,148,198,0.10);
  animation:ringPulse 4.2s ease-in-out infinite;
  pointer-events:none;
}
.orbit-ring--2{inset:92px;animation-duration:6s;opacity:.85;}
@keyframes ringPulse{
  0%,100%{transform:scale(1);opacity:.65;}
  50%{transform:scale(1.03);opacity:.95;}
}
.glyph{
  position:absolute;width:52px;height:52px;border-radius:999px;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  color:rgba(255,255,255,0.92);
  display:grid;place-items:center;
  box-shadow:0 18px 70px rgba(0,0,0,0.25);
  transition:transform 180ms ease, background 180ms ease, border-color 180ms ease;
  z-index:3;
}
.glyph svg{width:22px;height:22px;}
.glyph:hover{transform:translateY(-2px) scale(1.04);background:rgba(255,255,255,0.12);border-color:rgba(255,255,255,0.22);}
.glyph-a{top:40px;left:50%;transform:translateX(-50%);}
.glyph-b{right:44px;top:52%;transform:translateY(-50%);}
.glyph-c{bottom:46px;left:50%;transform:translateX(-50%);}
.glyph-d{left:44px;top:52%;transform:translateY(-50%);}

.orbit-caption{
  position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);
  padding:10px 12px;border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  z-index:2;
}
.glyph-pop{
  position:absolute;bottom:-14px;left:50%;transform:translateX(-50%);
  width:min(340px, 92vw);
  padding:14px 14px 12px;border-radius:16px;
  background:rgba(15,23,42,0.88);
  border:1px solid rgba(255,255,255,0.12);
  box-shadow:0 18px 60px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  z-index:4;
}
.glyph-pop-title{color:rgba(255,255,255,0.96);font-weight:1000;margin-bottom:4px;}
.glyph-pop-desc{color:rgba(255,255,255,0.78);font-size:13px;line-height:1.35;}
.glyph-pop-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;}
.glyph-tag{
  font-size:11px;padding:4px 8px;border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.10);
  color:rgba(255,255,255,0.86);
}

/* Roadmap cards */
.roadmap-card{
  border:1px solid rgba(15,23,42,0.06);
  background:#fff;border-radius:18px;
  padding:16px 16px 14px;
  box-shadow:0 18px 60px rgba(15,23,42,0.06);
}
.roadmap-kicker{
  font-size:11px;font-weight:1000;letter-spacing:.4px;
  color:rgba(28,148,198,0.92);
  text-transform:uppercase;
}
.roadmap-title{
  font-size:15px;font-weight:1000;
  color:rgba(15,23,42,0.92);
  margin-top:2px;
}

/* Magnetic buttons (subtle) */
.magnetic{
  position:relative;
  transform: translate3d(calc((var(--mx,0px) - 50px) * 0), calc((var(--my,0px) - 50px) * 0), 0);
}

/* Reveal */
.animate-on-scroll{opacity:0;transform:translateY(14px);transition:opacity 600ms ease, transform 600ms cubic-bezier(.2,.8,.2,1);will-change:opacity, transform;}
.animate-on-scroll.animated{opacity:1;transform:translateY(0px);}
.stagger-1{transition-delay:0ms;}
.stagger-2{transition-delay:80ms;}
.stagger-3{transition-delay:160ms;}
.stagger-4{transition-delay:240ms;}
.stagger-5{transition-delay:320ms;}
.stagger-6{transition-delay:400ms;}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .mesh-path,.flow-dot,.orbit-ring,.hero-emblem-svg,.divider-fill,.tw-caret,.pulse-dot,.hyper-badge{animation:none !important;}
  .tilt-card{transition:none !important;transform:none !important;}
  .animate-on-scroll{opacity:1 !important;transform:none !important;transition:none !important;}
}
/* Brand tokens (fallbacks if Tailwind theme vars not present) */
.about-page{
  --gw-red:#e7333c;
  --gw-blue:#1c94c6;
  --gw-dark:#0b2a3a;
  --gw-gray:#f4f6f8;
}

/* Hero overlay depth */
.hero-overlay{
  background:
    radial-gradient(800px 360px at 50% 25%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%),
    linear-gradient(120deg, rgba(11,42,58,.75), rgba(231,51,60,.55));
  mix-blend-mode: overlay;
}

/* subtle mesh drift (doesn't affect usability) */
.mesh-path{
  stroke-dasharray: 10 10;
  animation: meshDrift 10s linear infinite;
  opacity:.9;
}
.mesh-path--2{ animation-duration: 12s; opacity:.65; }
.mesh-path--3{ animation-duration: 14s; opacity:.45; }
@keyframes meshDrift{
  from{ stroke-dashoffset: 0; }
  to{ stroke-dashoffset: -120; }
}

/* pulse dot */
.pulse-dot{
  width:10px;height:10px;border-radius:999px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 0 rgba(255,255,255,.35);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(255,255,255,.35); transform:scale(.95); }
  60%{ box-shadow:0 0 0 10px rgba(255,255,255,0); transform:scale(1); }
  100%{ box-shadow:0 0 0 0 rgba(255,255,255,0); transform:scale(.95); }
}

/* scroll badge */
.scroll-badge-inner{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.65rem 1rem;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  animation: floaty 2.8s ease-in-out infinite;
}
@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

/* cards */
.stats-card{
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(15,23,42,.06);
  padding: 18px 14px;
  box-shadow: 0 10px 28px rgba(2,6,23,.06);
}
.timeline-item{ opacity: 0; transform: translateY(14px); transition: all 700ms cubic-bezier(.2,.8,.2,1); }
.animate-on-scroll.animated{ opacity: 1; transform: translateY(0); }

/* Flow path shimmer (lightweight) */
.flow-path{
  stroke-dasharray: 6 10;
  animation: flowDash 8s linear infinite;
}
@keyframes flowDash{
  from{ stroke-dashoffset: 0; }
  to{ stroke-dashoffset: -160; }
}

/* badges */
.badge-pill{
  display:inline-flex;
  align-items:center;
  padding:.45rem .75rem;
  border-radius:999px;
  font-size:.82rem;
  font-weight:600;
  background: rgba(28,148,198,.08);
  color: #0b2a3a;
  border: 1px solid rgba(28,148,198,.18);
}

/* Roadmap */
.roadmap-card{
  border-radius: 18px;
  padding: 16px 16px 18px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 12px 34px rgba(2,6,23,.06);
}
.roadmap-top{ margin-bottom: 10px; }
.roadmap-kicker{
  font-size:.78rem;
  font-weight:800;
  color: var(--gw-red);
  letter-spacing:.02em;
}
.roadmap-title{
  font-size:1.02rem;
  font-weight:900;
  color: var(--gw-dark);
}

/* Leadership card polish */
.leadership-card img{
  display:block;
}

/* -----------------------------
   ✅ TILT (FIXED: tiny + desktop only)
   - No translate, only rotate
   - If device can't hover, it stays flat
------------------------------ */
.tilt-card{
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-origin: center;
  will-change: transform;
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
  backface-visibility: hidden;
}
.tilt-card.is-tilting{
  /* faster response while moving, still stable */
  transition: transform 60ms linear;
}

/* On touch / coarse pointer: kill the transform completely */
@media (hover: none), (pointer: coarse) {
  .tilt-card{
    transform: none !important;
  }
}

/* Prefers reduced motion: keep flat */
@media (prefers-reduced-motion: reduce) {
  .tilt-card{ transform: none !important; transition: none !important; }
  .mesh-path, .flow-path, .scroll-badge-inner, .pulse-dot{ animation: none !important; }
}

/* -----------------------------
   Orbit (kept as-is — you said it’s fine)
------------------------------ */
.orbit-wrap{
  position: relative;
  width: min(420px, 92vw);
  aspect-ratio: 1 / 1;
  display:grid;
  place-items:center;
}
.orbit-core{
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(120px 120px at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0)),
              linear-gradient(140deg, rgba(231,51,60,.85), rgba(28,148,198,.85));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 70px rgba(2,6,23,.25);
  display:grid;
  place-items:center;
  text-align:center;
  padding: 18px;
}
.orbit-core-title{
  font-weight: 900;
  color: white;
  font-size: 1.1rem;
}
.orbit-core-sub{
  margin-top: 6px;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  font-weight: 600;
}
.orbit-ring{
  position:absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,.25);
  filter: drop-shadow(0 14px 28px rgba(2,6,23,.18));
}
.orbit-ring--1{ animation: spin 18s linear infinite; }
.orbit-ring--2{
  inset: 58px;
  border-style: solid;
  opacity: .35;
  animation: spin 26s linear infinite reverse;
}
@keyframes spin{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }

.glyph{
  position:absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  color: white;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, background .2s ease;
}
.glyph svg{ width: 22px; height: 22px; }
.glyph:hover{ transform: scale(1.05); background: rgba(255,255,255,.18); }

/* positions */
.glyph-a{ top: 26px; left: 50%; transform: translateX(-50%); }
.glyph-b{ right: 24px; top: 50%; transform: translateY(-50%); }
.glyph-c{ bottom: 26px; left: 50%; transform: translateX(-50%); }
.glyph-d{ left: 24px; top: 50%; transform: translateY(-50%); }

.orbit-caption{
  position:absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(380px, 90vw);
  text-align:center;
  padding: .6rem .9rem;
  border-radius: 999px;
  background: rgba(11,42,58,.55);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* ==========================================================================
   FLOATING ACTION BAR - CORE STYLES
   ========================================================================== */
.floating-action-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-action-container--mobile {
  bottom: 16px;
  right: 16px;
}

.floating-action-container--expanded {
  align-items: center;
}

/* Main toggle button */
.floating-action-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--giftwrap-red, #dc2626) 0%, var(--giftwrap-darkblue, #1e3a8a) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 10000;
}

.floating-action-main:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-action-main:active {
  transform: scale(0.95);
}

.floating-action-main--active {
  background: linear-gradient(135deg, var(--giftwrap-darkblue, #1e3a8a) 0%, var(--giftwrap-red, #dc2626) 100%);
}

.floating-action-main--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

.floating-action-main-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--giftwrap-red);
  color: white;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid white;
}

.floating-action-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.floating-action-main:hover .floating-action-icon {
  transform: rotate(90deg);
}

/* Close button */
.floating-action-close {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--giftwrap-red, #dc2626);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 10000;
}

.floating-action-close:hover {
  background: var(--giftwrap-darkred, #b91c1c);
  transform: rotate(90deg);
}

.floating-action-close-icon {
  width: 20px;
  height: 20px;
}

/* Actions container */
.floating-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Individual action items */
.floating-action-item {
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.floating-action-item--scroll-top {
  order: -1;
}

.floating-action-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  text-align: left;
  position: relative;
}

.floating-action-button:hover {
  background: #f9fafb;
  border-color: var(--giftwrap-red, #dc2626);
  color: var(--giftwrap-red, #dc2626);
  transform: translateX(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.floating-action-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.floating-action-button--pulse {
  animation: subtle-pulse 1.5s infinite;
}

@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  50% {
    box-shadow: 0 2px 15px rgba(220, 38, 38, 0.2);
  }
}

.floating-action-button-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.floating-action-label {
  flex: 1;
  white-space: nowrap;
}

.floating-action-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--giftwrap-red, #dc2626);
  color: white;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* WhatsApp Chat Modal */
.whatsapp-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 500px;
  background: #075e54;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10010;
}

.whatsapp-chat-header {
  background: #075e54;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-messages-area {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #ece5dd;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23000000' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.whatsapp-message {
  margin-bottom: 12px;
  display: flex;
}

.whatsapp-message.user {
  justify-content: flex-end;
}

.whatsapp-message.bot {
  justify-content: flex-start;
}

.whatsapp-message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  background: white;
}

.whatsapp-message.user .whatsapp-message-bubble {
  background: #dcf8c6;
  border-top-right-radius: 4px;
  margin-left: auto;
}

.whatsapp-message.bot .whatsapp-message-bubble {
  background: white;
  border-top-left-radius: 4px;
}

.whatsapp-message-time {
  display: block;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  text-align: right;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.product-card-in-chat {
  display: flex;
  gap: 12px;
  padding: 8px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 8px;
}

.product-chat-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.whatsapp-quick-actions-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
}

.quick-action-btn {
  flex: 1;
  min-width: calc(50% - 4px);
  padding: 8px 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quick-action-btn:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.whatsapp-input-area {
  padding: 12px;
  background: #f0f0f0;
  display: flex;
  gap: 8px;
  border-top: 1px solid #ddd;
}

.whatsapp-message-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  outline: none;
  font-size: 14px;
}

.whatsapp-message-input:focus {
  border-color: #25d366;
}

.whatsapp-send-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.whatsapp-send-button:hover:not(:disabled) {
  background: #128c7e;
}

.whatsapp-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ChatGPT Chat Modal */
.chatgpt-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10010;
}

.chatgpt-chat-header {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
}

.chatgpt-messages-area {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: white;
}

.chatgpt-message {
  margin-bottom: 12px;
  display: flex;
}

.chatgpt-message.user {
  justify-content: flex-end;
}

.chatgpt-message.bot {
  justify-content: flex-start;
}

.chatgpt-message-bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 18px;
  position: relative;
  word-wrap: break-word;
  background: #f3f4f6;
}

.chatgpt-message.user .chatgpt-message-bubble {
  background: #667eea;
  color: white;
  border-top-right-radius: 4px;
  margin-left: auto;
}

.chatgpt-message.bot .chatgpt-message-bubble {
  background: #f3f4f6;
  border-top-left-radius: 4px;
}

.chatgpt-message-time {
  display: block;
  font-size: 11px;
  color: rgba(0, 0, 0, 0.4);
  margin-top: 4px;
  text-align: right;
}

.chatgpt-input-area {
  padding: 12px;
  background: #f0f0f0;
  display: flex;
  gap: 8px;
  border-top: 1px solid #ddd;
}

.chatgpt-message-input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 24px;
  outline: none;
  font-size: 14px;
}

.chatgpt-message-input:focus {
  border-color: #667eea;
}

.chatgpt-send-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #667eea;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.chatgpt-send-button:hover:not(:disabled) {
  background: #5a67d8;
}

.chatgpt-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatgpt-quick-actions {
  padding: 12px;
  background: #f0f0f0;
  border-top: 1px solid #ddd;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Product Search Modal */
.product-search-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 420px;
  max-width: calc(100vw - 48px);
  height: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10010;
}

.product-search-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-search-input-container {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 8px;
  position: relative;
}

.product-search-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.3s ease;
}

.product-search-input:focus {
  border-color: var(--giftwrap-red);
}

.product-search-clear {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
}

.product-search-clear:hover {
  color: #374151;
}

.product-search-submit {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--giftwrap-red);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-search-submit:hover:not(:disabled) {
  background: var(--giftwrap-darkred);
}

.product-search-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.product-search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #6b7280;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid var(--giftwrap-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product-search-grid {
  display: grid;
  gap: 16px;
}

.product-search-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.product-search-card:hover {
  border-color: var(--giftwrap-red);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.product-search-image {
  position: relative;
  flex-shrink: 0;
}

.product-search-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.product-stock-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: white;
}

.product-stock-badge.in-stock {
  background: #10b981;
}

.product-stock-badge.low-stock {
  background: #f59e0b;
}

.product-stock-badge.out-of-stock {
  background: #ef4444;
}

.product-search-content {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-sku {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 4px;
}

.product-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--giftwrap-red);
  margin-bottom: 8px;
}

.product-actions {
  display: flex;
  gap: 6px;
}

.product-action-btn {
  flex: 1;
  padding: 6px 8px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-action-btn.cart-btn {
  background: var(--giftwrap-red);
  color: white;
}

.product-action-btn.cart-btn:hover:not(:disabled) {
  background: var(--giftwrap-darkred);
}

.product-action-btn.quote-btn {
  background: #3b82f6;
  color: white;
}

.product-action-btn.quote-btn:hover:not(:disabled) {
  background: #2563eb;
}

.product-action-btn.details-btn {
  background: #6b7280;
  color: white;
}

.product-action-btn.details-btn:hover {
  background: #4b5563;
}

.product-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-search-empty,
.product-search-initial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  text-align: center;
  color: #6b7280;
}

/* Cart Summary Modal */
.cart-summary-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 400px;
  max-width: calc(100vw - 48px);
  max-height: 500px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10010;
}

.cart-summary-header {
  padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-summary-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #6b7280;
}

.cart-items-list {
  margin-bottom: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 12px;
}

.cart-item-image img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-sku {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-btn {
  width: 24px;
  height: 24px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: white;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.quantity-btn:hover:not(:disabled) {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-value {
  min-width: 24px;
  text-align: center;
  font-weight: 600;
}

.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-total-summary {
  padding: 16px;
  border-top: 2px solid #e5e7eb;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}

.summary-row.total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-size: 16px;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-btn,
.whatsapp-checkout-btn,
.quote-btn {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkout-btn {
  background: var(--giftwrap-red);
  color: white;
}

.checkout-btn:hover {
  background: var(--giftwrap-darkred);
}

.whatsapp-checkout-btn {
  background: #25d366;
  color: white;
}

.whatsapp-checkout-btn:hover {
  background: #128c7e;
}

.quote-btn {
  background: #3b82f6;
  color: white;
}

.quote-btn:hover {
  background: #2563eb;
}

/* Backdrop */
.floating-action-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9995;
  backdrop-filter: blur(4px);
}

/* ==========================================================================
   TRANSITIONS & ANIMATIONS
   ========================================================================== */
.floating-action-item-enter-active,
.floating-action-item-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-action-item-enter-from,
.floating-action-item-leave-to {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.floating-action-item-enter-to,
.floating-action-item-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.floating-action-item-move {
  transition: transform 0.3s ease;
}

/* Modal transitions */
.search-modal-enter-active,
.search-modal-leave-active,
.chat-modal-enter-active,
.chat-modal-leave-active,
.cart-modal-enter-active,
.cart-modal-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-modal-enter-from,
.search-modal-leave-to,
.chat-modal-enter-from,
.chat-modal-leave-to,
.cart-modal-enter-from,
.cart-modal-leave-to {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
}

.search-modal-enter-to,
.search-modal-leave-from,
.chat-modal-enter-to,
.chat-modal-leave-from,
.cart-modal-enter-to,
.cart-modal-leave-from {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 768px) {
  .floating-action-container {
    bottom: 16px;
    right: 16px;
  }

  .floating-action-main {
    width: 52px;
    height: 52px;
  }

  .floating-action-close {
    width: 52px;
    height: 52px;
  }

  .floating-action-button {
    min-width: 160px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .whatsapp-chat-modal,
  .chatgpt-chat-modal,
  .product-search-modal,
  .cart-summary-modal {
    right: 16px;
    width: calc(100vw - 32px);
    height: 60vh;
    bottom: 80px;
  }
}

@media (max-width: 480px) {
  .floating-action-container {
    bottom: 12px;
    right: 12px;
  }

  .floating-action-main {
    width: 48px;
    height: 48px;
  }

  .floating-action-icon {
    width: 20px;
    height: 20px;
  }

  .floating-action-close {
    width: 48px;
    height: 48px;
  }

  .floating-action-button {
    min-width: 140px;
    padding: 8px 14px;
    font-size: 12px;
    gap: 8px;
  }

  .floating-action-button-icon {
    width: 16px;
    height: 16px;
  }

  .floating-action-badge {
    top: -6px;
    right: -6px;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
  }

  .whatsapp-chat-modal,
  .chatgpt-chat-modal,
  .product-search-modal,
  .cart-summary-modal {
    right: 8px;
    width: calc(100vw - 16px);
    bottom: 70px;
  }
}
/* Main Floating Action Container */
.floating-action-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-action-container--mobile {
  bottom: 16px;
  right: 16px;
}

.floating-action-container--expanded {
  z-index: 10000;
}

.floating-action-container--scrolled .floating-action-main {
  background: linear-gradient(135deg, #1c94c6 0%, #1c6ea4 100%);
}

/* Main Button */
.floating-action-main {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff4757 100%);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.floating-action-main:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.floating-action-main--active {
  background: linear-gradient(135deg, #1c94c6 0%, #1c6ea4 100%);
}

.floating-action-main--pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
}

.floating-action-icon {
  width: 24px;
  height: 24px;
}

.floating-action-main-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ff4757;
  color: white;
  font-size: 12px;
  font-weight: bold;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Close Button */
.floating-action-close {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background: #1c94c6;
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.floating-action-close:hover {
  background: #1c6ea4;
  transform: scale(1.05);
}

.floating-action-close-icon {
  width: 24px;
  height: 24px;
}

/* Actions Container */
.floating-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

/* Action Items */
.floating-action-item {
  opacity: 0;
  transform: translateY(20px) scale(0.8);
}

.floating-action-button {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 28px;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  text-align: left;
}

.floating-action-button:hover {
  transform: translateX(-4px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: #f9fafb;
}

.floating-action-button--pulse {
  animation: subtle-pulse 3s infinite;
}

@keyframes subtle-pulse {
  0% { box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3); }
  50% { box-shadow: 0 2px 15px rgba(255, 107, 107, 0.5); }
  100% { box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3); }
}

.floating-action-button-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.floating-action-label {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}

.floating-action-badge {
  background: #ff4757;
  color: white;
  font-size: 11px;
  font-weight: bold;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Specific Action Item Colors */
.floating-action-item--quote .floating-action-button:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #1c94c6;
}

.floating-action-item--cart .floating-action-button:hover {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #dc2626;
}

.floating-action-item--search .floating-action-button:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #1c94c6;
}

.floating-action-item--chatgpt .floating-action-button:hover {
  background: #faf5ff;
  border-color: #d8b4fe;
  color: #8b5cf6;
}

.floating-action-item--chat .floating-action-button:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #1c94c6;
}

.floating-action-item--whatsapp .floating-action-button:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: #16a34a;
}

.floating-action-item--phone .floating-action-button:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #1c94c6;
}

.floating-action-item--email .floating-action-button:hover {
  background: #f0f9ff;
  border-color: #93c5fd;
  color: #1c94c6;
}

/* Backdrop */
.floating-action-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  backdrop-filter: blur(2px);
}

/* Modal Transitions */
.search-modal-enter-active,
.search-modal-leave-active,
.chat-modal-enter-active,
.chat-modal-leave-active,
.cart-modal-enter-active,
.cart-modal-leave-active {
  transition: all 0.3s ease;
}

.search-modal-enter-from,
.search-modal-leave-to,
.chat-modal-enter-from,
.chat-modal-leave-to,
.cart-modal-enter-from,
.cart-modal-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

/* Product Search Modal */
.product-search-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.product-search-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.product-search-input-container {
  position: relative;
  padding: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.product-search-input {
  width: 100%;
  padding: 12px 48px 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.2s;
}

.product-search-input:focus {
  outline: none;
  border-color: #1c94c6;
  box-shadow: 0 0 0 3px rgba(28, 148, 198, 0.1);
}

.product-search-clear {
  position: absolute;
  right: 84px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 8px;
}

.product-search-submit {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #1c94c6;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.product-search-submit:hover:not(:disabled) {
  background: #1c6ea4;
}

.product-search-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-search-results {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.product-search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  color: #6b7280;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e5e7eb;
  border-top-color: #1c94c6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.product-search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.product-search-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.product-search-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-search-image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.product-search-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-stock-badge.in-stock {
  background: #d1fae5;
  color: #065f46;
}

.product-stock-badge.low-stock {
  background: #fef3c7;
  color: #92400e;
}

.product-stock-badge.out-of-stock {
  background: #fee2e2;
  color: #991b1b;
}

.product-search-content {
  padding: 16px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-sku {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 8px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #1c94c6;
  margin-bottom: 16px;
}

.product-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-action-btn {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.product-action-btn.cart-btn {
  background: #1c94c6;
  color: white;
}

.product-action-btn.cart-btn:hover:not(:disabled) {
  background: #1c6ea4;
}

.product-action-btn.quote-btn {
  background: #f3f4f6;
  color: #374151;
}

.product-action-btn.quote-btn:hover:not(:disabled) {
  background: #e5e7eb;
}

.product-action-btn.details-btn {
  background: #f8fafc;
  color: #4b5563;
  border: 1px solid #e5e7eb;
}

.product-action-btn.details-btn:hover {
  background: #f1f5f9;
}

.product-search-empty,
.product-search-initial {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: #6b7280;
  text-align: center;
}

/* WhatsApp Chat Modal */
.whatsapp-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.whatsapp-chat-header {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-messages-area {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f0f2f5;
  max-height: 400px;
}

.whatsapp-message {
  margin-bottom: 16px;
  display: flex;
}

.whatsapp-message.user {
  justify-content: flex-end;
}

.whatsapp-message.bot {
  justify-content: flex-start;
}

.whatsapp-message-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
}

.whatsapp-message.user .whatsapp-message-bubble {
  background: #dcf8c6;
  border-bottom-right-radius: 4px;
}

.whatsapp-message.bot .whatsapp-message-bubble {
  background: white;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.whatsapp-message-time {
  display: block;
  font-size: 11px;
  color: #667781;
  margin-top: 4px;
  text-align: right;
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #b3b3b3;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.whatsapp-quick-actions-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.quick-action-btn {
  padding: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.quick-action-btn:hover {
  background: #f1f5f9;
  border-color: #d1d5db;
}

.product-card-in-chat {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 12px;
}

.product-chat-image {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.whatsapp-input-area {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.whatsapp-message-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
}

.whatsapp-message-input:focus {
  border-color: #25d366;
}

.whatsapp-send-button {
  width: 44px;
  height: 44px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.whatsapp-send-button:hover:not(:disabled) {
  background: #128c7e;
}

.whatsapp-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ChatGPT Chat Modal */
.chatgpt-chat-modal {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatgpt-chat-header {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatgpt-messages-area {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #f8fafc;
  max-height: 400px;
}

.chatgpt-message {
  margin-bottom: 16px;
  display: flex;
}

.chatgpt-message.user {
  justify-content: flex-end;
}

.chatgpt-message.bot {
  justify-content: flex-start;
}

.chatgpt-message-bubble {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.chatgpt-message.user .chatgpt-message-bubble {
  background: #8b5cf6;
  color: white;
}

.chatgpt-message-time {
  display: block;
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
  text-align: right;
}

.chatgpt-input-area {
  display: flex;
  gap: 8px;
  padding: 16px;
  background: white;
  border-top: 1px solid #e5e7eb;
}

.chatgpt-message-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
}

.chatgpt-message-input:focus {
  border-color: #8b5cf6;
}

.chatgpt-send-button {
  width: 44px;
  height: 44px;
  background: #8b5cf6;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.chatgpt-send-button:hover:not(:disabled) {
  background: #7c3aed;
}

.chatgpt-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.chatgpt-quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

/* Cart Summary Modal */
.cart-summary-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10001;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cart-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.cart-summary-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-empty {
  text-center: center;
  padding: 40px 20px;
  color: #6b7280;
}

.cart-empty svg {
  margin: 0 auto 16px;
}

.cart-items-list {
  space-y: 4;
  max-height: 96;
  overflow-y: auto;
  pr: 2;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  py: 4;
  border-bottom: 1px solid #e5e7eb;
}

.cart-item-image {
  width: 64px;
  height: 64px;
  rounded-lg: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: #111827;
}

.cart-item-sku {
  font-size: 12px;
  color: #6b7280;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  mt: 2;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  rounded-full: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  hover:bg-gray-200;
  transition-colors: all 0.2s;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-value {
  width: 32px;
  text-center: center;
  font-weight: 500;
}

.cart-item-price {
  text-align: right;
}

.cart-total-summary {
  mt: 6;
  space-y: 2;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  color: #374151;
}

.summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: #1c94c6;
  pt: 2;
  border-top: 1px solid #d1d5db;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  mt: 6;
}

.checkout-btn {
  background: #1c94c6;
  color: white;
  py: 3;
  rounded-lg: 8px;
  font-weight: 600;
  hover:bg-opacity-90;
  transition-colors: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-checkout-btn {
  background: #25d366;
  color: white;
  py: 3;
  rounded-lg: 8px;
  font-weight: 600;
  hover:bg-green-600;
  transition-colors: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-btn {
  background: #3b82f6;
  color: white;
  py: 3;
  rounded-lg: 8px;
  font-weight: 600;
  hover:bg-blue-600;
  transition-colors: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Debug Info */
.debug-info {
  position: fixed;
  bottom: 0;
  left: 0;
  background: black;
  color: white;
  padding: 8px;
  font-size: 12px;
  opacity: 0.5;
  z-index: 100000;
}

/* Responsive */
@media (max-width: 640px) {
  .product-search-modal {
    width: 95%;
    max-height: 80vh;
  }
  
  .whatsapp-chat-modal,
  .chatgpt-chat-modal {
    width: calc(100vw - 48px);
    right: 16px;
    bottom: 80px;
  }
  
  .cart-summary-modal {
    width: 95%;
    max-height: 80vh;
  }
  
  .product-search-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-quick-actions-container,
  .chatgpt-quick-actions {
    grid-template-columns: 1fr;
  }
}

/* Custom animations for smoother transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.category-dropdown-enter-active,
.category-dropdown-leave-active {
  transition: all 0.2s ease;
}

.category-dropdown-enter-from,
.category-dropdown-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* Marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee 1000s linear infinite;
}

/* Prevent layout shifts */
img {
  max-width: 100%;
  height: auto;
}

/* Improve scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Ensure consistent z-index stacking */
header {
  z-index: 50;
}

#mobile-menu {
  z-index: 9999;
}

.search-results-dropdown {
  z-index: 9998;
}

.category-dropdown {
  z-index: 9997;
}
/* Custom animations for smoother transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.category-dropdown-enter-active,
.category-dropdown-leave-active {
  transition: all 0.2s ease;
}

.category-dropdown-enter-from,
.category-dropdown-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* Marquee animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee 1000s linear infinite;
}

/* Prevent layout shifts */
img {
  max-width: 100%;
  height: auto;
}

/* Improve scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Ensure consistent z-index stacking */
header {
  z-index: 50;
}

#mobile-menu {
  z-index: 9999;
}

.search-results-dropdown {
  z-index: 9998;
}

.category-dropdown {
  z-index: 9997;
}

/* Responsive navigation fix */
@media (max-width: 767px) {
  /* Ensure mobile navigation is properly styled */
  #mobile-menu {
    width: 280px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* Tablet optimizations */
  .desktop-nav-item {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  #mobile-menu {
    width: 320px;
  }
}

@media (min-width: 768px) {
  /* Force desktop navigation to show on tablet and desktop */
  nav ul.hidden.md\\:flex {
    display: flex !important;
  }
}

/* Prevent horizontal scrolling on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea {
  transition: all 0.2s ease-in-out;
}

/* Improve focus styles for accessibility */
:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}	
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.18s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.toast-enter-active,
.toast-leave-active {
  transition: all 0.3s ease;
}

.toast-enter-from,
.toast-leave-to {
  opacity: 0;
  transform: translateY(10px);
}

.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;
}
>
/* Custom animations */
@keyframes marquee-slow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Transition styles */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: all 0.3s ease;
  max-height: 500px;
  overflow: hidden;
}

.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
}

/* Ensure menu items are visible */
.nav-menu-item {
  position: relative;
  z-index: 10;
}

/* Category dropdown visibility */
.category-dropdown-enter-active,
.category-dropdown-leave-active {
  transition: all 0.2s ease;
}

.category-dropdown-enter-from,
.category-dropdown-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* Desktop menu scrollbar styling */
.hidden.md\:flex::-webkit-scrollbar {
  height: 4px;
}

.hidden.md\:flex::-webkit-scrollbar-track {
  background: transparent;
}

.hidden.md\:flex::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.hidden.md\:flex::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
/* Custom animations */
@keyframes marquee-slow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Transition styles */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.3s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: all 0.3s ease;
  max-height: 500px;
  overflow: hidden;
}

.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
}

/* Ensure menu items are visible */
.nav-menu-item {
  position: relative;
  z-index: 10;
}

/* Category dropdown visibility */
.category-dropdown-enter-active,
.category-dropdown-leave-active {
  transition: all 0.2s ease;
}

.category-dropdown-enter-from,
.category-dropdown-leave-to {
  opacity: 0;
  transform: translateY(-10px);
}

/* Desktop menu scrollbar styling */
.hidden.md\:flex::-webkit-scrollbar {
  height: 4px;
}

.hidden.md\:flex::-webkit-scrollbar-track {
  background: transparent;
}

.hidden.md\:flex::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.hidden.md\:flex::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
/* minimal utilities you rely on (even if Tailwind line-clamp plugin isn’t enabled) */
.line-clamp-1,
.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 { -webkit-line-clamp: 1; }
.line-clamp-2 { -webkit-line-clamp: 2; }

.shadow-subtle {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 2px 12px rgba(0, 0, 0, 0.04);
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 37%, #eee 63%);
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
}

/* Chat Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fixed.right-6.bottom-6 {
  animation: slideIn 0.3s ease-out;
}

/* Custom Scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Message Bubble Animation */
@keyframes messageAppear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.flex.justify-end > div,
.flex.justify-start > div {
  animation: messageAppear 0.3s ease-out;
}

/* Voice Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Simple fade used by drawers/modals */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.18s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}
.product-gallery {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 400px;
}

.price-badge {
  background: linear-gradient(135deg, #F44336 0%, #ff6b6b 100%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
}

.vat-note {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.customization-option {
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.customization-option:hover {
  border-color: #0099cc;
  background-color: #eff6ff;
}

.customization-option.selected {
  border-color: #0099cc;
  background-color: #dbeafe;
}

.quantity-input {
  width: 80px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.5rem;
  font-size: 1.125rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.spec-item {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid #0099cc;
}

.related-product {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-product:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stock-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #F44336;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: bold;
}

.loader {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #F44336;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.breadcrumb {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.action-btn {
  background: linear-gradient(135deg, #0099cc 0%, #1B2B4D 100%);
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.action-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.quote-btn {
  background: linear-gradient(135deg, #FFC107 0%, #ff9800 100%);
  color: #333;
}

.quote-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.prose {
  color: #374151;
  line-height: 1.75;
}

.prose h3 {
  color: #111827;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose ul {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.5em;
}

.prose li {
  margin-bottom: 0.5em;
}
/* Simple fade used by drawers/modals */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.18s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

/* Toast animation */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.2s ease-out;
}

/* -------------------------------------------------------
   Base
-------------------------------------------------------- */
.cs-page{
  --mx:-999px;
  --my:-999px;

  background:
    radial-gradient(1200px 700px at 25% 10%, rgba(28,148,198,0.12), transparent 60%),
    radial-gradient(900px 600px at 80% 20%, rgba(231,51,60,0.10), transparent 55%),
    linear-gradient(180deg, rgba(248,250,252,1), rgba(255,255,255,1));
}

.cursor-glow{
  position:absolute; inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(420px 420px at var(--mx) var(--my),
      rgba(231,51,60,0.10),
      rgba(28,148,198,0.08),
      transparent 60%);
  filter: blur(2px);
}

.mesh-path{
  stroke-dasharray: 6 10;
  animation: dash 16s linear infinite;
}
.mesh-path--2{ animation-duration: 20s; opacity: .8; }
.mesh-path--3{ animation-duration: 24s; opacity: .65; }
@keyframes dash{
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -280; }
}

/* -------------------------------------------------------
   Hero
-------------------------------------------------------- */
.hero-wrap{
  position:relative;
  background: #0b1a2a;
  min-height: 360px;
  box-shadow: 0 20px 80px rgba(2,6,23,0.22);
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(231,51,60,0.35), transparent 60%),
    radial-gradient(900px 420px at 80% 30%, rgba(28,148,198,0.30), transparent 60%),
    linear-gradient(90deg, rgba(2,6,23,0.90), rgba(15,23,42,0.85));
}
.hero-emblem{
  position:absolute;
  right:-24px;
  top:-24px;
  width: 260px;
  opacity: .9;
  transform: rotate(6deg);
}
@media (max-width: 768px){
  .hero-emblem{ width: 210px; right:-30px; top:-30px; opacity: .75; }
}

.pulse-dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.55);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse{
  0% { box-shadow:0 0 0 0 rgba(255,255,255,0.55); }
  70%{ box-shadow:0 0 0 12px rgba(255,255,255,0.0); }
  100%{ box-shadow:0 0 0 0 rgba(255,255,255,0.0); }
}

.hero-stat{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}
.hero-stat-num{
  font-weight: 900;
  color: white;
  font-size: 22px;
  line-height: 1.1;
}
.hero-stat-label{
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  margin-top: 3px;
}

/* -------------------------------------------------------
   Cards + Tilt
-------------------------------------------------------- */
.tilt-card{
  transform: perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transform-origin: center;
  transition: transform .15s ease;
}

.animate-on-scroll{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.animate-on-scroll.animated{
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------
   Story card
-------------------------------------------------------- */
.story-card{
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.08);
}
.cs-btn{
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.10);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: rgba(15,23,42,0.9);
  transition: transform .15s ease, background .15s ease;
}
.cs-btn:hover{ background: rgba(231,51,60,0.08); transform: translateY(-1px); }

.readout{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  padding: 14px 14px 12px;
  background:
    radial-gradient(420px 220px at var(--sx,50%) var(--sy,50%), rgba(231,51,60,0.10), transparent 60%),
    radial-gradient(420px 220px at calc(var(--sx,50%) + 10%) calc(var(--sy,50%) + 10%), rgba(28,148,198,0.08), transparent 60%),
    #ffffff;
}
.readout-kicker{
  font-size: 12px;
  font-weight: 900;
  color: rgba(231,51,60,0.95);
  letter-spacing: .06em;
}
.readout-title{
  font-size: 20px;
  font-weight: 900;
  color: rgba(15,23,42,0.95);
  margin-top: 6px;
}
.readout-desc{
  margin-top: 8px;
  color: rgba(15,23,42,0.75);
  font-size: 14px;
  line-height: 1.55;
}
.readout-bullet{
  display:flex;
  gap:10px;
  font-size: 13px;
  color: rgba(15,23,42,0.78);
}
.mini-dot{
  width:8px; height:8px;
  border-radius:999px;
  background: rgba(231,51,60,0.95);
  margin-top: 6px;
  flex: 0 0 auto;
}
.meta-pill{
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(248,250,252,0.75);
  padding: 8px 10px;
  border-radius: 12px;
  display:flex;
  justify-content: space-between;
  gap: 10px;
}
.meta-k{ font-weight: 900; color: rgba(15,23,42,0.72); }
.meta-v{ font-weight: 800; color: rgba(15,23,42,0.88); }

.story-svg-wrap{
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,0.08);
  padding: 12px;
  background: linear-gradient(180deg, rgba(248,250,252,1), rgba(255,255,255,1));
}
.story-path{
  transition: stroke-dashoffset .55s ease;
}
.story-dot{
  fill: rgba(255,255,255,0.98);
  stroke: rgba(15,23,42,0.18);
  stroke-width: 2;
  transition: transform .15s ease, fill .15s ease, stroke .15s ease;
}
.story-dot.done{
  fill: rgba(231,51,60,0.12);
  stroke: rgba(231,51,60,0.55);
}
.story-dot.active{
  fill: rgba(231,51,60,0.20);
  stroke: rgba(231,51,60,0.75);
}
.story-node:hover .story-dot{
  transform: translateY(-1px);
  stroke: rgba(28,148,198,0.65);
}
.story-label{
  font-size: 12px;
  font-weight: 900;
  fill: rgba(15,23,42,0.70);
}
.story-icon{
  fill: rgba(15,23,42,0.65);
  opacity: .9;
}
.story-node:hover .story-icon{
  fill: rgba(231,51,60,0.80);
}
.hint-pill{
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.90);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 800;
}

/* -------------------------------------------------------
   Badges & dots
-------------------------------------------------------- */
.badge-pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  color: rgba(15,23,42,0.78);
  font-weight: 800;
  font-size: 12px;
}
.dot{
  width:6px; height:6px; border-radius:999px;
  background: rgba(231,51,60,0.85);
  display:inline-block;
}

/* -------------------------------------------------------
   Service cards
-------------------------------------------------------- */
.service-card{
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 10px 34px rgba(2,6,23,0.06);
}
.icon-wrap{
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  color: rgba(231,51,60,0.92);
  background: rgba(231,51,60,0.10);
  border: 1px solid rgba(231,51,60,0.18);
}
.icon-svg{
  width: 28px;
  height: 28px;
}
.pulse-stroke{
  stroke-dasharray: 18 10;
  animation: dash2 2.8s linear infinite;
}
@keyframes dash2{
  from { stroke-dashoffset: 0; }
  to   { stroke-dashoffset: -64; }
}
.sparkline{
  transform-origin: 12px 8px;
  animation: twinkle 1.8s ease-in-out infinite;
}
@keyframes twinkle{
  0%,100% { opacity: .65; transform: scale(1); }
  50%     { opacity: 1; transform: scale(1.08); }
}
.clockhand{
  transform-origin: 12px 12px;
  animation: tick 1.6s steps(8,end) infinite;
}
@keyframes tick{
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.tag-pulse{
  animation: tagpulse 1.4s ease-in-out infinite;
}
@keyframes tagpulse{
  0%,100% { opacity: .55; }
  50% { opacity: 1; }
}

.expand-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(15,23,42,0.04);
  border: 1px solid rgba(15,23,42,0.10);
  font-weight: 900;
  color: rgba(15,23,42,0.85);
  transition: transform .15s ease, background .15s ease;
}
.expand-btn:hover{ background: rgba(28,148,198,0.08); transform: translateY(-1px); }
.chev{
  display:inline-block;
  transform: rotate(0deg);
  transition: transform .18s ease;
  font-size: 18px;
  line-height: 1;
}
.chev.on{ transform: rotate(90deg); }

/* -------------------------------------------------------
   Mini KPI + steps
-------------------------------------------------------- */
.mini-kpi{
  border: 1px solid rgba(15,23,42,0.08);
  background: rgba(255,255,255,0.92);
  border-radius: 14px;
  padding: 10px 12px;
}
.mini-kpi-k{
  font-size: 12px;
  font-weight: 900;
  color: rgba(15,23,42,0.62);
}
.mini-kpi-v{
  margin-top: 4px;
  font-weight: 900;
  color: rgba(15,23,42,0.92);
}

.step-card{
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 12px;
  background: rgba(248,250,252,0.70);
}
.step-n{
  font-weight: 900;
  color: rgba(231,51,60,0.95);
  font-size: 14px;
}
.step-t{
  margin-top: 4px;
  font-weight: 900;
  color: rgba(15,23,42,0.92);
}
.step-d{
  margin-top: 6px;
  font-size: 12px;
  color: rgba(15,23,42,0.70);
  line-height: 1.45;
}

/* -------------------------------------------------------
   Estimator
-------------------------------------------------------- */
.estimator-card{
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 12px 40px rgba(2,6,23,0.08);
}
.pill-live{
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: rgba(231,51,60,0.95);
  border: 1px solid rgba(231,51,60,0.25);
  background: rgba(231,51,60,0.10);
}
.qty-chip{
  min-width: 86px;
  text-align:center;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.92);
  color: rgba(15,23,42,0.90);
}
.spark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(28,148,198,0.10);
  border: 1px solid rgba(28,148,198,0.18);
  color: rgba(28,148,198,0.88);
  display:grid;
  place-items:center;
  flex: 0 0 auto;
}

/* -------------------------------------------------------
   CTA
-------------------------------------------------------- */
.cta-wrap{
  position:relative;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 20px 70px rgba(2,6,23,0.18);
}
.cta-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(28,148,198,0.36), transparent 60%),
    radial-gradient(900px 420px at 80% 50%, rgba(231,51,60,0.34), transparent 60%),
    linear-gradient(90deg, rgba(2,6,23,0.92), rgba(15,23,42,0.86));
}

.magnetic{
  will-change: transform;
}
/* Brand tokens fallback (if your Tailwind theme already has these, they’ll still work fine) */
:global(.text-giftwrap-red){ color:#e7333c; }
:global(.bg-giftwrap-red){ background:#e7333c; }
:global(.text-giftwrap-darkblue){ color:#0b2a3a; }

/* Page background */
.cc-page { background: #050814; }
.cc-bg{
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(231,51,60,0.20), transparent 55%),
    radial-gradient(900px 500px at 80% 20%, rgba(28,148,198,0.18), transparent 60%),
    radial-gradient(900px 650px at 60% 85%, rgba(255,255,255,0.06), transparent 55%),
    linear-gradient(180deg, rgba(2,6,23,0.85), rgba(2,6,23,0.98));
  filter: saturate(1.05);
  pointer-events:none;
}

/* Common UI */
.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:2px 10px; border-radius:999px;
  background:rgba(255,255,255,0.10); border:1px solid rgba(255,255,255,0.14);
  font-size:11px; font-weight:800; letter-spacing:.02em;
}
.link{ color: rgba(255,255,255,0.92); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.link:hover{ color:#fff; text-decoration-color: rgba(255,255,255,0.8); }

.badge{
  display:inline-flex; align-items:center;
  padding:6px 10px; border-radius:999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
  font-size: 12px; font-weight:700;
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px; border-radius: 999px;
  font-weight: 800; letter-spacing: .01em;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  border: 1px solid rgba(255,255,255,0.14);
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, rgba(231,51,60,0.95), rgba(28,148,198,0.75));
  color: #fff;
  border-color: rgba(255,255,255,0.16);
}
.btn-ghost{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}
.btn-soft{
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.92);
}

.chip{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 800;
  font-size: 12px;
  transition: background .18s ease, transform .18s ease;
}
.chip:hover{ background: rgba(255,255,255,0.10); transform: translateY(-1px); }

.input{
  width:100%;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
}
.input:focus{ border-color: rgba(231,51,60,0.55); box-shadow: 0 0 0 3px rgba(231,51,60,0.12); }

.soc{
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 800; font-size: 12px;
}
.soc:hover{ background: rgba(255,255,255,0.10); }

/* Hero */
.hero{
  position: relative;
  background: rgba(2,6,23,0.55);
}
.hero-grid{
  position: relative;
  display:grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px){
  .hero-grid{ grid-template-columns: 1.2fr .8fr; }
}
.hero-right{ background: rgba(255,255,255,0.03); }
.hero-deco{ position:absolute; inset:0; pointer-events:none; }
.hero-deco-svg{ position:absolute; right:-40px; top:-20px; width: 560px; opacity:.9; }

.pulse-dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(231,51,60,0.95);
  box-shadow: 0 0 0 6px rgba(231,51,60,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: .9; }
}

.mini-stat{
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 10px 12px;
}
.mini-stat-k{ font-size: 11px; color: rgba(255,255,255,0.65); font-weight: 800; letter-spacing: .02em; }
.mini-stat-v{ margin-top: 2px; font-size: 13px; color: rgba(255,255,255,0.90); font-weight: 800; }

/* Flow */
.flow-path{ transition: stroke-dashoffset .45s ease; }
.flow-circle{
  fill: rgba(255,255,255,0.60);
  stroke: rgba(2,6,23,0.55);
  stroke-width: 2;
}
.flow-circle.active{
  fill: #e7333c;
  stroke: rgba(255,255,255,0.35);
}
.flow-label{
  fill: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 800;
}
.hint-card{
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.78);
}

/* Content cards */
.content-card{
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px;
}
@media (min-width: 768px){
  .content-card{ padding: 24px; }
}
.content-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: 12px; flex-wrap: wrap;
}
.h2{ color:#fff; font-weight: 900; font-size: 22px; }
.p{ margin-top: 6px; color: rgba(255,255,255,0.75); max-width: 64ch; }

/* Why cards */
.why-card{
  text-align:left;
  border-radius: 18px;
  padding: 16px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.why-card:hover{ transform: translateY(-2px); border-color: rgba(231,51,60,0.28); background: rgba(2,6,23,0.58); }
.why-card.active{ border-color: rgba(231,51,60,0.45); box-shadow: 0 0 0 3px rgba(231,51,60,0.12); }
.why-ic{ color: rgba(231,51,60,0.95); }
.why-title{ margin-top: 10px; color:#fff; font-weight: 900; }
.why-desc{ margin-top: 6px; color: rgba(255,255,255,0.72); font-size: 13px; }

.detail{
  border-radius: 18px;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 14px 16px;
}
.detail-title{ color:#fff; font-weight: 900; }
.detail-text{ margin-top: 6px; color: rgba(255,255,255,0.78); }

/* Methods wheel */
.wheel-dot{
  fill: rgba(255,255,255,0.62);
  stroke: rgba(2,6,23,0.55);
  stroke-width: 2;
  transition: transform .18s ease, fill .18s ease;
}
.wheel-dot.hot{ transform: scale(1.10); }
.wheel-dot.active{ fill: #e7333c; stroke: rgba(255,255,255,0.35); }
.wheel-label{
  fill: rgba(255,255,255,0.80);
  font-size: 12px;
  font-weight: 900;
}
.center-title{ fill: rgba(255,255,255,0.92); font-size: 13px; font-weight: 900; }
.center-sub{ fill: rgba(255,255,255,0.65); font-size: 10px; font-weight: 800; }

.tag{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(231,51,60,0.18);
  border: 1px solid rgba(231,51,60,0.32);
  color: rgba(255,255,255,0.92);
}

.li{ display:flex; gap:10px; align-items:flex-start; }
.dot{
  width:8px; height:8px; margin-top:6px;
  border-radius:999px;
  background: rgba(28,148,198,0.95);
  box-shadow: 0 0 0 5px rgba(28,148,198,0.12);
}

/* Sidebar */
.side-card{
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px;
}
.side-title{
  color:#fff; font-weight: 900; font-size: 14px;
  letter-spacing: .02em;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
}
.side-list{ margin-top: 12px; display:flex; flex-direction: column; gap: 6px; }
.side-link{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2,6,23,0.40);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  font-size: 12px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.side-link:hover{ background: rgba(2,6,23,0.60); transform: translateY(-1px); border-color: rgba(28,148,198,0.25); }
.side-link.active{ border-color: rgba(231,51,60,0.35); box-shadow: 0 0 0 3px rgba(231,51,60,0.10); }
.chev{ color: rgba(255,255,255,0.40); font-size: 16px; font-weight: 900; }

/* Accordion */
.accordion{
  border-radius: 20px;
  background: rgba(2,6,23,0.40);
  border: 1px solid rgba(255,255,255,0.10);
  overflow:hidden;
}
.accordion-summary{
  list-style:none;
  cursor:pointer;
  display:flex; align-items:center; justify-content:space-between;
  gap: 12px;
  padding: 16px;
}
.accordion-summary::-webkit-details-marker{ display:none; }
.accordion-caret{ transform: rotate(90deg); color: rgba(255,255,255,0.55); font-size: 20px; font-weight: 900; transition: transform .18s ease; }
details[open] .accordion-caret{ transform: rotate(-90deg); }
.accordion-body{ padding: 0 16px 16px; }

/* Pills in export list */
.pill2{
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Payments */
.pay{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
}

/* Palette */
.palette-backdrop{
  position: fixed; inset:0;
  background: rgba(0,0,0,0.55);
  z-index: 80;
}
.palette{
  position: fixed;
  left: 50%; top: 12%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  background: rgba(2,6,23,0.92);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  z-index: 90;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  overflow: hidden;
}
.palette-head{
  display:flex; align-items:center; gap:10px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.kbd{
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
  font-size: 12px;
}
.palette-title{ color:#fff; font-weight: 900; }
.palette-x{
  margin-left:auto;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
}
.palette-input{
  width: 100%;
  border: none;
  outline: none;
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.90);
  padding: 12px 14px;
}
.palette-list{ padding: 10px; display:flex; flex-direction: column; gap: 8px; max-height: 320px; overflow:auto; }
.palette-item{
  text-align:left;
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}
.palette-item:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.08); border-color: rgba(28,148,198,0.25); }
.palette-item.active{ border-color: rgba(231,51,60,0.35); box-shadow: 0 0 0 3px rgba(231,51,60,0.10); }
.palette-item-title{ color:#fff; font-weight: 900; }
.palette-item-desc{ margin-top: 4px; color: rgba(255,255,255,0.70); font-size: 12px; }
:global(.text-giftwrap-red){ color:#e7333c; }

/* Page bg */
.b-page { background:#050814; }
.b-bg{
  position:absolute; inset:-2px;
  background:
    radial-gradient(900px 520px at 18% 10%, rgba(231,51,60,0.22), transparent 55%),
    radial-gradient(900px 520px at 82% 18%, rgba(28,148,198,0.20), transparent 60%),
    radial-gradient(900px 720px at 50% 88%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(180deg, rgba(2,6,23,0.86), rgba(2,6,23,0.98));
  pointer-events:none;
}

.pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:2px 10px; border-radius:999px;
  background:rgba(255,255,255,0.10); border:1px solid rgba(255,255,255,0.14);
  font-size:11px; font-weight:900; letter-spacing:.02em;
}
.link{ color: rgba(255,255,255,0.92); text-decoration: underline; text-decoration-color: rgba(255,255,255,0.35); }
.link:hover{ color:#fff; text-decoration-color: rgba(255,255,255,0.8); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 16px; border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(135deg, rgba(231,51,60,0.95), rgba(28,148,198,0.75));
  color:#fff;
}
.btn-ghost{
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
}

.chip{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.90);
  font-weight: 900;
  font-size: 12px;
  transition: transform .18s ease, background .18s ease;
}
.chip:hover{ transform: translateY(-1px); background: rgba(255,255,255,0.10); }

.input{
  width:100%;
  background: rgba(2,6,23,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.92);
  padding: 10px 12px;
  border-radius: 12px;
  outline: none;
}
.input:focus{ border-color: rgba(231,51,60,0.55); box-shadow: 0 0 0 3px rgba(231,51,60,0.12); }

.soc{
  padding: 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.88);
  font-weight: 900; font-size: 12px;
}
.soc:hover{ background: rgba(255,255,255,0.10); }

.hero{
  position: relative;
  background: rgba(2,6,23,0.55);
}
.hero-grid{ display:grid; grid-template-columns: 1fr; position:relative; }
@media (min-width: 768px){ .hero-grid{ grid-template-columns: 1.1fr .9fr; } }
.hero-right{ background: rgba(255,255,255,0.03); }
.hero-deco{ position:absolute; inset:0; pointer-events:none; }
.hero-deco-svg{ position:absolute; right:-80px; top:-40px; width: 720px; opacity:.9; }

.pulse-dot{
  width:10px; height:10px; border-radius:999px;
  background: rgba(231,51,60,0.95);
  box-shadow: 0 0 0 6px rgba(231,51,60,0.18);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: 1; }
  50%{ transform: scale(1.15); opacity: .9; }
}

/* Workflow */
.wf-path{ transition: stroke-dashoffset .45s ease; }
.wf-dot{
  fill: rgba(255,255,255,0.60);
  stroke: rgba(2,6,23,0.55);
  stroke-width: 2;
}
.wf-dot.active{ fill:#e7333c; stroke: rgba(255,255,255,0.35); }
.wf-label{ fill: rgba(255,255,255,0.78); font-size: 12px; font-weight: 900; }

/* Map */
.map-dot{
  fill: rgba(255,255,255,0.62);
  stroke: rgba(2,6,23,0.55);
  stroke-width: 2;
  transition: transform .18s ease, fill .18s ease;
}
.map-dot.hot{ transform: scale(1.10); }
.map-dot.active{ fill:#e7333c; stroke: rgba(255,255,255,0.35); }
.map-label{ fill: rgba(255,255,255,0.82); font-size: 13px; font-weight: 900; }
.map-center-title{ fill: rgba(255,255,255,0.92); font-size: 14px; font-weight: 900; }
.map-center-sub{ fill: rgba(255,255,255,0.65); font-size: 11px; font-weight: 900; }

.tag{
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(231,51,60,0.18);
  border: 1px solid rgba(231,51,60,0.32);
  color: rgba(255,255,255,0.92);
}

/* Surface Finder */
.surface{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.88);
  font-weight: 900;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.surface:hover{ transform: translateY(-1px); background: rgba(2,6,23,0.60); border-color: rgba(28,148,198,0.25); }
.surface.active{ border-color: rgba(231,51,60,0.38); box-shadow: 0 0 0 3px rgba(231,51,60,0.10); }
.surface-ic{ color: rgba(28,148,198,0.95); }
.surface-t{ font-size: 12px; }

.mini{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.90);
  font-weight: 900;
  font-size: 12px;
}
.mini:hover{ background: rgba(255,255,255,0.10); }

/* Content cards */
.content-card{
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 18px;
}
@media (min-width: 768px){ .content-card{ padding: 24px; } }
.content-head{ display:flex; align-items:flex-start; justify-content:space-between; gap: 12px; flex-wrap: wrap; }
.h2{ color:#fff; font-weight: 900; font-size: 22px; }
.p{ margin-top: 6px; color: rgba(255,255,255,0.75); max-width: 70ch; }

/* Why cards */
.why-card{
  border-radius: 18px;
  padding: 16px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
}
.why-ic{ color: rgba(231,51,60,0.95); }
.why-title{ margin-top: 10px; color:#fff; font-weight: 900; }
.why-desc{ margin-top: 6px; color: rgba(255,255,255,0.72); font-size: 13px; }

/* Method cards */
.method-card{
  text-align:left;
  border-radius: 20px;
  overflow:hidden;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.method-card:hover{
  transform: translateY(-2px);
  border-color: rgba(28,148,198,0.25);
  background: rgba(2,6,23,0.60);
}
.method-img img{ width:100%; height: 150px; object-fit: cover; display:block; }
.method-body{ padding: 14px; }
.method-title{ color:#fff; font-weight: 900; font-size: 16px; }
.method-k{ color: rgba(255,255,255,0.70); font-size: 12px; margin-top: 6px; min-height: 34px; }
.method-tag{
  margin-top: 10px;
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.86);
  font-weight: 900;
  font-size: 12px;
}

/* Sidebar */
.side-card{
  border-radius: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px;
}
.side-title{
  color:#fff; font-weight: 900; font-size: 14px;
  letter-spacing: .02em;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
}
.side-list{ margin-top: 12px; display:flex; flex-direction: column; gap: 6px; }
.side-link{
  display:flex; align-items:center; justify-content:space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(2,6,23,0.40);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
  font-size: 12px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.side-link:hover{ background: rgba(2,6,23,0.60); transform: translateY(-1px); border-color: rgba(28,148,198,0.25); }
.chev{ color: rgba(255,255,255,0.40); font-size: 16px; font-weight: 900; }

/* Contact boxes */
.box{
  border-radius: 18px;
  background: rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 16px;
}
.box-t{ color:#fff; font-weight: 900; }
.box-v{ margin-top: 8px; color: rgba(255,255,255,0.92); font-size: 16px; }
.box-s{ margin-top: 6px; color: rgba(255,255,255,0.60); font-size: 12px; }

.pay{
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-weight: 900;
}

/* Modal */
.modal-backdrop{
  position: fixed; inset:0;
  background: rgba(0,0,0,0.60);
  z-index: 90;
}
.modal{
  position: fixed;
  left: 50%; top: 8%;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 24px));
  max-height: 84vh;
  overflow: auto;
  background: rgba(2,6,23,0.94);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  z-index: 100;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55);
}
.modal-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.modal-x{
  width: 38px; height: 38px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.90);
  font-weight: 900;
}
.modal-body{ padding: 16px; }
.modal-foot{
  display:flex; justify-content:flex-end; gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.ex-card{
  text-align:left;
  border-radius: 18px;
  overflow:hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .18s ease, border-color .18s ease;
}
.ex-card:hover{ transform: translateY(-2px); border-color: rgba(231,51,60,0.28); }
.ex-img{ width:100%; height: 140px; object-fit: cover; display:block; }
.ex-title{ padding: 10px 12px 0; color:#fff; font-weight: 900; }
.ex-sub{ padding: 4px 12px 12px; color: rgba(255,255,255,0.70); font-size: 12px; }
/* Animation for dropdowns */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 500px;
  overflow: hidden;
}

.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
}

/* Marquee animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  /*animation: marquee-slow 30s linear infinite;*/
}

/* Custom scrollbar for dropdowns */
.max-h-64::-webkit-scrollbar {
  width: 4px;
}

.max-h-64::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.max-h-64::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.max-h-64::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Truncation fix */
.truncate-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-dropdown-grid {
    grid-template-columns: 1fr;
  }
  
  .price-filter-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 400px;
    z-index: 10000;
  }
}

/* Enhanced Marquee Animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow 60s linear infinite;
}

.paused {
  animation-play-state: paused;
}

/* Custom scrollbar for category dropdowns */
.category-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.category-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.category-scrollbar::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.category-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Smooth transitions */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  overflow: hidden;
}

.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
}

.slide-down-enter-to,
.slide-down-leave-from {
  max-height: 500px;
  opacity: 1;
}

/* Ensure dropdowns have proper z-index */
.z-\[9999\] {
  z-index: 9999;
}

.z-\[9998\] {
  z-index: 9998;
}

.z-\[9997\] {
  z-index: 9997;
}
/* Base styles */
.about-page {
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  padding: 1rem 0;
}

/* Hero Section */
.hero-about {
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Stats Section */
.stat-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #e7333c;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #666;
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #e7333c, #1c94c6);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #e7333c;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #e7333c;
}

.timeline-year {
  font-size: 1.25rem;
  font-weight: bold;
  color: #e7333c;
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

/* Pillar Cards */
.pillar-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

.pillar-card p {
  color: #666;
  line-height: 1.6;
}

/* Mission/Vision Cards */
.mission-card, .vision-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  height: 100%;
}

/* Value Cards */
.value-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-number {
  font-size: 2rem;
  font-weight: bold;
  color: #e7333c;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #333;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

/* Team Card */
.team-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.team-image-placeholder {
  background: #f8f9fa;
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder-content {
  text-align: center;
}

.team-content {
  padding: 2rem;
}

.team-content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.team-position {
  color: #e7333c;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-highlights {
  border-top: 1px solid #eee;
  padding-top: 1.5rem;
}

.team-highlights h4 {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.75rem;
}

.team-highlights ul {
  list-style: none;
  padding: 0;
}

.team-highlights li {
  padding-left: 1.5rem;
  position: relative;
  color: #666;
  margin-bottom: 0.5rem;
}

.team-highlights li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #e7333c;
  font-weight: bold;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: #0f172a;
}

.btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-about {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 60vh;
  }
  
  .hero-about h1 {
    font-size: 2.5rem;
  }
  
  .timeline {
    padding-left: 1.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    left: -0.75rem;
  }
  
  .stat-card {
    padding: 1.5rem 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .pillar-card,
  .mission-card,
  .vision-card,
  .value-card {
    padding: 1.5rem;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 300px;
  }
}

/* Animation for scroll */
@media (prefers-reduced-motion: no-preference) {
  .stat-card,
  .timeline-item,
  .pillar-card,
  .mission-card,
  .vision-card,
  .value-card,
  .team-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
  }
  
  .timeline-item:nth-child(1) { animation-delay: 0.1s; }
  .timeline-item:nth-child(2) { animation-delay: 0.2s; }
  .timeline-item:nth-child(3) { animation-delay: 0.3s; }
  .timeline-item:nth-child(4) { animation-delay: 0.4s; }
  .timeline-item:nth-child(5) { animation-delay: 0.5s; }
  .timeline-item:nth-child(6) { animation-delay: 0.6s; }
  
  .stat-card:nth-child(1) { animation-delay: 0.1s; }
  .stat-card:nth-child(2) { animation-delay: 0.2s; }
  .stat-card:nth-child(3) { animation-delay: 0.3s; }
  .stat-card:nth-child(4) { animation-delay: 0.4s; }
  
  .pillar-card:nth-child(1) { animation-delay: 0.1s; }
  .pillar-card:nth-child(2) { animation-delay: 0.2s; }
  .pillar-card:nth-child(3) { animation-delay: 0.3s; }
  .pillar-card:nth-child(4) { animation-delay: 0.4s; }
  
  .value-card:nth-child(1) { animation-delay: 0.1s; }
  .value-card:nth-child(2) { animation-delay: 0.2s; }
  .value-card:nth-child(3) { animation-delay: 0.3s; }
  .value-card:nth-child(4) { animation-delay: 0.4s; }
  .value-card:nth-child(5) { animation-delay: 0.5s; }
  .value-card:nth-child(6) { animation-delay: 0.6s; }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .stat-card:hover,
  .pillar-card:hover,
  .value-card:hover,
  .btn:hover {
    transform: none;
  }
}
/* Base styles */
.delivery-page {
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb {
  background: #f8f9fa;
  padding: 1rem 0;
}

/* Hero Section */
.hero-delivery {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* Contact Info */
.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Why Choose Us */
.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  color: #e7333c;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
}

/* Delivery Rates Table */
.delivery-rates table {
  width: 100%;
  border-collapse: collapse;
}

.delivery-rates th {
  font-weight: 600;
  text-align: left;
}

.delivery-rates td, .delivery-rates th {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

/* Collection Points */
.location-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.location-card:hover {
  transform: translateY(-4px);
}

.location-header {
  background: #f8f9fa;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.location-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.location-content {
  padding: 1.5rem;
}

.location-content p {
  color: #666;
  line-height: 1.6;
}

/* Timeframes */
.timeframe-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.2s ease;
}

.timeframe-card:hover {
  transform: translateY(-4px);
}

.timeframe-number {
  font-size: 3rem;
  font-weight: bold;
  color: #e7333c;
  margin-bottom: 0.5rem;
}

.timeframe-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
}

.timeframe-card p {
  color: #666;
  margin-bottom: 0.5rem;
}

.timeframe-note {
  font-size: 0.875rem;
  color: #888;
  margin-top: 0.5rem;
}

/* Quotation Info */
.quotation-info ol {
  list-style: none;
  counter-reset: item;
}

.quotation-info li {
  counter-increment: item;
  margin-bottom: 1rem;
}

.quotation-info li::before {
  content: counter(item);
  background: #e7333c;
  color: white;
  border-radius: 50%;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Newsletter & Social */
.newsletter-social input[type="email"] {
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.newsletter-social input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.social-icon {
  color: white;
  transition: transform 0.2s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: white;
  color: #0f172a;
}

.btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-cta .btn-primary {
  background: #e7333c;
  color: white;
}

.contact-cta .btn-primary:hover {
  background: #d42a33;
}

.contact-cta .btn-secondary {
  border-color: #e7333c;
  color: #e7333c;
}

.contact-cta .btn-secondary:hover {
  background: rgba(231, 51, 60, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-delivery {
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 50vh;
  }
  
  .hero-delivery h1 {
    font-size: 2.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .location-card {
    margin-bottom: 1.5rem;
  }
  
  .timeframe-card {
    padding: 1.5rem;
  }
  
  .timeframe-number {
    font-size: 2.5rem;
  }
  
  .delivery-rates table {
    display: block;
    overflow-x: auto;
  }
  
  .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 300px;
  }
  
  .newsletter-social .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Animation for scroll */
@media (prefers-reduced-motion: no-preference) {
  .feature-card,
  .location-card,
  .timeframe-card,
  .contact-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
  }
  
  .feature-card:nth-child(1) { animation-delay: 0.1s; }
  .feature-card:nth-child(2) { animation-delay: 0.2s; }
  .feature-card:nth-child(3) { animation-delay: 0.3s; }
  .feature-card:nth-child(4) { animation-delay: 0.4s; }
  .feature-card:nth-child(5) { animation-delay: 0.5s; }
  .feature-card:nth-child(6) { animation-delay: 0.6s; }
  
  .location-card:nth-child(1) { animation-delay: 0.1s; }
  .location-card:nth-child(2) { animation-delay: 0.2s; }
  .location-card:nth-child(3) { animation-delay: 0.3s; }
  
  .timeframe-card:nth-child(1) { animation-delay: 0.1s; }
  .timeframe-card:nth-child(2) { animation-delay: 0.2s; }
  .timeframe-card:nth-child(3) { animation-delay: 0.3s; }
  .timeframe-card:nth-child(4) { animation-delay: 0.4s; }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .feature-card:hover,
  .location-card:hover,
  .timeframe-card:hover,
  .btn:hover {
    transform: none;
  }
}
/* Keep minimal scoped CSS — tailwind does the heavy lifting */
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
/* Animation for dropdowns */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.3s ease;
}

.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-100%);
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  max-height: 500px;
  overflow: hidden;
}

.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
}

/* Marquee animation */
@keyframes marquee-slow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-slow {
  animation: marquee-slow 30s linear infinite;
}

/* Custom scrollbar for dropdowns */
.max-h-64::-webkit-scrollbar {
  width: 4px;
}

.max-h-64::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.max-h-64::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.max-h-64::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid #1c94c6;
  outline-offset: 2px;
}

/* Truncation fix */
.truncate-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .category-dropdown-grid {
    grid-template-columns: 1fr;
  }
  
  .price-filter-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 400px;
    z-index: 10000;
  }
}

/* -----------------------------
  Lightweight “Ultra” CSS
  (Tailwind does most; this covers custom effects + components)
------------------------------ */

.about-page {
  --mx: -999px;
  --my: -999px;
  --hx: 0;
  position: relative;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.9) 0%, rgba(255, 255, 255, 1) 50%);
  color: #0f172a;
  isolation: isolate;
}

/* Cursor glow */
.cursor-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(
      600px 420px at var(--mx) var(--my),
      rgba(231, 51, 60, 0.14),
      rgba(28, 148, 198, 0.08),
      transparent 65%
    );
  mix-blend-mode: screen;
  opacity: 0.9;
  transition: opacity 240ms ease;
}

.about-page[data-hyper="1"] .cursor-glow {
  opacity: 1;
  filter: saturate(1.15) contrast(1.05);
}

/* Hero overlay */
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(2, 6, 23, 0.55) 0%, rgba(2, 6, 23, 0.25) 40%, rgba(2, 6, 23, 0.65) 100%),
    radial-gradient(900px 520px at 50% 20%, rgba(255, 255, 255, 0.12), transparent 60%);
  backdrop-filter: blur(2px);
}

.hero-emblem {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 15;
  opacity: 0.9;
}
.hero-emblem-svg {
  width: min(320px, 62vw);
  height: auto;
  transform: translateY(8px);
  opacity: 0.72;
}

/* Subtle pulse dot */
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0 rgba(231, 51, 60, 0.45);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(231, 51, 60, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(231, 51, 60, 0); }
  100% { box-shadow: 0 0 0 0 rgba(231, 51, 60, 0); }
}

/* Typewriter caret */
.tw-caret {
  display: inline-block;
  margin-left: 2px;
  animation: caret 0.95s steps(2) infinite;
}
@keyframes caret {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Scroll badge */
.scroll-badge-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

/* Hyper badge */
.hyper-badge {
  margin-top: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(231, 51, 60, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-transform: uppercase;
}

/* Divider */
.section-divider {
  height: 48px;
  background: white;
}
.divider-fill {
  fill: rgba(249, 250, 251, 1);
}

/* Animate-on-scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Tilt cards */
.tilt-card {
  transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 220ms ease;
  will-change: transform;
}

/* Constellation highlight */
.const-line {
  opacity: 0.55;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}
.const-line.hot {
  opacity: 1;
  stroke-width: 1.6;
}
.const-node {
  fill: rgba(255, 255, 255, 0.6);
  transition: fill 180ms ease, r 180ms ease;
}
.const-node.hot {
  fill: rgba(231, 51, 60, 0.95);
}

/* Mesh motion */
.mesh-path {
  stroke-dasharray: 8 10;
  animation: dash 5.4s linear infinite;
}
.mesh-path--2 { animation-duration: 6.6s; opacity: 0.7; }
.mesh-path--3 { animation-duration: 7.8s; opacity: 0.55; }
@keyframes dash {
  to { stroke-dashoffset: -220; }
}

/* Command palette */
.palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(6px);
  z-index: 9998;
}
.palette {
  position: fixed;
  left: 50%;
  top: 14%;
  transform: translateX(-50%);
  width: min(720px, 92vw);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.35);
  z-index: 9999;
  overflow: hidden;
}
.palette-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}
.palette-kbd {
  font-size: 12px;
  font-weight: 900;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(2, 6, 23, 0.06);
  border: 1px solid rgba(2, 6, 23, 0.08);
}
.palette-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.9);
  flex: 1;
}
.palette-x {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: white;
}
.palette-input {
  width: 100%;
  padding: 14px 14px;
  border: none;
  outline: none;
  background: transparent;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.92);
}
.palette-list {
  max-height: min(340px, 52vh);
  overflow: auto;
  padding: 6px;
}
.palette-item {
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 140ms ease, border-color 140ms ease;
}
.palette-item:hover,
.palette-item.active {
  background: rgba(231, 51, 60, 0.08);
  border-color: rgba(231, 51, 60, 0.18);
}
.palette-item-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.92);
}
.palette-item-desc {
  font-size: 12px;
  color: rgba(15, 23, 42, 0.6);
  margin-top: 2px;
}

/* Timeline scrubber */
.timeline-scrubber {
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(249, 250, 251, 1), rgba(255, 255, 255, 1));
  border-radius: 18px;
  padding: 14px;
}
.timeline-scrubber-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.timeline-scrubber-title {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.9);
}
.timeline-scrubber-sub {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.55);
}
.timeline-scrubber-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ts-btn {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: white;
  font-weight: 800;
  font-size: 12px;
}
.ts-range { width: 100%; margin: 12px 0 10px; }
.timeline-focus {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 12px;
  background: white;
}
.tf-year { font-weight: 900; color: rgba(231, 51, 60, 0.95); }
.tf-title { font-weight: 900; color: rgba(15, 23, 42, 0.92); margin-top: 4px; }
.tf-desc { color: rgba(15, 23, 42, 0.62); margin-top: 4px; }
.tf-tags { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.tf-tag {
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(28, 148, 198, 0.08);
  border: 1px solid rgba(28, 148, 198, 0.16);
}

/* Flow */
.flow-controls { display: flex; gap: 8px; flex-wrap: wrap; }
.flow-btn {
  padding: 8px 10px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.12);
  font-weight: 800;
  font-size: 12px;
}
.flow-path { transition: stroke-dashoffset 420ms ease; }
.flow-node text {
  font-size: 12px;
  font-weight: 900;
  fill: rgba(15, 23, 42, 0.75);
  text-anchor: middle;
}
.flow-node circle {
  fill: rgba(15, 23, 42, 0.18);
  transition: fill 180ms ease, r 180ms ease;
}
.flow-node circle.active { fill: rgba(231, 51, 60, 0.95); }
.flow-dot { fill: rgba(231, 51, 60, 0.55); }

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.78);
  color: rgba(15, 23, 42, 0.78);
  font-weight: 800;
  font-size: 12px;
}

/* BA slider */
.ba { border: 1px solid rgba(15, 23, 42, 0.08); background: white; border-radius: 18px; padding: 14px; }
.ba-title { font-weight: 900; color: rgba(15, 23, 42, 0.92); }
.ba-sub { font-size: 12px; font-weight: 700; color: rgba(15, 23, 42, 0.55); margin-top: 2px; }
.ba-wrap {
  position: relative;
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(90deg, rgba(231, 51, 60, 0.08), rgba(28, 148, 198, 0.08));
  height: 160px;
  cursor: ew-resize;
}
.ba-side {
  position: absolute;
  top: 0; bottom: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ba-left { left: 0; background: rgba(255, 255, 255, 0.88); }
.ba-right { right: 0; left: 0; background: rgba(2, 6, 23, 0.74); color: white; }
.ba-chip {
  display: inline-flex;
  width: fit-content;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: white;
  margin-bottom: 10px;
}
.ba-chip--right { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); color: white; }
.ba-list { margin: 0; padding-left: 18px; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  width: 4px;
  transform: translateX(-2px);
  background: rgba(231, 51, 60, 0.95);
  box-shadow: 0 0 0 6px rgba(231, 51, 60, 0.18);
}

/* Orbit */
.orbit-wrap {
  position: relative;
  width: min(380px, 88vw);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.orbit-core {
  width: 70%;
  border-radius: 18px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.58));
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  text-align: center;
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
}
.orbit-core-title { font-weight: 900; font-size: 16px; }
.orbit-core-sub { font-weight: 700; font-size: 12px; opacity: 0.9; margin-top: 6px; }

.orbit-ring {
  position: absolute;
  inset: 8%;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  animation: spin 18s linear infinite;
}
.orbit-ring--2 {
  inset: 18%;
  animation-duration: 24s;
  opacity: 0.65;
}
@keyframes spin { to { transform: rotate(360deg); } }

.glyph {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.10);
  color: white;
  backdrop-filter: blur(6px);
  transition: transform 180ms ease, background 180ms ease;
}
.glyph svg { width: 22px; height: 22px; }
.glyph:hover { transform: scale(1.06); background: rgba(255, 255, 255, 0.16); }

.glyph-a { top: 9%; left: 50%; transform: translate(-50%, 0); }
.glyph-b { left: 9%; top: 50%; transform: translate(0, -50%); }
.glyph-c { bottom: 9%; left: 50%; transform: translate(-50%, 0); }
.glyph-d { right: 9%; top: 50%; transform: translate(0, -50%); }

.glyph-pop {
  position: absolute;
  bottom: -18px;
  width: min(340px, 92vw);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 12px 12px;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.28);
  color: rgba(15, 23, 42, 0.9);
}
.glyph-pop-title { font-weight: 900; }
.glyph-pop-desc { font-size: 12px; margin-top: 4px; color: rgba(15, 23, 42, 0.65); }
.glyph-pop-tags { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.glyph-tag {
  font-size: 11px;
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(28, 148, 198, 0.08);
  border: 1px solid rgba(28, 148, 198, 0.16);
}

/* Radar */
.dna-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 14px; }
@media (min-width: 900px) { .dna-grid { grid-template-columns: 380px 1fr; align-items: start; } }
.dna-surface {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: white;
  padding: 10px;
}
.dna-radar { width: 100%; height: auto; }
.dna-point { fill: rgba(231, 51, 60, 0.9); cursor: grab; }
.dna-point.grab { cursor: grabbing; }
.dna-readout {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(249, 250, 251, 1), rgba(255, 255, 255, 1));
  padding: 14px;
}
.dna-readout-title { font-weight: 900; color: rgba(15, 23, 42, 0.9); }
.dna-meters { margin-top: 12px; display: grid; gap: 10px; }
.dna-meter-top { display: flex; justify-content: space-between; font-weight: 800; font-size: 12px; color: rgba(15, 23, 42, 0.75); }
.dna-meter-bar { height: 10px; border-radius: 999px; background: rgba(15, 23, 42, 0.08); overflow: hidden; }
.dna-meter-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, rgba(231, 51, 60, 0.9), rgba(28, 148, 198, 0.9)); }
.dna-blurb { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.dna-blurb-kicker { font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(15, 23, 42, 0.55); }
.dna-blurb-text { margin-top: 6px; color: rgba(15, 23, 42, 0.7); font-weight: 700; font-size: 13px; }

.dna-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.dna-btn {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: white;
  font-weight: 900;
  font-size: 12px;
}

/* Roadmap */
.roadmap-card {
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 14px;
}
.roadmap-top { margin-bottom: 10px; }
.roadmap-kicker { font-size: 11px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(28, 148, 198, 0.9); }
.roadmap-title { font-weight: 900; color: rgba(15, 23, 42, 0.92); margin-top: 4px; }

/* WhatsApp card */
.wa-card {
  text-align: left;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 18px 70px rgba(2, 6, 23, 0.28);
  padding: 16px;
  backdrop-filter: blur(10px);
}
.wa-top { margin-bottom: 12px; }
.wa-title { font-weight: 900; font-size: 18px; color: rgba(15, 23, 42, 0.92); }
.wa-sub { margin-top: 4px; font-size: 12px; font-weight: 700; color: rgba(15, 23, 42, 0.62); }
.wa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .wa-grid { grid-template-columns: 1fr 1fr 1fr; }
}
.wa-field { display: grid; gap: 6px; }
.wa-field--full { margin-top: 12px; }
.wa-label { font-size: 12px; font-weight: 900; color: rgba(15, 23, 42, 0.75); }
.wa-input {
  width: 100%;
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.92);
  font-weight: 700;
  outline: none;
}
.wa-input:focus { border-color: rgba(28, 148, 198, 0.55); box-shadow: 0 0 0 4px rgba(28, 148, 198, 0.14); }
.wa-textarea { resize: vertical; min-height: 110px; }

.wa-actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: white;
  color: rgba(15, 23, 42, 0.92);
}
.wa-btn--primary {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.12);
}
.wa-btn--primary:disabled { opacity: 0.55; cursor: not-allowed; }
.wa-btn--ghost {
  background: transparent;
  border-color: rgba(15, 23, 42, 0.18);
}
.wa-meta {
  flex: 1;
  display: grid;
  gap: 4px;
  min-width: min(460px, 92vw);
}
.wa-meta-item {
  display: flex;
  gap: 8px;
  align-items: center;
  color: rgba(15, 23, 42, 0.72);
  font-weight: 800;
  font-size: 12px;
}
.wa-meta-item--small { opacity: 0.85; }
.wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.9);
  box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

/* Prefer reduced motion: kill heavy transitions */
@media (prefers-reduced-motion: reduce) {
  .tilt-card,
  .animate-on-scroll,
  .mesh-path,
  .tw-caret,
  .pulse-dot,
  .orbit-ring {
    animation: none !important;
    transition: none !important;
  }
}

/* -----------------------------
  Brand-aligned "normal" styling
------------------------------ */
.about-page {
  /* soft base */
  background: linear-gradient(180deg, rgba(248,250,252,1) 0%, rgba(255,255,255,1) 30%, rgba(255,255,255,1) 100%);
}

/* Breadcrumb */
.breadcrumb {
  padding-top: 14px;
  padding-bottom: 10px;
}

/* HERO */
.hero {
  min-height: 62vh;
}
.hero-bg {
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero-overlay {
  background: linear-gradient(90deg, rgba(15,23,42,0.86) 0%, rgba(231,51,60,0.70) 52%, rgba(28,148,198,0.60) 100%);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.10);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: white;
  background: rgba(231,51,60,0.95);
  border: 1px solid rgba(255,255,255,0.14);
  transition: transform 120ms ease, opacity 120ms ease;
}
.btn-primary:hover { transform: translateY(-1px); opacity: 0.96; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(15,23,42,1);
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  transition: transform 120ms ease;
}
.btn-secondary:hover { transform: translateY(-1px); }

/* Stats */
.stats-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.05);
}

/* Divider */
.section-divider {
  height: 60px;
  overflow: hidden;
  background: white;
}
.divider-fill {
  fill: rgba(248,250,252,1);
}

/* Timeline */
.timeline-scrubber {
  background: rgba(248,250,252,1);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 18px;
  padding: 16px;
}
.timeline-scrubber-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.timeline-scrubber-title {
  font-weight: 800;
  color: rgba(15,23,42,1);
}
.timeline-scrubber-sub {
  display: inline-block;
  margin-left: 8px;
  font-weight: 600;
  color: rgba(100,116,139,1);
  font-size: 12px;
}
.timeline-scrubber-actions {
  display: flex;
  gap: 8px;
}
.ts-btn {
  padding: 8px 12px;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(15,23,42,0.10);
  font-weight: 700;
  font-size: 13px;
  color: rgba(15,23,42,0.92);
}
.ts-btn:hover { background: rgba(248,250,252,1); }

.ts-range {
  width: 100%;
  accent-color: #e7333c;
}

.timeline-focus {
  margin-top: 12px;
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 14px;
}
.tf-year {
  font-weight: 900;
  color: rgba(231,51,60,1);
  font-size: 14px;
}
.tf-title {
  font-weight: 900;
  color: rgba(15,23,42,1);
  font-size: 18px;
  margin-top: 2px;
}
.tf-desc {
  color: rgba(71,85,105,1);
  margin-top: 6px;
}
.tf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tf-tag {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(248,250,252,1);
  border: 1px solid rgba(15,23,42,0.08);
  color: rgba(15,23,42,0.78);
}

.timeline-list {
  margin-top: 22px;
  padding-left: 18px;
  border-left: 2px solid rgba(231,51,60,0.25);
}
.timeline-item {
  position: relative;
  margin-top: 18px;
  padding-left: 18px;
}
.timeline-dot {
  position: absolute;
  left: -11px;
  top: 20px;
  width: 12px;
  height: 12px;
  background: rgba(231,51,60,1);
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(231,51,60,0.12);
}
.timeline-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
  cursor: pointer;
}
.timeline-card.active {
  border-color: rgba(231,51,60,0.35);
  box-shadow: 0 10px 28px rgba(231,51,60,0.10);
}
.chip {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(248,250,252,1);
  border: 1px solid rgba(15,23,42,0.08);
  color: rgba(15,23,42,0.75);
  font-weight: 700;
}

/* Flow */
.flow-controls { display: flex; gap: 8px; }
.flow-btn {
  padding: 9px 14px;
  border-radius: 12px;
  background: white;
  border: 1px solid rgba(15,23,42,0.10);
  font-weight: 800;
  font-size: 13px;
}
.flow-btn:hover { background: rgba(248,250,252,1); }

.flow-path { transition: stroke-dashoffset 240ms ease; }
.flow-nodes text { font-size: 12px; font-weight: 800; fill: rgba(15,23,42,0.75); }
.flow-nodes circle { fill: rgba(15,23,42,0.20); }
.flow-nodes circle.active { fill: rgba(231,51,60,1); }

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  color: rgba(15,23,42,0.80);
  font-weight: 800;
  font-size: 12px;
}

/* Before/After */
.ba {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.ba-title { font-weight: 900; color: rgba(15,23,42,1); }
.ba-sub { color: rgba(100,116,139,1); font-weight: 600; font-size: 13px; margin-top: 2px; }
.ba-wrap {
  position: relative;
  height: 170px;
  margin-top: 14px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.08);
  touch-action: none;
  user-select: none;
}
.ba-side {
  position: absolute;
  inset: 0;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ba-left {
  background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.78) 100%);
  color: rgba(255,255,255,0.92);
  z-index: 2;
}
.ba-right {
  background: linear-gradient(135deg, rgba(231,51,60,0.16) 0%, rgba(28,148,198,0.14) 100%);
  color: rgba(15,23,42,0.92);
  z-index: 1;
}
.ba-chip {
  align-self: flex-start;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 10px;
}
.ba-chip--right {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
}
.ba-list { margin: 0; padding-left: 18px; font-weight: 700; font-size: 13px; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(231,51,60,1);
  z-index: 3;
  box-shadow: 0 0 0 6px rgba(231,51,60,0.12);
}

/* Brand panel */
.brand-panel {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}
.brand-title {
  font-weight: 1000;
  color: rgba(15,23,42,1);
  font-size: 20px;
}
.brand-sub {
  margin-top: 2px;
  color: rgba(100,116,139,1);
  font-weight: 700;
}
.brand-card {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(248,250,252,1);
}
.brand-card-title { font-weight: 900; color: rgba(15,23,42,1); }
.brand-card-desc { margin-top: 4px; color: rgba(71,85,105,1); font-weight: 600; font-size: 13px; }
.brand-note {
  background: rgba(231,51,60,0.08);
  border: 1px solid rgba(231,51,60,0.15);
  border-radius: 14px;
  padding: 12px 14px;
  color: rgba(15,23,42,0.92);
  font-weight: 700;
}

/* Roadmap */
.roadmap-card {
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  padding: 16px;
  background: rgba(248,250,252,1);
}
.roadmap-kicker {
  font-size: 12px;
  font-weight: 900;
  color: rgba(231,51,60,1);
}
.roadmap-title {
  margin-top: 2px;
  font-weight: 900;
  color: rgba(15,23,42,1);
  font-size: 16px;
}
.roadmap-top { margin-bottom: 10px; }

/* Panels */
.panel {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

/* Values */
.value-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.05);
}

/* Team */
.leadership-card {
  background: white;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06);
}

/* CTA */
.cta {
  background: linear-gradient(90deg, rgba(28,148,198,1) 0%, rgba(15,23,42,1) 100%);
}
.btn-secondary-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  color: rgba(15,23,42,1);
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform 120ms ease;
}
.btn-secondary-white:hover { transform: translateY(-1px); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  color: white;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.92);
  transition: transform 120ms ease;
}
.btn-outline-white:hover { transform: translateY(-1px); }

/* WhatsApp card */
.wa-card {
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 18px;
  text-align: left;
  backdrop-filter: blur(10px);
}
.wa-top { margin-bottom: 14px; }
.wa-title { font-weight: 1000; font-size: 18px; }
.wa-sub { color: rgba(255,255,255,0.85); margin-top: 4px; font-weight: 600; font-size: 13px; }

.wa-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .wa-grid { grid-template-columns: repeat(3, 1fr); }
}

.wa-field { display: flex; flex-direction: column; gap: 6px; }
.wa-field--full { margin-top: 12px; }
.wa-label { font-weight: 800; font-size: 12px; color: rgba(255,255,255,0.90); }
.wa-input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.20);
  background: rgba(255,255,255,0.12);
  color: white;
  outline: none;
}
.wa-input::placeholder { color: rgba(255,255,255,0.65); }
.wa-textarea { resize: vertical; min-height: 110px; }

.wa-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}
.wa-btn {
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.12);
  color: white;
}
.wa-btn:hover { background: rgba(255,255,255,0.16); }
.wa-btn--primary {
  background: rgba(255,255,255,0.95);
  color: rgba(15,23,42,1);
  border-color: rgba(255,255,255,0.10);
}
.wa-btn--primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.wa-btn--ghost { background: transparent; }

.wa-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  min-width: 220px;
}
.wa-meta-item { display: flex; align-items: center; gap: 8px; font-weight: 700; color: rgba(255,255,255,0.85); font-size: 12px; }
.wa-meta-item--small { font-size: 12px; color: rgba(255,255,255,0.78); }
.wa-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.85); }

/* -----------------------------
  Command palette styles
------------------------------ */
.palette-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2,6,23,0.55);
  z-index: 80;
}
.palette {
  position: fixed;
  left: 50%;
  top: 12%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 24px));
  background: white;
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 18px;
  z-index: 90;
  box-shadow: 0 18px 60px rgba(2,6,23,0.22);
  overflow: hidden;
}
.palette-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.palette-kbd {
  font-weight: 900;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(248,250,252,1);
}
.palette-title {
  font-weight: 1000;
  color: rgba(15,23,42,1);
  margin-right: auto;
}
.palette-x {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(248,250,252,1);
  font-weight: 900;
}
.palette-input {
  width: 100%;
  padding: 12px 14px;
  border: none;
  outline: none;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}
.palette-list {
  max-height: 320px;
  overflow: auto;
  padding: 8px;
}
.palette-item {
  width: 100%;
  text-align: left;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
}
.palette-item:hover {
  background: rgba(248,250,252,1);
  border-color: rgba(15,23,42,0.08);
}
.palette-item.active {
  background: rgba(231,51,60,0.06);
  border-color: rgba(231,51,60,0.18);
}
.palette-item-title { font-weight: 900; color: rgba(15,23,42,1); }
.palette-item-desc { margin-top: 2px; font-size: 12px; color: rgba(100,116,139,1); font-weight: 600; }
/* Minimal transitions + marquee animation (safe defaults) */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.2s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
}

.slide-left-enter-active,
.slide-left-leave-active {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.slide-left-enter-from,
.slide-left-leave-to {
  transform: translateX(-12px);
  opacity: 0;
}

.slide-down-enter-active,
.slide-down-leave-active {
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.slide-down-enter-from,
.slide-down-leave-to {
  max-height: 0;
  opacity: 0;
}
.slide-down-enter-to,
.slide-down-leave-from {
  max-height: 600px;
  opacity: 1;
}

@keyframes marqueeSlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.animate-marquee-slow {
  animation: marqueeSlow 30s linear infinite;
  will-change: transform;
}

.category-scrollbar::-webkit-scrollbar {
  width: 8px;
}
.category-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 999px;
}
.category-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.grecaptcha-badge {
  opacity: 0;
}
