/* Modern CSS Variables based on La Canasta Logo */
:root {
    --color-primary: #0f2c59;     /* Corporate Blue */
    --color-primary-light: #1d447d;
    --color-secondary: #d80032;   /* Accent Red */
    --color-secondary-light: #ef233c;
    --color-bg-light: #f4f6f9;    /* Light gray background */
    --color-bg-white: #ffffff;
    --color-text-main: #1f2937;
    --color-text-muted: #4b5563;
    --color-border: #e5e7eb;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-float: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

p {
    line-height: 1.6;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: var(--transition);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.mb-50 { margin-bottom: 3rem; }

/* Emphasized Text */
.highlight {
    color: var(--color-primary);
    display: block;
}
.highlight-orange { color: var(--color-secondary); }

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-text-main);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(15, 44, 89, 0.39);
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-border);
}

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

.btn-primary-outline {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 2px solid var(--color-primary);
    color: var(--color-primary) !important;
    font-weight: 600;
}

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

.icon {
    width: 20px;
    height: 20px;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    background-color: var(--color-bg-light);
    position: relative;
    padding-bottom: 8rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.badge {
    display: inline-block;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
}

.shadow-float {
    box-shadow: var(--shadow-float);
    animation: float 6s ease-in-out infinite;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: var(--color-bg-white);
}

/* Promo Section */
.promo-section {
    padding: 6rem 0;
}

.section-header {
    text-center;
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--color-primary);
}

.checklist {
    list-style: none;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.checklist svg {
    width: 28px;
    height: 28px;
    color: var(--color-secondary);
}

.promo-alert {
    background-color: var(--color-bg-light);
    border-left: 4px solid var(--color-secondary);
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-size: 1.125rem;
}

/* Benefits */
.benefits-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

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

.icon-circle {
    width: 70px;
    height: 70px;
    background-color: var(--color-bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--color-secondary);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-pulse {
    background-color: white;
    color: var(--color-primary);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse 2s infinite;
}

.cta-pulse:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Footer */
footer {
    background-color: var(--color-text-main);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #9ca3af;
}

.footer-links h4, .footer-social h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: white;
}

.footer-links p {
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #9ca3af;
}

.social-icons a:hover {
    color: var(--color-secondary);
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #6b7280;
    font-size: 0.875rem;
}

/* WhatsApp Floating Button */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: transform 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float-btn svg {
    width: 35px;
    height: 35px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Contact & Location Section */
.contact-section {
    padding: 6rem 0;
    background-color: var(--color-bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: var(--color-bg-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    background-color: var(--color-bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(15, 44, 89, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.form-success-alert {
    text-align: center;
    padding: 3rem 2rem;
    background-color: var(--color-bg-light);
    border-radius: var(--border-radius);
    border: 2px dashed var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out;
}

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

.success-icon {
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.3);
}

.success-icon svg {
    width: 32px;
    height: 32px;
}

.form-success-alert h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
}

.form-success-alert p {
    font-size: 1rem;
    max-width: 90%;
    margin-bottom: 0.5rem;
}

.info-card {
    background-color: var(--color-bg-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    align-items: start;
}

.info-icon {
    color: var(--color-secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-icon svg {
    width: 24px;
    height: 24px;
}

.info-item strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-text-main);
    display: block;
    margin-bottom: 0.25rem;
}

.info-item p {
    font-size: 0.95rem;
    margin: 0;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    height: 270px;
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-lg);
}

/* Quiénes Somos Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--color-bg-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.about-card {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.75rem;
}

.about-steps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-steps-list li {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-num {
    background-color: var(--color-secondary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    flex-shrink: 0;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(216, 0, 50, 0.3);
}

.about-steps-list li strong {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: white;
    display: block;
    margin-bottom: 0.25rem;
}

.about-steps-list li p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
}

/* Ofertas Especiales Section */
.offers-section {
    padding: 6rem 0;
    background-color: var(--color-bg-light);
}

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

.offer-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-secondary);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(216, 0, 50, 0.3);
}

.offer-img-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.offer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.offer-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.offer-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-text-main);
}

.offer-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.offer-pricing {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 1.25rem;
}

.offer-price-normal {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.offer-price-promo {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.4rem;
    font-family: var(--font-heading);
}

.btn-order-offer {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem;
    border-radius: 50px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(15, 44, 89, 0.2);
}

.btn-order-offer:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    color: white;
}

/* Admin Panel Styles */
.admin-body {
    background-color: var(--color-bg-light);
    min-height: 100vh;
}

.admin-auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    background-color: var(--color-bg-light);
}

.auth-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 450px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-panel-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-light);
}

.admin-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: start;
}

.admin-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}

.admin-table-wrapper {
    overflow-x: auto;
    margin-top: 1rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.admin-table th {
    padding: 1rem;
    border-bottom: 2px solid var(--color-border);
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
    font-size: 0.95rem;
    background-color: var(--color-bg-light);
}

.admin-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background-color: #fafaf9;
}

/* Responsive Logic */
@media (max-width: 992px) {
    .hero-content, .products-grid, .about-container, .admin-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content, .products-grid, .about-text {
        text-align: center;
    }
    
    .hero h1 { font-size: 3rem; }
    
    html {
        font-size: 14px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero p {
        margin: 0 auto 2rem;
    }
    
    .checklist li {
        justify-content: center;
    }
    
    .benefits-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-container, .info-card, .admin-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* In a real app we'd add a hamburger menu */
    }
}

/* Split Hero layout for B2B Form */
.hero-split-form {
    background: var(--color-bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hero-split-form h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

/* Category Filter Bar */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    background: var(--color-bg-white);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Brands styling */
.brand-showcase-card {
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-showcase-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.brand-header-flex {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.brand-logo-img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.brand-showcase-products {
    margin-top: 1.5rem;
    border-top: 1px dashed var(--color-border);
    padding-top: 1rem;
}

/* Product list inside brand card */
.brand-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brand-product-item {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-product-item::before {
    content: "•";
    color: var(--color-secondary);
    font-weight: bold;
}

/* Brands Carousel Styling */
.brands-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    padding: 0 1rem;
    box-sizing: border-box;
    display: flex;
}

.carousel-slide .brand-showcase-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0;
}

@media (min-width: 768px) {
    .carousel-slide {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {
    .carousel-slide {
        flex: 0 0 33.3333%;
    }
}

/* Carousel arrows */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    z-index: 10;
    opacity: 0.8;
    user-select: none;
}

.carousel-nav-btn:hover {
    background: var(--color-secondary);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav-btn:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

.carousel-nav-btn.prev-btn {
    left: -20px;
}

.carousel-nav-btn.next-btn {
    right: -20px;
}

/* Hide navigation arrows if there aren't enough brands */
.carousel-nav-btn.hidden {
    display: none;
    visibility: hidden;
}

/* Carousel indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.carousel-indicator.active {
    background-color: var(--color-secondary);
    width: 24px;
    border-radius: 5px;
}

.carousel-indicators.hidden {
    display: none;
    visibility: hidden;
}

/* For mobile devices, adjust the arrow positions so they don't go outside screen bounds */
@media (max-width: 767px) {
    .carousel-nav-btn.prev-btn {
        left: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    .carousel-nav-btn.next-btn {
        right: -10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Admin Tabs Styling */
.admin-tabs-nav {
    display: flex;
    gap: 0.5rem;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    overflow-x: auto;
}

.admin-tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--color-text-muted);
    transition: var(--transition);
    white-space: nowrap;
}

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

.admin-tab-btn.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

/* Dashboard statistics */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.stat-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 600;
}
