:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #10b981;
    --whatsapp-green: #25d366;
    --border-radius: 12px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: 40px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1e1e2f 0%, #11111d 100%);
    padding: 30px 20px;
    text-align: center;
    border-bottom: 2px solid var(--card-bg);
}

header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

header .tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.utility-bar {
    background-color: #1e293b;
    padding: 20px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid #334155;
}

.search-box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#catalogSearch {
    width: 100%;
    padding: 14px 18px;
    background-color: var(--bg-color);
    border: 1px solid #475569;
    border-radius: 8px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

#catalogSearch:focus {
    border-color: var(--accent);
}

.filter-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.chip {
    background-color: var(--bg-color);
    color: var(--text-muted);
    border: 1px solid #334155;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.chip.active {
    background-color: var(--accent);
    color: #0f172a;
    border-color: var(--accent);
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-card {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid #334155;
}

.product-card.hidden {
    display: none !important;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: rgba(15, 23, 42, 0.85);
    color: var(--accent);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    z-index: 10;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.image-wrapper {
    background-color: #fff;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 250px;
}

.image-wrapper img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
}

.twin-images img { width: 48%; }
.triplet-images img { width: 31%; }

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-details h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.product-details .specs {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.product-details .price {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.whatsapp-btn {
    display: block;
    text-align: center;
    background-color: var(--whatsapp-green);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
}

footer {
    margin-top: 50px;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
}
/* Multi-pricing structure typography for mobile reading */
.price-list {
    margin-bottom: 16px;
    background-color: rgba(15, 23, 42, 0.4);
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.price-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.price-list p:last-child {
    margin-bottom: 0;
}

.price-list strong {
    color: var(--text-main);
}
/* Top Action Contacts Bar Styling */
.top-contacts {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; /* Wraps gracefully onto two lines on extremely small mobile screens */
}

.contact-link {
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.25s ease-in-out;
    display: inline-flex;
    align-items: center;
}

/* WhatsApp Link Custom Theme */
.whatsapp-top {
    background-color: rgba(37, 211, 102, 0.12);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.whatsapp-top:hover {
    background-color: #25D366;
    color: #0f172a;
    box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
}

/* Facebook Link Custom Theme */
.facebook-top {
    background-color: rgba(24, 119, 242, 0.12);
    color: #1877F2;
    border: 1px solid rgba(24, 119, 242, 0.25);
}

.facebook-top:hover {
    background-color: #1877F2;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(24, 119, 242, 0.4);
}

.hero-header .divider {
    color: rgba(255, 255, 255, 0.2);
    font-weight: 300;
}

/* Hide divider on small devices when buttons stack */
@media (max-width: 480px) {
    .hero-header .divider {
        display: none;
    }
    .top-contacts {
        flex-direction: column;
        gap: 10px;
    }
}
/* Footer CAC Styling */
.main-footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #0f172a; /* Matches your dark tech theme */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cac-reg {
    font-size: 0.85rem;
    color: #a7f3d0; /* Soft, clean mint/green tone that signals "verified/safe" */
    margin: 8px 0;
    letter-spacing: 0.5px;
}

.footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}