/* Base Styles - Updated with Design System */
/* Typography and base styles are now in design-system.css */

/* Container styles - Applies to all containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Responsive Container */
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
}

/* Explicitly exclude header containers - Header containers are styled in header.css */
header .container,
header nav .container {
    max-width: unset !important;
    margin: unset !important;
    padding: unset !important;
}

main {
    min-height: calc(100vh - 200px);
    padding: 0;
    padding-top: 120px; /* Space for fixed header (max-height 100px + padding 1.25rem = ~120px) */
    transition: padding-top 0.3s ease;
}

/* Adjust padding when header is scrolled (smaller) */
body:has(header.scrolled) main,
body.header-scrolled main {
    padding-top: 110px; /* Space for scrolled header (max-height 90px + padding 1rem = ~110px) */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    main {
        padding-top: 100px; /* Reduced for mobile */
    }
    
    body:has(header.scrolled) main,
    body.header-scrolled main {
        padding-top: 90px; /* Reduced for mobile when scrolled */
    }
}

/* Breadcrumb - uses existing design system colors */
.breadcrumb-nav {
    padding: var(--spacing-sm, 0.75rem) 0;
    font-size: var(--text-sm, 0.875rem);
}
.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
    color: var(--text-light, #6B7280);
}
.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 0.25rem;
    color: var(--text-light, #6B7280);
}
.breadcrumb-item a {
    color: var(--text-medium, #374151);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: var(--primary-orange, #F97316);
}
.breadcrumb-item span {
    color: var(--text-dark, #111827);
}

/* Utility Classes */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* WhatsApp Floating Button */
.whatsapp-float-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 9999;
    transition: all 0.3s ease;
    padding: 0;
    color: #25D366;
}

.whatsapp-float-btn i {
    font-size: 60px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    color: #20BA5A;
}

.whatsapp-float-btn:hover i {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.whatsapp-float-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .whatsapp-float-btn {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float-btn i {
        font-size: 56px;
    }
}

