:root {
    --primary-color: #002B5B;
    --primary-hover: #004A8F;
    --secondary-color: #00A8E8;
    --cta-color: #FF4D00;
    --cta-hover: #D94100;
    --white: #ffffff;
    --text-main: #0F172A;
    --text-light: #475569;
    --text-muted: #64748B;
    
    /* Blue-White Theme Gradients */
    --bg-gradient: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%);
    --card-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.98));
    --primary-gradient: linear-gradient(135deg, #002B5B 0%, #004A8F 100%);
    --accent-gradient: linear-gradient(135deg, #00A8E8 0%, #0077B6 100%);
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.6);
    --radius-lg: 24px;
    --radius-md: 16px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-md: 0 10px 30px rgba(0, 43, 91, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 43, 91, 0.12);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

body {
    min-height: 100vh;
    color: var(--text-main);
    background: var(--bg-gradient);
    background-attachment: fixed;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

.container {
    width: min(1200px, calc(100% - 56px));
    margin: 0 auto;
}

.section {
    padding: 88px 0;
}

.bg-light {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(224, 242, 254, 0.5) 100%);
}

.text-center {
    text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-main);
    letter-spacing: -0.03em;
}

p {
    color: var(--text-light);
}

.section-header {
    margin-bottom: 42px;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.35rem);
    margin-bottom: 14px;
}

.section-title span {
    color: var(--primary-color);
}

.section-desc {
    max-width: 740px;
    margin: 0 auto;
    font-size: 1.08rem;
    color: var(--text-muted);
}

/* Responsive Grids Utility */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 32px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
    color: var(--white);
    box-shadow: 0 10px 25px rgba(0, 43, 91, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #004A8F 0%, #002B5B 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 43, 91, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.6);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-cta {
    background: var(--cta-color);
    border-color: var(--cta-color);
    color: var(--white);
    box-shadow: 0 14px 28px rgba(255, 77, 0, 0.18);
}

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

.btn-large {
    min-width: 236px;
    padding: 17px 34px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Top Utility Bar */
.top-utility-bar {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-badges i {
    color: var(--secondary-color);
    margin-right: 4px;
}

.top-bar-links {
    display: flex;
    gap: 20px;
}

.top-bar-links a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-links a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .top-bar-container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .trust-badges {
        font-size: 0.75rem;
    }
}

/* Header */
.header {
    position: fixed;
    top: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1380px, calc(100% - 34px));
    padding: 16px 38px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(188, 198, 214, 0.5);
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: top 0.3s ease, background-color 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
    will-change: top, padding, background-color;
}

.header.scrolled {
    top: 10px;
    padding: 12px 36px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(0, 43, 91, 0.12);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
}

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

.logo-img {
    height: 82px;
    width: auto;
    object-fit: contain;
    transition: height 0.3s ease;
}

.header.scrolled .logo-img {
    height: 66px;
}

.footer-logo .logo-img {
    height: 78px;
}

.nav {
    justify-self: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    position: relative;
    padding-bottom: 6px;
    font-size: 0.93rem;
    font-weight: 500;
    color: #161f2d;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-actions .btn {
    min-width: 150px;
    padding: 15px 26px;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: transparent;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Search Box */
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 4px 6px 4px 18px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    width: 260px;
}

.store-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 24px;
}

.store-search-bar .search-form {
    width: min(460px, 100%);
    flex: 1;
}

.search-form:focus-within {
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 8px 18px rgba(0, 168, 232, 0.1);
}

.search-form input {
    border: none;
    background: transparent;
    padding: 8px 0;
    width: 100%;
    font-size: 0.9rem;
    color: var(--text-main);
    outline: none;
}

.search-form button {
    border: none;
    background: var(--primary-color);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--secondary-color);
}

/* Hero / Slider */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 152px;
    overflow: hidden;
    background: var(--bg-gradient);
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active { opacity: 1; }

.hero-overlay {
    display: none; /* Removed entirely for total clarity */
}

.hero-bottom-right-panel {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 100;
}

.btn-pill {
    padding: 18px 45px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: var(--white);
    color: var(--primary-color);
}

.hero-content-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.hero-container {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 56px));
}

.hero-content {
    max-width: 760px;
    padding: 34px 0 90px;
    animation: fadeInUp 0.75s ease;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 18px;
    margin-bottom: 26px;
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
    background: #e7ecf3;
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-title {
    max-width: 860px;
    margin-bottom: 24px;
    font-size: clamp(3.4rem, 7vw, 5.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--primary-color);
}

.hero-title span {
    color: var(--secondary-color);
}

.hero-subtitle {
    max-width: 700px;
    margin-bottom: 38px;
    font-size: clamp(1.08rem, 2vw, 1.22rem);
    line-height: 1.55;
    color: var(--text-light);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 43, 91, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 5px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.hero:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* Gemini Chat Widget */
.gemini-chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 2000;
}

.gemini-chat-fab {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 18px 34px rgba(0, 43, 91, 0.24);
    cursor: pointer;
    font-size: 1.3rem;
}

.gemini-chat-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 120px));
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(188, 198, 214, 0.55);
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
    display: none;
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.gemini-chat-widget.open .gemini-chat-panel {
    display: flex;
    flex-direction: column;
}

.gemini-chat-header {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 16px 14px;
    background: linear-gradient(135deg, #002B5B, #004A8F);
    color: #fff;
}

.gemini-chat-header strong,
.gemini-chat-header span {
    display: block;
}

.gemini-chat-header span {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 2px;
}

.gemini-chat-close {
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.gemini-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(180deg, #f8fbff, #eef6ff);
}

.gemini-msg {
    max-width: 86%;
    padding: 11px 13px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.gemini-msg.user {
    align-self: flex-end;
    background: var(--primary-gradient);
    color: #fff;
    border-bottom-right-radius: 6px;
}

.gemini-msg.assistant {
    align-self: flex-start;
    background: #fff;
    color: var(--text-main);
    border: 1px solid rgba(191, 204, 220, 0.7);
    border-bottom-left-radius: 6px;
}

.gemini-chat-form {
    border-top: 1px solid rgba(191, 204, 220, 0.7);
    padding: 12px;
    background: #fff;
}

.gemini-chat-input {
    width: 100%;
    resize: none;
    border: 1px solid rgba(191, 204, 220, 0.9);
    border-radius: 16px;
    padding: 12px 14px;
    outline: none;
    margin-bottom: 10px;
}

.gemini-chat-input:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.12);
}

.gemini-chat-actions {
    display: flex;
    gap: 10px;
}

.gemini-chat-actions .btn {
    flex: 1;
    padding: 12px 16px;
}

@media (max-width: 768px) {
    .slider-controls {
        flex-direction: column-reverse;
        gap: 20px;
        bottom: 20px;
    }
    .slider-arrow { display: none; }

    .gemini-chat-widget {
        right: 14px;
        bottom: 14px;
    }

    .gemini-chat-panel {
        width: calc(100vw - 28px);
        height: min(72vh, 620px);
        bottom: 74px;
    }
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

@media (max-width: 576px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .brand-item {
        min-height: 120px;
        padding: 14px 10px;
    }
    
    .brand-item img {
        max-height: 64px;
    }
}

.brand-item {
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 18px;
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.brand-item img {
    max-width: 100%;
    max-height: 92px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    transform: scale(1.08);
}

.brand-name {
    display: none;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.25rem;
    text-align: center;
}

/* Fallback state when logo is missing */
.brand-item.no-logo img {
    display: none;
}

.brand-item.no-logo .brand-name {
    display: block;
}

.brand-item:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.product-card {
    padding: 34px 26px;
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 22px;
    border-radius: 20px;
    background: var(--accent-gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 8px 20px rgba(0, 168, 232, 0.3);
}

.product-title {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.product-desc {
    color: var(--text-muted);
}

/* About */
.about-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.about-content p {
    margin-bottom: 18px;
    font-size: 1.06rem;
    color: var(--text-light);
}

.features-list {
    margin-top: 28px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    color: var(--text-main);
    font-weight: 600;
}

.features-list i {
    color: var(--primary-color);
}

.image-placeholder {
    min-height: 370px;
    background: var(--card-gradient);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.image-placeholder i {
    margin-bottom: 18px;
    font-size: 4.5rem;
    color: var(--primary-color);
}

.image-placeholder p {
    font-size: 1.35rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* CTA / Contact */
.cta {
    position: relative;
    border-top: 1px solid rgba(215, 223, 235, 0.85);
    border-bottom: 1px solid rgba(215, 223, 235, 0.85);
    background:
        radial-gradient(circle at 82% 35%, rgba(224, 230, 239, 0.5), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 248, 252, 0.96));
}

.cta-title {
    margin-bottom: 14px;
    font-size: clamp(2.1rem, 3vw, 3rem);
}

.cta-desc {
    color: var(--text-light);
    font-size: 1.08rem;
}

.quote-form {
    padding: 34px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.82);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid rgba(193, 205, 220, 0.9);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-main);
    transition: var(--transition);
}

.form-control::placeholder {
    color: #8191a8;
}

.form-control:focus {
    outline: none;
    border-color: rgba(111, 130, 155, 0.95);
    box-shadow: 0 0 0 4px rgba(68, 89, 115, 0.08);
}

.form-control option {
    color: var(--text-main);
}

.filter-label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Footer */
.footer {
    padding-top: 82px;
    background: var(--bg-gradient);
    color: var(--text-main);
    border-top: 1px solid var(--glass-border);
}

.footer-heading {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links a, .contact-info span, .footer-desc {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links a {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

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

.footer-desc {
    margin: 18px 0 24px;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-heading {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links li,
.contact-info li {
    margin-bottom: 14px;
}

.footer-links a,
.contact-info span {
    color: var(--text-muted);
}

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

.contact-info li {
    display: flex;
    gap: 12px;
}

.contact-info i {
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-bottom {
    padding: 22px 0 30px;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid rgba(215, 223, 235, 0.85);
}

/* Store */
.hero-store {
    position: relative;
    padding-top: 168px;
    padding-bottom: 40px;
    background: var(--bg-gradient);
}

.store-filters-container {
    margin-bottom: 34px;
    padding: 26px 28px;
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(193, 205, 220, 0.9);
    background: #f8fafd;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

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

.brand-group-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 52px 0 26px;
}

.brand-group-header h3 {
    white-space: nowrap;
    color: var(--primary-color);
    font-size: 1.7rem;
}

.brand-group-header .line {
    flex: 1;
    height: 1px;
    background: rgba(198, 208, 221, 0.95);
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
    margin-bottom: 44px;
}

.store-card {
    display: flex;
    flex-direction: column;
    background: var(--card-gradient);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.store-card-img {
    position: relative;
    height: 208px;
    background: linear-gradient(180deg, #fdfefe, #f2f6fb);
    border-bottom: 1px solid rgba(219, 227, 237, 0.92);
}

.store-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
}

.store-card-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(68, 89, 115, 0.1);
    color: var(--primary-color);
    font-size: 0.76rem;
    font-weight: 700;
}

.store-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.store-card-body h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.store-card-body p {
    margin-bottom: 18px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-quote {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 16px;
    background: var(--cta-color);
    color: var(--white) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-quote:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
}

/* Cart */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 410px;
    height: 100vh;
    padding: 28px;
    background: var(--card-gradient);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--glass-border);
    box-shadow: -24px 0 50px rgba(0, 43, 91, 0.08);
    transition: right 0.35s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(215, 223, 235, 0.92);
}

.cart-header h2 {
    font-size: 1.45rem;
}

.close-cart-btn {
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.4rem;
}

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

.cart-items {
    flex: 1;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(223, 230, 239, 0.92);
}

.cart-item-info h4 {
    margin-bottom: 7px;
    font-size: 1rem;
}

.cart-item-info p {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    border: 1px solid rgba(193, 205, 220, 0.9);
    border-radius: 999px;
    background: var(--bg-soft);
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(25, 41, 67, 0.08);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
}

.remove-item-btn {
    border: none;
    background: transparent;
    color: #d14343;
    cursor: pointer;
    text-decoration: underline;
}

.cart-footer {
    padding-top: 18px;
    border-top: 1px solid rgba(215, 223, 235, 0.92);
}

.checkout-btn {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 18px;
    background: var(--cta-color);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--cta-hover);
    transform: translateY(-2px);
}

.float-cart-btn {
    position: fixed;
    left: 28px;
    bottom: 28px;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

.float-cart-btn:hover {
    transform: scale(1.06);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    border: 2px solid var(--white);
    background: #d14343;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Admin shared */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(215, 223, 235, 0.92);
}

.admin-tab-btn {
    padding: 11px 18px;
    border: 1px solid rgba(193, 205, 220, 0.9);
    border-radius: 999px;
    background: #f8fafd;
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-tab-btn:hover {
    color: var(--primary-color);
    border-color: rgba(121, 140, 165, 0.86);
}

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

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

.admin-tab-content.active {
    display: block;
    animation: fadeIn 0.28s ease;
}

.error-shake {
    animation: shake 0.5s ease;
}

/* Utility / legacy compatibility */
.store-brand-section {
    margin-bottom: 40px;
}

.store-brand-title {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

/* Responsive */
@media (max-width: 1120px) {
    .header-container {
        grid-template-columns: auto 1fr auto;
        gap: 20px;
    }

    .nav-list {
        gap: 20px;
    }

    .about-container,
    .cta > .container > div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .section {
        padding: 72px 0;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding-bottom: 70px;
    }

    .hero-title br {
        display: none;
    }

    .hero-title {
        max-width: 720px;
        line-height: 1.1;
    }
}

@media (max-width: 768px) {
    .container,
    .hero-container {
        width: min(100%, calc(100% - 30px));
    }

    .header {
        width: calc(100% - 20px);
        padding: 16px 18px;
        border-radius: 22px;
    }

    .header-container {
        grid-template-columns: auto auto;
        gap: 16px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        padding: 100px 30px;
        background: rgba(255, 255, 255, 0.98);
        border: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 700;
    }

    .header-actions .btn {
        display: none;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 1001;
    }

    .hero {
        padding-top: 120px;
    }

    .hero-title {
        font-size: clamp(2.75rem, 12vw, 4rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-large {
        width: min(100%, 280px);
    }

    .quote-form {
        padding: 24px;
    }

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

    .store-filters-container,
    .cart-sidebar {
        border-radius: 22px 22px 0 0;
    }

    .float-cart-btn {
        left: 18px;
        bottom: 18px;
    }
}

@media (max-width: 576px) {
    .header {
        top: 10px;
    }

    .logo-img {
        height: 58px;
    }

    .badge {
        font-size: 0.82rem;
        letter-spacing: 0.09em;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .brand-group-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .brand-group-header .line {
        width: 100%;
    }

    .cart-sidebar {
        max-width: 100%;
        padding: 22px 18px;
    }

    /* Full screen admin modal on small devices */
    .admin-modal iframe {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .admin-modal button {
        top: 15px !important;
        right: 15px !important;
        font-size: 1.8rem !important;
        background: rgba(0,0,0,0.5) !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .gemini-chat-panel {
        width: calc(100vw - 20px);
        right: -2px;
        height: min(68vh, 560px);
    }

    .gemini-chat-fab {
        width: 56px;
        height: 56px;
    }
}
