/* CSS - Santa Ressaca - ULTRA PREMIUM & AGGRESSIVE */

:root {
    --black: #000000;
    --yellow: #FFFF33;
    --dark-yellow: #B8860B;
    --white: #ffffff;
    --gray: #0a0a0a;
    --card-bg: #111111;
    --glass: rgba(255, 255, 255, 0.03);
    --glow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.3);
    --border-glow: 0 0 10px rgba(255, 215, 0, 0.2);
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo,
.section-title,
.nav-menu ul li a,
.btn-primary,
.btn-card {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1,
h2,
h3,
.logo,
.btn-primary,
.section-title {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    /* Reduced from 1400px */
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--yellow);
    font-weight: 800;
    text-shadow: var(--glow);
}

/* --- LOADER --- */

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOutLoader 0.6s ease 3.3s forwards;
}

.loader-image-logo {
    max-width: 180px;
    /* Reduced from 250px */
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 15px var(--yellow));
    animation: pulseGlow 1.5s infinite alternate;
}

.loader-bar-container {
    width: 200px;
    /* Reduced from 300px */
    height: 2px;
    /* Reduced from 3px */
    background: #222;
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--dark-yellow), var(--yellow));
    box-shadow: 0 0 15px var(--yellow);
    animation: fillBar 3s ease-in-out forwards;
}

/* --- SITE CONTENT FADE IN --- */

.site-content,
.main-header,
.main-footer,
.whatsapp-float {
    opacity: 0;
    animation: fadeInSite 1s cubic-bezier(0.4, 0, 0.2, 1) 3.5s forwards;
}

/* --- HEADER --- */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /* Reduced from 100px */
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    display: flex;
    align-items: center;
}

.header-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-image-logo {
    height: 100px;
    /* Reduced from 120px */
    width: auto;
    transition: var(--transition);
}

.header-image-logo:hover {
    filter: drop-shadow(0 0 10px var(--yellow));
    transform: scale(1.05);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    /* Reduced from 40px */
}

.nav-menu a {
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    /* Increased from 0.75rem */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    /* Reduced from 2px */
    position: relative;
    padding: 8px 0;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    box-shadow: 0 0 10px var(--yellow);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--yellow);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */

.hero {
    height: 80vh;
    /* Reduced from 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1514362545857-3bc16c4c7d1b?q=80&w=2000&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, var(--black) 5%, rgba(0, 0, 0, 0.6) 50%, var(--black) 95%);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    /* Reduced from 5rem */
    font-weight: 400;
    margin-bottom: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 30%, var(--yellow));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    filter: drop-shadow(0 0 12px rgba(255, 255, 51, 0.3));
}

.hero-divider {
    width: 60px;
    /* Reduced from 100px */
    height: 3px;
    /* Reduced from 4px */
    background: var(--yellow);
    margin: 20px auto;
    box-shadow: 0 0 20px var(--yellow);
}

.hero-subtitle {
    font-size: 1.4rem;
    /* Increased from 1.1rem */
    color: var(--white);
    font-weight: 400;
    margin-bottom: 40px;
    letter-spacing: 4px;
}

.btn-primary {
    padding: 12px 30px;
    /* Reduced from 15x40 */
    font-size: 0.9rem;
    /* Reduced from 1rem */
    letter-spacing: 1.5px;
    background-color: var(--yellow);
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.btn-primary.aggressive:hover {
    transform: scale(1.05) skewX(-2deg);
    background: #fff;
    box-shadow: 0 0 30px var(--yellow);
}

/* --- PRODUCTS SECTIONS --- */

.products {
    padding: 80px 0;
    /* Reduced from 120px */
    position: relative;
}

.category-market {
    background: #050505;
}

.section-badge {
    color: var(--yellow);
    font-size: 0.7rem;
    /* Reduced from 0.8rem */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-align: center;
    opacity: 0.8;
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    /* Reduced from 2.5/4rem */
    text-align: center;
    margin-bottom: 60px;
    /* Reduced from 80px */
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Reduced from 350px */
    gap: 30px;
    /* Reduced from 40px */
}

.product-card.aggressive-card {
    background: var(--card-bg);
    border-radius: 12px;
    /* More elegant rounded corners */
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card.aggressive-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--yellow);
    /* Thinner border */
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
}

.product-card.aggressive-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.product-card.aggressive-card:hover::before {
    opacity: 0.3;
    inset: 0;
}

.product-image {
    height: 260px;
    /* Reduced from 350px */
    overflow: hidden;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(10%);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.product-info {
    padding: 25px;
    /* Reduced from 35px */
    text-align: center;
    background: #0d0d0d;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.4rem;
    /* Reduced from 1.8rem */
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-info p,
.prod-desc {
    color: #bbb;
    font-size: 0.85rem;
    margin-bottom: 15px;
    min-height: 2.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.price {
    display: block;
    font-size: 1.6rem;
    /* Reduced from 2rem */
    color: var(--yellow);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.btn-card {
    display: block;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 6px;
}

.product-card:hover .btn-card {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 0 15px var(--yellow);
}

.product-card:hover .btn-card {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 0 15px var(--yellow);
}

/* --- ABOUT --- */

.about {
    padding: 80px 0;
    /* Reduced from 150px */
    background: radial-gradient(circle at top right, #111, var(--black));
}

.about-content {
    max-width: 800px;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    /* Reduced from 1.5rem */
    margin-bottom: 30px;
    color: #eee;
    font-weight: 300;
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    /* Reduced from 60px */
    margin-top: 40px;
}

.stat-item {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
}

.stat-item span {
    display: block;
    font-size: 2.2rem;
    /* Reduced from 3rem */
    color: var(--yellow);
    font-weight: 900;
    margin-bottom: 5px;
}

/* --- CONTACT --- */

.contact {
    padding: 80px 0;
    /* Reduced from 120px */
    background: linear-gradient(180deg, var(--black), #050505);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
    /* Reduced from 80px */
}

.section-subtitle {
    color: #888;
    font-size: 1rem;
    /* Reduced from 1.2rem */
    margin-top: -40px;
    /* Adjusted from -60px */
    margin-bottom: 30px;
}

.contact-layout {
    display: flex;
    justify-content: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Reduced from 300px */
    gap: 20px;
    width: 100%;
}

.contact-card-premium {
    background: #0d0d0d;
    padding: 40px 30px;
    /* Reduced from 60x40 */
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.contact-card-premium:hover {
    background: #111;
    border-color: var(--yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    margin-bottom: 20px;
    display: block;
}

.contact-card-premium h3 {
    color: var(--yellow);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-size: 0.8rem;
}

.contact-link {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    /* Reduced from 2rem */
    font-weight: 900;
    display: block;
    margin-bottom: 10px;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--yellow);
    text-shadow: 0 0 15px var(--yellow);
}

.address-text {
    font-size: 1.1rem;
    /* Reduced from 1.4rem */
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}

/* --- MAPS SECTION --- */

.maps-section {
    padding-bottom: 80px;
    /* Reduced from 120px */
}

.maps-container {
    background: #0a0a0a;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 300px;
    /* Reduced from 400px */
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.maps-content {
    padding: 40px;
    /* Reduced from 80px */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    background: linear-gradient(90deg, #0a0a0a 75%, transparent);
}

.maps-title {
    font-size: 2rem;
    /* Reduced from 3rem */
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.maps-content p {
    font-size: 1rem;
    /* Reduced from 1.2rem */
    color: #888;
    margin-bottom: 30px;
}

.maps-btn {
    padding: 10px 25px !important;
    font-size: 0.8rem !important;
}

.maps-visual {
    background: url('imagens/maps.jpg') no-repeat center center/cover;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .maps-container {
        grid-template-columns: 1fr;
    }

    .maps-content {
        padding: 30px;
        background: rgba(0, 0, 0, 0.8);
    }

    .maps-visual {
        height: 200px;
    }
}

/* --- FOOTER --- */

.main-footer {
    padding: 50px 0;
    /* Reduced from 80px */
    border-top: 1px solid #111;
    text-align: center;
    background: #000;
}

.footer-logo {
    height: 60px;
    /* Reduced from 80px */
    margin-bottom: 20px;
}

.social-links-footer {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    padding: 10px 25px;
    font-size: 0.8rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 0 15px var(--yellow);
    transform: translateY(-3px);
}

/* --- WHATSAPP FLOAT --- */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    /* Reduced from 70px */
    height: 60px;
    background: #25d366;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    transition: var(--transition);
    animation: pulseAggressive 2s infinite;
}

.whatsapp-float svg {
    width: 35px;
    /* Reduced from 40px */
    height: 35px;
}

/* --- COMBOS & TABS --- */

.tabs-header {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 35px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    /* Increased from 1rem */
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.tab-btn:hover {
    background: rgba(255, 255, 51, 0.1);
    border-color: rgba(255, 255, 51, 0.5);
}

.tab-btn.active {
    background: var(--yellow);
    color: var(--black);
    border-color: var(--yellow);
    box-shadow: 0 0 20px rgba(255, 255, 51, 0.4);
}

.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.combo-items {
    margin: 15px 0;
    text-align: left;
}

.combo-items p {
    color: #ccc;
    font-size: 0.9rem;
    /* Slightly larger for visibility */
    margin-bottom: 6px;
    font-weight: 500;
}

/* --- MODAL --- */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: #0a0a0a;
    width: 100%;
    max-width: 500px;
    padding: 40px;
    border-radius: 15px;
    position: relative;
    animation: modalAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: #555;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--yellow);
}

.modal-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.order-summary {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 3px solid var(--yellow);
}

#modalProductName {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    color: var(--yellow);
}

#modalProductPrice {
    font-weight: 800;
}

.delivery-form .input-group {
    margin-bottom: 20px;
    text-align: left;
}

.delivery-form label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.delivery-form input,
.delivery-form select {
    width: 100%;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.delivery-form input:focus,
.delivery-form select:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 10px rgba(255, 255, 51, 0.2);
}

.delivery-total {
    margin: 25px 0;
    padding: 15px 0;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.delivery-total p {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.final-price {
    font-size: 1.3rem !important;
    font-weight: 900;
    color: var(--yellow);
    margin-top: 5px;
}

.w-full {
    width: 100%;
}

/* --- ANIMATIONS --- */


@keyframes pulseGlow {
    from {
        filter: drop-shadow(0 0 10px var(--yellow));
    }

    to {
        filter: drop-shadow(0 0 30px var(--yellow));
    }
}

@keyframes fillBar {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }
}

@keyframes fadeOutLoader {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeInSite {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseAggressive {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* REVEAL ON LOAD */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    animation: revealAnim 1s ease 4s forwards;
}

@keyframes revealAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- MOBILE RESPONSIVENESS --- */

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PREMIUM UI ENHANCEMENTS --- */

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: none;
}

.toast {
    background: #0d0d0d;
    border-left: 5px solid var(--yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: white;
    padding: 18px 25px;
    min-width: 320px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: toastSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    pointer-events: auto;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.toast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--yellow);
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

.toast.error {
    border-left-color: #ff3333;
}

.toast.error::after {
    background: #ff3333;
}

.toast-message {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes toastProgress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

/* --- USER PROFILE MODAL --- */
.profile-content {
    color: white;
}

.user-info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 51, 0.1);
}

.info-item {
    margin-bottom: 15px;
}

.info-item label {
    display: block;
    color: var(--yellow);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 400;
}

.order-history-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-list {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #333;
    transition: var(--transition);
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: var(--yellow);
}

.order-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.order-date {
    font-size: 0.75rem;
    color: #888;
}

.order-price {
    color: var(--yellow);
    font-weight: 800;
}

.profile-actions {
    margin-top: 30px;
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #333;
    padding: 12px 25px;
    color: #888;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-secondary:hover {
    color: white;
    border-color: #666;
}

.btn-logout-alt {
    border-color: #ff3333;
    color: #ff3333 !important;
}

.btn-logout-alt:hover {
    background: #ff3333;
    color: white !important;
}

/* Scrollbar for order list */
.order-list::-webkit-scrollbar {
    width: 5px;
}

.order-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.order-list::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.order-list::-webkit-scrollbar-thumb:hover {
    background: var(--yellow);
}

/* --- STATUS TRACKER MODAL --- */
.status-tracking-content {
    padding: 10px;
    text-align: center;
}

.order-id-badge {
    display: inline-block;
    background: #222;
    padding: 5px 15px;
    border-radius: 5px;
    font-weight: bold;
    color: var(--yellow);
    margin-bottom: 25px;
}

.status-stepper {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
}

.status-stepper::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #333;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    width: 25%;
    text-align: center;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: #1a1a1a;
    border: 3px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.step-label {
    font-size: 0.75rem;
    color: #888;
    font-weight: bold;
    text-transform: uppercase;
}

.step.active .step-icon {
    border-color: var(--yellow);
    background: #000;
    box-shadow: 0 0 15px var(--yellow);
}

.step.active .step-label {
    color: var(--yellow);
}

.step.completed .step-icon {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #000;
}

.order-summary-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed #444;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: left;
}

.track-items {
    font-size: 0.9rem;
    white-space: pre-wrap;
    margin-bottom: 10px;
    color: #ccc;
}

.track-total {
    font-weight: bold;
    border-top: 1px solid #333;
    padding-top: 10px;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
}

.status-tip {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
}

/* --- FLOATING CHAT DASHBOARD --- */
.floating-chat-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    background: var(--yellow);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    border: none;
    position: relative;
    font-family: inherit;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff3b30;
    color: white;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    font-size: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 3px solid #000;
    font-weight: 800;
    padding: 0 4px;
}

.chat-panel {
    width: 380px;
    height: 550px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-bottom: 20px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.9);
}

.chat-panel-header {
    padding: 18px;
    background: #161616;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-panel-header h3 {
    margin: 0;
    font-size: 1rem;
    color: var(--yellow);
    font-weight: 800;
}

#chat-messages-container {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.4;
}

.chat-message.admin {
    align-self: flex-end;
    background: var(--yellow);
    color: var(--black);
    border-bottom-right-radius: 2px;
}

.chat-message.customer {
    align-self: flex-start;
    background: #252525;
    color: var(--white);
    border-bottom-left-radius: 2px;
}

.chat-input-area {
    padding: 15px;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 12px;
}

.chat-input-area input {
    flex-grow: 1;
    background: #1d1d1d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    color: white;
    font-family: inherit;
}

.order-selector {
    padding: 12px 18px;
    background: #121212;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-selector select {
    width: 100%;
    background: #1d1d1d;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 6px;
    font-size: 0.85rem;
}