/* Custom Product Catalog CMS - Premium FIXXO 2026 Stylesheet */
:root {
    /* FIXXO Brand Colors */
    --primary: #E31E24;       /* FIXXO Red */
    --secondary: #F7D800;     /* FIXXO Yellow */
    --secondary-light: #FFEB3B;
    --teal: #0E7C7B;          /* FIXXO Teal */
    --dark: #1A1A2E;          /* FIXXO Dark */
    --light: #FAFBFC;         /* FIXXO Light */
    
    /* Neutrals */
    --gray-light: #e2e8f0;
    --gray-dark: #6b7280;
    --white: #ffffff;
    
    /* Shadows - Yellow Warm Glow */
    --shadow-sm: 0 1px 3px rgba(247, 216, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(26, 26, 46, 0.1), 0 4px 6px -2px rgba(26, 26, 46, 0.05);
    --shadow-glow: 0 8px 32px rgba(247, 216, 0, 0.2);
    
    /* Radii */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    /* Fonts */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', 'Inter', system-ui, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    opacity: 0; /* For page load fade-in */
    animation: fadeInPage 0.5s ease forwards;
}

@keyframes fadeInPage {
    to { opacity: 1; }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #c1181e;
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.4);
}

.btn-accent {
    background: var(--secondary);
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(247, 216, 0, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    background: #e5c800;
}

.btn-secondary {
    background-color: var(--teal);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #0b6362;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-dark {
    background-color: var(--dark);
    color: var(--white);
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Header & Nav */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: height 0.3s ease;
}

.site-header.scrolled .header-container {
    height: 70px;
}

.logo-link {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    color: var(--teal);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    display: block;
    padding: 10px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-yellow);
    transition: width 0.3s ease;
}

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

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

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    display: none;
    list-style: none;
    padding: 10px 0;
    border: 1px solid var(--gray-light);
    animation: fadeInUp 0.2s ease;
}

.dropdown-item a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.dropdown-item a:hover {
    background-color: var(--light);
    color: var(--primary);
    padding-left: 25px;
}

.nav-item:hover .dropdown-menu {
    display: block;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
}

.mobile-nav-close {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--dark), var(--teal));
    color: var(--white);
    padding: 120px 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(to right, var(--secondary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-image img {
    width: 100%;
    max-height: 450px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
    animation: float 6s ease-in-out infinite;
}

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

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Section Common */
.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    color: var(--dark);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--brand-yellow);
    margin: 15px auto 0;
    border-radius: var(--radius-pill);
}

/* Grids & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
    position: relative;
}

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

.card-image-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.card:hover .card-image {
    transform: scale(1.08);
}

.card-body {
    padding: 24px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-text {
    color: var(--gray-dark);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Floating WhatsApp Icon */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    font-size: 32px;
    transition: all 0.3s ease;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal.active {
    display: flex;
}

.modal-dialog {
    background-color: var(--white);
    width: calc(100% - 32px);
    max-width: 500px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    background: linear-gradient(135deg, var(--dark), var(--teal));
    color: var(--white);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
}

/* Floating Label Forms */
.form-group {
    position: relative;
    margin-bottom: 24px;
}

.form-control {
    width: 100%;
    padding: 16px 16px 12px;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}

.form-label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--gray-dark);
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: var(--white);
    padding: 0 4px;
}

textarea.form-control + .form-label {
    top: 24px;
}

.form-control:focus,
.form-control:not(:placeholder-shown) {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(14, 124, 123, 0.1);
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: 0;
    font-size: 12px;
    color: var(--teal);
    font-weight: 600;
}

/* Validation Style Improvement */
.form-control:invalid,
.form-control:-moz-ui-invalid {
    box-shadow: none !important;
    outline: none !important;
}

.form-control:user-invalid {
    border-color: var(--danger) !important;
    box-shadow: none !important;
}

.form-control:user-invalid + .form-label {
    color: var(--danger) !important;
}

/* Toast Notifications */
#toastContainer {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--white);
    border-left: 4px solid var(--teal);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    animation: slideInRight 0.3s ease forwards;
}

.toast.error {
    border-left-color: var(--primary);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* Product Detail Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 32px;
}

.product-gallery {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-gallery img {
    max-width: 100%;
    max-height: 380px;
    object-fit: contain;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.product-gallery img:hover {
    transform: scale(1.05);
}

.product-zoom-trigger {
    width: 100%;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.product-meta-panel {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    box-shadow: var(--shadow-sm);
}

.meta-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--light);
}

.meta-label {
    font-weight: 600;
    width: 150px;
    color: var(--dark);
}

.meta-value {
    color: var(--gray-dark);
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-top: 30px;
}

/* Sidebar Layout */
.page-with-sidebar {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 40px;
}

.sidebar {
    position: sticky;
    top: 110px;
    height: fit-content;
}

.sidebar-widget {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-light);
    margin-bottom: 30px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--light);
    padding-bottom: 10px;
    color: var(--dark);
}

/* Footer styling */
.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 80px 0 0;
    margin-top: 80px;
    position: relative;
}

.footer-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col h4 {
    margin-bottom: 25px;
    font-size: 18px;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--gray-dark);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: var(--white);
    font-size: 18px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: var(--gray-dark);
}

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

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

/* Responsive details */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-nav-close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--dark);
        cursor: pointer;
        padding: 8px;
        line-height: 1;
        z-index: 1002;
        transition: all 0.2s ease;
    }
    .mobile-nav-close:hover {
        color: var(--brand-red);
        transform: scale(1.1);
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }

    .nav-overlay.active {
        display: block;
    }

    body.mobile-menu-active .top-contact-bar {
        display: none;
    }

    body.mobile-menu-active .site-header {
        z-index: 1001;
    }

    .hero-grid, .product-detail-grid, .page-with-sidebar {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 80px 0;
        text-align: center;
    }
    .hero-title {
        font-size: 36px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   FIXXO 2026 Design System Layer
   -------------------------------------------------------------------------- */

:root {
    --brand-red: #e31e24;
    --brand-red-dark: #b9151a;
    --brand-yellow: #f7d800;
    --brand-yellow-soft: #fff4a3;
    --brand-teal: #0e7c7b;
    --graphite: #111827;
    --ink: #1f2937;
    --muted: #64748b;
    --line: #e5e0d8;
    --surface: #f7f4ef;
    --surface-strong: #efe8dc;
    --panel: #ffffff;
    --success: #15803d;
    --danger: #b91c1c;
    --focus: rgba(227, 30, 36, 0.24);

    --primary: var(--brand-red);
    --secondary: var(--brand-yellow);
    --teal: var(--brand-teal);
    --dark: var(--graphite);
    --light: var(--surface);
    --gray-light: var(--line);
    --gray-dark: var(--muted);
    --white: var(--panel);

    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 9999px;

    --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
    --shadow-md: 0 10px 24px rgba(17, 24, 39, 0.08);
    --shadow-lg: 0 24px 60px rgba(17, 24, 39, 0.14);
    --shadow-glow: 0 18px 38px rgba(227, 30, 36, 0.16);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    --text-xs: 12px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 22px;
    --text-2xl: 28px;
    --text-3xl: 36px;
    --text-4xl: 48px;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    background:
        linear-gradient(180deg, rgba(247, 244, 239, 0.98), rgba(255, 255, 255, 0.98) 38%, rgba(247, 244, 239, 0.82)),
        var(--surface);
    color: var(--ink);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

::selection {
    background: var(--brand-yellow);
    color: var(--graphite);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.view-toggle-btn:focus-visible,
.chip-scroll-btn:focus-visible,
.mobile-nav-toggle:focus-visible,
.mobile-nav-close:focus-visible,
.modal-close:focus-visible,
.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 3px solid #ffd600;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(227, 30, 36, 0.18);
}

.modal[aria-hidden="true"],
.product-lightbox[aria-hidden="true"] {
    visibility: hidden;
}

.modal.active,
.product-lightbox.active {
    visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

.container {
    max-width: 1240px;
}

.honeypot-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-control-resize {
    resize: vertical;
}

.modal-submit-btn {
    width: 100%;
    margin-top: 10px;
}

.btn-icon-right {
    margin-left: 8px;
}

.nav-dropdown-icon {
    font-size: 10px;
    margin-left: 4px;
}

.home-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero-product-link {
    display: block;
    width: 100%;
    text-align: center;
}

.home-hero-product-img {
    max-height: 420px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.1));
}

.home-testimonials-section {
    background: linear-gradient(135deg, var(--dark), #2a2a4a);
    color: var(--white);
}

.home-testimonials-section .section-title {
    color: var(--white);
}

.home-testimonials-section .section-title::after {
    background: var(--secondary);
}

.home-testimonial-row {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
}

.home-testimonial-card {
    min-width: 350px;
    max-width: 400px;
    padding: 40px;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
}

.home-testimonial-quote {
    color: var(--secondary);
    font-size: 24px;
    margin-bottom: 20px;
}

.home-testimonial-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.home-testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.home-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
}

.home-testimonial-name {
    font-weight: 700;
    font-family: var(--font-heading);
}

.home-testimonial-role {
    font-size: 12px;
    color: var(--secondary);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-sm);
    padding: 3px;
    cursor: pointer;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.2s;
}

.gallery-thumb.active {
    border-color: var(--primary);
}

.gallery-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.section {
    padding: 88px 0;
}

.section-title {
    color: var(--graphite);
    letter-spacing: 0;
}

.section-title::after {
    width: 72px;
    height: 3px;
    background: var(--brand-yellow);
}

.text-gradient {
    background: linear-gradient(90deg, var(--brand-yellow), #ffffff 50%, var(--brand-yellow-soft));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    min-height: 44px;
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(180deg, var(--brand-red), var(--brand-red-dark));
    border-color: #a91318;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(227, 30, 36, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(180deg, #f02c31, var(--brand-red-dark));
    box-shadow: 0 16px 28px rgba(227, 30, 36, 0.28);
}

.btn-secondary,
.btn-accent {
    background: var(--brand-yellow);
    border-color: #dec200;
    color: var(--graphite);
    box-shadow: 0 10px 22px rgba(247, 216, 0, 0.2);
}

.btn-secondary:hover,
.btn-accent:hover {
    background: #ffe55c;
    color: var(--graphite);
}

.btn-dark {
    background: var(--graphite);
    border-color: var(--graphite);
    color: #ffffff;
}

.btn-dark:hover {
    background: #000000;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.78);
    border-color: var(--line);
    color: var(--graphite);
}

.btn-outline:hover {
    border-color: var(--brand-red);
    color: var(--brand-red);
}

.btn-whatsapp {
    background: #25d366;
    border-color: #1eb858;
    color: #ffffff;
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #1eb858;
    color: #ffffff;
}

/* Header */
.top-contact-bar {
    background: var(--graphite);
    color: rgba(255, 255, 255, 0.84);
    font-size: var(--text-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-contact-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.top-contact-group {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.top-contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.84);
    font-weight: 650;
}

.top-contact-link i {
    color: var(--brand-yellow);
}

.top-contact-link:hover {
    color: #ffffff;
}

.top-whatsapp-link i,
.top-whatsapp-link span {
    color: #25d366;
}

.site-header {
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid rgba(229, 224, 216, 0.8);
    box-shadow: none;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.header-container {
    height: 64px;
}

.site-header.scrolled .header-container {
    height: 58px;
}

.logo-link {
    gap: 3px;
    min-width: 180px;
}

.site-logo-image {
    max-height: 60px;
    max-width: 250px;
    object-fit: contain;
}

.site-header.scrolled .site-logo-image {
    max-height: 50px;
}

.nav-menu {
    gap: 8px;
    align-items: center;
}

.nav-link {
    padding: 8px 11px;
    border-radius: var(--radius-sm);
    color: var(--ink);
}

.nav-link::after {
    display: none;
}

.nav-link:hover,
.nav-item:hover > .nav-link {
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
}

.dropdown-menu {
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}

.nav-cta {
    min-height: 38px;
    padding: 8px 15px;
    white-space: nowrap;
}

.top-contact-inner {
    min-height: 28px;
}

.top-contact-bar {
    margin: 0;
    padding: 0;
    font-size: 13px;
}

/* Hero and Banners */
.hero,
.page-banner {
    background:
        linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(14, 124, 123, 0.9)),
        radial-gradient(circle at 16% 20%, rgba(247, 216, 0, 0.18), transparent 28%);
}

.hero::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.34;
}

.hero-title {
    letter-spacing: 0;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.82);
}

.home-hero {
    min-height: 570px;
    padding: 58px 0 74px;
    display: flex;
    align-items: center;
    isolation: isolate;
}

.home-hero::after {
    display: none;
}

.home-hero .hero-grid {
    z-index: 2;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.hero-kicker i,
.hero-trust-row i {
    color: var(--brand-yellow);
}

.home-hero .hero-title {
    max-width: 680px;
    color: #ffffff;
    font-size: 44px;
}

.home-hero .hero-subtitle {
    max-width: 650px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-secondary-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    color: #ffffff;
}

.hero-trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 34px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
}

.hero-trust-row div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-hero-image img {
    width: min(100%, 680px);
    max-height: 430px;
    object-fit: contain;
    transform: none;
    filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.26));
}

.home-hero-product-img {
    width: min(100%, 680px);
    max-height: 430px;
}

.home-metrics-section {
    position: relative;
    z-index: 3;
    margin-top: 0;
    padding: 54px 0 54px;
    background: var(--surface);
}

.home-categories-section{
    padding: 54px 0 54px;
}

.home-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: var(--line);
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
}

.metric-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 104px;
    padding: 20px 22px;
    background:
        linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0.92));
    text-align: left;
}

.metric-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    border-radius: var(--radius-lg);
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
    font-size: 20px;
}

.metric-value {
    color: var(--brand-red);
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
}

.metric-label {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.metric-delivery .metric-icon {
    background: rgba(14, 124, 123, 0.1);
    color: var(--brand-teal);
}

.metric-delivery .metric-value {
    color: var(--brand-teal);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-10);
}

.section-heading-center {
    max-width: 760px;
    margin: 0 auto var(--space-10);
    text-align: center;
}

.section-heading-center p,
.quality-copy p {
    color: var(--muted);
    font-size: var(--text-base);
}

.section-eyebrow {
    display: inline-flex;
    margin-bottom: var(--space-2);
    color: var(--brand-red);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title-left {
    margin-bottom: 0;
    text-align: left;
}

.section-title-left::after {
    margin-left: 0;
    margin-bottom: 24px;
}

.home-categories-section,
.industries-section {
    background: var(--surface);
}

.home-products-section,
.quality-section {
    background: #ffffff;
}

.home-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-4);
}

.home-category-card {
    display: grid;
    gap: var(--space-2);
    min-height: 150px;
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.home-category-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227, 30, 36, 0.28);
    box-shadow: var(--shadow-md);
}

.home-category-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: rgba(247, 216, 0, 0.22);
    color: var(--graphite);
}

.home-category-name {
    color: var(--graphite);
    font-size: var(--text-lg);
    font-weight: 900;
}

.home-category-count {
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 700;
}

.home-product-card a {
    display: block;
    height: 100%;
}

.home-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-product-card .card-image-wrap {
    height: 260px;
}

.product-card-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: var(--space-3);
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    color: var(--brand-red);
    font-size: var(--text-sm);
    font-weight: 900;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.industry-card {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.industry-card i {
    color: var(--brand-red);
    font-size: 28px;
    margin-bottom: var(--space-4);
}

.industry-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.industry-card p {
    color: var(--muted);
    font-size: var(--text-sm);
}

.quality-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-12);
    align-items: center;
}

.quality-copy .btn {
    margin-top: var(--space-5);
}

.process-list {
    display: grid;
    gap: var(--space-4);
}

.process-step {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff, var(--surface));
}

.process-step span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--graphite);
    color: var(--brand-yellow);
    font-weight: 900;
}

.process-step h3 {
    margin-bottom: var(--space-1);
    font-size: var(--text-lg);
}

.process-step p {
    color: var(--muted);
    font-size: var(--text-sm);
}

.technical-section {
    background:
        linear-gradient(180deg, var(--surface), #ffffff);
}

.technical-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-8);
    align-items: stretch;
}

.technical-panel {
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, var(--graphite), #172033);
    color: #ffffff;
}

.technical-panel .section-title,
.technical-panel p {
    color: #ffffff;
}

.technical-panel p {
    color: rgba(255, 255, 255, 0.76);
}

.technical-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
}

.technical-spec {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.technical-spec span {
    display: inline-flex;
    margin-bottom: var(--space-4);
    color: var(--brand-red);
    font-weight: 900;
}

.technical-spec strong {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--graphite);
    font-size: var(--text-lg);
}

.technical-spec small {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.home-quote-section {
    background: #ffffff;
}

.home-quote-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-10);
    align-items: center;
    padding: var(--space-10);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(247, 244, 239, 0.98), #ffffff);
    box-shadow: var(--shadow-lg);
}

.home-quote-copy h2 {
    margin-bottom: var(--space-4);
    color: var(--graphite);
    font-size: var(--text-3xl);
    line-height: 1.15;
}

.home-quote-copy p {
    color: var(--muted);
    margin-bottom: var(--space-6);
}

.quote-benefits {
    display: grid;
    gap: var(--space-3);
    list-style: none;
    margin-bottom: var(--space-6);
}

.quote-benefits li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--graphite);
    font-weight: 800;
}

.quote-benefits i {
    color: var(--brand-teal);
}

.direct-inquiry-box {
    display: inline-grid;
    gap: var(--space-1);
    padding: var(--space-4);
    border-left: 4px solid var(--brand-teal);
    border-radius: var(--radius-lg);
    background: rgba(14, 124, 123, 0.08);
}

.direct-inquiry-box span {
    color: var(--brand-teal);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.direct-inquiry-box a {
    color: var(--graphite);
    font-size: var(--text-xl);
    font-weight: 900;
}

.home-quote-form-wrap {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.quote-submit-btn {
    width: 100%;
}

/* Products listing */
.products-banner {
    padding: 64px 0;
}

.page-banner-inner {
    position: relative;
    z-index: 2;
}

.page-eyebrow {
    display: inline-flex;
    margin-bottom: var(--space-3);
    color: var(--brand-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-banner h1 {
    max-width: 780px;
    margin-bottom: var(--space-3);
    color: #ffffff;
    font-size: var(--text-3xl);
    line-height: 1.15;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-sm);
    font-weight: 700;
}

.page-breadcrumb a {
    color: var(--brand-yellow);
}

.products-page-section {
    background: var(--surface);
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: 112px;
}

.products-filter-card {
    margin-bottom: var(--space-5);
}

.product-search-form {
    position: relative;
}

.product-search-form i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.product-search-form input {
    width: 100%;
    min-height: 46px;
    padding: 12px 14px 12px 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    font-family: var(--font-sans);
    outline: none;
}

.product-search-form input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px var(--focus);
}

.product-category-list {
    display: grid;
    gap: var(--space-2);
    list-style: none;
}

.product-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    color: var(--graphite);
    font-weight: 800;
}

.product-category-list a:hover,
.product-category-list a.active {
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
}

.product-category-list i {
    font-size: 10px;
}

.product-category-list .is-extra-category {
    display: none;
}

.product-category-list .is-extra-category.is-visible {
    display: block;
}

.category-view-more {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-3);
    border: 1px dashed rgba(227, 30, 36, 0.32);
    border-radius: var(--radius-sm);
    background: rgba(227, 30, 36, 0.05);
    color: var(--brand-red);
    cursor: pointer;
    font-weight: 900;
}

.category-view-more:hover {
    background: rgba(227, 30, 36, 0.1);
}

.products-help-card {
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--graphite), var(--brand-teal));
    color: #ffffff;
}

.products-help-card h3 {
    margin-bottom: var(--space-2);
    color: #ffffff;
    font-size: var(--text-lg);
}

.products-help-card p {
    margin-bottom: var(--space-4);
    color: rgba(255, 255, 255, 0.76);
    font-size: var(--text-sm);
}

.products-help-card .btn {
    width: 100%;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.products-toolbar h2 {
    margin-bottom: var(--space-1);
    color: var(--graphite);
    font-size: var(--text-2xl);
}

.products-toolbar p {
    color: var(--muted);
}

.category-seo-panel,
.category-faq-panel {
    margin-bottom: var(--space-5);
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(17, 24, 39, 0.06);
}

.category-seo-panel h2,
.category-faq-panel h2 {
    margin: 0 0 var(--space-3);
    color: var(--graphite);
    font-size: var(--text-2xl);
    line-height: 1.2;
}

.category-seo-panel p {
    max-width: 880px;
    color: var(--muted);
    line-height: 1.75;
}

.category-faq-list {
    display: grid;
    gap: var(--space-3);
}

.category-faq-item {
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.category-faq-item h3 {
    margin: 0 0 var(--space-2);
    color: var(--graphite);
    font-size: var(--text-base);
}

.category-faq-item p {
    color: var(--muted);
    line-height: 1.65;
}

.product-view-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex: 0 0 auto;
}

.view-toggle-group {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.view-toggle-btn {
    min-width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 900;
}

.view-toggle-btn:hover,
.view-toggle-btn.active {
    background: rgba(227, 30, 36, 0.1);
    color: var(--brand-red);
}

.product-chip-scroller {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: var(--space-2);
    align-items: center;
    margin-bottom: var(--space-6);
}

.product-chip-row {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 42px), transparent 100%);
}

.product-chip-row::-webkit-scrollbar {
    display: none;
}

.product-chip-row .category-chip {
    flex: 0 0 auto;
}

.chip-scroll-btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--graphite);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.chip-scroll-btn:hover {
    border-color: rgba(227, 30, 36, 0.35);
    color: var(--brand-red);
}

.products-card-grid {
    gap: var(--space-5);
}

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

.products-card-grid.products-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.products-card-grid.products-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-card-grid.products-grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.view-col-1-btn {
    display: none !important;
}

.products-list-view {
    grid-template-columns: 1fr !important;
}

.products-list-view .product-list-card a {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: stretch;
}

.products-list-view .product-list-card .card-image-wrap {
    height: auto;
    min-height: 230px;
    margin: 12px 0 12px 12px;
}

.products-list-view .product-list-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-list-card a {
    display: block;
    height: 100%;
}

.product-list-card .card-image-wrap {
    height: 260px;
    margin: 12px 12px 0;
    border: 0;
    border-radius: var(--radius-md);
    background: #ffffff;
    box-shadow: none;
}

.product-list-card .card-image {
    max-width: 94%;
    max-height: 92%;
    padding: 4px;
    mix-blend-mode: normal;
}

.product-image-main,
.product-image-hover {
    transition: opacity 0.28s ease, transform 0.32s ease;
}

.product-image-hover {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
}

.product-list-card.has-hover-image:hover .product-image-main {
    opacity: 0;
}

.product-list-card:hover .product-image-hover {
    opacity: 1;
    transform: scale(1.03);
}

.product-excerpt {
    display: -webkit-box;
    min-height: 46px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.is-hidden-loadmore {
    display: none;
}

.load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: var(--space-10);
}

.load-more-btn {
    min-width: 210px;
}

.load-more-btn .load-spinner {
    width: 16px;
    height: 16px;
    display: none;
    border: 2px solid rgba(255, 255, 255, 0.36);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: fixxoSpin 0.75s linear infinite;
}

.load-more-btn.is-loading .load-spinner {
    display: inline-block;
}

.load-more-btn.is-loading .load-more-icon {
    display: none;
}

@keyframes fixxoSpin {
    to {
        transform: rotate(360deg);
    }
}

.products-empty-state {
    grid-column: 1 / -1;
    padding: var(--space-12);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    text-align: center;
}

.products-empty-state i {
    margin-bottom: var(--space-4);
    color: var(--line);
    font-size: 52px;
}

.products-empty-state h3 {
    margin-bottom: var(--space-2);
    color: var(--graphite);
    font-size: var(--text-xl);
}

.products-empty-state p {
    margin-bottom: var(--space-5);
    color: var(--muted);
}

/* Product detail */
.product-breadcrumb-wrap {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: var(--space-2);
    row-gap: var(--space-1);
    min-height: 48px;
    padding: 8px 0;
    color: var(--muted);
    font-size: var(--text-sm);
    font-weight: 700;
}

.product-breadcrumb a {
    color: var(--brand-teal);
}

.product-breadcrumb span {
    color: var(--graphite);
}

.product-detail-section {
    background: linear-gradient(180deg, #ffffff, var(--surface));
    padding-top: 52px;
}

.product-detail-section .product-detail-grid {
    margin-bottom: var(--space-8);
}

.product-info-panel {
    position: sticky;
    top: 112px;
    align-self: start;
}

.product-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.detail-badge {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.detail-badge-teal {
    background: rgba(14, 124, 123, 0.1);
    color: var(--brand-teal);
}

.product-detail-title {
    margin-bottom: var(--space-5);
    color: var(--graphite);
    font-size: var(--text-3xl);
    line-height: 1.15;
}

.gallery-expand-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.94);
    color: var(--graphite);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.gallery-expand-btn:hover {
    color: var(--brand-red);
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 72px;
    background: rgba(7, 10, 18, 0.86);
    backdrop-filter: blur(10px);
}

.product-lightbox.active {
    display: flex;
}

.lightbox-stage {
    width: min(100%, 980px);
    height: min(82vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.lightbox-stage img {
    max-width: 94%;
    max-height: 94%;
    object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--brand-red);
    border-color: var(--brand-red);
}

.lightbox-close {
    top: 24px;
    right: 24px;
}

.lightbox-prev {
    left: 24px;
}

.lightbox-next {
    right: 24px;
}

.product-meta-panel {
    margin-bottom: var(--space-6);
    padding: var(--space-5);
}

.meta-row:last-child {
    border-bottom: 0;
}

.meta-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.meta-label i {
    color: var(--brand-teal);
}

.meta-success {
    color: var(--success);
    font-weight: 800;
}

.product-actions .btn {
    flex: 1;
    font-size: var(--text-base);
}

.product-tabs {
    overflow: hidden;
    margin-bottom: var(--space-10);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.product-tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.product-tab-btn {
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    border-right: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 900;
}

.product-tab-btn.active {
    background: #ffffff;
    color: var(--brand-red);
    box-shadow: inset 0 -3px 0 var(--brand-red);
}

.product-tab-panel {
    display: none;
    padding: 28px var(--space-8);
    color: var(--ink);
    font-size: var(--text-base);
    line-height: 1.7;
}

.product-tab-panel.active {
    display: block;
}

.related-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-detail-section .section-heading-row {
    margin-bottom: var(--space-6);
}

/* Cards and Panels */
.glass,
.glass-dark,
.card,
.sidebar-widget,
.product-gallery,
.product-meta-panel,
.modal-dialog,
.admin-table,
.login-card {
    border-radius: var(--radius-lg);
}

.glass {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(229, 224, 216, 0.9);
    box-shadow: var(--shadow-sm);
}

.glass-dark {
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.card {
    border-color: var(--line);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.card:hover {
    border-color: rgba(227, 30, 36, 0.34);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-image-wrap {
    background:
        linear-gradient(145deg, #ffffff, var(--surface));
    border-bottom: 1px solid var(--line);
}

.card-body {
    padding: 22px;
}

.card-title {
    color: var(--graphite);
}

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

.sidebar-widget {
    border-color: var(--line);
    box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

/* Forms */
.form-control {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
}

.form-control:focus,
.form-control:not(:placeholder-shown) {
    border-color: var(--brand-teal);
    box-shadow: 0 0 0 4px rgba(14, 124, 123, 0.15);
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    color: var(--brand-teal);
}

/* Focused invalid field overrides */
.form-control:user-invalid:focus {
    border-color: var(--danger) !important;
    box-shadow: none !important;
}
.form-control:user-invalid:focus + .form-label {
    color: var(--danger) !important;
}

.form-label {
    color: var(--muted);
}

select.form-control {
    min-height: 48px;
}

/* Product Detail */
.product-gallery {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.product-meta-panel {
    border-color: var(--line);
}

.meta-row {
    border-bottom-color: var(--line);
}

.meta-label {
    color: var(--graphite);
}

/* Toasts and Modal */
.toast {
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand-teal);
}

.toast.error {
    border-left-color: var(--brand-red);
}

.modal-header {
    background: linear-gradient(135deg, var(--graphite), var(--brand-teal));
}

/* Footer */
.site-footer {
    background:
        linear-gradient(180deg, #111827, #090d14);
    margin-top: 0;
    padding-top: 72px;
}

.footer-accent {
    background: var(--brand-yellow);
}

.footer-col a:hover {
    color: var(--brand-yellow);
}

.footer-brand-col {
    max-width: 420px;
}

.footer-logo {
    max-height: 46px;
    max-width: 250px;
    margin-bottom: var(--space-5);
    filter: brightness(0) invert(1);
}

.footer-brand-title {
    color: var(--brand-yellow);
    font-size: var(--text-2xl);
    font-weight: 900;
    margin-bottom: var(--space-4);
}

.footer-summary {
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-5);
}

.footer-col h4 {
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: var(--brand-yellow);
    border-radius: var(--radius-pill);
}

.footer-contact-list {
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-sm);
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    line-height: 1.65;
}

.footer-contact-list i {
    width: 18px;
    margin-top: 4px;
    color: var(--brand-yellow);
    text-align: center;
    flex: 0 0 18px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.footer-bottom a {
    color: var(--brand-yellow);
    font-weight: 800;
}

.modal-dialog {
    border: 1px solid var(--line);
}

.modal-title {
    color: #ffffff;
}

.modal-close {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* Admin */
.admin-layout {
    background: var(--surface);
}

.admin-sidebar {
    background:
        linear-gradient(180deg, #111827, #0b111d);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-logo {
    min-height: 118px;
    padding: var(--space-6) var(--space-5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 0;
}

.admin-logo-link {
    display: flex;
    min-height: 70px;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: #ffffff;
}

.admin-logo-link img {
    max-width: 174px;
    max-height: 70px;
    object-fit: contain;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.94);
}

.admin-logo-link strong {
    color: var(--brand-red);
    font-size: var(--text-4xl);
    line-height: 1;
}

.admin-user-panel {
    margin: var(--space-4);
    padding: var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(236, 28, 36, 0.14), rgba(14, 124, 123, 0.16));
}

.admin-user-label,
.admin-nav-section {
    color: rgba(255, 255, 255, 0.46);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-user-label {
    margin-bottom: var(--space-3);
}

.admin-user-row {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.admin-user-avatar {
    width: 38px;
    height: 38px;
    display: inline-flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--brand-red), var(--brand-yellow));
    color: #ffffff;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.admin-user-row strong {
    display: block;
    color: #ffffff;
    font-size: var(--text-sm);
    line-height: 1.2;
}

.admin-user-row span {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.admin-nav {
    padding: var(--space-5) var(--space-4) var(--space-5);
    gap: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.admin-nav::-webkit-scrollbar {
    width: 6px;
}

.admin-nav::-webkit-scrollbar-track {
    background: transparent;
}

.admin-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
}

.admin-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.36);
}

.admin-nav-section {
    margin: var(--space-5) 0 var(--space-2);
    padding: 0 var(--space-3);
}

.admin-nav-link {
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.68);
    font-weight: 800;
}

.admin-nav-link i {
    display: inline-flex;
    width: 28px !important;
    height: 28px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
    transition: background 0.2s ease, color 0.2s ease;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.admin-nav-link.active {
    box-shadow: inset 3px 0 0 var(--brand-yellow);
}

.admin-nav-link:hover i,
.admin-nav-link.active i {
    background: var(--brand-yellow);
    color: var(--graphite);
}

/* Admin Select2 */
.admin-content .select2-container {
    width: 100% !important;
}

.admin-content .select2-container--default .select2-selection--multiple,
.admin-content .select2-container--default .select2-selection--single {
    min-height: 54px !important;
    align-items: center !important;
    padding: 8px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04) !important;
}

.admin-content .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    padding-left: 0 !important;
}

.admin-content .select2-container--default.select2-container--focus .select2-selection--multiple,
.admin-content .select2-container--default.select2-container--focus .select2-selection--single,
.admin-content .select2-container--default.select2-container--open .select2-selection--multiple,
.admin-content .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 4px var(--focus) !important;
}

.admin-content .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 36px !important;
}

.admin-content .select2-container--default .select2-search--inline .select2-search__field {
    min-width: 180px !important;
    height: 36px !important;
    line-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--graphite) !important;
    font-family: var(--font-sans) !important;
    font-size: var(--text-sm) !important;
}

.admin-content .select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: var(--muted) !important;
    opacity: 1 !important;
}

.admin-content .select2-container--default .select2-selection--multiple .select2-selection__choice {
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 4px 9px !important;
    border: 1px solid rgba(236, 28, 36, 0.16) !important;
    border-radius: 999px !important;
    background: rgba(236, 28, 36, 0.08) !important;
    color: var(--graphite) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

.admin-content .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: static !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    order: 2 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    color: var(--brand-red) !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.admin-content .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background: var(--brand-red) !important;
    color: #ffffff !important;
}

.select2-dropdown.admin-select2-dropdown,
.select2-container--default .select2-dropdown {
    overflow: hidden !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    background: #ffffff !important;
    box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16) !important;
}

.select2-container--default .select2-search--dropdown {
    padding: 10px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border: 1px solid var(--line) !important;
    border-radius: var(--radius-sm) !important;
    outline: 0 !important;
    color: var(--graphite) !important;
    font-size: var(--text-sm) !important;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 260px !important;
    padding: 6px !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(17, 24, 39, 0.25) transparent;
}

.select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.24);
}

.select2-container--default .select2-results__option {
    margin: 2px 0 !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
    color: var(--graphite) !important;
    font-size: var(--text-sm) !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: rgba(236, 28, 36, 0.1) !important;
    color: var(--brand-red) !important;
}

.select2-container--default .select2-results__option[aria-selected="true"],
.select2-container--default .select2-results__option--selected {
    background: rgba(14, 124, 123, 0.1) !important;
    color: var(--brand-teal) !important;
    font-weight: 900 !important;
}

.admin-content {
    background:
        linear-gradient(180deg, var(--surface), #ffffff 55%);
}

/* Admin Dashboard */
.admin-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    padding: var(--space-8);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(236, 28, 36, 0.08), rgba(14, 124, 123, 0.1)),
        #ffffff;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.07);
}

.admin-dashboard-eyebrow {
    display: inline-flex;
    margin-bottom: var(--space-2);
    color: var(--brand-red);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-dashboard-hero h1 {
    margin: 0 0 var(--space-3);
    color: var(--graphite);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.04;
}

.admin-dashboard-hero p {
    max-width: 680px;
    color: var(--muted);
    line-height: 1.7;
}

.admin-dashboard-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.admin-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.admin-overview-card {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 160px;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
}

.admin-overview-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--brand-red);
}

.admin-overview-card span,
.admin-overview-card small {
    display: block;
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.admin-overview-card strong {
    display: block;
    margin: var(--space-2) 0;
    color: var(--graphite);
    font-size: 42px;
    line-height: 1;
}

.admin-overview-card i {
    display: inline-flex;
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(236, 28, 36, 0.1);
    color: var(--brand-red);
    font-size: 22px;
}

.overview-yellow::before { background: var(--brand-yellow); }
.overview-yellow i { background: rgba(247, 216, 0, 0.16); color: #9a7a00; }
.overview-teal::before { background: var(--brand-teal); }
.overview-teal i { background: rgba(14, 124, 123, 0.1); color: var(--brand-teal); }
.overview-dark::before { background: var(--graphite); }
.overview-dark i { background: rgba(17, 24, 39, 0.08); color: var(--graphite); }

.admin-dashboard-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.admin-dashboard-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-dashboard-panel {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.admin-panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.admin-panel-heading h2 {
    margin: 0;
    color: var(--graphite);
    font-size: var(--text-2xl);
}

.admin-panel-heading a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--brand-red);
    font-size: var(--text-sm);
    font-weight: 900;
}

.admin-activity-list,
.admin-mini-product-list,
.admin-recent-posts,
.admin-system-list,
.admin-quick-links {
    display: grid;
    gap: var(--space-3);
}

.admin-activity-item,
.admin-mini-product,
.admin-recent-posts a,
.admin-system-list div,
.admin-quick-links a {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
}

.admin-activity-icon,
.admin-mini-product-image,
.admin-quick-links i {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(236, 28, 36, 0.1);
    color: var(--brand-red);
}

.admin-activity-item strong,
.admin-mini-product strong,
.admin-recent-posts strong,
.admin-quick-links span {
    display: block;
    color: var(--graphite);
    font-weight: 900;
}

.admin-activity-item span,
.admin-mini-product small,
.admin-recent-posts small,
.admin-system-list span {
    display: block;
    color: var(--muted);
    font-size: var(--text-xs);
}

.admin-status-pill {
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-status-pill.is-pending {
    background: rgba(247, 216, 0, 0.18);
    color: #8a6b00;
}

.admin-status-pill.is-done {
    background: rgba(22, 163, 74, 0.1);
    color: #15803d;
}

.admin-sort-pill {
    min-width: 30px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff8e1;
    color: var(--graphite);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.admin-confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(15, 23, 42, 0.56);
    backdrop-filter: blur(4px);
}

.admin-confirm-modal.active {
    display: flex;
}

.admin-confirm-dialog {
    width: min(100%, 420px);
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
    text-align: center;
    transform: scale(0.96);
    animation: adminConfirmIn 0.18s ease forwards;
}

@keyframes adminConfirmIn {
    to {
        transform: scale(1);
    }
}

.admin-confirm-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 18px;
    background: rgba(236, 28, 36, 0.08);
    color: var(--brand-red);
    font-size: 22px;
}

.admin-confirm-icon.danger {
    background: #fef2f2;
    color: #b91c1c;
}

.admin-confirm-icon.warning {
    background: #fff7ed;
    color: #c2410c;
}

.admin-confirm-icon.success {
    background: #dcfce7;
    color: #15803d;
}

.admin-confirm-dialog h3 {
    margin: 0 0 8px;
    color: var(--graphite);
    font-size: var(--text-2xl);
}

.admin-confirm-dialog p {
    margin: 0 0 22px;
    color: var(--muted);
    line-height: 1.6;
}

.admin-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-actions-cell {
    white-space: nowrap;
}

.admin-actions-cell .btn,
.admin-actions-cell button,
.admin-actions-cell form {
    vertical-align: middle;
}

.admin-actions-cell form {
    display: inline-flex !important;
    margin: 0;
}

.admin-actions-cell .btn,
.admin-actions-cell button {
    width: 42px;
    height: 38px;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 0 6px !important;
    padding: 0 !important;
    border-radius: 10px;
}

.admin-products-table th:last-child,
.admin-products-table td:last-child {
    min-width: 178px;
}

.admin-danger-btn {
    background: #b91c1c;
    color: #ffffff;
}

.admin-danger-btn:hover {
    background: #991b1b;
    color: #ffffff;
}

.admin-warning-btn {
    background: #c2410c;
    color: #ffffff;
}

.admin-warning-btn:hover {
    background: #9a3412;
    color: #ffffff;
}

.admin-success-btn {
    background: #15803d;
    color: #ffffff;
}

.admin-success-btn:hover {
    background: #166534;
    color: #ffffff;
}

.admin-mini-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.admin-system-list div {
    justify-content: space-between;
}

.admin-system-list strong {
    color: var(--graphite);
}

.spec-editor-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-4);
}

.spec-editor-head strong {
    display: block;
    color: var(--graphite);
    font-size: var(--text-base);
}

.spec-editor-head small,
.spec-editor-tip {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.spec-editor-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: var(--space-2);
}

.spec-tool-btn {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--graphite);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.spec-tool-ai {
    border-color: rgba(236, 28, 36, 0.18);
    background: rgba(236, 28, 36, 0.06);
    color: var(--brand-red);
}

.spec-editor-rows {
    display: grid;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.spec-editor-row {
    display: grid;
    grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr) 42px;
    gap: var(--space-3);
    align-items: center;
}

.spec-editor-row input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--graphite);
    font: inherit;
    font-size: var(--text-sm);
}

.spec-editor-row input:focus {
    outline: 0;
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px var(--focus);
}

.spec-row-remove {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(185, 28, 28, 0.16);
    border-radius: var(--radius-sm);
    background: #fef2f2;
    color: var(--brand-red);
    cursor: pointer;
}

.spec-editor-raw-toggle {
    margin-bottom: var(--space-3);
}

.spec-editor-raw-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    background: transparent;
    color: var(--brand-teal);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: 900;
}

.spec-editor-raw {
    display: none;
    margin-bottom: var(--space-3);
}

.spec-editor-raw.is-open {
    display: block;
}

.spec-editor-tip i {
    color: var(--brand-yellow);
}

@media (max-width: 720px) {
    .spec-editor-head {
        flex-direction: column;
    }

    .spec-editor-actions {
        justify-content: flex-start;
    }

    .spec-editor-row {
        grid-template-columns: 1fr;
    }

    .spec-row-remove {
        width: 100%;
    }
}

.text-success {
    color: var(--success) !important;
}

/* Admin Responsive Layer */
.admin-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    display: none;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
}

.admin-sidebar-open {
    overflow: hidden;
}

.admin-content .admin-card,
.admin-content .admin-table {
    max-width: 100%;
}

.admin-content .admin-table {
    table-layout: auto;
}

.admin-content img,
.admin-content video,
.admin-content iframe {
    max-width: 100%;
}

.admin-content input,
.admin-content select,
.admin-content textarea,
.admin-content button {
    max-width: 100%;
}

.admin-content code {
    white-space: normal;
    overflow-wrap: anywhere;
}

.admin-content .btn {
    white-space: nowrap;
}

@media (max-width: 1200px) {
    .admin-products-table th:nth-child(6),
    .admin-products-table td:nth-child(6) {
        display: none;
    }

    .admin-overview-grid,
    .admin-dashboard-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    body {
        min-width: 0;
    }

    .admin-sidebar {
        width: min(86vw, 300px) !important;
        transform: translateX(-105%);
        box-shadow: 24px 0 60px rgba(15, 23, 42, 0.28);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-sidebar.active + .admin-sidebar-backdrop,
    .admin-sidebar-open .admin-sidebar-backdrop {
        display: block;
    }

    .admin-main {
        width: 100%;
        min-width: 0;
        margin-left: 0 !important;
    }

    .admin-topbar {
        height: auto !important;
        min-height: 64px;
        gap: 10px;
        padding: 10px 14px !important;
        flex-wrap: nowrap;
    }

    .admin-topbar > div {
        min-width: 0;
        flex-wrap: nowrap;
        gap: 8px !important;
    }

    .admin-topbar > div:first-child {
        flex: 1 1 auto;
    }

    .admin-topbar > div:last-child {
        flex: 0 0 auto;
    }

    .admin-topbar .btn {
        min-height: 38px;
        padding: 8px 11px !important;
        font-size: 12px !important;
        white-space: nowrap;
    }

    .sidebar-toggle {
        width: 42px;
        height: 42px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--line) !important;
        border-radius: var(--radius-sm);
        background: #ffffff !important;
        color: var(--graphite) !important;
        box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
    }

    .admin-content {
        min-width: 0;
        padding: 20px 14px 28px !important;
    }

    .admin-page-header {
        align-items: flex-start !important;
        gap: 12px;
        margin-bottom: 18px !important;
        padding-bottom: 14px !important;
        flex-direction: column;
    }

    .admin-page-title {
        font-size: clamp(22px, 7vw, 30px) !important;
        line-height: 1.12;
    }

    .admin-page-header > div,
    .admin-page-header > form,
    .admin-page-header > a,
    .admin-page-header .btn {
        max-width: 100%;
    }

    .admin-page-header > div {
        width: 100%;
        display: flex !important;
        flex-wrap: wrap;
    }

    .admin-page-header .btn,
    .admin-content form .btn {
        min-height: 42px;
    }

    .admin-card,
    .admin-dashboard-panel {
        padding: 18px !important;
        margin-bottom: 18px !important;
        border-radius: var(--radius-md) !important;
    }

    .admin-content > div[style*="grid-template-columns"],
    .admin-content form > div[style*="grid-template-columns"],
    .admin-content .admin-card > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .admin-content div[style*="display: flex"],
    .admin-content form[style*="display: flex"] {
        min-width: 0;
    }

    .admin-content form[style*="display: flex"] > div,
    .admin-content div[style*="display: flex"] > div {
        min-width: min(100%, 220px) !important;
    }

    .admin-content .form-group > div[style*="justify-content:space-between"],
    .admin-content .form-group > div[style*="justify-content: space-between"] {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 8px;
    }

    .admin-content .form-control,
    .admin-content .select2-container--default .select2-selection--multiple,
    .admin-content .select2-container--default .select2-selection--single {
        min-height: 46px !important;
        font-size: 14px !important;
    }

    .admin-content .select2-container--default .select2-search--inline .select2-search__field {
        width: 100% !important;
        min-width: 120px !important;
    }

    .admin-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 22px !important;
        border-radius: var(--radius-lg);
    }

    .admin-dashboard-hero-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .admin-dashboard-hero-actions .btn {
        width: 100%;
    }

    .admin-dashboard-hero h1 {
        font-size: clamp(30px, 9vw, 42px);
    }
}

@media (max-width: 760px) {
    .admin-logo {
        min-height: 96px;
        padding: 18px 16px;
    }

    .admin-logo-link {
        min-height: 58px;
    }

    .admin-logo-link img {
        max-width: 172px;
        max-height: 64px;
    }

    .admin-nav {
        padding: 14px 12px 22px;
    }

    .admin-nav-section {
        margin: 18px 0 8px;
    }

    .admin-nav-link {
        min-height: 46px;
        padding: 10px 12px;
        font-size: 14px;
    }

    .admin-topbar {
        position: sticky;
        top: 0;
    }

    .admin-content {
        padding: 16px 12px 24px !important;
    }

    .admin-overview-grid,
    .admin-dashboard-secondary {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .admin-overview-card {
        min-height: 118px;
        padding: 18px !important;
    }

    .admin-overview-card strong {
        font-size: 34px;
    }

    .admin-panel-heading,
    .spec-editor-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-panel-heading a {
        width: 100%;
        justify-content: center;
    }

    .admin-content .admin-table {
        display: table;
        width: 100%;
        min-width: 0 !important;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .admin-content .admin-table thead {
        display: none;
    }

    .admin-content .admin-table,
    .admin-content .admin-table tbody,
    .admin-content .admin-table tr,
    .admin-content .admin-table td {
        width: 100%;
    }

    .admin-content .admin-table tbody {
        display: grid;
        gap: 12px;
    }

    .admin-content .admin-table tr {
        display: grid;
        gap: 0;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: #ffffff;
        box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
    }

    .admin-content .admin-table td {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        padding: 10px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(226, 232, 240, 0.9) !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--graphite);
        text-align: right !important;
        white-space: normal !important;
        overflow-wrap: anywhere;
    }

    .admin-content .admin-table td::before {
        content: attr(data-label);
        flex: 0 0 38%;
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.6px;
        text-align: left;
        text-transform: uppercase;
    }

    .admin-content .admin-table td[data-label="Sort"],
    .admin-content .admin-table td[data-label="Products"],
    .admin-content .admin-table td[data-label="Status"] {
        align-items: center;
    }

    .admin-content .admin-table td[data-label="Status"] {
        justify-content: flex-start;
        text-align: left !important;
    }

    .admin-content .admin-table td[data-label="Status"]::before {
        flex: 0 0 38%;
    }

    .admin-content .admin-table td[data-label="Status"] .badge {
        margin-left: auto;
    }

    .admin-content .admin-table td[data-label="Sort"] {
        justify-content: flex-start;
        text-align: left !important;
    }

    .admin-content .admin-table td[data-label="Sort"]::before {
        flex: 0 0 38%;
    }

    .admin-content .admin-table td[data-label="Sort"] .admin-sort-pill {
        margin-left: auto;
        margin-right: 0;
    }

    .admin-content .admin-table td:last-child {
        border-bottom: 0 !important;
    }

    .admin-content .admin-table td[colspan] {
        display: block;
        text-align: center !important;
    }

    .admin-content .admin-table td[colspan]::before {
        content: none;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"],
    .admin-content .admin-table td:last-child[data-label*="ACTION"],
    .admin-content .admin-table td:last-child[data-label*="Actions"] {
        justify-content: flex-end;
        padding-top: 12px !important;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"]::before,
    .admin-content .admin-table td:last-child[data-label*="ACTION"]::before,
    .admin-content .admin-table td:last-child[data-label*="Actions"]::before {
        display: none;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"] .btn,
    .admin-content .admin-table td:last-child[data-label*="ACTION"] .btn,
    .admin-content .admin-table td:last-child[data-label*="Actions"] .btn,
    .admin-content .admin-table td:last-child[data-label*="Action"] button,
    .admin-content .admin-table td:last-child[data-label*="ACTION"] button,
    .admin-content .admin-table td:last-child[data-label*="Actions"] button {
        width: 42px !important;
        height: 38px;
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 0 0 6px !important;
        padding: 0 !important;
        border-radius: 10px;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"] form,
    .admin-content .admin-table td:last-child[data-label*="ACTION"] form,
    .admin-content .admin-table td:last-child[data-label*="Actions"] form {
        display: inline-flex !important;
        width: auto !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"] form[style*="display:none"],
    .admin-content .admin-table td:last-child[data-label*="ACTION"] form[style*="display:none"],
    .admin-content .admin-table td:last-child[data-label*="Actions"] form[style*="display:none"],
    .admin-content .admin-table td:last-child[data-label*="Action"] form[style*="display: none"],
    .admin-content .admin-table td:last-child[data-label*="ACTION"] form[style*="display: none"],
    .admin-content .admin-table td:last-child[data-label*="Actions"] form[style*="display: none"] {
        display: none !important;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"] .admin-reply-action,
    .admin-content .admin-table td:last-child[data-label*="ACTION"] .admin-reply-action,
    .admin-content .admin-table td:last-child[data-label*="Actions"] .admin-reply-action {
        width: auto !important;
        min-width: 92px;
        flex: 0 0 auto;
        gap: 6px;
        padding: 0 12px !important;
        white-space: nowrap;
    }

    .admin-content .admin-table td:last-child[data-label*="Action"] .admin-reply-action i,
    .admin-content .admin-table td:last-child[data-label*="ACTION"] .admin-reply-action i,
    .admin-content .admin-table td:last-child[data-label*="Actions"] .admin-reply-action i {
        margin-right: 0 !important;
    }

    .admin-content .admin-products-table {
        display: table;
        min-width: 0 !important;
        border: 0;
        box-shadow: none;
        background: transparent;
    }

    .admin-content .admin-products-table thead {
        display: none;
    }

    .admin-content .admin-products-table,
    .admin-content .admin-products-table tbody,
    .admin-content .admin-products-table tr,
    .admin-content .admin-products-table td {
        width: 100%;
    }

    .admin-content .admin-products-table tbody {
        display: grid;
        gap: 12px;
    }

    .admin-content .admin-products-table tr {
        display: grid;
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 0 12px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
        background: #ffffff;
        box-shadow: 0 12px 26px rgba(17, 24, 39, 0.06);
    }

    .admin-content .admin-products-table td {
        display: block;
        justify-content: initial;
        padding: 0 !important;
        border: 0 !important;
        white-space: normal !important;
        text-align: left !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .admin-content .admin-products-table td::before {
        content: none !important;
    }

    .admin-content .admin-products-table td:first-child {
        grid-row: 1 / 5;
    }

    .admin-content .admin-products-table td:first-child img,
    .admin-content .admin-products-table td:first-child div {
        width: 54px !important;
        height: 54px !important;
        border-radius: 12px !important;
    }

    .admin-content .admin-products-table td:nth-child(2) {
        min-width: 0;
        margin-bottom: 8px;
    }

    .admin-content .admin-products-table td:nth-child(2) strong {
        display: block;
        font-size: 15px !important;
        line-height: 1.3;
    }

    .admin-content .admin-products-table td:nth-child(2) code {
        display: inline-block;
        max-width: 100%;
        color: #64748b;
        font-size: 12px;
        overflow-wrap: anywhere;
    }

    .admin-content .admin-products-table td:nth-child(3) {
        margin-bottom: 10px;
        overflow: hidden;
    }

    .admin-content .admin-products-table td:nth-child(3) > div {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .admin-content .admin-products-table td:nth-child(3) > div::-webkit-scrollbar {
        display: none;
    }

    .admin-content .admin-products-table td:nth-child(3) span {
        flex: 0 0 auto;
        max-width: 190px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .admin-content .admin-products-table td:nth-child(4),
    .admin-content .admin-products-table td:nth-child(5) {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 10px;
        color: var(--muted) !important;
        font-size: 12px !important;
    }

    .admin-content .admin-products-table td:nth-child(4)::before {
        content: "Status";
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    .admin-content .admin-products-table td:nth-child(5)::before {
        content: "Created";
        color: var(--muted);
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.6px;
        text-transform: uppercase;
    }

    .admin-content .admin-products-table td:last-child {
        position: static !important;
        grid-column: 1 / -1;
        display: flex !important;
        width: 100%;
        justify-content: flex-end;
        gap: 8px;
        padding-top: 12px !important;
        margin-top: 2px;
        border-top: 1px solid var(--line) !important;
        border-bottom: 0 !important;
    }

    .admin-content .admin-products-table td:last-child .btn {
        width: 42px !important;
        height: 38px;
        min-height: 38px;
        display: inline-flex;
        flex: 0 0 42px;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 10px;
    }

    .admin-content .btn {
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .admin-content form[style*="display: flex"],
    .admin-content div[style*="display: flex"] {
        flex-wrap: wrap !important;
    }

    .admin-content form[style*="display: flex"] > div,
    .admin-content div[style*="display: flex"] > div {
        flex: 1 1 100% !important;
        width: 100%;
    }

    .admin-content form[style*="display: flex"] .btn,
    .admin-content div[style*="display: flex"] .btn {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .admin-content input[type="file"].form-control::file-selector-button {
        width: 100%;
        margin: 0 0 8px;
    }

    .spec-editor-actions {
        width: 100%;
        justify-content: stretch;
    }

    .spec-tool-btn {
        flex: 1 1 100%;
        justify-content: center;
    }

    .modal-dialog,
    #deleteModal > div,
    #bulkUploadModal > div,
    #bulkImageModal > div {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 24px) !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 520px) {
    .admin-topbar {
        align-items: center !important;
        display: flex;
    }

    .admin-topbar > div {
        width: auto;
    }

    .admin-topbar .btn {
        flex: 0 0 auto;
        min-width: 0;
        padding-inline: 10px !important;
    }

    .admin-topbar > div:first-child .btn {
        flex: 1 1 auto;
    }

    .admin-topbar > div:last-child .btn {
        width: auto;
    }

    .admin-topbar .btn i {
        margin-right: 4px !important;
    }

    .sidebar-toggle {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
    }

    .admin-page-header .btn,
    .admin-page-header button {
        width: 100%;
    }

    .admin-card {
        padding: 16px !important;
    }

    .admin-content .admin-table {
        min-width: 620px;
    }

    .admin-content .admin-products-table {
        min-width: 0 !important;
    }

    .admin-content .admin-table th,
    .admin-content .admin-table td {
        font-size: 12px !important;
    }

    .admin-content .badge {
        white-space: nowrap;
    }
}

.admin-empty-mini {
    padding: var(--space-6);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    text-align: center;
}

@media (max-width: 1200px) {
    .admin-overview-grid,
    .admin-dashboard-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .admin-dashboard-hero,
    .admin-panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-overview-grid,
    .admin-dashboard-secondary {
        grid-template-columns: 1fr;
    }
}

.admin-page-header {
    border-bottom-color: var(--line);
}

.admin-page-title {
    color: var(--graphite);
}

.admin-table {
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.admin-table th {
    background: var(--surface-strong);
    color: var(--graphite);
}

.admin-table th,
.admin-table td {
    border-bottom-color: var(--line);
}

.badge {
    border-radius: var(--radius-pill);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: #ffffff;
    color: var(--graphite);
    font-size: var(--text-sm);
    font-weight: 700;
}

.category-chip:hover,
.category-chip.active {
    border-color: rgba(227, 30, 36, 0.32);
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
}

.badge-success {
    background: #dcfce7;
    color: var(--success);
}

.badge-error {
    background: #fee2e2;
    color: var(--danger);
}

.login-body {
    background:
        radial-gradient(circle at 20% 10%, rgba(247, 216, 0, 0.18), transparent 30%),
        radial-gradient(circle at 80% 15%, rgba(14, 124, 123, 0.14), transparent 28%),
        var(--surface);
}

.login-card {
    border-color: var(--line);
    box-shadow: var(--shadow-lg);
}

/* Admin Login */
.admin-login-body {
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(247, 216, 0, 0.18), transparent 32%),
        radial-gradient(circle at 90% 12%, rgba(14, 124, 123, 0.18), transparent 30%),
        var(--surface);
}

.admin-login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.75fr);
}

.admin-login-brand-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(28px, 4.2vw, 56px);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(236, 28, 36, 0.15), rgba(14, 124, 123, 0.24)),
        var(--ink);
}

.admin-login-brand-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent);
}

.admin-login-brand-mark,
.admin-login-brand-copy,
.admin-login-feature-grid {
    position: relative;
    z-index: 1;
}

.admin-login-brand-mark {
    display: inline-flex;
    width: fit-content;
    min-width: 132px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.admin-login-brand-mark img {
    max-width: 128px;
    max-height: 46px;
    object-fit: contain;
}

.admin-login-brand-mark strong {
    color: var(--brand-red);
    font-size: var(--text-3xl);
    font-weight: 900;
}

.admin-login-brand-copy {
    max-width: 720px;
    margin: clamp(28px, 5.5vw, 72px) 0;
}

.admin-login-brand-copy span,
.admin-login-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: var(--brand-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-login-brand-copy h1 {
    max-width: 760px;
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-size: clamp(38px, 4.7vw, 64px);
    line-height: 1;
}

.admin-login-brand-copy p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.55;
}

.admin-login-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-3);
}

.admin-login-feature-grid div {
    display: flex;
    min-height: 70px;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
}

.admin-login-feature-grid i {
    color: var(--brand-yellow);
    font-size: 20px;
}

.admin-login-feature-grid span {
    color: #ffffff;
    font-size: var(--text-sm);
    font-weight: 900;
}

.admin-login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vw, 48px);
}

.admin-login-card {
    width: 100%;
    max-width: 438px;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 28px 80px rgba(17, 24, 39, 0.14);
}

.admin-login-card-head {
    margin-bottom: var(--space-5);
}

.admin-login-card-head h2 {
    margin-bottom: var(--space-2);
    color: var(--graphite);
    font-size: clamp(26px, 2vw, 32px);
    line-height: 1.15;
}

.admin-login-card-head p {
    color: var(--muted);
}

.admin-login-alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    border: 1px solid rgba(185, 28, 28, 0.16);
    border-radius: var(--radius-sm);
    background: #fef2f2;
    color: #991b1b;
    font-size: var(--text-sm);
    font-weight: 800;
}

.admin-login-form {
    display: grid;
    gap: var(--space-3);
}

.admin-login-field {
    display: grid;
    gap: var(--space-2);
}

.admin-login-field label {
    color: var(--graphite);
    font-size: var(--text-sm);
    font-weight: 900;
}

.admin-login-input-wrap {
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: var(--space-3);
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-login-input-wrap:focus-within {
    border-color: var(--brand-red);
    box-shadow: 0 0 0 4px var(--focus);
}

.admin-login-input-wrap i {
    color: var(--muted);
}

.admin-login-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--graphite);
    font: inherit;
    font-weight: 700;
}

.admin-login-submit {
    min-height: 50px;
    justify-content: center;
    margin-top: var(--space-2);
    font-size: var(--text-base);
}

.admin-login-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    margin-top: var(--space-5);
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 800;
}

@media (max-height: 760px) and (min-width: 1041px) {
    .admin-login-brand-panel {
        padding: 24px 44px;
    }

    .admin-login-brand-copy {
        margin: 28px 0;
    }

    .admin-login-brand-copy h1 {
        max-width: 680px;
        font-size: clamp(34px, 4.2vw, 54px);
    }

    .admin-login-feature-grid div {
        min-height: 58px;
    }

    .admin-login-card {
        padding: 24px;
    }
}

@media (max-width: 1040px) {
    .admin-login-body {
        overflow: auto;
    }

    .admin-login-shell {
        grid-template-columns: 1fr;
    }

    .admin-login-brand-panel {
        min-height: auto;
        padding: 36px 24px;
    }

    .admin-login-brand-copy {
        margin: var(--space-8) 0;
    }

    .admin-login-brand-copy h1 {
        font-size: clamp(34px, 8vw, 52px);
    }

    .admin-login-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .admin-login-form-panel {
        padding: 20px;
    }

    .admin-login-card {
        padding: var(--space-5);
    }

    .admin-login-feature-grid {
        grid-template-columns: 1fr;
    }

    .admin-login-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Floating WhatsApp */
.floating-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 28px;
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.24);
}

@media (max-width: 992px) {
    .site-header {
        background: #ffffff;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .section {
        padding: 64px 0;
    }

    .home-hero {
        min-height: auto;
        padding: 58px 0 92px;
    }

    .home-hero .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-hero .hero-title {
        font-size: 38px;
    }

    .home-hero-image img {
        max-height: 280px;
    }

    .home-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .industry-grid,
    .quality-grid,
    .technical-grid,
    .home-quote-card,
    .products-layout {
        grid-template-columns: 1fr 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .products-card-grid:not(.products-list-view) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .products-card-grid.products-grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .products-card-grid.products-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .view-col-1-btn {
        display: inline-flex !important;
    }

    .product-columns-control button[data-grid-cols="3"],
    .product-columns-control button[data-grid-cols="4"] {
        display: none !important;
    }

    .product-info-panel {
        position: static;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-menu {
        background: #ffffff;
        border-left: 1px solid var(--line);
    }

    .nav-link {
        width: 100%;
    }

    .nav-cta-item {
        width: 100%;
    }

    .nav-cta {
        width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }
}

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

    .top-contact-inner {
        min-height: auto;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .header-container {
        height: 66px;
    }

    .site-logo-image {
        max-height: 60px;
    }

    .hero-title {
        font-size: 34px;
    }

    .home-hero {
        padding: 44px 0 82px;
        text-align: left;
    }

    .home-hero .hero-title {
        font-size: 33px;
    }

    .hero-actions .btn {
        width: auto;
    }

    .hero-trust-row {
        gap: 12px;
        margin-top: 24px;
    }

    .home-metrics-section {
        margin-top: -38px;
        padding-bottom: 44px;
    }

    .home-metrics {
        grid-template-columns: 1fr;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .metric-item {
        min-height: 96px;
        justify-content: flex-start;
    }

    .industry-grid,
    .quality-grid,
    .technical-grid,
    .technical-spec-grid,
    .home-quote-card,
    .form-grid-2,
    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        order: 2;
    }

    .products-main {
        order: 1;
    }

    .products-toolbar h2 {
        font-size: var(--text-xl);
    }

    .products-toolbar {
        flex-direction: column;
    }

    .product-view-controls {
        width: 100%;
        justify-content: space-between;
    }

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

    .products-card-grid.products-grid-cols-1 {
        grid-template-columns: 1fr !important;
    }

    .products-card-grid.products-grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .products-grid-cols-3,
    .products-grid-cols-4 {
        grid-template-columns: 1fr !important;
    }

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

    .product-tab-nav {
        overflow-x: auto;
    }

    .product-tab-btn {
        flex: 0 0 auto;
    }

    .product-lightbox {
        padding: 56px 14px;
    }

    .lightbox-stage {
        height: 72vh;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

/* About page */
.about-banner {
    padding: 76px 0;
}

.about-story-section,
.about-process-section {
    padding-bottom: 48px;
    background: #ffffff;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: var(--space-12);
    align-items: center;
}

.about-story-copy p {
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.8;
}

.about-lead {
    color: var(--graphite) !important;
    font-size: var(--text-lg) !important;
    font-weight: 800;
}

.about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-4);
    margin: var(--space-6) 0;
}

.about-feature {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: var(--space-3);
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.about-feature i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: span 2;
    border-radius: var(--radius-lg);
    background: rgba(227, 30, 36, 0.08);
    color: var(--brand-red);
}

.about-feature strong {
    color: var(--graphite);
}

.about-feature span {
    color: var(--muted);
    font-size: var(--text-sm);
}

.about-visual-card {
    position: relative;
    padding: var(--space-10);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, #ffffff, var(--surface));
    box-shadow: var(--shadow-lg);
}

.about-visual-card img {
    width: 100%;
    display: block;
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.about-visual-badge {
    position: absolute;
    left: var(--space-6);
    bottom: var(--space-6);
    display: grid;
    gap: 2px;
    padding: var(--space-4);
    border-left: 4px solid var(--brand-yellow);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-md);
}

.about-visual-badge strong {
    color: var(--brand-red);
    font-size: var(--text-2xl);
    line-height: 1;
}

.about-visual-badge span {
    color: var(--graphite);
    font-weight: 900;
}

.about-quality-section {
    background: var(--surface);
}

.about-quality-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--space-4);
}

.about-quality-card {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.about-quality-card i {
    margin-bottom: var(--space-4);
    color: var(--brand-red);
    font-size: 28px;
}

.about-quality-card h3 {
    margin-bottom: var(--space-2);
    font-size: var(--text-lg);
}

.about-quality-card p {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.about-process-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: var(--space-12);
    align-items: start;
}

.about-process-copy p {
    color: var(--muted);
    line-height: 1.8;
}

.about-timeline {
    display: grid;
    gap: var(--space-4);
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff, var(--surface));
}

.about-timeline-item span {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--graphite);
    color: var(--brand-yellow);
    font-weight: 900;
}

.about-timeline-item h3 {
    margin-bottom: var(--space-1);
    font-size: var(--text-lg);
}

.about-timeline-item p {
    color: var(--muted);
    font-size: var(--text-sm);
}

.about-stats-section {
    padding: 54px 0 58px;
    background:
        linear-gradient(120deg, rgba(236, 28, 36, 0.16), rgba(0, 133, 133, 0.22)),
        var(--ink);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 4px solid var(--brand-yellow);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.about-stat {
    position: relative;
    overflow: visible;
    display: flex;
    min-height: 174px;
    flex-direction: column;
    justify-content: flex-start;
    padding: 30px 26px 26px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    text-align: left;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.about-stat:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.about-stat::before {
    content: "";
    position: absolute;
    left: 26px;
    right: auto;
    top: 0;
    width: 56px;
    height: 5px;
    border-radius: 0 0 999px 999px;
    background: var(--brand-yellow);
}

.about-stat::after {
    content: none;
}

.about-stat strong {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 2px;
    margin-top: 0;
    margin-bottom: 18px;
    color: #ffffff;
    font-size: clamp(48px, 3.8vw, 62px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: 0;
    position: relative;
    z-index: 1;
}

.about-stat strong,
.about-stat-number {
    color: #ffffff;
}

.about-stat strong em {
    color: var(--brand-yellow);
    font-style: normal;
    font-size: 17px;
    font-weight: 900;
    line-height: 0.95;
}

.about-stat span {
    display: block;
    margin-top: 0;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.32;
    position: relative;
    z-index: 1;
}

.about-stat small {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.55;
    max-width: 240px;
    position: relative;
    z-index: 1;
}

/* Contact Page */
.contact-hero {
    padding: 70px 0 64px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(236, 28, 36, 0.18), rgba(0, 133, 133, 0.24)),
        var(--ink);
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: var(--space-10);
    align-items: center;
}

.contact-hero-copy .section-eyebrow,
.contact-panel-heading .section-eyebrow,
.contact-map-header .section-eyebrow {
    display: inline-flex;
    color: var(--brand-yellow);
}

.contact-hero h1 {
    max-width: 640px;
    margin-bottom: var(--space-3);
    color: #ffffff;
    font-size: clamp(34px, 4.1vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

.contact-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-base);
    line-height: 1.65;
}

.contact-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-4);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(37, 211, 102, 0.26);
}

.btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-outline-light:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.contact-hero-panel {
    max-width: 470px;
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.contact-hero-panel span {
    color: var(--brand-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contact-hero-panel strong {
    display: block;
    margin: var(--space-2) 0;
    color: #ffffff;
    font-size: var(--text-xl);
    line-height: 1.2;
}

.contact-hero-panel p {
    margin: 0;
    font-size: var(--text-base);
}

.contact-main-section {
    padding: 56px 0 72px;
    background: var(--surface);
}

.contact-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 34px;
}

.contact-info-card {
    min-height: 190px;
    padding: var(--space-5);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.contact-info-card i {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
    border-radius: 14px;
    background: rgba(236, 28, 36, 0.1);
    color: var(--brand-red);
    font-size: 18px;
}

.contact-info-card-accent i {
    background: rgba(37, 211, 102, 0.12);
    color: #16a34a;
}

.contact-info-card span {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--graphite);
    font-size: var(--text-lg);
    font-weight: 900;
}

.contact-info-card p,
.contact-info-card small {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.contact-info-card a {
    color: var(--graphite);
    font-weight: 900;
}

.contact-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.contact-form-panel,
.contact-map-panel {
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 18px 46px rgba(17, 24, 39, 0.08);
}

.contact-panel-heading {
    padding-top: var(--space-1);
    margin-bottom: var(--space-5);
}

.contact-map-header {
    padding-top: var(--space-1);
}

.contact-panel-heading h2,
.contact-map-header h2 {
    margin: 0 0 var(--space-2);
    color: var(--graphite);
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;
}

.contact-panel-heading p {
    color: var(--muted);
    line-height: 1.7;
}

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.contact-submit-btn {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    font-size: var(--text-base);
}

.contact-map-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-map-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-4);
}

.contact-map-header a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: var(--space-2);
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--graphite);
    font-weight: 900;
}

.contact-map-frame {
    flex: 1;
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}

.contact-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    border: 0;
}

.contact-map-note {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.contact-map-note i {
    color: var(--brand-teal);
}

@media (max-width: 992px) {
    .about-story-grid,
    .about-process-grid,
    .contact-hero-grid,
    .contact-workspace {
        grid-template-columns: 1fr;
    }

    .about-quality-grid,
    .about-stats-grid,
    .contact-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-stat:nth-child(2) {
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    .about-stat:nth-child(-n + 2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }
}

@media (max-width: 640px) {
    .about-feature-grid,
    .about-quality-grid,
    .about-stats-grid,
    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 64px 0 56px;
    }

    .contact-hero-actions,
    .contact-map-header {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-form-panel,
    .contact-map-panel,
    .contact-hero-panel {
        padding: var(--space-5);
    }

    .about-stat,
    .about-stat:nth-child(2),
    .about-stat:nth-child(-n + 2) {
        min-height: 150px;
        border-right: 1px solid rgba(255, 255, 255, 0.16);
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .about-stat:last-child {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

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

    .about-visual-card {
        padding: var(--space-5);
    }

    .products-list-view .product-list-card a {
        grid-template-columns: 1fr;
    }

    .products-list-view .product-list-card .card-image-wrap {
        min-height: 220px;
        margin: 12px 12px 0;
    }

    .product-chip-scroller {
        grid-template-columns: 34px minmax(0, 1fr) 34px;
    }

    .chip-scroll-btn {
        width: 34px;
        height: 34px;
    }

    .process-step {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        width: 100%;
    }

    .admin-content {
        padding: 24px 16px;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .top-contact-inner {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 16px;
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-contact-group {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
}

/* --------------------------------------------------------------------------
   FIXXO 2026 Blog Details Premium CSS
   -------------------------------------------------------------------------- */
.blog-post-card {
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: var(--space-10);
    overflow: hidden;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: 13px;
    color: var(--gray-dark);
    margin-bottom: var(--space-4);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-post-meta i {
    color: var(--teal);
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: var(--space-6);
    letter-spacing: -0.01em;
}

.blog-post-image-wrap {
    margin-bottom: var(--space-8);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.blog-post-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-post-image-wrap:hover .blog-post-image {
    transform: scale(1.015);
}

.blog-post-content {
    font-family: var(--font-sans);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.8;
}

.blog-post-content p {
    margin-bottom: var(--space-5);
    text-align: justify;
}

.blog-post-content h2,
.blog-post-content h3 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
    margin-top: var(--space-10);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.blog-post-content h2 {
    font-size: 24px;
    border-bottom: 2px solid var(--light);
    padding-bottom: var(--space-2);
}

.blog-post-content h3 {
    font-size: 20px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.blog-post-content li {
    margin-bottom: var(--space-2);
    position: relative;
}

.blog-post-content strong {
    color: var(--dark);
    font-weight: 600;
}

.blog-post-content blockquote {
    border-left: 4px solid var(--teal);
    padding: var(--space-3) var(--space-5);
    margin: var(--space-6) 0;
    background: var(--light);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray-dark);
}

.blog-post-content blockquote p {
    margin-bottom: 0;
}

/* Sidebar Widgets list styles */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list-item {
    border-bottom: 1px dashed var(--gray-light);
    padding: 12px 0;
    transition: all 0.2s ease;
}

.widget-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-list-item:first-child {
    padding-top: 0;
}

.widget-list-item a {
    text-decoration: none;
    transition: color 0.2s ease;
}

.widget-list-item a:hover {
    color: var(--teal) !important;
}

/* Blog and FAQ Pages */
.blog-hero,
.post-hero-section,
.faq-hero {
    padding: 78px 0 68px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(236, 28, 36, 0.16), rgba(0, 133, 133, 0.24)),
        var(--ink);
}

.blog-hero-grid,
.post-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
    gap: var(--space-10);
    align-items: center;
}

.blog-hero .section-eyebrow,
.post-hero-section .section-eyebrow,
.faq-hero .section-eyebrow,
.faq-side-card .section-eyebrow,
.post-sidebar-card .section-eyebrow {
    color: var(--brand-yellow);
}

.blog-hero h1,
.post-hero-section h1,
.faq-hero h1 {
    max-width: 760px;
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-size: clamp(36px, 4.7vw, 62px);
    line-height: 1.06;
}

.blog-hero p,
.faq-hero p {
    max-width: 680px;
    color: rgba(255, 255, 255, 0.78);
    font-size: var(--text-lg);
    line-height: 1.7;
}

.blog-feature-card,
.post-hero-note {
    display: block;
    max-width: 440px;
    justify-self: end;
    padding: var(--space-6);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.blog-feature-card span,
.post-hero-note strong {
    display: block;
    margin-bottom: var(--space-2);
    color: var(--brand-yellow);
    font-size: var(--text-xs);
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.blog-feature-card strong {
    display: block;
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-size: var(--text-2xl);
    line-height: 1.2;
}

.blog-feature-card small,
.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    color: rgba(255, 255, 255, 0.72);
    font-size: var(--text-sm);
}

.post-help-btn {
    margin-top: var(--space-4);
}

.blog-listing-section,
.post-content-section,
.faq-section {
    padding: var(--space-10) 0;
    background: var(--surface);
}

.related-posts-section {
    padding: var(--space-8) 0 var(--space-10);
    background: var(--surface);
}

.blog-heading-row {
    align-items: flex-start;
    margin-bottom: var(--space-8);
}

.blog-catalogue-btn {
    margin-top: 10px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-5);
}

.blog-grid-compact {
    margin-top: var(--space-6);
}

.blog-card {
    display: flex;
    min-height: 100%;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.07);
}

.blog-card-media {
    position: relative;
    overflow: hidden;
    display: flex;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(247, 216, 0, 0.08), transparent 36%),
        linear-gradient(135deg, #ffffff, var(--surface));
}

.blog-card-media img {
    width: 88%;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(17, 24, 39, 0.12));
    transition: transform 0.38s ease, filter 0.38s ease;
}

.blog-card:hover .blog-card-media img {
    transform: scale(1.06) translateY(-4px);
    filter: drop-shadow(0 24px 30px rgba(17, 24, 39, 0.16));
}

.blog-card-media::after {
    content: "";
    position: absolute;
    inset: auto 18% 14px;
    height: 10px;
    border-radius: 50%;
    background: rgba(17, 24, 39, 0.1);
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.38s ease, transform 0.38s ease;
}

.blog-card:hover .blog-card-media::after {
    opacity: 1;
    transform: scaleX(0.86);
}

.blog-card-media span {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(236, 28, 36, 0.1);
    color: var(--brand-red);
    font-size: 28px;
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: var(--space-5);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    color: var(--muted);
    font-size: var(--text-xs);
    font-weight: 800;
}

.blog-card h3 {
    margin-bottom: var(--space-3);
    font-size: var(--text-xl);
    line-height: 1.25;
}

.blog-card h3 a {
    color: var(--graphite);
}

.blog-card p {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-top: auto;
    padding-top: var(--space-4);
    color: var(--brand-red);
    font-weight: 900;
}

.blog-empty-state {
    max-width: 620px;
    margin: 0 auto;
    padding: var(--space-10);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.blog-empty-state i {
    margin-bottom: var(--space-4);
    color: var(--brand-red);
    font-size: 42px;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--space-8);
    align-items: start;
}

.post-article-card,
.post-sidebar-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.post-article-card {
    overflow: hidden;
    padding: 0;
}

.post-feature-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(240px, 34vw, 360px);
    margin: 0 0 var(--space-6);
    padding: clamp(22px, 4vw, 44px);
    background:
        radial-gradient(circle at 50% 58%, rgba(15, 23, 42, 0.08), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f8f7f4 100%);
}

.post-feature-image img {
    display: block;
    width: min(82%, 560px);
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 22px 28px rgba(17, 24, 39, 0.14));
}

.post-rich-content {
    padding: 0 var(--space-8) var(--space-2);
}

.post-rich-content h2,
.post-rich-content h3 {
    margin-top: var(--space-8);
}

.post-rich-content p,
.post-rich-content li {
    color: #374151;
    font-size: 17px;
    line-height: 1.75;
}

.post-rich-content p {
    text-align: left;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-3);
    margin: var(--space-6) var(--space-8) 0;
    padding: var(--space-5) 0;
    border-top: 1px solid var(--line);
}

.post-nav a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 0 var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--graphite);
    font-weight: 900;
}

.post-nav a:first-child {
    justify-self: start;
}

.post-nav a:last-child {
    justify-self: end;
}

.post-sidebar {
    display: grid;
    gap: var(--space-5);
    position: sticky;
    top: 110px;
}

.post-sidebar-card {
    padding: var(--space-5);
}

.post-recent-list {
    display: grid;
    gap: var(--space-4);
    margin: var(--space-4) 0 0;
    padding: 0;
    list-style: none;
}

.post-recent-list li {
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line);
}

.post-recent-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.post-recent-list small {
    display: block;
    margin-bottom: var(--space-1);
    color: var(--muted);
    font-size: var(--text-xs);
}

.post-recent-list a {
    color: var(--graphite);
    font-weight: 900;
    line-height: 1.35;
}

.post-sidebar-cta {
    background:
        linear-gradient(135deg, rgba(236, 28, 36, 0.12), rgba(14, 124, 123, 0.12)),
        #ffffff;
}

.post-sidebar-cta i {
    color: var(--brand-red);
    font-size: 28px;
}

.post-sidebar-cta h3 {
    margin: var(--space-4) 0 var(--space-2);
}

.post-sidebar-cta p {
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.post-sidebar-cta .btn {
    margin-top: var(--space-3);
}

.related-heading-row {
    align-items: flex-start;
}

.related-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.faq-hero-inner {
    max-width: 760px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
}

.faq-side-card {
    position: sticky;
    top: 110px;
    padding: var(--space-6);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.faq-side-card h2 {
    margin-bottom: var(--space-3);
    color: var(--graphite);
    font-size: var(--text-2xl);
}

.faq-side-card p {
    margin-bottom: var(--space-5);
    color: var(--muted);
    line-height: 1.7;
}

.faq-list {
    display: grid;
    gap: var(--space-3);
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5);
    border: 0;
    background: transparent;
    color: var(--graphite);
    cursor: pointer;
    font: inherit;
    font-size: var(--text-lg);
    font-weight: 900;
    text-align: left;
}

.faq-question i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(236, 28, 36, 0.1);
    color: var(--brand-red);
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease, padding 0.28s ease;
}

.faq-answer p {
    padding: 0 var(--space-5) var(--space-5);
    color: var(--muted);
    line-height: 1.7;
}

.faq-item.active {
    border-color: rgba(236, 28, 36, 0.28);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 260px;
}

@media (max-width: 992px) {
    .blog-hero-grid,
    .post-hero-grid,
    .post-layout,
    .faq-layout {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .post-sidebar,
    .faq-side-card {
        position: static;
    }

    .post-hero-note {
        justify-self: stretch;
        max-width: none;
    }

    .related-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero,
    .post-hero-section,
    .faq-hero {
        padding: 58px 0 52px;
    }

    .post-article-card {
        padding: 0;
    }

    .post-feature-image {
        margin: 0 0 var(--space-5);
    }

    .post-rich-content {
        padding: 0 var(--space-5) var(--space-2);
    }

    .post-nav {
        grid-template-columns: 1fr;
        margin: var(--space-5) var(--space-5) 0;
    }

    .post-nav a,
    .post-nav a:first-child,
    .post-nav a:last-child {
        justify-self: stretch;
    }

    .faq-question {
        padding: var(--space-4);
        font-size: var(--text-base);
    }
}

/* --------------------------------------------------------------------------
   Page Preloader Styles
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}

.preloader-logo-wrap {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(227, 30, 36, 0.06);
    border-top: 3px solid var(--brand-red);
    border-radius: 50%;
    animation: preloaderSpin 1.2s cubic-bezier(0.66, 0.3, 0.34, 0.7) infinite;
}

.preloader-logo-image {
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-text {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    opacity: 0;
    animation: preloaderFadeIn 1s ease forwards 0.3s;
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderPulse {
    0%, 100% { transform: scale(0.95); opacity: 0.85; }
    50% { transform: scale(1.05); opacity: 1; }
}

@keyframes preloaderFadeIn {
    to { opacity: 1; }
}

/* Captcha Spam Protection Styles */
.captcha-container {
    margin-top: 15px;
    margin-bottom: 20px;
}
.captcha-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: center;
}
.captcha-box {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 16px;
    color: var(--teal);
    background: rgba(14, 124, 123, 0.05);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(14, 124, 123, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    box-sizing: border-box;
}
.captcha-refresh {
    background: none;
    border: none;
    color: var(--teal);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    transition: transform 0.2s ease, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}
.captcha-refresh:hover {
    color: var(--primary);
    transform: rotate(45deg);
}
.captcha-refresh:active {
    transform: rotate(180deg);
}

@media (max-width: 640px) {
    .home-quote-form-wrap,
    .contact-form-panel {
        padding: 20px;
    }

    .home-quote-form .form-grid-2,
    .contact-form-panel .form-grid-2 {
        gap: 12px;
        margin-bottom: 12px;
    }

    .home-quote-form .form-grid-2 .form-group,
    .contact-form-panel .form-grid-2 .form-group {
        margin-bottom: 0;
    }

    .home-quote-form > .form-group,
    .contact-form-panel form > .form-group {
        margin-bottom: 12px;
    }

    .home-quote-form .form-control,
    .contact-form-panel .form-control {
        min-height: 50px;
        padding: 14px 16px 10px;
        font-size: 15px;
    }

    .home-quote-form textarea.form-control,
    .contact-form-panel textarea.form-control {
        min-height: 106px;
    }

    .home-quote-form .captcha-container,
    .contact-form-panel .captcha-container {
        margin-top: 2px;
        margin-bottom: 12px;
    }

    .home-quote-form .captcha-row,
    .contact-form-panel .captcha-row {
        grid-template-columns: 116px minmax(0, 1fr);
        gap: 12px;
    }

    .home-quote-form .captcha-box,
    .contact-form-panel .captcha-box {
        height: 50px;
        justify-content: center;
        padding: 10px 12px;
    }
}

@media (max-width: 420px) {
    .home-quote-form .captcha-row,
    .contact-form-panel .captcha-row {
        grid-template-columns: 1fr;
    }
}
